免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2235 | 回复: 6
打印 上一主题 下一主题

Linux 在AT91RM9200上运行出现错误 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-01-05 19:37 |只看该作者 |倒序浏览
     把系统映像文件和文件系统烧写到FLASH之后,复位,系统能启动,但是在运行过程中出现了问题,我看不懂什么意思,请大侠们帮着瞅瞅!先行谢过!

     运行的全部结果如下:
U-Boot 1.0.0 (Jul 23 2004 - 08:07:14)

FFT-U-Boot code: 21F00000 -> 21F1451C
BSS: -> 21F2014C

DRAM Configuration:
Bank #0: 20000000 32 MB
Flash: 16 MB
In:
serial

Out:
serial

Err:
serial

Hit any key to stop autoboot:
0

## Booting image at 10060000 ...

Image Name:


Image Type:
ARM Linux Kernel Image (gzip compressed)


Data Size:
655738 Bytes = 640.4 kB


Load Address: 20008000


Entry Point:
20008000


Verifying Checksum ... OK


Uncompressing Kernel Image ... OK


Starting kernel ...

Linux version 2.4.19-rmk7 (root@localhost.localdomain) (gcc version 2.95.3 20010
315 (release)) #31 Mon Jan 4 18:46:17 EST 2010
CPU: Arm920Tid(wb) revision 0
Machine: ATMEL AT91RM9200
initrd (0x21100000 - 0x24a38700) extends beyond physical memory - disabling init
rd
On node 0 totalpages: 8192
zone(0): 8192 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/ram rw initrd=0x21100000,60000000 ramdisk_size=15
360 console=ttyS0,115200 men=32M
Console: colour dummy device 80x30
Calibrating delay loop... 89.70 BogoMIPS
Memory: 32MB = 32MB total
Memory: 30812KB available (1226K code, 263K data, 72K 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: boot_options: 0x1
S1D13XXX: Phys address:C2802000 Phys Reg address:C2800000
Console: switching to colour frame buffer device 80x30
fb0: s1d13xxx frame buffer device
Display 640 x 480 16Bpp
RAMDISK driver initialized: 16 RAM disks of 15360K size 1024 blocksize
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
kmod: failed to exec /sbin/modprobe -s -k cfi_cmdset_0001, errno = 2
Support for command set 0001 not present
gen_probe: No supported Vendor Command Set found
Search for id89 1 interleave(1) type(2)
Search for id89 1 interleave(1) type(2)
Search for id89 1 interleave(1) type(2)
Search for id89 1 interleave(2) type(1)
Search for id89 1 interleave(2) type(1)
Search for id89 1 interleave(2) type(1)
Search for id89 00) interleave(2) type(2)
Search for id89 00) interleave(2) type(2)
Search for id89 00) interleave(2) type(2)
JEDEC: Found no Physically mapped flash device at location zero
kmod: failed to exec /sbin/modprobe -s -k map_rom, errno = 2
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 MEM 0xfefff200 (irq = 1) is a AT91_SERIAL
ttyS%d1 at MEM 0xfefc4000 (irq = 7) is a AT91_SERIAL
eth0: Link now 100-FullDuplex
eth0: AT91 ethernet at 0xfefbc000 int=24 100-FullDuplex (12:34:56:78:99:aa)
AT91 Watchdog Timer enabled (5 seconds)
AT91 Real Time Clock driver
usb-ohci.c: USB OHCI at membase 0xc2948000, IRQ 23
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
i2c-dev.o: Registered 'AT91RM9200' as minor 0
Found AT91 i2c
AT91 SPI driver loaded
SmartMedia card inserted.
No NAND device found!!!
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 204
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NetWinder Floating Point Emulator V0.95 (c) 1998-1999 Rebel.com
FAT: bogus logical sector size 16678
Kernel panic: VFS: Unable to mount root fs on 01:00

请问其中标为红色的几个错误什么意思?系统运行失败是什么原因引起的?


下图是Windows下超级终端的截图:

[ 本帖最后由 金水岸边 于 2010-1-5 19:38 编辑 ]

Error.jpg (185.29 KB, 下载次数: 25)

Error.jpg

论坛徽章:
0
2 [报告]
发表于 2010-01-06 17:35 |只看该作者

回复 #1 金水岸边 的帖子

Found no Physically mapped flash device at location zero
存储映射有问题么?什么版本的内核?

论坛徽章:
3
CU大牛徽章
日期:2013-03-14 14:14:08CU大牛徽章
日期:2013-03-14 14:14:26CU大牛徽章
日期:2013-03-14 14:14:29
3 [报告]
发表于 2010-01-07 09:39 |只看该作者
兄弟,昨天我刚把这个搞过。我升级内核刚完成,中途没有遇到过这个问题。不过我看了下你的U-boot信息:
Kernel command line: root=/dev/ram rw initrd=0x21100000,60000000 ramdisk_size=15
360 console=ttyS0,115200 men=32M
60000000这个设置有没有问题?men应该是mem吧?

论坛徽章:
0
4 [报告]
发表于 2010-01-07 10:41 |只看该作者

回复 #3 liugang9931706 的帖子

你真细心,万分感谢!

论坛徽章:
0
5 [报告]
发表于 2010-01-07 10:42 |只看该作者

回复 #2 yjz98 的帖子

2.4.19的内核,我是新手,很多基本问题都得请教高手,谢谢了!

论坛徽章:
0
6 [报告]
发表于 2010-01-07 11:28 |只看该作者

回复 #3 liugang9931706 的帖子

请问你是怎么跑通的,我把men改成mem之后,运行结果是一样的。

论坛徽章:
0
7 [报告]
发表于 2010-01-07 16:52 |只看该作者
问题已经解决,是环境变量设置时马虎大意了,把“bootargs root=/dev/ram rw initrd=0x21100000,6000000 ramdisk_size=15360 console=ttyS0,11520 mem=32M”中的6000000写成60000000了(多了一个零),所以出现initrd (0x21100000 - 0x24a38700) extends beyond physical memory - disabling initrd”错误,但愿我的经验对各位能有所帮助,别再犯这类错误。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP