question about Linux 2.6 with Xilinx ML-403
On 5/1/06, yding wrote: > HI, Grant, > > It looks like that the patch for ML-403 in Linux 2.6.17 kernel(I downloaded > from Linus git tree) does not have the directory : > ./arch/ppc/platform/4xx/xilinx_ocp like the one in the > 2.4.30 kernel. That's right. AFAIK, The 2.6 kernel is not yet supported by the Xilinx EDK tools; and so it cannot generate a 2.6 BSP. If you want to use the generated BSP; use the montavista 2.4 kernel. > And also, I saw this thread: "Migrate Xilinx Vertex support from the OCP > bus to the platfom bus" > > http://patchwork.ozlabs.org/linuxppc/patch?id=3933 > Does it mean all of onchip peripherals for Virtex-4 FX must reside on the > PLB bus instead of OPB (OCB) bus ? No. Platform bus is a Linux construct to make it simpler to handle "directly attached" devices. ie. Anything that the processor can access directly w/o PCI et all. OPB and PLB devices are both 'platform' devices in Linux 2.6 terminology. > (i.e. during the process of creating the ref design for Linux using Xilinx > Platform studio, I have to select PLB peripherals instead of OPB > peripherals. Is is correct ?) No, use whatever peripherals you want (either PLB, or OPB). Just be prepared to port device drivers for anything beyond a serial port. > > BTW, do you have a sample ref design for ML-403 board for Xilinx Platform > studio ? Why not use the ref design that Xilinx provides? (I have a number of designs that work; but most of the time I use the ML403 ref design because I know it's proven) Cheers, g. -- Grant Likely, B.Sc. P.Eng. Secret Lab Technologies Ltd. (403) 399-0195
question about Linux 2.6 with Xilinx ML-403
HI, Grant, It looks like that the patch for ML-403 in Linux 2.6.17 kernel(I downloaded from Linus git tree) does not have the directory : ./arch/ppc/platform/4xx/xilinx_ocp like the one in the 2.4.30 kernel. And also, I saw this thread: "Migrate Xilinx Vertex support from the OCP bus to the platfom bus" http://patchwork.ozlabs.org/linuxppc/patch?id=3933 Does it mean all of onchip peripherals for Virtex-4 FX must reside on the PLB bus instead of OPB (OCB) bus ? (i.e. during the process of creating the ref design for Linux using Xilinx Platform studio, I have to select PLB peripherals instead of OPB peripherals. Is is correct ?) BTW, do you have a sample ref design for ML-403 board for Xilinx Platform studio ? Thanks for the help. -- Ying Ding Grant Likely wrote: >On 4/7/06, yding wrote: > > >> HI, Grant, >> >> I found this message : >>http://patchwork.ozlabs.org/linuxppc/patch?id=3841 on >>Internet. >> It looks like you created some patch files for supporting Linux 2.6 with >>Xilinx ML-403. >> >>how can download the whole kernel source tree with your patched files (via >>cvs or bitkeeper) ? >> >> > >I believe they are now in Linus' mainline git tree. If not, they are >in Paul's powerpc git tree. > >BTW, please CC the linuxppc-embedded mailing list when emailing me directly. > >Cheers, >g. >-- >Grant Likely, B.Sc. P.Eng. >Secret Lab Technologies Ltd. >(403) 399-0195 > > > -- next part -- An HTML attachment was scrubbed... URL: http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20060501/4ce4b857/attachment.htm
question about Linux 2.6 with Xilinx ML-403
Chang Sun wrote: > Grant, > I checked both Torvalds' tree and Paul's tree. I see the defconfig file > for both ml300 and ml403, but I don't see any source files related to > either ml300 or ml403 under the subdirectory. Have you done > a complete BSP for either ml300 or ml403? > > Thanks, > Chang arch/ppc/platforms/4xx/virtex.c arch/ppc/platforms/4xx/virtex.h arch/ppc/platforms/4xx/xilinx_ml300.c arch/ppc/platforms/4xx/xilinx_ml300.h arch/ppc/platforms/4xx/xilinx_ml403.c arch/ppc/platforms/4xx/xilinx_ml403.h These are in the both trees you've mentioned. Regards, Andrei
question about Linux 2.6 with Xilinx ML-403
Grant, I checked both Torvalds' tree and Paul's tree. I see the defconfig file for both ml300 and ml403, but I don't see any source files related to either ml300 or ml403 under the subdirectory. Have you done a complete BSP for either ml300 or ml403? Thanks, Chang -Original Message- From: [EMAIL PROTECTED] [mailto:linuxppc-embedded-bounces+chang.sun=xilinx.com at ozlabs.org] On Behalf Of Grant Likely Sent: Wednesday, April 12, 2006 11:45 AM To: Martin, Tim Cc: linuxppc-embedded at ozlabs.org Subject: Re: question about Linux 2.6 with Xilinx ML-403 On 4/12/06, Martin, Tim wrote: > Grant, > > I know I could probably figure this out by looking at the GIT tree > directly (which I'm planning to do) but could you summarize how much > (which devices) of the ML-403 is supported by your patches? > > Serial? (which Xilinx core) Yes, full uart > > Ethernet? (Hard-Core PLB TEMAC?, Soft-Core PLB EMAC? Localink TEMAC? Is > 10/100/1000 supported, or is there only 1 rate e.g. 1000 supported?) No. I've ported the 2.4 driver, but I haven't got permission to release it yet. (I'm a contractor; I don't own any of the work I do) > > Anything else (GPIO buttons/switches?) I've got drivers for the PS/2 & VGA, but I'm still trying to get them released. Cheers, g. ___ Linuxppc-embedded mailing list Linuxppc-embedded at ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-embedded
question about Linux 2.6 with Xilinx ML-403
On 4/12/06, Rick Moleres wrote: > > Yes, we have a driver for the PLB TEMAC (different than the GSRD LL > TEMAC) for Linux 2.4 (MontaVista Linux 2.4.20) that's shipped in EDK > 8.1.1, and MontaVista is on the verge of publishing a driver for PLB > TEMAC for Linux 2.6. (I believe it came across this mailing list a few > weeks ago) Hey cool! Yeah I just found it now. I haven't been following the list very closely the last month or so. I'll try it out in short order. Thanks Rick! g. -- Grant Likely, B.Sc. P.Eng. Secret Lab Technologies Ltd. (403) 399-0195
question about Linux 2.6 with Xilinx ML-403
Yes, we have a driver for the PLB TEMAC (different than the GSRD LL TEMAC) for Linux 2.4 (MontaVista Linux 2.4.20) that's shipped in EDK 8.1.1, and MontaVista is on the verge of publishing a driver for PLB TEMAC for Linux 2.6. (I believe it came across this mailing list a few weeks ago) -Rick -Original Message- From: [EMAIL PROTECTED] [mailto:linuxppc-embedded-bounces+moleres=xilinx.com at ozlabs.org] On Behalf Of Grant Likely Sent: Wednesday, April 12, 2006 3:25 PM To: Martin, Tim Cc: linuxppc-embedded at ozlabs.org Subject: Re: question about Linux 2.6 with Xilinx ML-403 On 4/12/06, Martin, Tim wrote: > > Which 2.4 driver - there's the "Montavista" one for the softcore PLB > EMAC, and there's also one for the hardcore PLB TEMAC that gets > distributed with the GSRD. The montavista softcore driver. Has someone written a driver for the TEMAC yet? g. -- Grant Likely, B.Sc. P.Eng. Secret Lab Technologies Ltd. (403) 399-0195 ___ Linuxppc-embedded mailing list Linuxppc-embedded at ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-embedded
question about Linux 2.6 with Xilinx ML-403
On 4/12/06, Martin, Tim wrote: > > Which 2.4 driver - there's the "Montavista" one for the softcore PLB > EMAC, and there's also one for the hardcore PLB TEMAC that gets > distributed with the GSRD. The montavista softcore driver. Has someone written a driver for the TEMAC yet? g. -- Grant Likely, B.Sc. P.Eng. Secret Lab Technologies Ltd. (403) 399-0195
question about Linux 2.6 with Xilinx ML-403
> > > > Ethernet? (Hard-Core PLB TEMAC?, Soft-Core PLB EMAC? Localink TEMAC? Is > > 10/100/1000 supported, or is there only 1 rate e.g. 1000 supported?) > > No. I've ported the 2.4 driver, but I haven't got permission to > release it yet. (I'm a contractor; I don't own any of the work I do) > Which 2.4 driver - there's the "Montavista" one for the softcore PLB EMAC, and there's also one for the hardcore PLB TEMAC that gets distributed with the GSRD. Thanks, Tim
question about Linux 2.6 with Xilinx ML-403
On 4/12/06, yding wrote: > Is this Ethernet device supported by this patch ? No, sorry. I'm still trying to get permission to release it (it's internal only at the moment) g. -- Grant Likely, B.Sc. P.Eng. Secret Lab Technologies Ltd. (403) 399-0195
question about Linux 2.6 with Xilinx ML-403
On 4/12/06, Martin, Tim wrote: > Grant, > > I know I could probably figure this out by looking at the GIT tree > directly (which I'm planning to do) but could you summarize how much > (which devices) of the ML-403 is supported by your patches? > > Serial? (which Xilinx core) Yes, full uart > > Ethernet? (Hard-Core PLB TEMAC?, Soft-Core PLB EMAC? Localink TEMAC? Is > 10/100/1000 supported, or is there only 1 rate e.g. 1000 supported?) No. I've ported the 2.4 driver, but I haven't got permission to release it yet. (I'm a contractor; I don't own any of the work I do) > > Anything else (GPIO buttons/switches?) I've got drivers for the PS/2 & VGA, but I'm still trying to get them released. Cheers, g.
question about Linux 2.6 with Xilinx ML-403
HI, Grant, I downloaded Paul's git tree as you suggested. It seems that the defconfig for ML-403(in Patch [9/9]: http://patchwork.ozlabs.org/linuxppc/patch?id=4226 ), the tri-mode Ethernet MAC on Virtex-4 FX12 on the ML-403 board was disabled. Is this Ethernet device supported by this patch ? Thanks. -- Ying Ding Grant Likely wrote: >On 4/11/06, yding wrote: > > >> I just checked out Linus's GIT tree from >>rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git >>linux-2.6. >> >> Where is the location for Paul's GIT tree ? Just curious ... >> >> > >rsync://rsync.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc.git > >g. > >-- >Grant Likely, B.Sc. P.Eng. >Secret Lab Technologies Ltd. >(403) 399-0195 > > > -- next part -- An HTML attachment was scrubbed... URL: http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20060412/f0b0abf8/attachment.htm
question about Linux 2.6 with Xilinx ML-403
Grant, I know I could probably figure this out by looking at the GIT tree directly (which I'm planning to do) but could you summarize how much (which devices) of the ML-403 is supported by your patches? Serial? (which Xilinx core) Ethernet? (Hard-Core PLB TEMAC?, Soft-Core PLB EMAC? Localink TEMAC? Is 10/100/1000 supported, or is there only 1 rate e.g. 1000 supported?) Anything else (GPIO buttons/switches?) Thanks, Tim -Original Message- From: [EMAIL PROTECTED] [mailto:linuxppc-embedded-bounces+tmartin=viasat.com at ozlabs.org] On Behalf Of Grant Likely Sent: Tuesday, April 11, 2006 9:05 PM To: yding Cc: linuxppc-embedded at ozlabs.org Subject: Re: question about Linux 2.6 with Xilinx ML-403 On 4/11/06, yding wrote: > I just checked out Linus's GIT tree from > rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git > linux-2.6. > > Where is the location for Paul's GIT tree ? Just curious ... rsync://rsync.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc.git g. -- Grant Likely, B.Sc. P.Eng. Secret Lab Technologies Ltd. (403) 399-0195 ___ Linuxppc-embedded mailing list Linuxppc-embedded at ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-embedded
question about Linux 2.6 with Xilinx ML-403
On 4/11/06, yding wrote: > I just checked out Linus's GIT tree from > rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git > linux-2.6. > > Where is the location for Paul's GIT tree ? Just curious ... rsync://rsync.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc.git g. -- Grant Likely, B.Sc. P.Eng. Secret Lab Technologies Ltd. (403) 399-0195
question about Linux 2.6 with Xilinx ML-403
Hi, Grant, Thanks for the information. I just checked out Linus's GIT tree from rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git linux-2.6. Where is the location for Paul's GIT tree ? Just curious ... Best Regards, -- Ying Ding Grant Likely wrote: >On 4/7/06, yding wrote: > > >> HI, Grant, >> >> I found this message : >>http://patchwork.ozlabs.org/linuxppc/patch?id=3841 on >>Internet. >> It looks like you created some patch files for supporting Linux 2.6 with >>Xilinx ML-403. >> >>how can download the whole kernel source tree with your patched files (via >>cvs or bitkeeper) ? >> >> > >I believe they are now in Linus' mainline git tree. If not, they are >in Paul's powerpc git tree. > >BTW, please CC the linuxppc-embedded mailing list when emailing me directly. > >Cheers, >g. >-- >Grant Likely, B.Sc. P.Eng. >Secret Lab Technologies Ltd. >(403) 399-0195 > > > -- next part -- An HTML attachment was scrubbed... URL: http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20060411/92886065/attachment.htm
question about Linux 2.6 with Xilinx ML-403
On 4/7/06, yding wrote: > HI, Grant, > > I found this message : > http://patchwork.ozlabs.org/linuxppc/patch?id=3841 on > Internet. > It looks like you created some patch files for supporting Linux 2.6 with > Xilinx ML-403. > > how can download the whole kernel source tree with your patched files (via > cvs or bitkeeper) ? I believe they are now in Linus' mainline git tree. If not, they are in Paul's powerpc git tree. BTW, please CC the linuxppc-embedded mailing list when emailing me directly. Cheers, g. -- Grant Likely, B.Sc. P.Eng. Secret Lab Technologies Ltd. (403) 399-0195