|
From: | Mark Cave-Ayland |
Subject: | Re: [Qemu-devel] [PATCH for-1.7 1/3] sun4m: Add FCode ROM for TCX framebuffer |
Date: | Thu, 19 Dec 2013 19:27:38 +0000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20130116 Icedove/10.0.12 |
On 19/12/13 12:59, Artyom Tarasenko wrote:
Hi Mark, this patch breaks booting with OBP: Probing /address@hidden,10000000/address@hidden,10001000 at 5,0 espdma esp sd st SUNW,bpp ledma le Probing /address@hidden,10000000/address@hidden,10001000 at 4,0 SUNW,CS4231 power-management Probing /address@hidden,10000000/address@hidden,10001000 at 1,0 Nothing there Probing /address@hidden,10000000/address@hidden,10001000 at 2,0 Nothing there Probing /address@hidden,10000000/address@hidden,10001000 at 3,0 SUNW,tcx Memory Address not Aligned ^^^^ After the unaligned access OBP is not properly initialized. See the bug 1262081, reported by Peter Bartoli. Artyom
Ah... I wonder if OBP doesn't like something in the QEMU,tcx.bin FCode initialisation function? If you temporarily rename the file (which can be found in the share directory) to something else, does boot start to work again?
Thinking about it, I suspect I'll need to add some code to the OpenBIOS FCode ROMs so that they only initialise if OpenBIOS is detected. This is because there is code there that tries to get information from QEMU about the screen width/height/depth etc. which will obviously fail on OBP.
ATB, Mark.
[Prev in Thread] | Current Thread | [Next in Thread] |