diff options
Diffstat (limited to 'meta-yocto-bsp/conf/machine/genericarm64.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" | ||