On Fri, Sep 10, 2010 at 1:01 PM, Jean-Christophe PLAGNIOL-VILLARD <plagnioj@xxxxxxxxxxxx> wrote: >> > >> > 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 You're right. I erase NAND again and then bad block for 0x00000000 is gone. I can load barebox to flash. Sorry for spamming. > > Best Regards, > J. > -- as simple and primitive as possible ------------------------------------------------- Marek Belisko - OPEN-NANDRA Freelance Developer Ruska Nova Ves 219 | Presov, 08005 Slovak Republic Tel: +421 915 052 184 skype: marekwhite icq: 290551086 web: http://open-nandra.com _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox