All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Rini <trini@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/2] ARM: omap3: Add CONFIG_SPL_BOARD_INIT for CONFIG_SPL_MMC_SUPPORT
Date: Wed, 9 May 2012 11:54:21 -0700	[thread overview]
Message-ID: <4FAABD5D.9000807@ti.com> (raw)
In-Reply-To: <4FAA2068.3040306@gmail.com>

On 05/09/2012 12:44 AM, Thomas Weber wrote:
> Hello Tom & Peter,
>
> On 05/08/12 19:29, Tom Rini wrote:
>> As originally reported against beagleboard we currently have the
>> following error message reported in SPL:
>>
>> U-Boot SPL 2012.04-00020-gb8310b9-dirty (Apr 25 2012 - 18:49:57)
>> Texas Instruments Revision detection unimplemented
>> OMAP SD/MMC: 0
>> timed out in wait_for_bb: I2C_STAT=1000
>> reading u-boot.img
>> ....
>>
>> The reason for above message is that when booting from MMC, I2C needs to
>> be initialized to talk with the TWL4030. On OMAP3 I2C is only
>> initalized in SPL if CONFIG_SPL_BOARD_INIT is set.
> On Tricorder there is no such message. I thought the I2C to TWL4030 is
> initialized by the ROM code.
> And why can the SPL read the u-boot.img in the next step?

I think we need this still, on correctness grounds.  We include the i2c 
code (and twl4030 code) to have the MMC driver link and behave as in 
full U-Boot.  I don't see this timed out message on my am3517 evm nor my 
"omap3evm" with an am37x SOM (iirc anyhow).  I do see it on cold power 
on, on my beagle however, but not warm (which might be why I missed this 
before).

-- 
Tom

  parent reply	other threads:[~2012-05-09 18:54 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-08 17:29 [U-Boot] [PATCH 1/2] ARM: omap3: Set SPL stack size to 8KB, image to 54KB Tom Rini
2012-05-08 17:29 ` [U-Boot] [PATCH 2/2] ARM: omap3: Add CONFIG_SPL_BOARD_INIT for CONFIG_SPL_MMC_SUPPORT Tom Rini
2012-05-09  7:44   ` Thomas Weber
2012-05-09 14:13     ` Tom Rini
2012-05-09 18:54     ` Tom Rini [this message]
2012-05-08 17:40 ` [U-Boot] [PATCH 1/2] ARM: omap3: Set SPL stack size to 8KB, image to 54KB Hiremath, Vaibhav
2012-05-08 18:15   ` Tom Rini
2012-05-09 10:03     ` Hiremath, Vaibhav
2012-05-09  6:51 ` R, Sricharan
2012-05-09 14:05   ` Tom Rini
2012-05-09  9:45 ` Stefano Babic

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=4FAABD5D.9000807@ti.com \
    --to=trini@ti.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.