public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/3] spl: add ymodem support
Date: Thu, 08 Mar 2012 08:35:54 +0100	[thread overview]
Message-ID: <4F58615A.2010500@denx.de> (raw)
In-Reply-To: <CA+M6bXkzezDRsiDQb6Hnbwwdt=Oc61o-Q7amJqgFwPQR2938eA@mail.gmail.com>

On 07/03/2012 20:30, Tom Rini wrote:
> On Wed, Mar 7, 2012 at 12:10 PM, Mikhail Kshevetskiy
> <mikhail.kshevetskiy@gmail.com> wrote:
>> On Wed, 7 Mar 2012 08:25:39 -0700
>> Tom Rini <trini@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?
> 
> Stefano is working on trying to unify SPL, but the first step is
> getting the SPL loads Linux patch series in.

Yes - I have already tried to factorize SPL to make it common for all
SOCs, but I broke some boards and discussing with Tom we decided that it
is better to proceed step by step.

Stefano

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================

      parent reply	other threads:[~2012-03-08  7:35 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-06 20:54 [U-Boot] [PATCH 1/3] spl: add ymodem support Mikhail Kshevetskiy
2012-03-06 20:54 ` [U-Boot] [PATCH 2/3] ns16550 has a different register layout on SOC_DA8XX Mikhail Kshevetskiy
2012-03-06 20:54 ` [U-Boot] [PATCH 3/3] arm/davinci/da850: add uart0 pinmux Mikhail Kshevetskiy
2012-03-06 21:34 ` [U-Boot] [PATCH 1/3] spl: add ymodem support Fabio Estevam
2012-03-06 23:42   ` Mikhail Kshevetskiy
2012-03-06 22:28 ` Laurence Withers
2012-03-06 23:46   ` Mikhail Kshevetskiy
2012-03-07 15:25 ` Tom Rini
2012-03-07 19:10   ` Mikhail Kshevetskiy
2012-03-07 19:30     ` Tom Rini
2012-03-08  5:19       ` Christian Riesch
2012-03-08  7:35       ` Stefano Babic [this message]

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=4F58615A.2010500@denx.de \
    --to=sbabic@denx.de \
    --cc=u-boot@lists.denx.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