U-Boot Build issue

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

U-Boot Build issue

986 次查看
devikar
Contributor II

Hi,

We have setup Yocto project 4.9.11_1.0.0 on a imx6qpsabresd based custom board.

We  want to build u-boot image.

We have tried to build u-boot using following command

   $ MACHINE=imx6qpsabresd bitbake -c deploy u-boot-imx

But the output images were not getting updated.

Hence we have cleaned u-boot using the command "bitbake -c clean u-boot-imx "

It has cleaned the output images but failing to build again.

We are not getting any error if we execute " MACHINE=imx6qpsabresd bitbake -c deploy u-boot-imx" but we are not able to see any output images of u-boot in tmp/deplot/images/imx6qpsabresd/ directory.

Please let us know how to restore the u-boot images again.

Regards

Devika

标签 (2)
2 回复数

871 次查看
kunalkotecha1
Senior Contributor II

Hi devikar@implantaire.com,

Once you have done the setup environment for the machine that you are using, you do not need to use MACHINE during image building every time.

Please use the below command to set up the environment for the first time:

DISTRO=<distro name> MACHINE=<machine name> source fsl-setup-release.sh -b <build dir>


Please use the following steps to clean and build u-boot:
bitbake -c cleansstate u-boot-imx
bitbake -f u-boot-imx

Please find attached Yocto Project User Guide for your reference. Let us know in case of any other concerns.

Regards,

Kunal

871 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Good

0 项奖励