嵌入式开发者社区

标题: 烧写linux到nandflash 不能启动 [打印本页]

作者: ruddy    时间: 2018-1-7 05:05
标题: 烧写linux到nandflash 不能启动
我用OMAPL138芯片,我按教程烧写内核和文件系统到nandflash,最好终端提示VFS: Cannot open root device "ubi0:rootfs" or unknown-block(0,0)
; p1 R+ W$ U1 R2 [6 cPlease append a correct "root=" boot option; here are the available partitions:/ h& O, L, v: }
1f00             128 mtdblock0  (driver?)
' |% d0 M0 f' [1f01             512 mtdblock1  (driver?)
" \* @0 o) v/ N" D1f02            2048 mtdblock2  (driver?)
, ^7 h( Q0 z8 L( V! J4 \# V' V3 i1f03          521600 mtdblock3  (driver?)3 j4 k3 G2 b, r, ?
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0), c, A5 R  f& U. o
6 s" z6 \% V$ W1 C2 b1 f& w
请问一下这个怎么解决?谢谢!, Q3 G% ?6 O' r0 ]6 W, r8 J

作者: czs----Tronlong    时间: 2018-1-9 20:44
您好,ruddy
, x5 A7 C* J9 ?您可以尝试在uboot命令行下,执行如下命令清理:* l# L9 G! R) ^. I
nand erase 0 20000. l6 ?4 N2 O( J2 f0 r" G
若无效,请重新制卡或烧写Linux系统到flash中
+ B0 c* n" C- e2 @/ k0 k0 S8 A6 v
7 j# u+ T  K" c9 E有问题您再次反馈,谢谢




欢迎光临 嵌入式开发者社区 (https://www.51ele.net/) Powered by Discuz! X3.4