I have compiled both uclinux and skyeye,but when running,the error occur as follow, any reply will be appreciate.

I have download and install the following: arm-uclinux-elf-tools-base-gcc3.4.3-20050722 skyeye_1_2_2_Rel uClinux-dist-20070130.tar

and build the uClinux using the following config: Vendor: gdb Product:ARMulator kernel: both linux-2.4.x and linux-2.6.x have been test. which lead to almost the same error. Libc Version: uClibc

issue the follow command to compile: make menuconfig make CROSS_COMPILE=arm-elf- dep make CROSS_COMPILE=arm-elf-

It compile success,and produce the boot.rom and linux in the images directory.

but when I run skyeye(skyeye -e /linux) with the following config:

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=./ 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

the follow error occur: arch: arm cpu info: armv3, arm7tdmi, 41007700, fff8ff00, 0 mach info: name at91, mach_init addr 0x8057490 uart_mod:0, desc_in:, desc_out: SKYEYE: use arm7100 mmu ops Loaded ROM ./romfs.img exec file "linux"'s format is elf32-little. load section .init: addr = 0x01000000 size = 0x0000a000. load section .text: addr = 0x0100a000 size = 0x000d0c40. 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 = 0x00aad251 . not load section .debug_line: addr = 0x00000000 size = 0x000a3cf3 . 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 = 0x000233e9 . not load section .debug_frame: addr = 0x00000000 size = 0x000191a4 . 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@localhost) (gcc version 3.4.3) #8 Sun May 20 23:37:21 CST 2007 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-14E4BFF [VIRTUAL 1400000-14E4BFF] (RO) 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 - 0xffc7da74/0xf920), killing sh! BINFMT_FLAT: reloc outside program 0x6e656c69 (0 - 0xffc7da74/0xf920), killing sh! sh[7] killed because of sig - 11 STACK DUMP: pc : [] lr : [] 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 - 0xffc7da74/0xf920), killing sh! BINFMT_FLAT: reloc outside program 0x6e656c69 (0 - 0xffc7da74/0xf920), killing sh! sh[8] killed because of sig - 11 STACK DUMP: pc : [] lr : [] Not tainted sp : 011ffd6c ip : 011ffd80 fp : 011ffd7c r10: 011e0004 r9 : 00000001 r8 : 0000015c r7 : 00000000 r6 : 00000000 r5 : 00000000 r4 : 011ffd94 r3 : 0114c000 r2 : 011ffd84 r1 : 0111c8a0 r0 : fffffff8 Flags: nzCv IRQs on FIQs on Mode USER_26 Segment user Control: 0

consult the output of the result,It seem tells that kernel have boot success,and error occur when calling the sh command.

has someone any idea, thanks.

Reply to
linarin
Loading thread data ...

I have found the solution myself.

all the error is that an bug exist in compiler tool arm-uclinux-elf- tools-base-gcc3.4.3-20050722 change compile tool to arm-linux-tools-20061213.tar.gz, inside the package, the gcc version is 3.4.4

here is the tool link:

formatting link

Reply to
linarin

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.