|
|
|
|
 根文件系统挂不上,romfs - gutounan [ 2005-09-19 19:50 | 1,826 byte(s)]
 Re: 根文件系统挂不上,romfs - gutounan [ 2005-09-22 12:04 | 98 byte(s)]
 Re: 根文件系统挂不上,romfs - limodou [ 2005-09-19 21:32 | 68 byte(s)]
|
|
|
|
[Original]
[Print]
[Top]
|
在下第一次搞嵌入式多多指点我阿各位
我用的bootloader是MicroMonitor
启动顺序是这样的:
1, unzip vmlinux.bin.gz 0xa0300000 #解压到那个地址
2, unzip romfs.img.gz 0xA3D12000 #解压
3, call -a 0xa0300000 root=/dev/mtdblock0 mem=64M console=ttyS0,38400 ethaddr=$ETHERADD ip=$IPADD::$GIPADD:$NETMASK:csb655:eth0 #运行内核
然后就出现了找不到根文件系统的错误:
<前面略>
Creating 1 MTD partitions on "SDRAM":
0x00000000-0x006d6000 : "SDRAM File System"
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
IP-Config: Complete:
device=eth0, addr=192.168.168.77, mask=255.255.255.0, gw=192.168.168.1,
host=csb655, domain=, nis-domain=(none),
bootserver=255.255.255.255, rootserver=255.255.255.255, rootpath=
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,0)
<6>eth0: link up
eth0: going to full duplex
呵呵
有人遇到这样的问题吗?
我不是很了解romfs的原理,难道解压到内存以后内核就会自动去找romfs并挂起来??
内核怎么知道romfs在内存的哪块地址呢???
高人帮忙解答一下吧
谢谢!
|
|
|
[Original]
[Print]
[Top]
|
|
|