硬件:AT91RM9200 处理器,32M SDRAM,主要参照了LOM-ARM9的原理图。
用朋友给的zImage和FFT开发板提供的RAMDISK文件系统配合使用
内核启动了 但
可到文件系统的时候
RAMDISK: Couldn't find valid RAM disk image starting at 0.
找不到有效的文件系统
高手,帮帮忙?该怎么办。
附:启动信息。
---=== U-Boot for LOM-ARM9(dailzh@hit.edu.cn,2003-12) ===---
DRAM Configuration:
Bank #0: 20000000 32 MB
NAND:Using default environment
In: serial
Out: serial
Err: serial
---=== For more information please visit www.lomx.net = ===---
Hit any key to stop autoboot: 0
LOM-ARM9> tftp 20008000 zImage_at
TFTP from server 192.168.168.100; our IP address is 192.168.168.101
Filename 'zImage_at'.
Load address: 0x20008000
Loading: invalid RARP header
#################################################################
#################################################################
###############
done
Bytes transferred = 738520 (b44d8 hex)
LOM-ARM9> tftp 21000000 ramdisk
TFTP from server 192.168.168.100; our IP address is 192.168.168.101
Filename 'ramdisk'.
Load address: 0x21000000
Loading: invalid RARP header
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
##############################
done
Bytes transferred = 5143211 (4e7aab hex)
LOM-ARM9> go 20008000
## Starting application at 0x20008000 ...
Uncompressing Linux.................................................... done, booting the kernel.
Linux version 2.4.27-vrs1 (root@XFL) (gcc version 2.95.3 20010315 (release)) #1 .. 5.. 24 20:13:11 EDT 2006
CPU: Arm920Tid(wb) revision 0
Machine: ATMEL AT91RM9200
Warning: bad configuration page, trying to continue
On node 0 totalpages: 8192
zone(0): 8192 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: mem=32M console=ttyS0,115200 initrd=0x20210000,3145728 root=/dev/ram rw
Console: colour dummy device 80x30
Calibrating delay loop... 29.90 BogoMIPS
Memory: 32MB = 32MB total
Memory: 27576KB available (1349K code, 297K data, 76K init)
Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)
Inode cache hash table entries: 2048 (order: 2, 16384 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: 8192 (order: 3, 32768 bytes)
CPU: Testing write buffer: pass
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
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
JFFS2 version 2.1. (C) 2001 Red Hat, Inc., designed by Axis Communications AB.
S1D13XXX: Phys address:C2873000 Phys Reg address:C2871000
Warning: Remapping obsolete /dev/fb* minor 255 to 7
fb7: s1d13xxx frame buffer device
Console: switching to colour frame buffer device 80x30
fb0: s1d13xxx frame buffer device
Display 640 x 480 16Bpp
Starting USB Keyboard Driver... Done
pty: 256 Unix98 ptys configured
RAMDISK driver initialized: 16 RAM disks of 15360K size 1024 blocksize
loop: loaded (max 8 devices)
SCSI subsystem driver Revision: 1.00
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
physmap flash device: 200000 at 10000000
CFI: Found no Physically mapped flash device at location zero
kmod: failed to exec /sbin/modprobe -s -k jedec_probe, errno = 2
kmod: failed to exec /sbin/modprobe -s -k map_rom, errno = 2
NFTL driver: nftlcore.c $Revision: 1.87 $, nftlmount.c $Revision: 1.31 $
i2c-core.o: i2c core module version 2.6.1 (20010830)
i2c-dev.o: i2c /dev entries driver module version 2.6.1 (20010830)
usb.c: registered new driver hub
usb.c: registered new driver hid
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz>
hid-core.c: USB HID support drivers
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
mice: PS/2 mouse device common for all mice
ttyS%d0 at MMIO 0xfefff200 (irq = 1) is a AT91_SERIAL
ttyS%d1 at MMIO 0xfefc4000 (irq = 7) is a AT91_SERIAL
eth0: Link now 10-HalfDuplex
eth0: AT91 ethernet at 0xfefbc000 int=24 10-HalfDuplex (12:34:56:78:99:00)
eth0: Davicom 9196 PHY (Copper)
AT91 Watchdog Timer enabled (5 seconds)
AT91 Real Time Clock driver
host/usb-ohci.c: USB OHCI at membase 0xc29b9000, IRQ 23
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
Found AT91 i2c
AT91 SPI driver loaded
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 2048 bind 2048)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NetWinder Floating Point Emulator V0.97 (double precision)
RAMDISK: Couldn't find valid RAM disk image starting at 0.
Freeing initrd memory: 3072K
FAT: bogus logical sector size 35876
Kernel panic: VFS: Unable to mount root fs on 01:00