U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] SPL Dfu update
@ 2013-10-30  8:28 Michael Trimarchi
  2013-10-30  8:38 ` Michael Trimarchi
  0 siblings, 1 reply; 32+ messages in thread
From: Michael Trimarchi @ 2013-10-30  8:28 UTC (permalink / raw)
  To: u-boot

Hi Lukasz

We have discussed during the u-boot mini-summit the possibility to have
the dfu update from SPL. Right now I'm trying to understand what is the best
way to do:


void spl_dfu_load_image()
{
        int rv;

        env_init();
        env_relocate();
        setenv("dfu_alt_info", DFU_BOARD_FLASHINFO);
        board_usb_init();
        g_dnl_register(s);

One option could be do the same of do_dfu command and let upload
all the image that is needed to flash and the issue a usb reset. I don't sure
if the reset can be triggered and then do a cpu board reset and let it boot
from the booting device.

What is for you the best approch?

Michael

^ permalink raw reply	[flat|nested] 32+ messages in thread

end of thread, other threads:[~2013-11-08 22:09 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-30  8:28 [U-Boot] SPL Dfu update Michael Trimarchi
2013-10-30  8:38 ` Michael Trimarchi
2013-10-30 12:58   ` Lukasz Majewski
2013-10-30 13:15     ` Michael Trimarchi
2013-10-30 13:28     ` Stefano Babic
2013-10-30 13:29       ` Michael Trimarchi
2013-10-30 13:44         ` Tom Rini
2013-10-30 13:52           ` Michael Trimarchi
2013-10-30 14:19             ` Otavio Salvador
2013-10-30 14:24               ` Stefano Babic
2013-10-30 14:32                 ` Eric Nelson
2013-10-30 15:58                   ` Michael Trimarchi
2013-10-30 20:01                   ` Wolfgang Denk
2013-10-30 20:08                     ` Eric Nelson
2013-10-30 14:34                 ` Michael Trimarchi
2013-10-30 19:33                   ` Tom Rini
2013-10-30 19:43                     ` Michael Trimarchi
2013-10-30 19:47                       ` Tom Rini
2013-10-30 19:58                         ` Michael Trimarchi
2013-10-30 20:04                           ` Tom Rini
2013-10-30 20:03                   ` Wolfgang Denk
2013-10-30 20:06                     ` Michael Trimarchi
2013-10-30 19:36             ` Tom Rini
2013-10-30 19:58         ` Wolfgang Denk
2013-10-30 20:01           ` Michael Trimarchi
2013-10-30 20:11             ` Wolfgang Denk
2013-10-30 20:35               ` Michael Trimarchi
2013-10-30 20:53                 ` Otavio Salvador
2013-10-30 21:37                   ` Michael Trimarchi
2013-10-31 13:20               ` Tom Rini
2013-11-08 22:09                 ` Michael Trimarchi
2013-10-30 20:07           ` Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox