Yocto disable building of u-boot

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Yocto disable building of u-boot

Jump to solution
5,026 Views
bjørnarsyversta
Contributor II

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

Labels (1)
Tags (2)
1 Solution
2,672 Views
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.

View solution in original post

4 Replies
2,672 Views
csoapy
Contributor III

Just add IMAGE_BOOTLOADER = "" to your local.conf

0 Kudos
2,672 Views
LeonardoSandova
Specialist I

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

0 Kudos
2,671 Views
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 Kudos
2,673 Views
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.