<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Dec 28, 2016 at 10:35 AM, Samuthira Pandian T <span dir="ltr"><<a href="mailto:samuthira.t@aricent.com" target="_blank">samuthira.t@aricent.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div dir="ltr">
<div id="m_3551949781565025392divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif" dir="ltr">
<p>Hi Team,</p>
<p>               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.</p></div></div></blockquote><div><br></div><div>It appears grub has some support for cbmem (the cbmemc command).</div><div><br></div><div>You can also add a cbmem entry for your debug parameter and pass it up the stack. <a href="https://chromium-review.googlesource.com/#/c/420583/">Here</a> is a recent example of how to do that.</div></div><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">David Hendricks (dhendrix)<br>Systems Software Engineer, Google Inc.</div>
</div></div>