From 3fb70de496b32592a5896ffb7aa77a6cc82202e1 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Mon, 25 Apr 2016 08:05:29 +0200 Subject: ARM: i.MX: increase barebox partition sizes After doing a 'saveenv' command, it is no longer possible to boot. The reason for this behaviour is that the 'barebox' partition has currently a size of 0x80000 (512 kB), which is not sufficient to store the barebox binary. This causes the 'barebox' and 'barebox-environment' partitions to overlap. Fix this problem by increasing the size of the 'barebox' partition and by placing the 'barebox-environment' right after it. This patch increases the barebox partition for all i.MX boards to 0xe0000 Reported-by: Fabio Estevam Signed-off-by: Sascha Hauer --- arch/arm/dts/imx6qdl-sabresd.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'arch/arm/dts/imx6qdl-sabresd.dtsi') diff --git a/arch/arm/dts/imx6qdl-sabresd.dtsi b/arch/arm/dts/imx6qdl-sabresd.dtsi index 4ebfda3ce7..6b10229c88 100644 --- a/arch/arm/dts/imx6qdl-sabresd.dtsi +++ b/arch/arm/dts/imx6qdl-sabresd.dtsi @@ -31,11 +31,11 @@ partition@0 { label = "barebox"; - reg = <0x0 0x80000>; + reg = <0x0 0xe0000>; }; - environment_usdhc3: partition@80000 { + environment_usdhc3: partition@e0000 { label = "barebox-environment"; - reg = <0x80000 0x80000>; + reg = <0xe0000 0x20000>; }; }; -- cgit v1.2.3