We build a small DM6446 board, only DM6446 SoC, Flash, USB, UART, no other things. So I burn u-boot.bin via DVFlasher and download uImage via USB SD Card.
My sd card is 2G and formated into 2 partions. The first one is vfat(uImage), the second is ext2(rootfs). I fatload the uImage and start the whole system on rootfs in the second partition. After the system booted, I mount the /dev/mtdblock/0 and tar xzf rootfs.tar.gz to the mount folder.
Then I change root=/dev/sda2 to flash on board, my questions:
- nand_read_bbt: Bad block .... // messages after hardware reset, before u-boot bootm. why? I'm sure it happened after I tar xzf rootfs.tar.gz to /dev/mtdblock/0
- I can't boot the rootfs from root=/dev/mtdblock/0 or root=/dev/mtdblk0. // It seems I should mknod /dev/mtdblk0 ??
- could I make yaffs rootfs to a rootfs.yaffs as same as rootfs.jffs? If yes, I can erase nand and nand write the rootfs.yaffs to flash directly in u-boot
Thank you!
nand_read_bbt: Bad block at 0x03fd0000
nand_read_bbt: Bad block at 0x03fd4000
nand_read_bbt: Bad block at 0x03fd8000
nand_read_bbt: Bad block at 0x03fdc000
nand_read_bbt: Bad block at 0x03fe0000
nand_read_bbt: Bad block at 0x03fe4000
nand_read_bbt: Bad block at 0x03fe8000
nand_read_bbt: Bad block at 0x03fec000
nand_read_bbt: Bad block at 0x03ff0000
nand_read_bbt: Bad block at 0x03ff4000
nand_read_bbt: Bad block at 0x03ff8000
nand_read_bbt: Bad block at 0x03ffc000
In: serial
Out: serial
Err: serial
Read from EEPROM @ 0x50 failed
Net: No ETH PHY detected!!!