[U-Boot-Users] resetting compact flash card in u-boot

Hello List,
I have a question about resetting compact flash cards. We are currently working on an pxa-255 system. From u-boot (1.0.0) a kernel image is loaded (on a fat partition) and booted. The problem starts after reading this image. The linux kernel (2.4.26) is started and tries to couple the root filesystem
from the cf (parition 2, ext2). With industrial grade cf cards from sandisk, this process works fine, but non industrial grade cards can't read the data from the cf. If I do an ide reset, and load the image from the device via the fatload command, _remove_ the cf and than bootm the image, the cf card can be read in the kernel. So reseting the cf card somehow is what I have to do. Thus I tried to reset it by lowering the reset pin of the cf (lower pin 41 in true ide mode). But the
problem still appears.
Does anyone had these same problems with non industrial grade cf cards? Or any idea of how to reset the card in the bootloader to a same state as from inserting the card?
Thanks in advance,
Tom

In message 200504271342.21829.Tom.Otermans@pie.nl you wrote:
If I do an ide reset, and load the image from the device via the fatload command, _remove_ the cf and than bootm the image, the cf card can be read in the kernel.
I don't understand. How can the kernel access the CF card after you removed it?
So reseting the cf card somehow is what I have to do. Thus I tried to reset it by lowering the reset pin of the cf (lower pin 41 in true ide mode). But the problem still appears.
What happens if you perform an "ide reset" command instead?
Does anyone had these same problems with non industrial grade cf cards? Or any
No, never had any such problems on any cards.
------_=_NextPart_001_01C54B1E.3037EA00 Content-Type: text/html; charset="iso-8859-1"
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
And please: never post HTML to this list!
Best regards,
Wolfgang Denk
participants (2)
-
Tom Otermans
-
Wolfgang Denk