QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1684|回复: 2

target sim 出问题了

[复制链接]
发表于 2007-10-15 21:04:54 | 显示全部楼层 |阅读模式
[root@siuwash uClinux-dist]# skyeye -e linux-2.4.x/linux
GNU gdb 5.0
Copyright 2000 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 GDB was configured as "--host=i686-pc-linux-gnu --target=arm-elf".
(gdb) target sim
cpu info: armv3, arm7tdmi, 41007700, fff8ff00
mach info: name at91, mach_init addr 0x8115bf4
Error: mem_bank 0 has exceed mem_num.
"mem_bank" option parameter error!
Error: mem_bank 0 has exceed mem_num.
"mem_bank" option parameter error!
Error: mem_bank 0 has exceed mem_num.
"mem_bank" option parameter error!
Error: mem_bank 0 has exceed mem_num.
"mem_bank" option parameter error!
Error: mem_bank 0 has exceed mem_num.
"mem_bank" option parameter error!
Error: mem_bank 0 has exceed mem_num.
"mem_bank" option parameter error!
Error: mem_bank 0 has exceed mem_num.
"mem_bank" option parameter error!
Connected to the simulator.
哪位大虾帮我看看出了什么问题@@@@不胜感激
配置如下:
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=images/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
发表于 2007-10-16 10:18:11 | 显示全部楼层
I guess there is something wrong in skyeye.conf. You can copy  the following content to your skyeye.conf.

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
net: type=rtl8019, mac=0:4:3:2:1:f, ethmod=tuntap, hostip=10.0.0.1
#net: type=rtl8019_16, ethmod=tuntap, hostip=10.0.0.1
#dbct: state=on
回复

使用道具 举报

 楼主| 发表于 2007-10-16 16:56:16 | 显示全部楼层
谢谢!!!不过还是有问题!!
[root@siuwash uClinux-dist]# skyeye
GNU gdb 5.0
Copyright 2000 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 GDB was configured as "--host=i686-pc-linux-gnu --target=arm-elf".
(gdb) target sim
cpu info: armv3, arm7tdmi, 41007700, fff8ff00
mach info: name at91, mach_init addr 0x8115bf4
Error: mem_bank 0 has exceed mem_num.
"mem_bank" option parameter error!
Error: mem_bank 0 has exceed mem_num.
"mem_bank" option parameter error!
Error: mem_bank 0 has exceed mem_num.
"mem_bank" option parameter error!
Error: mem_bank 0 has exceed mem_num.
"mem_bank" option parameter error!
Error: mem_bank 0 has exceed mem_num.
"mem_bank" option parameter error!
Error: mem_bank 0 has exceed mem_num.
"mem_bank" option parameter error!
Error: mem_bank 0 has exceed mem_num.
"mem_bank" option parameter error!
nic[0] info: state=0, ethmod num=1, mac addr=0:4:3:2:1:f, hostip=10.0.0.1
Connected to the simulator.
我把那个配置文件按照你说的改了,但是还是不行!!!!!
我有一点觉得奇怪,就是我那里是以
(gdb) 起头的
可是我看见别人的都是以
(skyeye)起头的
这个是为什么呢?是不是我哪里的设置出错了?????
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-11-26 13:05 , Processed in 0.065351 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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