linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Card Services in a FADS850SAR board
@ 2002-11-12 21:26 Leonardo Pereira Santos
  2002-11-12 21:47 ` Wolfgang Denk
  2002-11-18  4:07 ` Michael Habermann
  0 siblings, 2 replies; 4+ messages in thread
From: Leonardo Pereira Santos @ 2002-11-12 21:26 UTC (permalink / raw)
  To: Linuxppc embedded



	I know, I know, the FADS board is a piece of c**p but it is the only card I
will have for some time now I i stuck with it :( . Ok, I trying to make the
boad's PCMCIA connector work. I'm using a recent kernel (2.4.20-pre11) in a
MPC850 processor, and the PCMCIA card is a WiFi card.
	First I compiled the kernel with built-in PCMCIA support and modules for the
card's drivers. The first strange thing is that the PCMCIA interrupt
generates a sig 11 error (kernel accessed bad area). But if I boot
(initialize Card Services) with the board already connected, the 8xx module
works fine. So I load up the three driver modules I need (hermes, orinoco,
orinoco_cs), but when I do a lsmod, the orinoco_cs is listed as unused.
Shouldn't the cs driver be used by Card Services? In Paul J. Lucas' page
about a PCMCIA in a PowerBook there is a fine "dummies guide" to make it
work. I followed it but CS' cardmanager doesn't load up the drivers, although
it identifies my card. In Paul's page, he says CS versions prior to 3.1.27
don't work out-of-the-box with a powerpc, and the kernel's version is 3.1.22.
	So I went to CS' HP, downloaded and complied  it to my kernel. After starting
CS with a insmod, when I tried to load the socked driver to the 8xx powerpc
(m8xx_pcmcia) , it generates a sig 11 error in the middle of its
initialization. As a desperate measure, I trying to integrate CS' new code
(3.2.3) in the kernel, but that gives me a very strange compilation error in
re resource management code.
	After all this, my questions are:
	Should I tell my boss to give me a new board RIGHT NOW?
	If there is hope of making it work on my card, why the orinoco_cs module is
unused?
	I got the powerpc kernel in bitkeeper, there is another kernel with a more
recent version of CS?
	Am I making something really stupid compiling CS? I justo follow its
Configure script.
	Now the question that I fear: There is need of a ISA bus? If yes, where do I
configure it, as there isn't any option in the general setup menu in the
kernel config.
	I'm configuring my kernel to support:
	- hot plugable devies,
	- CardBus,
	- 8xx support
	The rest is the module support to my WiFi card.
	Sorry for the long mail. I'd be very grateful if anyoune could give me any
information. Thanks a lot!

- --
"All things are ready, if our minds be so"
The Life Of King Henry V - William Sharespeare

Leonardo Pereira Santos
Engenheiro de Projetos
PD3 Tecnologia
av. Pará 330/202
(51) 3337 1237


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* Re: Card Services in a FADS850SAR board
  2002-11-12 21:26 Card Services in a FADS850SAR board Leonardo Pereira Santos
@ 2002-11-12 21:47 ` Wolfgang Denk
  2002-11-18  4:07 ` Michael Habermann
  1 sibling, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2002-11-12 21:47 UTC (permalink / raw)
  To: Leonardo Pereira Santos; +Cc: Linuxppc embedded


In message <200211121926.09433.lsantos@pd3.com.br> you wrote:
>
> 	After all this, my questions are:
> 	Should I tell my boss to give me a new board RIGHT NOW?

Yes. And ask for a BDI2000, too.

> 	If there is hope of making it work on my card, why the orinoco_cs module is
> unused?
> 	I got the powerpc kernel in bitkeeper, there is another kernel with a more
> recent version of CS?

The kernel we have in the CVS (2.4.4) plus ELDK 2.0 works find  on  a
couple of boards with PCMCIA cards, including WLAN (tested with DLink
and Elsa Airlancer [= orinoco]).

> 	Now the question that I fear: There is need of a ISA bus? If yes, where do I

No.

> 	I'm configuring my kernel to support:
> 	- hot plugable devies,
> 	- CardBus,

Do _not_ include cardbus support.


Best regards,

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
See us @ electronica 2002 in Munich, Nov 12-15, Hall A3, Booth A3.325

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* Re: Card Services in a FADS850SAR board
  2002-11-12 21:26 Card Services in a FADS850SAR board Leonardo Pereira Santos
  2002-11-12 21:47 ` Wolfgang Denk
@ 2002-11-18  4:07 ` Michael Habermann
  2002-11-18  5:42   ` ramdisk crash qi zhaoling
  1 sibling, 1 reply; 4+ messages in thread
From: Michael Habermann @ 2002-11-18  4:07 UTC (permalink / raw)
  To: Leonardo Pereira Santos, linuxppc-embedded


Leonardo Pereira Santos wrote:

>	I'm configuring my kernel to support:
>	- hot plugable devies,
>	- CardBus,
>	- 8xx support
>
Have you tried a non-kernel version of pcmcia-cs?
For the 850, you need to take care that PCMCIA_SLOT_B is defined,
instead of PCMCIA_SLOT_A.


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* ramdisk crash
  2002-11-18  4:07 ` Michael Habermann
@ 2002-11-18  5:42   ` qi zhaoling
  0 siblings, 0 replies; 4+ messages in thread
From: qi zhaoling @ 2002-11-18  5:42 UTC (permalink / raw)
  To: linuxppc-embedded


hi ,
     I use the SELF from the denx corp to bring up my embedded linux.
 the PPCBoot and Kernel bootup sucessfully , but when i used initrd
 to mount ramdisk , the system crashed . but if i use NFS to mount =
 ramdisk
 , it's fine .

 i am sure:

 1. I build linux kernel according to SELF
 2. I build ramdisk according to SELF=20


 does anybody meet this problem also ? pls give me a hand .


 thanks


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

end of thread, other threads:[~2002-11-18  5:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-12 21:26 Card Services in a FADS850SAR board Leonardo Pereira Santos
2002-11-12 21:47 ` Wolfgang Denk
2002-11-18  4:07 ` Michael Habermann
2002-11-18  5:42   ` ramdisk crash qi zhaoling

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).