完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
ARM-linux-gcc version 4.3.2
linux-3.4.2 根文件系统(用的是老师提供的): fs_mini_mdev_new.yaffs2 分区信息 (512K, 128K, 4M, -) 0x000000000000-0x000000080000 : "boot" 0x000000080000-0x0000000a0000 : "param" 0x0000000a0000-0x0000004a0000 : "kernel" 0x0000004a0000-0x000010000000 : "root" 启动内核时报如下错误信息, 我感觉好像是没有找到yaffs2 文件系统。 但我已经在 make menuconfig 中 把yaffs2 文件系统支持添加了。而且内核也打了yaffas2的补丁。请老师帮忙看看。谢谢! uncorrectable error : uncorrectable error : end_request: I/O error, dev mtdblock3, sector 2 EXT3-fs (mtdblock3): error: unable to read superblock uncorrectable error : uncorrectable error : end_request: I/O error, dev mtdblock3, sector 2 EXT2-fs (mtdblock3): error: unable to read superblock uncorrectable error : uncorrectable error : end_request: I/O error, dev mtdblock3, sector 0 Buffer I/O error on device mtdblock3, logical block 0 uncorrectable error : uncorrectable error : end_request: I/O error, dev mtdblock3, sector 0 Buffer I/O error on device mtdblock3, logical block 0 uncorrectable error : uncorrectable error : end_request: I/O error, dev mtdblock3, sector 8 Buffer I/O error on device mtdblock3, logical block 1 uncorrectable error : uncorrectable error : end_request: I/O error, dev mtdblock3, sector 8 Buffer I/O error on device mtdblock3, logical block 1 uncorrectable error : uncorrectable error : end_request: I/O error, dev mtdblock3, sector 16 Buffer I/O error on device mtdblock3, logical block 2 uncorrectable error : end_request: I/O error, dev mtdblock3, sector 16 Buffer I/O error on device mtdblock3, logical block 2 uncorrectable error : uncorrectable error : end_request: I/O error, dev mtdblock3, sector 24 Buffer I/O error on device mtdblock3, logical block 3 uncorrectable error : uncorrectable error : end_request: I/O error, dev mtdblock3, sector 24 Buffer I/O error on device mtdblock3, logical block 3 uncorrectable error : uncorrectable error : end_request: I/O error, dev mtdblock3, sector 0 FAT-fs (mtdblock3): unable to read boot sector VFS: Cannot open root device "mtdblock3" or unknown-block(31,3): error -5 Please append a correct "root=" boot option; here are the available partitions: 1f00 512 mtdblock0 (driver?) 1f01 128 mtdblock1 (driver?) 1f02 4096 mtdblock2 (driver?) 1f03 257408 mtdblock3 (driver?) Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,3) Backtrace: [ r6:c38a7000 r5:fffffffb r4:c381df2c [ [ r3:00000000 r2:c384c9f4 r1:c381df2c r0:c03c5b60 [ [ r7:c04774e0 r6:c044573c r5:c044573c r4:c0477540 [ r6:00000008 r5:c0444f10 r4:c0449c34 [ |
|
相关推荐
6个回答
|
|
你的bootargs指定文件系统类型了吗?为啥我看到了ext3 fat啥的
|
|
|
|
这个是yaffs2文件系统,所以没有指定文件类型。我也很奇怪,为什么出现ext3的。 按道理系统应该会自动匹配yaffs2,可是看错误提示,系统好像没有做这一步。
|
|
|
|
u-boot参数如下:
SMDK2440 # print baudrate=115200 bootargs=console=ttySAC0,115200 root=/dev/mtdblock3 bootcmd=nand read 30000000 A0000 400000;bootm 30000000 bootdelay=5 ethact=dm9000 ethaddr=00:0c:29:bc:d8:55 ipaddr=192.168.1.14 mtddevname=boot mtddevnum=0 mtdids=nand0=jz2440-0 mtdparts=mtdparts=jz2440-0:512k(boot),128k(params),4m(kernel),-(rootfs) netmask=255.255.255.0 partition=nand0,0 serverip=192.168.1.11 stderr=serial stdin=serial stdout=serial Environment size: 455/131068 bytes SMDK2440 # |
|
|
|
bootargs指定一下rootfstype=yaffs
|
|
|
|
估计是内核有问题.
|
|
|
|
是内核的问题,我换了一个内核就可以的。谢谢老师!
|
|
|
|
只有小组成员才能发言,加入小组>>
197个成员聚集在这个小组
加入小组为什么点亮LED的例子放在NORFlash上跑会出现奇怪的现象?
2195 浏览 6 评论
1994 浏览 5 评论
韦东山老师推出的《玩转ARM裸机实战》课程将帮你以上问题一扫而光!
4549 浏览 1 评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-28 11:28 , Processed in 0.791113 second(s), Total 87, Slave 67 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号