mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-06-03 01:40:20 +00:00
arm-bsp/u-boot: TC: Upgrade to 2022.01 and add patch for secure DRAM size
- Upgrade U-boot to 2022.01 - Remove 8GB DRAM increase patch that is merged - Add patch that update secure DRAM size Signed-off-by: Arunachalam Ganapathy <arunachalam.ganapathy@arm.com> Change-Id: I32735cb5e8cba67ac1c6082aadf9a55f7bf51e8a Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
committed by
Jon Mason
parent
c9bb1eab44
commit
55d4a414e7
@@ -6,7 +6,7 @@ MACHINEOVERRIDES =. "tc:"
|
|||||||
|
|
||||||
# Das U-boot
|
# Das U-boot
|
||||||
UBOOT_MACHINE ?= "total_compute_defconfig"
|
UBOOT_MACHINE ?= "total_compute_defconfig"
|
||||||
PREFERRED_VERSION_u-boot ?= "2021.10"
|
PREFERRED_VERSION_u-boot ?= "2022.01"
|
||||||
UBOOT_RD_LOADADDRESS = "0x88000000"
|
UBOOT_RD_LOADADDRESS = "0x88000000"
|
||||||
UBOOT_RD_ENTRYPOINT = "0x88000000"
|
UBOOT_RD_ENTRYPOINT = "0x88000000"
|
||||||
UBOOT_LOADADDRESS = "0x80080000"
|
UBOOT_LOADADDRESS = "0x80080000"
|
||||||
|
|||||||
-47
@@ -1,47 +0,0 @@
|
|||||||
From bdb7de7cdef6ece51dfcee927d3ce0c97fc431f0 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Usama Arif <usama.arif@arm.com>
|
|
||||||
Date: Tue, 12 Oct 2021 13:43:16 +0100
|
|
||||||
Subject: [PATCH] arm: total_compute: increase DRAM to 8GB
|
|
||||||
|
|
||||||
The extra 6GB start at 0x8080000000.
|
|
||||||
|
|
||||||
Signed-off-by: Usama Arif <usama.arif@arm.com>
|
|
||||||
|
|
||||||
Upstream-Status: Backport [https://github.com/u-boot/u-boot/commit/b20b16a794b073807ef8d6840772a92788b3e226]
|
|
||||||
Signed-off-by: Arunachalam Ganapathy <arunachalam.ganapathy@arm.com>
|
|
||||||
---
|
|
||||||
board/armltd/total_compute/total_compute.c | 3 +++
|
|
||||||
include/configs/total_compute.h | 3 +++
|
|
||||||
2 files changed, 6 insertions(+)
|
|
||||||
|
|
||||||
diff --git a/board/armltd/total_compute/total_compute.c b/board/armltd/total_compute/total_compute.c
|
|
||||||
index b7eaab0851..b7772f79a3 100644
|
|
||||||
--- a/board/armltd/total_compute/total_compute.c
|
|
||||||
+++ b/board/armltd/total_compute/total_compute.c
|
|
||||||
@@ -59,6 +59,9 @@ int dram_init_banksize(void)
|
|
||||||
gd->bd->bi_dram[0].start = PHYS_SDRAM_1;
|
|
||||||
gd->bd->bi_dram[0].size = PHYS_SDRAM_1_SIZE;
|
|
||||||
|
|
||||||
+ gd->bd->bi_dram[1].start = PHYS_SDRAM_2;
|
|
||||||
+ gd->bd->bi_dram[1].size = PHYS_SDRAM_2_SIZE;
|
|
||||||
+
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
diff --git a/include/configs/total_compute.h b/include/configs/total_compute.h
|
|
||||||
index cc93f1930a..283268607a 100644
|
|
||||||
--- a/include/configs/total_compute.h
|
|
||||||
+++ b/include/configs/total_compute.h
|
|
||||||
@@ -34,6 +34,9 @@
|
|
||||||
#define PHYS_SDRAM_1_SIZE 0x80000000 - DRAM_SEC_SIZE
|
|
||||||
#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1
|
|
||||||
|
|
||||||
+#define PHYS_SDRAM_2 0x8080000000
|
|
||||||
+#define PHYS_SDRAM_2_SIZE 0x180000000
|
|
||||||
+
|
|
||||||
#define CONFIG_ARM_PL180_MMCI_BASE 0x001c050000
|
|
||||||
#define CONFIG_SYS_MMC_MAX_BLK_COUNT 127
|
|
||||||
#define CONFIG_ARM_PL180_MMCI_CLOCK_FREQ 12000000
|
|
||||||
--
|
|
||||||
2.30.2
|
|
||||||
|
|
||||||
+33
@@ -0,0 +1,33 @@
|
|||||||
|
From 5f10bd9b64c745084292a7094af2e4c3d14c1ac5 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Arunachalam Ganapathy <arunachalam.ganapathy@arm.com>
|
||||||
|
Date: Tue, 12 Apr 2022 12:43:49 +0100
|
||||||
|
Subject: [PATCH 1/3] arm: total_compute: update secure dram size
|
||||||
|
|
||||||
|
Update secure DRAM size as it is increased by 64MB for additional
|
||||||
|
secure partitions.
|
||||||
|
|
||||||
|
Signed-off-by: Arunachalam Ganapathy <arunachalam.ganapathy@arm.com>
|
||||||
|
Change-Id: Id8ce99c7a5330d3c28d473009c4db04141e6fa4d
|
||||||
|
Upstream-Status: Pending [Not submitted to upstream yet]
|
||||||
|
---
|
||||||
|
include/configs/total_compute.h | 4 ++--
|
||||||
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/include/configs/total_compute.h b/include/configs/total_compute.h
|
||||||
|
index 933a145f99..66de8ae239 100644
|
||||||
|
--- a/include/configs/total_compute.h
|
||||||
|
+++ b/include/configs/total_compute.h
|
||||||
|
@@ -25,8 +25,8 @@
|
||||||
|
|
||||||
|
/* Physical Memory Map */
|
||||||
|
#define PHYS_SDRAM_1 0x80000000
|
||||||
|
-/* Top 48MB reserved for secure world use */
|
||||||
|
-#define DRAM_SEC_SIZE 0x03000000
|
||||||
|
+/* Top 112MB reserved for secure world use */
|
||||||
|
+#define DRAM_SEC_SIZE 0x07000000
|
||||||
|
#define PHYS_SDRAM_1_SIZE 0x80000000 - DRAM_SEC_SIZE
|
||||||
|
#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1
|
||||||
|
|
||||||
|
--
|
||||||
|
2.30.2
|
||||||
|
|
||||||
@@ -80,5 +80,5 @@ SRC_URI:append:fvp-baser-aemv8r64 = " \
|
|||||||
#
|
#
|
||||||
SRC_URI:append:tc = " \
|
SRC_URI:append:tc = " \
|
||||||
file://bootargs.cfg \
|
file://bootargs.cfg \
|
||||||
file://0001-arm-total_compute-increase-DRAM-to-8GB.patch \
|
file://0001-arm-total_compute-update-secure-dram-size.patch \
|
||||||
"
|
"
|
||||||
|
|||||||
Reference in New Issue
Block a user