All of lore.kernel.org
 help / color / mirror / Atom feed
* Adapting GRUB to boot directly from RAM in protected mode
@ 2007-02-08 19:25 Patrick Connolly
  2007-02-13  3:08 ` Hollis Blanchard
  2007-02-13 19:41 ` Uwe Hermann
  0 siblings, 2 replies; 4+ messages in thread
From: Patrick Connolly @ 2007-02-08 19:25 UTC (permalink / raw)
  To: grub-devel

[-- Attachment #1: Type: text/plain, Size: 565 bytes --]

Can anyone think of a straightforward way to modify GRUB to boot a linux
kernel directly from RAM in protected mode?

We have an embedded system with a special BIOS that places a file (any file)
at a fixed location in RAM and executes it (in protected mode) starting at
that same fixed location.  We'd like the file to be a linux kernel (with
boot code) and we're wondering if GRUB could be adapted to do this.  We
realize that some assembly-level modifications would be needed but we aren't
sure how extensive those modifications might be expected to be.

Patrick

[-- Attachment #2: Type: text/html, Size: 621 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Adapting GRUB to boot directly from RAM in protected mode
  2007-02-08 19:25 Adapting GRUB to boot directly from RAM in protected mode Patrick Connolly
@ 2007-02-13  3:08 ` Hollis Blanchard
  2007-02-13 19:41 ` Uwe Hermann
  1 sibling, 0 replies; 4+ messages in thread
From: Hollis Blanchard @ 2007-02-13  3:08 UTC (permalink / raw)
  To: The development of GRUB 2

On Thu, 2007-02-08 at 11:25 -0800, Patrick Connolly wrote:
> Can anyone think of a straightforward way to modify GRUB to boot a
> linux kernel directly from RAM in protected mode?
> 
> We have an embedded system with a special BIOS that places a file (any
> file) at a fixed location in RAM and executes it (in protected mode)
> starting at that same fixed location.  We'd like the file to be a
> linux kernel (with boot code) and we're wondering if GRUB could be
> adapted to do this.  We realize that some assembly-level modifications
> would be needed but we aren't sure how extensive those modifications
> might be expected to be.  

You should be able to easily write a simple loader for GRUB2. No idea
about GRUB Legacy.

-Hollis




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Adapting GRUB to boot directly from RAM in protected mode
  2007-02-08 19:25 Adapting GRUB to boot directly from RAM in protected mode Patrick Connolly
  2007-02-13  3:08 ` Hollis Blanchard
@ 2007-02-13 19:41 ` Uwe Hermann
  2007-02-14 22:37   ` Patrick Connolly
  1 sibling, 1 reply; 4+ messages in thread
From: Uwe Hermann @ 2007-02-13 19:41 UTC (permalink / raw)
  To: Patrick Connolly; +Cc: grub-devel

[-- Attachment #1: Type: text/plain, Size: 917 bytes --]

Hi,

On Thu, Feb 08, 2007 at 11:25:15AM -0800, Patrick Connolly wrote:
> Can anyone think of a straightforward way to modify GRUB to boot a linux
> kernel directly from RAM in protected mode?
> 
> We have an embedded system with a special BIOS that places a file (any file)
> at a fixed location in RAM and executes it (in protected mode) starting at
> that same fixed location.  We'd like the file to be a linux kernel (with
> boot code) and we're wondering if GRUB could be adapted to do this.  We
> realize that some assembly-level modifications would be needed but we aren't
> sure how extensive those modifications might be expected to be.

You might want to have a look at LinuxBIOS, it seems like it can do what
you want: http://linuxbios.org


HTH, Uwe.
-- 
http://www.hermann-uwe.de  | http://www.holsham-traders.de
http://www.crazy-hacks.org | http://www.unmaintained-free-software.org

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Adapting GRUB to boot directly from RAM in protected mode
  2007-02-13 19:41 ` Uwe Hermann
@ 2007-02-14 22:37   ` Patrick Connolly
  0 siblings, 0 replies; 4+ messages in thread
From: Patrick Connolly @ 2007-02-14 22:37 UTC (permalink / raw)
  To: grub-devel

[-- Attachment #1: Type: text/plain, Size: 374 bytes --]

Thanks for the suggestion, but changing the BIOS is not an option.  This is
for customer support; it's intended to boot on already-purchased customer
units without changing their unit in any way.

Patrick



On 2/13/07, Uwe Hermann <uwe@hermann-uwe.de> wrote:
>
>
> You might want to have a look at LinuxBIOS, it seems like it can do what
> you want: http://linuxbios.org
>

[-- Attachment #2: Type: text/html, Size: 748 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-02-14 22:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-08 19:25 Adapting GRUB to boot directly from RAM in protected mode Patrick Connolly
2007-02-13  3:08 ` Hollis Blanchard
2007-02-13 19:41 ` Uwe Hermann
2007-02-14 22:37   ` Patrick Connolly

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.