[#6865] cfcard can't be detected stably and frequently fails after running out of time

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

[#6865] cfcard can't be detected stably and frequently fails after running out of time

Submitted By: Mingquan Pan

Open Date

2011-11-03 21:51:20    

Priority:

Medium     Assignee:

Bob Liu

Category:

N/A     Fixed In Release:

N/A

Found In Release:

2011R1     Status:

Open

Board:

N/A     Processor:

BF537

Silicon Revision:

    Resolution:

Assigned (Not Start)

Is the bug repeatable?:

N/A     

Summary: cfcard can't be detected stably and frequently fails after running out of time

Details:

 

cfcard can't be detected stably and frequently fails after running out of time by u-boot now.

 

U-Boot 2011.09-svn2735 (ADI-2011R1) (Nov 02 2011 - 16:05:33)

 

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 MiB

Flash: 4 MiB

MMC:  

In:    serial

Out:   serial

Err:   serial

KGDB:  [on serial] ready

Using CF Common Memory Mode

Bus 0: ............................................................** Timeout **

Net:   bfin_mac

Hit any key to stop autoboot:  0

bfin>

 

Follow-ups

 

--- Sonic Zhang                                              2011-11-04 05:28:55

how do you partition and format the CF card?

 

--- Mingquan Pan                                             2011-11-08 01:02:55

I do this by running fdisk /dev/sda after kernel booting up.

Once it changes the partition numbers in kernel, then run reboot, in the

following uboot, it fails to detected the cf card like above. but if you do

reset remotely by host machine parallel port or power down and then on, it can

recognize the cfcard ok.

 

--- Sonic Zhang                                              2011-11-08 04:17:03

It looks the reset PIN on CF interface is not driven when kernel reboot. The CF

card stays in some state that can't be probed properly.

 

--- Sonic Zhang                                              2011-11-25 03:59:18

This should be a bug in kernel.

 

--- Sonic Zhang                                              2011-12-13 03:28:25

There is no problem to probe and mount CF card via PATA_PCMCIA driver in

kernel.

So, this is still a uboot bug. The CF card is not reset properly if run reboot

in Linux.

 

--- Sonic Zhang                                              2011-12-13 03:30:54

Don't run this test with the Kingstone 512M CF card. It is not supported by the

PATA_PCMCIA driver.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

config.linux.cfcard    application/octet-stream    39459    Mingquan Pan

Attachments

Outcomes