<div dir="ltr">On Mon, Sep 23, 2013 at 9:21 AM, Paul Menzel <span dir="ltr"><<a href="mailto:paulepanter@users.sourceforge.net" target="_blank">paulepanter@users.sourceforge.net</a>></span> wrote:<br><div class="gmail_extra">

<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Dear Tank Tang,<br>
<br>
<br>
Am Sonntag, den 22.09.2013, 16:20 +0800 schrieb <a href="mailto:jstkf2012@126.com">jstkf2012@126.com</a>:<br>
<div class="im"><br>
> I am a bios engineer from Byosoft.<br>
<br>
</div>welcome to coreboot! Communicating on mailing lists, please make sure to<br>
follow the netiquette [1]. Especially, please just send plain text<br>
message with no HTML parts.<br>
<div class="im"><br>
> Unfortunately, I meet 2 questions about building Grub2 as coreboot's payload.<br>
> (1)How can I enable vga support during post?<br>
> I have configure the following token:<br>
> CONFIG_VGA_ROM_RUN=y<br>
> CONFIG_VGA_BIOS=y<br>
>               CONFIG_VGA_BIOS_ID="8086,0166"<br>
>               CONFIG_VGA_BIOS_FILE="./src/vbios.bin"<br>
>  But it seems that it doesn't make sence.Is there something need I to do in Grub2 to support vga.<br>
<br>
</div>What board do you use?<br>
<br>
If coreboot successfully runs the VGA BIOS/Option ROM (and if it is<br>
needed), GRUB 2 should be able to display text on the monitor. I am<br>
successfully doing that on the ASRock E350M1.<br>
<br>
Do you get graphics with SeaBIOS as a payload and letting SeaBIOS run<br>
the VGA BIOS/Option ROM?<br>
<div class="im"><br>
> (2)How can I enable serial prot debug after Grub2 Payload is loaded?<br>
> I have add the following to grub.cfg and use "grub-mkimage -c ./grub.cfg ......." to make the Grub2.elf.<br>
>                 serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1<br>
>                 terminal_input --append  serial<br>
>                 terminal_output --append serial<br>
><br>
> But it doesn't work after grub2 payload is called!<br>
<br>
</div>That should work. Do you get serial output with coreboot? Do you get<br>
serial output from the GRUB installed on your hard disk?<br></blockquote><div><br></div><div>Does TankTang also need to set GRUB_GFXMODE (ie GRUB_GFXMODE=640x480) in grub.cfg?</div></div></div></div>