From mboxrd@z Thu Jan 1 00:00:00 1970
From: Przemyslaw Marczak
Date: Wed, 11 Jun 2014 15:07:34 +0200
Subject: [U-Boot] [PATCH 04/10] samsung: misc: set the dfu bootloader
setting at boot time.
In-Reply-To: <20140611110301.02a63648@songinha-Samsung-DeskTop-System>
References: <1402399510-8965-1-git-send-email-p.marczak@samsung.com>
<1402399984-9343-2-git-send-email-p.marczak@samsung.com>
<20140611110301.02a63648@songinha-Samsung-DeskTop-System>
Message-ID: <53985496.4000808@samsung.com>
List-Id:
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
To: u-boot@lists.denx.de
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