diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2016-04-25 08:05:29 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2016-04-27 15:39:28 +0200 |
commit | 3fb70de496b32592a5896ffb7aa77a6cc82202e1 (patch) | |
tree | cfae58c2a47169b721d783661412aaba16f176fb /arch/arm/dts/imx51-genesi-efika-sb.dts | |
parent | 339ea9f586fc3c0aa0c0b07e00064bf7652f77b0 (diff) | |
download | barebox-3fb70de496b32592a5896ffb7aa77a6cc82202e1.tar.gz barebox-3fb70de496b32592a5896ffb7aa77a6cc82202e1.tar.xz |
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 <festevam@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/dts/imx51-genesi-efika-sb.dts')
-rw-r--r-- | arch/arm/dts/imx51-genesi-efika-sb.dts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/dts/imx51-genesi-efika-sb.dts b/arch/arm/dts/imx51-genesi-efika-sb.dts index 78cb1b7184..5a2c3a1c40 100644 --- a/arch/arm/dts/imx51-genesi-efika-sb.dts +++ b/arch/arm/dts/imx51-genesi-efika-sb.dts @@ -415,9 +415,9 @@ #address-cells = <1>; #size-cells = <1>; - partition@0 { + partition@e0000 { label = "barebox-environment"; - reg = <0xc0000 0x40000>; + reg = <0xe0000 0x20000>; }; }; @@ -533,9 +533,9 @@ #address-cells = <1>; #size-cells = <1>; - partition@0 { + partition@e0000 { label = "barebox-environment"; - reg = <0x80000 0x80000>; + reg = <0xe0000 0x20000>; }; }; }; |