From ee55fe42f1e5389ac6f12e6c5273dc14750961f3 Mon Sep 17 00:00:00 2001 From: Prabin CA Date: Wed, 8 Jul 2020 21:40:38 +0530 Subject: [PATCH] arm-bsp/linux: Build Linux stable 5.7 for sgi575 - Update linux-arm inc for including sgi575 - Add machine conf to add image dependency for Linux components Change-Id: I26c539793b73a3f4a31e40daa4272904a1751b3e Signed-off-by: Prabin CA Signed-off-by: Ross Burton --- meta-arm-bsp/conf/machine/sgi575.conf | 5 +++++ .../recipes-kernel/linux/linux-arm-platforms.inc | 9 +++++++++ 2 files changed, 14 insertions(+) diff --git a/meta-arm-bsp/conf/machine/sgi575.conf b/meta-arm-bsp/conf/machine/sgi575.conf index c77f3f5c..719d99ec 100644 --- a/meta-arm-bsp/conf/machine/sgi575.conf +++ b/meta-arm-bsp/conf/machine/sgi575.conf @@ -16,3 +16,8 @@ PREFERRED_VERSION_trusted-firmware-a ?= "2.2%" EXTRA_IMAGEDEPENDS += "virtual/trusted-firmware-a" +# Use kernel provided by linaro +KERNEL_IMAGETYPE ?= "Image" +PREFERRED_PROVIDER_virtual/kernel ?= "linux-stable" +PREFERRED_VERSION_linux-stable ?= "5.7%" +SERIAL_CONSOLES = "115200;ttyAMA0" diff --git a/meta-arm-bsp/recipes-kernel/linux/linux-arm-platforms.inc b/meta-arm-bsp/recipes-kernel/linux/linux-arm-platforms.inc index 4e5635af..9224dde4 100644 --- a/meta-arm-bsp/recipes-kernel/linux/linux-arm-platforms.inc +++ b/meta-arm-bsp/recipes-kernel/linux/linux-arm-platforms.inc @@ -13,6 +13,7 @@ SRC_URI_append_foundation-armv8 = " ${SRC_URI_KMETA}" SRC_URI_append_fvp-base = " ${SRC_URI_KMETA}" SRC_URI_append_fvp-base-arm32 = " ${SRC_URI_KMETA}" SRC_URI_append_juno = " ${SRC_URI_KMETA}" +SRC_URI_append_sgi575 = " ${SRC_URI_KMETA}" SRC_URI_append_gem5-arm64 = " ${SRC_URI_KMETA}" SRCREV_arm-platforms-kmeta = "6147e82375aa9df8f2a162d42ea6406c79c854c5" @@ -48,6 +49,14 @@ SRC_URI_append_fvp-base-arm32 = " file://fvp-base-arm32-dts.patch" COMPATIBLE_MACHINE_juno = "juno" KMACHINE_juno = "juno" +# +# SGI575 KMACHINE +# +COMPATIBLE_MACHINE_sgi575 = "sgi575" +KMACHINE_sgi575 = "sgi575" +KBUILD_DEFCONFIG_sgi575 = "defconfig" +KCONFIG_MODE_sgi575 = "--alldefconfig" + # # Total Compute KMACHINE #