From: Clemens Koller <clemens.koller@anagramm.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] MPC8540, UPM Writeburst generating also read bursts
Date: Mon, 23 Jul 2007 23:23:11 +0200 [thread overview]
Message-ID: <46A51C3F.2070408@anagramm.de> (raw)
In-Reply-To: <d07a51700707230805u347feb73sf97c45676882f89e@mail.gmail.com>
Hello, Gerrit!
Please don't top-post and please don't remove the list. (use reply-to-all)
(and please move this thread over to linuxppc-embedded, as we are OT here)
Gerrit Van de Velde schrieb:
> Your input is appreciated. But .. I have verified the ECC, it's turned off.
> Nowadays it's configurable with CONFIG_DDR_ECC or something and I've
> used your if statement in the code to check if it was enabled but it
> was going to the else.
Fine.
> But I was just wondering, is DMA really needed to have decent
> througput? Without doing anything with DMA, we attain 500Mbit/s via
> our Gbit link from FPGA DDR memory up to a client PC. The FPGA is
> using a UPM with write/read bursts only.
You don't have single read and write instructions in your UPM?
Please post your UPM table.
> Only the other way is too
> slow at this time (upload from pc to embedded system).
Do you access the DDR memory aligned in 32byte cacheline sizes?
The UPM propably cannot burst unaligned chunks properly.
(I'm not sure about that, comments are welcome).
500MBit/s should be easy to handle with the UPM, if done right.
> I'm asking this because
> 1* I'm not a DMA expert
> 2* I must be sure that the slowness is not caused by not using DMA
1) It makes sense to use the DMA to offload the CPU for copying bulk
data if the CPU can be used for other stuff.
2) Can you first make sure that your Gbit link is working fine by copying
data from/to the CPU's memory without using the UPM?
I guess you will need to post more information about your
system (schematics, code, UPM)...
Regards,
--
Clemens Koller
_______________________________
R&D Imaging Devices
Anagramm GmbH
Rupert-Mayer-Str. 45/1
81379 Muenchen
Germany
http://www.anagramm-technology.com
Phone: +49-89-741518-50
Fax: +49-89-741518-19
prev parent reply other threads:[~2007-07-23 21:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-20 10:45 [U-Boot-Users] MPC8540, UPM Writeburst generating also read bursts Gerrit Van de Velde
[not found] ` <46A09CF1.1050705@anagramm.de>
[not found] ` <d07a51700707230805u347feb73sf97c45676882f89e@mail.gmail.com>
2007-07-23 21:23 ` Clemens Koller [this message]
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=46A51C3F.2070408@anagramm.de \
--to=clemens.koller@anagramm.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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