How to porting Yocto project u-boot

Showing results for 
Search instead for 
Did you mean: 

How to porting Yocto project u-boot

Contributor III

Hi i.MX Community,

I would like to add customer's board into the UBOOT.

But when I execute this clean instruction

$ bitbake -c clean u-boot

The files in the "fsl-release-bsp/build/tmp/work/imx6solosabresd-poky-linux-gnueabi/u-boot-imx/2015.04-r0/git" folder will be cleared.

How to porting Yocto project u-boot??


Hope for your help!


Labels (3)
0 Kudos
1 Reply

NXP TechSupport
NXP TechSupport

Hello Peter Tseng,

As you mention the clean instruction will delete the packages associated with the u-boot recipe.

If you wish to add support for a custom board my recommendation would be looking for one of the existing machine configurations (MACHINE, like imx6sabresd for example) and working with it as a starting point and performing the necessary changes.

Yocto is focused more on distribution than development so it would be easier to work locally and once you have the necessary changes for your board load it all on a new layer.

If you are not very familiar with Yocto I would recommend looking at the following training, which is very informative and easy to follow (there are several task showing different configurations).

For a very good guide on customizing u-boot please look at the following document.

As for creating a new layer please look at the following layer.

I know this is a lot of information but I hope it serves as a guidelines for your design.


0 Kudos