Yocto disable building of u-boot

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

Yocto disable building of u-boot

ソリューションへジャンプ
6,708件の閲覧回数
bjørnarsyversta
Contributor II

How can I disable building of u-boot in Yocto?

ラベル(1)
タグ(2)
1 解決策
4,354件の閲覧回数
daiane_angolini
NXP Employee
NXP Employee

meta-fsl-arm configuration set u-boot as the default configuration.

You can change some variables in order to avoid the u-boot build, or (better) build the other bootloader you need.

please, take a look on the following 2 files/lines

meta-fsl-arm - Layer containing Freescale ARM hardware support metadata (line 93)

meta-fsl-arm - Layer containing Freescale ARM hardware support metadata (line 3)

It will prevent you to have u-boot built. In case you´re creating your own meta layer, you can override the value of those variable in your configurations. But, be aware that the sdcard class (the one which creates the image *.sdcard) fail if you don´t provide any bootloader image (it will be a do_rootfs error, something like *file not found* for the bootloader file)

try and let me know the results.

元の投稿で解決策を見る

4 返答(返信)
4,354件の閲覧回数
csoapy
Contributor III

Just add IMAGE_BOOTLOADER = "" to your local.conf

0 件の賞賛
返信
4,354件の閲覧回数
LeonardoSandova
Specialist I

BTW, Any reason to avoid building u-boot with Yocto?

0 件の賞賛
返信
4,353件の閲覧回数
bjørnarsyversta
Contributor II

It seems for me that SMARC-sAMX6i from Kontron only delivers precompiled u-boot.

I have not seen into u-boot source from community, so could be that it is there....

0 件の賞賛
返信
4,355件の閲覧回数
daiane_angolini
NXP Employee
NXP Employee

meta-fsl-arm configuration set u-boot as the default configuration.

You can change some variables in order to avoid the u-boot build, or (better) build the other bootloader you need.

please, take a look on the following 2 files/lines

meta-fsl-arm - Layer containing Freescale ARM hardware support metadata (line 93)

meta-fsl-arm - Layer containing Freescale ARM hardware support metadata (line 3)

It will prevent you to have u-boot built. In case you´re creating your own meta layer, you can override the value of those variable in your configurations. But, be aware that the sdcard class (the one which creates the image *.sdcard) fail if you don´t provide any bootloader image (it will be a do_rootfs error, something like *file not found* for the bootloader file)

try and let me know the results.