Skip to contentSkip to conversation

ARM: dts: imx6qdl-sabresd: Fix barebox-environment location

PATCH Superseded Fabio Estevam 1 participant 1 message Apr 23, 2016

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH 1/1 ARM: dts: imx6qdl-sabresd: Fix barebox-environment location

From: Fabio Estevam <[email protected]>

After doing a 'saveenv' command, it is no longer possible to boot.

The reason is that the 'barebox-environment' overwrites the barebox binary.

Fix this problem by placing the environment into a proper SD card location, such as 0xc0000.

---
 arch/arm/dts/imx6qdl-sabresd.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/dts/imx6qdl-sabresd.dtsi +2 -2
index 32318cf..29dc4d4 100644
@@ -34,8 +34,8 @@
 		reg = <0x0 0x80000>;
 	};
 
-	environment_usdhc3: partition@1 {
+	environment_usdhc3: partition@c0000 {
 		label = "barebox-environment";
-		reg = <0x80000 0x80000>;
+		reg = <0xc0000 0x80000>;
 	};
 };
Signature · 7 lines
1.9.1


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox