[U-Boot] [PATCH v2] pico-imx6ul, pico-imx7d: Explain how to use eMMC user partition

Otavio Salvador otavio.salvador at ossystems.com.br
Fri Mar 22 18:42:43 UTC 2019


On Fri, Mar 22, 2019 at 3:17 PM Fabio Estevam <festevam at gmail.com> wrote:
> On Fri, Mar 22, 2019 at 3:09 PM Otavio Salvador
> <otavio.salvador at ossystems.com.br> wrote:
> > > 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.

This is a mystery to me; here we did update it several times without it failing.

Please try:

mmc partconf 0 0 0 0
reset

after boot just program it and see if it helps.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9 9981-7854          Mobile: +1 (347) 903-9750


More information about the U-Boot mailing list