|
我的binary文件u-boot.bin在arm处理器s3c44b0上可以成功运行,并支持网络功能,但我把该文件拿到skyeye仿真环境下却无法运行,哪位能够给我解答不胜感激!
现象如下:
***********************************************************************
**** ****
**** SkyEye Simulator Ver 0.9.5 with GDB/Insight 5.3 Interface ****
**** ****
***********************************************************************
GNU gdb 5.3
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This SkyEye was configured as "--host=i686-pc-cygwin --target=arm-elf"...Dwarf E
rror: bad offset (0xc11e9ba) in compilation unit header (offset 0x0 + 6).
target sim ...
cpu info: armv3, arm7tdmi, 41007700, fff8ff00, 0
mach info: name s3c44b0, mach_init addr 0x4fa900
SKYEYE: use arm7100 mmu ops
Loaded RAM ./u-boot.bin
Connected to the simulator.
load ...
Loading section .text, size 0x14494 vma 0xc100000
Loading section .rodata, size 0x414c vma 0xc114494
Loading section .data, size 0xc1c vma 0xc1185e0
Loading section .u_boot_cmd, size 0x3c0 vma 0xc1191fc
Start address 0xc100000
Transfer rate: 830944 bits in <1 sec.
Type 'run' command to startup system ...
sim_info called
在这里程序就死掉了,skyeye.conf文件内容如下
#kyeye config file sample
cpu: arm7tdmi
mach: s3c44b0
mem_bank: map=M, type=RW, addr=0x00000000, size=0x00200000
mem_bank: map=I, type=RW, addr=0x01c00000, size=0x00400000
mem_bank: map=M, type=RW, addr=0x02000000, size=0x00000000
mem_bank: map=M, type=RW, addr=0x04000000, size=0x00000000
mem_bank: map=M, type=RW, addr=0x06000000, size=0x00000000
mem_bank: map=M, type=RW, addr=0x08000000, size=0x00008000
mem_bank: map=M, type=RW, addr=0x0c000000, size=0x00800000, file=./u-boot.bin,boot=yes
mem_bank: map=M, type=RW, addr=0x0f000000, size=0x00000000
#set nic info state=on/off mac=xxxxxxx ethmod=tuntap/vnet hostip=dd.dd.dd.dd
net: state=on, mac=0:4:3:2:1:f, ethmod=tuntap, hostip=10.0.0.1
binary文件绝对没有问题,在44b0上能够成功运行并能下载uclinuxram.bin文件启动uclinux,刚接触skyeye,感觉软件仿真概念挺好,但就是不会用,哪位能够指点一二?先谢谢各位了! |
|