t500.html 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1">
  6. <style type="text/css">
  7. @import url('../css/main.css');
  8. </style>
  9. <title>ThinkPad T500</title>
  10. </head>
  11. <body><div class="section"><p>If you're using libreboot from git, note that only CrOS devices build at the moment. We merged a newly rewritten build system recently, and we've yet to complete re-integration of older boards into Libreboot. Use Libreboot 20160907 for the time being, unless you're involved in libreboot development</p></div>
  12. <div class="section">
  13. <h1 id="pagetop">ThinkPad T500</h1>
  14. <p>
  15. It is believed that all or most T500 laptops are compatible.
  16. See notes about <a href="../install/t500_external.html#cpu_compatibility">CPU compatibility</a>
  17. for potential incompatibilities.
  18. </p>
  19. <p>
  20. There are two possible flash chip sizes for the T500: 4MiB (32Mbit) or 8MiB (64Mbit).
  21. This can be identified by the type of flash chip below the palmrest: 4MiB is SOIC-8, 8MiB
  22. is SOIC-16.
  23. </p>
  24. <p>
  25. <b>The T500 laptops come with the ME (and sometimes AMT in addition) before flashing libreboot. Libreboot disables and removes it
  26. by using a modified descriptor: see <a href="gm45_remove_me.html">gm45_remove_me.html</a></b> (contains notes, plus
  27. instructions)
  28. </p>
  29. <p>
  30. Flashing instructions can be found at <a href="../install/#flashrom">../install/#flashrom</a>
  31. </p>
  32. <p>
  33. <a href="./">Back to previous index</a>.
  34. </p>
  35. </div>
  36. <div class="section">
  37. <h1 id="ecupdate">EC update</h1>
  38. <p>
  39. It is recommended that you update to the latest EC firmware version.
  40. The <a href="https://libreboot.org/faq/#firmware-ec">EC firmware</a>
  41. is separate from libreboot, so we don't actually provide that, but
  42. if you still have Lenovo BIOS then you can just run the Lenovo BIOS
  43. update utility, which will update both the BIOS and EC version.
  44. See:
  45. </p>
  46. <ul>
  47. <li><a href="https://libreboot.org/docs/install/index.html#flashrom">https://libreboot.org/docs/install/index.html#flashrom</a></li>
  48. <li><a href="http://www.thinkwiki.org/wiki/BIOS_update_without_optical_disk">http://www.thinkwiki.org/wiki/BIOS_update_without_optical_disk</a></li>
  49. </ul>
  50. <p>
  51. NOTE: this can only be done when you are using Lenovo BIOS. How to
  52. update the EC firmware while running libreboot is unknown.
  53. Libreboot only replaces the BIOS firmware, not EC.
  54. </p>
  55. <p>
  56. Updated EC firmware has several advantages e.g.
  57. bettery battery handling.
  58. </p>
  59. </div>
  60. <div class="section">
  61. <h2 id="compatibility_noblobs">Compatibility (without blobs)</h2>
  62. <div class="subsection">
  63. <h3 id="hwvirt">Hardware virtualization (vt-x)</h3>
  64. <p>
  65. The T500, when run without CPU microcode updates in coreboot, currently kernel panics
  66. if running QEMU with vt-x enabled on 2 cores for the guest. With a single core enabled
  67. for the guest, the guest panics (but the host is fine). Working around this in QEMU
  68. might be possible; if not, software virtualization should work fine (it's just slower).
  69. </p>
  70. <p>
  71. On GM45 hardware (with libreboot), make sure that the <i>kvm</i> and <i>kvm_intel</i> kernel modules
  72. are not loaded, when using QEMU.
  73. </p>
  74. <p>
  75. The following errata datasheet from Intel might help with investigation:
  76. <a href="http://download.intel.com/design/mobile/specupdt/320121.pdf">http://download.intel.com/design/mobile/specupdt/320121.pdf</a>
  77. </p>
  78. </div>
  79. </div>
  80. <div class="section">
  81. <p>
  82. The T500 is almost identical to the X200, code-wise. See <a href="x200.html">x200.html</a>.
  83. </p>
  84. </div>
  85. <div class="section">
  86. <h2 id="descriptor_difference">
  87. Descriptor and Gbe differences
  88. </h2>
  89. <p>
  90. See
  91. <a href="../future/dumps/t500_x200_descriptor/descriptor_diff_t500_x200.txt">../future/dumps/t500_x200_descriptor/descriptor_diff_t500_x200.txt</a>
  92. and
  93. <a href="../future/dumps/t500_x200_descriptor/gbe_diff_t500_x200.txt">../future/dumps/t500_x200_descriptor/gbe_diff_t500_x200.txt</a>
  94. </p>
  95. <p>
  96. The patches above are based on the output from ich9deblob on a factory.rom image dumped from the T500
  97. with a SOIC-8 4MiB flash chip. The patch re-creates the X200 descriptor/gbe source, so the commands were
  98. something like:<br/>
  99. $ <b>diff -u t500gbe x200gbe</b><br/>
  100. $ <b>diff -u t500descriptor x200descriptor</b>
  101. </p>
  102. <p>
  103. ME VSCC table is in a different place and a different size on the T500. Libreboot disables and removes the ME
  104. anyway, so it doesn't matter.
  105. </p>
  106. <p>
  107. The very same descriptor/gbe used on the X200 (generated by <a href="gm45_remove_me.html#ich9gen">ich9gen</a>)
  108. was re-used on the T500, and it still worked.
  109. </p>
  110. </div>
  111. <div class="section">
  112. <h2 id="regdumps">Hardware register dumps</h2>
  113. <p>
  114. The coreboot wiki <a href="http://www.coreboot.org/Motherboard_Porting_Guide">shows</a>
  115. how to collect various logs useful in porting to new
  116. boards. Following are outputs from the T500:
  117. </p>
  118. <ul>
  119. <li>
  120. T500 with <b>Macronix MX25L3205D</b> flash chip (4MiB, SOIC-8)
  121. and Lenovo BIOS 3.13 7VET83WW (EC firmware 1.06):
  122. <ul>
  123. <li><a href="../future/dumps/t500log/">../future/dumps/t500log/</a></li>
  124. </ul>
  125. </li>
  126. </ul>
  127. </div>
  128. <div class="section">
  129. <p>
  130. Copyright &copy; 2015 Leah Rowe &lt;info@minifree.org&gt;<br/>
  131. Permission is granted to copy, distribute and/or modify this document
  132. under the terms of the Creative Commons Attribution-ShareAlike 4.0 International license
  133. or any later version published by Creative Commons;
  134. A copy of the license can be found at <a href="../cc-by-sa-4.0.txt">../cc-by-sa-4.0.txt</a>
  135. </p>
  136. <p>
  137. Updated versions of the license (when available) can be found at
  138. <a href="https://creativecommons.org/licenses/by-sa/4.0/legalcode">https://creativecommons.org/licenses/by-sa/4.0/legalcode</a>
  139. </p>
  140. <p>
  141. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
  142. EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
  143. AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
  144. ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
  145. IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
  146. WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
  147. PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
  148. ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
  149. KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
  150. ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
  151. </p>
  152. <p>
  153. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
  154. TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
  155. NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
  156. INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
  157. COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
  158. USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
  159. ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
  160. DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
  161. IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
  162. </p>
  163. <p>
  164. The disclaimer of warranties and limitation of liability provided
  165. above shall be interpreted in a manner that, to the extent
  166. possible, most closely approximates an absolute disclaimer and
  167. waiver of all liability.
  168. </p>
  169. </div>
  170. </body>
  171. </html>