Re: Using DMA

2008-11-11 Thread Timur Tabi
[EMAIL PROTECTED] wrote: > Yea, that works! I hit the probe function. Thanks very much Timur. I > would never have found that. I'm glad to help. > Experimentally, I've found that I don't need the "simple-bus" > compatibility in the of_device_id array in the Elo DMA driver. Any idea > why?

Re: Using DMA

2008-11-11 Thread Bruce_Leonard
Timur Tabi <[EMAIL PROTECTED]> wrote on 11/11/2008 11:22:06 AM: > [EMAIL PROTECTED] wrote: > > [EMAIL PROTECTED] { > #address-cells = <1>; > #size-cells = <1>; > #interrupt-cells = <2>; > device_type = "soc"; > +

Re: Using DMA

2008-11-11 Thread Timur Tabi
[EMAIL PROTECTED] wrote: [EMAIL PROTECTED] { #address-cells = <1>; #size-cells = <1>; #interrupt-cells = <2>; device_type = "soc"; +compatible = "simple-bus"; And then add { .compatible = "simple

Re: Using DMA

2008-11-11 Thread Bruce_Leonard
> > I believe this because the kernel never scanned the DMA entries in the device > tree. This is why I said you need of_platform_bus_probe() with the compatible > field of the parent of the DMA controller node. Send me your device tree. > ///

Re: MPC8349 DMA

2008-11-11 Thread Scott Wood
jay_chen wrote: I am using 2.6.14.5 and MPC8349. I got some DMA problems with PCI devices. So, I tried to understand the DMA stuff of linux. That's very old; have you tried the latest kernel? I have one question about cache coherency. In dma-mapping.h, I found some functions are defined as NU

Re: Using DMA

2008-11-11 Thread Timur Tabi
[EMAIL PROTECTED] wrote: > [EMAIL PROTECTED] wrote on 11/09/2008 > 04:09:51 PM: > >>> The Elo device driver is an async DMA back-end driver. That is, you >>> don't communicate with that driver directly, you communicate with the >>> async library (which is new - so you won't find it in LDD3). >>>

MPC8349 DMA

2008-11-11 Thread jay_chen
Hi, I am using 2.6.14.5 and MPC8349. I got some DMA problems with PCI devices. So, I tried to understand the DMA stuff of linux. I have one question about cache coherency. In dma-mapping.h, I found some functions are defined as NULL. For example: #define dma_cache_inv(_start,_size) do { } whil

Porting Linux to 8051 [ was:Re: Using DMA ]

2008-11-11 Thread Martyn Welch
On Tue, 11 Nov 2008 14:39:38 +0530 "Rajasekaran Kaliyaperumal, Chennai" <[EMAIL PROTECTED]> wrote: > > > HI, > Hi Rajasekaran, Firstly - please don't hijack an existing thread when asking a new, completely unrelated question. Start a new thread with a relevant title. > I would like to port

RE: Using DMA

2008-11-11 Thread Rajasekaran Kaliyaperumal, Chennai
HI, I would like to port a linux kernel to a 8051 Microcontroller C8051F120(128kB flash memory 8KB Ram ). Is this really possible? What book would help me in porting a linux kernel to a modest microcontroller such as 8051? Any help would be greatly appreciated Thanks in Advance K.Ra