打印
[嵌入式Linux]

OK6410上uboot移植问题

[复制链接]
1323|0
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
over_chain|  楼主 | 2014-9-2 14:29 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
我在OK6410的开发板上移植uboot,配置好make后总是失败,各位高手帮忙解决一下吧。谢谢!
主机环境:Ubuntu 12.04
uboot版本:u-boot-2010.03
编译环境:arm-linux-gcc-4.3.2

按照步骤修改配置后 make出现如下错误:


root@forlinx-virtual-machine:/forlinx/u-boot-2010.03# make smdk6410_config
Configuring for smdk6410 board...
root@forlinx-virtual-machine:/forlinx/u-boot-2010.03# make
Generating include/autoconf.mk
In file included from /forlinx/u-boot-2010.03/include/config.h:4,
                 from include/common.h:37:
/forlinx/u-boot-2010.03/include/configs/smdk6410.h:224:1: warning: multi-line comment
Generating include/autoconf.mk.dep
for dir in tools examples/standalone examples/api cpu/arm1176 /forlinx/u-boot-2010.03/board/samsung/smdk6400/ ; do \
   make -C $dir _depend ; done
make[1]: Entering directory `/forlinx/u-boot-2010.03/tools'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/forlinx/u-boot-2010.03/tools'
make[1]: Entering directory `/forlinx/u-boot-2010.03/examples/standalone'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/forlinx/u-boot-2010.03/examples/standalone'
make[1]: Entering directory `/forlinx/u-boot-2010.03/examples/api'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/forlinx/u-boot-2010.03/examples/api'
make[1]: Entering directory `/forlinx/u-boot-2010.03/cpu/arm1176'
make[1]: *** No rule to make target `.depend', needed by `_depend'.  Stop.
make[1]: Leaving directory `/forlinx/u-boot-2010.03/cpu/arm1176'
make[1]: Entering directory `/forlinx/u-boot-2010.03/board/samsung/smdk6400'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/forlinx/u-boot-2010.03/board/samsung/smdk6400'
make -C tools all
make[1]: Entering directory `/forlinx/u-boot-2010.03/tools'
gcc -g -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /forlinx/u-boot-2010.03/include -idirafter /forlinx/u-boot-2010.03/include2 -idirafter /forlinx/u-boot-2010.03/include -I /forlinx/u-boot-2010.03/libfdt -I /forlinx/u-boot-2010.03/tools -DTEXT_BASE= -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -c -o env_embedded.o /forlinx/u-boot-2010.03/common/env_embedded.c
In file included from /forlinx/u-boot-2010.03/include/config.h:4:0,
                 from /forlinx/u-boot-2010.03/common/env_embedded.c:28:
/forlinx/u-boot-2010.03/include/configs/smdk6410.h:48:45: error: operator '>=' has no left operand
make[1]: *** [env_embedded.o] Error 1
make[1]: Leaving directory `/forlinx/u-boot-2010.03/tools'
make: *** [tools] Error 2

相关帖子

发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

2

主题

24

帖子

1

粉丝