From 8cf7f8eb310d69d1319dc305730428d280e7639f Mon Sep 17 00:00:00 2001 From: Diego Sueiro Date: Fri, 8 May 2020 17:34:03 +0100 Subject: [PATCH] arm-bsp: n1sdp: Add Linux kernel device-tree support Update both machine configuration and kernel recipe to support Linux Kernel device-tree compilation. Change-Id: I01fa654bd88e0d2b7a4bfcc7cb60222c120a0473 Issue-Id: SCM-888 Signed-off-by: Diego Sueiro Reviewed-by: Bertrand Marquis Signed-off-by: Jon Mason --- meta-arm-bsp/conf/machine/n1sdp.conf | 1 + meta-arm-bsp/recipes-kernel/linux/linux-linaro-arm_5.4.bbappend | 2 ++ 2 files changed, 3 insertions(+) diff --git a/meta-arm-bsp/conf/machine/n1sdp.conf b/meta-arm-bsp/conf/machine/n1sdp.conf index fbe135c2..b19fb86a 100644 --- a/meta-arm-bsp/conf/machine/n1sdp.conf +++ b/meta-arm-bsp/conf/machine/n1sdp.conf @@ -9,6 +9,7 @@ TUNE_FEATURES = "aarch64" require conf/machine/include/arm/arch-armv8a.inc KERNEL_IMAGETYPE = "Image" +KERNEL_DEVICETREE = "n1sdp/n1sdp.dtb" IMAGE_FSTYPES += "tar.bz2 ext4" diff --git a/meta-arm-bsp/recipes-kernel/linux/linux-linaro-arm_5.4.bbappend b/meta-arm-bsp/recipes-kernel/linux/linux-linaro-arm_5.4.bbappend index e2ba6aeb..9634d431 100644 --- a/meta-arm-bsp/recipes-kernel/linux/linux-linaro-arm_5.4.bbappend +++ b/meta-arm-bsp/recipes-kernel/linux/linux-linaro-arm_5.4.bbappend @@ -6,6 +6,7 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-5.4:" # Apply N1SDP specific patches SRC_URI_append_n1sdp = " \ + git://git.linaro.org/landing-teams/working/arm/device-tree.git;name=dts;nobranch=1;destsuffix=git/arch/arm64/boot/dts \ file://0001-TMP-iommu-arm-smmu-v3-Ignore-IOPF-capabilities.patch \ file://0002-pci_quirk-add-acs-override-for-PCI-devices.patch \ file://0003-pcie-Add-quirk-for-the-Arm-Neoverse-N1SDP-platform.patch \ @@ -14,6 +15,7 @@ SRC_URI_append_n1sdp = " \ # Referring to commit TAG N1SDP-2020.03.26 SRCREV_n1sdp = "137cccb0843e63b031acf67d1ca4f6447b8c417c" +SRCREV_dts_n1sdp = "3209a868152f348194cc1f20fd87c759d3a97d45" # Use intree defconfig KBUILD_DEFCONFIG_n1sdp = "defconfig"