[#6064] spi_mmc can not work in latest u-boot

Document created by Aaronwu Employee on Sep 25, 2013
Version 1Show Document
  • View in full screen mode

[#6064] spi_mmc can not work in latest u-boot

Submitted By: Vivi Li

Open Date

2010-06-09 06:39:17     Close Date

2010-06-17 02:38:38

Priority:

Medium     Assignee:

Mike Frysinger

Category:

N/A     Fixed In Release:

N/A

Found In Release:

N/A     Status:

Closed

Board:

N/A     Processor:

BF537

Silicon Revision:

    Resolution:

Rejected

Is the bug repeatable?:

N/A     

Summary: spi_mmc can not work in latest u-boot

Details:

 

mmc can not work in latest u-boot, on bf537-stamp and bf518f-ezbrd.

 

Last passed version is 2010.03-svn2283.

First failed version is 2010.03-svn2310.

 

--

U-Boot 2010.03-svn2311 (ADI-2010R1-pre) (Jun 08 2010 - 23:38:30)

 

CPU:   ADSP bf537-0.2 (Detected Rev: 0.2) (bypass boot)

Board: ADI BF537 stamp board

       Support: http://blackfin.uclinux.org/

Clock: VCO: 500 MHz, Core: 500 MHz, System: 125 MHz

RAM:   64 MB

Flash:  4 MB

In:    serial

Out:   serial

Err:   serial

KGDB:  [on serial] ready

Net:   Blackfin EMAC

Hit any key to stop autoboot:  0

bfin> set mmc_cs 4; set mmc_hz 20000000

bfin> printenv mmc_cs mmc_hz

mmc_cs=4

mmc_hz=20000000

bfin> mmc init

using spi0.4 at 20000000 hz with mode 3

No MMC card found

bfin>

--

 

--

U-Boot 2010.03-svn2310 (ADI-2010R1-pre) (Jun 08 2010 - 02:07:34)

 

CPU:   ADSP bf518-0.0 (Detected Rev: 0.0) (parallel flash boot)

Board: ADI BF518F EZ-Board board

       Support: http://blackfin.uclinux.org/

Clock: VCO: 400 MHz, Core: 400 MHz, System: 80 MHz

RAM:   64 MB

Flash:  4 MB

MMC:  Blackfin SDH: 0

In:    serial

Out:   serial

Err:   serial

KGDB:  [on serial] ready

Net:   Blackfin EMAC

Hit any key to stop autoboot:  9 ^H^H^H 8 ^H^H^H 7 ^H^H^H 0

bfin>

bfin> mmc rescan 0

bfin> fatls mmc 0

 

** Unable to use mmc 0:1 for fatls **

bfin>

--

 

Follow-ups

 

--- Mike Frysinger                                           2010-06-09 15:56:36

the CS values have changed to GPIO #'s, so your "4" is incorrect.

i'll be adding back support though.

 

--- Vivi Li                                                  2010-06-17 02:35:58

spi mmc on bf537-stamp can work now. MMC on bf518f-ezbrd still fail to work and

I think it's not the same bug as on bf537-stamp.

So close this bug and open bug #6069 for bf518f-ezbrd.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes