<div dir="ltr">

<p class="">Thanks Vladimir,</p><p class=""><br></p><p class="">Can you please let me know how to increase the ROM size?</p><p class=""><br></p><p class="">-----Original Message-----<br>
From: Vladimir 'φ-coder/phcoder' Serbinenko [mailto:<a href="mailto:phcoder@gmail.com">phcoder@gmail.com</a>] <br>
Sent: Sunday, October 12, 2014 3:02 PM<br>
To: Vipin Gahlaut; coreboot<br>
Subject: Re: [coreboot] unable to build coreboot with grub</p>

<p class=""> </p>

<p class="">On 12.10.2014 08:03, Vipin Gahlaut wrote:</p>

<p class="">> Hi,</p>

<p class="">> </p>

<p class="">> I have cloned latest coreboot and trying to build
with grub2 as payload.</p>

<p class="">> in make menuconfig I select grub2 instead of
seabios. when I fire make </p>

<p class="">> command it checkout latest grub and that fails to
build. for 2 reasons.</p>

<p class="">> </p>

<p class="">> 1. Due to some initialization errors that I managed
to fix with below </p>

<p class="">> changes</p>

<p class="">> -<span style>  </span>struct
grub_linux_initrd_context initrd_ctx = { 0, };</p>

<p class="">> +<span style>  </span>struct
grub_linux_initrd_context initrd_ctx = { 0,NULL,0 };</p>

<p class="">> </p>

<p class="">Sounds like you have an old gcc</p>

<p class="">> 2. grub size issue as below that I am unable to
resolve and looking </p>

<p class="">> for your help. I am building for QEMU and using QEMU
version 2.1.2.</p>

<p class="">> </p>

<p class="">> E: Could not add</p>

<p class="">>
[payloads/external/GRUB2/grub2/build/default_payload.elf, 268862 bytes</p>

<p class="">> (262 KB)@0x0]; too big?</p>

<p class="">> E: Failed to add</p>

<p class="">> 'payloads/external/GRUB2/grub2/build/default_payload.elf'
into ROM image.</p>

<p class="">> </p>

<p class="">Increase ROM size.</p>

<p class="">> </p>

<p class="">> </p>

<p class="">> </p>

</div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Oct 12, 2014 at 11:33 AM, Vipin Gahlaut <span dir="ltr"><<a href="mailto:gailu96@gmail.com" target="_blank">gailu96@gmail.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><div><div>Hi,<br><br></div>I have cloned latest coreboot and trying to build with grub2 as payload. in make menuconfig I select grub2 instead of seabios. when I fire make command it checkout latest grub and that fails to build. for 2 reasons.<br><br></div>1. Due to some initialization errors that I managed to fix with below changes<br>-  struct grub_linux_initrd_context initrd_ctx = { 0, };<br>+  struct grub_linux_initrd_context initrd_ctx = { 0,NULL,0 };<br><br></div>2. grub size issue as below that I am unable to resolve and looking for your help. I am building for QEMU and using QEMU version 2.1.2.<br><br>E: Could not add [payloads/external/GRUB2/grub2/build/default_payload.elf, 268862 bytes (262 KB)@0x0]; too big?<br>E: Failed to add 'payloads/external/GRUB2/grub2/build/default_payload.elf' into ROM image.<br><br><br></div>
</blockquote></div><br></div>