
On Fri, Mar 22, 2019 at 3:09 PM Otavio Salvador otavio.salvador@ossystems.com.br wrote:
Hello Fabio,
Adding Marek as he is one of USB gods.
On Fri, Mar 22, 2019 at 3:01 PM Fabio Estevam festevam@gmail.com wrote:
On Fri, Mar 22, 2019 at 2:53 PM Otavio Salvador otavio@ossystems.com.br wrote: So you need to fix the README in two points:
- The command "=> dfu 0 mmc 0" must be issued twice: one for the SPL
and one for u-boot-dtb.img - This error was there prior to your change
I fail to see why this would be need. Also the 'mmc partconf' does not affect where the DFU writes the blog (this is changed depending on the dfu_alt_info line).
Ok, your are right. 'dfu 0 mmc 0' only needs to be issue once.
- The '=> mmc partconf 0 0 0 0' command needs to be issued after the
last dfu command, not before like you did in this patch.
Read above.
I wonder why it works here and fails for you. Are you booting from USB or eMMC when running the DFU? What version are you using?
The mmc partconf order does make a difference here though.
I could only flash it when I ran it after the dfu command.