[U-Boot] How to program u-boot in eMMC/MMC on iMX
Marco Cavallini
cavallini.koan at gmail.com
Mon Feb 23 15:57:27 CET 2015
2015-02-23 15:20 GMT+01:00 Fabio Estevam <festevam at gmail.com>:
> Hi Marco,
>
> On Mon, Feb 23, 2015 at 11:11 AM, Marco Cavallini
> <cavallini.koan at gmail.com> wrote:
>> Hello,
>>
>> I'd like to know if exists a method to store in eMMC a bootolader
>> without kobs-ng, so without using linux, but simply running a command
>> from u-boot.
>> I booted my i.MX28 system (I have the same question for i.MX6 as well)
>> using the u-boot.sb (u-boot-2015.01 with SPL) file loaded with mxsldr
>> (or imx-bootlets).
>> Now I am trying to save it in eMMC with the following command
>> loady (load u-boot.sb with ymodem)
>> mmc write ${loadaddr} 0 ${filesize}
>> but at reboot nothing happens.
>> Is it possible?
>
> You should flash u-boot.sd, not u-boot.sb.
>
> Please check doc/README.mxs on how to generate u-boot.sd.
Hi Fabio,
I did the following steps on the host
$ make u-boot.sb
$ ./tools/mxsboot sd u-boot.sb u-boot.sd
then in u-boot
> loady (load u-boot.sd with ymodem)
> mmc write ${loadaddr} 0 ${filesize}
but at reboot no output on serial port.
Maybe do I need to format the eMMC before?
Thank you
--
Marco
More information about the U-Boot
mailing list