All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tushar Behera <tushar.behera@linaro.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] trouble with mmc on origen
Date: Tue, 04 Sep 2012 11:36:21 +0530	[thread overview]
Message-ID: <50459A5D.2020807@linaro.org> (raw)
In-Reply-To: <5040003D.6090807@samsung.com>

On 08/31/2012 05:37 AM, Jaehoon Chung wrote:
> Hi John,
> 
> Did you apply this patch?
> 
> http://www.mail-archive.com/u-boot at lists.denx.de/msg88515.html
> 
After applying the patchset, mmc init fails with following message.
>>> Controller never released inhibit bit(s).

I have uploaded the test branches on [1] for you to have a look.
[1] git://git.linaro.org/landing-teams/working/samsung/u-boot.git
(test/test/u-boot-v2012.07 test/test/u-boot-v2012.07-mmcfix)

The boot-log is shown below.

*test/u-boot-v2012.07*

U-Boot 2012.07-00050-g9f3969c-dirty (Sep 04 2012 - 11:05:04) for ORIGEN

CPU:    Exynos4210 at 1000MHz

Board: ORIGEN
DRAM:  1 GiB
WARNING: Caches not enabled
MMC:   s5p_mmc_init: index = 2, bus_width = 4
SAMSUNG SDHCI: 0
Timeout for status update!
mmc fail to send stop cmd
Using default environment

In:    serial
Out:   serial
Err:   serial
Hit any key to stop autoboot:  0
reading boot.scr

397 bytes read
Running bootscript from mmc0:2 ...
## Executing script at 42000000
reading uImage
Timeout for status update!
mmc fail to send stop cmd
[ Repeat ]
Transfer data timeout
Error reading cluster

** Unable to read "uImage" from mmc 0:2 **
** Can't read partition table on 0:0 **
** Partition 2 not valid on device 0 **

** Unable to use mmc 0:2 for fatload **
## Booting kernel from Legacy Image at 40007000 ...
   Image Name:   Linux-3.6.0-rc3
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3629968 Bytes = 3.5 MiB
   Load Address: 40008000
   Entry Point:  40008000
   Verifying Checksum ... Bad Data CRC
ERROR: can't get kernel image!
ORIGEN #

*test/u-boot-v2012.07-mmcfix*

U-Boot 2012.07-00005-g2b8cae2 (Sep 04 2012 - 11:16:11) for ORIGEN

CPU:    Exynos4210 at 1000MHz

Board: ORIGEN
DRAM:  1 GiB
WARNING: Caches not enabled
MMC:   s5p_mmc_init: index = 2, bus_width = 4
SAMSUNG SDHCI: 0
Controller never released inhibit bit(s).
MMC init failed
Using default environment

In:    serial
Out:   serial
Err:   serial
Hit any key to stop autoboot:  0
Controller never released inhibit bit(s).
MMC: block number 0x1 exceeds max(0x0)

** Unable to use mmc 0:1 for fatload **
Wrong Image Format for bootm command
ERROR: can't get kernel image!




> Best Regards,
> Jaehoon Chung
> 
> On 08/31/2012 12:42 AM, John Rigby wrote:
>> Jaehoon,
>>
>> I get timeouts on multiblock mmc reads with v2012.07 u-boot.  I did a
>> bisect and found that it is broken back to
>>
>> 442d55685e1e2310d546044a6519ae73e4ba348a   mmc: support the sdhci
>> instead of s5p_mmc for samsung-soc
>> and
>> 236bfecff8091356d81e79da3281b9e4af967468 mmc: add the quirk to use the
>> sdhci for samsung-soc
>>
>> That second commit seems to adds two new quirks
>> SDHCI_QUIRK_NO_HISPD_BIT and SDHCI_QUIRK_BROKEN_VOLTAGE  but I don't
>> see any board using these so perhaps these need to be enabled for
>> origen?
>>
>> Thanks,
>> --john
>>
> 


-- 
Tushar Behera

      reply	other threads:[~2012-09-04  6:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-30 15:42 [U-Boot] trouble with mmc on origen John Rigby
2012-08-31  0:07 ` Jaehoon Chung
2012-09-04  6:06   ` Tushar Behera [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=50459A5D.2020807@linaro.org \
    --to=tushar.behera@linaro.org \
    --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.