yaffs: dev is 32505859 name is "mtdblock3"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.3, "mtdblock3"
yaffs: auto selecting yaffs2
block 524 is bad
yaffs_read_super: isCheckpointed 0
VFS: Mounted root (yaffs filesystem) on device 31:3.
Freeing init memory: 144K
Warning: unable to open an initial console.
Failed to execute /linuxrc. Attempting defaults...
Kernel panic - not syncing: No init found. Try passing init= option to kernel.
u-boot中bootcmd定义:#define CONFIG_BOOTARGS "noinitrd root=/dev/mtdblock3 console=ttySAC0,115200 init=/linuxrc mem=64M"
根文件系统用tftp下载并烧写到nand中:nand write.yaffs 30000000 0x00400000 1000000
我不知道1000000这个size对不对,我用fc00000提示烧写不了。256MB的nand。 |