[U-Boot] [PATCH 1/2] SPL: Add YMODEM over UART load support

Tom Rini tom.rini at gmail.com
Wed Feb 1 15:18:44 CET 2012


On Tue, Jan 31, 2012 at 11:40 PM, Christian Riesch
<christian.riesch at omicron.at> wrote:
> Hi Tom, Hi Matt,
>
> On Tuesday, January 31, 2012, Tom Rini <trini at ti.com> wrote:
>> From: Matt Porter <mporter at ti.com>
>>
>> Adds support for loading U-Boot from UART using YMODEM protocol.
>> If YMODEM support is enabled in SPL and the romcode indicates
>> that SPL loaded via UART then SPL will wait for start of a
>> YMODEM transfer via the console port.
>
> :-) I like this feature!
>
> I tried something similar a few month ago for the da850evm and my own
> board, it worked but I never had time to finished it and submit it, it was
> just a hack.
>
> For my tests I used the UART loader utility from TI to load the SPL and
> then minicom for loading u-boot. Do you have an automated solution for
> this? Would be nice to have something like this in tools/.

IIRC the da850evm ROM needs a special tool to load via UART.
omap4/5/am33xx ROM does XMODEM for real so 'sx' works fine.

[snip]
> Could this be somewhere where it's accessible for other SoC families like
> davinci? E.g. We have nand_spl_load.c in drivers/mtd/nand and something
> similar for SPI flash.

In theory, sure, just need a location to place it at.

-- 
Tom


More information about the U-Boot mailing list