Bochs VBE device not present in PCI
Posted: Sat Aug 26, 2017 6:38 am
Hello,
I am trying to set up my kernel to work with bochs VBE extension.
I have all the correct configuration in the script such as:
vgaromimage: .../VGABIOS-lgpl-latest
vga: extension=vbe
From what I understand, a device on PCI should appear with the following:
vendor_id: 0x1111, device id: 0x1234
I could then grab BAR0 and get the correct linear framebuffer address.
This works well when I run my kernel in qemu but in bochs, it does not appear.
Interestingly, when I start playing about with setting vbe resolutions and modes they all seem to be working
and the display changes its size.
It must be a bochs specific setting that Im missing or something along those lines.
Could someone point me in the right direction here?
Thanks!
I am trying to set up my kernel to work with bochs VBE extension.
I have all the correct configuration in the script such as:
vgaromimage: .../VGABIOS-lgpl-latest
vga: extension=vbe
From what I understand, a device on PCI should appear with the following:
vendor_id: 0x1111, device id: 0x1234
I could then grab BAR0 and get the correct linear framebuffer address.
This works well when I run my kernel in qemu but in bochs, it does not appear.
Interestingly, when I start playing about with setting vbe resolutions and modes they all seem to be working
and the display changes its size.
It must be a bochs specific setting that Im missing or something along those lines.
Could someone point me in the right direction here?
Thanks!