搞了一个月,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),结果是失望的
# ../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: *** 错误 1
make: Leaving directory `/uclinux/uClinux-dist/lib/libc/sysdeps'
make: *** 错误 1
make: Leaving directory `/uclinux/uClinux-dist/lib/libc'
make: *** 错误 2
make: Leaving directory `/uclinux/uClinux-dist/lib'
make: *** 错误 1
于是添加一行
#define EINVAL 22
boa.elf2flt(.text+0xc6d8): more undefined references to `__syscall_error' follow
collect2: ld returned 1 exit status
make: *** 错误 1
make: Leaving directory `/uclinux/uClinux-dist/user/boa/src'
make: *** 错误 2
make: Leaving directory `/uclinux/uClinux-dist/user/boa'
make: *** 错误 2
make: Leaving directory `/uclinux/uClinux-dist/user'
make: *** 错误 1
到网上也没有找到解决办法,也是一大堆错误,建议skyeye和uClinux项目换人,这些人的make功底不深, 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/[email protected]/msg00874.html 终于运行起来了,先总结一下,
等思路清晰了,发个帖子 :idea: 兄弟思路清晰了没,发个总结帖子吧,我的问题和你的一样。
页:
[1]