[coreboot] vga & serial debug support when building grub2 as payload

Stojsavljevic, Zoran zoran.stojsavljevic at intel.com
Wed Sep 25 12:23:13 CEST 2013


Hello Paul, David,

I have the same problem with VGA, I am looking into my coreboot settings:

CONFIG_VGA_ROM_RUN=y
CONFIG_VGA_BIOS=y
CONFIG_VGA_BIOS_ID="8086,0166"
CONFIG_VGA_BIOS_FILE="./src/vbios.bin"

I do not see any of: vbios.bin or vgabios.bin in directory src/ I am using Cougar Canyon 2 or equivalent which is Emerald Lake 2.

What PCIe VGA should I use (I think I know how to discover this one)?
How I can get vbios.bin for these boards (I assume the vbios.bin) is the same for both of them?

Thank you,
Zoran
_______
Most of The Time you should be "intel inside" to be capable to think "out of the box".

From: coreboot-bounces at coreboot.org [mailto:coreboot-bounces at coreboot.org] On Behalf Of David Hendricks
Sent: Monday, September 23, 2013 7:36 PM
To: Paul Menzel
Cc: jstkf2012 at 126.com; coreboot
Subject: Re: [coreboot] vga & serial debug support when building grub2 as payload

On Mon, Sep 23, 2013 at 9:21 AM, Paul Menzel <paulepanter at users.sourceforge.net<mailto:paulepanter at users.sourceforge.net>> wrote:
Dear Tank Tang,


Am Sonntag, den 22.09.2013, 16:20 +0800 schrieb jstkf2012 at 126.com<mailto:jstkf2012 at 126.com>:

> I am a bios engineer from Byosoft.
welcome to coreboot! Communicating on mailing lists, please make sure to
follow the netiquette [1]. Especially, please just send plain text
message with no HTML parts.

> Unfortunately, I meet 2 questions about building Grub2 as coreboot's payload.
> (1)How can I enable vga support during post?
> I have configure the following token:
> CONFIG_VGA_ROM_RUN=y
> CONFIG_VGA_BIOS=y
>               CONFIG_VGA_BIOS_ID="8086,0166"
>               CONFIG_VGA_BIOS_FILE="./src/vbios.bin"
>  But it seems that it doesn't make sence.Is there something need I to do in Grub2 to support vga.
What board do you use?

If coreboot successfully runs the VGA BIOS/Option ROM (and if it is
needed), GRUB 2 should be able to display text on the monitor. I am
successfully doing that on the ASRock E350M1.

Do you get graphics with SeaBIOS as a payload and letting SeaBIOS run
the VGA BIOS/Option ROM?

> (2)How can I enable serial prot debug after Grub2 Payload is loaded?
> I have add the following to grub.cfg and use "grub-mkimage -c ./grub.cfg ......." to make the Grub2.elf.
>                 serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1
>                 terminal_input --append  serial
>                 terminal_output --append serial
>
> But it doesn't work after grub2 payload is called!
That should work. Do you get serial output with coreboot? Do you get
serial output from the GRUB installed on your hard disk?

Does TankTang also need to set GRUB_GFXMODE (ie GRUB_GFXMODE=640x480) in grub.cfg?
Intel GmbH
Dornacher Strasse 1
85622 Feldkirchen/Muenchen, Deutschland
Sitz der Gesellschaft: Feldkirchen bei Muenchen
Geschaeftsfuehrer: Christian Lamprechter, Hannes Schwaderer, Douglas Lusk
Registergericht: Muenchen HRB 47456
Ust.-IdNr./VAT Registration No.: DE129385895
Citibank Frankfurt a.M. (BLZ 502 109 00) 600119052
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20130925/c1226cb6/attachment.html>


More information about the coreboot mailing list