How can I disable building of u-boot in Yocto?
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.
BTW, Any reason to avoid building u-boot with Yocto?
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....
Just add IMAGE_BOOTLOADER = "" to your local.conf
Retrieving data ...