Skip to contentSkip to conversation

VBE info request bit per Multiboot Specification 1

DISCUSSION Jan Setje-Eilers 3 participants 3 messages Aug 4, 2009 – Aug 7, 2009

lore
Share & tools
lore
#0 lore raw

<re-send after fixing subscription>

Quoted 10 lines · Francis Shim
Quoted 8 lines

Hi,

In the Multiboot specifications (version 1), there is a flag that the OS Image can set to request that the boot loader provide VBE information to the OS kernel upon boot up via the Multiboot Information structure. Legacy GRUB (GRUB1) deos not support this feature without a patch that is circulating around in OS development websites;

Quoted 4 lines

Hi,

It's not implemented. But since you mention that a patched GRUB Legacy supports it, I assume there are a number of OSes that implement it.

FWIW, we've got a prototype VESA console for Solaris that uses that
structure to avoid additional mode switches. In fact, was just looking into what this looked like in GRUB 2 when someone pointed this thread out to me.

If the structure is built up compatibly, things should just work.

Quoted 5 lines

Can you provide us with a test case? This would make an implementation of the GRUB side much easier.

Btw, would you like to work on this? It's not difficult, as we already support something analogous in the Linux loader.

Unless there's another preferred interface (or someone beats us to it).
we'll likely end up filling in. Considering the VBE code that's already there this is fairly trivial.

-jan

#1 lore raw
Quoted 15 lines · Jan Setje-Eilers

 <re-send after fixing subscription>

Quoted 13 lines · Francis Shim
Quoted 9 lines

Hi,

In the Multiboot specifications (version 1), there is a flag that the OS Image can set to request that the boot loader provide VBE information to the OS kernel upon boot up via the Multiboot Information structure. Legacy GRUB (GRUB1) deos not support this feature without a patch that is circulating around in OS development websites;

Hi,

Quoted 9 lines
Quoted 3 lines

It's not implemented.  But since you mention that a patched GRUB Legacy supports it, I assume there are a number of OSes that implement it.

 FWIW, we've got a prototype VESA console for Solaris that uses that structure to avoid additional mode switches. In fact, was just looking into what this looked like in GRUB 2 when someone pointed this thread out to me.

This is nice. This has an additional benefit of working on EFI since grub will fill the video info it's able to retrieve through EFI or its own drivers. This implies that some non-essential field will stay unset but I hope that OSes won't use it. I already have a bit of experimental code for it but what I need is a small payload which will draw something based on this info and more free time

Quoted 21 lines

 If the structure is built up compatibly, things should just work.

Quoted 5 lines

Can you provide us with a test case?  This would make an implementation of the GRUB side much easier.

Btw, would you like to work on this?  It's not difficult, as we already support something analogous in the Linux loader.

 Unless there's another preferred interface (or someone beats us to it). we'll likely end up filling in. Considering the VBE code that's already there this is fairly trivial.

-jan

_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel

Signature · 4 lines
Regards
Vladimir 'phcoder' Serbinenko

Personal git repository: http://repo.or.cz/w/grub2/phcoder.git
#2 lore raw
In reply to Jan Setje-Eilers
Quoted 18 lines · Jan Setje-Eilers

<re-send after fixing subscription>

Quoted 10 lines · Francis Shim
Quoted 8 lines

Hi,

In the Multiboot specifications (version 1), there is a flag that the OS Image can set to request that the boot loader provide VBE information to the OS kernel upon boot up via the Multiboot Information structure. Legacy GRUB (GRUB1) deos not support this feature without a patch that is circulating around in OS development websites;

Quoted 5 lines

Hi,

It's not implemented. But since you mention that a patched GRUB Legacy supports it, I assume there are a number of OSes that implement it.

Quoted 6 lines

FWIW, we've got a prototype VESA console for Solaris that uses that
structure to avoid additional mode switches. In fact, was just looking into what this looked like in GRUB 2 when someone pointed this thread out to me.

If the structure is built up compatibly, things should just work.

That's very nice. I assume it follows the Multiboot spec? (in theory, that should suffice, but that's just theory ;-)).

Quoted 9 lines
Quoted 5 lines

Can you provide us with a test case? This would make an implementation of the GRUB side much easier.

Btw, would you like to work on this? It's not difficult, as we already support something analogous in the Linux loader.

Unless there's another preferred interface (or someone beats us to it).
we'll likely end up filling in. Considering the VBE code that's already there this is fairly trivial.

Very well!

Signature · 5 lines
Robert Millan

  The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
  how) you may access your data; but nobody's threatening your freedom: we
  still allow you to remove your data and not access it at all."