Thanks Sascha, I could finally program Barebox on eMMC from u-boot :) 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@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox