Hi Clemens,
Thanks for the code, the processor I am using is MPC8541E which I
believe have the same DMA engine as mpc8540. I will try it and will let
you know how it worked.
Thanks,
Bizhan=20
-----Original Message-----
From: Clemens Koller [mailto:clemens.koller@anagramm.de]=20
Sent: Thursday, August 04, 2005 5:13 AM
To: Bizhan Gholikhamseh (bgholikh)
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: MPC8541E DMA transfer
Hello, Bizhan!
and all the other mpc85xx DMA fans.
I am working on the mpc85xx dma stuff (based on Jason's work) on the
lastest 2.6.x kernels. My cpu is a mpc8540.
That's all work in progress, so have a look at the code.
Attached you will find some of my test code (a separate kernal module)
which should compile fine for 2.6 now. Make a symlink ~/linux to the
latest 2.6 kernel or change the makefile. There is also the latest
immap_85xx.h (almost complete) included. Some old code is commented
out...
Not all code is enabled in the module yet, and the dma_test routine
copys data from physical memory you might not have in your hardware.
Please change that according to your setup.
Feedback is welcome!
Enjoy!
Clemens Koller
_______________________________
R&D Imaging Devices
Anagramm GmbH
Rupert-Mayer-Str. 45/1
81379 Muenchen
Germany
http://www.anagramm.de
Phone: +49-89-741518-50
Fax: +49-89-741518-19
Bizhan Gholikhamseh (bgholikh) wrote:
Is there any support in Linux 2.6.X for using this controller, if so,=20
are you aware of any test driver I can take a look at?
=20
Thanks,
Bizhan
=20
Many thanks in
=20
-----Original Message-----
From: Kumar Gala [mailto:kumar.gala@freescale.com]
Sent: Wednesday, August 03, 2005 11:24 AM
To: Bizhan Gholikhamseh (bgholikh)
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: MPC8541E DMA transfer
=20
I dont see any reason you couldn't use the internal DMA engine on the=20
MPC8541E to do what you need. You will just need to schedule the work
every 10ms.
=20
- kumar
=20
On Aug 3, 2005, at 10:04 AM, Bizhan Gholikhamseh \(((bgholikh\)))
wrote:
=20
=20
quoted
Hi all,
I am developing a linux driver (2.6.10) for Freescale MPC8541E=20
(customized board) to read and write 8 buffers (each buffer is 960=20
bytes
long) every 10 ms to/from a custom made PCI card with on board DSP=20
Chip.
The chip's internal and external memories are memory mapped to the CPU
=20
=20
quoted
address space.
For reason that is beyond the discussion here, the DMA request line on
=20
=20
quoted
the PCI card is not connected although the PCI card has DMA=20
capabilities.
So what are my options?
Could I still do DMA transfer from the Host to the device?
Many thanks in advance,
Bizhan
<ATT293768.txt>
_______________________________________________
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded
=20
All 85xx processors to date have the same 4 channel DMA engine.
- kumar
On Aug 4, 2005, at 11:52 AM, Bizhan Gholikhamseh \(((bgholikh\))) wrote:
Hi Clemens,
Thanks for the code, the processor I am using is MPC8541E which I
believe have the same DMA engine as mpc8540. I will try it and will
let
you know how it worked.
Thanks,
Bizhan
-----Original Message-----
From: Clemens Koller [mailto:clemens.koller@anagramm.de]
Sent: Thursday, August 04, 2005 5:13 AM
To: Bizhan Gholikhamseh (bgholikh)
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: MPC8541E DMA transfer
Hello, Bizhan!
and all the other mpc85xx DMA fans.
I am working on the mpc85xx dma stuff (based on Jason's work) on the
lastest 2.6.x kernels. My cpu is a mpc8540.
That's all work in progress, so have a look at the code.
Attached you will find some of my test code (a separate kernal module)
which should compile fine for 2.6 now. Make a symlink ~/linux to the
latest 2.6 kernel or change the makefile. There is also the latest
immap_85xx.h (almost complete) included. Some old code is commented
out...
Not all code is enabled in the module yet, and the dma_test routine
copys data from physical memory you might not have in your hardware.
Please change that according to your setup.
Feedback is welcome!
Enjoy!
Clemens Koller
_______________________________
R&D Imaging Devices
Anagramm GmbH
Rupert-Mayer-Str. 45/1
81379 Muenchen
Germany
http://www.anagramm.de
Phone: +49-89-741518-50
Fax: +49-89-741518-19
Bizhan Gholikhamseh (bgholikh) wrote:
quoted
Is there any support in Linux 2.6.X for using this controller, if so,
are you aware of any test driver I can take a look at?
Thanks,
Bizhan
Many thanks in
-----Original Message-----
From: Kumar Gala [mailto:kumar.gala@freescale.com]
Sent: Wednesday, August 03, 2005 11:24 AM
To: Bizhan Gholikhamseh (bgholikh)
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: MPC8541E DMA transfer
I dont see any reason you couldn't use the internal DMA engine on the
MPC8541E to do what you need. You will just need to schedule the
work
quoted
every 10ms.
- kumar
On Aug 3, 2005, at 10:04 AM, Bizhan Gholikhamseh \(((bgholikh\)))
wrote:
quoted
quoted
Hi all,
I am developing a linux driver (2.6.10) for Freescale MPC8541E
(customized board) to read and write 8 buffers (each buffer is 960
bytes
long) every 10 ms to/from a custom made PCI card with on board DSP
Chip.
The chip's internal and external memories are memory mapped to
the CPU
quoted
address space.
For reason that is beyond the discussion here, the DMA request
line on
quoted
the PCI card is not connected although the PCI card has DMA
capabilities.
So what are my options?
Could I still do DMA transfer from the Host to the device?
Many thanks in advance,
Bizhan
<ATT293768.txt>
_______________________________________________
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded
_______________________________________________
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded