这些小活动你都参加了吗?快来围观一下吧!>>
电子产品世界 » 论坛首页 » 嵌入式开发 » MCU » liux-2.4.24-vrs1到文件系统的时候不行了。

共2条 1/1 1 跳转至

liux-2.4.24-vrs1到文件系统的时候不行了。

菜鸟
2007-01-19 22:58:03     打赏

硬件: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




关键词: liux-2.4.24-vrs1     文件     系统     时候    

菜鸟
2007-01-19 23:00:00     打赏
2楼

如果用LOM-ARM9提供的zImage可以正常启动进入登陆页面。但其串口UART1用不了。

附:启动信息。

---=== For more information please visit www.lomx.net = ===---

Hit any key to stop autoboot: 0
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 = 687692 (a7e4c hex)
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)
## Starting application at 0x20008000 ...
Uncompressing Linux................................................ done, booting the kernel.
Linux version 2.4.19-rmk6 (hikdoumi@PC0142) (gcc version 2.95.3 20010315 (release)) #9 Fri Apr 25 14:55:14 CES3CPU: Arm920Tid(wb) revision 0
Machine: AT91RM9200DK
On node 0 totalpages: 7936
zone(0): 7936 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: console=ttyS4,115200 mem=31M root=/dev/ram rw
Console: colour dummy device 80x30
Calibrating delay loop... 29.79 BogoMIPS
Memory: 31MB = 31MB total
Memory: 23580KB available (1260K code, 298K 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)
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.12a (20020514) Richard Gooch (rgooch@atnf.csiro.au)
devfs: devfs_debug: 0x0
devfs: boot_options: 0x1
JFFS2 version 2.1. (C) 2001 Red Hat, Inc., designed by Axis Communications AB.
ttyS%d1 at MEM 0xfffc4000 (irq = 7) is a AT91US3
ttyS%d4 at MEM 0xfffff200 (irq = 1) is a AT91US3
S1D13XXX: Phys address:C2002000 Phys Reg address:C2000000
Console: switching to colour frame buffer device 80x30
fb0: s1d13xxx frame buffer device
Display 640 x 480 16Bpp
pty: 256 Unix98 ptys configured
RAMDISK driver initialized: 16 RAM disks of 15360K size 1024 blocksize
eth0 AT91RM9200 ethernet at 0xfffbc000 Int=24 Base10-Half
(hwaddr = 00:00:00:00:ff:01)
AT91RM9200DK serial data flash module ...
0 flash device(s) detected
usb.c: registered new driver hub
usb-ohci.c: USB OHCI at membase 0xc2143000, IRQ 23
usb.c: new USB bus registered, assigned bus number 1
Product: USB OHCI Root Hub
SerialNumber: c2143000
hub.c: USB hub found
hub.c: 2 ports detected
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
mice: PS/2 mouse device common for all mice
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.95 (c) 1998-1999 Rebel.com
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 6144K
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem).
Mounted devfs on /dev
Freeing init memory: 76K
INIT: version 2.74 booting
hub.c: USB new device connect on bus1/1, assigned device number 2
usb.c: USB device not accepting new address=2 (error=-110)
hub.c: USB new device connect on bus1/1, assigned device number 3
usb.c: USB device not accepting new address=3 (error=-110)
INIT: Entering runlevel: 3
hub.c: USB new device connect on bus1/2, assigned device number 4
usb.c: USB device not accepting new address=4 (error=-110)
hub.c: USB new device connect on bus1/2, assigned device number 5
usb.c: USB device not accepting new address=5 (error=-110)
Starting system logger: syslogd
Starting INET services: inetd
Starting mouse
Starting tty
Starting console mouse services: gpm
Starting rtc gpm: oops() invoked from gpm.c(952)
/dev/mouse: No such file or directory


********************LINUX-2.4.19-rmk6***************************
***************************YSZ**********************************
AT91RM9200DK login:


共2条 1/1 1 跳转至

回复

匿名不能发帖!请先 [ 登陆 注册 ]