diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-11-07 13:31:53 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-11-07 13:31:53 +0000 |
| commit | 8c22ff0d8b70d9b12f0487ef696a7e915b9e3173 (patch) | |
| tree | efdc32587159d0050a69009bdf2330a531727d95 /meta-yocto-bsp/conf | |
| parent | d412d2747595c1cc4a5e3ca975e3adc31b2f7891 (diff) | |
| download | poky-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.conf | 12 | ||||
| -rw-r--r-- | meta-yocto-bsp/conf/machine/beaglebone-yocto.conf | 54 | ||||
| -rw-r--r-- | meta-yocto-bsp/conf/machine/genericarm64.conf | 76 | ||||
| -rw-r--r-- | meta-yocto-bsp/conf/machine/genericx86-64.conf | 10 | ||||
| -rw-r--r-- | meta-yocto-bsp/conf/machine/genericx86.conf | 10 | ||||
| -rw-r--r-- | meta-yocto-bsp/conf/machine/include/genericx86-common.inc | 23 |
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 | ||
| 2 | BBPATH .= ":${LAYERDIR}" | ||
| 3 | |||
| 4 | # We have recipes-* directories, add to BBFILES | ||
| 5 | BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ | ||
| 6 | ${LAYERDIR}/recipes-*/*/*.bbappend" | ||
| 7 | |||
| 8 | BBFILE_COLLECTIONS += "yoctobsp" | ||
| 9 | BBFILE_PATTERN_yoctobsp = "^${LAYERDIR}/" | ||
| 10 | BBFILE_PRIORITY_yoctobsp = "5" | ||
| 11 | LAYERVERSION_yoctobsp = "4" | ||
| 12 | LAYERSERIES_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 | |||
| 5 | PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg" | ||
| 6 | |||
| 7 | MACHINE_EXTRA_RRECOMMENDS = "kernel-modules" | ||
| 8 | |||
| 9 | EXTRA_IMAGEDEPENDS += "virtual/bootloader" | ||
| 10 | |||
| 11 | DEFAULTTUNE ?= "cortexa8hf-neon" | ||
| 12 | include conf/machine/include/arm/armv7a/tune-cortexa8.inc | ||
| 13 | |||
| 14 | IMAGE_FSTYPES += "tar.zst jffs2.zst wic.zst wic.bmap" | ||
| 15 | EXTRA_IMAGECMD:jffs2 = "-lnp " | ||
| 16 | WKS_FILE ?= "beaglebone-yocto.wks" | ||
| 17 | MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "kernel-image kernel-devicetree" | ||
| 18 | do_image_wic[depends] += "mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot virtual/bootloader:do_deploy" | ||
| 19 | |||
| 20 | SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyO0 115200;ttyAMA0" | ||
| 21 | |||
| 22 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" | ||
| 23 | PREFERRED_VERSION_linux-yocto ?= "6.12%" | ||
| 24 | |||
| 25 | KERNEL_IMAGETYPE = "zImage" | ||
| 26 | DTB_FILES = "am335x-bone.dtb am335x-boneblack.dtb am335x-bonegreen.dtb" | ||
| 27 | KERNEL_DEVICETREE = '${@' '.join('ti/omap/%s' % d for d in '${DTB_FILES}'.split())}' | ||
| 28 | |||
| 29 | PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot" | ||
| 30 | |||
| 31 | SPL_BINARY = "MLO" | ||
| 32 | UBOOT_SUFFIX = "img" | ||
| 33 | UBOOT_MACHINE = "am335x_evm_defconfig" | ||
| 34 | |||
| 35 | MACHINE_FEATURES = "usbgadget usbhost vfat alsa" | ||
| 36 | |||
| 37 | IMAGE_BOOT_FILES ?= "u-boot.${UBOOT_SUFFIX} ${SPL_BINARY} ${KERNEL_IMAGETYPE} ${DTB_FILES}" | ||
| 38 | |||
| 39 | # support runqemu | ||
| 40 | EXTRA_IMAGEDEPENDS += "qemu-native qemu-helper-native" | ||
| 41 | IMAGE_CLASSES += "qemuboot" | ||
| 42 | QB_DEFAULT_FSTYPE = "wic" | ||
| 43 | QB_FSINFO = "wic:no-kernel-in-fs" | ||
| 44 | QB_KERNEL_ROOT = "/dev/vda2" | ||
| 45 | QB_SYSTEM_NAME = "qemu-system-arm" | ||
| 46 | QB_MACHINE = "-machine virt" | ||
| 47 | QB_CPU = "-cpu cortex-a15" | ||
| 48 | QB_KERNEL_CMDLINE_APPEND = "console=ttyAMA0 systemd.mask=systemd-networkd" | ||
| 49 | QB_OPT_APPEND = "-device virtio-rng-device" | ||
| 50 | QB_TAP_OPT = "-netdev tap,id=net0,ifname=@TAP@,script=no,downscript=no" | ||
| 51 | QB_NETWORK_DEVICE = "-device virtio-net-device,netdev=net0,mac=@MAC@" | ||
| 52 | QB_ROOTFS_OPT = "-drive id=disk0,file=@ROOTFS@,if=none,format=raw -device virtio-blk-device,drive=disk0" | ||
| 53 | QB_SERIAL_OPT = "" | ||
| 54 | QB_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 | |||
| 6 | require conf/machine/include/arm/arch-armv8a.inc | ||
| 7 | |||
| 8 | # Arm Base System Architecture says v8.0+ is allowed, but FEAT_CRC32 is required | ||
| 9 | DEFAULTTUNE = "armv8a-crc" | ||
| 10 | |||
| 11 | MACHINE_FEATURES = "acpi alsa bluetooth efi keyboard pci qemu-usermode rtc screen usbhost vfat wifi" | ||
| 12 | |||
| 13 | KERNEL_IMAGETYPE = "Image" | ||
| 14 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" | ||
| 15 | |||
| 16 | # Install all the kernel modules into the rootfs | ||
| 17 | MACHINE_EXTRA_RRECOMMENDS += "kernel-modules" | ||
| 18 | # Install selected pieces of firmware | ||
| 19 | MACHINE_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 | ||
| 32 | INITRAMFS_MAXSIZE = "260000" | ||
| 33 | |||
| 34 | # Use an initramfs and populate it with the kernel modules and key firmware | ||
| 35 | INITRAMFS_IMAGE ?= "core-image-initramfs-boot" | ||
| 36 | PACKAGE_INSTALL:append:pn-core-image-initramfs-boot = " ${MACHINE_EXTRA_RRECOMMENDS}" | ||
| 37 | |||
| 38 | IMAGE_FSTYPES ?= "wic.zst" | ||
| 39 | WKS_FILE ?= "genericarm64.wks.in" | ||
| 40 | |||
| 41 | EFI_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 | ||
| 44 | SERIAL_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. | ||
| 49 | UBOOT_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. | ||
| 53 | IMAGE_CLASSES += "qemuboot" | ||
| 54 | QB_SYSTEM_NAME ?= "qemu-system-aarch64" | ||
| 55 | # Boot the virtual machine with either an emulated Cortex-A76, or the host if using KVM | ||
| 56 | QB_MACHINE ?= "-machine virt" | ||
| 57 | QB_CPU ?= "-cpu cortex-a76" | ||
| 58 | QB_CPU_KVM ?= "-cpu host -machine gic-version=3" | ||
| 59 | QB_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 | ||
| 61 | QB_DEFAULT_BIOS ?= "u-boot.bin" | ||
| 62 | QB_DEFAULT_KERNEL ?= "none" | ||
| 63 | QB_DEFAULT_FSTYPE ?= "wic.zst" | ||
| 64 | QB_FSINFO ?= "wic:no-kernel-in-fs" | ||
| 65 | # Mount the wic rootfs as a virtio block device | ||
| 66 | QB_ROOTFS_OPT ?= "-drive id=root,file=@ROOTFS@,if=none,format=raw -device virtio-blk-pci,drive=root" | ||
| 67 | # Virtio graphics | ||
| 68 | QB_GRAPHICS ?= "-device virtio-gpu-pci" | ||
| 69 | # Virtio serial consoles | ||
| 70 | QB_SERIAL_OPT ?= "-device virtio-serial-pci -chardev null,id=virtcon -device virtconsole,chardev=virtcon" | ||
| 71 | QB_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 | ||
| 73 | QB_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 | ||
| 76 | TESTIMAGEDEPENDS: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 | |||
| 5 | DEFAULTTUNE ?= "core2-64" | ||
| 6 | require conf/machine/include/x86/tune-x86-64-v3.inc | ||
| 7 | require conf/machine/include/genericx86-common.inc | ||
| 8 | |||
| 9 | #For runqemu | ||
| 10 | QB_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 | |||
| 5 | DEFAULTTUNE ?= "core2-32" | ||
| 6 | require conf/machine/include/x86/tune-corei7.inc | ||
| 7 | require conf/machine/include/genericx86-common.inc | ||
| 8 | |||
| 9 | #For runqemu | ||
| 10 | QB_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 @@ | |||
| 1 | include conf/machine/include/x86/x86-base.inc | ||
| 2 | require conf/machine/include/x86/qemuboot-x86.inc | ||
| 3 | MACHINE_FEATURES += "wifi efi pcbios" | ||
| 4 | |||
| 5 | PREFERRED_VERSION_linux-yocto ?= "6.12%" | ||
| 6 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" | ||
| 7 | PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg" | ||
| 8 | XSERVER ?= "${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 | |||
| 17 | MACHINE_EXTRA_RRECOMMENDS += "kernel-modules linux-firmware" | ||
| 18 | |||
| 19 | IMAGE_FSTYPES += "wic.zst wic.bmap" | ||
| 20 | WKS_FILE ?= "genericx86.wks.in" | ||
| 21 | EFI_PROVIDER ??= "grub-efi" | ||
| 22 | do_image_wic[depends] += "gptfdisk-native:do_populate_sysroot" | ||
| 23 | do_image_wic[recrdeptask] += "do_bootimg" | ||
