From: Matthew Locke <hidden> Date: 2000-08-02 20:44:06
My name's Phuc Le. I am new on this field. I just installed
PCMCIA HDD on the the DVK MPC823 but it failed.
What is the DVK 823? I haven't heard of that one.
The result was the cardmgr detects the flugged pcmcia device to be
ATA/IDE and it tried to load the 'ide_cs.o' module. But it failed. The error
message were displayed as below:
.... ide_cs.o: unresolved symbol 'ide_register'
.... ide_cs.o: unresolved symbol 'ide_unregister'
I tried to rebuilt the kernel with turn-on some IDE features in the
configuration phase and recompile the pcmcia based on the new kernel.
The result was still failed with the kernel to be panic status.
As usual Dan beat me to a response, but I can give a little more
detail:-)
My next task (probably after LinuxWorld this month) is to figure out all
the details for making card services work on 8xx and document them. In
the mean time, here is what I know:
The 8xx portion of the kernel has some code that connects the PCMCIA
controller to the IDE driver (without card services). this code is
activated when you select the *_IDE and *_IDEDISK config options. So it
probably is conflicting with the ide_cs modules in card services. I
think if you pass in the ide=noprobe (check docs for exact args) at the
boot prompt it might work, maybe.
If you don't need hot swap, I suggest not using card services until I
have packaged it for HardHat. Instead use the existing code that
connects the controller to the IDE driver. You may need to tune some
timing parameters to your PCMCIA h/w. I have a patch that makes it work
with a SanDisk at ftp://ftp.mvista.com/pub/Area51/embedded-planet
To do this:
apply the patch
Enable the _IDE and _IDEDISK kernel config options
make dep; make zImage
insert PCMCIA card
load and boot linux
I will post a message when Card Services is available on Montavista's
ftp site.
Matthew Locke
Software Engineer
Montavista Software
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
From: Nguyen Xuan Hoang <hidden> Date: 2000-08-03 18:31:49
Hi All,
From my understanding the usb slave driver (not host) was done for MPC823
and MPC850, but I can't find where it is nor what is the API for it (In
official linux kernel there's a API for USB host function). Am I right or
too stupid? I hope some people in this maillist can give a point.
Thank in advance
Hoang
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
From: Dan Malek <hidden> Date: 2000-08-04 04:45:09
Nguyen Xuan Hoang wrote:
quoted
From my understanding the usb slave driver (not host) was done for MPC823
and MPC850,
We are working with Embedded Planet to GPL release their host/slave USB
for the 823 and 850. This should hopefully happen in about a week or
so.
I don't think anyone every posted a complete driver, due to the USB
stack
changes in the Linux kernel.
Just sit tight for a week or so and everything should arrive. I am sure
there willl be an announcement when this occurs.
-- Dan
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
From: Matthew Locke <hidden> Date: 2000-08-04 18:31:59
quoted
From my understanding the usb slave driver (not host) was done for MPC823
and MPC850, but I can't find where it is
As Dan said, hopefully the annoucement will happen soon.
quoted
nor what is the API for it (In
official linux kernel there's a API for USB host function). Am I right or
too stupid? I hope some people in this maillist can give a point.
Which kernel are you looking in? USB support in the 2.2 kernel isn't
very stable. 2.4 has a very nice implementation and I think you can find
backports to the 2.2. However backports are not always stable.
Basically the kernel provides slave (peripheral) drivers for the basic
peripheral classes, printer, scanner, mouse, keyboard, etc. look in
drivers/usb for those files to use as examples.
The first place to look is in the Documentation directory of the kernel
tree. At the very least it will have pointers to where to find docs.
In this case (2.4), it provides some good descriptions of the USB API
and the various pieces that make up the USB stack. I read a paper
called "Programming Guide for Linux USB Devices" that is pretty good.
you can find it at http://usb.in.tum.de/usbdoc .
Matthew Locke
Montavista Software
http://www.mvista.com
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
From: Nguyen Xuan Hoang <hidden> Date: 2000-08-05 01:50:59
Hi,
Could anyone please spend few minutes to give me advices. I have no clue
about this.
Thanks in advance
Hoang
----- Original Message -----
From: "Nguyen Xuan Hoang" <redacted>
To: <redacted>
Sent: Thursday, August 03, 2000 11:31 AM
Subject: Usb slave API
Hi All,
From my understanding the usb slave driver (not host) was done for MPC823
and MPC850, but I can't find where it is nor what is the API for it (In
official linux kernel there's a API for USB host function). Am I right or
too stupid? I hope some people in this maillist can give a point.
Thank in advance
Hoang
From: Nguyen Xuan Hoang <hidden> Date: 2000-08-05 20:03:02
Thank you very much for your reply.
quoted
quoted
From my understanding the usb slave driver (not host) was done for
MPC823
quoted
quoted
and MPC850, but I can't find where it is
As Dan said, hopefully the annoucement will happen soon.
I am glad to know that.
quoted
quoted
nor what is the API for it (In
official linux kernel there's a API for USB host function). Am I
right or
quoted
quoted
too stupid? I hope some people in this maillist can give a point.
Which kernel are you looking in? USB support in the 2.2 kernel isn't
very stable. 2.4 has a very nice implementation and I think you can find
backports to the 2.2. However backports are not always stable.
I thought MVista is going to release 2.2.14 with USB support so I plan to
use 2.2.14 with backport
Basically the kernel provides slave (peripheral) drivers for the basic
peripheral classes, printer, scanner, mouse, keyboard, etc. look in
drivers/usb for those files to use as examples.
If I am not wrong, these are the driver in host mode. I am looking for tha
API when MPC823 configure as usb slave, which can connect to PC (like Kodak
DC290 using MPC823).
Is the Slave and Host API the same? I am very supprised if that' correct.
From: Gary Swanson <hidden> Date: 2000-09-13 16:56:12
Dan,
a while ago you wrote
We are working with Embedded Planet to GPL release their host/slave USB
for the 823 and 850. This should hopefully happen in about a week or
so.
I don't think anyone every posted a complete driver, due to the USB
stack
changes in the Linux kernel.
Just sit tight for a week or so and everything should arrive. I am sure
there willl be an announcement when this occurs.
I see this is mentioned on Embedded Planet in a press release as
available as part of their LinuxPlanet dev kit, but is the source GPL'd
and available ? I scoured Embedded Planet's and Monta Vista's web (and
ftp for MV) sites but found nothing.
Thanks for any info,
Gary
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/