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


标题: 搞了一个月,skyeye+uclinux还是没有运行起来?
netfarming
新手上路
Rank: 1



UID 197087
精华 0
积分 20
帖子 8
阅读权限 10
注册 2005-8-7
状态 离线
发表于 2007-5-5 18:34  资料  主页 短消息  加为好友 
搞了一个月,skyeye+uclinux还是没有运行起来?

用testsuit2里的skyeye提示说找不到libbfd-2.16.91.so,
然后发现/usr/lib 中有libbfd-2.17.50.0.3-6.so
ln -s libbfd-2.17.50.0.3-6.so libbfd-2.16.91.so
在at91测试目录中运行,出现如下:
arch: arm
cpu info: armv3, arm7tdmi, 41007700, fff8ff00, 0
mach info: name at91, mach_init addr 0x80650d0
ethmod num=1, mac addr=0:4:3:2:1:f, hostip=10.0.0.1
SKYEYE: use arm7100 mmu ops
Loaded ROM   ./romfs.img
exec file "linux"'s format is elf32-little.
段错误


用testsuit2里的skyeye运行自己编译的uclinux2005(linux2.4.x +uClibc),出现如下:
arch: arm
cpu info: armv3, arm7tdmi, 41007700, fff8ff00, 0
mach info: name at91, mach_init addr 0x80650d0
can't find device module: (null)
SKYEYE: use arm7100 mmu ops
Loaded ROM   images/romfs.img
exec file "linux-2.4.x/linux"'s format is elf32-little.
段错误

自己编译skyeye-v1 make NO_BFD=1,运行自己编译的uclinux 2005(linux2.4.x +uClibc)
arch: arm
cpu info: armv3, arm7tdmi, 41007700, fff8ff00, 0
mach info: name at91, mach_init addr 0x8059ba0
can't find device module: (null)
SKYEYE: use arm7100 mmu ops
Loaded ROM   images/romfs.img
就不动了
甚至出现终端死掉,之后不管如何,就是没法运行
试试linux-2.0.x出错、linux-2.6.x也出错
就2.4.x编译不出错,但总是停在Loaded ROM   images/romfs.img
或者停在start 0X0100000之类,

尝试uClinux2004版本旧一点,应该好运行,还是不行,试了无数次,还是不行,

于是下了一个uClinux-2007即最新的包,编译也是错误一大堆,解决一个,还有另一个,别提用skyeye模拟了,不能编译成功


用自己编译的skyeye_1_2_2_Rel运行uClinux20051110中的linux-2.4.x (库为uClibc),结果是失望的
[root@li uClinux-dist]# ../skyeye_1_2_2_Rel/binary/skyeye -e linux-2.4.x/linux
arch: arm
cpu info: armv3, arm7tdmi, 41007700, fff8ff00, 0
mach info: name at91, mach_init addr 0x8056d50
uart_mod:0, desc_in:, desc_out:
SKYEYE: use arm7100 mmu ops
Loaded ROM   images/romfs.img
start addr is set to 0x01000000 by exec file.
停这里不动了。

当选库为uC-lic时,结果还是失望的
arm/clone.S: Assembler messages:
arm/clone.S:34: Error: undefined symbol `EINVAL' in operation
make[3]: *** [arm/clone.o] 错误 1
make[3]: Leaving directory `/uclinux/uClinux-dist/lib/libc/sysdeps'
make[2]: *** [subdirs] 错误 1
make[2]: Leaving directory `/uclinux/uClinux-dist/lib/libc'
make[1]: *** [all] 错误 2
make[1]: Leaving directory `/uclinux/uClinux-dist/lib'
make: *** [subdirs] 错误 1

于是添加一行
#define EINVAL 22

boa.elf2flt(.text+0xc6d: more undefined references to `__syscall_error' follow
collect2: ld returned 1 exit status
make[3]: *** [boa] 错误 1
make[3]: Leaving directory `/uclinux/uClinux-dist/user/boa/src'
make[2]: *** [all] 错误 2
make[2]: Leaving directory `/uclinux/uClinux-dist/user/boa'
make[1]: *** [all] 错误 2
make[1]: Leaving directory `/uclinux/uClinux-dist/user'
make: *** [subdirs] 错误 1

到网上也没有找到解决办法,也是一大堆错误,建议skyeye和uClinux项目换人,这些人的make功底不深,

顶部
ksh
高级会员
Rank: 4


UID 92875
精华 1
积分 1470
帖子 782
阅读权限 50
注册 2004-2-4
来自 China
状态 离线
发表于 2007-5-9 22:02  资料  短消息  加为好友  添加 ksh 为MSN好友 通过MSN和 ksh 交谈
We always welcome more developer to join skyeye team. You can refer to the following URL to run your uClinux image:
http://www.mail-archive.com/uclinux-dev@uclinux.org/msg00874.html

顶部
netfarming
新手上路
Rank: 1



UID 197087
精华 0
积分 20
帖子 8
阅读权限 10
注册 2005-8-7
状态 离线
发表于 2007-5-18 12:09  资料  主页 短消息  加为好友 
终于运行起来了,先总结一下,
等思路清晰了,发个帖子

顶部
patwang
新手上路
Rank: 1


UID 24886
精华 0
积分 3
帖子 1
阅读权限 10
注册 2003-3-28
来自 China.gif
状态 离线
发表于 2007-6-5 21:35  资料  短消息  加为好友 
兄弟思路清晰了没,发个总结帖子吧,我的问题和你的一样。

顶部
 


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