Hi
I cannot make the ARM processor to litle endian. But i have the
facility to set the ARC USB-OTG controller in 2 modes ... either
Little-Endian or Big-Endian.
So if i set the USB-controller in Little Endian, it would try to
access the DMA QTD buffer pointer in little-endian mode.
In qtd_fill()
On Thursday 15 June 2006 8:29 am, rakesh kn wrote:
> Hi,
> The ARM processor is in BIG-ENDIAN mode. I have executed a program
> to check in whcih mode is the processor.
And to repeat a previous question:
> > Have you tried running your
> > CPU in little-endian mode, which is more conventiona
Hi,
The ARM processor is in BIG-ENDIAN mode. I have executed a program
to check in whcih mode is the processor.
So from ur infrence, it would mean that , qtd_fill( ) function which
does the cpu_to_le32() of the DMA hardware buffer would get screwed up
in my case .
So removing the converting of D
On Thursday 15 June 2006 4:14 am, rakesh kn wrote:
> Hi all,
Let me repeat my earlier multiple requests to you that you not send
me private email that's duplicating what you send to the public
linux-usb-devel list ... one copy is more than enough.
> If my processor is ARM based, i get the DMA a
Hi all,
In Function qtd_fill() (FILE - ehci-q.c) , we get the DMA'able buffer
address, but when we fill the qTD, we convert the buffer address to
Little Endian. and assigning it as follows
qtd->hw_buf [0] = cpu_to_le32 ((u32)addr);
qtd->hw_buf_hi [0] = cpu_to_le32 ((u32)(addr >> 32));
If my pro