Let's collect all information about speed of x5000/020 and x5000/040 as it looks like x5000/040 in some areas is very slow (slower than x5000/020 much). I noticed the same under AmigaOS4 with 2 different testers, so, let's see if there is the same issues under Linux, so we can rule out AmigaOS4 or not, and find out if it issue on OS side, or Uboot/Hardware/etc.
@Roland
Do you mean you compile mos's "MemTest" for both Linux and OS4 on X5000/040 and tried it? Probably we need to put a binarys there, so we all can test it on different 020/040 machines.But also I have tried to find such test program for Linux and have not found any. Instead, there is for MorphOS 'MemtTest' program, which gives with the 'vram' parameter the write and read performance for VRAM. And also there the read performance is VERY low for X5040, even lower than with OS 4.1 (e.g. 12 Mbit/sec MOS vs. 20 Mbit/sec OS4.1 with a HD 7450). So I think there is indeed something wrong at lower level than the operating systems themselves.