嵌入式开发者社区

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

作者: ruddy    时间: 2018-1-7 05:05
标题: 烧写linux到nandflash 不能启动
我用OMAPL138芯片,我按教程烧写内核和文件系统到nandflash,最好终端提示VFS: Cannot open root device "ubi0:rootfs" or unknown-block(0,0)2 M' _+ v& b8 a+ y6 E
Please append a correct "root=" boot option; here are the available partitions:9 R+ _7 V7 P8 B9 r
1f00             128 mtdblock0  (driver?)7 ]. P) C1 ^( I& F; E
1f01             512 mtdblock1  (driver?)
% h7 C; b( d! X1 d  K1f02            2048 mtdblock2  (driver?)
' S/ o/ V! G  f6 }1f03          521600 mtdblock3  (driver?)
" h0 V8 W- T& d% l9 t+ aKernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
  L; e: O2 c) U9 u7 Q$ Q
) }1 F, R& K( S+ i% B+ a请问一下这个怎么解决?谢谢!5 M0 }& r& L& M8 Y( T4 R

作者: czs----Tronlong    时间: 2018-1-9 20:44
您好,ruddy
* @8 n1 @+ \, T5 W' q! Z; j: y5 _您可以尝试在uboot命令行下,执行如下命令清理:: X7 m1 G  D& Z8 B
nand erase 0 20000
; [- a/ m3 I' _& T" a- }* c若无效,请重新制卡或烧写Linux系统到flash中
. a' r- I# o- n" a: y- N6 v) H7 I+ b' Y
有问题您再次反馈,谢谢




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