[E3-hacking] Config / content filesystem

Ralph Corderoy ralph at inputplus.co.uk
Wed Apr 24 11:27:38 BST 2019


Hi Nick,

> >      3,670,016 / 16,384 =   224
> >        262,144 / 16,384 =    16
> >        262,144 / 16,384 =    16
> >        262,144 / 16,384 =    16
> >     28,311,552 / 16,384 = 1,728
> >        786,432 / 16,384 =    48
>
> So you would put in the number 224 in the flash_erase line at the
> end..
>
>     flash_erase /dev/mtd0 0 224

I'd say yes, based on
https://github.com/vamanea/mtd-utils/blob/master/flash_erase.c#L60

Others that have actually used flash_erase may want to chip in.

-- 
Cheers, Ralph.



More information about the e3-hacking mailing list