mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: "Yazdani, Reyhaneh" <RYazdani@data-modul.com>
Cc: "barebox@lists.infradead.org" <barebox@lists.infradead.org>
Subject: Re: imx-usb-loader on imx8mq/mm
Date: Fri, 13 Dec 2019 08:55:49 +0100	[thread overview]
Message-ID: <20191213075549.bsugsd4fjo6lqox5@pengutronix.de> (raw)
In-Reply-To: <cfdb29ab-63b9-6d85-52b2-e76dd88839fd@data-modul.com>

On Fri, Dec 13, 2019 at 07:20:15AM +0000, Yazdani, Reyhaneh wrote:
> Thanks Lucas.
> 
> So, if I have a board which has only eMMC (no SD card). What would be your
> recommendation about programming it with Barebox?
> 
> Currently, I program U-Boot via uuu utility and then from Kernel, I program
> Barebox on boot1 partition of eMMC (boot0 is not possible).
> 
> I am trying at least to program Barebox in U-boot via ums, mmc write , ... but
> until now I am not successful. Do you have any experience or idea?

The image as it's falling out of the barebox build should be written
straight to the eMMC. The eMMC itself has a setting which specifies
where the i.MX will boot from, valid setting are user area, boot0 or
boot1. It can be that this setting doesn't match the area you are
writing to.

Another way would be to start barebox from U-Boot and let the
barebox-update command do the job of writing barebox to the eMMC.

Sascha

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

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

  reply	other threads:[~2019-12-13  7:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-12 10:13 Yazdani, Reyhaneh
2019-12-12 10:24 ` Lucas Stach
2019-12-13  7:20   ` Yazdani, Reyhaneh
2019-12-13  7:55     ` Sascha Hauer [this message]
2019-12-13 14:24       ` Yazdani, Reyhaneh
2020-02-21 18:32         ` Ahmad Fatoum
2020-02-24  8:43           ` 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=20191213075549.bsugsd4fjo6lqox5@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=RYazdani@data-modul.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