t60_unbrick.html 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323
  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 T60: Recovery guide</title>
  10. </head>
  11. <body>
  12. <div class="section">
  13. <h1>ThinkPad T60: Recovery guide</h1>
  14. <p>This section documents how to recover from a bad flash that prevents your ThinkPad T60 from booting.</p>
  15. <p><a href="index.html">Back to previous index</a></p>
  16. </div>
  17. <div class="section">
  18. <h2>Table of Contents</h2>
  19. <ul>
  20. <li>
  21. Types of brick:
  22. <ul>
  23. <li><a href="#bucts_brick">Brick type 1: bucts not reset</a></li>
  24. <li><a href="#recovery">Brick type 2: bad rom (or user error), system won't boot</a></li>
  25. </ul>
  26. </li>
  27. </ul>
  28. </div>
  29. <div class="section">
  30. <h1 id="bucts_brick">Brick type 1: bucts not reset.</h1>
  31. <p>
  32. You still have Lenovo BIOS, or you had libreboot running and you flashed another ROM; and you had bucts 1 set and
  33. the ROM wasn't dd'd.* or if Lenovo BIOS was present and libreboot wasn't flashed.<br/><br/>
  34. In this case, unbricking is easy: reset BUC.TS to 0 by removing that yellow cmos coin (it's a battery) and putting it back after a minute or two:<br/>
  35. <img src="../images/t60_dev/0006.JPG" alt="" /><br/><br/>
  36. *Those dd commands should be applied to all newly compiled T60 ROM images (the ROM images in libreboot binary archives already have this applied!):<br/>
  37. dd if=coreboot.rom of=top64k.bin bs=1 skip=$[$(stat -c %s coreboot.rom) - 0x10000] count=64k<br/>
  38. dd if=coreboot.rom bs=1 skip=$[$(stat -c %s coreboot.rom) - 0x20000] count=64k | hexdump<br/>
  39. dd if=top64k.bin of=coreboot.rom bs=1 seek=$[$(stat -c %s coreboot.rom) - 0x20000] count=64k conv=notrunc<br/>
  40. (doing this makes the ROM suitable for use when flashing a system that still has Lenovo BIOS running,
  41. using those instructions: <a href="http://www.coreboot.org/Board:lenovo/x60/Installation">http://www.coreboot.org/Board:lenovo/x60/Installation</a>.
  42. (it says x60, but instructions for t60 are identical)
  43. </p>
  44. </div>
  45. <div class="section">
  46. <h1 id="recovery">bad rom (or user error), system won't boot</h1>
  47. <p>
  48. In this scenario, you compiled a ROM that had an incorrect configuration, or there is an actual bug preventing your system from
  49. booting. Or, maybe, you set BUC.TS to 0 and shut down after first flash while Lenovo BIOS was running. In any case, your system is bricked and will not boot at all.
  50. </p>
  51. <p>
  52. &quot;Unbricking&quot; means flashing a known-good (working) ROM. The problem: you can't boot the system, making this difficult. In this situation, external hardware (see hardware requirements above) is needed which can flash the SPI chip (where libreboot resides).
  53. </p>
  54. <p>
  55. Remove those screws and remove the HDD:<br/>
  56. <img src="../images/t60_dev/0001.JPG" alt="" /> <img src="../images/t60_dev/0002.JPG" alt="" />
  57. </p>
  58. <p>
  59. Lift off the palm rest:<br/>
  60. <img src="../images/t60_dev/0003.JPG" alt="" />
  61. </p>
  62. <p>
  63. Lift up the keyboard, pull it back a bit, flip it over like that and then disconnect it from the board:<br/>
  64. <img src="../images/t60_dev/0004.JPG" alt="" /> <img src="../images/t60_dev/0005.JPG" alt="" /> <img src="../images/t60_dev/0006.JPG" alt="" />
  65. </p>
  66. <p>
  67. Gently wedge both sides loose:<br/>
  68. <img src="../images/t60_dev/0007.JPG" alt="" /> <img src="../images/t60_dev/0008.JPG" alt="" />
  69. </p>
  70. <p>
  71. Remove that cable from the position:<br/>
  72. <img src="../images/t60_dev/0009.JPG" alt="" /> <img src="../images/t60_dev/0010.JPG" alt="" />
  73. </p>
  74. <p>
  75. Now remove that bezel. Remove wifi, nvram battery and speaker connector (also remove 56k modem, on the left of wifi):<br/>
  76. <img src="../images/t60_dev/0011.JPG" alt="" />
  77. </p>
  78. <p>
  79. Remove those screws:<br/>
  80. <img src="../images/t60_dev/0012.JPG" alt="" />
  81. </p>
  82. <p>
  83. Disconnect the power jack:<br/>
  84. <img src="../images/t60_dev/0013.JPG" alt="" />
  85. </p>
  86. <p>
  87. Remove nvram battery:<br/>
  88. <img src="../images/t60_dev/0014.JPG" alt="" />
  89. </p>
  90. <p>
  91. Disconnect cable (for 56k modem) and disconnect the other cable:<br/>
  92. <img src="../images/t60_dev/0015.JPG" alt="" /> <img src="../images/t60_dev/0016.JPG" alt="" />
  93. </p>
  94. <p>
  95. Disconnect speaker cable:<br/>
  96. <img src="../images/t60_dev/0017.JPG" alt="" />
  97. </p>
  98. <p>
  99. Disconnect the other end of the 56k modem cable:<br/>
  100. <img src="../images/t60_dev/0018.JPG" alt="" />
  101. </p>
  102. <p>
  103. Make sure you removed it:<br/>
  104. <img src="../images/t60_dev/0019.JPG" alt="" />
  105. </p>
  106. <p>
  107. Unscrew those:<br/>
  108. <img src="../images/t60_dev/0020.JPG" alt="" />
  109. </p>
  110. <p>
  111. Make sure you removed those:<br/>
  112. <img src="../images/t60_dev/0021.JPG" alt="" />
  113. </p>
  114. <p>
  115. Disconnect LCD cable from board:<br/>
  116. <img src="../images/t60_dev/0022.JPG" alt="" />
  117. </p>
  118. <p>
  119. Remove those screws then remove the LCD assembly:<br/>
  120. <img src="../images/t60_dev/0023.JPG" alt="" /> <img src="../images/t60_dev/0024.JPG" alt="" /> <img src="../images/t60_dev/0025.JPG" alt="" />
  121. </p>
  122. <p>
  123. Once again, make sure you removed those:<br/>
  124. <img src="../images/t60_dev/0026.JPG" alt="" />
  125. </p>
  126. <p>
  127. Remove the shielding containing the motherboard, then flip it over. Remove these screws, placing them on a steady
  128. surface in the same layout as they were in before you removed them. Also, you should mark each screw hole after removing the
  129. screw (a permanent marker pen will do), this is so that you have a point of reference when re-assembling the system:<br/>
  130. <img src="../images/t60_dev/0027.JPG" alt="" /> <img src="../images/t60_dev/0028.JPG" alt="" /> <img src="../images/t60_dev/0029.JPG" alt="" />
  131. <img src="../images/t60_dev/0031.JPG" alt="" /> <img src="../images/t60_dev/0032.JPG" alt="" /> <img src="../images/t60_dev/0033.JPG" alt="" />
  132. </p>
  133. <p>
  134. Now wire up the BBB and the Pomona with your PSU.<br/>
  135. Refer to <a href="bbb_setup.html">bbb_setup.html</a> for how to setup
  136. the BBB for flashing.<br/>
  137. <b>Note, the guide mentions a 3.3v DC PSU but you don't need this on the T60:
  138. if you don't have or don't want to use an external PSU, then make
  139. sure not to connect the 3.3v leads mentioned in the guide;
  140. instead, connect the AC adapter (the one that normally charges your
  141. battery) so that the board has power (but don't boot it up)</b><br/>
  142. <img src="../images/t60_dev/0030.JPG" alt="" /><br/>
  143. Correlate the following with the BBB guide linked above:
  144. </p>
  145. <pre>
  146. POMONA 5250:
  147. === DVD drive ====
  148. 18 - - 1
  149. 22 - - NC ---- RAM is on this end
  150. NC - - 21
  151. 3.3V (PSU) - - 17 - this is pin 1 on the flash chip
  152. === audio jacks ===
  153. <i>This is how you will connect. Numbers refer to pin numbers on the BBB, on the plugs near the DC jack.</i>
  154. </pre>
  155. <p>
  156. Connect the pomona from the BBB to the flash chip. No pics unfortunately. (use the text diagram above).
  157. </p>
  158. <p>
  159. Flashrom binaries for ARM (tested on a BBB) are distributed in libreboot_util. Alternatively,
  160. libreboot also distributes flashrom source code which can be built.
  161. </p>
  162. <p>
  163. SSH'd into the BBB:<br/>
  164. # <b>./flashrom -p linux_spi:dev=/dev/spidev1.0,spispeed=512 -w yourrom.rom</b>
  165. </p>
  166. <p>
  167. It should be <b>Verifying flash... VERIFIED</b> at the end. If flashrom complains about multiple flash chip
  168. definitions detected, then choose one of them following the instructions in the output.
  169. </p>
  170. <p>
  171. Put those screws back:<br/>
  172. <img src="../images/t60_dev/0047.JPG" alt="" />
  173. </p>
  174. <p>
  175. Put it back into lower chassis:<br/>
  176. <img src="../images/t60_dev/0048.JPG" alt="" />
  177. </p>
  178. <p>
  179. Attach LCD and insert screws (also, attach the lcd cable to the board):<br/>
  180. <img src="../images/t60_dev/0049.JPG" alt="" />
  181. </p>
  182. <p>
  183. Insert those screws:<br/>
  184. <img src="../images/t60_dev/0050.JPG" alt="" />
  185. </p>
  186. <p>
  187. On the CPU (and there is another chip south-east to it, sorry forgot to take pic)
  188. clean off the old thermal paste (with the alcohol) and apply new (Artic Silver 5 is good, others are good too)
  189. you should also clean the heatsink the same way<br/>
  190. <img src="../images/t60_dev/0051.JPG" alt="" />
  191. </p>
  192. <p>
  193. Attach the heatsink and install the screws (also, make sure to install the AC jack as highlighted):<br/>
  194. <img src="../images/t60_dev/0052.JPG" alt="" />
  195. </p>
  196. <p>
  197. Reinstall that upper bezel:<br/>
  198. <img src="../images/t60_dev/0053.JPG" alt="" />
  199. </p>
  200. <p>
  201. Do that:<br/>
  202. <img src="../images/t60_dev/0054.JPG" alt="" /> <img src="../images/t60_dev/0055.JPG" alt="" />
  203. </p>
  204. <p>
  205. Re-attach modem, wifi, (wwan?), and all necessary cables. Sorry, forgot to take pics. Look at previous removal steps to see where they go back to.
  206. </p>
  207. <p>
  208. Attach keyboard and install nvram battery:<br/>
  209. <img src="../images/t60_dev/0056.JPG" alt="" /> <img src="../images/t60_dev/0057.JPG" alt="" />
  210. </p>
  211. <p>
  212. Place keyboard and (sorry, forgot to take pics) reinstall the palmrest and insert screws on the underside:<br/>
  213. <img src="../images/t60_dev/0058.JPG" alt="" />
  214. </p>
  215. <p>
  216. It lives!<br/>
  217. <img src="../images/t60_dev/0071.JPG" alt="" /> <img src="../images/t60_dev/0072.JPG" alt="" /> <img src="../images/t60_dev/0073.JPG" alt="" />
  218. </p>
  219. <p>
  220. Always stress test ('stress -c 2' and xsensors. below 90C is ok) when replacing cpu paste/heatsink:<br/>
  221. <img src="../images/t60_dev/0074.JPG" alt="" />
  222. </p>
  223. </div>
  224. <div class="section">
  225. <p>
  226. Copyright &copy; 2014, 2015 Francis Rowe &lt;info@gluglug.org.uk&gt;<br/>
  227. Permission is granted to copy, distribute and/or modify this document
  228. under the terms of the GNU Free Documentation License, Version 1.3
  229. or any later version published by the Free Software Foundation;
  230. with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
  231. A copy of the license can be found at <a href="../gfdl-1.3.txt">../gfdl-1.3.txt</a>
  232. </p>
  233. <p>
  234. Updated versions of the license (when available) can be found at
  235. <a href="https://www.gnu.org/licenses/licenses.html">https://www.gnu.org/licenses/licenses.html</a>
  236. </p>
  237. <p>
  238. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
  239. EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
  240. AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
  241. ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
  242. IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
  243. WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
  244. PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
  245. ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
  246. KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
  247. ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
  248. </p>
  249. <p>
  250. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
  251. TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
  252. NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
  253. INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
  254. COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
  255. USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
  256. ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
  257. DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
  258. IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
  259. </p>
  260. <p>
  261. The disclaimer of warranties and limitation of liability provided
  262. above shall be interpreted in a manner that, to the extent
  263. possible, most closely approximates an absolute disclaimer and
  264. waiver of all liability.
  265. </p>
  266. </div>
  267. </body>
  268. </html>