[Buildroot] [PATCH v3] barebox: add an option to embed environment image

Yegor Yefremov yegorslists at googlemail.com
Thu May 5 15:17:54 UTC 2016


Hi Thomas,

On Thu, May 5, 2016 at 3:56 PM, Thomas Petazzoni
<thomas.petazzoni at free-electrons.com> wrote:
> Hello,
>
> On Wed,  4 May 2016 13:14:59 +0200, yegorslists at googlemail.com wrote:
>
>> +config BR2_TARGET_BAREBOX_AUX_CUSTOM_EMBEDDED_ENV_PATH
>> +     string "Embedded environment path"
>> +     help
>
> We already have an option BR2_TARGET_BAREBOX_CUSTOM_ENV_PATH, which if
> I understand correctly, generates a Barebox environment image (but not
> built into the Barebox binary itself).
>
> Wouldn't it make more sense to simply add a boolean option that says
> whether the Barebox environment should be built-in or not? Something
> like:
>
>         (board/foo/bar/barebox.env) Environment path
>         [*] Embed the environment in the image

We've already discussed this. Both images can be useful together.
Embedded image contains recovery scripts and external image real
scripts, variables. For example at production stage you don't have
external image, so embedded one takes care, after production external
image will be used and so on.

Yegor


More information about the buildroot mailing list