QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1205|回复: 2

skyeye的安装(配置uClinux)

[复制链接]
发表于 2005-4-22 19:28:32 | 显示全部楼层 |阅读模式
装好skyeye后要生成映象文件,故先在uClinux-dist下make dep,但在make或make romfs;make images时却:
make ARCH=armnommu CROSS_COMPILE=arm-elf- -C linux-2.4.x  || exit 1
make[1]: Entering directory `/opt/uClinux-dist/linux-2.4.x'
make[1]: 放弃循环依赖 /opt/uClinux-dist/linux-2.4.x/include/asm/memory.h <- /opt/uClinux-dist/linux-2.4.x/include/asm/arch/memory.h 。
make[1]: 放弃循环依赖 /opt/uClinux-dist/linux-2.4.x/include/asm/page.h <- /opt/uClinux-dist/linux-2.4.x/include/asm/arch/memory.h 。
. scripts/mkversion > .tmpversion
dnsdomainname: 未知的主机
arm-elf-gcc -D__KERNEL__ -I/opt/uClinux-dist/linux-2.4.x/include  -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-common -pipe -fno-builtin -D__linux__ -g -DNO_MM -mapcs-32 -march=armv4 -mtune=arm7tdmi -mshort-load-bytes -msoft-float  -DUTS_MACHINE='"armnommu"' -DKBUILD_BASENAME=version -c -o init/version.o init/version.c
make[2]: Entering directory `/opt/uClinux-dist/linux-2.4.x/arch/armnommu/tools'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/opt/uClinux-dist/linux-2.4.x/arch/armnommu/tools'
make CFLAGS="-D__KERNEL__ -I/opt/uClinux-dist/linux-2.4.x/include  -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-common -pipe -fno-builtin -D__linux__ -g -DNO_MM -mapcs-32 -march=armv4 -mtune=arm7tdmi -mshort-load-bytes -msoft-float " -C  kernel
make[2]: Entering directory `/opt/uClinux-dist/linux-2.4.x/kernel'
make all_targets
make[3]: Entering directory `/opt/uClinux-dist/linux-2.4.x/kernel'
make[3]: 放弃循环依赖 /opt/uClinux-dist/linux-2.4.x/include/asm/memory.h <- /opt/uClinux-dist/linux-2.4.x/include/asm/arch/memory.h 。
make[3]: 放弃循环依赖 /opt/uClinux-dist/linux-2.4.x/include/asm/page.h <- /opt/uClinux-dist/linux-2.4.x/include/asm/arch/memory.h 。
make[3]: Nothing to be done for `all_targets'.
make[3]: Leaving directory `/opt/uClinux-dist/linux-2.4.x/kernel'
make[2]: Leaving directory `/opt/uClinux-dist/linux-2.4.x/kernel'
make CFLAGS="-D__KERNEL__ -I/opt/uClinux-dist/linux-2.4.x/include  -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-common -pipe -fno-builtin -D__linux__ -g -DNO_MM -mapcs-32 -march=armv4 -mtune=arm7tdmi -mshort-load-bytes -msoft-float " -C  drivers
make[2]: Entering directory `/opt/uClinux-dist/linux-2.4.x/drivers'
make -C block
make[3]: Entering directory `/opt/uClinux-dist/linux-2.4.x/drivers/block'
make all_targets
make[4]: Entering directory `/opt/uClinux-dist/linux-2.4.x/drivers/block'
make[4]: 放弃循环依赖 /opt/uClinux-dist/linux-2.4.x/include/asm/memory.h <- /opt/uClinux-dist/linux-2.4.x/include/asm/arch/memory.h 。
make[4]: 放弃循环依赖 /opt/uClinux-dist/linux-2.4.x/include/asm/page.h <- /opt/uClinux-dist/linux-2.4.x/include/asm/arch/memory.h 。
arm-elf-gcc -D__KERNEL__ -I/opt/uClinux-dist/linux-2.4.x/include  -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-common -pipe -fno-builtin -D__linux__ -g -DNO_MM -mapcs-32 -march=armv4 -mtune=arm7tdmi -mshort-load-bytes -msoft-float   -nostdinc -iwithprefix include -DKBUILD_BASENAME=ll_rw_blk  -c -o ll_rw_blk.o ll_rw_blk.c
ll_rw_blk.c: In function `blk_queue_bounce_limit':
ll_rw_blk.c:266: `BLK_BOUNCE_HIGH' undeclared (first use in this function)
ll_rw_blk.c:266: (Each undeclared identifier is reported only once
ll_rw_blk.c:266: for each function it appears in.)
ll_rw_blk.c:269: `BLK_BOUNCE_ANY' undeclared (first use in this function)
ll_rw_blk.c:276: structure has no member named `bounce_pfn'
ll_rw_blk.c: In function `blk_seg_merge_ok':
ll_rw_blk.c:288: warning: implicit declaration of function `BH_CONTIG'
ll_rw_blk.c:288: warning: implicit declaration of function `BH_PHYS_4G'
ll_rw_blk.c: In function `blk_init_queue':
ll_rw_blk.c:503: `BLK_BOUNCE_HIGH' undeclared (first use in this function)
ll_rw_blk.c: In function `attempt_merge':
ll_rw_blk.c:873: warning: implicit declaration of function `req_merged_io'
ll_rw_blk.c: In function `__make_request':
ll_rw_blk.c:944: warning: implicit declaration of function `blk_queue_bounce'
ll_rw_blk.c:944: warning: assignment makes pointer from integer without a cast
ll_rw_blk.c:981: warning: implicit declaration of function `req_new_io'
ll_rw_blk.c:998: structure has no member named `hard_cur_sectors'
ll_rw_blk.c:1057: structure has no member named `hard_cur_sectors'
ll_rw_blk.c: In function `end_that_request_first':
ll_rw_blk.c:1365: structure has no member named `hard_cur_sectors'
ll_rw_blk.c: In function `blk_dev_init':
ll_rw_blk.c:1405: `max_pfn' undeclared (first use in this function)
make[4]: *** [ll_rw_blk.o] 错误 1
make[4]: Leaving directory `/opt/uClinux-dist/linux-2.4.x/drivers/block'
make[3]: *** [first_rule] 错误 2
make[3]: Leaving directory `/opt/uClinux-dist/linux-2.4.x/drivers/block'
make[2]: *** [_subdir_block] 错误 2
make[2]: Leaving directory `/opt/uClinux-dist/linux-2.4.x/drivers'
make[1]: *** [_dir_drivers] 错误 2
make[1]: Leaving directory `/opt/uClinux-dist/linux-2.4.x'
make: *** [linux] 错误 1
所以再连接自己编的skyeye.conf后启动skeye,执行target sim失败:
cpu info: armv3, arm7tdmi, 41007700, fff8ff00, 0
mach info: name at91, mach_init addr 0x81448d4
SKYEYE: use arm7100 mmu ops
./boot.rom: 没有那个文件或目录
bank 2, Couldn't open boot ROM ./boot.rom - execution will commence with the debuger.
可boot.rom有啊romfs.image也有,不过估计不完整,因为刚才make时错误
为什么????
急盼解答,谢谢大家了!
发表于 2005-4-23 17:49:52 | 显示全部楼层
did you execute command:
make menuconfig

?
回复

使用道具 举报

 楼主| 发表于 2005-4-23 18:42:57 | 显示全部楼层
of course
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-5 14:47 , Processed in 0.233000 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表