Ticket #47860

Firmware BIOS emulator cannot run vgabios

Eröffnet am: 2023-04-15 05:15 Letztes Update: 2023-04-15 05:15

Auswertung:
Verantwortlicher:
(Keine)
Typ:
Status:
Offen
Komponente:
Meilenstein:
(Keine)
Priorität:
5 - Mittel
Schweregrad:
5 - Mittel
Lösung:
Keine
Datei:
Keine
Vote
Score: 0
No votes
0.0% (0/0)
0.0% (0/0)

Details

he BIOS emulator in the board's firmware can only run real 16bit x86 code but QEMU vgabios is compiled for 16bit mode of an i386 CPU which has some opcodes that cannot be run so it will fail to init display with a BIOS emulation exception (seen on serial output) and no screen output will be produced. Even the VGA_FIXUP_ASM config option of vgabios which is supposed to work around problems with x86emu does not seem to help. This problem affects both pegasos2 and sam460ex firmwares. A work around is to use a real mode vgabios (or no vgabios let the OS init the card which means firmware output is only over serial until the OS starts and may not work with all drivers that depend on the card being init by firware ROM). Fortunately the VGABIOS-lgpl-latest.bin Plex86/Bochs LGPL VGABios from http://www.nongnu.org/vgabios/ does not have this problem and is a suitable replacement. One can use these via command line options, e.g. for cirrus VGA: -vga none -device cirrus-vga,romfile=VGABIOS-lgpl-latest.cirrus.bin with BIOS from same VGABios page that works better with SmartFirmware (although still producing some different errors) but guests may not have a cirrus driver so that needs further changes in the guest OS. The same problem also happens with ati-vga where similar workaround is to just disable rom with romfile="" or use a real card ROM but that may not work with the emulated card.

Ticket-Verlauf (1/1 Historien)

2023-04-15 05:15 Aktualisiert von: balaton
  • New Ticket "Firmware BIOS emulator cannot run vgabios" created

Dateianhangliste

Keine Anhänge

Bearbeiten

Please login to add comment to this ticket » Anmelden