Uboot移植问题,求指教

小弟用的是华清的FS4412 v2的开发板,在进行他们给提供的Uboot移植实验时做到EMMC初始化时,编译后总是出错,不知道该怎解决,小弟自己已经研究了还几天了,就是解决不了,希望大神门给解决一下
出错的信息如下:
Generating include/autoconf.mk
Configuring for fs4412 board...
Generating include/autoconf.mk
Generating include/autoconf.mk.dep
arm-none-linux-gnueabi-gcc -DDO_DEPS_ONLY \
-g -Os -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x43E00000 -I/home/linux/yunshiming/Source_Code/u-boot-2013.01-fs4412/include -fno-builtin -ffreestanding -nostdinc -isystem /home/linux/yunshiming/system/gcc-4.6.4/bin/../lib/gcc/arm-arm1176jzfssf-linux-gnueabi/4.6.4/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mno-thumb-interwork -mabi=aapcs-linux -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector -Wno-format-nonliteral -Wno-format-security -fstack-usage \
-o lib/asm-offsets.s lib/asm-offsets.c -c -S
if [ -f arch/arm/cpu/armv7/exynos/asm-offsets.c ];then \
arm-none-linux-gnueabi-gcc -DDO_DEPS_ONLY \
-g -Os -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x43E00000 -I/home/linux/yunshiming/Source_Code/u-boot-2013.01-fs4412/include -fno-builtin -ffreestanding -nostdinc -isystem /home/linux/yunshiming/system/gcc-4.6.4/bin/../lib/gcc/arm-arm1176jzfssf-linux-gnueabi/4.6.4/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mno-thumb-interwork -mabi=aapcs-linux -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector -Wno-format-nonliteral -Wno-format-security -fstack-usage \
-o arch/arm/cpu/armv7/exynos/asm-offsets.s arch/arm/cpu/armv7/exynos/asm-offsets.c -c -S; \
else \
touch arch/arm/cpu/armv7/exynos/asm-offsets.s; \
fi
Generating include/generated/asm-offsets.h
tools/scripts/make-asm-offsets arch/arm/cpu/armv7/exynos/asm-offsets.s include/generated/asm-offsets.h
Generating include/generated/generic-asm-offsets.h
tools/scripts/make-asm-offsets lib/asm-offsets.s include/generated/generic-asm-offsets.h
for dir in tools examples/standalone examples/api arch/arm/cpu/armv7 ; do \
make -C $dir _depend ; done
make[1]: Entering directory /home/linux/yunshiming/Source_Code/u-boot-2013.01-fs4412/tools'
make[1]: Nothing to be done for
_depend'.
make[1]: Leaving directory /home/linux/yunshiming/Source_Code/u-boot-2013.01-fs4412/tools'
make[1]: Entering directory
/home/linux/yunshiming/Source_Code/u-boot-2013.01-fs4412/examples/standalone'
make[1]: Nothing to be done for _depend'.
make[1]: Leaving directory
/home/linux/yunshiming/Source_Code/u-boot-2013.01-fs4412/examples/standalone'
make[1]: Entering directory /home/linux/yunshiming/Source_Code/u-boot-2013.01-fs4412/examples/api'
make[1]: Nothing to be done for
_depend'.
make[1]: Leaving directory /home/linux/yunshiming/Source_Code/u-boot-2013.01-fs4412/examples/api'
make[1]: Entering directory
/home/linux/yunshiming/Source_Code/u-boot-2013.01-fs4412/arch/arm/cpu/armv7'
make[1]: Nothing to be done for _depend'.
make[1]: Leaving directory
/home/linux/yunshiming/Source_Code/u-boot-2013.01-fs4412/arch/arm/cpu/armv7'
make -C tools all
make -C arch/arm/cpu/armv7 start.o
make[1]: Entering directory /home/linux/yunshiming/Source_Code/u-boot-2013.01-fs4412/tools'
make[1]: *** No rule to make target
/home/linux/myfile/arm/u-boot-2013.01-fs4412/tools/gen_eth_addr.c', needed by gen_eth_addr.o'. Stop.
make[1]: Leaving directory
/home/linux/yunshiming/Source_Code/u-boot-2013.01-fs4412/tools'
make: *** [tools] Error 2
make: *** Waiting for unfinished jobs....
make[1]: Entering directory /home/linux/yunshiming/Source_Code/u-boot-2013.01-fs4412/arch/arm/cpu/armv7'
make[1]: *** No rule to make target
/home/linux/myfile/arm/u-boot-2013.01-fs4412/include/asm-offsets.h', needed by start.o'. Stop.
make[1]: Leaving directory
/home/linux/yunshiming/Source_Code/u-boot-2013.01-fs4412/arch/arm/cpu/armv7'
make: *** [arch/arm/cpu/armv7/start.o] Error 2
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
There are some error(s) while building uboot, please use command make to check.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

1个回答

是操作步骤有问题,把tools目录下的fs4412sql文件删除后,执行clean,然后重新编译就可以了

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!