[#5306] Can not read fat fs in latest shipped SD card in bf518 uboot

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

[#5306] Can not read fat fs in latest shipped SD card in bf518 uboot

Submitted By: Vivi Li

Open Date

2009-07-01 23:35:32     Close Date

2009-07-02 02:34:31

Priority:

Medium High     Assignee:

Cliff Cai

Category:

N/A     Fixed In Release:

N/A

Found In Release:

2009R1     Status:

Closed

Board:

Ezbrd     Processor:

BF518

Silicon Revision:

    Resolution:

Not reproducible

Is the bug repeatable?:

N/A     

Summary: Can not read fat fs in latest shipped SD card in bf518 uboot

Details:

 

Can not read fat(16/32) fs in latest shipped SD cards in bf518 uboot.

The old testing SD can can work. Current board version is 0.2.

 

But the new SD cards can work on old board version 0.1.

--

U-Boot 2008.10-svn1954 (ADI-2009R1-rc2) (Jul  1 2009 - 01:00:54)

 

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: 40 MHz

RAM:   64 MB

Flash:  4 MB

In:    serial

Out:   serial

Err:   serial

Net:   Blackfin EMAC

MAC:   00:E0:FE:3D:1A:05

Hit any key to stop autoboot:  0

bfin>

bfin> mmcinit

CID information:

Manufacturer ID:       03

OEM/Application ID:    5344

Product name:          SD02G

Product Revision:      8.0

Product Serial Number: 12618538

Manufacturing Date:    03/12

SD Card detected (RCA 58916)

CSD information:

CSD structure version:   1.0

Card command classes:    5f5

Max trans speed: 25MHz

Read block length:       1024

Write block length:      32

Card capacity:          2032664576 bytes

 

bfin> fatls mmc 0

 

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

bfin>

--

 

Follow-ups

 

--- Cliff Cai                                                2009-07-02 01:58:29

SD shares pins with SPORT0,and by default,SPORT0 is enabled on the BF518-EZBRD.

In order to make SD card work properly,SPORT0 must be disabled.

 

Cliff

 

--- Mike Frysinger                                           2009-07-02 02:01:42

so is this a matter of hardware switch needs to be set on the board ?  if so,

can you document this in the wiki please ?

http://docs.blackfin.uclinux.org/doku.php?id=hw:boards:bf518f-ezbrd

 

--- Vivi Li                                                  2009-07-02 02:34:31

Wiki has already been updated.

Close this bug.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes