现在用的2G MLC flash,修改uboot和kernel之后,烧写启动都没问题,就是制作文件系统烧了之后一直报下面错误
[ 2.794080] yaffs: dev is 32505859 name is "mtdblock3" rw
[ 2.797991] yaffs: passed flags ""
[ 2.803914] VFS: Mounted root (yaffs filesystem) on device 31:3.
[ 2.808625] Freeing init memory: 180K
[ 2.812128] Failed to execute /init.Attempting defaults...
[ 2.817754] Kernel panic - not syncing: No init found.Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.
[ 2.830150] [<c0041b44>] (unwind_backtrace+0x0/0xfc) from [<c051ea08>] (panic+0x84/0x198)
[ 2.838278] [<c051ea08>] (panic+0x84/0x198) from [<c00355b0>] (init_post+0xa0/0xd0)
[ 2.845895] [<c00355b0>] (init_post+0xa0/0xd0) from [<c0008420>] (kernel_init+0x114/0x11c)
[ 2.854128] [<c0008420>] (kernel_init+0x114/0x11c) from [<c003c9d8>] (kernel_thread_exit+0x0/0x8)
网上查了很多资料,我这边无论是uboot kernel分区 都是一致的,也是支持yaffs2,内核里面yaffs2相关配置选项也都选上了,mkyaffs2image 工具也是下载源码做了相关修改编译生成的,nand dump 命令查看 uboot kernel文件系统都烧写进FLASH,不知道楼主在这方面有什么好建议
页:
[1]