|
@@ -1,47 +1,50 @@
|
|
|
-From: Michal Simek <michal.simek@amd.com>
|
|
|
-Date: Mon, 15 Jul 2024 08:24:57 +0200
|
|
|
-Subject: [PATCH] arm64: versal: Fix vek280 memory configuration
|
|
|
+From e79a96ff89b11fea03680633ab830894288ee9f0 Mon Sep 17 00:00:00 2001
|
|
|
+From: Neal Frager <neal.frager@amd.com>
|
|
|
+Date: Thu, 28 Nov 2024 07:50:28 +0000
|
|
|
+Subject: [PATCH] arm64: versal: vek280 prebuilt pdi is incorrect
|
|
|
|
|
|
-Board has 12GB total but Vivado wizard supports one channel LPDDR4 4GB
|
|
|
-configuration (2GB low + 2GB high) or two channel LPDDR 8GB configuration
|
|
|
-(2GB low + 6GB high). Wiring the remaining 4GB LPDDR can be done via board
|
|
|
-tab but not available as option in wizard. That's why only describe 8GB by
|
|
|
-default.
|
|
|
+The prebuilt vpl_gen_fixed.pdi for the vek280 is incorrect and does not define
|
|
|
+the DDR memory region for address 0x8 0000 0000 - 0x8 8000 0000. For this
|
|
|
+reason, the intree Linux dts memory node for the vek280 will not boot.
|
|
|
+
|
|
|
+This patch works around the issue until the prebuilt pdi file is changed.
|
|
|
+
|
|
|
+https://github.com/Xilinx/soc-prebuilt-firmware/blob/xilinx_v2024.2/vek280-versal/vpl_gen_fixed.pdi
|
|
|
+
|
|
|
+Upstream: n/a
|
|
|
|
|
|
-Signed-off-by: Michal Simek <michal.simek@amd.com>
|
|
|
Signed-off-by: Neal Frager <neal.frager@amd.com>
|
|
|
-Upstream: https://github.com/Xilinx/linux-xlnx/commit/3c7a97d99bdb3dd6b1f36d7d87d3a3c113dfe2ea
|
|
|
---
|
|
|
arch/arm64/boot/dts/xilinx/versal-vek280-revA.dts | 2 +-
|
|
|
arch/arm64/boot/dts/xilinx/versal-vek280-revB.dts | 2 +-
|
|
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
|
|
diff --git a/arch/arm64/boot/dts/xilinx/versal-vek280-revA.dts b/arch/arm64/boot/dts/xilinx/versal-vek280-revA.dts
|
|
|
-index 1641dc0b5141..ad5d590318e6 100644
|
|
|
+index ad5d590318e6..a306eacca5b3 100644
|
|
|
--- a/arch/arm64/boot/dts/xilinx/versal-vek280-revA.dts
|
|
|
+++ b/arch/arm64/boot/dts/xilinx/versal-vek280-revA.dts
|
|
|
@@ -19,7 +19,7 @@ / {
|
|
|
|
|
|
memory: memory@0 {
|
|
|
device_type = "memory";
|
|
|
-- reg = <0 0 0 0x80000000>, <0x8 0x0 0x7 0x80000000>; /* 32GB */
|
|
|
+- reg = <0 0 0 0x80000000>, <0x8 0x0 0x1 0x80000000>; /* 2GB + 6GB */
|
|
|
+ reg = <0 0 0 0x80000000>, <0x8 0x80000000 0x1 0x80000000>; /* 2GB + 6GB */
|
|
|
};
|
|
|
|
|
|
chosen {
|
|
|
diff --git a/arch/arm64/boot/dts/xilinx/versal-vek280-revB.dts b/arch/arm64/boot/dts/xilinx/versal-vek280-revB.dts
|
|
|
-index fda47cd87b3a..80aae8fa4b11 100644
|
|
|
+index a5ee80a373e2..ba54a5ef0c73 100644
|
|
|
--- a/arch/arm64/boot/dts/xilinx/versal-vek280-revB.dts
|
|
|
+++ b/arch/arm64/boot/dts/xilinx/versal-vek280-revB.dts
|
|
|
@@ -19,7 +19,7 @@ / {
|
|
|
|
|
|
memory: memory@0 {
|
|
|
device_type = "memory";
|
|
|
-- reg = <0 0 0 0x80000000>, <0x8 0x0 0x7 0x80000000>; /* 32GB */
|
|
|
+- reg = <0 0 0 0x80000000>, <0x8 0x00000000 0x1 0x80000000>; /* 2GB + 6GB */
|
|
|
+ reg = <0 0 0 0x80000000>, <0x8 0x80000000 0x1 0x80000000>; /* 2GB + 6GB */
|
|
|
};
|
|
|
|
|
|
chosen {
|
|
|
--
|
|
|
-2.43.0
|
|
|
+2.25.1
|
|
|
|