U-Boot Build issue

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

U-Boot Build issue

1,417 Views
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

Labels (2)
2 Replies

1,302 Views
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

1,302 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Good

0 Kudos
Reply