- Priority: 3 --> middle
[#6865] cfcard can't be detected stably and frequently fails after running out of time
Move Item | Delete Item | Clone Item | Merge Item
Submitted By: Mingquan Pan
Open Date
2011-11-04 09:51:20
Priority:
Assignee:
Category:
Fixed In Release:
Found In Release:
Status:
Board:
Processor:
Silicon Revision:
Resolution:
Is the bug repeatable?:
Summary:
Details: (Edit)
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 17:28:55
how do you partition and format the CF card?
--- Mingquan Pan 2011-11-08 14: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 17: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 16:59:18
This should be a bug in kernel.
--- Sonic Zhang 2011-12-13 16: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 16:30:54
Don't run this test with the Kingstone 512M CF card. It is not supported by the
PATA_PCMCIA driver.
Change Date User Id Field Name Old Value New Value
2011-12-13 16:29:09 Sonic Zhang tracker Bugs Bugs
2011-12-13 16:28:25 Sonic Zhang toolchainversionorre None 2011R1-RC4
2011-11-25 17:01:16 Sonic Zhang tracker Bugs Bugs
2011-11-04 15:28:50 Sonic Zhang resolution None Assigned (Not Start)
2011-11-04 15:28:50 Sonic Zhang assignee Nobody Removed
2011-11-04 15:28:50 Sonic Zhang assignee None Bob Liu
2011-11-04 10:00:46 Mingquan Pan created cfcard can't be detected stably and frequently fails after running out of time