<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
My setup is this: coreboot loads SeaBIOS as a primary payload which
then loads GRUB from hard drive which in its turn boots Linux. What
I am trying to achieve is to have Linux output on VGA display.<br>
<br>
I've changed debug level to 8 but still have not been able to see
anything related to VGA or display or something else close to it in
the output. And after enabling boot splash the board just reboots. I
tried different framebuffer graphics resolutions with different
color modes. I added new log in the attachment.<br>
<br>
It's also worth to mention that VGA works fine with vendor's BIOS,
so I booted both Linux and Windows with it. Still, can't figure out
why VGA controller does not work properly with coreboot.<br>
<br>
-Viktor<br>
<br>
<div class="moz-cite-prefix">On 03/19/2015 05:58 PM, WANG FEI wrote:<br>
</div>
<blockquote
cite="mid:CAGH0wH1fkjsFe4pCM7aE4wqA-vzOn-tXy8WFNXYHFaCiVYKm-w@mail.gmail.com"
type="cite">
<div dir="ltr">Viktor, I've messed around VGA function on my
platform before, I got the problem to display seabios messages
on VGA as well, finally I fed up and enabled the bootsplash in
coreboot instead, as along as the coreboot splash can be shown
on monitor, which proves the VGA function works, it's what I
want, maybe you want more...
<div><br>
</div>
<div>Here is my suggestions, 1) Once the VGA option rom
integrated in coreboot, making sure it can be invoked during
coreboot booting, you possible have to change the debug level
to 8 to get more coreboot debug message. I remember it will
show a message before/after VGA option rom invoked, searching
"VGA" or other keyword in your coreboot log to make sure it
does happen. 2) Enable boot splash on coreboot, making sure it
can be shown up on your monitor.</div>
<div><br>
</div>
<div>I can not help you on seabios VGA function, I never make it
work neither.</div>
<div><br>
</div>
<div>-Fei</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Thu, Mar 19, 2015 at 10:22 AM,
Kuzmichev Viktor <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:kuzmichevviktorv@gmail.com" target="_blank">kuzmichevviktorv@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
I'm using coreboot + SeaBIOS on Mohon Peak CRB. And I've
tried to make VGA work for a while now. I used this article
as a guide:<br>
<a moz-do-not-send="true"
href="http://www.coreboot.org/VGA_support" target="_blank">http://www.coreboot.org/VGA_support</a><br>
<br>
Extracting VGA BIOS from vendor BIOS image did not work:<br>
$ ./bios_extract EDVLCRB1.86B.0043.R00.1408290947_MPK.bin<br>
Using file "EDVLCRB1.86B.0043.R00.1408290947_MPK.bin"
(8192kB)<br>
Error: Unable to detect BIOS Image type.<br>
<br>
Then, I've downloaded VGA BIOS from here:<br>
<a moz-do-not-send="true"
href="http://www.aspeedtech.com/support.php"
target="_blank">http://www.aspeedtech.com/support.php</a><br>
Mohon Peak uses Aspeed VGA controller AST1300.<br>
<br>
And also, I've extracted Video ROM from /dev/mem:<br>
# dd if=/dev/mem of=vgabios.bin bs=1k count=32 skip=768<br>
<br>
Neither of them worked. Here's what I've tried. I've tried
to add them via coreboot's menuconfig (' Add VGA BIOS image'
option). I've tried to add them manually via cbfstool as an
optionrom and as a raw file. I've tried to put them in CBFS
under vgaroms/ directory. Here's my latest ROM-file layout:<br>
$ ./build/cbfstool build/coreboot.rom print<br>
coreboot.rom: 8192 kB, bootblocksize 1024, romsize 8388608,
offset 0x600000<br>
alignment: 64 bytes, architecture: x86<br>
<br>
Name Offset Type Size<br>
cmos_layout.bin 0x600000 cmos_layout 1352<br>
pci1a03,2000.rom 0x600580 optionrom 32768<br>
fallback/romstage 0x6085c0 stage 26616<br>
fallback/ramstage 0x60ee00 stage 59904<br>
fallback/payload 0x61d840 payload 56100<br>
config 0x62b3c0 raw 4532<br>
revision 0x62c5c0 raw 708<br>
pci8086,1f41.rom 0x62c8c0 raw 61952<br>
vgaroms/pci1a03,2000.rom 0x63bb00 raw 32768<br>
img/Memtest86+(5.01) 0x643b40 payload
159492<br>
(empty) 0x66aa80 null
939288<br>
mrc.cache 0x74ffc0 (unknown) 65536<br>
cpu_microcode_blob.bin 0x760000 microcode 83968<br>
(empty) 0x774840 null 46936<br>
fsp.bin 0x77ffc0 (unknown)
372736<br>
(empty) 0x7db000 null
150424<br>
<br>
The entries pci1a03,2000.rom are the VGA ROMs there. I also
tried to remove either of them. I've tested with coreboot
option 'Run VGA Option ROMs' checked and unchecked without
any difference. In SeaBIOS I set 'VGA Hardware Type
(coreboot linear framebuffer)' as the other options are
None, GeodeGX2 and GeodeLX, so coreboot linear framebuffer
seemed more logical.<br>
<br>
I saw this mailing list:<br>
<a moz-do-not-send="true"
href="http://www.seabios.org/pipermail/seabios/2015-January/008588.html"
target="_blank">http://www.seabios.org/pipermail/seabios/2015-January/008588.html</a><br>
but found no solution there and it seems not to be my case
as my board does not hang.<br>
<br>
I put coreboot and SeaBIOS output in the attachment. Debug
levels set to 7 for both. In coreboot only 'Output verbose
CBFS debug messages' checked in 'Debugging' submenu.<br>
<br>
Is there anything I'm doing wrong or simply missing?<span
class="HOEnZb"><font color="#888888"><br>
<br>
Viktor<br>
</font></span><br>
--<br>
coreboot mailing list: <a moz-do-not-send="true"
href="mailto:coreboot@coreboot.org">coreboot@coreboot.org</a><br>
<a moz-do-not-send="true"
href="http://www.coreboot.org/mailman/listinfo/coreboot"
target="_blank">http://www.coreboot.org/mailman/listinfo/coreboot</a><br>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</body>
</html>