嵌入式开发者社区

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

作者: ruddy    时间: 2018-1-7 05:05
标题: 烧写linux到nandflash 不能启动
我用OMAPL138芯片,我按教程烧写内核和文件系统到nandflash,最好终端提示VFS: Cannot open root device "ubi0:rootfs" or unknown-block(0,0)" s' Q. X# d% \% _% C! _
Please append a correct "root=" boot option; here are the available partitions:
% R% d9 q/ d% a1f00             128 mtdblock0  (driver?)
) X6 l, Z5 T" a  H! t1f01             512 mtdblock1  (driver?)
- n% i/ M# b) o1 Q1f02            2048 mtdblock2  (driver?)
6 N6 j: s0 E! b4 _1 p7 f1f03          521600 mtdblock3  (driver?)( ~9 a& i( w3 I2 C2 n
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
2 W% I+ n' Z8 R0 \( c
' g, x- L- F# m请问一下这个怎么解决?谢谢!+ a; U8 O# p; o2 U6 ]8 o

作者: czs----Tronlong    时间: 2018-1-9 20:44
您好,ruddy/ Z) W+ X4 t1 t' q" B% E
您可以尝试在uboot命令行下,执行如下命令清理:/ W7 I# Z' {  P5 T' Z2 y# j8 m
nand erase 0 200002 j* s: \& |6 I# X& ?
若无效,请重新制卡或烧写Linux系统到flash中: u9 c8 j% l* d0 c+ K* ^+ I- o

! P8 p2 R! b# l( i8 @有问题您再次反馈,谢谢




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