mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: imx6qdl-sabresd: Fix barebox-environment location
@ 2016-04-23 22:50 Fabio Estevam
  0 siblings, 0 replies; only message in thread
From: Fabio Estevam @ 2016-04-23 22:50 UTC (permalink / raw)
  To: s.hauer; +Cc: Fabio Estevam, barebox

From: Fabio Estevam <fabio.estevam@nxp.com>

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.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
---
 arch/arm/dts/imx6qdl-sabresd.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/dts/imx6qdl-sabresd.dtsi b/arch/arm/dts/imx6qdl-sabresd.dtsi
index 32318cf..29dc4d4 100644
--- a/arch/arm/dts/imx6qdl-sabresd.dtsi
+++ b/arch/arm/dts/imx6qdl-sabresd.dtsi
@@ -34,8 +34,8 @@
 		reg = <0x0 0x80000>;
 	};
 
-	environment_usdhc3: partition@1 {
+	environment_usdhc3: partition@c0000 {
 		label = "barebox-environment";
-		reg = <0x80000 0x80000>;
+		reg = <0xc0000 0x80000>;
 	};
 };
-- 
1.9.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-04-23 22:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-23 22:50 [PATCH] ARM: dts: imx6qdl-sabresd: Fix barebox-environment location Fabio Estevam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox