mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-05-06 04:42:16 +00:00
arm/machine: create generic-arm64 machine
Create a generic Arm64 system for creating a SystemReady file system. Due to it being as generic as possible, the image created by this should run on any hardware that already has the requisite firmware present. Change-Id: Ie0d71f91145311e90d228bc403e653a7ef059838 Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
@@ -76,6 +76,9 @@ gem5-arm64:
|
|||||||
gem5-arm64-xen:
|
gem5-arm64-xen:
|
||||||
extends: .build
|
extends: .build
|
||||||
|
|
||||||
|
generic-arm64:
|
||||||
|
extends: .build
|
||||||
|
|
||||||
juno:
|
juno:
|
||||||
extends: .build
|
extends: .build
|
||||||
|
|
||||||
|
|||||||
6
kas/generic-arm64.yml
Normal file
6
kas/generic-arm64.yml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
header:
|
||||||
|
version: 9
|
||||||
|
includes:
|
||||||
|
- base.yml
|
||||||
|
|
||||||
|
machine: generic-arm64
|
||||||
23
meta-arm/conf/machine/generic-arm64.conf
Normal file
23
meta-arm/conf/machine/generic-arm64.conf
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
#@TYPE: Machine
|
||||||
|
#@NAME: generic-arm64
|
||||||
|
#@DESCRIPTION: Generic Arm64 machine for creating rootfs that should work on all arm64 hardware
|
||||||
|
|
||||||
|
require conf/machine/include/arm/arch-armv8a.inc
|
||||||
|
|
||||||
|
SERIAL_CONSOLES ?= "115200;ttyAMA0"
|
||||||
|
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
|
||||||
|
|
||||||
|
PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
|
||||||
|
PREFERRED_VERSION_linux-yocto ?= "5.10%"
|
||||||
|
|
||||||
|
KERNEL_IMAGETYPE = "Image"
|
||||||
|
|
||||||
|
IMAGE_BOOT_FILES = "${KERNEL_IMAGETYPE}"
|
||||||
|
IMAGE_FSTYPES ?= "wic"
|
||||||
|
|
||||||
|
WKS_FILE ?= "mkefidisk.wks"
|
||||||
|
|
||||||
|
MACHINE_FEATURES += "efi"
|
||||||
|
|
||||||
|
KBUILD_DEFCONFIG = "defconfig"
|
||||||
|
KCONFIG_MODE = "--alldefconfig"
|
||||||
@@ -3,3 +3,9 @@ FILESEXTRAPATHS_prepend := "${THISDIR}:${THISDIR}/linux-yocto:"
|
|||||||
SRC_URI_append_qemuarm64-sbsa = " \
|
SRC_URI_append_qemuarm64-sbsa = " \
|
||||||
file://defconfig.patch \
|
file://defconfig.patch \
|
||||||
"
|
"
|
||||||
|
|
||||||
|
COMPATIBLE_MACHINE_generic-arm64 = "generic-arm64"
|
||||||
|
|
||||||
|
SRC_URI_append_generic-arm64 = " \
|
||||||
|
file://defconfig.patch \
|
||||||
|
"
|
||||||
|
|||||||
Reference in New Issue
Block a user