Im trying to boot my i.Mx28 device from NAND flash. I have two partitions in NAND flash ( /dev/mtd0 : kernel ) and (/dev/mtd1 : initrd and other config files).
The Device is booting properly with Micro sd card . But On Booting from Nand Flash , It gives following log:
PowerPrep start initialize power...
Battery Voltage = 4.19V
5v source detected.Valid battery voltage detected.Booting from battery voltage source.
LLLCFeb 9 201205:04:46
memory type is DDR2
Wait for ddr ready 1power 0x00820616
start change cpu freq
start test memory accress
finish simple test
As seen, the bootlets have thrown error 0x8050100b which means " Load command payload CRC failed"
When I tried to dig it more , I found out that there is bad block in my NAND flash which is in /dev/mtd0 at address 0xc80000.
I use kobs-ng tool for flashing the kernel to /dev/mtd0.
When I did the cat /dev/mtd0 >/mnt/USB/linux_mtd0.sb , I could able to see that the Kernel started at the location 1Mb and at the
0xc80000 block is untouched by kobs-ng ( it is filled by complete zeros till 0xca0000 ) and kernel continues from 0xca0000.
Even though there is no data loss,but the continuation is missed .
how to solve this error?