[PATCH v2] ARM: i.MX: increase barebox partition sizes

Juergen Borleis jbe at pengutronix.de
Wed Apr 27 05:51:17 PDT 2016


Hi,

On Wednesday 27 April 2016 11:25:01 Sascha Hauer wrote:
> [...]
> > Here the environment partition size is changed from 512kB to 128kB.
> > Couldn't this cause issues?
>
> Normally the environment is much smaller, so I wouldn't expect issues
> here. The alternative to making the environment smaller would be to move
> other partitions to the back. This would probably hurt more, especially
> since a regular fdisk starts the first partition at offset 1MiB.

It hurts if the NAND's erase block size is 128 kiB and the block is marked bad. 
In the 512 kiB case this would shrink the environment to 384 kiB, in the 128 
kiB case to 0. Or do I miss something?

jb

-- 
Pengutronix e.K.                              | Juergen Borleis             |
Industrial Linux Solutions                    | http://www.pengutronix.de/  |



More information about the barebox mailing list