嵌入式开发者社区

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

作者: ruddy    时间: 2018-1-7 05:05
标题: 烧写linux到nandflash 不能启动
我用OMAPL138芯片,我按教程烧写内核和文件系统到nandflash,最好终端提示VFS: Cannot open root device "ubi0:rootfs" or unknown-block(0,0)
+ c9 x; e! o& j& cPlease append a correct "root=" boot option; here are the available partitions:
2 E+ N8 }5 G4 N% F1f00             128 mtdblock0  (driver?)
* j5 P5 g2 w0 G0 F( k1f01             512 mtdblock1  (driver?)
3 r9 m  `: E6 T" I3 ]0 h  g1f02            2048 mtdblock2  (driver?)! V7 _* c& D# u! N
1f03          521600 mtdblock3  (driver?)
, ]2 J2 p# I0 k" Z1 {# c- mKernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)# ?7 E* `# W& p5 S' _, p
: \7 G, e3 r0 \+ T, p& j
请问一下这个怎么解决?谢谢!
, ]' E* {3 j! r8 E" l1 f" j
作者: czs----Tronlong    时间: 2018-1-9 20:44
您好,ruddy
! c+ q; x3 k& f/ N您可以尝试在uboot命令行下,执行如下命令清理:
3 E  q% i3 G, n( W. Q9 @nand erase 0 20000
- O# T  ]3 P) u* X% f若无效,请重新制卡或烧写Linux系统到flash中
4 N! ^: _8 b2 n2 j: A5 {" Y/ {- f0 ?# L9 c9 L
有问题您再次反馈,谢谢




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