Help:uClinux2.6 At skyeye出错??
我在linux-2.6.6内核下进行uClinux 2.6.6内核编译,没有问题,可是在skyeye下运行时出现如下问题:提示:Kernel panic: VFS: Unable to mount root fs on ram0
请问如何解决??
# skyeye linux-2.6.x/linux
***************************************************************
**** ****
**** SkyEyeSimulator Ver 0.7.4 withGDB 5.3 Interface ****
**** ****
***************************************************************
GNU gdb 5.3
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.Type "show warranty" for details.
This SkyEye was configured as "--host=i686-pc-linux-gnu --target=arm-elf"...
cpu info: armv3, arm7tdmi, 41007700, fff8ff00, 0
mach info: name at91, mach_init addr 0x813cb34
nic info: state=1, ethmod num=1, mac addr=0:9:45:63:b:f5, hostip=10.0.0.1
nic_init_begin
tapif_init begin
tapif_init: fd 7
tapif_init: system("ifconfig tap0 inet 10.0.0.1");
tapif_init end
nic_init_end
SKYEYE: use arm7100 mmu ops
Loaded ROM images/romfs.img
Connected to the simulator.
Loading section .init, size 0xd000 vma 0x1000000
Loading section .text, size 0x1051d4 vma 0x100d000
Loading section __ex_table, size 0x700 vma 0x11121e0
Loading section __ksymtab, size 0x2c50 vma 0x11128e0
Loading section __ksymtab_gpl, size 0xa0 vma 0x1115530
Loading section __ksymtab_strings, size 0x6010 vma 0x11155d0
Loading section .data, size 0xb6b8 vma 0x111c000
Start address 0x1000000
Transfer rate: 9659488 bits in <1 sec.
(SkyEye) target sim
Connected to the simulator.
(SkyEye) load
Loading section .init, size 0xd000 vma 0x1000000
Loading section .text, size 0x1051d4 vma 0x100d000
Loading section __ex_table, size 0x700 vma 0x11121e0
Loading section __ksymtab, size 0x2c50 vma 0x11128e0
Loading section __ksymtab_gpl, size 0xa0 vma 0x1115530
Loading section __ksymtab_strings, size 0x6010 vma 0x11155d0
Loading section .data, size 0xb6b8 vma 0x111c000
Start address 0x1000000
Transfer rate: 9659488 bits/sec.
(SkyEye) run
Starting program: /uClinux-dist/linux-2.6.x/linux
Linux version 2.6.6-hsc0 (root@Fack) (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 Thu Jun 17 11:29:41 CST 2004
CPU: Atmel-AT91M40xxx revision 0 (ARMvundefined/unknown)
Machine: ATMEL EB01
On node 0 totalpages: 1024
DMA zone: 0 pages, LIFO batch:1
Normal zone: 1024 pages, LIFO batch:1
HighMem zone: 0 pages, LIFO batch:1
Built 1 zonelists
Kernel command line: root=/dev/ram0 initrd=0x01300000,768k keepinitrd
PID hash table entries: 32 (order 5: 256 bytes)
Memory: 4MB = 4MB total
Memory: 2032KB available (1044K code, 137K data, 52K init)
Calibrating delay loop... 15.87 BogoMIPS
Dentry cache hash table entries: 1024 (order: 0, 4096 bytes)
Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
POSIX conformance testing by UNIFIX
checking if image is initramfs... it is
NET: Registered protocol family 16
Atmel USART driver version 0.99
ttyS0 at 0xfffd0000 (irq = 2) is a builtin Atmel APB USART
ttyS1 at 0xfffcc000 (irq = 3) is a builtin Atmel APB USART
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
Universal TUN/TAP device driver 1.5 (C)1999-2002 Maxim Krasnyansky
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 512 bind 512)
Kernel panic: VFS: Unable to mount root fs on ram0 我当时的skyeye.conf,你试试
cpu: arm7tdmi
mach: at91
mem_bank: map=M, type=RW, addr=0x00000000, size=0x00004000
mem_bank: map=M, type=RW, addr=0x01000000, size=0x00300000
mem_bank: map=M, type=RW, addr=0x01300000, size=0x00100000, file=./images/romfs.img
mem_bank: map=M, type=R,addr=0x01400000, size=0x00400000
mem_bank: map=M, type=RW, addr=0x02000000, size=0x00400000
mem_bank: map=M, type=RW, addr=0x02400000, size=0x00008000
mem_bank: map=M, type=RW, addr=0x04000000, size=0x00400000
mem_bank: map=I, type=RW, addr=0xf0000000, size=0x10000000
log: logon=0, logfile=/tmp/test.log, start=3200000, end=3330000
页:
[1]