+ -
当前位置:首页 → 问答吧 → 新手,linux启动的问题!急!!

新手,linux启动的问题!急!!

时间:2007-08-03

来源:互联网

我在编译linux的过程中,编译过程没有出错,但编译完成后在images文件?**挥衎oot.room和linux.elf两个文件。在网上查了一下,说这个boot.rom就是romfs.img。但后来在运行时,又出错了。具体过程如下:
[root@localhost uClinux-dist]# skyeye -e linux-2.4.x/linux
arch: arm
cpu info: armv3, arm7tdmi, 41007700, fff8ff00, 0
mach info: name at91, mach_init addr 0x80751d8
uart_mod:0, desc_in:, desc_out:
SKYEYE: use arm7100 mmu ops
Loaded ROM  images/boot.rom
exec file "linux-2.4.x/linux"'s format is elf32-little.
load section .init: addr = 0x01000000 size = 0x0000a000.
load section .text: addr = 0x0100a000 size = 0x000dcea0.
load section .data: addr = 0x010e8000 size = 0x00009ce4.
not load section .bss: addr = 0x010f1d00 size = 0x000220a0 .
not load section .debug_abbrev: addr = 0x00000000 size = 0x0003d6bd .
not load section .debug_info: addr = 0x00000000 size = 0x019428a7 .
not load section .debug_line: addr = 0x00000000 size = 0x002bfd3a .
not load section .debug_pubnames: addr = 0x00000000 size = 0x0000c30b .
not load section .debug_aranges: addr = 0x00000000 size = 0x00002438 .
start addr is set to 0x01000000 by exec file.
Linux version 2.4.32-uc0 (root@localhost) (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)) #6 五 8月 3 12:48:16 CST 2007
Processor: Atmel AT91M40xxx revision 0
Architecture: EB01
On node 0 totalpages: 1024
zone(0): 0 pages.
zone(1): 1024 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/rom0
Calibrating delay loop... 15.82 BogoMIPS
Memory: 4MB = 4MB total
Memory: 2936KB available (883K code, 179K data, 40K init)
Dentry cache hash table entries: 512 (order: 0, 4096 bytes)
Inode cache hash table entries: 512 (order: 0, 4096 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: 1024 (order: 0, 4096 bytes)
POSIX conformance testing by UNIFIX

到这里就没有反映了,并没有运行到出现uclinux这几个字。
我大致分析了一下,上面没有对串口的初始化,并且5个table entries的order都为0,不知道是什么意思!!

请各位大侠帮忙分析一下。

我的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=0x00400000
mem_bank: map=M, type=R, addr=0x01400000, size=0x00400000,file=images/boot.rom
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
lcd:state=on      

作者: seagull017   发布时间: 2007-08-03