All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] "make -C roms lgplvgabios" broken
@ 2017-11-20 12:06 Eduardo Habkost
  2017-11-22  9:54 ` Gerd Hoffmann
  0 siblings, 1 reply; 2+ messages in thread
From: Eduardo Habkost @ 2017-11-20 12:06 UTC (permalink / raw)
  To: qemu-devel, Gerd Hoffmann

Hi,

It looks like "make -C roms lgplvgabios" is broken since 2014
(commit 7a4dfd1e "virtio-vga: add vgabios configuration"):

  [roms]$ make lgplvgabios
  make -C vgabios vgabios-stdvga.bin vgabios-cirrus.bin vgabios-vmware.bin vgabios-qxl.bin vgabios.bin vgabios-virtio.bin
  make[1]: Entering directory '/home/ehabkost/rh/proj/virt/qemu/roms/vgabios'
  gcc -o vbetables-gen vbetables-gen.c
  ./vbetables-gen > vbetables.h
  gcc -o biossums biossums.c
  gcc -E -P vgabios.c  -DVBE -DPCIBIOS -DPCI_VID=0x1234 -DPCI_DID=0x1111 "-DVGABIOS_DATE=\"`date '+%d %b %Y'`\"" > _vgabios-stdvga_.c
  bcc -o vgabios-stdvga.s -C-c -D__i86__ -S -0 _vgabios-stdvga_.c
  sed -e 's/^\.text//' -e 's/^\.data//' vgabios-stdvga.s > _vgabios-stdvga_.s
  as86 _vgabios-stdvga_.s -b vgabios-stdvga.bin -u -w- -g -0 -j -O -l vgabios-stdvga.txt
  rm -f _vgabios-stdvga_.s _vgabios-stdvga_.c vgabios-stdvga.s
  mv vgabios-stdvga.bin VGABIOS-lgpl-latest.stdvga.bin
  ./biossums VGABIOS-lgpl-latest.stdvga.bin
  
  [...]
  
  Bios checksum at:   0x9DFF
  Current checksum:     0x00
  Calculated checksum:  0x6D  Setting checksum.
  ls -l VGABIOS-lgpl-latest.bin
  -rw-rw-r--. 1 ehabkost ehabkost 40448 nov 20 09:20 VGABIOS-lgpl-latest.bin
  gcc -E -P vgabios.c   "-DVGABIOS_DATE=\"`date '+%d %b %Y'`\"" > _vgabios-virtio_.c
  bcc -o vgabios-virtio.s -C-c -D__i86__ -S -0 _vgabios-virtio_.c
  sed -e 's/^\.text//' -e 's/^\.data//' vgabios-virtio.s > _vgabios-virtio_.s
  as86 _vgabios-virtio_.s -b vgabios-virtio.bin -u -w- -g -0 -j -O -l vgabios-virtio.txt
  rm -f _vgabios-virtio_.s _vgabios-virtio_.c vgabios-virtio.s
  mv vgabios-virtio.bin
  mv: missing destination file operand after 'vgabios-virtio.bin'
  Try 'mv --help' for more information.
  make[1]: *** [Makefile:82: vgabios-virtio.bin] Error 1
  make[1]: Leaving directory '/home/ehabkost/rh/proj/virt/qemu/roms/vgabios'
  make: *** [Makefile:104: build-lgplvgabios] Error 2
  [roms]$ 

Do we still care enough about lgplvgabios to try to fix that, or
should we just remove the lgplvgabios rules and the roms/vgabios
submodule?  The last commit in our vgabios.git submodule was 7
years ago.

Related to that, pc-bios/README seems to be outdated, as it says
the VGA BIOS come from lgplvgabios, which doesn't seem to be the
case anymore.

-- 
Eduardo

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] "make -C roms lgplvgabios" broken
  2017-11-20 12:06 [Qemu-devel] "make -C roms lgplvgabios" broken Eduardo Habkost
@ 2017-11-22  9:54 ` Gerd Hoffmann
  0 siblings, 0 replies; 2+ messages in thread
From: Gerd Hoffmann @ 2017-11-22  9:54 UTC (permalink / raw)
  To: Eduardo Habkost; +Cc: qemu-devel

  Hi,

> Do we still care enough about lgplvgabios to try to fix that, or
> should we just remove the lgplvgabios rules and the roms/vgabios
> submodule?  The last commit in our vgabios.git submodule was 7
> years ago.

I plan to zap it anyway when switching to the separate firmware repo[1].
Which will probably take a while though as I'm handicapped atm with my
right arm in plaster.

Feel free to remove it earlier.

It is there as backup just in case there are regressions due to the
switch to seavgabios, but at this point in time we surely wouldn't
switch back ...

> Related to that, pc-bios/README seems to be outdated, as it says
> the VGA BIOS come from lgplvgabios, which doesn't seem to be the
> case anymore.

Indeed.

cheers,
  Gerd

[1] sneak preview with seabios and edk2 at
    https://www.kraxel.org/cgit/qemu-firmware/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-11-22  9:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-20 12:06 [Qemu-devel] "make -C roms lgplvgabios" broken Eduardo Habkost
2017-11-22  9:54 ` Gerd Hoffmann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.