public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] resetting compact flash card in u-boot
@ 2005-04-27 11:42 Tom Otermans
  2005-04-27 16:19 ` Wolfgang Denk
  0 siblings, 1 reply; 2+ messages in thread
From: Tom Otermans @ 2005-04-27 11:42 UTC (permalink / raw)
  To: 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 


-- 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20050427/e38f8dff/attachment.htm 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [U-Boot-Users] resetting compact flash card in u-boot
  2005-04-27 11:42 [U-Boot-Users] resetting compact flash card in u-boot Tom Otermans
@ 2005-04-27 16:19 ` Wolfgang Denk
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2005-04-27 16:19 UTC (permalink / raw)
  To: u-boot

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

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
There is a theory which states that if ever anyone discovers  exactly
what  the  Universe is for and why it is here, it will instantly dis-
appear and be replaced by something even more  bizarre  and  inexpli-
cable.  There  is  another  theory which states that this has already
happened.    -- Douglas Adams, "The Hitchhiker's Guide to the Galaxy"

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-04-27 16:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-27 11:42 [U-Boot-Users] resetting compact flash card in u-boot Tom Otermans
2005-04-27 16:19 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox