Skip to contentSkip to conversation

arm-bsp/fvp-baser-aemv8r64: Rebase u-boot patches onto v2022.07

PATCH Applied Qi Feng 2 participants 2 messages Aug 1, 2022 Arm/versatile express platform

lore
Share & tools
lore

Qi Feng

author
#0 lore raw

PATCH 1/1 arm-bsp/fvp-baser-aemv8r64: Rebase u-boot patches onto v2022.07

- 0001-vexpress64-Add-BASER_FVP-vexpress-board-variant.patch

Change to 0002-vexpress64-add-MPU-memory-map-for-the-BASER_FVP.patch. Only MPU memory map is preserved, other parts have been upstreamed.

- 0007-vexpress64-Configure-memory-using-device-tree.patch

Deleted. Upstreamed in commit 1a1143a45457161e90ea4cd5f3b0561d924ed8fe

Issue-Id: SCM-5030
Change-Id: I4aab3bab545e64e3a4a3a3fd67bcef79acdc41be

---
 .../conf/machine/fvp-baser-aemv8r64.conf      |   2 +-
 ...8-Add-ARMv8-MPU-configuration-logic.patch} |  16 +-
 ...Add-BASER_FVP-vexpress-board-variant.patch | 314 ------------------
 ...add-MPU-memory-map-for-the-BASER_FVP.patch |  61 ++++
 ...bling-exception-vectors-on-non-SPL-b.patch |  36 +-
 ...mv8-ARMV8_SWITCH_TO_EL1-improvements.patch |  35 +-
 ...ling-HVC-configurable-when-switching.patch |  20 +-
 ...press64-Do-not-set-COUNTER_FREQUENCY.patch |  39 +--
 ...4-Configure-memory-using-device-tree.patch |  88 -----
 ...-LIBFDT_OVERLAY-in-the-vexpress_aem.patch} |   8 +-
 ...BAR-MPU-attributes-to-be-configured.patch} |  56 ++--
 ...he-when-switching-exception-levels-.patch} |   4 +-
 .../recipes-bsp/u-boot/u-boot_%.bbappend      |  11 +-
 13 files changed, 158 insertions(+), 532 deletions(-)
 rename meta-arm-bsp/recipes-bsp/u-boot/u-boot/fvp-baser-aemv8r64/{0002-armv8-Add-ARMv8-MPU-configuration-logic.patch => 0001-armv8-Add-ARMv8-MPU-configuration-logic.patch} (94%)
 delete mode 100644 meta-arm-bsp/recipes-bsp/u-boot/u-boot/fvp-baser-aemv8r64/0001-vexpress64-Add-BASER_FVP-vexpress-board-variant.patch
 create mode 100644 meta-arm-bsp/recipes-bsp/u-boot/u-boot/fvp-baser-aemv8r64/0002-vexpress64-add-MPU-memory-map-for-the-BASER_FVP.patch
 delete mode 100644 meta-arm-bsp/recipes-bsp/u-boot/u-boot/fvp-baser-aemv8r64/0007-vexpress64-Configure-memory-using-device-tree.patch
 rename meta-arm-bsp/recipes-bsp/u-boot/u-boot/fvp-baser-aemv8r64/{0008-vexpress64-Enable-LIBFDT_OVERLAY-in-the-vexpress_aem.patch => 0007-vexpress64-Enable-LIBFDT_OVERLAY-in-the-vexpress_aem.patch} (76%)
 rename meta-arm-bsp/recipes-bsp/u-boot/u-boot/fvp-baser-aemv8r64/{0009-armv8-Allow-PRBAR-MPU-attributes-to-be-configured.patch => 0008-armv8-Allow-PRBAR-MPU-attributes-to-be-configured.patch} (69%)
 rename meta-arm-bsp/recipes-bsp/u-boot/u-boot/fvp-baser-aemv8r64/{0010-armv8-Enable-icache-when-switching-exception-levels-.patch => 0009-armv8-Enable-icache-when-switching-exception-levels-.patch} (94%)
meta-arm-bsp/conf/machine/fvp-baser-aemv8r64.conf +1 -1
index 9c800591..8119cb68 100644
@@ -11,7 +11,7 @@ EXTRA_IMAGEDEPENDS += "boot-wrapper-aarch64"
 PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
 PREFERRED_VERSION_linux-yocto ?= "5.15%"
 PREFERRED_VERSION_linux-yocto-rt ?= "5.15%"
-PREFERRED_VERSION_u-boot ?= "2022.04"
+PREFERRED_VERSION_u-boot ?= "2022.07"
 
 KERNEL_IMAGETYPE = "Image"
 KERNEL_DEVICETREE = "arm/fvp-baser-aemv8r64.dtb"
meta-arm-bsp/recipes-bsp/u-boot/u-boot/fvp-baser-aemv8r64/0001-armv8-Add-ARMv8-MPU-configuration-logic.patch renamed from meta-arm-bsp/recipes-bsp/u-boot/u-boot/fvp-baser-aemv8r64/0002-armv8-Add-ARMv8-MPU-configuration-logic.patch +8 -8
similarity index 94%
rename from meta-arm-bsp/recipes-bsp/u-boot/u-boot/fvp-baser-aemv8r64/0002-armv8-Add-ARMv8-MPU-configuration-logic.patch
rename to meta-arm-bsp/recipes-bsp/u-boot/u-boot/fvp-baser-aemv8r64/0001-armv8-Add-ARMv8-MPU-configuration-logic.patch
index fbb9259c..dd6b77d3 100644
@@ -1,7 +1,7 @@
-From 4d22ed70639c2d0c9c537efd549e563d4856305b Mon Sep 17 00:00:00 2001
+From e90aa7853ae32cb03c86249a6c572ec88cdebaa2 Mon Sep 17 00:00:00 2001
 From: Peter Hoyes <[email protected]>
 Date: Wed, 26 May 2021 17:41:10 +0100
-Subject: [PATCH 2/8] armv8: Add ARMv8 MPU configuration logic
+Subject: [PATCH 1/9] armv8: Add ARMv8 MPU configuration logic
 
 Detect whether an MMU is present at the current exception level. If
 not, initialize the MPU instead of the MMU during init, and clear the
@@ -27,7 +27,7 @@ Change-Id: I0ee3879f9d7f03fe940664b3551c68eeaa458d17
  create mode 100644 arch/arm/include/asm/armv8/mpu.h
 
 diff --git a/arch/arm/cpu/armv8/cache_v8.c b/arch/arm/cpu/armv8/cache_v8.c
-index 3de18c7675..f6e0ad0075 100644
+index e4736e5643..798aed8058 100644
 --- a/arch/arm/cpu/armv8/cache_v8.c
 +++ b/arch/arm/cpu/armv8/cache_v8.c
 @@ -15,6 +15,7 @@
@@ -38,7 +38,7 @@ index 3de18c7675..f6e0ad0075 100644
  
  DECLARE_GLOBAL_DATA_PTR;
  
-@@ -365,6 +366,91 @@ __weak u64 get_page_table_size(void)
+@@ -385,6 +386,91 @@ __weak u64 get_page_table_size(void)
  	return size;
  }
  
@@ -130,7 +130,7 @@ index 3de18c7675..f6e0ad0075 100644
  void setup_pgtables(void)
  {
  	int i;
-@@ -479,8 +565,13 @@ void dcache_enable(void)
+@@ -499,8 +585,13 @@ void dcache_enable(void)
  	/* The data cache is not active unless the mmu is enabled */
  	if (!(get_sctlr() & CR_M)) {
  		invalidate_dcache_all();
@@ -146,7 +146,7 @@ index 3de18c7675..f6e0ad0075 100644
  	}
  
  	set_sctlr(get_sctlr() | CR_C);
-@@ -499,7 +590,11 @@ void dcache_disable(void)
+@@ -519,7 +610,11 @@ void dcache_disable(void)
  	set_sctlr(sctlr & ~(CR_C|CR_M));
  
  	flush_dcache_all();
@@ -225,10 +225,10 @@ index 0000000000..8de627cafd
 +
 +#endif /* _ASM_ARMV8_MPU_H_ */
 diff --git a/arch/arm/include/asm/system.h b/arch/arm/include/asm/system.h
-index f75eea16b3..e4f5b4e4bc 100644
+index 87d1c77e8b..4510db98a2 100644
 --- a/arch/arm/include/asm/system.h
 +++ b/arch/arm/include/asm/system.h
-@@ -94,6 +94,25 @@
+@@ -95,6 +95,25 @@
  				               auth algorithm                 */
  #define ID_AA64ISAR1_EL1_APA	(0xF << 4)  /* QARMA address auth algorithm   */
  
meta-arm-bsp/recipes-bsp/u-boot/u-boot/fvp-baser-aemv8r64/0001-vexpress64-Add-BASER_FVP-vexpress-board-variant.patch deleted +0 -314

314 lines not on this page · raw message

meta-arm-bsp/recipes-bsp/u-boot/u-boot/fvp-baser-aemv8r64/0002-vexpress64-add-MPU-memory-map-for-the-BASER_FVP.patch new file +61 -0

61 lines not on this page · raw message

meta-arm-bsp/recipes-bsp/u-boot/u-boot/fvp-baser-aemv8r64/0003-armv8-Allow-disabling-exception-vectors-on-non-SPL-b.patch +11 -25
index 0dbaaa85..e6ccc174 100644
@@ -1,7 +1,7 @@
-From 2edfe3f7c44028fccdc8f8c71461e8c5a0b0b14e Mon Sep 17 00:00:00 2001
+From 61a2df4467c13bbc83bff8a3429e9ebb4b957b56 Mon Sep 17 00:00:00 2001
 From: Peter Hoyes <[email protected]>
 Date: Fri, 10 Dec 2021 11:41:19 +0000
-Subject: [PATCH 3/8] armv8: Allow disabling exception vectors on non-SPL
+Subject: [PATCH 3/9] armv8: Allow disabling exception vectors on non-SPL
  builds
 
 On the BASER_FVP, U-Boot shares EL2 with another bootloader, so we do
@@ -23,12 +23,11 @@ Change-Id: I0cf0fc6d7ef4d45791411cf1f67c65e198cc8b2b
  arch/arm/cpu/armv8/Kconfig        | 10 ++++++++--
  arch/arm/cpu/armv8/Makefile       |  6 ++----
  arch/arm/cpu/armv8/start.S        |  4 ++--
- arch/arm/mach-imx/imx8ulp/Kconfig |  2 +-
  configs/vexpress_aemv8r_defconfig |  1 +
- 5 files changed, 14 insertions(+), 9 deletions(-)
+ 4 files changed, 13 insertions(+), 8 deletions(-)
 
 diff --git a/arch/arm/cpu/armv8/Kconfig b/arch/arm/cpu/armv8/Kconfig
-index 9967376eca..6f9d0610e8 100644
+index 09f3f50fa2..031faa909c 100644
 --- a/arch/arm/cpu/armv8/Kconfig
 +++ b/arch/arm/cpu/armv8/Kconfig
 @@ -1,8 +1,8 @@
@@ -73,7 +72,7 @@ index 85fe0475c8..8b3f695835 100644
  endif
  obj-y	+= tlb.o
 diff --git a/arch/arm/cpu/armv8/start.S b/arch/arm/cpu/armv8/start.S
-index 91b00a46cc..d2fcae1e94 100644
+index 28f0df13f0..f831e77af3 100644
 --- a/arch/arm/cpu/armv8/start.S
 +++ b/arch/arm/cpu/armv8/start.S
 @@ -104,7 +104,7 @@ pie_skip_reloc:
@@ -85,7 +84,7 @@ index 91b00a46cc..d2fcae1e94 100644
  .macro	set_vbar, regname, reg
  	msr	\regname, \reg
  .endm
-@@ -350,7 +350,7 @@ ENDPROC(smp_kick_all_cpus)
+@@ -354,7 +354,7 @@ ENDPROC(smp_kick_all_cpus)
  /*-----------------------------------------------------------------------*/
  
  ENTRY(c_runtime_cpu_setup)
@@ -94,27 +93,14 @@ index 91b00a46cc..d2fcae1e94 100644
  	/* Relocate vBAR */
  	adr	x0, vectors
  	switch_el x1, 3f, 2f, 1f
-diff --git a/arch/arm/mach-imx/imx8ulp/Kconfig b/arch/arm/mach-imx/imx8ulp/Kconfig
-index 963fc93d34..6255711f12 100644
---- a/arch/arm/mach-imx/imx8ulp/Kconfig
-+++ b/arch/arm/mach-imx/imx8ulp/Kconfig
-@@ -2,7 +2,7 @@ if ARCH_IMX8ULP
- 
- config IMX8ULP
- 	bool
--	select ARMV8_SPL_EXCEPTION_VECTORS
-+	select SPL_ARMV8_EXCEPTION_VECTORS
- 
- config SYS_SOC
- 	default "imx8ulp"
 diff --git a/configs/vexpress_aemv8r_defconfig b/configs/vexpress_aemv8r_defconfig
-index 6fa7c979f6..402062cecf 100644
+index a1c5d88717..1d5b7411f0 100644
 --- a/configs/vexpress_aemv8r_defconfig
 +++ b/configs/vexpress_aemv8r_defconfig
-@@ -22,3 +22,4 @@ CONFIG_VIRTIO_MMIO=y
- CONFIG_VIRTIO_BLK=y
- CONFIG_VIRTIO_NET=y
- CONFIG_ARCH_FIXUP_FDT_MEMORY=n
+@@ -13,3 +13,4 @@ CONFIG_BOOTARGS="console=ttyAMA0 earlycon=pl011,0x9c090000 rootfstype=ext4 root=
+ CONFIG_SYS_PROMPT="VExpress64# "
+ # CONFIG_MMC is not set
+ CONFIG_VIRTIO_MMIO=y
 +CONFIG_ARMV8_EXCEPTION_VECTORS=n
 -- 
 2.25.1
meta-arm-bsp/recipes-bsp/u-boot/u-boot/fvp-baser-aemv8r64/0004-armv8-ARMV8_SWITCH_TO_EL1-improvements.patch +11 -24
index 6df655cd..84f6b4bb 100644
@@ -1,7 +1,7 @@
-From 02054cf03be7a8b657543cc7a0e2f4abadacbee1 Mon Sep 17 00:00:00 2001
+From dbc1a218e9837e39cd50dd3c19f603f29a08ddba Mon Sep 17 00:00:00 2001
 From: Peter Hoyes <[email protected]>
 Date: Wed, 14 Jul 2021 12:44:27 +0100
-Subject: [PATCH 4/8] armv8: ARMV8_SWITCH_TO_EL1 improvements
+Subject: [PATCH 4/9] armv8: ARMV8_SWITCH_TO_EL1 improvements
 
 Convert CONFIG_ARMV8_SWITCH_TO_EL1 to a Kconfig variable.
 
@@ -21,16 +21,15 @@ Change-Id: If98478148d6d8d1f732acac5439276700614815f
  arch/arm/cpu/armv8/exception_level.c | 21 ++++++++++++++--
  arch/arm/lib/bootm.c                 | 36 ++++++++++++++++------------
  configs/vexpress_aemv8r_defconfig    |  1 +
- scripts/config_whitelist.txt         |  1 -
- 5 files changed, 49 insertions(+), 18 deletions(-)
+ 4 files changed, 49 insertions(+), 17 deletions(-)
 
 diff --git a/arch/arm/cpu/armv8/Kconfig b/arch/arm/cpu/armv8/Kconfig
-index 6f9d0610e8..b50ce60097 100644
+index 031faa909c..110adf63b3 100644
 --- a/arch/arm/cpu/armv8/Kconfig
 +++ b/arch/arm/cpu/armv8/Kconfig
-@@ -177,4 +177,12 @@ config ARMV8_SECURE_BASE
- 
- endif
+@@ -191,4 +191,12 @@ config ARMV8_EA_EL3_FIRST
+ 	  Exception handling at all exception levels for External Abort and
+ 	  SError interrupt exception are taken in EL3.
  
 +config ARMV8_SWITCH_TO_EL1
 +	bool "Switch to EL1 before booting the operating system"
@@ -148,26 +147,14 @@ index a59a5e6c0e..e2cf2e6ec4 100644
  #else
  	unsigned long machid = gd->bd->bi_arch_number;
 diff --git a/configs/vexpress_aemv8r_defconfig b/configs/vexpress_aemv8r_defconfig
-index 402062cecf..dff1836da2 100644
+index 1d5b7411f0..35e5e8a5e1 100644
 --- a/configs/vexpress_aemv8r_defconfig
 +++ b/configs/vexpress_aemv8r_defconfig
-@@ -23,3 +23,4 @@ CONFIG_VIRTIO_BLK=y
- CONFIG_VIRTIO_NET=y
- CONFIG_ARCH_FIXUP_FDT_MEMORY=n
+@@ -14,3 +14,4 @@ CONFIG_SYS_PROMPT="VExpress64# "
+ # CONFIG_MMC is not set
+ CONFIG_VIRTIO_MMIO=y
  CONFIG_ARMV8_EXCEPTION_VECTORS=n
 +CONFIG_ARMV8_SWITCH_TO_EL1=y
-diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
-index a6bc234f51..a0dd5074aa 100644
---- a/scripts/config_whitelist.txt
-+++ b/scripts/config_whitelist.txt
-@@ -7,7 +7,6 @@ CONFIG_AM335X_USB1_MODE
- CONFIG_ARMV7_SECURE_BASE
- CONFIG_ARMV7_SECURE_MAX_SIZE
- CONFIG_ARMV7_SECURE_RESERVE_SIZE
--CONFIG_ARMV8_SWITCH_TO_EL1
- CONFIG_ARM_GIC_BASE_ADDRESS
- CONFIG_ARP_TIMEOUT
- CONFIG_AT91SAM9260EK
 -- 
 2.25.1
 
meta-arm-bsp/recipes-bsp/u-boot/u-boot/fvp-baser-aemv8r64/0005-armv8-Make-disabling-HVC-configurable-when-switching.patch +10 -10
index bf88cba6..b5460268 100644
@@ -1,7 +1,7 @@
-From 995a9daf6fd1e6375d2492cb821d24481141731b Mon Sep 17 00:00:00 2001
+From f75060be04aaed4bb5a07cb40361d694b3775f4a Mon Sep 17 00:00:00 2001
 From: Peter Hoyes <[email protected]>
 Date: Fri, 10 Dec 2021 16:37:26 +0000
-Subject: [PATCH 5/8] armv8: Make disabling HVC configurable when switching to
+Subject: [PATCH 5/9] armv8: Make disabling HVC configurable when switching to
  EL1
 
 On the BASER_FVP there is no EL3, so HVC is used to provide PSCI
@@ -22,10 +22,10 @@ Change-Id: I463d82f1db8a3cafcab40a9c0c208753569cc300
  3 files changed, 18 insertions(+), 2 deletions(-)
 
 diff --git a/arch/arm/cpu/armv8/Kconfig b/arch/arm/cpu/armv8/Kconfig
-index b50ce60097..90e28f4e36 100644
+index 110adf63b3..a821e219d8 100644
 --- a/arch/arm/cpu/armv8/Kconfig
 +++ b/arch/arm/cpu/armv8/Kconfig
-@@ -185,4 +185,13 @@ config ARMV8_SWITCH_TO_EL1
+@@ -199,4 +199,13 @@ config ARMV8_SWITCH_TO_EL1
  	  operating system does not support booting at EL2, or you wish to prevent
  	  any hypervisors from running. Supported for bootm, booti and bootefi.
  
@@ -40,10 +40,10 @@ index b50ce60097..90e28f4e36 100644
 +
  endif
 diff --git a/arch/arm/include/asm/macro.h b/arch/arm/include/asm/macro.h
-index ec0171e0e6..6d267cbae2 100644
+index 1a1edc9870..7167739210 100644
 --- a/arch/arm/include/asm/macro.h
 +++ b/arch/arm/include/asm/macro.h
-@@ -311,9 +311,12 @@ lr	.req	x30
+@@ -296,9 +296,12 @@ lr	.req	x30
  	ldr	\tmp2, =(ID_AA64ISAR1_EL1_GPI | ID_AA64ISAR1_EL1_GPA | \
  		      ID_AA64ISAR1_EL1_API | ID_AA64ISAR1_EL1_APA)
  	tst	\tmp, \tmp2
@@ -57,7 +57,7 @@ index ec0171e0e6..6d267cbae2 100644
  	msr	hcr_el2, \tmp
  
  	/* Return to the EL1_SP1 mode from EL2 */
-@@ -326,7 +329,10 @@ lr	.req	x30
+@@ -311,7 +314,10 @@ lr	.req	x30
  
  1:
  	/* Initialize HCR_EL2 */
@@ -70,11 +70,11 @@ index ec0171e0e6..6d267cbae2 100644
  
  	/* Return to AArch32 Supervisor mode from EL2 */
 diff --git a/configs/vexpress_aemv8r_defconfig b/configs/vexpress_aemv8r_defconfig
-index dff1836da2..a1522c48b5 100644
+index 35e5e8a5e1..605a724a61 100644
 --- a/configs/vexpress_aemv8r_defconfig
 +++ b/configs/vexpress_aemv8r_defconfig
-@@ -24,3 +24,4 @@ CONFIG_VIRTIO_NET=y
- CONFIG_ARCH_FIXUP_FDT_MEMORY=n
+@@ -15,3 +15,4 @@ CONFIG_SYS_PROMPT="VExpress64# "
+ CONFIG_VIRTIO_MMIO=y
  CONFIG_ARMV8_EXCEPTION_VECTORS=n
  CONFIG_ARMV8_SWITCH_TO_EL1=y
 +CONFIG_ARMV8_DISABLE_HVC=n
meta-arm-bsp/recipes-bsp/u-boot/u-boot/fvp-baser-aemv8r64/0006-vexpress64-Do-not-set-COUNTER_FREQUENCY.patch +17 -22
index 639d389b..ca99d0e6 100644
@@ -1,7 +1,7 @@
-From d7c03f8d297faa641e267c69e83e3582a524af50 Mon Sep 17 00:00:00 2001
-From: Peter Hoyes <[email protected]>
-Date: Fri, 10 Dec 2021 15:09:09 +0000
-Subject: [PATCH 6/8] vexpress64: Do not set COUNTER_FREQUENCY
+From db7d4cc91ae19d0cbd05c0ff1b9bf6a55ac0d04a Mon Sep 17 00:00:00 2001
+From: Qi Feng <[email protected]>
+Date: Thu, 28 Jul 2022 17:47:18 +0800
+Subject: [PATCH 6/9] vexpress64: Do not set COUNTER_FREQUENCY
 
 VExpress boards normally run as a second-stage bootloader so should not
 need to modify CNTFRQ_EL0. On the BASER_FVP, U-Boot can modify it if
@@ -9,29 +9,24 @@ running at EL2, but shouldn't because it might be different from the
 value being used by the first-stage bootloader (which might be
 providing PSCI services).
 
-Issue-Id: SCM-3728
 Upstream-Status: Inappropriate [other]
   Implementation pending further discussion
 Signed-off-by: Peter Hoyes <[email protected]>
-Change-Id: I137473d721e58e4c348b9641f5b9778178d3bb65
+Signed-off-by: Qi Feng <[email protected]>
 ---
- include/configs/vexpress_aemv8.h | 3 ---
- 1 file changed, 3 deletions(-)
+ configs/vexpress_aemv8r_defconfig | 1 -
+ 1 file changed, 1 deletion(-)
 
-diff --git a/include/configs/vexpress_aemv8.h b/include/configs/vexpress_aemv8.h
-index 8050f42f8b..dbf6f04230 100644
---- a/include/configs/vexpress_aemv8.h
-+++ b/include/configs/vexpress_aemv8.h
-@@ -73,9 +73,6 @@
- #define V2M_SYS_CFGCTRL			(V2M_SYSREGS + 0x0a4)
- #define V2M_SYS_CFGSTAT			(V2M_SYSREGS + 0x0a8)
- 
--/* Generic Timer Definitions */
--#define COUNTER_FREQUENCY		24000000	/* 24MHz */
--
- /* Generic Interrupt Controller Definitions */
- #ifdef CONFIG_GICV3
- #define GICD_BASE			(V2M_PA_BASE + 0x2f000000)
+diff --git a/configs/vexpress_aemv8r_defconfig b/configs/vexpress_aemv8r_defconfig
+index 605a724a61..153fa14efc 100644
+--- a/configs/vexpress_aemv8r_defconfig
++++ b/configs/vexpress_aemv8r_defconfig
+@@ -1,5 +1,4 @@
+ CONFIG_ARM=y
+-CONFIG_COUNTER_FREQUENCY=24000000
+ CONFIG_ARCH_VEXPRESS64=y
+ CONFIG_NR_DRAM_BANKS=2
+ CONFIG_DEFAULT_DEVICE_TREE="arm_fvp"
 -- 
 2.25.1
 
meta-arm-bsp/recipes-bsp/u-boot/u-boot/fvp-baser-aemv8r64/0007-vexpress64-Configure-memory-using-device-tree.patch deleted +0 -88

88 lines not on this page · raw message

meta-arm-bsp/recipes-bsp/u-boot/u-boot/fvp-baser-aemv8r64/0007-vexpress64-Enable-LIBFDT_OVERLAY-in-the-vexpress_aem.patch renamed from meta-arm-bsp/recipes-bsp/u-boot/u-boot/fvp-baser-aemv8r64/0008-vexpress64-Enable-LIBFDT_OVERLAY-in-the-vexpress_aem.patch +4 -4
similarity index 76%
rename from meta-arm-bsp/recipes-bsp/u-boot/u-boot/fvp-baser-aemv8r64/0008-vexpress64-Enable-LIBFDT_OVERLAY-in-the-vexpress_aem.patch
rename to meta-arm-bsp/recipes-bsp/u-boot/u-boot/fvp-baser-aemv8r64/0007-vexpress64-Enable-LIBFDT_OVERLAY-in-the-vexpress_aem.patch
index dbc3332f..467fb406 100644
@@ -1,7 +1,7 @@
-From 6a97b1bcb49f87c9495311e657b90ef6b73ce6c5 Mon Sep 17 00:00:00 2001
+From f4986ed954ffad36abfa27db5520e702cba2531e Mon Sep 17 00:00:00 2001
 From: Peter Hoyes <[email protected]>
 Date: Tue, 22 Feb 2022 15:32:51 +0000
-Subject: [PATCH 8/8] vexpress64: Enable LIBFDT_OVERLAY in the vexpress_aemv8r
+Subject: [PATCH 7/9] vexpress64: Enable LIBFDT_OVERLAY in the vexpress_aemv8r
  defconfig
 
 Issue-Id: SCM-3874
@@ -14,10 +14,10 @@ Change-Id: Ide0532cf2de89f1bca9c8d4bd2ed0c1a1c57599f
  1 file changed, 1 insertion(+)
 
 diff --git a/configs/vexpress_aemv8r_defconfig b/configs/vexpress_aemv8r_defconfig
-index a1522c48b5..98b0f5ad53 100644
+index 153fa14efc..94651768b3 100644
 --- a/configs/vexpress_aemv8r_defconfig
 +++ b/configs/vexpress_aemv8r_defconfig
-@@ -25,3 +25,4 @@ CONFIG_ARCH_FIXUP_FDT_MEMORY=n
+@@ -15,3 +15,4 @@ CONFIG_VIRTIO_MMIO=y
  CONFIG_ARMV8_EXCEPTION_VECTORS=n
  CONFIG_ARMV8_SWITCH_TO_EL1=y
  CONFIG_ARMV8_DISABLE_HVC=n
meta-arm-bsp/recipes-bsp/u-boot/u-boot/fvp-baser-aemv8r64/0008-armv8-Allow-PRBAR-MPU-attributes-to-be-configured.patch renamed from meta-arm-bsp/recipes-bsp/u-boot/u-boot/fvp-baser-aemv8r64/0009-armv8-Allow-PRBAR-MPU-attributes-to-be-configured.patch +28 -28

83 lines not on this page · raw message

meta-arm-bsp/recipes-bsp/u-boot/u-boot/fvp-baser-aemv8r64/0009-armv8-Enable-icache-when-switching-exception-levels-.patch renamed from meta-arm-bsp/recipes-bsp/u-boot/u-boot/fvp-baser-aemv8r64/0010-armv8-Enable-icache-when-switching-exception-levels-.patch +2 -2
similarity index 94%
rename from meta-arm-bsp/recipes-bsp/u-boot/u-boot/fvp-baser-aemv8r64/0010-armv8-Enable-icache-when-switching-exception-levels-.patch
rename to meta-arm-bsp/recipes-bsp/u-boot/u-boot/fvp-baser-aemv8r64/0009-armv8-Enable-icache-when-switching-exception-levels-.patch
index 6264cc0f..0e0a2481 100644
@@ -1,7 +1,7 @@
-From a5790fe98179b2490500cde629f7a48fbbe341df Mon Sep 17 00:00:00 2001
+From 0f15f6b02825b042ddc1d753f62cf87f30b1fe12 Mon Sep 17 00:00:00 2001
 From: Peter Hoyes <[email protected]>
 Date: Thu, 19 May 2022 09:02:32 +0100
-Subject: [PATCH 2/2] armv8: Enable icache when switching exception levels in
+Subject: [PATCH 9/9] armv8: Enable icache when switching exception levels in
  bootefi
 
 bootefi calls the function switch_to_non_secure_mode before calling the
meta-arm-bsp/recipes-bsp/u-boot/u-boot_%.bbappend +5 -6
index d4a7a8ac..e254d41b 100644
@@ -63,16 +63,15 @@ SRC_URI:append:fvp-base-arm32 = " file://0001-Add-vexpress_aemv8a_aarch32-varian
 # FVP BASER
 #
 SRC_URI:append:fvp-baser-aemv8r64 = " \
-    file://0001-vexpress64-Add-BASER_FVP-vexpress-board-variant.patch \
-    file://0002-armv8-Add-ARMv8-MPU-configuration-logic.patch \
+    file://0001-armv8-Add-ARMv8-MPU-configuration-logic.patch \
+    file://0002-vexpress64-add-MPU-memory-map-for-the-BASER_FVP.patch \
     file://0003-armv8-Allow-disabling-exception-vectors-on-non-SPL-b.patch \
     file://0004-armv8-ARMV8_SWITCH_TO_EL1-improvements.patch \
     file://0005-armv8-Make-disabling-HVC-configurable-when-switching.patch \
     file://0006-vexpress64-Do-not-set-COUNTER_FREQUENCY.patch \
-    file://0007-vexpress64-Configure-memory-using-device-tree.patch \
-    file://0008-vexpress64-Enable-LIBFDT_OVERLAY-in-the-vexpress_aem.patch \
-    file://0009-armv8-Allow-PRBAR-MPU-attributes-to-be-configured.patch \
-    file://0010-armv8-Enable-icache-when-switching-exception-levels-.patch \
+    file://0007-vexpress64-Enable-LIBFDT_OVERLAY-in-the-vexpress_aem.patch \
+    file://0008-armv8-Allow-PRBAR-MPU-attributes-to-be-configured.patch \
+    file://0009-armv8-Enable-icache-when-switching-exception-levels-.patch \
     "
 
 
Signature · 1 line
2.25.1
Applied
#1 lore raw
Quoted 8 lines · Qi Feng

- 0001-vexpress64-Add-BASER_FVP-vexpress-board-variant.patch

Change to 0002-vexpress64-add-MPU-memory-map-for-the-BASER_FVP.patch. Only MPU memory map is preserved, other parts have been upstreamed.

- 0007-vexpress64-Configure-memory-using-device-tree.patch

[...]

Applied, thanks!

[1/1] arm-bsp/fvp-baser-aemv8r64: Rebase u-boot patches onto v2022.07

      commit: bac180f7a8b202ae5f8238e6430cb5ddec5d1338

Best regards,

Signature · 1 line
Jon Mason <[email protected]>