GRUB2 no vbe_mode_info in UEFI
Posted: Wed Jan 27, 2016 12:32 am
Dear Community!
I am writing a small C++ based kernel as a hobby project.
Currently its 32-bit (x86) but it will expanded to 64-bit soon.
I use GRUB2 as my bootloader to boot my multiboot compliant kernel. For emulation I use qemu with efibios and real efi hardware.
Now the problem is that GRUB2 somehow doesnt pass any vbe info in multiboot structure. I request vbe via the multiboot flags in my bootstrap assembly and qemu seems to switch the mode but those structures are empty.
Is it due to the use of (u)efi and GOP or is it a bug?
If its because of efi then how can i make use of the GOP framebuffer in my kernel?
If its a bug how can i work around this? Or which bootloader you can suggest then?
Thanks in advance
TheMastermaind.
I am writing a small C++ based kernel as a hobby project.
Currently its 32-bit (x86) but it will expanded to 64-bit soon.
I use GRUB2 as my bootloader to boot my multiboot compliant kernel. For emulation I use qemu with efibios and real efi hardware.
Now the problem is that GRUB2 somehow doesnt pass any vbe info in multiboot structure. I request vbe via the multiboot flags in my bootstrap assembly and qemu seems to switch the mode but those structures are empty.
Is it due to the use of (u)efi and GOP or is it a bug?
If its because of efi then how can i make use of the GOP framebuffer in my kernel?
If its a bug how can i work around this? Or which bootloader you can suggest then?
Thanks in advance
TheMastermaind.