[U-Boot] [PATCH 1/3] spl: add ymodem support

Mikhail Kshevetskiy mikhail.kshevetskiy at gmail.com
Wed Mar 7 20:10:55 CET 2012


On Wed, 7 Mar 2012 08:25:39 -0700
Tom Rini <trini at ti.com> wrote:

> On Wed, Mar 07, 2012 at 12:54:05AM +0400, Mikhail Kshevetskiy wrote:
> 
> > We have an omap l138 based board without jtag and empty spi flash.
> > UART is an only way to load something on this board, so we are using
> > uart to load spl image u-boot and then we are using ymodem to load
> > the rest part of u-boot.
> 
> This conflicts a bit with the SPL ymodem support that's now in
> u-boot-arm/master and making its way into mainline.  Please rebase (and
> perhaps play some Makefile magic games to get
> arch/arm/cpu/armv7/omap-common/spl_ymodem.c available to davinci, and
> yes, we all know we need to unify more of the SPL codebase).

Hm, spl_ymodem_load_image() should be arch independent, so I suggest moving it
and getcymodem() out from arch/arm/cpu/armv7/omap-common/spl_ymodem.c to 
common/xyzModem.c (similarly to my patch).

any comments, suggestions?

Mikhail

> 
> -- 
> Tom



More information about the U-Boot mailing list