storing barebox to flash /dev/nand0

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Fri Sep 10 07:01:30 EDT 2010


> >
> > Okay, 256 kiB
> >
> >> crw-------          0 nand0.barebox.bb
> >
> > Again, 0?
> >
> > For the environment it looks different:
> >
> >> crw-------     131072 env_raw
> >> crw-------     131072 env0
> >> crw-------     131072 nand0.bareboxenv
> >> crw-------     131072 nand0.bareboxenv.bb
> >
> > All are 128 kiB.
> OK maybee there is mix from mtd_parts in env config with vital partitions.
> I keep just vital partitions in code but result is the same:
> cr-------- 4294967295 zero
> crw-------       2973 defaultenv
> crw------- 4294967295 mem
> crw-------  268435456 nand0
> cr--------    8388608 nand_oob0
> crw-------          0 ram0
> crw-------         32 phy0
> crw-------     262144 self_raw
> crw-------          0 self0
> crw-------     131072 env_raw
> crw-------     131072 env0
> 
> self0 should be bb for self_raw where to store barebox. But why it has size 0?
> Don't understand? Am I doing something wrong? For env it works fine.
If I understand correctly your log you have a bad block on it

Best Regards,
J.



More information about the barebox mailing list