t60_unbrick.html 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291
  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), machine 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 machine 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), machine 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 machine 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 machine 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 machine, 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 machine:<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. This document is released under the Creative Commons Attribution-ShareAlike 4.0 International Public License and all future versions.
  228. A copy of the license can be found at <a href="../cc-by-sa-4.txt">../cc-by-sa-4.txt</a>.
  229. </p>
  230. <p>
  231. This document is distributed in the hope that it will be useful,
  232. but WITHOUT ANY WARRANTY; without even the implied warranty of
  233. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See <a href="../cc-by-sa-4.txt">../cc-by-sa-4.txt</a> for more information.
  234. </p>
  235. </div>
  236. </body>
  237. </html>