
3 Dec
2016
3 Dec
'16
12:09 p.m.
Hi!
Bah, lemme correct myself. MIPS* and PowerPC fail due to sleep taking slightly too long. x86 is the only one where it's just way too fast. But this is not true once Linux itself is up.
U-Boot uses x86 TSC timer as the delay timer. Right now the timer frequency is hard-coded in device tree. Auto-calibration does not work on QEMU. I need have another check to see if we can do auto-calibration.
TSC is not really suitable for delays on x86. (Actually, TSC is pretty much not suitable for anything :-) ). PIT should be easy to use and work everywhere...
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html