[已解决](OK335xS-II)SD卡引导出错,但一键烧写到nand却没问题
本帖最后由 shijunpu 于 2015-10-7 13:46 编辑修改了底板、对应的kernel,编译出来的内核如果采用一键烧写方式烧写到nand,从nand引导没有问题。
但如果从tf卡引导,引导到一半就停下来了。有没有人遇到这种问题?
看提示,要找mmcblk0p2,可是我只有一个tf卡,提示让增加root=的引导项,可是飞凌说没有2001年09月的boot代码,是不是需要boot代码增加root=选项才可以?
[ 2.905961] b301 15558112 mmcblk0p1 00000000-0000-0000-0000-000000000mmcblk0p1
[ 2.914323] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2)
[ 2.923127] Backtrace:
[ 2.925712] [<c0017d68>] (dump_backtrace+0x0/0x110) from [<c04f5010>] (dump_stack+0x18/0x1c)
[ 2.934516]r6:c7030000 r5:c06c93dc r4:c07587d0 r3:c06f8d88
[ 2.940442] [<c04f4ff8>] (dump_stack+0x0/0x1c) from [<c04f5080>] (panic+0x6c/0x1a0)
[ 2.948443] [<c04f5014>] (panic+0x0/0x1a0) from [<c0699cb4>] (mount_block_root+0x184/0x228)
[ 2.957156]r3:c06f8d88 r2:00000000 r1:c701df58 r0:c05efdc0
[ 2.963077]r7:00008001
[ 2.965724] [<c0699b30>] (mount_block_root+0x0/0x228) from [<c0699f1c>] (mount_root+0xd8/0xe0)
[ 2.974716] [<c0699e44>] (mount_root+0x0/0xe0) from [<c069a0bc>] (prepare_namespace+0x198/0x1e0)
[ 2.983881]r4:c0755ba0
[ 2.986530] [<c0699f24>] (prepare_namespace+0x0/0x1e0) from [<c069990c>] (kernel_init+0x124/0x130)
[ 2.995875]r5:c06d5668 r4:c06d5668
[ 2.999624] [<c06997e8>] (kernel_init+0x0/0x130) from [<c00416e8>] (do_exit+0x0/0x67c)
[ 3.007886]r5:c06997e8 r4:00000000
搞定了,是tf卡分区没有分好。
以前做的一个分区使用create脚本做的,时间长了忘了,以为格式化过去拷贝就行了 碰到同一问题,SD卡一键烧写也卡在这里了,可是手册上没提分区,怎么分区也没提
页:
[1]