* [U-Boot] trouble with mmc on origen
@ 2012-08-30 15:42 John Rigby
2012-08-31 0:07 ` Jaehoon Chung
0 siblings, 1 reply; 3+ messages in thread
From: John Rigby @ 2012-08-30 15:42 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] trouble with mmc on origen
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
0 siblings, 1 reply; 3+ messages in thread
From: Jaehoon Chung @ 2012-08-31 0:07 UTC (permalink / raw)
To: u-boot
Hi John,
Did you apply this patch?
http://www.mail-archive.com/u-boot at lists.denx.de/msg88515.html
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
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] trouble with mmc on origen
2012-08-31 0:07 ` Jaehoon Chung
@ 2012-09-04 6:06 ` Tushar Behera
0 siblings, 0 replies; 3+ messages in thread
From: Tushar Behera @ 2012-09-04 6:06 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-09-04 6:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox