[U-Boot] trouble with mmc on origen
Tushar Behera
tushar.behera at linaro.org
Tue Sep 4 08:06:21 CEST 2012
On 08/31/2012 05:37 AM, Jaehoon Chung wrote:
> Hi John,
>
> Did you apply this patch?
>
> http://www.mail-archive.com/u-boot@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
More information about the U-Boot
mailing list