All of lore.kernel.org
 help / color / mirror / Atom feed
From: Brendan Trotter <btrotter@gmail.com>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: About firmware facilities
Date: Tue, 15 Sep 2009 05:42:19 +0930	[thread overview]
Message-ID: <b1ebdcad0909141312m1ed21f9agabf982660c6ede66@mail.gmail.com> (raw)
In-Reply-To: <1252955497.4336.5.camel@mj>

Hi,

On Tue, Sep 15, 2009 at 4:41 AM, Pavel Roskin <proski@gnu.org> wrote:
> On Tue, 2009-09-15 at 04:27 +0930, Brendan Trotter wrote:
>> Hi,
>>
>> On Tue, Sep 15, 2009 at 1:02 AM, Robert Millan <rmh@aybabtu.com> wrote:
>> > Well, you have the freedom to disagree with anything we do and bring your
>> > customized GRUB to a different direction :-)
>> >
>> > Anyhow, my priority for GRUB is strong driver-based support.  We could recruit
>> > someone to develop the framework in next year's GSoC (unless somebody steps
>> > in, of course).
>>
>> Why stop there?
>>
>> If proprietory ethernet ROMs aren't good enough, then what about
>> proprietory SCSI ROMs, and proprietory firmware/BIOS?
>
> We are already doing it.  There is functional ATA support, USB support
> is under development.

But, are you doing it for valid technical reasons?

> GRUB can serve as BIOS together with Coreboot.

I know. It'll break my code.

The multi-boot specification says "However, other machine state should
be left by the boot loader in normal working order, i.e. as
initialized by the bios (or DOS, if that's what the boot loader runs
from)."; although I seem to remember it saying words to the effect of
"the firmware should be left in a usable state".

Due to limitations in the original multi-boot specification my code
switches back to real mode and uses the BIOS to do memory detection,
do video mode detection, switch video modes and gather other
information. If GRUB is running on coreboot or UEFI I can't do this
(and can't work around the limitations any other way). Unless the
multi-boot specification is changed significantly (such that a
multi-boot compliant code needs no work-arounds, or at least so that
multi-boot compliant code can determine what sort of firmware there
was and use the firmware) then GRUB as a whole becomes useless to me.

The current draft (http://grub.enbug.org/MultibootDraft) is a small
step in the right direction; but it has changed much in 3 years.

>> Why are you worrying about such silly things when the multi-boot
>> specification (which actually is relevant) is still severely borked?
>
> Patches are welcome.

I'm not sure it's possible to write patches for a multi-boot compliant
boot loader without a specification that defines "multi-boot
compliant".


Cheers,

Brendan



  reply	other threads:[~2009-09-14 20:12 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-09 14:07 PXEgrub development on grub2 Lars Nooden
2009-09-09 14:11 ` Felix Zielcke
2009-09-09 14:13   ` Lars Nooden
2009-09-09 15:04   ` Michal Suchanek
2009-09-09 19:40     ` Seth Goldberg
2009-09-10 12:39       ` Michal Suchanek
2009-09-10 13:01         ` Felix Zielcke
2009-09-10 21:17           ` Seth Goldberg
2009-09-11 13:17             ` Robert Millan
2009-09-11 21:07               ` Seth Goldberg
2009-09-12  0:05                 ` Michal Suchanek
2009-09-12  0:20                   ` Seth Goldberg
2009-09-12 12:54                 ` About firmware facilities Robert Millan
2009-09-13 20:54                   ` Seth Goldberg
2009-09-14 15:32                     ` Robert Millan
2009-09-14 18:57                       ` Brendan Trotter
2009-09-14 19:11                         ` Pavel Roskin
2009-09-14 20:12                           ` Brendan Trotter [this message]
2009-09-14 20:47                             ` Michal Suchanek
2009-09-14 20:49                             ` Vladimir 'phcoder' Serbinenko
2009-09-14 23:23                               ` Brendan Trotter
2009-09-14 23:43                                 ` Colin Watson
2009-09-14 23:56                                   ` Brendan Trotter
2009-09-15  0:28                                     ` Colin Watson
2009-09-15  1:06                                       ` Brendan Trotter
2009-09-15  8:59                                 ` Vladimir 'phcoder' Serbinenko
2009-09-15 16:01                                   ` Brendan Trotter
2009-09-19 14:06                                     ` Vladimir 'phcoder' Serbinenko
2009-09-20  9:04                                       ` Brendan Trotter
2009-09-20 10:38                                         ` Vladimir 'phcoder' Serbinenko
2009-09-19 21:07                           ` Robert Millan
2009-09-10 18:59     ` PXEgrub development on grub2 Robert Millan
2009-09-17 22:39       ` Joey Korkames
2009-09-18  6:19         ` Vladimir 'phcoder' Serbinenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b1ebdcad0909141312m1ed21f9agabf982660c6ede66@mail.gmail.com \
    --to=btrotter@gmail.com \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.