How to porting Yocto project u-boot

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to porting Yocto project u-boot

2,501件の閲覧回数
petertseng
Contributor IV

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,

ラベル(3)
0 件の賞賛
返信
1 返信

1,502件の閲覧回数
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 件の賞賛
返信