elf@elf-ubuntu:~/ecos/ecos-cvs/temp/44b0/rbof_install/bin$ ./skyeye -e redboot.elf
big_endian is false.
arch: arm
cpu info: armv3, arm7tdmi, 41007700, fff8ff00, 0
mach info: name s3c44b0, mach_init addr 0x8057f70
uart_mod:0, desc_in:, desc_out:, converter:
SKYEYE: use arm7100 mmu ops
exec file "redboot.elf"'s format is elf32-little.
not load section .debug_aranges: addr = 0x00000000 size = 0x00001288 .
not load section .debug_pubnames: addr = 0x00000000 size = 0x0000221f .
not load section .debug_info: addr = 0x00000000 size = 0x00024ff0 .
not load section .debug_abbrev: addr = 0x00000000 size = 0x0000569b .
not load section .debug_line: addr = 0x00000000 size = 0x00014702 .
not load section .debug_frame: addr = 0x00000000 size = 0x000032a0 .
not load section .debug_str: addr = 0x00000000 size = 0x0000529e .
load section .rom_vectors: addr = 0x00000000 size = 0x00000040.
load section .text: addr = 0x00000040 size = 0x0000fdbc.
not load section .fini: addr = 0x0000fdfc size = 0x00000000 .
load section .rodata: addr = 0x0000fdfc size = 0x00002e8f.
not load section .rodata1: addr = 0x00012c8c size = 0x00000000 .
not load section .fixup: addr = 0x00012c8c size = 0x00000000 .
not load section .gcc_except_table: addr = 0x00012c8c size = 0x00000000 .
not load section .fixed_vectors: addr = 0x0c000100 size = 0x00000140 .
load section .data: lma = 0x00012c8c (vma = 0x0c000240) size = 0x00000858.
not load section .bss: addr = 0x0c000a98 size = 0x000043c8 .
not load section .debug_ranges: addr = 0x00000000 size = 0x00000650 .
call ARMul_InitSymTable,kernel filename is redboot.elf.
start addr is set to 0x00000040 by exec file.
在上面 load section .data: lma = 0x00012c8c (vma = 0x0c000240) size = 0x00000858.
这里数据应该定位在ROM区域,而现在是0x00012c8c区域是全0
下面是同一个程序的BIN格式,如果需要程序测试请告诉我一个邮箱。
elf@elf-ubuntu:~/ecos/ecos-cvs/temp/44b0/rbof_install/bin$ ./skyeye
**************************** WARNING **********************************
If you want to run ELF image, you should use -e option to indicate
your elf-format image filename. Or you only want to run binary image,
you need to set the filename of the image and its entry in skyeye.conf.
***********************************************************************
big_endian is false.
arch: arm
cpu info: armv3, arm7tdmi, 41007700, fff8ff00, 0
mach info: name s3c44b0, mach_init addr 0x8057f70
uart_mod:0, desc_in:, desc_out:, converter:
SKYEYE: use arm7100 mmu ops
Loaded RAM ./redboot.bin
+FLASH: driver init failed: Driver does not support device
Sorry, FLASH config exceeds available space in FIS directory
RedBoot(tm) bootstrap and debug environment [ROM]
Non-certified release, version UNKNOWN - built 18:54:10, Jul 10 2008
Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.
Copyright (C) 2003, 2004, 2005, 2006 eCosCentric Limited
RAM: 0x0c000000-0x0c800000, [0x0c004e60-0x0c7fd000] available
FLASH: 0x00000000 - 0x1, 0 blocks of 0x00000000 bytes each.
RedBoot> |