Subject: Re: Bootloader problems
To: Chris Gilbert <chris@paradox.demon.co.uk>
From: Reinoud Zandijk <imago@kabel065011.kabel.utwente.nl>
List: port-arm32
Date: 04/13/2001 15:20:10
Hi Chris,

On Fri, 13 Apr 2001, Chris Gilbert wrote:
> > Pipe Bandwidth is down with the new code:
> > it was 7.82 Mb/s, it's now 5.98 MB/s

Yikes... this is still low compared to the PIII figures i saw *SOB*

> Managed to find the problem, we don't enable clockswitching in the kernel
> (something that we probably should do)  So when the bootloader disables it,
> we don't reenable it, so the clock speed drops back down to the bus interface
> clock speed on the first cache miss, ouch, probably worse on a real sa, this
> being a kinetic the memory is clocked higher (hence lmbench seeing 66MHz)
>
> Anyway workaround is to comment out the EQUD on line 809 or search for
> clockswitching (809 being real lines, not basic lines ;)

Oh ok !!! great ... was just about to investigate if i could reproduce the
effects for my sensation is that the new bootloader accellerates stuff for
me.

> Someone should look into the fact we don't enable clockswitching, see if it's
> just the SA110 that has it or if others (eg SA11x0 do).  I'll do so at some
> point as it certainly effects me (and there's nothing like that as an
> incentive)

I think we sure can put it on ... the reason i used it was more to be safe
for i didnt know if it had side effects and since i dont have a SA i can't
test the code ... i'll disable it OK? but before we do that... can you
check if it's still running ok after it is switched on? don't worry about
SA11x0 ... AFAIK there is no machine capable of running the bootloader
that uses those processors :)) ... and prolly wont matter anyway.

Cheers,
Reinoud