public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* PCMCIA: Statically linked CF card driver?
@ 2005-06-23  7:39 kus Kusche Klaus
  2005-06-23  8:04 ` Dominik Brodowski
  2005-06-23  8:23 ` Russell King
  0 siblings, 2 replies; 4+ messages in thread
From: kus Kusche Klaus @ 2005-06-23  7:39 UTC (permalink / raw)
  To: linux-pcmcia, dahinds, linux-kernel

Environment:
* Embedded system, ARM platform, sa1100 processor
* Current Linux standard (or RT) kernel (2.6.12-something)
* Statically linked kernel, no module infrastructure and no initrd at
all
* Static /dev, no udev or devfs
* "hotplug" or card services not wanted
* sa1100 PCMCIA interface, PC Card / CF adapter
  (e.g. Kingston Model No. CF/ADP)
  (possibly other PC cards like WLAN, too,
  but a CF adapter is the only PC card 
  we really should officially support)

Question:
* Any chance to get the CF card working in that environment?
* Any chance to boot from it?

Wishes and non-wishes:
* It would be nice to be able to replace the CF 
  without rebooting.
* It can be assumed that the PC card CF adapter 
  is present during boot.
* There is no need to support hotplugging of the PC card CF adapter.
  (i.e. the PC card CF adapter could be treated as a static,
  builtin device, with its driver linked into the kernel).

Many thanks in advance for any help!

Klaus Kusche
> Entwicklung Software - Steuerung
> Software Development - Control
> 
> KEBA AG
> A-4041 Linz
> Gewerbepark Urfahr
> Tel +43 / 732 / 7090-3120
> Fax +43 / 732 / 7090-6301
> E-Mail: kus@keba.com
> www.keba.com
> 
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread
* RE: PCMCIA: Statically linked CF card driver?
@ 2005-06-23 10:00 kus Kusche Klaus
  0 siblings, 0 replies; 4+ messages in thread
From: kus Kusche Klaus @ 2005-06-23 10:00 UTC (permalink / raw)
  To: Dominik Brodowski; +Cc: linux-pcmcia, dahinds, linux-kernel

> From: Dominik Brodowski [mailto:linux@dominikbrodowski.net] 
> Hi,
> 
> - use 2.6.12-mm1, and build all you need into the kernel
> - in drivers/pcmcia/ds.c , remove the following block:
> 
>                 /* also, FUNC_ID matching needs to be 
> activated by userspace
>                  * after it has re-checked that there is no 
> possible module
>                  * with a prod_id/manf_id/card_id match.
>                  */
>                 if (!dev->allow_func_id_match)
>                         return 0;
> 
> - it should(tm) work then... though I haven't and can't try it myself.

Thanks, I'll try it.

> > * Any chance to boot from it?
> 
> > * It would be nice to be able to replace the CF 
> >   without rebooting.
> 
> I'm not sure whether these two aspects exclude each other.

We don't need them at the same time:

* Usually, the system boots from flash, 
  and the CF is used for data transfer 
  (and hence should be changeable).

* In case of emergency (when the system in flash got messed up), 
  or for the first-time flash,
  it would be nice to be able to boot from CF.
  In that case, the CF will not be removed in flight!

-- 
Klaus Kusche                 (Software Development - Control Systems)
KEBA AG             Gewerbepark Urfahr, A-4041 Linz, Austria (Europe)
Tel: +43 / 732 / 7090-3120                 Fax: +43 / 732 / 7090-6301
E-Mail: kus@keba.com                                WWW: www.keba.com

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

end of thread, other threads:[~2005-06-23 10:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-23  7:39 PCMCIA: Statically linked CF card driver? kus Kusche Klaus
2005-06-23  8:04 ` Dominik Brodowski
2005-06-23  8:23 ` Russell King
  -- strict thread matches above, loose matches on Subject: below --
2005-06-23 10:00 kus Kusche Klaus

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