diff options
author | Ross Burton <ross.burton@arm.com> | 2024-02-28 11:44:15 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-03-05 12:26:21 +0000 |
commit | 2f4f72fff2b642beff179530a74403fa2c608b64 (patch) | |
tree | 14cef82a3e98f307d3c4a131e9360f2541b348d9 /meta-yocto-bsp/conf | |
parent | be10de34231d2b0081aa0ff7cbc36aef110d7fee (diff) | |
download | poky-2f4f72fff2b642beff179530a74403fa2c608b64.tar.gz |
Add genericarm64 MACHINE
This is a new 64-bit "generic" Arm machine, that expects the hardware to
be SystemReady IR compatible.
(From meta-yocto rev: 68de209f58917d8e7108caacfefc55bbe0e0c5a2)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-yocto-bsp/conf')
-rw-r--r-- | meta-yocto-bsp/conf/machine/genericarm64.conf | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-yocto-bsp/conf/machine/genericarm64.conf b/meta-yocto-bsp/conf/machine/genericarm64.conf new file mode 100644 index 0000000000..83f1aca137 --- /dev/null +++ b/meta-yocto-bsp/conf/machine/genericarm64.conf | |||
@@ -0,0 +1,29 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: genericarm64 | ||
3 | #@DESCRIPTION: Generic Arm64 machine for typical SystemReady 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 | # Install all the kernel modules and all the firmware | ||
14 | MACHINE_EXTRA_RRECOMMENDS += "kernel-modules linux-firmware" | ||
15 | |||
16 | KERNEL_IMAGETYPE = "Image" | ||
17 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" | ||
18 | |||
19 | # Use an initramfs and populate it with the kernel modules | ||
20 | INITRAMFS_IMAGE ?= "core-image-initramfs-boot" | ||
21 | PACKAGE_INSTALL:append:pn-core-image-initramfs-boot = " kernel-modules" | ||
22 | |||
23 | IMAGE_FSTYPES ?= "wic" | ||
24 | WKS_FILE ?= "genericarm64.wks.in" | ||
25 | |||
26 | EFI_PROVIDER ?= "${@bb.utils.contains("DISTRO_FEATURES", "systemd", "systemd-boot", "grub-efi", d)}" | ||
27 | |||
28 | # Try to bring up one physical serial console, or a virtualized serial console | ||
29 | SERIAL_CONSOLES ?= "115200;ttyAMA0 115200;hvc0" | ||