<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sat, Nov 11, 2017 at 4:03 AM, [799] via coreboot <span dir="ltr"><<a href="mailto:coreboot@coreboot.org" target="_blank">coreboot@coreboot.org</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 had to reflash my stock original BIOS after I couldn't get Sleep&Resume working on my Lenovo X230.<br><br>I am in a situation where I was able to get 2 situations:<br><br>1) Situation 1:<br>working sleep+resume in Linux.<br>Additional Payloads works.<br>Booting into windows (I have a dual boot setup) results in a black screen (no video output)<br></blockquote><div><br></div><div>I assume you're using native graphics init here?  In the non-VBIOS init case, the Intel Windows driver expects that the IGD OpRegion ACPI data will be valid/populated, and one of the things needed is the VBT (video bios table) data.  This data can be extracted by coreboot from an included (but not executed) VBIOS, or via a separate vbt.bin file.  Without one of these two options, you get a black screen.  There might also be some other fields in the IGD OpRegion that need to be set correctly.  I have all of this working in my own tree, but haven't had a chance to determine which are essential and upstream them.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>2) Situation 2:<br>Extracting the BLOBs from the original ROM and adding them to my Coreboot Bios and using SeaBIOS I was able to boot into windows with graphics.<br>Unfortunately this breaks:<br>- Sleep & Resume<br>- additional Payloads won't work<br></blockquote><div><br></div><div>define "breaks sleep and resume."  Breaks how?  what OS(es)?  Are you re-running the VBIOS on S3 resume?  If so, I'd deselect that option/</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>As I really need to get sleep & resume working an I also want to be able to boot into windows for special use cases (business) I want to rebuild Coreboot from scratch.<br>Unfortunately I did so several times, no results.<br><br>I don't think that the Use Case "Coreboot + Windows + Sleep Resume" is so uncommon and would like to hear if someone has a running setup and what you did to make it work.<br></blockquote><div><br></div><div>I have suspend/resume working under both Windows and Linux, using the following:<br><br></div><div>VBIOS + SeaBIOS</div><div>NGI + vbt.bin + SeaBIOS</div><div>NGI + vbt.bin + Tianocore</div><div>VBIOS + Tianocore</div><div>vbt.bin + UEFI GOP driver + Tianocore</div><div><br></div><div>so it's just figuring out what you're missing</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>Giving up sleep/resume to get the additional freedom of Coreboot is a big trade-off.<br><br>Regards<span class="HOEnZb"><font color="#888888"><br><br>[799]</font></span><br>--<br>
coreboot mailing list: <a href="mailto:coreboot@coreboot.org">coreboot@coreboot.org</a><br>
<a href="https://mail.coreboot.org/mailman/listinfo/coreboot" rel="noreferrer" target="_blank">https://mail.coreboot.org/<wbr>mailman/listinfo/coreboot</a><br></blockquote></div><br></div></div>