From: Clemens Koller <clemens.koller@anagramm•de>
To: "Bizhan Gholikhamseh (bgholikh)" <bgholikh@cisco•com>
Cc: linuxppc-embedded@ozlabs•org
Subject: Re: MPC8541E DMA transfer
Date: Thu, 04 Aug 2005 14:12:39 +0200 [thread overview]
Message-ID: <42F20637.9070207@anagramm.de> (raw)
In-Reply-To: <F795765B112E7344AF36AA91127964158494B8@xmb-sjc-212.amer.cisco.com>
[-- Attachment #1: Type: text/plain, Size: 2434 bytes --]
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,
> 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
> every 10ms.
>
> - kumar
>
> On Aug 3, 2005, at 10:04 AM, Bizhan Gholikhamseh \(((bgholikh\))) wrote:
>
>
>>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
>
>
>>address space.
>>For reason that is beyond the discussion here, the DMA request line on
>
>
>>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
>
[-- Attachment #2: mpc85xx_dma.tar.gz --]
[-- Type: application/octet-stream, Size: 20570 bytes --]
next prev parent reply other threads:[~2005-08-04 12:12 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-03 18:26 MPC8541E DMA transfer Bizhan Gholikhamseh (bgholikh)
2005-08-03 21:57 ` Kumar Gala
2005-08-04 12:12 ` Clemens Koller [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-08-04 16:52 Bizhan Gholikhamseh (bgholikh)
2005-08-04 19:44 ` Kumar Gala
2005-08-03 15:04 Bizhan Gholikhamseh (bgholikh)
2005-08-03 18:24 ` Kumar Gala
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=42F20637.9070207@anagramm.de \
--to=clemens.koller@anagramm$(echo .)de \
--cc=bgholikh@cisco$(echo .)com \
--cc=linuxppc-embedded@ozlabs$(echo .)org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox