From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Machek Date: Sat, 3 Dec 2016 12:09:17 +0100 Subject: [U-Boot] qemu-x86 issues In-Reply-To: References: <20161014233235.GB18591@bill-the-cat> <20161018131959.GZ18591@bill-the-cat> <20161018133554.GA18591@bill-the-cat> Message-ID: <20161203110917.GA12605@amd> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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: