|
发表于 2008-4-1 11:32:19
|
显示全部楼层
出现死循环
我用的是skyeye1.2.4
源码包是:uClinux-dist-20041215.tar.gz
配置uClinux时:
Vendor/Product: GDB/ARMulator
Kernel Version: linux-2.4.x
Libc Version: uC-libc
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/romfs.img
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
执行:skyeye -e linux-2.4.x/linux
出现如下错误:
[root@localhost uClinux-dist]# skyeye -e linux-2.4.x/linux
big_endian is false.
arch: arm
cpu info: armv3, arm7tdmi, 41007700, fff8ff00, 0
mach info: name at91, mach_init addr 0x8079ff0
can't find device module: (name:lcd, typenull))
uart_mod:0, desc_in:, desc_out:, converter:
SKYEYE: use arm7100 mmu ops
Loaded ROM images/romfs.img
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 = 0x000d8e90.
load section .data: addr = 0x010e4000 size = 0x00009ba4.
not load section .bss: addr = 0x010edbc0 size = 0x00022060 .
not load section .debug_abbrev: addr = 0x00000000 size = 0x0003ca29 .
not load section .debug_info: addr = 0x00000000 size = 0x018232c6 .
not load section .debug_line: addr = 0x00000000 size = 0x002cb191 .
not load section .debug_pubnames: addr = 0x00000000 size = 0x0000c09d .
not load section .debug_aranges: addr = 0x00000000 size = 0x000023f0 .
call ARMul_InitSymTable,kernel filename is linux-2.4.x/linux.
start addr is set to 0x01000000 by exec file.
Linux version 2.4.27-uc1 ([email=root@localhost]root@localhost[/email]) (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 二 4月 1 10:30:44 CST 2008
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... Linux version 2.4.27-uc1 ([email=root@localhost]root@localhost[/email]) (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 二 4月 1 10:30:44 CST 2008
Processor: Atmel AT91M40xxx revision 0
Architecture: EB01
Ignoring unrecognised tag 0x00000000
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... [root@localhost uClinux-dist]#
不断的出现循环,请高手指点。。。谢谢! |
|