[U-Boot] [PATCH v2] pico-imx6ul, pico-imx7d: Explain how to use eMMC user partition
Fabio Estevam
festevam at gmail.com
Fri Mar 22 18:17:27 UTC 2019
On Fri, Mar 22, 2019 at 3:09 PM Otavio Salvador
<otavio.salvador at 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 at gmail.com> wrote:
> > On Fri, Mar 22, 2019 at 2:53 PM Otavio Salvador <otavio at ossystems.com.br> wrote:
> > So you need to fix the README in two points:
> >
> > 1. 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.
> > 2. 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.
More information about the U-Boot
mailing list