Skip to contentSkip to conversation

arm: dts: k3-j721e-sk-u-boot: fix boot on j721e SK

PATCH In review Anand Gadiyar 2 participants 2 messages Apr 3, 2023 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: dts: k3-j721e-sk-u-boot: fix boot on j721e SK

From: Sinthu Raja <[email protected]>

J721e SK has been broken since at least March 2022.

The main-navss and mcu-navss nodes were renamed and this caused the A72 SPL to fail early in the boot even before the serial port was enabled. Fix this.

A later patch series between v2022.07 and v2022.10 additionally broke boot on this board by introducing hbmc nodes which are not present on this board. The right fix is to disable these by default in the SOC dtsi file, but for now we can also disable them in the u-boot dtsi.

With both these fixed, we can now boot the j721e SK board fully from mainline u-boot.

Fixes 58d61fb5a77ef ("arm: dts: k3-j721e-sk: Add initial A72 specific dts support")
Fixes 297daac43afb9 ("arm: dts: k3-j721e-mcu-wakeup: Add HyperBus Controller node")
[[email protected]: update commit description]
Cc Bryan Brattlof <[email protected]>

---
Hi Tom, we'd really love to see this make it to 2023.04 - Bryan and I spent a whole week narrowing it down, and this gets the board working again. Thanks!

- Anand and Bryan and Sinthu

 arch/arm/dts/k3-j721e-sk-u-boot.dtsi | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
arch/arm/dts/k3-j721e-sk-u-boot.dtsi +6 -2
index 2d65e2db42..f529e7032a 100644
@@ -33,7 +33,7 @@
 &cbass_main{
 	u-boot,dm-spl;
 
-	main_navss {
+	main_navss: bus@30000000 {
 		u-boot,dm-spl;
 	};
 };
@@ -49,7 +49,7 @@
 		u-boot,dm-spl;
 	};
 
-	mcu-navss {
+	mcu_navss: bus@28380000 {
 		u-boot,dm-spl;
 
 		ringacc@2b800000 {
@@ -237,6 +237,10 @@
 	u-boot,dm-spl;
 };
 
+&hbmc {
+	status = "disabled";
+};
+
 &ospi0 {
 	u-boot,dm-spl;
 
Signature · 1 line
2.34.1
#1 lore raw
Quoted 16 lines · Anand Gadiyar

From: Sinthu Raja <[email protected]>

J721e SK has been broken since at least March 2022.

The main-navss and mcu-navss nodes were renamed and this caused the A72 SPL to fail early in the boot even before the serial port was enabled. Fix this.

A later patch series between v2022.07 and v2022.10 additionally broke boot on this board by introducing hbmc nodes which are not present on this board. The right fix is to disable these by default in the SOC dtsi file, but for now we can also disable them in the u-boot dtsi.

With both these fixed, we can now boot the j721e SK board fully from mainline u-boot.

Quoted 7 lines
Fixes 58d61fb5a77ef ("arm: dts: k3-j721e-sk: Add initial A72 specific dts support")
Fixes 297daac43afb9 ("arm: dts: k3-j721e-mcu-wakeup: Add HyperBus Controller node")
[[email protected]: update commit description]
Cc Bryan Brattlof <[email protected]>

Applied to u-boot/master, thanks!

Signature · 1 line
Tom