On Wed, Dec 28, 2016 at 10:35 AM, Samuthira Pandian T <
[email protected]> wrote:

> Hi Team,
>
>                I need to pass some debug parameter value from coreboot
> (romstage.c) file to grub configuration. Actually i need to set some flag
> in coreboot and need to read it from grub.cfg file. Is there any way to
> pass some parameters from coreboot to grub. If so, kindly let me know for
> the procedure.
>

It appears grub has some support for cbmem (the cbmemc command).

You can also add a cbmem entry for your debug parameter and pass it up the
stack. Here <https://chromium-review.googlesource.com/#/c/420583/> is a
recent example of how to do that.

-- 
David Hendricks (dhendrix)
Systems Software Engineer, Google Inc.
-- 
coreboot mailing list: [email protected]
https://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to