All of lore.kernel.org
 help / color / mirror / Atom feed
From: Otavio Salvador <otavio.salvador@ossystems.com.br>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2] pico-imx6ul, pico-imx7d: Explain how to use eMMC user partition
Date: Fri, 22 Mar 2019 15:42:43 -0300	[thread overview]
Message-ID: <CAP9ODKpzwq3Fgm-5USZFMRnrsAujA=G3OezHeeAHhO5idqdj2w@mail.gmail.com> (raw)
In-Reply-To: <CAOMZO5DJfL6e4JUJ5bsKHEosYBWhWXmqpopwdxzUheKd=QCWww@mail.gmail.com>

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

  reply	other threads:[~2019-03-22 18:42 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-22 17:53 [U-Boot] [PATCH v2] pico-imx6ul, pico-imx7d: Explain how to use eMMC user partition Otavio Salvador
2019-03-22 18:01 ` Fabio Estevam
2019-03-22 18:09   ` Otavio Salvador
2019-03-22 18:17     ` Fabio Estevam
2019-03-22 18:42       ` Otavio Salvador [this message]
2019-03-22 21:06         ` Marek Vasut
2019-04-03 18:44 ` Otavio Salvador
2019-04-04  0:22   ` Fabio Estevam
2019-04-04  8:07     ` Stefano Babic
2019-04-04 12:41     ` Otavio Salvador
2019-04-04 12:46       ` Fabio Estevam

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAP9ODKpzwq3Fgm-5USZFMRnrsAujA=G3OezHeeAHhO5idqdj2w@mail.gmail.com' \
    --to=otavio.salvador@ossystems.com.br \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.