天嵌 ARM开发社区

 找回密码
 注册
查看: 2503|回复: 1

加载根文件系统的问题

[复制链接]
gucheng82 发表于 2010-2-24 21:16:52 | 显示全部楼层 |阅读模式
用的是TQ2440+linux 2.6.13,现在挂载nfs和cramfs作为根文件系统都没问题了,但是挂载yaffs和ramdisk作为根文件系统的时候都出现了问题:
(1)使用yaffs的时候,出现的错误为:
VFS: Mounted root (yaffs filesystem).
mount_devfs_fs(): unable to mount devfs, err: -2
Freeing init memory: 96K
Warning: unable to open an initial console.
Kernel panic - not syncing: No init found.  Try passing init= option to kernel.
(2)使用ramdisk的时候,出现的错误为:
yaffs: dev is 1048576 name is "ram0"
yaffs: Attempting MTD mount on 1.0, "ram0"
yaffs: dev is 1048576 name is "ram0"
yaffs: Attempting MTD mount on 1.0, "ram0"
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0)
请问这两个问题可能是原因?谢谢!
亚瑟王 发表于 2010-2-27 17:47:35 | 显示全部楼层
1、yaffs部分应该是你制作的yaffs文件系统和内核不匹配导致的。
2、ramdisk我没有直接用过,都是将其应用到yaffs中。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号-2 )

GMT+8, 2025-8-3 19:04 , Processed in 2.040699 second(s), 20 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表