[#5463] mmc device number can be any number although mmc1 is chosen
Submitted By: Vivi Li
Commands Fixed In Release:
Found In Release:
Is the bug repeatable?:
Summary: mmc device number can be any number although mmc1 is chosen
mmc device number can be any number although mmc1 is chosen.
This is not a regression result, so it should exist in previous release.
U-Boot 2009.06-svn2006 (ADI-2009R2-pre) (Aug 27 2009 - 04:50:29)
CPU: ADSP bf537-0.2 (Detected Rev: 0.2) (bypass boot)
Board: ADI BF537 stamp board
Clock: VCO: 400 MHz, Core: 100 MHz, System: 50 MHz
RAM: 64 MB
Flash: 4 MB
Net: Blackfin EMAC
Hit any key to stop autoboot: 0
bfin> mmc init
Using rubico default SPISSEL 4
To change, set environment variable mmc_spi_ssel
to the desired SSEL and run mmcinit again
Currently SSEL 2,3 and 5 doesnt work!
OK! MMC/SD card found.
mmc1 is available
bfin> fatls mmc 9
1 file(s), 0 dir(s)
bfin> fatload mmc 9 0x1000000 uimage
4863066 bytes read
--- Mike Frysinger 2009-08-27 02:46:57
i dont see much point in fixing trivial things in the spi mmc driver seeing as
it's going to get largely rewritten with [#5012]
but keep this open until that is finished so we can double check the new code
doesnt have the same problem
--- Sonic Zhang 2010-04-14 05:02:42
This bug in spi mmc driver should be fixed since mmc framework doesn't support
--- Vivi Li 2010-06-21 22:51:12
Bug still exists in latest u-boot for 537-stamp.
No such problem on bf518f-ezbrd.
--- Mike Frysinger 2010-06-21 22:58:02
well, the code hasnt changed at all yet, so i dont see why it would be different
--- Cliff Cai 2010-06-22 06:04:25
i'm afraid this problem will exist with the old mmc driver framework.In the old
one,it only uses struct "mmc_block_dev_desc" to descript mmc
partitions,and has no card index concept.
--- Mike Frysinger 2010-06-22 13:37:55
there is a rewritten spi/mmc driver using the generic framework that i'll merge
with the next version of u-boot
--- Cliff Cai 2010-06-22 22:32:10
--- Mike Frysinger 2011-05-11 13:35:27
pretty sure this is fixed with the new framework
File Name File Type File Size Posted By
No Files Were Found