summaryrefslogtreecommitdiffstats
path: root/meta-yocto-bsp/conf
diff options
context:
space:
mode:
Diffstat (limited to 'meta-yocto-bsp/conf')
-rw-r--r--meta-yocto-bsp/conf/machine/genericarm64.conf29
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
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
13# Install all the kernel modules and all the firmware
14MACHINE_EXTRA_RRECOMMENDS += "kernel-modules linux-firmware"
15
16KERNEL_IMAGETYPE = "Image"
17PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
18
19# Use an initramfs and populate it with the kernel modules
20INITRAMFS_IMAGE ?= "core-image-initramfs-boot"
21PACKAGE_INSTALL:append:pn-core-image-initramfs-boot = " kernel-modules"
22
23IMAGE_FSTYPES ?= "wic"
24WKS_FILE ?= "genericarm64.wks.in"
25
26EFI_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
29SERIAL_CONSOLES ?= "115200;ttyAMA0 115200;hvc0"