<div dir="ltr">interesting. Not sure what is up here but I have seen that many VGA bioses copy themselves to RAM and then modify their own code. Actually, I have seen many BIOSes that do this self modifying code hack; they use it to change behavior for a warm restart; copy themselves to shadow RAM and then change a byte or two so the jump target is different.. I've no idea if that's what is going on here but thought I'd mention it.<br><div><br></div><div>ron</div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Jun 2, 2015 at 4:17 PM Vladimir <<a href="mailto:quickcracktime@gmail.com">quickcracktime@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>I retrieved my vgabios via Linux kernel 3.19 (ubuntu 15.04) using this method - <a href="http://www.coreboot.org/VGA_support#Retrieval_via_Linux_kernel" target="_blank">http://www.coreboot.org/VGA_support#Retrieval_via_Linux_kernel</a>  ; then I downloaded latest sources of SeaBIOS & Coreboot and built Coreboot using compiled SeaBIOS payload as well as vgabios file ( 1002,990b )<br><br></div><div>After coreboot installation I have decided to retrieve vgabios again, using exactly the same kernel and OS, and then diff'ed two vgabios files out of curiosity. To my surprise, they are slightly different! <br>vgabios_before.bin - SHA1 checksum: e4d320eb278b0118c46e2e470e7154b12c41966d<br>vgabios__after.bin - SHA1 checksum: a9e2ed569bbaaea283b5380a5f6c44fc4efc3da4<br>Here is a report about 3 bytes difference between them - <a href="http://www.diffnow.com/?report=2kwq3" target="_blank">http://www.diffnow.com/?report=2kwq3</a><br>(wait a few seconds while it loads)<br></div><div><br></div><div>Then I teardown a laptop, and check if vgabios inside coreboot's image (flashed in chip) is 3 bytes different as well, but there was no difference against the original vgabios.<br><br></div><div>So, it appears that, while loading vgabios from a flash chip, coreboot modifies it slightly. Although this tiny difference is not causing any graphical glitches or problems for me, this could be a result of a bug - which is not necessarily limited to my hardware ( Lenovo G505s ) , and maybe could lead to some other problems<br><br></div><div>Please tell your opinion, is it a bug or I am wrong at something?<br><br></div><div>Best regards,<br></div><div>Vladimir Shipovalov<br></div></div>
--<br>
coreboot mailing list: <a href="mailto:coreboot@coreboot.org" target="_blank">coreboot@coreboot.org</a><br>
<a href="http://www.coreboot.org/mailman/listinfo/coreboot" target="_blank">http://www.coreboot.org/mailman/listinfo/coreboot</a></blockquote></div>