嵌入式开发者社区

标题: 烧写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 C5 q& Y2 c0 B& d/ V# }4 Z% v# N6 F- I
Please append a correct "root=" boot option; here are the available partitions:# L5 k6 R% P0 ^5 M  P
1f00             128 mtdblock0  (driver?); m% a& G5 F' i. i1 d4 D2 U
1f01             512 mtdblock1  (driver?)
% Y1 ^9 @( n" V1 N7 |9 l% E( z' D1f02            2048 mtdblock2  (driver?)5 o# B1 }+ U* ~/ A. S4 X7 n# Z
1f03          521600 mtdblock3  (driver?)- v/ y, P0 `6 Y% ^* p5 A
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
; d, V; f% }7 W4 D2 [  L  Z  ]! o) x# A* p; T0 h  q( L4 c; I
请问一下这个怎么解决?谢谢!8 W" T3 o0 D5 R$ T2 @

作者: czs----Tronlong    时间: 2018-1-9 20:44
您好,ruddy
) ]6 n" g' s' P! K  ]4 x8 P您可以尝试在uboot命令行下,执行如下命令清理:1 }, V$ a+ W7 `4 p
nand erase 0 200008 D$ c# m: |; \. i( ~
若无效,请重新制卡或烧写Linux系统到flash中2 J. q) ^9 {3 f1 q% C+ [
. v4 A$ X! x! J6 Y4 b
有问题您再次反馈,谢谢




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