xutao83521 发表于 2005-4-22 19:28:32

skyeye的安装(配置uClinux)

装好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: Entering directory `/opt/uClinux-dist/linux-2.4.x'
make: 放弃循环依赖 /opt/uClinux-dist/linux-2.4.x/include/asm/memory.h <- /opt/uClinux-dist/linux-2.4.x/include/asm/arch/memory.h 。
make: 放弃循环依赖 /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: Entering directory `/opt/uClinux-dist/linux-2.4.x/arch/armnommu/tools'
make: Nothing to be done for `all'.
make: 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 " -Ckernel
make: Entering directory `/opt/uClinux-dist/linux-2.4.x/kernel'
make all_targets
make: Entering directory `/opt/uClinux-dist/linux-2.4.x/kernel'
make: 放弃循环依赖 /opt/uClinux-dist/linux-2.4.x/include/asm/memory.h <- /opt/uClinux-dist/linux-2.4.x/include/asm/arch/memory.h 。
make: 放弃循环依赖 /opt/uClinux-dist/linux-2.4.x/include/asm/page.h <- /opt/uClinux-dist/linux-2.4.x/include/asm/arch/memory.h 。
make: Nothing to be done for `all_targets'.
make: Leaving directory `/opt/uClinux-dist/linux-2.4.x/kernel'
make: 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 " -Cdrivers
make: Entering directory `/opt/uClinux-dist/linux-2.4.x/drivers'
make -C block
make: Entering directory `/opt/uClinux-dist/linux-2.4.x/drivers/block'
make all_targets
make: Entering directory `/opt/uClinux-dist/linux-2.4.x/drivers/block'
make: 放弃循环依赖 /opt/uClinux-dist/linux-2.4.x/include/asm/memory.h <- /opt/uClinux-dist/linux-2.4.x/include/asm/arch/memory.h 。
make: 放弃循环依赖 /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: *** 错误 1
make: Leaving directory `/opt/uClinux-dist/linux-2.4.x/drivers/block'
make: *** 错误 2
make: Leaving directory `/opt/uClinux-dist/linux-2.4.x/drivers/block'
make: *** 错误 2
make: Leaving directory `/opt/uClinux-dist/linux-2.4.x/drivers'
make: *** 错误 2
make: Leaving directory `/opt/uClinux-dist/linux-2.4.x'
make: *** 错误 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时错误
为什么????
急盼解答,谢谢大家了!

chyyuu 发表于 2005-4-23 17:49:52

did you execute command:
make menuconfig

?

xutao83521 发表于 2005-4-23 18:42:57

of course
页: [1]
查看完整版本: skyeye的安装(配置uClinux)