summaryrefslogtreecommitdiff
path: root/Documentation/Intel/fsp1_1.html
blob: 94cb6bf8be0f3c0c555ad2a01c5351817bee64ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<!DOCTYPE html>
<html>
  <head>
    <title>FSP 1.1</title>
  </head>
  <body>

<h1>FSP 1.1</h1>

<h2>x86 FSP 1.1 Integration</h2>
<p>
  Firmware Support Package (FSP) integration requires System-on-a-Chip (SoC)
  and board support.  The combined steps are listed
  <a target="_blank" href="development.html">here</a>.
  The development steps for FSP are listed below:
</p>
<ol>
  <li><a href="#RequiredFiles">Required Files</a></li>
  <li>Add the <a href="#FspBinary">FSP Binary File</a> to the coreboot File System</li>
  <li>Enable <a href="#corebootFspDebugging">coreboot/FSP Debugging</a></li>
</ol>

<p>
  FSP Documentation:
</p>
<ul>
  <li>Intel&reg; Firmware Support Package External Architecture Specification <a target="_blank" href="http://www.intel.com/content/dam/www/public/us/en/documents/technical-specifications/fsp-architecture-spec-v1-1.pdf">V1.1</a></li>
</ul>

<hr>
<h2><a name="RequiredFiles">Required Files</a></h2>
<h3><a name="corebootRequiredFiles">coreboot Required Files</a></h3>
<ol>
  <li>Create the following directories if they do not already exist:
    <ul>
      <li>src/vendorcode/intel/fsp/fsp1_1/&lt;Chip Family&gt;</li>
      <li>3rdparty/blobs/mainboard/&lt;Board Vendor&gt;/&lt;Board Name&gt;</li>
    </ul>
  </li>
  <li>
    The following files may need to be copied from the FSP build or release into the
    directories above if they are not present or are out of date:
    <ul>
      <li>FspUpdVpd.h: src/vendorcode/intel/fsp/fsp1_1/&lt;Chip Family&gt;/FspUpdVpd.h</li>
      <li>FSP.bin: 3rdparty/blobs/mainboard/&lt;Board Vendor&gt;/&lt;Board Name&gt;/fsp.bin</li>
    </ul>
  </li>
</ol>


<hr>
<h2><a name="FspBinary">Add the FSP Binary File to coreboot File System</a></h2>
<p>
  Add the FSP binary to the coreboot flash image using the following command:
</p>
<pre><code>util/cbfstool/cbfstool build/coreboot.rom add -t fsp -n fsp.bin -b &lt;base address&gt; -f fsp.bin</code></pre>
<p>
  This command relocates the FSP binary to the 4K byte aligned location in CBFS so that the
  FSP code for TempRamInit may be executed in place.
</p>


<hr>
<h2><a name="corebootFspDebugging">Enable coreboot/FSP Debugging</a></h2>
<p>
  Set the following Kconfig values:
</p>
<ul>
  <li>CONFIG_DISPLAY_FSP_ENTRY_POINTS - Display the FSP entry points in romstage</li>
  <li>CONFIG_DISPLAY_HOBS - Display and verify the hand-off-blocks (HOBs) returned by MemoryInit</li>
  <li>CONFIG_DISPLAY_VBT - Display Video BIOS Table (VBT) used for GOP</li>
  <li>CONFIG_DISPLAY_UPD_DATA - Display the user specified product data passed to MemoryInit and SiliconInit</li>
</ul>


<hr>
<p>Modified: 17 May 2016</p>
  </body>
</html>