LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1930|回复: 1

skyeye仿真2410问题

[复制链接]
发表于 2008-1-10 20:54:28 | 显示全部楼层 |阅读模式
为什么执行的时候的起始地址会指向 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
发表于 2008-1-11 17:47:14 | 显示全部楼层
这种配置是对s3c2410 的nand boot 启动方式的模拟,需要配置 nandflash选项,并将vivi写入到 nand.dmp中去,见
http://lists.gro.clinux.org/pipe ... ptember/001517.html
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表