From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: "Yazdani, Reyhaneh" <RYazdani@data-modul.com>,
Sascha Hauer <s.hauer@pengutronix.de>
Cc: "barebox@lists.infradead.org" <barebox@lists.infradead.org>
Subject: Re: imx-usb-loader on imx8mq/mm
Date: Fri, 21 Feb 2020 19:32:55 +0100 [thread overview]
Message-ID: <d617fe79-4942-d1c7-34d2-837f3c328cff@pengutronix.de> (raw)
In-Reply-To: <94de90ba-583b-1181-c9b8-0375b3b3e834@data-modul.com>
Hello,
On 12/13/19 3:24 PM, Yazdani, Reyhaneh wrote:
> Thanks Sascha,
>
> I could finally program Barebox on eMMC from u-boot :)
with recent changes in upstream/next, you should be able to do it with imx-usb-loader
only now.
Cheers
Ahmad
>
> Best,
> Reyhaneh
>
> On 12/13/19 8:55 AM, Sascha Hauer wrote:
>> 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
>>
>
> --
> Reyhaneh Yazdani
> Data Modul AG TEL: +49-89-56017-154
> Embedded development FAX: +49-89-56017-119
> Linux - Development RG: HR-Muenchen B-85591
> Landsberger Str. 322 D-80687 Muenchen - http://www.data-modul.com
>
> Vertrauliche E-Mail von / Confidential e-mail from: DATA MODUL AG
> Vorstand / CEO: Dr. Florian Pesahl
> Vorsitzende des Aufsichtsrates / Chairwoman of the Supervisory Board: Kristin D. Russell
> Sitz der Gesellschaft / Registered Office: München
> Registergericht / Registration Court: München Handelsregister B 85 591
>
>
>
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
>
--
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
next prev parent reply other threads:[~2020-02-21 18:33 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
2019-12-13 14:24 ` Yazdani, Reyhaneh
2020-02-21 18:32 ` Ahmad Fatoum [this message]
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=d617fe79-4942-d1c7-34d2-837f3c328cff@pengutronix.de \
--to=a.fatoum@pengutronix.de \
--cc=RYazdani@data-modul.com \
--cc=barebox@lists.infradead.org \
--cc=s.hauer@pengutronix.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox