mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Erwin Rol <mailinglists@erwinrol.com>
To: Barebox List <barebox@lists.infradead.org>
Subject: imx6 usb update
Date: Fri, 30 Nov 2018 14:49:23 +0100	[thread overview]
Message-ID: <1543585763.5085.14.camel@erwinrol.com> (raw)

Hallo all,

I have my barebox running on a iMx6 (phyBOARD-Segin + phyCORE-i.MX 6UL
Modul).

Loading via USB works fine, and via DFU I can upload a barebox image
and use barebox_update to flash barebox in NAND.

Is it possible to have DFU correctly flash barebox, without first
upload a image to /tmp/barebox and than use barebox_update ?

And a second question is it possible to detect if barebox was booted
from NAND or from USB via imx-loader ? I woud like to use that to start
the system normal when it boots from NAND but go in DFU update mode
when it was started via imx-usb-loader.

As always hints and tips are very welcome,

Erwin



_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

             reply	other threads:[~2018-11-30 13:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-30 13:49 Erwin Rol [this message]
2018-11-30 15:05 ` Erwin Rol
2018-11-30 21:16   ` Sascha Hauer

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=1543585763.5085.14.camel@erwinrol.com \
    --to=mailinglists@erwinrol.com \
    --cc=barebox@lists.infradead.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox