小弟用的是华清的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'
_depend'.
make[1]: Nothing to be done for
make[1]: Leaving directory /home/linux/yunshiming/Source_Code/u-boot-2013.01-fs4412/tools'
/home/linux/yunshiming/Source_Code/u-boot-2013.01-fs4412/examples/standalone'
make[1]: Entering directory
make[1]: Nothing to be done for _depend'.
/home/linux/yunshiming/Source_Code/u-boot-2013.01-fs4412/examples/standalone'
make[1]: Leaving directory
make[1]: Entering directory /home/linux/yunshiming/Source_Code/u-boot-2013.01-fs4412/examples/api'
_depend'.
make[1]: Nothing to be done for
make[1]: Leaving directory /home/linux/yunshiming/Source_Code/u-boot-2013.01-fs4412/examples/api'
/home/linux/yunshiming/Source_Code/u-boot-2013.01-fs4412/arch/arm/cpu/armv7'
make[1]: Entering directory
make[1]: Nothing to be done for _depend'.
/home/linux/yunshiming/Source_Code/u-boot-2013.01-fs4412/arch/arm/cpu/armv7'
make[1]: Leaving directory
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'
/home/linux/myfile/arm/u-boot-2013.01-fs4412/tools/gen_eth_addr.c', needed by
make[1]: *** No rule to make targetgen_eth_addr.o'. Stop.
/home/linux/yunshiming/Source_Code/u-boot-2013.01-fs4412/tools'
make[1]: Leaving directory
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'
/home/linux/myfile/arm/u-boot-2013.01-fs4412/include/asm-offsets.h', needed by
make[1]: *** No rule to make targetstart.o'. Stop.
/home/linux/yunshiming/Source_Code/u-boot-2013.01-fs4412/arch/arm/cpu/armv7'
make[1]: Leaving directory
make: *** [arch/arm/cpu/armv7/start.o] Error 2
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
There are some error(s) while building uboot, please use command make to check.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Uboot移植问题,求指教
- 写回答
- 好问题 0 提建议
- 追加酬金
- 关注问题
- 邀请回答
-
1条回答 默认 最新
悬赏问题
- ¥15 编译python程序为pyd文件报错:{"source code string cannot contain null bytes"
- ¥20 关于#r语言#的问题:广义加行模型拟合曲线后如何求拐点
- ¥15 fluent设置了自动保存后,会有几个时间点不保存
- ¥20 激光照射到四象线探测器,通过液晶屏显示X、Y值
- ¥15 这怎么做,怎么在我的思路下改下我这写的不对
- ¥50 数据库开发问题求解答
- ¥15 安装anaconda时报错
- ¥15 小程序有个导出到插件方式,我是在分包下引入的插件,这个export的路径对吗,我看官方文档上写的是相对路径
- ¥20 希望有人能帮我完成这个设计( *ˊᵕˋ)
- ¥100 将Intptr传入SetHdevmode()将Intptr传入后转换为DEVMODE的值与外部代码不一致