romezxy 发表于 2007-2-14 09:38:16

skyeye在load时这种情况怎么回事

我按照置顶帖安装了skyeye,编译了uclinux,但在skyeye的load时,是这样
# 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.

(gdb) load

Loading section .init, size 0xa000 vma 0x1000000

Segmentation fault

#


我的skyeye.conf是按照置顶帖里写的,应该没错,俺是新手,请高手看看.

ksh 发表于 2007-2-14 16:42:12

You can post your skyeye.conf here. That seems there is some error in your skyeye.conf.

romezxy 发表于 2007-2-14 18:59:32

我想也是这样,但我的skyeye.conf是从论坛置顶帖里直接copy的,就是这样:
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

应该没错啊.

romezxy 发表于 2007-2-14 19:25:13

解决了,skyeye.conf错了,缺了一个mem_num: 7,写上就可以了.readme里就有.真是没看仔细.
置顶帖该更新了,我们新手不懂啊.
谢谢斑竹!!!!
页: [1]
查看完整版本: skyeye在load时这种情况怎么回事