From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:45245) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UWnlj-0007QS-0b for qemu-devel@nongnu.org; Mon, 29 Apr 2013 09:05:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UWnle-0007af-P7 for qemu-devel@nongnu.org; Mon, 29 Apr 2013 09:05:22 -0400 Date: Mon, 29 Apr 2013 15:05:12 +0200 From: Aurelien Jarno Message-ID: <20130429130512.GK5000@ohm.aurel32.net> References: <1367000509-8833-1-git-send-email-agraf@suse.de> <1367000509-8833-6-git-send-email-agraf@suse.de> <517D2B5B.1020806@web.de> <517E4D93.601@adacore.com> <517E5B7A.80700@web.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <517E5B7A.80700@web.de> Subject: Re: [Qemu-devel] [PATCH 05/30] PPC: fix hreset_vector for 60x, 7x0, 7x5, G2, MPC8xx, MPC5xx, 7400 and 7450 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Andreas =?iso-8859-15?Q?F=E4rber?= Cc: Alexander Graf , Fabien Chouteau , qemu-devel@nongnu.org, Blue Swirl , qemu-ppc@nongnu.org, Anthony Liguori , =?iso-8859-15?Q?Herv=E9?= Poussineau On Mon, Apr 29, 2013 at 01:37:30PM +0200, Andreas Färber wrote: > Am 29.04.2013 12:38, schrieb Fabien Chouteau: > > On 04/28/2013 03:59 PM, Andreas Färber wrote: > >> Am 26.04.2013 20:21, schrieb Alexander Graf: > >>> From: Fabien Chouteau > >>> > >>> According to the different user's manuals, the vector offset for system > >>> reset (both /HRESET and /SRESET) is 0x00100. > >>> > >>> This patch may break support of some executables, as the power-on start > >>> address may change. For a specific board, if the power-on start address > >>> is different than HRESET vector (i.e. 0x00000100 or 0xfff00100), this > >>> should be fixed in board's initialization code. > >>> > >>> Signed-off-by: Fabien Chouteau > >>> Signed-off-by: Alexander Graf > >> > >> According to git-bisect, this commit broke the prep machine (602). > >> Symptoms are a black screen with no VGA output from OHW or kernel. > >> > >> Please suggest a fix. > >> > > > > Can you hand me the binaries so I can try to fix this? > > The old ppc_rom.bin is still in qemu.git, so this should suffice: > > ./ppc-softmmu/qemu-system-ppc -M prep > > Problem is, we can't really recompile that binary with changes - and to > switch to OpenBIOS after 1.5 to get rid of it, I need to test that my > incremental patches don't break anything. ;) You can't really recompile this exact version, but you can recompile a slightly older version, the one which is in the Debian archive: http://packages.debian.org/source/unstable/openhackware I don't know what are the difference between this one and the one in QEMU though. -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurelien@aurel32.net http://www.aurel32.net