当前时区 GMT+8, 现在时间是 2008-7-9 12:16 游客: 注册 登录 仅登录论坛 | 搜索 帮助


标题: skyeye在load时这种情况怎么回事
romezxy
新手上路
Rank: 1



UID 236453
精华 0
积分 40
帖子 16
阅读权限 10
注册 2007-1-27
状态 离线
发表于 2007-2-14 09:38  资料  短消息  加为好友 
skyeye在load时这种情况怎么回事

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

(gdb) load

Loading section .init, size 0xa000 vma 0x1000000

Segmentation fault

[root@localhost uClinux-dist]#


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

顶部
ksh
高级会员
Rank: 4


UID 92875
精华 1
积分 1465
帖子 771
阅读权限 50
注册 2004-2-4
来自 China
状态 离线
发表于 2007-2-14 16:42  资料  短消息  加为好友  添加 ksh 为MSN好友 通过MSN和 ksh 交谈
You can post your skyeye.conf here. That seems there is some error in your skyeye.conf.

顶部
romezxy
新手上路
Rank: 1



UID 236453
精华 0
积分 40
帖子 16
阅读权限 10
注册 2007-1-27
状态 离线
发表于 2007-2-14 18:59  资料  短消息  加为好友 
我想也是这样,但我的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
新手上路
Rank: 1



UID 236453
精华 0
积分 40
帖子 16
阅读权限 10
注册 2007-1-27
状态 离线
发表于 2007-2-14 19:25  资料  短消息  加为好友 
解决了,skyeye.conf错了,缺了一个mem_num: 7,写上就可以了.readme里就有.真是没看仔细.
置顶帖该更新了,我们新手不懂啊.
谢谢斑竹!!!!

顶部
 


Powered by Discuz! 5.5.0  © 2001-2007 Comsenz Inc.
清除 Cookies - 联系我们 - 中国Linux公社 - WAP