QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1534|回复: 1

求助:skyeye不能引导uclinux ,引导一半报错!

[复制链接]
发表于 2007-8-28 10:49:26 | 显示全部楼层 |阅读模式
编译完uclinux后,我用skyeye引导uclinux

skyeye.conf:如下:

cpu: arm7tdmi

mach: s3c4510b

mem_bank: map=M, type=RW, addr=0x00000000, size=0x00800000

mem_bank: map=M, type=R, addr=0x01000000, size=0x00200000, file=./images/romfs.img

mem_bank: map=I, type=RW, addr=0x03ff0000, size=0x00100000

但是引导一半就提示说:
Kernel panic: VFS: Unable to mount root fs on 1f:00   //内核错误提示说(不能挂载文件系统)
然后就不动了。

不知道什么原因,有高手能帮忙看一下吗?

操作如下:
[root@localhost uClinux-dist]# ./skyeye -e linux-2.4.x/linux
arch: arm
cpu info: armv3, arm7tdmi, 41007700, fff8ff00, 0
mach info: name s3c4510b, mach_init addr 0x8058110
uart_mod:0, desc_in:, desc_out:
SKYEYE: use arm7100 mmu ops
Loaded ROM   ./images/romfs.img
exec file "linux-2.4.x/linux"'s format is elf32-little.
load section .init: addr = 0x00008000  size = 0x0000a000.
load section .text: addr = 0x00012000  size = 0x00173348.
load section .data: addr = 0x00186000  size = 0x00007aec.
not load section .bss: addr = 0x0018db00  size = 0x0001f674 .
not load section .debug_abbrev: addr = 0x00000000  size = 0x00031575 .
not load section .debug_info: addr = 0x00000000  size = 0x01379c5a .
not load section .debug_line: addr = 0x00000000  size = 0x0026c8bb .
not load section .debug_pubnames: addr = 0x00000000  size = 0x0000a034 .
not load section .debug_aranges: addr = 0x00000000  size = 0x00001e88 .
start addr is set to 0x00008000 by exec file.
Linux version 2.4.20-uc0 ([email protected]) (gcc version 2.95.3 20010315 (release)(ColdFire patches - 20010318 from http://fiddes.net/coldfire/)(uClinux XIP and shared lib patches from http://www.snapgear.com/)) #1 2007年 08月 27日 星期一 18:50:28 CST
Processor: Samsung S3C4510B revision 6
Architecture: SNDS100
On node 0 totalpages: 4096
zone(0): 0 pages.
zone(1): 4096 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/rom0
Calibrating delay loop... 20.78 BogoMIPS
Memory: 16MB = 16MB total
Memory: 14476KB available (1484K code, 159K data, 40K init)
Dentry cache hash table entries: 2048 (order: 2, 16384 bytes)
Inode cache hash table entries: 1024 (order: 1, 8192 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 4096 (order: 2, 16384 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
Samsung S3C4510 Serial driver version 0.9 (2001-12-27) with no serial options enabled
ttyS00 at 0x3ffd000 (irq = 5) is a S3C4510B
ttyS01 at 0x3ffe000 (irq = 7) is a S3C4510B
Blkmem copyright 1998,1999 D. Jeff Dionne
Blkmem copyright 1998 Kenneth Albanowski
Blkmem 1 disk images:
0: BE748-185347 [VIRTUAL BE748-185347] (RO)
RAMDISK driver initialized: 16 RAM disks of 1024K size 1024 blocksize
Samsung S3C4510 Ethernet driver version 0.1 (2002-02-20) <[email protected]>
eth0: 00:40:95:36:35:34
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 1024 bind 1024)
Kernel panic: VFS: Unable to mount root fs on 1f:00   //错误提示说(不能挂载文件系统)
发表于 2007-9-13 00:02:24 | 显示全部楼层
Blkmem 1 disk images:
0: BE748-185347 [VIRTUAL BE748-185347] (RO)
从这里可以看出内核是在BE748处来挂载romfs。你编译的linux影像中没有包含romfs,因此不能挂载。你可以在内核中指定romfs的位置。
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-11-2 14:33 , Processed in 0.037198 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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