siuwash 发表于 2007-10-15 21:04:54

target sim 出问题了

# 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

ksh 发表于 2007-10-16 10:18:11

I guess there is something wrong in skyeye.conf. You can copythe 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

siuwash 发表于 2007-10-16 16:56:16

谢谢!!!不过还是有问题!!
# 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 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)起头的
这个是为什么呢?是不是我哪里的设置出错了?????
页: [1]
查看完整版本: target sim 出问题了