Received: from eggs.gnu.org ([140.186.70.92]:54176) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R5ZHK-0005bY-BH for qemu-devel@nongnu.org; Mon, 19 Sep 2011 04:32:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R5ZHE-0007Hz-IW for qemu-devel@nongnu.org; Mon, 19 Sep 2011 04:32:38 -0400 Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Alexander Graf In-Reply-To: <4E70A530.1070006@us.ibm.com> Date: Mon, 19 Sep 2011 10:32:28 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <1315989802-18753-1-git-send-email-agraf@suse.de> <1315989802-18753-51-git-send-email-agraf@suse.de> <69C96688-2470-40CE-AA62-6E66AC77B8FC@suse.de> <4E70A530.1070006@us.ibm.com> Subject: Re: [Qemu-devel] [PATCH 50/58] pseries: Update SLOF firmware image List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Peter Maydell , qemu-devel Developers , Blue Swirl , "qemu-ppc@nongnu.org" , Aurelien Jarno , David Gibson On 14.09.2011, at 14:59, Anthony Liguori wrote: > On 09/14/2011 07:28 AM, Peter Maydell wrote: >> On 14 September 2011 13:24, Alexander Graf wrote: >>> Am 14.09.2011 um 13:01 schrieb Peter = Maydell: >>>> I confess to not really understanding how we keep the git >>>> submodules and the binary blobs in sync, but shouldn't there >>>> be a reference in the commit message to the git commit hash >>>> for the slof sources corresponding to this blob, and maybe >>>> also an update to roms/SLOF here? (cf commit d67c3f2c for >>>> example) ? >>>=20 >>> Oh? Since I have absolutely no idea on git submodules, it might >>> be helpful to add some description on how to do a blob update >>> into README? >>=20 >> Sounds like a good idea -- I think Anthony is the expert here. >=20 > You should be able to just checkout the desired version of the = submodule (you may need to refetch from git.qemu.org), then build the = binary and copy the results to pc-bios/. Then in the top level, do a = single commit that includes the submodule commit change and the new = binary blob. >=20 > For seabios, it would look something like: >=20 agraf@lychee:/home/agraf/release/qemu> git submodule init Submodule 'roms/SLOF' (git://git.qemu.org/SLOF.git) registered for path = 'roms/SLOF' Submodule 'roms/ipxe' (git://git.qemu.org/ipxe.git) registered for path = 'roms/ipxe' Submodule 'roms/seabios' (git://git.qemu.org/seabios.git/) registered = for path 'roms/seabios' Submodule 'roms/vgabios' (git://git.qemu.org/vgabios.git/) registered = for path 'roms/vgabios' agraf@lychee:/home/agraf/release/qemu> cd roms/SLOF/ agraf@lychee:/home/agraf/release/qemu/roms/SLOF> l total 8 drwxr-xr-x 2 agraf suse 4096 2011-04-01 18:34 ./ drwxr-xr-x 7 agraf suse 4096 2011-05-01 00:42 ../ agraf@lychee:/home/agraf/release/qemu/roms/SLOF> git checkout master Switched to branch "master" ... which switches to "master" on my qemu git tree. Alex