
30 Oct
2013
30 Oct
'13
9:28 a.m.
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