|
版主你好:
我用自己编译的skyeye运行自己编译的linux,命令:./skyeye -e linux
其中,boot.rom,skyeye.conf都在同一个目录下,编译uClinux时选的是GDB/AMUlator,uClib
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=./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
运行时出现如下情况:
[root@naroya images]# ./skyeye -e linux
arch: arm
cpu info: armv3, arm7tdmi, 41007700, fff8ff00, 0
mach info: name at91, mach_init addr 0x8062e40
SKYEYE: use arm7100 mmu ops
Loaded ROM ./boot.rom
exec file "linux"'s format is elf32-little.
load section .init: addr = 0x01000000 size = 0x0000a000.
load section .text: addr = 0x0100a000 size = 0x000d0cb0.
load section .data: addr = 0x010dc000 size = 0x000099b0.
not load section .bss: addr = 0x010e59c0 size = 0x00020fb0 .
not load section .comment: addr = 0x00000000 size = 0x0000115e .
not load section .debug_abbrev: addr = 0x00000000 size = 0x0003c313 .
not load section .debug_info: addr = 0x00000000 size = 0x00aad44e .
not load section .debug_line: addr = 0x00000000 size = 0x000a7034 .
not load section .debug_pubnames: addr = 0x00000000 size = 0x0000c30b .
not load section .debug_aranges: addr = 0x00000000 size = 0x00002368 .
not load section .debug_str: addr = 0x00000000 size = 0x000235d3 .
not load section .debug_frame: addr = 0x00000000 size = 0x000191d4 .
not load section .debug_ranges: addr = 0x00000000 size = 0x00010ee0 .
start addr is set to 0x01000000 by exec file.
Linux version 2.4.32-uc0 (root@naroya) (gcc version 3.4.0) #7 2006年 12月 27日 星期三 22:13:38 CST
Processor: Atmel AT91M40xxx revision 0
Architecture: EB01
Ignoring unrecognised tag 0x54410001
Ignoring unrecognised tag 0x54410002
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: 2988KB available (835K code, 175K 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
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
Atmel USART driver version 0.99
ttyS0 at 0xfffd0000 (irq = 2) is a builtin Atmel APB USART
ttyS1 at 0xfffcc000 (irq = 3) is a builtin Atmel APB USART
Blkmem copyright 1998,1999 D. Jeff Dionne
Blkmem copyright 1998 Kenneth Albanowski
Blkmem 1 disk images:
0: 1400000-14BB7FF [VIRTUAL 1400000-14BB7FF] (RO) <ROMFS>
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
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 512 bind 1024)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (romfs filesystem) readonly.
BINFMT_FLAT: reloc outside program 0x6e656c69 (0 - 0xffcc7564/0xf940), killing sh!
BINFMT_FLAT: reloc outside program 0x6e656c69 (0 - 0xffcc7564/0xf940), killing sh!
sh[7] killed because of sig - 11
STACK DUMP:
pc : [<01461474>] lr : [<0145cc0c>] Not tainted
sp : 011ffe4c ip : 011ffe60 fp : 011ffe5c
r10: 011e0004 r9 : 00000000 r8 : 00000000
r7 : 00000001 r6 : 011fffc0 r5 : 00000001 r4 : 00000000
r3 : 011e0ac8 r2 : 011ffe70 r1 : 011ffe7c r0 : fffffff8
Flags: nzcv IRQs on FIQs on Mode USER_26 Segment user
Control: 0
BINFMT_FLAT: reloc outside program 0x6e656c69 (0 - 0xffcc7564/0xf940), killing sh!
BINFMT_FLAT: reloc outside program 0x6e656c69 (0 - 0xffcc7564/0xf940), killing sh!
sh[8] killed because of sig - 11
STACK DUMP:
pc : [<01461474>] lr : [<6145d904>] Not tainted
sp : 011ffd6c ip : 011ffd80 fp : 011ffd7c
r10: 011e0004 r9 : 00000001 r8 : 0000015c
r7 : 00000000 r6 : 00000000 r5 : 00000000 r4 : 011ffd94
r3 : 0111c8a0 r2 : 011ffd84 r1 : 0111c8a0 r0 : fffffff8
Flags: nZCv IRQs on FIQs on Mode USER_26 Segment user
Control: 0
BINFMT_FLAT: reloc outside program 0x6e656c69 (0 - 0xffcc7564/0xf940), killing sh!
BINFMT_FLAT: reloc outside program 0x6e656c69 (0 - 0xffcc7564/0xf940), killing sh!
sh[9] killed because of sig - 11
STACK DUMP:
pc : [<01461474>] lr : [<6145d904>] Not tainted
sp : 011ffd6c ip : 011ffd80 fp : 011ffd7c
r10: 011e0004 r9 : 00000005 r8 : 0000015c
r7 : 00000000 r6 : 00000000 r5 : 00000005 r4 : 011ffd94
r3 : 0111c8a0 r2 : 011ffd84 r1 : 0111c8a0 r0 : fffffff8
Flags: nZCv IRQs on FIQs on Mode USER_26 Segment user
Control: 0
然后等待,过一会又出现
BINFMT_FLAT: reloc outside program 0x6e656c69 (0 - 0xffcc7564/0xf940), killing sh!
BINFMT_FLAT: reloc outside program 0x6e656c69 (0 - 0xffcc7564/0xf940), killing sh!
sh[11] killed because of sig - 11
STACK DUMP:
pc : [<01461474>] lr : [<6145d904>] Not tainted
sp : 011ffd6c ip : 011ffd80 fp : 011ffd7c
r10: 011e0004 r9 : 0000000f r8 : 0000015c
r7 : 00000000 r6 : 00000000 r5 : 0000000f r4 : 011ffd94
r3 : 0111c8a0 r2 : 011ffd84 r1 : 0111c8a0 r0 : fffffff8
Flags: nZCv IRQs on FIQs on Mode USER_26 Segment user
Control: 0
反正就是sh[11] killed because of sig - 11中的数字不停变大,请问一下这是怎么回事啊?我应该怎么解决呢? |
|