[Buildroot] [PATCH] package/uboot-tools: add option to build env bin
matthew.weber at rockwellcollins.com
Sun May 10 21:14:23 UTC 2020
On Sat, May 9, 2020 at 4:58 AM Thomas Petazzoni
<thomas.petazzoni at bootlin.com> wrote:
> Hello Matt,
> On Fri, 8 May 2020 13:13:04 -0500
> Matt Weber <matthew.weber at rockwellcollins.com> wrote:
> > Add an option to allow the creation of a u-boot environment binary
> > from a set of provided source file(s) when the defconfig being built
> > does not offer the option via the u-boot package.
> I don't understand why we need this, when we already have
> BR2_TARGET_UBOOT_ENVIMAGE and related options in U-Boot.
> I don't see how the logic behind BR2_TARGET_UBOOT_ENVIMAGE depends on
> the defconfig being built.
The use case is when a defconfig doesn't select the u-boot package
(thus there isn't any uboot cfg / source code and the
BR2_TARGET_UBOOT_ENVIMAGE's dependencies on a uboot package build
isn't met to allow creating the env file). Maybe we should move the
creation of this env file (BR2_TARGET_UBOOT_ENVIMAGE) to uboot-tools
by default and when the uboot package is also built, evaluate if the
source files list is empty to generate a image from the uboot
package's compiled-in env defaults (ie. uses the uboot's
More information about the buildroot