<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
I tried not to include any VBIOS file in coreboot ROM much earlier,
in my first tests. With 'Run VGA Option ROMs' option checked the
board just hung.<br>
<br>
And as I mentioned in my previous email VGA works fine with vendor's
BIOS. So the card itself should be fine.<br>
<br>
Sadly, I don't have another card to try. Even if I had, I still
would need to make this one work somehow as Mohon Peak is just a
reference board and the target board will have a similar VGA
controller.<br>
<br>
So please, let me know if there are some other things I could try or
if I am mistaken somewhere.<br>
<br>
-Viktor<br>
<br>
<div class="moz-cite-prefix">On 03/19/2015 09:20 PM, Marc Jones
wrote:<br>
</div>
<blockquote
cite="mid:CALrs_3gfYfdkc_c1iGDrmkAZ0rQ_9uXZKwidVud1dBQ_R6fseg@mail.gmail.com"
type="cite">
<div dir="ltr"><br>
Hi Viktor,
<div><br>
<div class="gmail_quote">On Thu, Mar 19, 2015 at 4:23 AM
Kuzmichev Viktor <<a moz-do-not-send="true"
href="mailto:kuzmichevviktorv@gmail.com">kuzmichevviktorv@gmail.com</a>>
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<br>
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>
</blockquote>
<div><br>
</div>
<div>Since it is an add-in card, you don't need to extract
the VBIOS and put it into cbfs. The VBIOS on the card will
run during the PCI card enumeration. It seems that there
is a problem with that specific aspeed card and/or VBIOS.
You may want to try a different card to avoid the issue.
Please let us know the results if you debug that card
further.</div>
<div><br>
</div>
<div>Regards,</div>
<div>Marc</div>
<div><br>
</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
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<br>
via coreboot's menuconfig (' Add VGA BIOS image' option).
I've tried to<br>
add them manually via cbfstool as an optionrom and as a
raw file. I've<br>
tried to put them in CBFS under vgaroms/ directory. Here's
my latest<br>
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<br>
remove either of them. I've tested with coreboot option
'Run VGA Option<br>
ROMs' checked and unchecked without any difference. In
SeaBIOS I set<br>
'VGA Hardware Type (coreboot linear framebuffer)' as the
other options<br>
are None, GeodeGX2 and GeodeLX, so coreboot linear
framebuffer seemed<br>
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<br>
does not hang.<br>
<br>
I put coreboot and SeaBIOS output in the attachment. Debug
levels set to<br>
7 for both. In coreboot only 'Output verbose CBFS debug
messages'<br>
checked in 'Debugging' submenu.<br>
<br>
Is there anything I'm doing wrong or simply missing?<br>
<br>
Viktor<br>
--<br>
coreboot mailing list: <a moz-do-not-send="true"
href="mailto:coreboot@coreboot.org" target="_blank">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></blockquote>
</div>
</div>
</div>
</blockquote>
<br>
</body>
</html>