i.MX6 Yocto 单独编译 uboot 报错

i.MX6 单独编译 uboot 我使用的是

ipual@ipual-virtual-machine:/opt/yocto/fsl-release-bsp/build-mini$ bitbake -c compile -f -v u-boot-imx

但是在编译过程中出现如下报错

ERROR: u-boot-imx-2016.03-r0 do_compile: oe_runmake failed
ERROR: u-boot-imx-2016.03-r0 do_compile: Function failed: do_compile (log file is located at /opt/yocto/fsl-release-bsp/build-mini/tmp/work/imx6sxsabresd-poky-linux-gnueabi/u-boot-imx/2016.03-r0/temp/log.do_compile.26242)
ERROR: Logfile of failure stored in: /opt/yocto/fsl-release-bsp/build-mini/tmp/work/imx6sxsabresd-poky-linux-gnueabi/u-boot-imx/2016.03-r0/temp/log.do_compile.26242

ERROR: Task 4 (/opt/yocto/fsl-release-bsp/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-bsp/u-boot/u-boot-imx_2016.03.bb, do_compile) failed with exit code '1'

由于一开始编译时可以成功的,且编译中途有终止过,所以怀疑是需要清除编译过程中产生的中间文件
使用如下指令清除中间文件

make mrproper

再继续编译

bitbake -c compile -f -v u-boot-imx

部署内核镜像到deploy目录

bitbake -c deploy -f -v u-boot-imx

编译成功如下显示

NOTE: Tasks Summary: Attempted 234 tasks of which 233 didn't need to be rerun and all succeeded.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值