[U-Boot] qemu-x86 issues

Pavel Machek pavel at denx.de
Sat Dec 3 12:09:17 CET 2016


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20161203/7539cc6f/attachment.sig>


More information about the U-Boot mailing list