出现错误-mem_bank 0 has exceed
# skyeye linux-2.4.x/linuxGNU 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 0x8115c58
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.
(gdb) load
Loading section .init, size 0xa000 vma 0x1000000
段错误 好像是你的skyeye.conf配置得有问题,
贴一下你的skyeye.conf吧! #skyeye config file sample
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=./boot.rom
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 你用的是哪个版本的skyeye啊?
好像是很老的版本。 skyeye-v0.2.6
该怎样配置呢?? 下载最新版本的skyeye吧
http://gro.clinux.org/projects/skyeye 换了版本后OK
页:
[1]