Update seabios to 1.6.3.2
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
PATCH 1/2 Add seabios build scripts to roms/
--- 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
roms/Makefile new file +10 -0
@@ -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
roms/config.seabios new file +1 -0
@@ -0,0 +1 @@ +# empty, default config works for us
roms/configure-seabios.sh new file +5 -0
@@ -0,0 +1,5 @@ +#!/bin/sh +config="$1" +make -C seabios clean distclean +cp "$config" seabios/.config +make -C seabios oldnoconfig
Signature · 1 line
1.7.1
PATCH 2/2 Update seabios to 1.6.3.2
In reply to Gerd Hoffmann--- pc-bios/bios.bin | Bin 131072 -> 131072 bytes roms/seabios | 2 +- 2 files changed, 1 insertions(+), 1 deletions(-)
pc-bios/bios.bin binary +0 -0
[ ... snipped to not spam the list ... ]
roms/seabios +1 -1
@@ -1 +1 @@ -Subproject commit 80d11e8577bf03e98f2eb1b0cb3a281ab2879c9e +Subproject commit 2e8bd611ce4e1e36b5a80c9ca6e256e23802f095
Signature · 1 line
1.7.1
Hi Gerd,
Am 12.03.2012 14:08, schrieb Gerd Hoffmann:
Quoted 2 lines
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
Quoted 13 lines
Gerd Hoffmann (2):
Add seabios build scripts to roms/
Update seabios to 1.6.3.2pc-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
Signature · 2 lines
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
Quoted 11 lines · Andreas Färber
Hi Gerd,
Am 12.03.2012 14:08, schrieb Gerd Hoffmann:
Quoted 2 lines
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
Quoted 17 lines
Andreas
Quoted 13 lines
Gerd Hoffmann (2):
Add seabios build scripts to roms/
Update seabios to 1.6.3.2pc-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 100755roms/configure-seabios.sh
Am 12.03.2012 15:48, schrieb Andreas Färber:
Quoted 7 lines
Am 12.03.2012 14:08, schrieb Gerd Hoffmann:
Quoted 2 lines
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
Quoted 13 lines
Quoted 13 lines
Gerd Hoffmann (2):
Add seabios build scripts to roms/
Update seabios to 1.6.3.2pc-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
Signature · 2 lines
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
Quoted 48 lines · Anthony Liguori
Quoted 11 lines · Andreas Färber
Hi Gerd,
Am 12.03.2012 14:08, schrieb Gerd Hoffmann:
Quoted 2 lines
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(quoted diff) +0
-2-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 -chardevsocket,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 000000000000ffff00009300
CS =c300000c30000000ffff00009b00
SS =0000 000000000000ffff00009300
DS =0000 000000000000ffff00009300
FS =0000 000000000000ffff00009300
GS =0000 000000000000ffff00009300
LDT=0000 000000000000ffff00008200
TR =0000 000000000000ffff00008b00
GDT=000fd3a800000037
IDT= 00000000000003ff
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
Quoted 1 line
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
Quoted 28 lines
My GCC is:
gcc version 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3)
Regards,
Anthony Liguori
Quoted 17 lines
Andreas
Quoted 13 lines
Gerd Hoffmann (2):
Add seabios build scripts to roms/
Update seabios to 1.6.3.2pc-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 100755roms/configure-seabios.sh
Quoted 17 lines · Anthony Liguori
Quoted 11 lines · Andreas Färber
Hi Gerd,
Am 12.03.2012 14:08, schrieb Gerd Hoffmann:
Quoted 2 lines
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
[...]
Quoted 1 line
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
src/boot.c +1 -1
@@ -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" ); }
src/pmm.c +2 -1
@@ -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
Hi,
Quoted 2 lines
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).
Quoted 1 line
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
Quoted 4 lines · Gerd Hoffmann
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
Quoted 20 lines
please pull,
GerdGerd Hoffmann (2):
Add seabios build scripts to roms/
Update seabios to 1.6.3.2pc-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 100755roms/configure-seabios.sh