[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] Xilinx XPS USB Host controller with petalogix?



On Fri, 2009-09-18 at 10:30 +1000, John Williams wrote:
> Hi Marco,
> 
> On Thu, Sep 17, 2009 at 5:35 PM, hoefle marco
> <marco.hoefle@xxxxxxxxxxxxx> wrote:
> 
> > I want to evaluate the Xilinx USB Host Controller available in EDK 11.x
> > together with petalinux. I have a mmu-less Microblaze test design
> > containing a the XPS USB Host controller on a Spartan3A Starter Kit.
> > If the Host controller works it would give a whole lot of opportunities
> > to a system.
> 
> I agree, this core has a lot of potential.
> 
> > The plan is either to use the Kernel pulled from git://git.monstr.eu/,
> 
> plug - git.monstr.eu is a DNS alias for git.petalogix.com :)
> > compiling it with the microblaze-uclinux- toolchain or to extract the
> > USB drivers from the Kernel sources and compile them as a module for the
> > standard petalogix kernel.
> >
> > Has anyone recommendations in terms of:
> > - Is it possible to use the kernel 2.6.3x.y without mmu and the uclinux
> > toolchain?
> 
> Compiling the  kernel itself should be ok, but you'll likely have
> issues with the userspace, because there are changes in the
> kernel/userspace ABI between the two kernels versions.

I will give it a try. The petalogix tools have very handy scripts to
parse the mhs file and extract the addresses and other data for the
kernel .config. My first approach was to take the .config from
petalinux-v0.40-rc4/software/linux-2.6.x-petalogix generated by the
scripts. But this .config cannot be used for the new kernel. Have you
any suggestions how to migrate from a working kernel to the new one from
the git tree?  

> > - Will it be a lot of effort to backport the USB to the petalogix kernel
> > 2.6.20?
> 
> There were internal USB ABI changes around 2.6.22 or 23, so it
> certainly won't be a "drop and go" exercise.  However, we backported
> the Cypress USB host driver relatively easily, most of the changes
> were fairly mechanical from memory.

> > - has anyone already used the XPS USB Host controller?
> 
> We're evaluating it internally at the moment, and I know Xilinx have
> certainly tested it on both PPC and MicroBlaze.
> 
> What's your timeframe?  Next week, or "just looking to see if it's interesting"?
I want to play and "tinker" a bit for private interests. E.g. USB
wireless adapter, harddisks etc. Thus the time frame is not the big
thing. I just want to avoid to run in the wrong direction.

Regards,
Marco


___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/