|
本人用FC4,arm-elf-tools-20030314
安装了skyeye-1.2-RC7-2.tar.bz2.
按照使用说明编译uClinux-dist-20040408
make config选择GDB/ARMulator linkux-2.4.x uC-libc
然后make dep ;make
一切顺利,就是在make的后段出现一些错误arm-elf-strip /usr/src/uClinux-dist/romfs/lib/*
arm-elf-strip: /usr/src/uClinux-dist/romfs/lib/*: ?????????
make[1]: [romfs] 错误 1 (忽略)
make[1]: Leaving directory `/usr/src/uClinux-dist/lib'
make[1]: Entering directory `/usr/src/uClinux-dist/user'
但能生成需要的romfs和linux文件.
skyeye.conf如下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
然后运行就出现段错误了[root@localhost uClinux-dist]# skyeye -e ./linux-2.4.x/linux -c skyeye.conf
arch: arm
cpu info: armv3, arm7tdmi, 41007700, fff8ff00, 0
mach info: name at91, mach_init addr 0x80683cc
SKYEYE: use arm7100 mmu ops
Loaded ROM images/romfs.img
段错误
在一些论坛上也看到过类似的问题,是说编译uClinux时要
make config;make dep;make lib_only;make user_only;make romfs;make;make image
一步一步的编译,我试过了也会出现段错误.
Thanks! |
|