imx编译uboot
按照OKMX6X-C-QT5.6-Linux5.1.15-用户手册编译u-boot,出现下面这个问题:CLEAN scripts/basic
CLEAN scripts/kconfig
CLEAN include/config include/generated
CLEAN .config include/autoconf.mk include/autoconf.mk.dep include/config.h
HOSTCCscripts/basic/fixdep
HOSTCCscripts/kconfig/conf.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/zconf.lex.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCCscripts/kconfig/zconf.tab.o
HOSTLDscripts/kconfig/conf
#
# configuration written to .config
#
scripts/kconfig/conf--silentoldconfig Kconfig
CHK include/config.h
UPD include/config.h
GEN include/autoconf.mk.dep
GEN include/autoconf.mk
CHK include/config/uboot.release
CHK include/generated/timestamp_autogenerated.h
UPD include/generated/timestamp_autogenerated.h
UPD include/config/uboot.release
CFG u-boot.cfg
cc1: error: bad value (armv5) for -march= switch
make: *** Error 1
cp: cannot stat `u-boot.imx': No such file or directory
请问u-boot.cfg这个文件是在哪里 你好使用用户资料中的uboot源码 编译是没问题的
问一下你具体编译的那个 .sh文件? 飞凌-chongzi 发表于 2019-5-27 10:30
你好使用用户资料中的uboot源码 编译是没问题的
问一下你具体编译的那个 .sh文件?
root@ubuntu:/home/lyp/uboot-2016# ls
api build_6q_s3.shdrivers Licenses post
arch build_mfg.sh dts logo README
board cmd examplesMAINTAINERS scripts
build_6dl_c.sh common fs MAKEALL snapshot.commit
build_6dl_s2.shconfig.mk include Makefile test
build_6dl_s3.shconfigs Kbuild mx6dlsabresd_configtools
build_6q_c.sh disk Kconfig mx6qsabresd_config
build_6q_s2.sh doc lib net
root@ubuntu:/home/lyp/uboot-2016# ./build_6dl_c.sh
您好,编译的是build_6dl_c.sh这个文件 naruto6398001 发表于 2019-5-27 21:01
root@ubuntu:/home/lyp/uboot-2016# ls
api build_6q_s3.shdrivers Licenses ...
楼主参考用户5.4.1章节 步骤2 加载环境变量 然后再执行.sh文件编译UBOOT 镜像 即可
页:
[1]