[U-Boot-Users] MPC5200Lite performances!

Hi,
I'm trying to get good IO throughput for network and IDE with my MPC5200Lite board but for now I only have poor performances.
I'm using U-Boot 1.1.1 and the ppc linux kernel from ELDK 3.0.
When booting the kernel, it says that the FEC is working in HD mode. Not full duplex!
eth0: config: auto-negotiation on, 100HDX, 10HDX
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.
I was able to improve the cache read to 160MB/s by restoring, in u-boot, the Wait State configuration that was removed in start.S v1.5
lis r3, 0x00047800@h
ori r3, r3, 0x00047800@l
stw r3, 0x300(r4)
But when trying to enable the DMA for IDE transfer, the kernel returns a lot of DMA errors.
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".
That makes me wonder if DMA is working at all for IDE transfer!
The linuxppc_2_4_devel tree from cvs.denx.de makes the kernel panic while looking for the partition on the disk...
Has anyone got the MPC5200Lite configure to use DMA for IDE transfer?
Cheers,
Bertrand
PS: Is there a place to discuss about the linux kernel on the MPC5200?
I checked over at www.denx.de http://www.denx.de/ , but there is no link for such place.

In message 5A96167EBCEA8440A48790B5419953AE13C41D@gr-lafayette.lacie.com you wrote:
I'm trying to get good IO throughput for network and IDE with my MPC5200Lite board but for now I only have poor performances.
This is not really a on-tpoic for the U-Boot-users list...
I'm using U-Boot 1.1.1 and the ppc linux kernel from ELDK 3.0.
Try the current kernel from our CVS instead.
When booting the kernel, it says that the FEC is working in HD mode. Not full duplex!
Yes, this is a known problem. We see errors in certain configurations when running FD. We're working on it.
But when trying to enable the DMA for IDE transfer, the kernel returns a lot of DMA errors.
DMA does not work in the kernel version you are using. You may try the current version from CVS, but be warned: IDE DMA still conflicts with the FEC driver.
That makes me wonder if DMA is working at all for IDE transfer!
Not with the kernel version (or more precisely: not with the BestComm API code) you are using.
The linuxppc_2_4_devel tree from cvs.denx.de makes the kernel panic while looking for the partition on the disk...
It works fine for me - but as mentioned before, it still conflicts with the FEC driver.
Has anyone got the MPC5200Lite configure to use DMA for IDE transfer?
Yes, at least a bit. Motorola and we are working on this.
PS: Is there a place to discuss about the linux kernel on the MPC5200?
Of course: linuxppc-dev is probably best. linuxppc-embedded would be tolerable, too.
Best regards,
Wolfgang Denk
participants (2)
-
Bertrand Baudet
-
Wolfgang Denk