Port-amiga archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: dd miniroot.fs into CF card from non-amiga NetBSD box



On Fri, Feb 24, 2017 at 02:46:58PM +0900, Rin Okuyama wrote:
> >Maybe you can catch the dmesg output, a 50MHz 68060 shows here:
> >
> >Calibrating delay loop... 21/1024 us
> 
> Hmm, how can I calibrate it?


It is supposed to calibrate the delay loop by measuring loop speed
against the hardware clocks. I don't know why this fails for your
board.

delay(x) loops (1024 * x / delaydivisor) times.

The initial delaydivisor for 68060 is 1024 * 1 / 80 which is truncated
to 12. So you loop about 85 * x times and this needs to take more than
about 1.4us (eclock) and less than about 10ms (hz interval).

If your machine is too fast, you can make the initial divisor smaller
so that the test fits into this range.

The dmesg output shows the value of delaydivisor, a Cyberstorm Mk2
(68060 50MHz) shows a value of 21. So the calibration started with
12 and increased it to 21 which makes it unlikely that your board
is too fast for the test.

What calibration value is printed for you?


Greetings,
-- 
                                Michael van Elst
Internet: mlelstv%serpens.de@localhost
                                "A potential Snark may lurk in every tree."


Home | Main Index | Thread Index | Old Index