<html>
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 10 (filtered)">
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p.MsoAutoSig, li.MsoAutoSig, div.MsoAutoSig
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.StyleCourrierlectronique17
        {font-family:Arial;
        color:windowtext;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=FR link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=DE
style='font-size:12.0pt'>Hi,</span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=DE
style='font-size:12.0pt'> </span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>I’m trying to get good IO throughput for network
and IDE with my MPC5200Lite board but for now I only have poor performances.</span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>I’m using U-Boot 1.1.1 and the ppc linux kernel
from ELDK 3.0.</span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'> </span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>When booting the kernel, it says that the FEC is
working in HD mode. Not full duplex!</span></font></p>
<p class=MsoNormal style='text-indent:35.4pt'><font size=3
face="Times New Roman"><span lang=EN-GB style='font-size:12.0pt'>eth0: config:
auto-negotiation on, 100HDX, 10HDX</span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'> </span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>When testing the IDE throughput with hdparm 5.5, I’m
getting 80MB/s for cache read and 2,3MB/s for non-cache read.</span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>I was able to improve the cache read to 160MB/s by restoring,
in u-boot, the </span></font><span lang=EN-GB>Wait</span><span lang=EN-GB> </span><span
lang=EN-GB>State</span><span lang=EN-GB> configuration that was removed in start.S
v1.5</span></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'> </span></font><span
lang=PT-BR>lis r3, 0x00047800@h</span></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=PT-BR
style='font-size:12.0pt'> ori
r3, r3, 0x00047800@l</span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'> stw
r3, 0x300(r4)</span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'> </span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>But when trying to enable the DMA for IDE transfer,
the kernel returns a lot of DMA errors.</span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>In the "drivers/ide/ppc/mpc5xxx_ide.c" file
at line 323, there is a comment saying: “Re-enable this code when DMA
atually works”. </span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>That makes me wonder if DMA is working at all for IDE
transfer!</span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'> </span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>The linuxppc_2_4_devel tree from cvs.denx.de makes the
kernel panic while looking for the partition on the disk…</span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'> </span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'> </span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Has anyone got the MPC5200Lite configure to use DMA
for IDE transfer?</span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'> </span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'> </span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Cheers,</span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Bertrand</span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'> </span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>PS: Is there a place to discuss about the linux kernel
on the MPC5200?</span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>I checked over at <a href="http://www.denx.de/">www.denx.de</a>,
but there is no link for such place.</span></font></p>
</div>
</body>
</html>