How to porting Yocto project u-boot

cancel
Showing results for 
Search instead for 
Did you mean: 

How to porting Yocto project u-boot

1,222 Views
petertseng
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!

Regards,

Labels (3)
0 Kudos
1 Reply

223 Views
gusarambula
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).

https://community.nxp.com/docs/DOC-94866

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

https://community.nxp.com/docs/DOC-328200

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

https://community.nxp.com/docs/DOC-331917

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

Regards,

0 Kudos