* [Qemu-devel] [PULL] Update seabios to 1.6.3.2 @ 2012-03-12 13:08 Gerd Hoffmann 2012-03-12 13:08 ` [Qemu-devel] [PATCH 1/2] Add seabios build scripts to roms/ Gerd Hoffmann ` (3 more replies) 0 siblings, 4 replies; 10+ messages in thread From: Gerd Hoffmann @ 2012-03-12 13:08 UTC (permalink / raw) To: qemu-devel; +Cc: Gerd Hoffmann Hi, New seabios release on the 1.6.3 stable branch -- lets update. Also add a Makefile + script to simplify seabios updating. please pull, Gerd Gerd Hoffmann (2): Add seabios build scripts to roms/ Update seabios to 1.6.3.2 pc-bios/bios.bin | Bin 131072 -> 131072 bytes roms/Makefile | 10 ++++++++++ roms/config.seabios | 1 + roms/configure-seabios.sh | 5 +++++ roms/seabios | 2 +- 5 files changed, 17 insertions(+), 1 deletions(-) create mode 100644 roms/Makefile create mode 100644 roms/config.seabios create mode 100755 roms/configure-seabios.sh ^ permalink raw reply [flat|nested] 10+ messages in thread
* [Qemu-devel] [PATCH 1/2] Add seabios build scripts to roms/ 2012-03-12 13:08 [Qemu-devel] [PULL] Update seabios to 1.6.3.2 Gerd Hoffmann @ 2012-03-12 13:08 ` Gerd Hoffmann 2012-03-12 13:08 ` [Qemu-devel] [PATCH 2/2] Update seabios to 1.6.3.2 Gerd Hoffmann ` (2 subsequent siblings) 3 siblings, 0 replies; 10+ messages in thread From: Gerd Hoffmann @ 2012-03-12 13:08 UTC (permalink / raw) To: qemu-devel; +Cc: Gerd Hoffmann Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> --- roms/Makefile | 10 ++++++++++ roms/config.seabios | 1 + roms/configure-seabios.sh | 5 +++++ 3 files changed, 16 insertions(+), 0 deletions(-) create mode 100644 roms/Makefile create mode 100644 roms/config.seabios create mode 100755 roms/configure-seabios.sh diff --git a/roms/Makefile b/roms/Makefile new file mode 100644 index 0000000..0114e6f --- /dev/null +++ b/roms/Makefile @@ -0,0 +1,10 @@ + +default: + @echo "nothing is build by default" + @echo "available build targets:" + @echo " bios -- update bios.bin (seabios)" + +bios: config.seabios + sh configure-seabios.sh $< + make -C seabios out/bios.bin + cp seabios/out/bios.bin ../pc-bios/bios.bin diff --git a/roms/config.seabios b/roms/config.seabios new file mode 100644 index 0000000..c373b87 --- /dev/null +++ b/roms/config.seabios @@ -0,0 +1 @@ +# empty, default config works for us diff --git a/roms/configure-seabios.sh b/roms/configure-seabios.sh new file mode 100755 index 0000000..98f59a2 --- /dev/null +++ b/roms/configure-seabios.sh @@ -0,0 +1,5 @@ +#!/bin/sh +config="$1" +make -C seabios clean distclean +cp "$config" seabios/.config +make -C seabios oldnoconfig -- 1.7.1 ^ permalink raw reply related [flat|nested] 10+ messages in thread
* [Qemu-devel] [PATCH 2/2] Update seabios to 1.6.3.2 2012-03-12 13:08 [Qemu-devel] [PULL] Update seabios to 1.6.3.2 Gerd Hoffmann 2012-03-12 13:08 ` [Qemu-devel] [PATCH 1/2] Add seabios build scripts to roms/ Gerd Hoffmann @ 2012-03-12 13:08 ` Gerd Hoffmann 2012-03-12 14:48 ` [Qemu-devel] [PULL] " Andreas Färber 2012-03-19 18:37 ` Anthony Liguori 3 siblings, 0 replies; 10+ messages in thread From: Gerd Hoffmann @ 2012-03-12 13:08 UTC (permalink / raw) To: qemu-devel; +Cc: Gerd Hoffmann Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> --- pc-bios/bios.bin | Bin 131072 -> 131072 bytes roms/seabios | 2 +- 2 files changed, 1 insertions(+), 1 deletions(-) diff --git a/pc-bios/bios.bin b/pc-bios/bios.bin index 41e2b38ea24e009baa58739ead6eaecb8dbe6611..e1f3923681492bbd6a005924f5becf2f948d61e0 100644 GIT binary patch [ ... snipped to not spam the list ... ] diff --git a/roms/seabios b/roms/seabios index 80d11e8..2e8bd61 160000 --- a/roms/seabios +++ b/roms/seabios @@ -1 +1 @@ -Subproject commit 80d11e8577bf03e98f2eb1b0cb3a281ab2879c9e +Subproject commit 2e8bd611ce4e1e36b5a80c9ca6e256e23802f095 -- 1.7.1 ^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: [Qemu-devel] [PULL] Update seabios to 1.6.3.2 2012-03-12 13:08 [Qemu-devel] [PULL] Update seabios to 1.6.3.2 Gerd Hoffmann 2012-03-12 13:08 ` [Qemu-devel] [PATCH 1/2] Add seabios build scripts to roms/ Gerd Hoffmann 2012-03-12 13:08 ` [Qemu-devel] [PATCH 2/2] Update seabios to 1.6.3.2 Gerd Hoffmann @ 2012-03-12 14:48 ` Andreas Färber 2012-03-12 16:25 ` Anthony Liguori 2012-03-12 17:11 ` Andreas Färber 2012-03-19 18:37 ` Anthony Liguori 3 siblings, 2 replies; 10+ messages in thread From: Andreas Färber @ 2012-03-12 14:48 UTC (permalink / raw) To: Gerd Hoffmann; +Cc: qemu-devel Hi Gerd, Am 12.03.2012 14:08, schrieb Gerd Hoffmann: > New seabios release on the 1.6.3 stable branch -- lets update. > Also add a Makefile + script to simplify seabios updating. That version was released yesterday and I don't see any PATCHes yet... Care to share your build script first before you send a PULL? You also forgot to mention where to pull from. ;) No objection to updating though. Andreas > Gerd Hoffmann (2): > Add seabios build scripts to roms/ > Update seabios to 1.6.3.2 > > pc-bios/bios.bin | Bin 131072 -> 131072 bytes > roms/Makefile | 10 ++++++++++ > roms/config.seabios | 1 + > roms/configure-seabios.sh | 5 +++++ > roms/seabios | 2 +- > 5 files changed, 17 insertions(+), 1 deletions(-) > create mode 100644 roms/Makefile > create mode 100644 roms/config.seabios > create mode 100755 roms/configure-seabios.sh -- SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Qemu-devel] [PULL] Update seabios to 1.6.3.2 2012-03-12 14:48 ` [Qemu-devel] [PULL] " Andreas Färber @ 2012-03-12 16:25 ` Anthony Liguori 2012-03-12 19:55 ` Anthony Liguori ` (2 more replies) 2012-03-12 17:11 ` Andreas Färber 1 sibling, 3 replies; 10+ messages in thread From: Anthony Liguori @ 2012-03-12 16:25 UTC (permalink / raw) To: Andreas Färber; +Cc: seabios@seabios.org, Gerd Hoffmann, qemu-devel On 03/12/2012 09:48 AM, Andreas Färber wrote: > Hi Gerd, > > Am 12.03.2012 14:08, schrieb Gerd Hoffmann: >> New seabios release on the 1.6.3 stable branch -- lets update. >> Also add a Makefile + script to simplify seabios updating. > > That version was released yesterday and I don't see any PATCHes yet... > Care to share your build script first before you send a PULL? > You also forgot to mention where to pull from. ;) > > No objection to updating though. I happen to be looking to do this myself, but upon running SeaBIOS through some testing, I ran into: /home/anthony/build/qemu/x86_64-softmmu/qemu-system-x86_64 -kernel bin/vmlinuz-3.0 -initrd .tmp-3349/initramfs-3349.img.gz -append console=ttyS0 seed=38721 -drive file=.tmp-3349/disk-3349.img,if=none,snapshot=on,id=hd0 -device virtio-balloon-pci,addr=03.0 -device virtio-blk-pci,addr=04.0,drive=hd0 -nographic -nodefconfig -m 1G -no-reboot -no-hpet -device virtio-serial -chardev socket,path=.tmp-3349/channel-3349.sock,id=channel0,server,nowait -device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 -nodefaults -serial stdio -enable-kvm -pidfile .tmp-3349/pidfile-3349.pid -qmp unix:.tmp-3349/qmpsock-3349.sock,server,nowait KVM internal error. Suberror: 1 emulation failure EAX=0000aa55 EBX=00000000 ECX=00000000 EDX=00000000 ESI=00000000 EDI=00000000 EBP=00000000 ESP=00006f50 EIP=0000003c EFL=00010202 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0 ES =0000 00000000 0000ffff 00009300 CS =c300 000c3000 0000ffff 00009b00 SS =0000 00000000 0000ffff 00009300 DS =0000 00000000 0000ffff 00009300 FS =0000 00000000 0000ffff 00009300 GS =0000 00000000 0000ffff 00009300 LDT=0000 00000000 0000ffff 00008200 TR =0000 00000000 0000ffff 00008b00 GDT= 000fd3a8 00000037 IDT= 00000000 000003ff CR0=00000010 CR2=00000000 CR3=00000000 CR4=00000000 DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 DR6=00000000ffff0ff0 DR7=0000000000000400 EFER=0000000000000000 Code=00 00 7c 02 81 02 00 00 00 00 00 00 00 00 3c 00 00 00 00 00 <8c> c8 8e d8 fa fc e9 91 00 b8 16 00 ba 10 05 ef ba 11 05 ec 66 c1 e0 08 ec 66 c1 e0 08 ec ^Cqemu: terminating on signal 2 How extensively did you test the new seabios changes and are you able to recreate? My GCC is: gcc version 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3) Regards, Anthony Liguori > > Andreas > >> Gerd Hoffmann (2): >> Add seabios build scripts to roms/ >> Update seabios to 1.6.3.2 >> >> pc-bios/bios.bin | Bin 131072 -> 131072 bytes >> roms/Makefile | 10 ++++++++++ >> roms/config.seabios | 1 + >> roms/configure-seabios.sh | 5 +++++ >> roms/seabios | 2 +- >> 5 files changed, 17 insertions(+), 1 deletions(-) >> create mode 100644 roms/Makefile >> create mode 100644 roms/config.seabios >> create mode 100755 roms/configure-seabios.sh > ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Qemu-devel] [PULL] Update seabios to 1.6.3.2 2012-03-12 16:25 ` Anthony Liguori @ 2012-03-12 19:55 ` Anthony Liguori 2012-03-12 23:37 ` Kevin O'Connor 2012-03-13 6:52 ` Gerd Hoffmann 2 siblings, 0 replies; 10+ messages in thread From: Anthony Liguori @ 2012-03-12 19:55 UTC (permalink / raw) To: Andreas Färber; +Cc: seabios@seabios.org, Gerd Hoffmann, qemu-devel On 03/12/2012 11:25 AM, Anthony Liguori wrote: > On 03/12/2012 09:48 AM, Andreas Färber wrote: >> Hi Gerd, >> >> Am 12.03.2012 14:08, schrieb Gerd Hoffmann: >>> New seabios release on the 1.6.3 stable branch -- lets update. >>> Also add a Makefile + script to simplify seabios updating. >> >> That version was released yesterday and I don't see any PATCHes yet... >> Care to share your build script first before you send a PULL? >> You also forgot to mention where to pull from. ;) >> >> No objection to updating though. > > I happen to be looking to do this myself, but upon running SeaBIOS through some > testing, I ran into: > > /home/anthony/build/qemu/x86_64-softmmu/qemu-system-x86_64 -kernel > bin/vmlinuz-3.0 -initrd .tmp-3349/initramfs-3349.img.gz -append console=ttyS0 > seed=38721 -drive file=.tmp-3349/disk-3349.img,if=none,snapshot=on,id=hd0 > -device virtio-balloon-pci,addr=03.0 -device virtio-blk-pci,addr=04.0,drive=hd0 > -nographic -nodefconfig -m 1G -no-reboot -no-hpet -device virtio-serial -chardev > socket,path=.tmp-3349/channel-3349.sock,id=channel0,server,nowait -device > virtserialport,chardev=channel0,name=org.libguestfs.channel.0 -nodefaults > -serial stdio -enable-kvm -pidfile .tmp-3349/pidfile-3349.pid -qmp > unix:.tmp-3349/qmpsock-3349.sock,server,nowait > KVM internal error. Suberror: 1 > emulation failure > EAX=0000aa55 EBX=00000000 ECX=00000000 EDX=00000000 > ESI=00000000 EDI=00000000 EBP=00000000 ESP=00006f50 > EIP=0000003c EFL=00010202 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0 > ES =0000 00000000 0000ffff 00009300 > CS =c300 000c3000 0000ffff 00009b00 > SS =0000 00000000 0000ffff 00009300 > DS =0000 00000000 0000ffff 00009300 > FS =0000 00000000 0000ffff 00009300 > GS =0000 00000000 0000ffff 00009300 > LDT=0000 00000000 0000ffff 00008200 > TR =0000 00000000 0000ffff 00008b00 > GDT= 000fd3a8 00000037 > IDT= 00000000 000003ff > CR0=00000010 CR2=00000000 CR3=00000000 CR4=00000000 > DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 > DR6=00000000ffff0ff0 DR7=0000000000000400 > EFER=0000000000000000 > Code=00 00 7c 02 81 02 00 00 00 00 00 00 00 00 3c 00 00 00 00 00 <8c> c8 8e d8 > fa fc e9 91 00 b8 16 00 ba 10 05 ef ba 11 05 ec 66 c1 e0 08 ec 66 c1 e0 08 ec > ^Cqemu: terminating on signal 2 > > How extensively did you test the new seabios changes and are you able to recreate? Sad, I think I might have a bad kernel module... Regards, Anthony Liguori > > My GCC is: > > gcc version 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3) > > Regards, > > Anthony Liguori > >> >> Andreas >> >>> Gerd Hoffmann (2): >>> Add seabios build scripts to roms/ >>> Update seabios to 1.6.3.2 >>> >>> pc-bios/bios.bin | Bin 131072 -> 131072 bytes >>> roms/Makefile | 10 ++++++++++ >>> roms/config.seabios | 1 + >>> roms/configure-seabios.sh | 5 +++++ >>> roms/seabios | 2 +- >>> 5 files changed, 17 insertions(+), 1 deletions(-) >>> create mode 100644 roms/Makefile >>> create mode 100644 roms/config.seabios >>> create mode 100755 roms/configure-seabios.sh >> > > ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Qemu-devel] [PULL] Update seabios to 1.6.3.2 2012-03-12 16:25 ` Anthony Liguori 2012-03-12 19:55 ` Anthony Liguori @ 2012-03-12 23:37 ` Kevin O'Connor 2012-03-13 6:52 ` Gerd Hoffmann 2 siblings, 0 replies; 10+ messages in thread From: Kevin O'Connor @ 2012-03-12 23:37 UTC (permalink / raw) To: Anthony Liguori Cc: qemu-devel, seabios@seabios.org, Andreas Färber, Gerd Hoffmann On Mon, Mar 12, 2012 at 11:25:07AM -0500, Anthony Liguori wrote: > On 03/12/2012 09:48 AM, Andreas Färber wrote: > >Hi Gerd, > > > >Am 12.03.2012 14:08, schrieb Gerd Hoffmann: > >>New seabios release on the 1.6.3 stable branch -- lets update. > >>Also add a Makefile + script to simplify seabios updating. > > > >That version was released yesterday and I don't see any PATCHes yet... > >Care to share your build script first before you send a PULL? > >You also forgot to mention where to pull from. ;) > > > >No objection to updating though. > > I happen to be looking to do this myself, but upon running SeaBIOS > through some testing, I ran into: > > /home/anthony/build/qemu/x86_64-softmmu/qemu-system-x86_64 -kernel [...] > How extensively did you test the new seabios changes and are you able to recreate? There's only two lines of code changes in this release (beyond build related changes (8 lines)). I don't think it's seabios. -Kevin --- a/src/boot.c +++ b/src/boot.c @@ -326,7 +326,7 @@ boot_add_bev(u16 seg, u16 bev, u16 desc, int prio) void boot_add_bcv(u16 seg, u16 ip, u16 desc, int prio) { - bootentry_add(IPL_TYPE_BCV, defPrio(prio, DEFAULT_PRIO) + bootentry_add(IPL_TYPE_BCV, defPrio(prio, DefaultHDPrio) , SEGOFF(seg, ip).segoff , desc ? MAKE_FLATPTR(seg, desc) : "Legacy option rom"); } diff --git a/src/pmm.c b/src/pmm.c index 82a0b1d..c649fd8 100644 --- a/src/pmm.c +++ b/src/pmm.c @@ -214,7 +214,8 @@ malloc_fixupreloc(void) int i; for (i=0; i<ARRAY_SIZE(Zones); i++) { struct zone_s *zone = Zones[i]; - zone->info->pprev = &zone->info; + if (zone->info) + zone->info->pprev = &zone->info; } // Add space free'd during relocation in f-segment to ZoneFSeg ^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: [Qemu-devel] [PULL] Update seabios to 1.6.3.2 2012-03-12 16:25 ` Anthony Liguori 2012-03-12 19:55 ` Anthony Liguori 2012-03-12 23:37 ` Kevin O'Connor @ 2012-03-13 6:52 ` Gerd Hoffmann 2 siblings, 0 replies; 10+ messages in thread From: Gerd Hoffmann @ 2012-03-13 6:52 UTC (permalink / raw) To: Anthony Liguori; +Cc: seabios@seabios.org, Andreas Färber, qemu-devel Hi, > How extensively did you test the new seabios changes and are you able to > recreate? Given the small number of changes just a quick smoke test (boot linux guest). > gcc version 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3) gcc (GCC) 4.4.6 20110731 (Red Hat 4.4.6-3) GNU ld version 2.20.51.0.2-5.28.el6 20091009 Here is the pull location I forgot: git://git.kraxel.org/qemu seabios-1.6.3.2 If that binary works for you your toolchain is broken ;) cheers, Gerd ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Qemu-devel] [PULL] Update seabios to 1.6.3.2 2012-03-12 14:48 ` [Qemu-devel] [PULL] " Andreas Färber 2012-03-12 16:25 ` Anthony Liguori @ 2012-03-12 17:11 ` Andreas Färber 1 sibling, 0 replies; 10+ messages in thread From: Andreas Färber @ 2012-03-12 17:11 UTC (permalink / raw) To: Gerd Hoffmann; +Cc: qemu-devel Am 12.03.2012 15:48, schrieb Andreas Färber: > Am 12.03.2012 14:08, schrieb Gerd Hoffmann: >> New seabios release on the 1.6.3 stable branch -- lets update. >> Also add a Makefile + script to simplify seabios updating. > > That version was released yesterday and I don't see any PATCHes yet... > Care to share your build script first before you send a PULL? > You also forgot to mention where to pull from. ;) Seems I was too impatient with the list, both PATCHes arrived now. Labelling the cover letter PATCH 0/2 would've avoided me nagging. :) Andreas >> Gerd Hoffmann (2): >> Add seabios build scripts to roms/ >> Update seabios to 1.6.3.2 >> >> pc-bios/bios.bin | Bin 131072 -> 131072 bytes >> roms/Makefile | 10 ++++++++++ >> roms/config.seabios | 1 + >> roms/configure-seabios.sh | 5 +++++ >> roms/seabios | 2 +- >> 5 files changed, 17 insertions(+), 1 deletions(-) >> create mode 100644 roms/Makefile >> create mode 100644 roms/config.seabios >> create mode 100755 roms/configure-seabios.sh -- SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Qemu-devel] [PULL] Update seabios to 1.6.3.2 2012-03-12 13:08 [Qemu-devel] [PULL] Update seabios to 1.6.3.2 Gerd Hoffmann ` (2 preceding siblings ...) 2012-03-12 14:48 ` [Qemu-devel] [PULL] " Andreas Färber @ 2012-03-19 18:37 ` Anthony Liguori 3 siblings, 0 replies; 10+ messages in thread From: Anthony Liguori @ 2012-03-19 18:37 UTC (permalink / raw) To: Gerd Hoffmann; +Cc: qemu-devel On 03/12/2012 08:08 AM, Gerd Hoffmann wrote: > Hi, > > New seabios release on the 1.6.3 stable branch -- lets update. > Also add a Makefile + script to simplify seabios updating. Pulled. Thanks. Regards, Anthony Liguori > > please pull, > Gerd > > Gerd Hoffmann (2): > Add seabios build scripts to roms/ > Update seabios to 1.6.3.2 > > pc-bios/bios.bin | Bin 131072 -> 131072 bytes > roms/Makefile | 10 ++++++++++ > roms/config.seabios | 1 + > roms/configure-seabios.sh | 5 +++++ > roms/seabios | 2 +- > 5 files changed, 17 insertions(+), 1 deletions(-) > create mode 100644 roms/Makefile > create mode 100644 roms/config.seabios > create mode 100755 roms/configure-seabios.sh > > > ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2012-03-19 18:38 UTC | newest] Thread overview: 10+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2012-03-12 13:08 [Qemu-devel] [PULL] Update seabios to 1.6.3.2 Gerd Hoffmann 2012-03-12 13:08 ` [Qemu-devel] [PATCH 1/2] Add seabios build scripts to roms/ Gerd Hoffmann 2012-03-12 13:08 ` [Qemu-devel] [PATCH 2/2] Update seabios to 1.6.3.2 Gerd Hoffmann 2012-03-12 14:48 ` [Qemu-devel] [PULL] " Andreas Färber 2012-03-12 16:25 ` Anthony Liguori 2012-03-12 19:55 ` Anthony Liguori 2012-03-12 23:37 ` Kevin O'Connor 2012-03-13 6:52 ` Gerd Hoffmann 2012-03-12 17:11 ` Andreas Färber 2012-03-19 18:37 ` Anthony Liguori
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).