<div dir="ltr">Hi Zoran,<div><br></div><div>Please Ignore my previous mail. This is the correct one.</div><div><br></div><div><span style="font-size:12.8px">Hi Nico,</span><span class="gmail-im" style="font-size:12.8px"><div><br></div><div><span style="font-size:12.8px">>where do you expect to see the menu? a display? a serial console? In the</span><br style="font-size:12.8px"><span style="font-size:12.8px">></span><span style="font-size:12.8px">former case, I expect you have to add a Video BIOS to your coreboot.rom</span><br style="font-size:12.8px"><span style="font-size:12.8px">></span><span style="font-size:12.8px">(CONFIG_VGA_BIOS) and configure coreboot to run it (CONFIG_VGA_ROM_RUN).</span><br style="font-size:12.8px"><span style="font-size:12.8px">></span><span style="font-size:12.8px">If you use a discrete gfx card, you don't need to add the VBIOS, it</span><br style="font-size:12.8px"><span style="font-size:12.8px">></span><span style="font-size:12.8px">would be read from the card. In the latter case, GRUB has to be confi-</span><br style="font-size:12.8px"><span style="font-size:12.8px">></span><span style="font-size:12.8px">gured to use the serial port, as Mariusz pointed out.</span><br style="font-size:12.8px"><br style="font-size:12.8px"><span style="font-size:12.8px">></span><span style="font-size:12.8px">I'm a little confused here, did you add an etc/grub.cfg to the CBFS? You</span><br style="font-size:12.8px"><span style="font-size:12.8px">></span><span style="font-size:12.8px">didn't say so but I wouldn't expect it to boot otherwise. If you have,</span><br style="font-size:12.8px"><span style="font-size:12.8px">></span><span style="font-size:12.8px">can you please share this grub.cfg.</span><br></div><div><span style="font-size:12.8px"><br></span></div></span><div style="font-size:12.8px">I am using a serial console for <b>DISPLAY</b>. </div><div style="font-size:12.8px">I am not adding <b>grub.cfg</b> through <b>etc/grub.cfg</b>. </div><div style="font-size:12.8px">When I booted the board with other vendor BIOS, I have copied<b> /boot/grub2/grub.cfg</b>  from fedora OS and using this grub.cfg in coreboot. <br></div><div style="font-size:12.8px">I have mentioned the location of grub. cfg in menuconfig <b>(Payload -> Include GRUB2 runtime config file into ROM image). </b></div><div style="font-size:12.8px"> </div><div style="font-size:12.8px">I have attached the same. </div><span class="gmail-im" style="font-size:12.8px"><div><br></div><div><span style="font-size:12.8px">></span><span style="font-size:12.8px">></span><br style="font-size:12.8px"><span style="font-size:12.8px">></span><span style="font-size:12.8px">> In */boot/default/grub*, I have changed* GRUB_TIMEOUT = -1* ( which stops</span><br style="font-size:12.8px"><span class="gmail-m_8497921524567700986gmail-im" style="font-size:12.8px"><span style="font-size:12.8px">></span>> the system indefinitely at boot menu in GRUB2). Still system is not<br><span style="font-size:12.8px">></span>> stopping at boot menu.<br><br></span><span style="font-size:12.8px">></span><span style="font-size:12.8px">AFAIK, this file only works as input to `grub-mkconfig`. You'd still</span><br style="font-size:12.8px"><span style="font-size:12.8px">></span><span style="font-size:12.8px">have to generate a grub.cfg with it and configure the GRUB payload to</span><br style="font-size:12.8px"><span style="font-size:12.8px">></span><span style="font-size:12.8px">use it.</span><br></div><div><span style="font-size:12.8px"><br></span></div></span><div style="font-size:12.8px"><span style="font-size:12.8px">when ever I modify <b>/etc/defualt/grub</b>, I will run <b>grub2-mkconfig -o /boot/grub2/grub.cfg</b>.</span></div><div style="font-size:12.8px"><span style="font-size:12.8px">I forget to mention this in my previous mail.</span></div><span class="gmail-im" style="font-size:12.8px"><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">></span><span style="font-size:12.8px">You have set CONFIG_ROM_SIZE and CONFIG_CBFS_SIZE to the same value</span><br style="font-size:12.8px"><span style="font-size:12.8px">></span><span style="font-size:12.8px">(8MiB). This is wrong. coreboot shares the flash chip with other Intel</span><br style="font-size:12.8px"><span style="font-size:12.8px">></span><span style="font-size:12.8px">firmware components (Firmware Descriptor (IFD), ME firmware etc.). Be-</span><br style="font-size:12.8px"><span style="font-size:12.8px">></span><span style="font-size:12.8px">side other configuration, the IFD partitions the flash chip in regions.</span><br style="font-size:12.8px"><span style="font-size:12.8px">></span><span style="font-size:12.8px">coreboot's CBFS lives in the BIOS region and should be at most of this</span><br style="font-size:12.8px"><span style="font-size:12.8px">></span><span style="font-size:12.8px">region's size. You can decode the descriptor with `ifdtool -d ...` (you</span><br style="font-size:12.8px"><span style="font-size:12.8px">></span><span style="font-size:12.8px">can find it in util/ifdtool/ in the coreboot source).</span><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px"><br></span></div></span><div style="font-size:12.8px"><span style="font-size:12.8px">Can I set <b>CONFIG_CBFS_SIZE = 0x10000</b>?.</span></div><span class="gmail-im" style="font-size:12.8px"><div><span style="font-size:12.8px"><br></span></div></span><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><span style="font-size:12.8px">Please correct me, If I am wrong and Provide your suggestions. </span></div><div style="font-size:12.8px"><span style="font-size:12.8px"><br></span></div><div style="font-size:12.8px"><span style="font-size:12.8px">Thanks,</span></div><div style="font-size:12.8px"><span style="font-size:12.8px">Dhanasekar</span></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 7, 2017 at 4:44 PM, Dhanasekar Jaganathan <span dir="ltr"><<a href="mailto:jdhanasekarmca@gmail.com" target="_blank">jdhanasekarmca@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>Thanks for the info</div>Hi Zoran,<div><br></div><div>Sorry, I have mentioned <b>/boot/default/grub.cfg</b> by mistake, instead of<b> /etc/default/grub.</b><br></div><div><b><br></b></div><div>Hi Mariusz, ,</div><div><br></div><div>Yes,.. My system booted to Fedora on second serial port (ttyS1).</div><div><br></div><div>I have modified  /etc/default/grub as</div><div><br></div><div><div><b>GRUB_SERIAL_COMMAND="serial --speed=115200 --unit=1 --word=8 --parity=no --stop=1"</b></div><div><b>GRUB_CMDLINE_LINUX="console=<wbr>tty1 console=ttyS1,115200 vconsole.font=latarcyrheb-<wbr>sun16 $([ -x usr/sbin/rhcrashkernel-param ] && /usr/sbin/rhcr</b>"</div></div><div><br></div><div>Still, I am not getting boot menu.</div><div>I am working on it. </div><div><br></div><div>Please provide your suggestions.</div><div><br></div><div><br></div><div>Thanks,</div><div>Dhanasekar</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 7, 2017 at 12:13 PM, Zoran Stojsavljevic <span dir="ltr"><<a href="mailto:zoran.stojsavljevic@gmail.com" target="_blank">zoran.stojsavljevic@gmail.com</a><wbr>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">And, just FC20 cot my eye??? <span><div><br></div><div><div style="font-size:12.8px"><u>[<i>root@ACCTON-b1-31 ~]# ls -al /boot                                             </i></u></div><div style="font-size:12.8px"><i><u>total 56751                                                                     </u></i></div><div style="font-size:12.8px"><i><u>dr-xr-xr-x.  4 root root     1024 May 20  2016 .                                </u></i></div><div style="font-size:12.8px"><i><u>drwxr-xr-x. 19 root root     4096 <span class="m_2428231637709819131m_-6864627958052659227gmail-aBn"><span class="m_2428231637709819131m_-6864627958052659227gmail-aQJ">Dec 25 20:00</span></span> ..                               </u></i></div><div style="font-size:12.8px"><i><u>-rw-r--r--.  1 root root   131847 Dec  5  2013 config-3.11.10-301.fc20.x86_64   </u></i></div><div style="font-size:12.8px"><i><u>drwxr-xr-x.  6 root root     1024 Dec 26  2009 grub2                            </u></i></div><div style="font-size:12.8px"><i><u>-rw-------.  1 root root 34688326 May 20  2016 initramfs-0-rescue-16fa681cc2d<wbr>a4g</u></i></div><div style="font-size:12.8px"><i><u>-rw-------.  1 root root 10081375 May 20  2016 initramfs-3.11.10-301.fc20.x86<wbr>_6g</u></i></div><div style="font-size:12.8px"><i><u>-rw-r--r--.  1 root root   211746 May 20  2016 initrd-plymouth.img              </u></i></div><div style="font-size:12.8px"><i><u>drwx------.  2 root root    12288 May 20  2016 lost+found                       </u></i></div><div style="font-size:12.8px"><i><u>-rw-------.  1 root root  2686629 Dec  5  2013 System.map-3.11.10-301.fc20.x8<wbr>6_4</u></i></div><div style="font-size:12.8px"><i><u>-rwxr-xr-x.  1 root root  5139320 May 20  2016 vmlinuz-0-rescue-16fa681cc2da4<wbr>0c2</u></i></div><div style="font-size:12.8px"><i><u>-rwxr-xr-x.  1 root root  5139320 Dec  5  2013 vmlinuz-3.11.10-301.fc20.x86_6<wbr>4  </u></i></div><div style="font-size:12.8px"><i><u>-rw-r--r--.  1 root root      168 Dec  5  2013 .vmlinuz-3.11.10-301.fc20.x86_<wbr>64c</u></i></div></div><div style="font-size:12.8px"><i><u><br></u></i></div></span><div style="font-size:12.8px">Jesus Christs, WHY you are using Fedora 20??? Should move to F25, at least. Not saying that this is the bug, but still... :-((</div><span class="m_2428231637709819131HOEnZb"><font color="#888888"><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Zoran</div></font></span></div><div class="m_2428231637709819131HOEnZb"><div class="m_2428231637709819131h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 7, 2017 at 6:38 AM, Dhanasekar Jaganathan <span dir="ltr"><<a href="mailto:jdhanasekarmca@gmail.com" target="_blank">jdhanasekarmca@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">Hi Zoran,<div><br></div><div>Below, I have provided the details,</div><div><br></div><div><div style="font-size:12.8px"><span style="font-size:12.8px"><u><b>[1] ls -al /boot</b></u></span></div><div style="font-size:12.8px"><span style="font-size:12.8px"><br></span></div><div style="font-size:12.8px"><span style="font-size:12.8px"><div style="font-size:12.8px">[<i>root@ACCTON-b1-31 ~]# ls -al /boot                                             </i></div><div style="font-size:12.8px"><i>total 56751                                                                     </i></div><div style="font-size:12.8px"><i>dr-xr-xr-x.  4 root root     1024 May 20  2016 .                                </i></div><div style="font-size:12.8px"><i>drwxr-xr-x. 19 root root     4096 Dec 25 20:00 ..                               </i></div><div style="font-size:12.8px"><i>-rw-r--r--.  1 root root   131847 Dec  5  2013 config-3.11.10-301.fc20.x86_64   </i></div><div style="font-size:12.8px"><i>drwxr-xr-x.  6 root root     1024 Dec 26  2009 grub2                            </i></div><div style="font-size:12.8px"><i>-rw-------.  1 root root 34688326 May 20  2016 initramfs-0-rescue-16fa681cc2d<wbr>a4g</i></div><div style="font-size:12.8px"><i>-rw-------.  1 root root 10081375 May 20  2016 initramfs-3.11.10-301.fc20.x86<wbr>_6g</i></div><div style="font-size:12.8px"><i>-rw-r--r--.  1 root root   211746 May 20  2016 initrd-plymouth.img              </i></div><div style="font-size:12.8px"><i>drwx------.  2 root root    12288 May 20  2016 lost+found                       </i></div><div style="font-size:12.8px"><i>-rw-------.  1 root root  2686629 Dec  5  2013 System.map-3.11.10-301.fc20.x8<wbr>6_4</i></div><div style="font-size:12.8px"><i>-rwxr-xr-x.  1 root root  5139320 May 20  2016 vmlinuz-0-rescue-16fa681cc2da4<wbr>0c2</i></div><div style="font-size:12.8px"><i>-rwxr-xr-x.  1 root root  5139320 Dec  5  2013 vmlinuz-3.11.10-301.fc20.x86_6<wbr>4  </i></div><div style="font-size:12.8px"><i>-rw-r--r--.  1 root root      168 Dec  5  2013 .vmlinuz-3.11.10-301.fc20.x86_<wbr>64c</i></div><div style="font-size:12.8px"><br></div></span></div></div><span><div><div style="font-size:12.8px"><u><span style="font-size:12.8px">[2] What value </span><b style="font-size:12.8px">GRUB_TIMEOUT </b><span style="font-size:12.8px">do you see in: /boot/grub2/grub.cfg (maybe you can try to play with this value)?</span></u></div></div><div style="font-size:12.8px"><span style="font-size:12.8px"><br></span></div></span><div style="font-size:12.8px"><span style="font-size:12.8px"><i><b>GRUB_TIMEOUT = 5 (set timeout = 5).</b></i></span></div><div style="font-size:12.8px"><span style="font-size:12.8px"><i><br></i></span></div><div><i style="font-size:12.8px">First I have tried <b>GRUB_TIMEOUT = -1</b> and after that, I</i><span style="font-size:12.8px"><i>[1] ls -al /boot</i></span><i style="font-size:12.8px"> have changed it to <span style="font-size:12.8px"> </span><span style="font-size:12.8px"><b>GRUB_TIMEOUT = 5</b>. When ever I modified in <b>/etc/default/boot</b>, it is getting reflected in<b> boot/grub2/grub.cfg</b>. </span></i></div><div style="font-size:12.8px"><span style="font-size:12.8px"><br></span></div><div style="font-size:12.8px"><i>I am thinking that there may be problem with GRUB2 which I am using or I may be done mistake in GRUB2 integration with coreboot. Because, GRUB2 is not consider the values in /etc/default/boot and booting to OS directly without displaying bootmenu. </i></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Please correct me, if I am wrong. </div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Thanks,</div><div style="font-size:12.8px">Dhanasekar</div></div><div class="m_2428231637709819131m_-6864627958052659227HOEnZb"><div class="m_2428231637709819131m_-6864627958052659227h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 6, 2017 at 10:16 PM, Zoran Stojsavljevic <span dir="ltr"><<a href="mailto:zoran.stojsavljevic@gmail.com" target="_blank">zoran.stojsavljevic@gmail.com</a><wbr>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello <span style="font-size:12.8px">Dhanasekar,</span><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">When you do boot into the Fedora (which one version?), could you, please, display for me the following:</span></div><div><span style="font-size:12.8px">[1] ls -al /boot</span></div><div><span style="font-size:12.8px">[2] What value </span><b style="font-size:12.8px">GRUB_TIMEOUT </b><span style="font-size:12.8px">do you see in: /boot/grub2/grub.cfg (maybe you can try to play with this value)?</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Thank you,</span></div><div><span style="font-size:12.8px">Zoran</span></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="m_2428231637709819131m_-6864627958052659227m_-3135896084770157159h5">On Tue, Jun 6, 2017 at 4:53 PM, Dhanasekar Jaganathan <span dir="ltr"><<a href="mailto:jdhanasekarmca@gmail.com" target="_blank">jdhanasekarmca@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_2428231637709819131m_-6864627958052659227m_-3135896084770157159h5"><div dir="ltr">Hi All,<div><br></div><div>I am trying to boot <b>Intel Rangeley CPU/ Mohon Peak </b>board by Coreboot. I am using <b>GRUB2 </b>as a Payload. </div><div><br></div><div>In menuconfig, I have selected, </div><div><br></div><div>Add a payload - <b>GRUB2</b> </div><div>GRUB2 Version - <b>HEAD</b>. </div><div><br></div><div>My mSata has two fedora OS. When I boot the system, I am not seeing GRUB boot load menu. System straightly booted to one of Fedora OS. </div><div><br></div><div>In <b>/boot/default/grub</b>, I have changed<b> GRUB_TIMEOUT = -1</b> ( which stops the system indefinitely at boot menu in GRUB2). Still system is not stopping at boot menu. </div><div><br></div><div>With other vendor BIOS on my board, I am seeing boot menu. I have observed they were using GRUB 2.02_Beta version. </div><div><br></div><div>So, I have checked out GRUB 2.02_Beta and complied the source which produced <b>grub2.elf</b>. </div><div>And, I have modified Payload as <b> Add a Payload</b> = <b>An ELF executable payload </b>and given the path of <b>grub2.elf</b>. </div><div><br></div><div>After flashing this BIOS on my board, I am seeing error message, </div><div><br></div><div><b>lzma: Decodeing error = 1</b></div><div><b>Payload not loaded.</b></div><div><br></div><div>FYR, I have attached my <b>.config</b> file, Please view it.</div><div><br></div><div>Can you please help me to solve this issue?.</div><div><br></div><div>Thanks,</div><div>Dhanasekar</div></div>
<br></div></div><span class="m_2428231637709819131m_-6864627958052659227m_-3135896084770157159HOEnZb"><font color="#888888">--<br>
coreboot mailing list: <a href="mailto:coreboot@coreboot.org" target="_blank">coreboot@coreboot.org</a><br>
<a href="https://mail.coreboot.org/mailman/listinfo/coreboot" rel="noreferrer" target="_blank">https://mail.coreboot.org/mail<wbr>man/listinfo/coreboot</a><br></font></span></blockquote></div><br></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>