1
0
mirror of https://git.yoctoproject.org/meta-arm synced 2026-06-05 14:30:10 +00:00

arm-bsp/linux: Add support for linux-yocto-rt for N1SDP

* Enable linux-arm-platforms.inc for N1SDP
 * Create n1sdp-preempt-rt.scc config
 * Disable KVM as incompatible with preempt-rt
 * Disable kconf audit warnings as preempt-rt.scc clashes with
   defconfig

Issue-Id: SCM-1506
Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com>
Change-Id: I4f9c61c7fe2400858578576aad7c5d1c958e9a2e
Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
Peter Hoyes
2021-03-12 09:11:28 +00:00
committed by Jon Mason
parent a949ebfd06
commit 4f8766b081
4 changed files with 15 additions and 0 deletions
@@ -0,0 +1,6 @@
define KMACHINE n1sdp
define KTYPE preempt-rt
define KARCH arm64
include ktypes/preempt-rt/preempt-rt.scc
include n1sdp/disable-kvm.cfg
@@ -0,0 +1 @@
# CONFIG_KVM is not set
@@ -104,6 +104,9 @@ SRC_URI_append_n1sdp = " \
file://enable-realtek-R8169.cfg \
file://enable-usb_conn_gpio.cfg \
"
# Since we use the intree defconfig and the preempt-rt turns off some configs
# do_kernel_configcheck will display warnings. So, lets disable it.
KCONF_AUDIT_LEVEL_n1sdp_pn-linux-yocto-rt = "0"
#
# Musca B1/S2 can't run Linux
@@ -0,0 +1,5 @@
# Only enable linux-yocto-rt for n1sdp
LINUX_YOCTO_RT_REQUIRE ?= ""
LINUX_YOCTO_RT_REQUIRE_n1sdp = "linux-arm-platforms.inc"
require ${LINUX_YOCTO_RT_REQUIRE}