Installing PCMCIA hard disk on DVK MPC823
Quoted 3 lines
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.
Quoted 4 lines
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:
Quoted 8 lines
.... 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/
Usb slave API
Hi All,
Quoted 1 line
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/
Re: Usb slave API
Quoted 2 lines · Nguyen Xuan Hoang
Quoted 1 line
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/
Re: Usb slave API
In reply to Nguyen Xuan HoangQuoted 3 lines
Quoted 3 lines
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 3 lines
Quoted 3 lines
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/
Usb slave API
In reply to Nguyen Xuan HoangHi,
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" <[email protected]>
To: <[email protected]>
Sent: Thursday, August 03, 2000 11:31 AM
Subject: Usb slave API
Quoted 13 lines
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/
Re: Usb slave API
In reply to Matthew LockeThank you very much for your reply.
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
From my understanding the usb slave driver (not host) was done for
MPC823
Quoted 3 lines
Quoted 1 line
Quoted 1 line
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 3 lines
Quoted 3 lines
Quoted 3 lines
nor what is the API for it (In
official linux kernel there's a API for USB host function). Am I
right or
Quoted 5 lines
Quoted 1 line
Quoted 1 line
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
Quoted 4 lines
Basically the kernel provides slave (peripheral) drivers for the basic peripheral classes, printer, scanner, mouse, keyboard, etc. look in
drivers/usbfor 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.
Quoted 1 line
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Re: Usb slave API
In reply to Dan MalekDan,
a while ago you wrote
Quoted 10 lines
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/