嵌入式开发者社区

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

作者: ruddy    时间: 2018-1-7 05:05
标题: 烧写linux到nandflash 不能启动
我用OMAPL138芯片,我按教程烧写内核和文件系统到nandflash,最好终端提示VFS: Cannot open root device "ubi0:rootfs" or unknown-block(0,0)
* R( e. K3 j0 ~  [- V" lPlease append a correct "root=" boot option; here are the available partitions:. _4 ~2 x9 S- W5 ~( U0 U5 v* \
1f00             128 mtdblock0  (driver?)
5 ?& M9 L# ^4 e, A2 X1f01             512 mtdblock1  (driver?)
# q6 C8 b! v& d, \$ g1f02            2048 mtdblock2  (driver?)
) d  u2 B0 f* W+ t8 N1f03          521600 mtdblock3  (driver?)
$ w$ a9 I& L4 ~4 S; GKernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
1 f9 i' _3 [. `. m, F  U/ j% W2 n
0 w& ~& J4 z8 u请问一下这个怎么解决?谢谢!
; A' T0 w+ {$ |
作者: czs----Tronlong    时间: 2018-1-9 20:44
您好,ruddy
( K+ [+ c9 G& Y  w- F1 o1 ?% r) d您可以尝试在uboot命令行下,执行如下命令清理:
9 J) b+ ~. [' U4 r8 Unand erase 0 20000
' O8 J7 y! n3 p: J0 z! E3 p8 m# Q若无效,请重新制卡或烧写Linux系统到flash中
* S9 ]; n/ `' _* G) Z
6 |! ?5 w. [) f5 n有问题您再次反馈,谢谢




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