How to support removable CF card via IDE on MPC52xx
I have IDE working on my MPC5200B based system using the driver: drivers/ide/ppc/mpc52xx_ide. The IDE device is a compact flash card inserted in a compact flash slot on the CPU board. Two separate pins (reset and card-detect) are provided to the CPU to force a reset and to detect the presence of the compact-flash card. Right now I don't use the card detection, the card is always in the slot, but I want to be able to use the board without the card inserted. What is the best way to let the kernel only use the compact flash card when it is inserted? Can/should I make use of PCMCIA, eventhough the interface is not PCMCIA compatible? Can PCMCIA then make use of the allready working drivers/ide/ppc/mpc52xx_ide driver? Thanks in advance, Henk Stegeman ___ Linuxppc-embedded mailing list Linuxppc-embedded@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-embedded
RE: Xilinx XPS_LL_TEMAC vs PLB_TEMAC
Actually, with the MPMC3 the XPS_LL_TEMAC still can directly connect to the MPMC. You set one of the ports' type to SDMA and it instantiates what is similar to the old CDMAC. From: Mohammad Sadegh Sadri [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 23, 2008 2:36 AM To: Koss, Mike (Mission Systems); David Baird; linuxppc-embedded@ozlabs.org Subject: RE: Xilinx XPS_LL_TEMAC vs PLB_TEMAC Hi Well, As you know, we now need a PLB version, XPS_LL_TEMAC is connected to PLB not MPMC2...yes I remember those days of Xilinx GSRD and MPMC2 however it seems that the current architecture has slight changes. about the git repository of Xilinx, Although I do not believe on it, I'll give it a try...thanks for info. well, what about Grant Likely... and his git tree? Subject: RE: Xilinx XPS_LL_TEMAC vs PLB_TEMAC Date: Mon, 21 Jan 2008 11:44:14 -0600 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; linuxppc-embedded@ozlabs.org In case anyone is interested, I'm currently working on an almost-kernel-ready version that will be self-contained based on the LL-DMA version (the native MPMC port, not the PLB). It's based upon the old adapter from MontaVista, that I originally ported to 2.6 and the MPMC2. Unfortunately, it won't be ready for another few weeks since I'm working on hardware images currently. -- Mike From: Mohammad Sadegh Sadri [mailto:[EMAIL PROTECTED] Sent: Monday, January 21, 2008 3:54 AM To: David Baird; linuxppc-embedded@ozlabs.org Subject: RE: Xilinx XPS_LL_TEMAC vs PLB_TEMAC thanks for you reply david, As far as I know the Linux driver for Xilinx PLB TEMAC was two parts : 1- adapter.c and 2- the rest of the driver files Only adapter.c was really a linux related file and the rest of the files were Xilinx generic driver code for PLB TEMAC. correct? then now, I know EDK 9.2 generates the needed Linux support package and needed related files, so if this is the case can we use these files as the needed driver in our linux kernel? by the way, i did never hear about this git repository before...can you describe us, where is it and how we can access it and which projects are now hosted by it? thanks Date: Mon, 21 Jan 2008 00:54:30 -0700 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Xilinx XPS_LL_TEMAC vs PLB_TEMAC On Jan 21, 2008 12:36 AM, Mohammad Sadegh Sadri [EMAIL PROTECTED] wrote: As you know Xilinx PLB TEMAC is a module which connects Hard TEMAC in Virtex-4 FX devices to PLB bus, now, in the new release of EDK , EDK 9.2 Xilinx has added a new interface core , which is called XPS_LL_TEMAC and has a different structure than normal PLB TEMAC. spacially it has some additional data transfer buses. Now the question is,... is there any linux driver available for this new core? Yes there is, but I had to use the git sources at: git.xilinx.com http:// ___ Linuxppc-embedded mailing list Linuxppc-embedded@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-embedded
Re: CONFIG_PCI interaction with pata_platform driver on MPC834x board
I am asking this question once more since my previous try -- right before the Christmas break -- did not elicit any responses! ;~) Without PCI support configured in the kernel, the CompactFlash card is discovered and configured by the kernel. With PCI support configured in the kernel, it fails to discover the CF card through the pata_platform driver. (Note that both PCI and CF work fine on this same board with the generic IDE driver!) There are only two differences that I notice between the two kernel setups that might be significant: 1.) The libata virq changes from 19 to 20. 2.) The isa_io_base changes from 0x0 to 0xfcfff000. Are either of these two changes significant? I am using the arch/powerpc kernel, version 2.6.20.21. The CF is wired directly to the local bus in True IDE mode. I have some debug info included in my previous message at: http://www.nabble.com/CONFIG_PCI-interaction-with-pata_platform-driver-on-MPC834x-board-tc14457502.html TIA! -- Johns ___ Linuxppc-embedded mailing list Linuxppc-embedded@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-embedded
RE: Xilinx XPS_LL_TEMAC vs PLB_TEMAC
So, in this case, our base system, created with EDK 9.2 will not be the same as previous systems, as shown in http://www.xilinx.com/esp/wired/optical/xlnx_net/mpmc.htm PLB and OPB usage is limited to a small area of design... Subject: RE: Xilinx XPS_LL_TEMAC vs PLB_TEMAC Date: Wed, 23 Jan 2008 07:43:14 -0600 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; linuxppc-embedded@ozlabs.org Actually, with the MPMC3 the XPS_LL_TEMAC still can directly connect to the MPMC. You set one of the ports' type to SDMA and it instantiates what is similar to the old CDMAC. From: Mohammad Sadegh Sadri [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 23, 2008 2:36 AM To: Koss, Mike (Mission Systems); David Baird; linuxppc-embedded@ozlabs.org Subject: RE: Xilinx XPS_LL_TEMAC vs PLB_TEMAC Hi Well, As you know, we now need a PLB version, XPS_LL_TEMAC is connected to PLB not MPMC2...yes I remember those days of Xilinx GSRD and MPMC2 however it seems that the current architecture has slight changes. about the git repository of Xilinx, Although I do not believe on it, I'll give it a try...thanks for info. well, what about Grant Likely... and his git tree? Subject: RE: Xilinx XPS_LL_TEMAC vs PLB_TEMAC Date: Mon, 21 Jan 2008 11:44:14 -0600 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; linuxppc-embedded@ozlabs.org In case anyone is interested, I'm currently working on an almost-kernel-ready version that will be self-contained based on the LL-DMA version (the native MPMC port, not the PLB). It's based upon the old adapter from MontaVista, that I originally ported to 2.6 and the MPMC2. Unfortunately, it won't be ready for another few weeks since I'm working on hardware images currently. -- Mike From: Mohammad Sadegh Sadri [mailto:[EMAIL PROTECTED] Sent: Monday, January 21, 2008 3:54 AM To: David Baird; linuxppc-embedded@ozlabs.org Subject: RE: Xilinx XPS_LL_TEMAC vs PLB_TEMAC thanks for you reply david, As far as I know the Linux driver for Xilinx PLB TEMAC was two parts : 1- adapter.c and 2- the rest of the driver files Only adapter.c was really a linux related file and the rest of the files were Xilinx generic driver code for PLB TEMAC. correct? then now, I know EDK 9.2 generates the needed Linux support package and needed related files, so if this is the case can we use these files as the needed driver in our linux kernel? by the way, i did never hear about this git repository before...can you describe us, where is it and how we can access it and which projects are now hosted by it? thanks Date: Mon, 21 Jan 2008 00:54:30 -0700 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Xilinx XPS_LL_TEMAC vs PLB_TEMAC On Jan 21, 2008 12:36 AM, Mohammad Sadegh Sadri [EMAIL PROTECTED] wrote: As you know Xilinx PLB TEMAC is a module which connects Hard TEMAC in Virtex-4 FX devices to PLB bus, now, in the new release of EDK , EDK 9.2 Xilinx has added a new interface core , which is called XPS_LL_TEMAC and has a different structure than normal PLB TEMAC. spacially it has some additional data transfer buses. Now the question is,... is there any linux driver available for this new core? Yes there is, but I had to use the git sources at: git.xilinx.com _ ___ Linuxppc-embedded mailing list Linuxppc-embedded@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-embedded
Re: CONFIG_PCI interaction with pata_platform driver on MPC834x board
On Jan 23, 2008, at 9:06 AM, Johns Daniel wrote: I am asking this question once more since my previous try -- right before the Christmas break -- did not elicit any responses! ;~) Without PCI support configured in the kernel, the CompactFlash card is discovered and configured by the kernel. With PCI support configured in the kernel, it fails to discover the CF card through the pata_platform driver. (Note that both PCI and CF work fine on this same board with the generic IDE driver!) There are only two differences that I notice between the two kernel setups that might be significant: 1.) The libata virq changes from 19 to 20. 2.) The isa_io_base changes from 0x0 to 0xfcfff000. Are either of these two changes significant? I am using the arch/powerpc kernel, version 2.6.20.21. The CF is wired directly to the local bus in True IDE mode. I have some debug info included in my previous message at: http://www.nabble.com/CONFIG_PCI-interaction-with-pata_platform-driver-on-MPC834x-board-tc14457502.html I suggest putting some prints in the driver to see if the addresses that are ioremap() are the same. then I'd track down if/where actual register read/writes are occurring and see if the same address is being used. - k ___ Linuxppc-embedded mailing list Linuxppc-embedded@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-embedded
Re: framebuffer swap endianess
On Jan 23, 2008, at 1:39 AM, Roman Fietze wrote: Hello ANgelo, On Tuesday 22 January 2008 16:46:47 Angelo wrote: I have just create a framebuffer for an embedded system: - powerpc (little endian) with a GPU (big endian). Are you sure? Isn't it the other way around? we are sure. Linux only supports PPC in big endian mode. - k ___ Linuxppc-embedded mailing list Linuxppc-embedded@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-embedded
RE: Xilinx XPS_LL_TEMAC vs PLB_TEMAC
The LL_TEMAC can be connected in two topologies. One connects the locallink directly to the SDMA port of the MPMC3. The other topology connects to a PLB46 bus using an XPS_LL_FIFO, which (most likely) connects to the plb bus port of the mpmc. The easiest way to decipher the connection pattern is to use Base System Builder in EDK to generate both topologies (which is determined by the 'use DMA' parameter when selecting the LL_TEMAC device. The Linux driver in git.xilinx.com supports both topologies. Steve -Original Message- From: [EMAIL PROTECTED] [mailto:linuxppc-embedded- [EMAIL PROTECTED] On Behalf Of Mohammad Sadegh Sadri Sent: Wednesday, January 23, 2008 7:13 AM To: Koss, Mike (Mission Systems); David Baird; linuxppc-embedded@ozlabs.org Subject: RE: Xilinx XPS_LL_TEMAC vs PLB_TEMAC So, in this case, our base system, created with EDK 9.2 will not be the same as previous systems, as shown in http://www.xilinx.com/esp/wired/optical/xlnx_net/mpmc.htm PLB and OPB usage is limited to a small area of design... Subject: RE: Xilinx XPS_LL_TEMAC vs PLB_TEMAC Date: Wed, 23 Jan 2008 07:43:14 -0600 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; linuxppc-embedded@ozlabs.org Actually, with the MPMC3 the XPS_LL_TEMAC still can directly connect to the MPMC. You set one of the ports' type to SDMA and it instantiates what is similar to the old CDMAC. From: Mohammad Sadegh Sadri [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 23, 2008 2:36 AM To: Koss, Mike (Mission Systems); David Baird; linuxppc-embedded@ozlabs.org Subject: RE: Xilinx XPS_LL_TEMAC vs PLB_TEMAC Hi Well, As you know, we now need a PLB version, XPS_LL_TEMAC is connected to PLB not MPMC2...yes I remember those days of Xilinx GSRD and MPMC2 however it seems that the current architecture has slight changes. about the git repository of Xilinx, Although I do not believe on it, I'll give it a try...thanks for info. well, what about Grant Likely... and his git tree? Subject: RE: Xilinx XPS_LL_TEMAC vs PLB_TEMAC Date: Mon, 21 Jan 2008 11:44:14 -0600 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; linuxppc-embedded@ozlabs.org In case anyone is interested, I'm currently working on an almost-kernel-ready version that will be self-contained based on the LL-DMA version (the native MPMC port, not the PLB). It's based upon the old adapter from MontaVista, that I originally ported to 2.6 and the MPMC2. Unfortunately, it won't be ready for another few weeks since I'm working on hardware images currently. -- Mike From: Mohammad Sadegh Sadri [mailto:[EMAIL PROTECTED] Sent: Monday, January 21, 2008 3:54 AM To: David Baird; linuxppc-embedded@ozlabs.org Subject: RE: Xilinx XPS_LL_TEMAC vs PLB_TEMAC thanks for you reply david, As far as I know the Linux driver for Xilinx PLB TEMAC was two parts : 1- adapter.c and 2- the rest of the driver files Only adapter.c was really a linux related file and the rest of the files were Xilinx generic driver code for PLB TEMAC. correct? then now, I know EDK 9.2 generates the needed Linux support package and needed related files, so if this is the case can we use these files as the needed driver in our linux kernel? by the way, i did never hear about this git repository before...can you describe us, where is it and how we can access it and which projects are now hosted by it? thanks Date: Mon, 21 Jan 2008 00:54:30 -0700 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Xilinx XPS_LL_TEMAC vs PLB_TEMAC On Jan 21, 2008 12:36 AM, Mohammad Sadegh Sadri [EMAIL PROTECTED] wrote: As you know Xilinx PLB TEMAC is a module which connects Hard TEMAC in Virtex-4 FX devices to PLB bus, now, in the new release of EDK , EDK 9.2 Xilinx has added a new interface core , which is called XPS_LL_TEMAC and has a different structure than normal PLB TEMAC. spacially it has some additional data transfer buses. Now the question is,... is there any linux driver available for this new core? Yes there is, but I had to use the git sources at: git.xilinx.com http://
USB device for ppc440epx
Hi: does somebody have code example for USB 2.0 device implementation for ppc440epx, preferably Mass Storage device, but any will do. If not for ppc440epx (Sequoia board), ppc440ep (Yosemite) code will also help (according to CPU user manual USB device interface is practically the same). If this is already present in Linux kernel tree (from what version?), where it is located? Thanks, Leonid. ___ Linuxppc-embedded mailing list Linuxppc-embedded@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-embedded
Re: USB device for ppc440epx
On Wed, 23 Jan 2008 17:01:02 -0800 Leonid [EMAIL PROTECTED] wrote: Hi: does somebody have code example for USB 2.0 device implementation for ppc440epx, preferably Mass Storage device, but any will do. If not for ppc440epx (Sequoia board), ppc440ep (Yosemite) code will also help (according to CPU user manual USB device interface is practically the same). If this is already present in Linux kernel tree (from what version?), where it is located? USB mass storage works on 440EP already. It'll be in 2.6.25 in arch/powerpc. I would suspect 440EPx works as well. BTW, it's considered impolite to hijack a thread to ask a completely unrelated question. josh ___ Linuxppc-embedded mailing list Linuxppc-embedded@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-embedded