Multiple uboot defconfigs
I'm working with a device that can boot from nor, nand, emmc, and sdcard. I'd like to compile uboot for each of these configurations in one go in a single buildroot configuration, but it looks as though you can only specify a single uboot defconfig. Is there anyone that's also dealt with this scenario? or is there anything I've missed for compiling multiple uboot configs in a single buildroot configuration?
thanks,
Lance
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 1 line · Lance Fredrickson
I'm working with a device that can boot from nor, nand, emmc, and sdcard. I'd like to compile uboot for each of these configurations in one go in a single buildroot configuration, but it looks as though you can only specify a single uboot defconfig. Is there anyone that's also dealt with this scenario? or is there anything I've missed for compiling multiple uboot configs in a single buildroot configuration?
The problem is that U-Boot doesn't really support that scenario, so the only
thing you can do is to do _all_ the configure and build steps in a loop. With the kconfig infra of Buildroot, that's pretty much impossible. Yocto does have something like that, but they don't have things like make uboot-menuconfig which makes life a bit simpler.
So the best practical solution is to make a separate defconfig that builds
just U-Boot. And if you build a toolchain, use the one that you build for the rootfs as a pre-installed external toolchain.
Or, of course, you can choose to move the additional U-Boot builds outside of
Buildroot entirely, in a post-build script.
Regards,
Arnout
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot