|
为什么执行的时候的起始地址会指向 0x00000000 的呢?
好像不太对的样子。
而且没有那一行:load section .init: addr=.........
为什么会这样?
内核版本2.4.18
bigcat@chris ~/work/vmarm $ skyeye -e vmlinux
------------------------- SkyEye -V1.0 ---------------------------
Usage: SkyEye [options] program [program args]
Default mode is STANDALONE mode
------------------------------------------------------------------
Options:
-e exec-file the (ELF executable format)kernel file name.
-d in GDB Server mode (can be connected by GDB).
-c config-file the skyeye configure file name.
-h This Help Display
------------------------------------------------------------------
debugmode= 0, filename = (null), server TCP port is 12345
cpu info: armv4, arm920t, 41009200, ff00fff0, 2
mach info: name s3c2410x, mach_init addr 0x808e9d0
SKYEYE: use arm920t mmu ops
exec file "vmlinux"'s format is elf32-little.
load section .text: addr = 0x00000000 size = 0x000b3d88.
load section .got: addr = 0x000b3d88 size = 0x000000bc.
load section .got.plt: addr = 0x000b3e44 size = 0x0000000c.
load section .data: addr = 0x000b3e50 size = 0x00000000.
not load section .bss: addr = 0x000b3e50 size = 0x00008438 .
load section .stack: addr = 0x000bc288 size = 0x00001000.
not load section .comment: addr = 0x00000000 size = 0x00000026 .
start addr is set to 0x00000000 by exec file.
卡在这里,不动了。
附skyeye.conf
cpu: arm920t
mach: s3c2410x
#
mem_bank: map=M, type=RW, addr=0x00000000, size=0x00004000, file=./vivi.bin,boot=yes
mem_bank: map=M, type=RW, addr=0x01000000, size=0x00400000
mem_bank: map=M, type=R, addr=0x01400000, size=0x00400000, file=./initrd.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 |
|