<div dir="ltr">Hi Experts,<div><br></div><div>I have built grub2 with coreboot platform support (<span style="background-color:rgb(249,249,249);color:black;font-family:monospace,courier;font-size:14px;white-space:pre-wrap">./configure </span><span style="background-color:rgb(249,249,249);color:black;font-family:monospace,courier;font-size:14px;white-space:pre-wrap">--with-platform=coreboot) and managed to load it as elf payload in coreboot. I have added terminal support in grub configuration coreboot.cfg as follows</span></div><div><span style="background-color:rgb(249,249,249);color:black;font-family:monospace,courier;font-size:14px;white-space:pre-wrap"><br></span></div><div><span style="background-color:rgb(249,249,249);font-size:14px;white-space:pre-wrap"><font color="#000000" face="monospace, courier">serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1
terminal_input --append  serial
terminal_output --append serial
terminal_input --append usb_keyboard #add keyboard support.</font></span><span style="background-color:rgb(249,249,249);color:black;font-family:monospace,courier;font-size:14px;white-space:pre-wrap">
</span></div><div><span style="background-color:rgb(249,249,249);font-size:14px;white-space:pre-wrap"><font color="#000000" face="monospace, courier"><br></font></span></div><div><span style="background-color:rgb(249,249,249)"><font color="#000000" face="monospace, courier"><span style="font-size:14px;white-space:pre-wrap">menuentry 'Boot From Hard Disk (Linux)' {
   insmod (cbfsdisk)/ahci.mod
   linux (ahci1,msdos1)/boot/bzImage root=/dev/sda1 resume=/dev/sda5 console=ttyS0,115200
}</span>
</font></span></div><div><span style="background-color:rgb(249,249,249);font-size:14px;white-space:pre-wrap"><font color="#000000" face="monospace, courier"><br></font></span></div><div><span style="background-color:rgb(249,249,249);color:black;font-family:monospace,courier;font-size:14px;white-space:pre-wrap"><br></span></div><div><span style="background-color:rgb(249,249,249);color:black;font-family:monospace,courier;font-size:14px;white-space:pre-wrap">While I see coreboot logs on serial console, I do not see grub2 menu on serial console. </span><span style="background-color:rgb(249,249,249);color:rgb(0,0,0);font-family:monospace,courier;font-size:14px;white-space:pre-wrap">I can see grub2 menu on HDMI display though, however my USB keyboard is not working so not able to control grub either through display or serial console.</span></div><div><span style="background-color:rgb(249,249,249);color:rgb(0,0,0);font-family:monospace,courier;font-size:14px;white-space:pre-wrap"><br></span></div><div><span style="background-color:rgb(249,249,249);color:rgb(0,0,0);font-family:monospace,courier;font-size:14px;white-space:pre-wrap">Any help is appreciated.</span></div><div><span style="background-color:rgb(249,249,249);color:rgb(0,0,0);font-family:monospace,courier;font-size:14px;white-space:pre-wrap"><br></span></div><div><span style="background-color:rgb(249,249,249);color:rgb(0,0,0);font-family:monospace,courier;font-size:14px;white-space:pre-wrap">Thanks</span></div><div><br></div></div>