[U-Boot] [PATCH 04/10] samsung: misc: set the dfu bootloader setting at boot time.

Przemyslaw Marczak
2014-06-11T13:07:34Z

Hi Inha,

On 06/11/2014 04:03 AM, Inha Song wrote:
> Hi Przemyslaw,
>
> I have a question.
>
> "dfu_alt_bootloader" env is settings successfully
>> dfu_alt_bootloader=u-boot raw 0x3e 0x800 mmcpart 1
>
> But,
> In order to replace bootloader binary in thor mode,
> How can I use the "dfu_alt_bootloader" env?
>
> DFU gadget use "dfu_alt_info" env for DFU entities configuration.
>
> Is there any patch to support multiple "dfu_alt" environment, or
> "dfu_alt_info" environment settings to use "dfu_alt_bootloader" env?
>
> best regards,
> Inha Song.
>
>

Actually, I didn't finished this at all. It is possible to do this
manually at prompt by "setenv dfu_alt_info ${dfu_alt_bootloader}",
but this overwrites current alt settings, so it's not so good.

In the next patch set I will add some feature to DFU, since
"dfu_alt_bootloader" could be treat as one of DFU option.

Thank you again,
--
Przemyslaw Marczak
Samsung R&D Institute Poland
Samsung Electronics
p.marczak at samsung.com