After switching our boards to standard boot, we observed that the
kernel hangs when booting with the "script" boot method over the
network.

The original scriptaddr value was copied from ti_common.env and
remained unused for some time. On phycore-am62x and phycore-am62ax,
however, this address conflicts with the current location where
ATF is loaded (CONFIG_K3_ATF_LOAD_ADDR).

Move scriptaddr to 0x89100000, directly after fdtoverlay_addr_r.
The phycore-am64x is not affected by this issue, but we update it
as well to keep all phycore-am6xx boards consistent.

Signed-off-by: Wadim Egorov <w.ego...@phytec.de>
---
 board/phytec/phycore_am62ax/phycore_am62ax.env | 2 +-
 board/phytec/phycore_am62x/phycore_am62x.env   | 2 +-
 board/phytec/phycore_am64x/phycore_am64x.env   | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/board/phytec/phycore_am62ax/phycore_am62ax.env 
b/board/phytec/phycore_am62ax/phycore_am62ax.env
index ff4ab8c87b8..47e90f1b7c6 100644
--- a/board/phytec/phycore_am62ax/phycore_am62ax.env
+++ b/board/phytec/phycore_am62ax/phycore_am62ax.env
@@ -5,7 +5,7 @@
 
 fdtaddr=0x88000000
 loadaddr=0x82000000
-scriptaddr=0x80000000
+scriptaddr=0x89100000
 fdt_addr_r=0x88000000
 kernel_addr_r=0x82000000
 ramdisk_addr_r=0x88080000
diff --git a/board/phytec/phycore_am62x/phycore_am62x.env 
b/board/phytec/phycore_am62x/phycore_am62x.env
index ff4ab8c87b8..47e90f1b7c6 100644
--- a/board/phytec/phycore_am62x/phycore_am62x.env
+++ b/board/phytec/phycore_am62x/phycore_am62x.env
@@ -5,7 +5,7 @@
 
 fdtaddr=0x88000000
 loadaddr=0x82000000
-scriptaddr=0x80000000
+scriptaddr=0x89100000
 fdt_addr_r=0x88000000
 kernel_addr_r=0x82000000
 ramdisk_addr_r=0x88080000
diff --git a/board/phytec/phycore_am64x/phycore_am64x.env 
b/board/phytec/phycore_am64x/phycore_am64x.env
index cbaf45b3ace..f4136ed237d 100644
--- a/board/phytec/phycore_am64x/phycore_am64x.env
+++ b/board/phytec/phycore_am64x/phycore_am64x.env
@@ -4,7 +4,7 @@
 
 fdtaddr=0x88000000
 loadaddr=0x82000000
-scriptaddr=0x80000000
+scriptaddr=0x89100000
 fdt_addr_r=0x88000000
 kernel_addr_r=0x82000000
 ramdisk_addr_r=0x88080000
-- 
2.48.1

Reply via email to