All of lore.kernel.org
 help / color / mirror / Atom feed
* grub as coreboot payload
@ 2009-10-26 20:20 Andreas B. Mundt
  2009-10-26 20:40 ` Robert Millan
  2009-10-29  0:17 ` Robert Millan
  0 siblings, 2 replies; 5+ messages in thread
From: Andreas B. Mundt @ 2009-10-26 20:20 UTC (permalink / raw)
  To: grub-devel

Hi,

first, congratulations to the 1.97-release!

I vainly tried to run the latest grub2 (Revision: 2663) as payload to
coreboot (Revision: 4852) following the wikipage: 

	  http://grub.enbug.org/CoreBoot

Is this page still up to date and does anybody use grub2 as payload
successfully? How? 

The latest lines in qemu's serial console (from coreboot) I get are:
    [...]
    Jumping to boot code at 8200
    entry = 0x00008200
    [...]
    elf_boot_notes = 0x00011b78
    adjusted_boot_notes = 0x07fe7b78  

So it looks to me as if grub (the payload) is found but nothing more
happens. Any hints are appreciated.   

Thanks,

	Andi



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

* Re: grub as coreboot payload
  2009-10-26 20:20 Andreas B. Mundt
@ 2009-10-26 20:40 ` Robert Millan
  2009-10-29  0:17 ` Robert Millan
  1 sibling, 0 replies; 5+ messages in thread
From: Robert Millan @ 2009-10-26 20:40 UTC (permalink / raw)
  To: The development of GRUB 2

On Mon, Oct 26, 2009 at 09:20:53PM +0100, Andreas B. Mundt wrote:
> Hi,
> 
> first, congratulations to the 1.97-release!
> 
> I vainly tried to run the latest grub2 (Revision: 2663) as payload to
> coreboot (Revision: 4852)

Is that coreboot v2 or v3?

> following the wikipage: 
> 	  http://grub.enbug.org/CoreBoot

Which module selection?

> The latest lines in qemu's serial console (from coreboot) I get are:
>     [...]
>     Jumping to boot code at 8200
>     entry = 0x00008200
>     [...]
>     elf_boot_notes = 0x00011b78
>     adjusted_boot_notes = 0x07fe7b78  

Did you check the local console? :-)

-- 
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."



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

* Re: grub as coreboot payload
@ 2009-10-27  7:43 Andreas B. Mundt
  2009-10-28 22:01 ` Robert Millan
  0 siblings, 1 reply; 5+ messages in thread
From: Andreas B. Mundt @ 2009-10-27  7:43 UTC (permalink / raw)
  To: grub-devel

Hi Robert,

>Is that coreboot v2 or v3?

coreboot v2, v3 seems to be kind of depreciated and merged into v2.

>Which module selection?

I chose the modules as given in the wiki
( http://grub.enbug.org/CoreBoot ), topic "Building Coreboot with
GRUB2 payload" near the bottom of the page. 

First I tried to run corboot on real hardware with modules: 

MODULES="normal ls cat help ext2 iso9660 reiserfs xfs fat pc gpt ata
serial memdisk multiboot linux minicmd configfile search tar
at_keyboard"

as stated at the top of the wiki page. After this failed, I tried as
explained with qemu and the iso-image (box at bottom of wiki page),
because this worked for me a few months ago. 

>Did you check the local console? :-)

What do you mean with local console? Nothing appeared on the qemu
screen, so I switched (ctrl-alt-3) to qemu's serial console. 

Regards,

	Andi



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

* Re: grub as coreboot payload
  2009-10-27  7:43 grub as coreboot payload Andreas B. Mundt
@ 2009-10-28 22:01 ` Robert Millan
  0 siblings, 0 replies; 5+ messages in thread
From: Robert Millan @ 2009-10-28 22:01 UTC (permalink / raw)
  To: The development of GRUB 2; +Cc: Andreas B. Mundt


It appears there's a regression in coreboot-v2.  I'll trace that down.

-- 
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."



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

* Re: grub as coreboot payload
  2009-10-26 20:20 Andreas B. Mundt
  2009-10-26 20:40 ` Robert Millan
@ 2009-10-29  0:17 ` Robert Millan
  1 sibling, 0 replies; 5+ messages in thread
From: Robert Millan @ 2009-10-29  0:17 UTC (permalink / raw)
  To: The development of GRUB 2; +Cc: Andreas B. Mundt, coreboot

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

On Mon, Oct 26, 2009 at 09:20:53PM +0100, Andreas B. Mundt wrote:
> Hi,
> 
> first, congratulations to the 1.97-release!
> 
> I vainly tried to run the latest grub2 (Revision: 2663) as payload to
> coreboot (Revision: 4852) following the wikipage: 
> 
> 	  http://grub.enbug.org/CoreBoot
> 
> Is this page still up to date and does anybody use grub2 as payload
> successfully? How? 

Hi,

It appears that since r4534 (move to Kconfig), Multiboot information is no
longer built in by default.  You have to enable it in "System tables" /
"Generate Multiboot tables (for GRUB2)", then GRUB works fine (at least
on QEMU, which I just tested).

Coreboot developers: would you consider enabling it again?  The overhead
is minimal, and it would make this less confusing for users.

-- 
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."

[-- Attachment #2: multiboot.diff --]
[-- Type: text/x-diff, Size: 376 bytes --]


Signed-off-by: Robert Millan <rmh.grub@aybabtu.com>

Index: src/Kconfig
===================================================================
--- src/Kconfig	(revision 4887)
+++ src/Kconfig	(working copy)
@@ -319,7 +319,7 @@
 
 config MULTIBOOT
 	bool "Generate Multiboot tables (for GRUB2)"
-	default n
+	default y
 
 config GENERATE_ACPI_TABLES
 	depends on HAVE_ACPI_TABLES

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

end of thread, other threads:[~2009-10-29  0:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-27  7:43 grub as coreboot payload Andreas B. Mundt
2009-10-28 22:01 ` Robert Millan
  -- strict thread matches above, loose matches on Subject: below --
2009-10-26 20:20 Andreas B. Mundt
2009-10-26 20:40 ` Robert Millan
2009-10-29  0:17 ` Robert Millan

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.