mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-05-31 00:39:57 +00:00
arm-autonomy: Create arm64-autonomy-guest machine
Create a minimalistic BSP to be used as an arm-autonomy-guest on ARM64. The BSP is enabling ARM64 and SMP in the kernel configuration and is enabling the arm-autonomy-guest in DISTRO_FEATURES. Rework README.md file. Change-Id: I7ef0176a3426748c4b66cdec5801aa34229187ba Issue-Id: SCM-767 Signed-off-by: Bertrand Marquis <bertrand.marquis@arm.com> Reviewed-by: Diego Sueiro <diego.sueiro@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
committed by
Jon Mason
parent
23b3db93c3
commit
06bbe868de
@@ -42,6 +42,11 @@ BSPs
|
|||||||
----
|
----
|
||||||
This layer is adding the following machines:
|
This layer is adding the following machines:
|
||||||
|
|
||||||
|
* arm64-autonomy-guest: this machines creates a minimal BSP suitable to be used
|
||||||
|
as an autonomy guest. It is in fact only activating ARM64 architecture and
|
||||||
|
SMP in the linux kernel and is enabling the DISTRO_FEATURE
|
||||||
|
arm-autonomy-guest.
|
||||||
|
|
||||||
Images
|
Images
|
||||||
------
|
------
|
||||||
This layer is adding the following images:
|
This layer is adding the following images:
|
||||||
|
|||||||
@@ -0,0 +1,17 @@
|
|||||||
|
#@TYPE: Machine
|
||||||
|
#@NAME: Autonomy Guest ARM64 machine
|
||||||
|
#@DESCRIPTION: Machine configuration for ARM64 Autonomy Guest
|
||||||
|
|
||||||
|
TUNE_FEATURES = "aarch64"
|
||||||
|
|
||||||
|
require conf/machine/include/arm/arch-armv8a.inc
|
||||||
|
|
||||||
|
KERNEL_IMAGETYPE = "Image"
|
||||||
|
|
||||||
|
IMAGE_FSTYPES += "tar.bz2"
|
||||||
|
|
||||||
|
PREFERRED_PROVIDER_virtual/kernel = "linux-yocto"
|
||||||
|
PREFERRED_VERSION_linux-yocto ?= "4.19%"
|
||||||
|
|
||||||
|
DISTRO_FEATURES += "arm-autonomy-guest"
|
||||||
|
|
||||||
+5
@@ -0,0 +1,5 @@
|
|||||||
|
define KMACHINE arm64-autonomy-guest
|
||||||
|
define KTYPE standard
|
||||||
|
define KARCH arm64
|
||||||
|
|
||||||
|
include arm64-autonomy-guest.scc
|
||||||
+2
@@ -0,0 +1,2 @@
|
|||||||
|
CONFIG_ARM64=y
|
||||||
|
CONFIG_SMP=y
|
||||||
+6
@@ -0,0 +1,6 @@
|
|||||||
|
include ktypes/standard/standard.scc
|
||||||
|
include features/input/input.scc
|
||||||
|
include features/net/net.scc
|
||||||
|
include cfg/timer/no_hz.scc
|
||||||
|
|
||||||
|
kconf hardware arm64-autonomy-guest.cfg
|
||||||
@@ -14,3 +14,8 @@ KERNEL_FEATURES += "${@bb.utils.contains('DISTRO_FEATURES', \
|
|||||||
# Add xen guest drivers to kernel if arm-autonomy-guest is activated
|
# Add xen guest drivers to kernel if arm-autonomy-guest is activated
|
||||||
KERNEL_FEATURES += "${@bb.utils.contains('DISTRO_FEATURES', \
|
KERNEL_FEATURES += "${@bb.utils.contains('DISTRO_FEATURES', \
|
||||||
'arm-autonomy-guest', 'features/arm-autonomy/xen-guest.scc', '', d)}"
|
'arm-autonomy-guest', 'features/arm-autonomy/xen-guest.scc', '', d)}"
|
||||||
|
|
||||||
|
# Add support for arm64-autonomy-guest machine
|
||||||
|
COMPATIBLE_MACHINE_arm64-autonomy-guest = "arm64-autonomy-guest"
|
||||||
|
KMACHINE_arm64-autonomy-guest = "arm64-autonomy-guest"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user