summaryrefslogtreecommitdiffstats
path: root/meta-yocto-bsp/conf
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2025-11-07 13:31:53 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-11-07 13:31:53 +0000
commit8c22ff0d8b70d9b12f0487ef696a7e915b9e3173 (patch)
treeefdc32587159d0050a69009bdf2330a531727d95 /meta-yocto-bsp/conf
parentd412d2747595c1cc4a5e3ca975e3adc31b2f7891 (diff)
downloadpoky-8c22ff0d8b70d9b12f0487ef696a7e915b9e3173.tar.gz
The poky repository master branch is no longer being updated.
You can either: a) switch to individual clones of bitbake, openembedded-core, meta-yocto and yocto-docs b) use the new bitbake-setup You can find information about either approach in our documentation: https://docs.yoctoproject.org/ Note that "poky" the distro setting is still available in meta-yocto as before and we continue to use and maintain that. Long live Poky! Some further information on the background of this change can be found in: https://lists.openembedded.org/g/openembedded-architecture/message/2179 Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-yocto-bsp/conf')
-rw-r--r--meta-yocto-bsp/conf/layer.conf12
-rw-r--r--meta-yocto-bsp/conf/machine/beaglebone-yocto.conf54
-rw-r--r--meta-yocto-bsp/conf/machine/genericarm64.conf76
-rw-r--r--meta-yocto-bsp/conf/machine/genericx86-64.conf10
-rw-r--r--meta-yocto-bsp/conf/machine/genericx86.conf10
-rw-r--r--meta-yocto-bsp/conf/machine/include/genericx86-common.inc23
6 files changed, 0 insertions, 185 deletions
diff --git a/meta-yocto-bsp/conf/layer.conf b/meta-yocto-bsp/conf/layer.conf
deleted file mode 100644
index cb36037aa2..0000000000
--- a/meta-yocto-bsp/conf/layer.conf
+++ /dev/null
@@ -1,12 +0,0 @@
1# We have a conf and classes directory, add to BBPATH
2BBPATH .= ":${LAYERDIR}"
3
4# We have recipes-* directories, add to BBFILES
5BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
6 ${LAYERDIR}/recipes-*/*/*.bbappend"
7
8BBFILE_COLLECTIONS += "yoctobsp"
9BBFILE_PATTERN_yoctobsp = "^${LAYERDIR}/"
10BBFILE_PRIORITY_yoctobsp = "5"
11LAYERVERSION_yoctobsp = "4"
12LAYERSERIES_COMPAT_yoctobsp = "whinlatter"
diff --git a/meta-yocto-bsp/conf/machine/beaglebone-yocto.conf b/meta-yocto-bsp/conf/machine/beaglebone-yocto.conf
deleted file mode 100644
index 63d7f94214..0000000000
--- a/meta-yocto-bsp/conf/machine/beaglebone-yocto.conf
+++ /dev/null
@@ -1,54 +0,0 @@
1#@TYPE: Machine
2#@NAME: Beaglebone-yocto machine
3#@DESCRIPTION: Reference machine configuration for http://beagleboard.org/bone and http://beagleboard.org/black boards
4
5PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
6
7MACHINE_EXTRA_RRECOMMENDS = "kernel-modules"
8
9EXTRA_IMAGEDEPENDS += "virtual/bootloader"
10
11DEFAULTTUNE ?= "cortexa8hf-neon"
12include conf/machine/include/arm/armv7a/tune-cortexa8.inc
13
14IMAGE_FSTYPES += "tar.zst jffs2.zst wic.zst wic.bmap"
15EXTRA_IMAGECMD:jffs2 = "-lnp "
16WKS_FILE ?= "beaglebone-yocto.wks"
17MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "kernel-image kernel-devicetree"
18do_image_wic[depends] += "mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot virtual/bootloader:do_deploy"
19
20SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyO0 115200;ttyAMA0"
21
22PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
23PREFERRED_VERSION_linux-yocto ?= "6.12%"
24
25KERNEL_IMAGETYPE = "zImage"
26DTB_FILES = "am335x-bone.dtb am335x-boneblack.dtb am335x-bonegreen.dtb"
27KERNEL_DEVICETREE = '${@' '.join('ti/omap/%s' % d for d in '${DTB_FILES}'.split())}'
28
29PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot"
30
31SPL_BINARY = "MLO"
32UBOOT_SUFFIX = "img"
33UBOOT_MACHINE = "am335x_evm_defconfig"
34
35MACHINE_FEATURES = "usbgadget usbhost vfat alsa"
36
37IMAGE_BOOT_FILES ?= "u-boot.${UBOOT_SUFFIX} ${SPL_BINARY} ${KERNEL_IMAGETYPE} ${DTB_FILES}"
38
39# support runqemu
40EXTRA_IMAGEDEPENDS += "qemu-native qemu-helper-native"
41IMAGE_CLASSES += "qemuboot"
42QB_DEFAULT_FSTYPE = "wic"
43QB_FSINFO = "wic:no-kernel-in-fs"
44QB_KERNEL_ROOT = "/dev/vda2"
45QB_SYSTEM_NAME = "qemu-system-arm"
46QB_MACHINE = "-machine virt"
47QB_CPU = "-cpu cortex-a15"
48QB_KERNEL_CMDLINE_APPEND = "console=ttyAMA0 systemd.mask=systemd-networkd"
49QB_OPT_APPEND = "-device virtio-rng-device"
50QB_TAP_OPT = "-netdev tap,id=net0,ifname=@TAP@,script=no,downscript=no"
51QB_NETWORK_DEVICE = "-device virtio-net-device,netdev=net0,mac=@MAC@"
52QB_ROOTFS_OPT = "-drive id=disk0,file=@ROOTFS@,if=none,format=raw -device virtio-blk-device,drive=disk0"
53QB_SERIAL_OPT = ""
54QB_TCPSERIAL_OPT = "-device virtio-serial-device -chardev socket,id=virtcon,port=@PORT@,host=127.0.0.1 -device virtconsole,chardev=virtcon"
diff --git a/meta-yocto-bsp/conf/machine/genericarm64.conf b/meta-yocto-bsp/conf/machine/genericarm64.conf
deleted file mode 100644
index ff0c29d7f3..0000000000
--- a/meta-yocto-bsp/conf/machine/genericarm64.conf
+++ /dev/null
@@ -1,76 +0,0 @@
1#@TYPE: Machine
2#@NAME: genericarm64
3#@DESCRIPTION: Generic Arm64 machine for typical SystemReady IR/ES platforms, which
4#have working firmware and boot via EFI.
5
6require conf/machine/include/arm/arch-armv8a.inc
7
8# Arm Base System Architecture says v8.0+ is allowed, but FEAT_CRC32 is required
9DEFAULTTUNE = "armv8a-crc"
10
11MACHINE_FEATURES = "acpi alsa bluetooth efi keyboard pci qemu-usermode rtc screen usbhost vfat wifi"
12
13KERNEL_IMAGETYPE = "Image"
14PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
15
16# Install all the kernel modules into the rootfs
17MACHINE_EXTRA_RRECOMMENDS += "kernel-modules"
18# Install selected pieces of firmware
19MACHINE_EXTRA_RRECOMMENDS += "\
20 linux-firmware-bcm43455 \
21 linux-firmware-wl12xx \
22 linux-firmware-wl18xx \
23 linux-firmware-rtl-nic \
24 ${@bb.utils.contains_any('DISTRO_FEATURES', 'opencl opengl vulkan', 'linux-firmware-qcom-adreno-a660 linux-firmware-qcom-qcm6490-adreno', '', d)} \
25 ${@bb.utils.contains('DISTRO_FEATURES', 'wifi', 'linux-firmware-ath11k-wcn6750 linux-firmware-qcom-qcm6490-wifi', '', d)} \
26 ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'linux-firmware-qca-wcn6750', '', d)} \
27 linux-firmware-qcom-qcm6490-audio \
28 linux-firmware-qcom-qcm6490-compute \
29 linux-firmware-qcom-vpu \
30"
31# increase default size since we install a lot of kernel drivers and firmware by default
32INITRAMFS_MAXSIZE = "260000"
33
34# Use an initramfs and populate it with the kernel modules and key firmware
35INITRAMFS_IMAGE ?= "core-image-initramfs-boot"
36PACKAGE_INSTALL:append:pn-core-image-initramfs-boot = " ${MACHINE_EXTRA_RRECOMMENDS}"
37
38IMAGE_FSTYPES ?= "wic.zst"
39WKS_FILE ?= "genericarm64.wks.in"
40
41EFI_PROVIDER ?= "${@bb.utils.contains("DISTRO_FEATURES", "systemd", "systemd-boot", "grub-efi", d)}"
42
43# Try to bring up a selection of physical or virtual serial consoles
44SERIAL_CONSOLES ?= "115200;ttyAMA0 115200;hvc0 115200;ttyS0 115200;ttyS1 115200;ttyS2 115200;ttyPS1"
45
46# Allow u-boot to be built for use with qemu-system-aarch64.
47# This u-boot is _not_ suitable for use with real hardware, and the expectation
48# of this machine is that real hardware comes with the firmware pre-loaded.
49UBOOT_MACHINE ?= "qemu_arm64_defconfig"
50
51# runqemu configuration to run a genericarm64 image inside a qemu-system-aarch64. You will need
52# to build u-boot explicitly.
53IMAGE_CLASSES += "qemuboot"
54QB_SYSTEM_NAME ?= "qemu-system-aarch64"
55# Boot the virtual machine with either an emulated Cortex-A76, or the host if using KVM
56QB_MACHINE ?= "-machine virt"
57QB_CPU ?= "-cpu cortex-a76"
58QB_CPU_KVM ?= "-cpu host -machine gic-version=3"
59QB_SMP ?= "-smp 4"
60# Boot into U-Boot and let that scan the disk for the next step, don't pass any kernel or filesystem hints
61QB_DEFAULT_BIOS ?= "u-boot.bin"
62QB_DEFAULT_KERNEL ?= "none"
63QB_DEFAULT_FSTYPE ?= "wic.zst"
64QB_FSINFO ?= "wic:no-kernel-in-fs"
65# Mount the wic rootfs as a virtio block device
66QB_ROOTFS_OPT ?= "-drive id=root,file=@ROOTFS@,if=none,format=raw -device virtio-blk-pci,drive=root"
67# Virtio graphics
68QB_GRAPHICS ?= "-device virtio-gpu-pci"
69# Virtio serial consoles
70QB_SERIAL_OPT ?= "-device virtio-serial-pci -chardev null,id=virtcon -device virtconsole,chardev=virtcon"
71QB_TCPSERIAL_OPT ?= "-device virtio-serial-pci -chardev socket,id=virtcon,port=@PORT@,host=127.0.0.1,nodelay=on -device virtconsole,chardev=virtcon"
72# Virtio networking
73QB_TAP_OPT ?= "-netdev tap,id=net0,ifname=@TAP@,script=no,downscript=no"
74
75# If we're running testimage then we're in a qemu, so ensure u-boot is build
76TESTIMAGEDEPENDS:append = " u-boot:do_deploy"
diff --git a/meta-yocto-bsp/conf/machine/genericx86-64.conf b/meta-yocto-bsp/conf/machine/genericx86-64.conf
deleted file mode 100644
index 16e7fefc47..0000000000
--- a/meta-yocto-bsp/conf/machine/genericx86-64.conf
+++ /dev/null
@@ -1,10 +0,0 @@
1#@TYPE: Machine
2#@NAME: Generic x86_64
3#@DESCRIPTION: Machine configuration for generic x86_64 (64-bit) PCs and servers. Supports a moderately wide range of drivers that should boot and be usable on "typical" hardware.
4
5DEFAULTTUNE ?= "core2-64"
6require conf/machine/include/x86/tune-x86-64-v3.inc
7require conf/machine/include/genericx86-common.inc
8
9#For runqemu
10QB_SYSTEM_NAME = "qemu-system-x86_64"
diff --git a/meta-yocto-bsp/conf/machine/genericx86.conf b/meta-yocto-bsp/conf/machine/genericx86.conf
deleted file mode 100644
index 4d378cc7f0..0000000000
--- a/meta-yocto-bsp/conf/machine/genericx86.conf
+++ /dev/null
@@ -1,10 +0,0 @@
1#@TYPE: Machine
2#@NAME: Generic x86
3#@DESCRIPTION: Machine configuration for generic x86 (32-bit) PCs. Supports a moderately wide range of drivers that should boot and be usable on "typical" hardware.
4
5DEFAULTTUNE ?= "core2-32"
6require conf/machine/include/x86/tune-corei7.inc
7require conf/machine/include/genericx86-common.inc
8
9#For runqemu
10QB_SYSTEM_NAME = "qemu-system-i386"
diff --git a/meta-yocto-bsp/conf/machine/include/genericx86-common.inc b/meta-yocto-bsp/conf/machine/include/genericx86-common.inc
deleted file mode 100644
index 76a742b391..0000000000
--- a/meta-yocto-bsp/conf/machine/include/genericx86-common.inc
+++ /dev/null
@@ -1,23 +0,0 @@
1include conf/machine/include/x86/x86-base.inc
2require conf/machine/include/x86/qemuboot-x86.inc
3MACHINE_FEATURES += "wifi efi pcbios"
4
5PREFERRED_VERSION_linux-yocto ?= "6.12%"
6PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
7PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
8XSERVER ?= "${XSERVER_X86_BASE} \
9 ${XSERVER_X86_EXT} \
10 ${XSERVER_X86_I915} \
11 ${XSERVER_X86_I965} \
12 ${XSERVER_X86_FBDEV} \
13 ${XSERVER_X86_VESA} \
14 ${XSERVER_X86_MODESETTING} \
15 "
16
17MACHINE_EXTRA_RRECOMMENDS += "kernel-modules linux-firmware"
18
19IMAGE_FSTYPES += "wic.zst wic.bmap"
20WKS_FILE ?= "genericx86.wks.in"
21EFI_PROVIDER ??= "grub-efi"
22do_image_wic[depends] += "gptfdisk-native:do_populate_sysroot"
23do_image_wic[recrdeptask] += "do_bootimg"