[openfirmware] Troubleshooting VGA under qemu? [patch]
Marcin Cieslak
saper at saper.info
Wed Sep 30 11:53:46 CET 2015
On Wed, 30 Sep 2015, Marcin Cieslak wrote:
> Hello,
>
> I have tried running ofw without BIOS
> (as per http://www.openfirmware.info/Building_OFW_for_QEMU)
> and it seems that VGA support does not work.
So, I got it working.
The solution was:
Index: cpu/x86/pc/emu/emuofw.bth
===================================================================
--- cpu/x86/pc/emu/emuofw.bth (wersja 3782)
+++ cpu/x86/pc/emu/emuofw.bth (kopia robocza)
@@ -25,6 +25,7 @@
in: ${BP}/dev/video/build/vmsvga.fc
in: ${BP}/dev/ne2000/build/ne2kpci.fc
in: ${BP}/dev/amd79970/build/vmlance.fc
+in: ${BP}/dev/video/build/bga.fc
\ in: ${BP}/dev/video/build/video.fc
in: ${BP}/cpu/x86/pc/biosload/linux.fth
@@ -58,6 +59,7 @@
\ Just use a driver targeted at the specific chipset that QEMU emulates
" ${BP}/dev/video/build/cirrus.fc" " pci1013,b8" $add-deflated-dropin
" ${BP}/dev/video/build/vmsvga.fc" " pci15ad,405" $add-deflated-dropin
+ " ${BP}/dev/video/build/bga.fc" " pci1234,1111" $add-deflated-dropin
" ${BP}/dev/ne2000/build/ne2kpci.fc" " pci10ec,8029" $add-deflated-dropin
" ${BP}/dev/amd79970/build/vmlance.fc" " pci1022,2000" $add-deflated-dropin
Newer QEMU offers Bochs VGA adapter
~Marcin
More information about the openfirmware
mailing list