<div dir="auto">Hi,<div dir="auto"><br></div><div dir="auto">Looking at</div><div dir="auto"><pre style="word-wrap:break-word;white-space:pre-wrap">coreboot-4.7-51-g2ca4ca3f21-dirty Thu Jan 18 22:05:03 UTC 2018 romstage starting...
pm1_sts: ffff pm1_en: ffff pm1_cnt: ffffffff
gpe0_sts[0]: ffffffff gpe0_en[0]: ffffffff
gpe0_sts[1]: ffffffff gpe0_en[1]: ffffffff
gpe0_sts[2]: ffffffff gpe0_en[2]: ffffffff
gpe0_sts[3]: ffffffff gpe0_en[3]: ffffffff</pre><pre style="word-wrap:break-word;white-space:pre-wrap">It seems to me that PM base is not setup properly.(this should be fixed first)</pre><pre style="word-wrap:break-word;white-space:pre-wrap"><br></pre><pre style="word-wrap:break-word;white-space:pre-wrap">Also before you use SATA, make sure FspSUpd for sata is set to be enabled. Also respective sata port is enabled.</pre><pre style="word-wrap:break-word;white-space:pre-wrap">Above that, also check in fit tool whether right setting is done for flex io for sata port.</pre></div></div><br><div class="gmail_quote"><div dir="ltr">On Sun, Apr 1, 2018, 6:43 PM Zheng Bao <<a href="mailto:fishbaoz@hotmail.com" target="_blank" rel="noreferrer">fishbaoz@hotmail.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 id="m_-5542062555964224696m_-3717681713559959222divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif" dir="ltr">
<p style="margin-top:0;margin-bottom:0"></p>
<div>I met the same problem. I use the FSP1.1 and the <span>0:17h:0 </span>disappears after raminit.<br>
It seems that the FSP disable the SATA. <br>
<br>
The SATA device can be disabled if SCFD is set. But it can not re-enable.<br>
<br>
SATA Controller Function Disable (SCFD): BIOS program this bit to 1 to disable<br>
the SATA Controller function. When 0, SATA Controller function is enabled. When<br>
disable, SATA Host Controller will not claimed the register access targeting its<br>
Configuration Space. In IOSF primary Fabric Decode scheme, it's expected BIOS also<br>
program the corresponding bit used by the Fabric Decoder accordingly hence both<br>
SATA SIP and Fabric Decoder are in sync, and BIOS need to program this bit before<br>
programming the one in Fabric Decoder. Once this bit is set, BIOS isnot able to revert<br>
it back to Function Enable until next round of platform reset.</div>
<br>
<p></p>
Zheng<br>
<br>
<div style="color:rgb(0,0,0)">
<hr style="display:inline-block;width:98%">
<div id="m_-5542062555964224696m_-3717681713559959222divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> coreboot <<a href="mailto:coreboot-bounces@coreboot.org" rel="noreferrer noreferrer" target="_blank">coreboot-bounces@coreboot.org</a>> on behalf of roman perepelitsin <<a href="mailto:perepelitsin.roman@gmail.com" rel="noreferrer noreferrer" target="_blank">perepelitsin.roman@gmail.com</a>><br>
<b>Sent:</b> Wednesday, March 28, 2018 2:51 PM<br>
<b>To:</b> <a href="mailto:coreboot@coreboot.org" rel="noreferrer noreferrer" target="_blank">coreboot@coreboot.org</a><br>
<b>Subject:</b> [coreboot] SATA init on FSP 2.0 for Skylake</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div>Hi! </div>
<div>I got a little problem with SATA controller in H110 Skylake PCH (desktop). SATA device geographical address - 0:17h:0 on PCI, and it enabled via devicetree.cb. This params correctly send in FspSiliconInit. After this coreboot run PCI bus scan. And my SATA
 device return 0xffffffff on PCI read config cycles. I search in Intel datasheet for specific SATA disable pin or something else, but there is no methods that can make SATA inactive. Maybe somebody advice about it? </div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
-- <br>
<div class="m_-5542062555964224696m_-3717681713559959222x_gmail_signature">regards,
<div>Perepelitsin Roman</div>
</div>
</div>
</div>
</div>
</div>
</div>

--<br>
coreboot mailing list: <a href="mailto:coreboot@coreboot.org" rel="noreferrer noreferrer" target="_blank">coreboot@coreboot.org</a><br>
<a href="https://mail.coreboot.org/mailman/listinfo/coreboot" rel="noreferrer noreferrer noreferrer" target="_blank">https://mail.coreboot.org/mailman/listinfo/coreboot</a></blockquote></div>