LS1021A-IOT u-boot rebuild with Yocto Project

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

LS1021A-IOT u-boot rebuild with Yocto Project

ソリューションへジャンプ
3,471件の閲覧回数
myungjinhwang
Contributor III

I'm following below command to rebuild u-boot

4. Rebuild u-boot

   $ bitbake -c cleansstate u-boot-ls1

   $ bitbake -c patch u-boot-ls1

   $ bitbake -c compile u-boot-ls1

   $ bitbake u-boot-ls1

first time, it's ok but after build, i modify and rebuild many times.

then modified files are not effective. so i have to command "bitbake -c cleansstate u-boot-ls1".

then modified files are deleted.... so i'm doing backup files and merge again after clean / patch.

how should i rebuild many times.....?

or to build u-boot with yocto project, should i clean every time?

0 件の賞賛
返信
1 解決策
2,793件の閲覧回数
addiyi
NXP Employee
NXP Employee

You can use something like this to modify and apply your modification to uboot build.

$ bitbake -c cleansstate u-boot-ls1

$ bitbake -c patch u-boot-ls1

Modify the uboot sources

$ bitbake -c compile u-boot-ls1

$ bitbake u-boot-ls1

Also, if you don't want to delete your files every time you modify uboot sources you can use:

$ bitbake -c compile -f u-boot-ls1

$ bitbake u-boot-ls1

Adrian

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
2,794件の閲覧回数
addiyi
NXP Employee
NXP Employee

You can use something like this to modify and apply your modification to uboot build.

$ bitbake -c cleansstate u-boot-ls1

$ bitbake -c patch u-boot-ls1

Modify the uboot sources

$ bitbake -c compile u-boot-ls1

$ bitbake u-boot-ls1

Also, if you don't want to delete your files every time you modify uboot sources you can use:

$ bitbake -c compile -f u-boot-ls1

$ bitbake u-boot-ls1

Adrian

0 件の賞賛
返信
2,793件の閲覧回数
myungjinhwang
Contributor III

thanks.....

what is the -f option?

0 件の賞賛
返信
2,793件の閲覧回数
addiyi
NXP Employee
NXP Employee

-f will force uboot recompilation.

Adrian

0 件の賞賛
返信