summaryrefslogtreecommitdiffstats
path: root/docs/hcl/t400.html
blob: 1466271f9b4609b2424559fff4a2a69439c952e4 (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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">

	<style type="text/css">
		@import url('../css/main.css');
	</style>

	<title>ThinkPad T400</title>
</head>

<body>

	<div class="section">
		<h1 id="pagetop">ThinkPad T400</h1>
			
			<p>
				It is believed that all or most T400 laptops are compatible. 
				See notes about <a href="../install/t400_external.html#cpu_compatibility">CPU compatibility</a>
				for potential incompatibilities.
			</p>
			
			<p>
				There are two possible flash chip sizes for the T400: 4MiB (32Mbit) or 8MiB (64Mbit). 
				This can be identified by the type of flash chip below the palmrest: 4MiB is SOIC-8, 8MiB
				is SOIC-16.
			</p>
			
			<p>
				<b>The T400 laptops come with the ME (and sometimes AMT in addition) before flashing libreboot. Libreboot disables and removes it
				by using a modified descriptor: see <a href="gm45_remove_me.html">gm45_remove_me.html</a></b> (contains notes, plus
				instructions)
			</p>

			<p>
				Flashing instructions can be found at <a href="../install/index.html#flashrom">../install/index.html#flashrom</a>
			</p>
			
			<p>
				<a href="index.html">Back to previous index</a>.
			</p>
	</div>

	<div class="section">

		<h2 id="compatibility_noblobs">Compatibility (without blobs)</h2>

			<div class="subsection">
				<h3 id="hwvirt">Hardware virtualization (vt-x)</h3>
					<p>
						The T400, when run without CPU microcode updates in coreboot, currently kernel panics
						if running QEMU with vt-x enabled on 2 cores for the guest. With a single core enabled
						for the guest, the guest panics (but the host is fine). Working around this in QEMU
						might be possible; if not, software virtualization should work fine (it's just slower).
					</p>
					<p>
						On GM45 hardware (with libreboot), make sure that the <i>kvm</i> and <i>kvm_intel</i> kernel modules
						are not loaded, when using QEMU.
					</p>
					<p>
						The following errata datasheet from Intel might help with investigation:
						<a href="http://download.intel.com/design/mobile/specupdt/320121.pdf">http://download.intel.com/design/mobile/specupdt/320121.pdf</a>
					</p>
			</div>

	</div>

	<div class="section">

		<p>
			The T400 is almost identical to the X200, code-wise. See <a href="x200.html">x200.html</a>.
		</p>

	</div>

	<div class="section">

		<h1 id="lcd_compatibility">LCD compatibly</h1>
			<p>
				Note all LCD panels are compatible yet. See <a href="gm45_lcd.html">gm45_lcd.html</a>.
			</p>

	</div>
	
	<div class="section">

		<h2 id="regdumps">Hardware register dumps</h2>

		<p>
			The coreboot wiki <a href="http://www.coreboot.org/Motherboard_Porting_Guide">shows</a>
			how to collect various logs useful in porting to new
			boards.  Following are outputs from the T400:
		</p>

		<ul>
			<li>
				T400 with <b>Winbond W25X64</b> flash chip (8MiB, SOIC-16)
				and Lenovo BIOS 2.02 (EC firmware 1.01):
				<ul>
					<li>lspci <a href="../future/dumps/logs-t400-bios2.02-ec1.01/lspci.log">output</a></li>
					<li>lsusb <a href="../future/dumps/logs-t400-bios2.02-ec1.01/lsusb.log">output</a></li>
					<li>superiotool <a href="../future/dumps/logs-t400-bios2.02-ec1.01/superiotool.log">output</a></li>
					<li>inteltool <a href="../future/dumps/logs-t400-bios2.02-ec1.01/inteltool.log">output</a></li>
					<li>ectool <a href="../future/dumps/logs-t400-bios2.02-ec1.01/ectool.log">output</a></li>
					<li>msrtool <a href="../future/dumps/logs-t400-bios2.02-ec1.01/msrtool.log">output</a>,
						<a href="../future/dumps/logs-t400-bios2.02-ec1.01/msrtool.err">errors</a></li>
					<li>dmidecode <a href="../future/dumps/logs-t400-bios2.02-ec1.01/dmidecode.log">output</a></li>
					<li>biosdecode <a href="../future/dumps/logs-t400-bios2.02-ec1.01/biosdecode.log">output</a></li>
					<li>nvramtool <a href="../future/dumps/logs-t400-bios2.02-ec1.01/nvramtool.log">output</a></li>
					<li><a href="../future/dumps/logs-t400-bios2.02-ec1.01/dmesg.log">dmesg</a></li>
					<li>flashrom probe <a href="../future/dumps/logs-t400-bios2.02-ec1.01/flashrom_info.log">output</a>,
						<a href="../future/dumps/logs-t400-bios2.02-ec1.01/flashrom_info.err">errors</a></li>
					<li>flashrom read <a href="../future/dumps/logs-t400-bios2.02-ec1.01/flashrom_read.log">output</a>,
						<a href="../future/dumps/logs-t400-bios2.02-ec1.01/flashrom_read.err">errors</a></li>
					<li><a href="../future/dumps/logs-t400-bios2.02-ec1.01/pin_hwC0D0">/sys/class/sound/card0/hwC0D0/init_pin_configs</a></li>
					<li><a href="../future/dumps/logs-t400-bios2.02-ec1.01/codec%230">/proc/asound/card0/codec#0</a></li>
					<li><a href="../future/dumps/logs-t400-bios2.02-ec1.01/cpuinfo.log">/proc/cpuinfo</a></li>
					<li><a href="../future/dumps/logs-t400-bios2.02-ec1.01/t400_flashrom_read_with_bbb.txt">t400_flashrom_read_with_bbb.txt</a></li>
					<li><a href="../future/dumps/logs-t400-bios2.02-ec1.01/t400_flashrom_write_with_bbb.txt">t400_flashrom_write_with_bbb.txt</a></li>
				</ul>
			</li>
			<li>
				Version of flashrom used for the external flashing/reading logs is the one that libreboot git revision c164960 uses.
			</li>
		</ul>

	</div>

	<div class="section">

		<p>
			Copyright &copy;  2015 Francis Rowe &lt;info@gluglug.org.uk&gt;<br/>
			Permission is granted to copy, distribute and/or modify this document
			under the terms of the GNU Free Documentation License, Version 1.3
			or any later version published by the Free Software Foundation;
			with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
			A copy of the license can be found at <a href="../gfdl-1.3.txt">../gfdl-1.3.txt</a>
		</p>

		<p>
			Updated versions of the license (when available) can be found at
			<a href="https://www.gnu.org/licenses/licenses.html">https://www.gnu.org/licenses/licenses.html</a>
		</p>

		<p>
			UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
			EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
			AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
			ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
			IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
			WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
			PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
			ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
			KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
			ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
		</p>
		<p>
			TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
			TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
			NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
			INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
			COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
			USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
			ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
			DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
			IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
		</p>
		<p>
			The disclaimer of warranties and limitation of liability provided
			above shall be interpreted in a manner that, to the extent
			possible, most closely approximates an absolute disclaimer and
			waiver of all liability.
		</p>
		
	</div>

</body>
</html>