Skip to contentSkip to conversation

arm-bsp/fvp-base: use the mainline linux devicetree

PATCH New Ross Burton 1 participant 1 message Jul 13, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm-bsp/fvp-base: use the mainline linux devicetree

When the FVP Base machine was first added the mainline kernel didn't have a usable Devicetree. This is no longer the case, so use the fvp-base-revc devicetree in the kernel.

Change-Id Ib1c4dc332776b393869c6fb3f11be1811a6544f5
---
 meta-arm-bsp/conf/machine/fvp-base.conf       |   4 +-
 .../linux/files/fvp-base-dts.patch            | 578 ------------------
 .../linux/linux-arm-platforms.inc             |   1 -
 3 files changed, 2 insertions(+), 581 deletions(-)
 delete mode 100644 meta-arm-bsp/recipes-kernel/linux/files/fvp-base-dts.patch
meta-arm-bsp/conf/machine/fvp-base.conf +2 -2
index 41163c9..b74daf6 100644
@@ -14,7 +14,7 @@ UBOOT_MACHINE = "vexpress_aemv8a_semi_defconfig"
 
 KERNEL_IMAGETYPE = "Image"
 
-KERNEL_DEVICETREE = "arm/fvp-base-gicv3-psci-custom.dtb"
+KERNEL_DEVICETREE = "arm/fvp-base-revc.dtb"
 
 FVP_PROVIDER ?= "fvp-base-a-aem-native"
 FVP_EXE ?= "FVP_Base_RevC-2xAEMvA"
@@ -23,7 +23,7 @@ FVP_CONFIG[bp.secureflashloader.fname] ?= "${DEPLOY_DIR_IMAGE}/bl1-fvp.bin"
 FVP_CONFIG[bp.flashloader0.fname] ?= "${DEPLOY_DIR_IMAGE}/fip-fvp.bin"
 FVP_CONFIG[bp.virtioblockdevice.image_path] ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.wic"
 FVP_DATA ?= "cluster0.cpu0=${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}@0x80080000 \
-            cluster0.cpu0=${DEPLOY_DIR_IMAGE}/fvp-base-gicv3-psci-custom.dtb@0x83000000"
+            cluster0.cpu0=${DEPLOY_DIR_IMAGE}/fvp-base-revc.dtb@0x83000000"
 FVP_CONSOLE ?= "terminal_0"
 FVP_TERMINALS[bp.terminal_0] ?= "Console"
 FVP_TERMINALS[bp.terminal_1] ?= ""
meta-arm-bsp/recipes-kernel/linux/files/fvp-base-dts.patch deleted +0 -578

578 lines not on this page · raw message

meta-arm-bsp/recipes-kernel/linux/linux-arm-platforms.inc +0 -1
index 17a036e..5c361f7 100644
@@ -31,7 +31,6 @@ COMPATIBLE_MACHINE_corstone500 = "corstone500"
 COMPATIBLE_MACHINE_fvp-base = "fvp-base"
 KMACHINE_fvp-base = "fvp"
 FILESEXTRAPATHS_prepend_fvp-base := "${ARMBSPFILESPATHS}"
-SRC_URI_append_fvp-base = " file://fvp-base-dts.patch"
 
 #
 # FVP BASE ARM32 KMACHINE
Signature · 1 line
2.25.1