<p>Patrick Rudolph has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/27852">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">[WIP]Documentation: Add basic flashing tutorial for Lenovo<br><br>* Basic flashing tutorial for Lenovo devices.<br><br>Change-Id: Ia833e27f4e7d89ee32be9bed21a0c021839facec<br>Signed-off-by: Patrick Rudolph <siro@das-labor.org><br>---<br>M Documentation/mainboard/index.md<br>A Documentation/mainboard/lenovo/flashlayout_xx20.svg<br>A Documentation/mainboard/lenovo/flashlayout_xx30.svg<br>A Documentation/mainboard/lenovo/t420.md<br>A Documentation/mainboard/lenovo/t430.md<br>A Documentation/mainboard/lenovo/xx20_series.md<br>A Documentation/mainboard/lenovo/xx30_series.md<br>7 files changed, 267 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/52/27852/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/Documentation/mainboard/index.md b/Documentation/mainboard/index.md</span><br><span>index 5d41cec..425ee89 100644</span><br><span>--- a/Documentation/mainboard/index.md</span><br><span>+++ b/Documentation/mainboard/index.md</span><br><span>@@ -14,6 +14,18 @@</span><br><span> </span><br><span> - [Compaq 8200 Elite SFF](hp/compaq_8200_sff.md)</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+## Lenovo</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+### Sandy Bridge Series</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+- [T420](lenovo/t420.md)</span><br><span style="color: hsl(120, 100%, 40%);">+- [T420 / T520 / X220 / T420s / W520 common](lenovo/xx20_series.md)</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+### Ivy Bridge Series</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+- [T430](lenovo/t430.md)</span><br><span style="color: hsl(120, 100%, 40%);">+- [T430 / T530 / X230 / W530 common](lenovo/xx30_series.md)</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span> ## SiFive</span><br><span> </span><br><span> - [SiFive HiFive Unleashed](sifive/hifive-unleashed.md)</span><br><span>diff --git a/Documentation/mainboard/lenovo/flashlayout_xx20.svg b/Documentation/mainboard/lenovo/flashlayout_xx20.svg</span><br><span>new file mode 100644</span><br><span>index 0000000..8884ac3</span><br><span>--- /dev/null</span><br><span>+++ b/Documentation/mainboard/lenovo/flashlayout_xx20.svg</span><br><span>@@ -0,0 +1,52 @@</span><br><span style="color: hsl(120, 100%, 40%);">+<?xml version="1.0" encoding="UTF-8" standalone="no"?></span><br><span style="color: hsl(120, 100%, 40%);">+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/PR-SVG-20010719/DTD/svg10.dtd"></span><br><span style="color: hsl(120, 100%, 40%);">+<svg width="10cm" height="8cm" viewBox="265 -156 186 159" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"></span><br><span style="color: hsl(120, 100%, 40%);">+  <g></span><br><span style="color: hsl(120, 100%, 40%);">+    <rect style="fill: #ffffff" x="307.888" y="-152.131" width="49.1438" height="30.4667"/></span><br><span style="color: hsl(120, 100%, 40%);">+    <rect style="fill: none; fill-opacity:0; stroke-width: 2; stroke: #000000" x="307.888" y="-152.131" width="49.1438" height="30.4667"/></span><br><span style="color: hsl(120, 100%, 40%);">+    <text font-size="6.77333" style="fill: #000000;text-anchor:middle;font-family:sans-serif;font-style:normal;font-weight:normal" x="332.46" y="-134.831"></span><br><span style="color: hsl(120, 100%, 40%);">+      <tspan x="332.46" y="-134.831">IFD</tspan></span><br><span style="color: hsl(120, 100%, 40%);">+    </text></span><br><span style="color: hsl(120, 100%, 40%);">+  </g></span><br><span style="color: hsl(120, 100%, 40%);">+  <g></span><br><span style="color: hsl(120, 100%, 40%);">+    <rect style="fill: #ffffff" x="308" y="-91.1844" width="49.1438" height="59.7756"/></span><br><span style="color: hsl(120, 100%, 40%);">+    <rect style="fill: none; fill-opacity:0; stroke-width: 2; stroke: #000000" x="308" y="-91.1844" width="49.1438" height="59.7756"/></span><br><span style="color: hsl(120, 100%, 40%);">+    <text font-size="6.77333" style="fill: #000000;text-anchor:middle;font-family:sans-serif;font-style:normal;font-weight:normal" x="332.572" y="-59.2299"></span><br><span style="color: hsl(120, 100%, 40%);">+      <tspan x="332.572" y="-59.2299">ME</tspan></span><br><span style="color: hsl(120, 100%, 40%);">+    </text></span><br><span style="color: hsl(120, 100%, 40%);">+  </g></span><br><span style="color: hsl(120, 100%, 40%);">+  <g></span><br><span style="color: hsl(120, 100%, 40%);">+    <rect style="fill: #ffffff" x="307.934" y="-31.6442" width="49.1438" height="30.8828"/></span><br><span style="color: hsl(120, 100%, 40%);">+    <rect style="fill: none; fill-opacity:0; stroke-width: 2; stroke: #000000" x="307.934" y="-31.6442" width="49.1438" height="30.8828"/></span><br><span style="color: hsl(120, 100%, 40%);">+    <text font-size="6.77333" style="fill: #000000;text-anchor:middle;font-family:sans-serif;font-style:normal;font-weight:normal" x="332.506" y="-14.1361"></span><br><span style="color: hsl(120, 100%, 40%);">+      <tspan x="332.506" y="-14.1361">BIOS</tspan></span><br><span style="color: hsl(120, 100%, 40%);">+    </text></span><br><span style="color: hsl(120, 100%, 40%);">+  </g></span><br><span style="color: hsl(120, 100%, 40%);">+  <g></span><br><span style="color: hsl(120, 100%, 40%);">+    <rect style="fill: #ffffff" x="308" y="-121.59" width="49.1438" height="30.4667"/></span><br><span style="color: hsl(120, 100%, 40%);">+    <rect style="fill: none; fill-opacity:0; stroke-width: 2; stroke: #000000" x="308" y="-121.59" width="49.1438" height="30.4667"/></span><br><span style="color: hsl(120, 100%, 40%);">+    <text font-size="6.77333" style="fill: #000000;text-anchor:middle;font-family:sans-serif;font-style:normal;font-weight:normal" x="332.572" y="-104.29"></span><br><span style="color: hsl(120, 100%, 40%);">+      <tspan x="332.572" y="-104.29">GBE</tspan></span><br><span style="color: hsl(120, 100%, 40%);">+    </text></span><br><span style="color: hsl(120, 100%, 40%);">+  </g></span><br><span style="color: hsl(120, 100%, 40%);">+  <text font-size="6.77333" style="fill: #000000;text-anchor:start;font-family:sans-serif;font-style:normal;font-weight:normal" x="265.968" y="-149.208"></span><br><span style="color: hsl(120, 100%, 40%);">+    <tspan x="265.968" y="-149.208">0x000000</tspan></span><br><span style="color: hsl(120, 100%, 40%);">+  </text></span><br><span style="color: hsl(120, 100%, 40%);">+  <text font-size="6.77333" style="fill: #000000;text-anchor:start;font-family:sans-serif;font-style:normal;font-weight:normal" x="266.362" y="-120.102"></span><br><span style="color: hsl(120, 100%, 40%);">+    <tspan x="266.362" y="-120.102">0x001000</tspan></span><br><span style="color: hsl(120, 100%, 40%);">+  </text></span><br><span style="color: hsl(120, 100%, 40%);">+  <text font-size="6.77333" style="fill: #000000;text-anchor:start;font-family:sans-serif;font-style:normal;font-weight:normal" x="266.162" y="-88.8972"></span><br><span style="color: hsl(120, 100%, 40%);">+    <tspan x="266.162" y="-88.8972">0x003000</tspan></span><br><span style="color: hsl(120, 100%, 40%);">+  </text></span><br><span style="color: hsl(120, 100%, 40%);">+  <text font-size="6.77333" style="fill: #000000;text-anchor:start;font-family:sans-serif;font-style:normal;font-weight:normal" x="266.144" y="-29.6656"></span><br><span style="color: hsl(120, 100%, 40%);">+    <tspan x="266.144" y="-29.6656">0x500000</tspan></span><br><span style="color: hsl(120, 100%, 40%);">+  </text></span><br><span style="color: hsl(120, 100%, 40%);">+  <text font-size="6.77333" style="fill: #000000;text-anchor:start;font-family:sans-serif;font-style:normal;font-weight:normal" x="266.326" y="1.87412"></span><br><span style="color: hsl(120, 100%, 40%);">+    <tspan x="266.326" y="1.87412">0x800000</tspan></span><br><span style="color: hsl(120, 100%, 40%);">+  </text></span><br><span style="color: hsl(120, 100%, 40%);">+  <path style="fill: none; fill-opacity:0; stroke-width: 1; stroke: #000000" d="M 380.877 -151.013 C 401.876,-151.013 379.377,-73.513 400.627,-72.513"/></span><br><span style="color: hsl(120, 100%, 40%);">+  <path style="fill: none; fill-opacity:0; stroke-width: 1; stroke: #000000" d="M 381.377 -0.763268 C 395.238,-0.763268 387.016,-72.763 400.877,-72.763"/></span><br><span style="color: hsl(120, 100%, 40%);">+  <text font-size="10.1598" style="fill: #000000;text-anchor:start;font-family:sans-serif;font-style:normal;font-weight:normal" x="406.127" y="-68.513"></span><br><span style="color: hsl(120, 100%, 40%);">+    <tspan x="406.127" y="-68.513">Flash #0</tspan></span><br><span style="color: hsl(120, 100%, 40%);">+  </text></span><br><span style="color: hsl(120, 100%, 40%);">+</svg></span><br><span>diff --git a/Documentation/mainboard/lenovo/flashlayout_xx30.svg b/Documentation/mainboard/lenovo/flashlayout_xx30.svg</span><br><span>new file mode 100644</span><br><span>index 0000000..5cc4e4f</span><br><span>--- /dev/null</span><br><span>+++ b/Documentation/mainboard/lenovo/flashlayout_xx30.svg</span><br><span>@@ -0,0 +1,61 @@</span><br><span style="color: hsl(120, 100%, 40%);">+<?xml version="1.0" encoding="UTF-8" standalone="no"?></span><br><span style="color: hsl(120, 100%, 40%);">+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/PR-SVG-20010719/DTD/svg10.dtd"></span><br><span style="color: hsl(120, 100%, 40%);">+<svg width="10cm" height="11cm" viewBox="265 -156 187 213" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"></span><br><span style="color: hsl(120, 100%, 40%);">+  <g></span><br><span style="color: hsl(120, 100%, 40%);">+    <rect style="fill: #ffffff" x="307.888" y="-152.131" width="49.1438" height="30.4667"/></span><br><span style="color: hsl(120, 100%, 40%);">+    <rect style="fill: none; fill-opacity:0; stroke-width: 2; stroke: #000000" x="307.888" y="-152.131" width="49.1438" height="30.4667"/></span><br><span style="color: hsl(120, 100%, 40%);">+    <text font-size="6.77333" style="fill: #000000;text-anchor:middle;font-family:sans-serif;font-style:normal;font-weight:normal" x="332.46" y="-134.831"></span><br><span style="color: hsl(120, 100%, 40%);">+      <tspan x="332.46" y="-134.831">IFD</tspan></span><br><span style="color: hsl(120, 100%, 40%);">+    </text></span><br><span style="color: hsl(120, 100%, 40%);">+  </g></span><br><span style="color: hsl(120, 100%, 40%);">+  <g></span><br><span style="color: hsl(120, 100%, 40%);">+    <rect style="fill: #ffffff" x="308" y="-91.1844" width="49.1438" height="59.7756"/></span><br><span style="color: hsl(120, 100%, 40%);">+    <rect style="fill: none; fill-opacity:0; stroke-width: 2; stroke: #000000" x="308" y="-91.1844" width="49.1438" height="59.7756"/></span><br><span style="color: hsl(120, 100%, 40%);">+    <text font-size="6.77333" style="fill: #000000;text-anchor:middle;font-family:sans-serif;font-style:normal;font-weight:normal" x="332.572" y="-59.2299"></span><br><span style="color: hsl(120, 100%, 40%);">+      <tspan x="332.572" y="-59.2299">ME</tspan></span><br><span style="color: hsl(120, 100%, 40%);">+    </text></span><br><span style="color: hsl(120, 100%, 40%);">+  </g></span><br><span style="color: hsl(120, 100%, 40%);">+  <g></span><br><span style="color: hsl(120, 100%, 40%);">+    <rect style="fill: #ffffff" x="307.934" y="-31.6442" width="49.1438" height="85.7161"/></span><br><span style="color: hsl(120, 100%, 40%);">+    <rect style="fill: none; fill-opacity:0; stroke-width: 2; stroke: #000000" x="307.934" y="-31.6442" width="49.1438" height="85.7161"/></span><br><span style="color: hsl(120, 100%, 40%);">+    <text font-size="6.77333" style="fill: #000000;text-anchor:middle;font-family:sans-serif;font-style:normal;font-weight:normal" x="332.506" y="13.2805"></span><br><span style="color: hsl(120, 100%, 40%);">+      <tspan x="332.506" y="13.2805">BIOS</tspan></span><br><span style="color: hsl(120, 100%, 40%);">+    </text></span><br><span style="color: hsl(120, 100%, 40%);">+  </g></span><br><span style="color: hsl(120, 100%, 40%);">+  <g></span><br><span style="color: hsl(120, 100%, 40%);">+    <rect style="fill: #ffffff" x="308" y="-121.59" width="49.1438" height="30.4667"/></span><br><span style="color: hsl(120, 100%, 40%);">+    <rect style="fill: none; fill-opacity:0; stroke-width: 2; stroke: #000000" x="308" y="-121.59" width="49.1438" height="30.4667"/></span><br><span style="color: hsl(120, 100%, 40%);">+    <text font-size="6.77333" style="fill: #000000;text-anchor:middle;font-family:sans-serif;font-style:normal;font-weight:normal" x="332.572" y="-104.29"></span><br><span style="color: hsl(120, 100%, 40%);">+      <tspan x="332.572" y="-104.29">GBE</tspan></span><br><span style="color: hsl(120, 100%, 40%);">+    </text></span><br><span style="color: hsl(120, 100%, 40%);">+  </g></span><br><span style="color: hsl(120, 100%, 40%);">+  <text font-size="6.77333" style="fill: #000000;text-anchor:start;font-family:sans-serif;font-style:normal;font-weight:normal" x="265.968" y="-149.208"></span><br><span style="color: hsl(120, 100%, 40%);">+    <tspan x="265.968" y="-149.208">0x000000</tspan></span><br><span style="color: hsl(120, 100%, 40%);">+  </text></span><br><span style="color: hsl(120, 100%, 40%);">+  <text font-size="6.77333" style="fill: #000000;text-anchor:start;font-family:sans-serif;font-style:normal;font-weight:normal" x="266.362" y="-120.102"></span><br><span style="color: hsl(120, 100%, 40%);">+    <tspan x="266.362" y="-120.102">0x001000</tspan></span><br><span style="color: hsl(120, 100%, 40%);">+  </text></span><br><span style="color: hsl(120, 100%, 40%);">+  <text font-size="6.77333" style="fill: #000000;text-anchor:start;font-family:sans-serif;font-style:normal;font-weight:normal" x="266.162" y="-88.8972"></span><br><span style="color: hsl(120, 100%, 40%);">+    <tspan x="266.162" y="-88.8972">0x003000</tspan></span><br><span style="color: hsl(120, 100%, 40%);">+  </text></span><br><span style="color: hsl(120, 100%, 40%);">+  <text font-size="6.77333" style="fill: #000000;text-anchor:start;font-family:sans-serif;font-style:normal;font-weight:normal" x="266.144" y="-29.6656"></span><br><span style="color: hsl(120, 100%, 40%);">+    <tspan x="266.144" y="-29.6656">0x500000</tspan></span><br><span style="color: hsl(120, 100%, 40%);">+  </text></span><br><span style="color: hsl(120, 100%, 40%);">+  <text font-size="6.77333" style="fill: #000000;text-anchor:start;font-family:sans-serif;font-style:normal;font-weight:normal" x="266.326" y="1.87412"></span><br><span style="color: hsl(120, 100%, 40%);">+    <tspan x="266.326" y="1.87412">0x800000</tspan></span><br><span style="color: hsl(120, 100%, 40%);">+  </text></span><br><span style="color: hsl(120, 100%, 40%);">+  <path style="fill: none; fill-opacity:0; stroke-width: 1; stroke: #000000" d="M 380.877 -151.013 C 401.876,-151.013 379.377,-73.513 400.627,-72.513"/></span><br><span style="color: hsl(120, 100%, 40%);">+  <path style="fill: none; fill-opacity:0; stroke-width: 1; stroke: #000000" d="M 381.377 -0.763268 C 395.238,-0.763268 387.016,-72.763 400.877,-72.763"/></span><br><span style="color: hsl(120, 100%, 40%);">+  <text font-size="10.1598" style="fill: #000000;text-anchor:start;font-family:sans-serif;font-style:normal;font-weight:normal" x="406.127" y="-68.513"></span><br><span style="color: hsl(120, 100%, 40%);">+    <tspan x="406.127" y="-68.513">Flash #0</tspan></span><br><span style="color: hsl(120, 100%, 40%);">+  </text></span><br><span style="color: hsl(120, 100%, 40%);">+  <path style="fill: none; fill-opacity:0; stroke-width: 1; stroke: #000000" d="M 381.223 -0.537117 C 402.222,-0.537117 379.285,28.8102 399.872,27.8376"/></span><br><span style="color: hsl(120, 100%, 40%);">+  <path style="fill: none; fill-opacity:0; stroke-width: 1; stroke: #000000" d="M 382.176 54.9128 C 396.037,54.9128 385.445,27.9997 399.548,27.8376"/></span><br><span style="color: hsl(120, 100%, 40%);">+  <text font-size="10.1598" style="fill: #000000;text-anchor:start;font-family:sans-serif;font-style:normal;font-weight:normal" x="407.157" y="30.2529"></span><br><span style="color: hsl(120, 100%, 40%);">+    <tspan x="407.157" y="30.2529">Flash #1</tspan></span><br><span style="color: hsl(120, 100%, 40%);">+  </text></span><br><span style="color: hsl(120, 100%, 40%);">+  <text font-size="6.77333" style="fill: #000000;text-anchor:start;font-family:sans-serif;font-style:normal;font-weight:normal" x="266.591" y="54.9733"></span><br><span style="color: hsl(120, 100%, 40%);">+    <tspan x="266.591" y="54.9733">0xc00000</tspan></span><br><span style="color: hsl(120, 100%, 40%);">+  </text></span><br><span style="color: hsl(120, 100%, 40%);">+  <line style="fill: none; fill-opacity:0; stroke-width: 2; stroke-dasharray: 4; stroke: #000000" x1="305.271" y1="-1.2113" x2="378.831" y2="-1.17038"/></span><br><span style="color: hsl(120, 100%, 40%);">+</svg></span><br><span>diff --git a/Documentation/mainboard/lenovo/t420.md b/Documentation/mainboard/lenovo/t420.md</span><br><span>new file mode 100644</span><br><span>index 0000000..c5e4525</span><br><span>--- /dev/null</span><br><span>+++ b/Documentation/mainboard/lenovo/t420.md</span><br><span>@@ -0,0 +1,22 @@</span><br><span style="color: hsl(120, 100%, 40%);">+# Lenovo T420</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+## Flashing instructions</span><br><span style="color: hsl(120, 100%, 40%);">+You have to disassemble the whole device, as the flash IC is on the bottom</span><br><span style="color: hsl(120, 100%, 40%);">+of the mainboard.</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+For more details have a look at [T420 / T520 / X220 / T420s / W520 common].</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+### Steps to access the flash IC:</span><br><span style="color: hsl(120, 100%, 40%);">+* Unplug the battery</span><br><span style="color: hsl(120, 100%, 40%);">+* Remove harddisk, CDROM, PCIexp-card, SIM-card, SDcard, SmartCard, ...</span><br><span style="color: hsl(120, 100%, 40%);">+* Open the bottom flap and remove the keyboard screw</span><br><span style="color: hsl(120, 100%, 40%);">+* Remove the keyboard</span><br><span style="color: hsl(120, 100%, 40%);">+* Remove the screen</span><br><span style="color: hsl(120, 100%, 40%);">+* Remove the top enclosure</span><br><span style="color: hsl(120, 100%, 40%);">+* Remove the speakers</span><br><span style="color: hsl(120, 100%, 40%);">+* Remove WWAN and WIFI card</span><br><span style="color: hsl(120, 100%, 40%);">+* Remove the CPU fan</span><br><span style="color: hsl(120, 100%, 40%);">+* Unplug the power cable</span><br><span style="color: hsl(120, 100%, 40%);">+* Remove the bottom enclosure</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+[T420 / T520 / X220 / T420s / W520 common]: xx20_series.md</span><br><span>diff --git a/Documentation/mainboard/lenovo/t430.md b/Documentation/mainboard/lenovo/t430.md</span><br><span>new file mode 100644</span><br><span>index 0000000..195d74a</span><br><span>--- /dev/null</span><br><span>+++ b/Documentation/mainboard/lenovo/t430.md</span><br><span>@@ -0,0 +1,18 @@</span><br><span style="color: hsl(120, 100%, 40%);">+# Lenovo T420</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+## Flashing instructions</span><br><span style="color: hsl(120, 100%, 40%);">+* You have to disassemble the whole device, as the flash IC is on the bottom</span><br><span style="color: hsl(120, 100%, 40%);">+of the mainboard.</span><br><span style="color: hsl(120, 100%, 40%);">+ </span><br><span style="color: hsl(120, 100%, 40%);">+### Steps to access the flash IC:</span><br><span style="color: hsl(120, 100%, 40%);">+* Unplug the battery</span><br><span style="color: hsl(120, 100%, 40%);">+* Remove harddisk, CDROM, PCIexp-card, SIM-card, SDcard, SmartCard, ...</span><br><span style="color: hsl(120, 100%, 40%);">+* Open the bottom flap and remove the keyboard screw</span><br><span style="color: hsl(120, 100%, 40%);">+* Remove the keyboard</span><br><span style="color: hsl(120, 100%, 40%);">+* Remove the screen</span><br><span style="color: hsl(120, 100%, 40%);">+* Remove the top enclosure</span><br><span style="color: hsl(120, 100%, 40%);">+* Remove the speakers</span><br><span style="color: hsl(120, 100%, 40%);">+* Remove WWAN and WIFI card</span><br><span style="color: hsl(120, 100%, 40%);">+* Remove the CPU fan</span><br><span style="color: hsl(120, 100%, 40%);">+* Unplug the power cable</span><br><span style="color: hsl(120, 100%, 40%);">+* Remove the bottom enclosure</span><br><span>diff --git a/Documentation/mainboard/lenovo/xx20_series.md b/Documentation/mainboard/lenovo/xx20_series.md</span><br><span>new file mode 100644</span><br><span>index 0000000..45b0bff</span><br><span>--- /dev/null</span><br><span>+++ b/Documentation/mainboard/lenovo/xx20_series.md</span><br><span>@@ -0,0 +1,44 @@</span><br><span style="color: hsl(120, 100%, 40%);">+# Lenovo Sandy Bridge series</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+## Flashing coreboot</span><br><span style="color: hsl(120, 100%, 40%);">+```eval_rst</span><br><span style="color: hsl(120, 100%, 40%);">++---------------------+--------------------+</span><br><span style="color: hsl(120, 100%, 40%);">+| Type                | Value              |</span><br><span style="color: hsl(120, 100%, 40%);">++=====================+====================+</span><br><span style="color: hsl(120, 100%, 40%);">+| Socketed flash      | no                 |</span><br><span style="color: hsl(120, 100%, 40%);">++---------------------+--------------------+</span><br><span style="color: hsl(120, 100%, 40%);">+| Model               | MACRONIX MX25L6436 |</span><br><span style="color: hsl(120, 100%, 40%);">++---------------------+--------------------+</span><br><span style="color: hsl(120, 100%, 40%);">+| Size                | 8 MiB              |</span><br><span style="color: hsl(120, 100%, 40%);">++---------------------+--------------------+</span><br><span style="color: hsl(120, 100%, 40%);">+| In circuit flashing | Yes                |</span><br><span style="color: hsl(120, 100%, 40%);">++---------------------+--------------------+</span><br><span style="color: hsl(120, 100%, 40%);">+| Package             | SOIC-8             |</span><br><span style="color: hsl(120, 100%, 40%);">++---------------------+--------------------+</span><br><span style="color: hsl(120, 100%, 40%);">+| Write protection    | No                 |</span><br><span style="color: hsl(120, 100%, 40%);">++---------------------+--------------------+</span><br><span style="color: hsl(120, 100%, 40%);">+| Dual BIOS feature   | No                 |</span><br><span style="color: hsl(120, 100%, 40%);">++---------------------+--------------------+</span><br><span style="color: hsl(120, 100%, 40%);">+| Internal flashing   | Yes                |</span><br><span style="color: hsl(120, 100%, 40%);">++---------------------+--------------------+</span><br><span style="color: hsl(120, 100%, 40%);">+```</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+## Flashing instructions</span><br><span style="color: hsl(120, 100%, 40%);">+* It's safe to use the SPI flasher power, as all devices have a protection</span><br><span style="color: hsl(120, 100%, 40%);">+  diode near the flash IC.</span><br><span style="color: hsl(120, 100%, 40%);">+* Do **NOT** accidently swap pins or power on the board while a SPI flasher</span><br><span style="color: hsl(120, 100%, 40%);">+  is connected. It will permanently brick your device.</span><br><span style="color: hsl(120, 100%, 40%);">+* It's recommended to only flash the BIOS region. In that case you don't</span><br><span style="color: hsl(120, 100%, 40%);">+  need to extract BLOBs from vendor firmware.</span><br><span style="color: hsl(120, 100%, 40%);">+  If you want to flash the whole chip, you need BLOBs when building</span><br><span style="color: hsl(120, 100%, 40%);">+  coreboot.</span><br><span style="color: hsl(120, 100%, 40%);">+* The *Flash layout* shows that by default 3MiB of space are available for</span><br><span style="color: hsl(120, 100%, 40%);">+  the use with coreboot.</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+Please also have a look at *TODO* [General Flashrom Usage].</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+## Flash layout</span><br><span style="color: hsl(120, 100%, 40%);">+![][fl]</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+[fl]: flashlayout_xx20.svg</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span>diff --git a/Documentation/mainboard/lenovo/xx30_series.md b/Documentation/mainboard/lenovo/xx30_series.md</span><br><span>new file mode 100644</span><br><span>index 0000000..c896d95</span><br><span>--- /dev/null</span><br><span>+++ b/Documentation/mainboard/lenovo/xx30_series.md</span><br><span>@@ -0,0 +1,58 @@</span><br><span style="color: hsl(120, 100%, 40%);">+# Lenovo Sandy Bridge series</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+## Flashing coreboot</span><br><span style="color: hsl(120, 100%, 40%);">+```eval_rst</span><br><span style="color: hsl(120, 100%, 40%);">++---------------------+--------------------+</span><br><span style="color: hsl(120, 100%, 40%);">+| Type                | Value              |</span><br><span style="color: hsl(120, 100%, 40%);">++=====================+====================+</span><br><span style="color: hsl(120, 100%, 40%);">+| Socketed flash      | no                 |</span><br><span style="color: hsl(120, 100%, 40%);">++---------------------+--------------------+</span><br><span style="color: hsl(120, 100%, 40%);">+| Model               | MACRONIX MX25L6436 |</span><br><span style="color: hsl(120, 100%, 40%);">++---------------------+--------------------+</span><br><span style="color: hsl(120, 100%, 40%);">+| Size                | 8 MiB + 4MiB       |</span><br><span style="color: hsl(120, 100%, 40%);">++---------------------+--------------------+</span><br><span style="color: hsl(120, 100%, 40%);">+| In circuit flashing | Yes                |</span><br><span style="color: hsl(120, 100%, 40%);">++---------------------+--------------------+</span><br><span style="color: hsl(120, 100%, 40%);">+| Package             | SOIC-8             |</span><br><span style="color: hsl(120, 100%, 40%);">++---------------------+--------------------+</span><br><span style="color: hsl(120, 100%, 40%);">+| Write protection    | No                 |</span><br><span style="color: hsl(120, 100%, 40%);">++---------------------+--------------------+</span><br><span style="color: hsl(120, 100%, 40%);">+| Dual BIOS feature   | No                 |</span><br><span style="color: hsl(120, 100%, 40%);">++---------------------+--------------------+</span><br><span style="color: hsl(120, 100%, 40%);">+| Internal flashing   | Yes                |</span><br><span style="color: hsl(120, 100%, 40%);">++---------------------+--------------------+</span><br><span style="color: hsl(120, 100%, 40%);">+```</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+## Flashing instructions</span><br><span style="color: hsl(120, 100%, 40%);">+* It's safe to use the SPI flasher power, as all devices have a protection</span><br><span style="color: hsl(120, 100%, 40%);">+  diode near the flash IC.</span><br><span style="color: hsl(120, 100%, 40%);">+* Do **NOT** accidently swap pins or power on the board while a SPI flasher</span><br><span style="color: hsl(120, 100%, 40%);">+  is connected. It will permanently brick your device.</span><br><span style="color: hsl(120, 100%, 40%);">+* It's recommended to only flash the BIOS region. In that case you don't</span><br><span style="color: hsl(120, 100%, 40%);">+  need to extract BLOBs from vendor firmware.</span><br><span style="color: hsl(120, 100%, 40%);">+  If you want to flash the whole chip, you need BLOBs when building</span><br><span style="color: hsl(120, 100%, 40%);">+  coreboot.</span><br><span style="color: hsl(120, 100%, 40%);">+* The *Flash layout* shows that by default 7MiB of space are available for</span><br><span style="color: hsl(120, 100%, 40%);">+  the use with coreboot.</span><br><span style="color: hsl(120, 100%, 40%);">+* If you don't want to touch IFD, ME, GBE you must only flash the 4MiB</span><br><span style="color: hsl(120, 100%, 40%);">+  flash IC. In that case your BIOS region must not exceed 4MiB.</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+Please also have a look at *TODO* [General Flashrom Usage].</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+## Splitting the coreboot.rom</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+To split the coreboot.rom into two images (one for the 8MiB and one for the</span><br><span style="color: hsl(120, 100%, 40%);">+4 MiB flash IC), run the following commands:</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+  dd of=top.rom bs=1M if=build/coreboot.rom skip=8</span><br><span style="color: hsl(120, 100%, 40%);">+  dd of=bottom.rom bs=1M if=build/coreboot.rom count=8</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+That give two ROMs for each flash IC.</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+## Flash layout</span><br><span style="color: hsl(120, 100%, 40%);">+The two flash ICs appear as a 12MiB when flashing internaly.</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+![][fl]</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+[fl]: flashlayout_xx30.svg</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span></span><br></pre><p>To view, visit <a href="https://review.coreboot.org/27852">change 27852</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://review.coreboot.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://review.coreboot.org/27852"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: coreboot </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: Ia833e27f4e7d89ee32be9bed21a0c021839facec </div>
<div style="display:none"> Gerrit-Change-Number: 27852 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Patrick Rudolph <siro@das-labor.org> </div>