2021-05-18 14:21:48 +02:00
|
|
|
---
|
|
|
|
title: Flashing the ThinkPad R400
|
|
|
|
x-toc-enable: true
|
|
|
|
...
|
|
|
|
|
|
|
|
Initial flashing instructions for R400.
|
|
|
|
|
|
|
|
This guide is for those who want libreboot on their ThinkPad R400 while
|
|
|
|
they still have the original Lenovo BIOS present. This guide can also be
|
|
|
|
followed (adapted) if you brick your R400, to know how to recover.
|
|
|
|
|
|
|
|
Before following this section, please make sure to setup your libreboot
|
|
|
|
ROM properly first. Although ROM images are provided pre-built in
|
|
|
|
libreboot, there are some modifications that you need to make to the one
|
|
|
|
you chose before flashing. (instructions referenced later in this guide)
|
|
|
|
|
|
|
|
Libreboot T400 {#t400}
|
|
|
|
==============
|
|
|
|
|
|
|
|
You may also be interested in the smaller, more portable [Libreboot
|
|
|
|
T400](t400_external.md).
|
|
|
|
|
|
|
|
Serial port {#serial_port}
|
|
|
|
-----------
|
|
|
|
|
|
|
|
EHCI debug might not be needed. It has been reported that the docking
|
|
|
|
station for this laptop has a serial port, so it might be possible to
|
|
|
|
use that instead.
|
|
|
|
|
|
|
|
A note about CPUs
|
|
|
|
=================
|
|
|
|
|
|
|
|
[ThinkWiki](http://www.thinkwiki.org/wiki/Category:R400) has a list of
|
|
|
|
CPUs for this system. The Core 2 Duo P8400 and P8600 are believed to
|
|
|
|
work in libreboot. The Core 2 Duo T9600 was confirmed to work, so the
|
|
|
|
T9400 probably also works. *The Core 2 Duo T5870/5670 and Celeron M
|
|
|
|
575/585 are untested!*
|
|
|
|
|
|
|
|
Quad-core CPUs
|
|
|
|
--------------
|
|
|
|
|
|
|
|
Incompatible. Do not use.
|
|
|
|
|
|
|
|
A note about GPUs
|
|
|
|
=================
|
|
|
|
|
|
|
|
Some models have an Intel GPU, while others have both an ATI and an
|
|
|
|
Intel GPU; this is referred to as "Dual Graphics" (previously
|
|
|
|
"switchable graphics"). In the *BIOS setup* program for lenovobios,
|
|
|
|
you can specify that the system will use one or the other (but not
|
|
|
|
both).
|
|
|
|
|
|
|
|
Libreboot is known to work on systems with only the Intel GPU, using
|
|
|
|
native graphics initialization. On systems with switchable graphics, the
|
|
|
|
Intel GPU is used and the ATI GPU is disabled, so native graphics
|
|
|
|
initialization works all the same.
|
|
|
|
|
|
|
|
CPU paste required
|
|
|
|
==================
|
|
|
|
|
|
|
|
See [\#paste](#paste).
|
|
|
|
|
|
|
|
Flash chip size {#flashchips}
|
|
|
|
===============
|
|
|
|
|
|
|
|
Use this to find out:
|
|
|
|
|
|
|
|
flashrom -p internal
|
|
|
|
|
|
|
|
MAC address {#macaddress}
|
|
|
|
===========
|
|
|
|
|
|
|
|
Refer to [mac\_address.md](../hardware/mac_address.md).
|
|
|
|
|
|
|
|
External flashing
|
|
|
|
=================
|
|
|
|
|
|
|
|
Refer to [spi.md](spi.md) as a guide for external re-flashing.
|
|
|
|
|
|
|
|
Disassembly
|
|
|
|
-----------
|
|
|
|
|
|
|
|
Remove all screws:\
|
2023-10-26 19:06:21 +02:00
|
|
|
![](/test/web/img/r400/0000.jpg)\
|
2021-05-18 14:21:48 +02:00
|
|
|
Remove the HDD and optical drive:\
|
2023-10-26 19:06:21 +02:00
|
|
|
![](/test/web/img/r400/0001.jpg)\
|
2021-05-18 14:21:48 +02:00
|
|
|
Remove the hinge screws:\
|
2023-10-26 19:06:21 +02:00
|
|
|
![](/test/web/img/r400/0002.jpg) ![](/test/web/img/r400/0003.jpg)
|
2021-05-18 14:21:48 +02:00
|
|
|
|
|
|
|
Remove the palm rest and keyboard:\
|
2023-10-26 19:06:21 +02:00
|
|
|
![](/test/web/img/r400/0004.jpg) ![](/test/web/img/r400/0005.jpg)
|
2021-05-18 14:21:48 +02:00
|
|
|
|
|
|
|
Remove these screws, and then remove the bezel:\
|
2023-10-26 19:06:21 +02:00
|
|
|
![](/test/web/img/r400/0006.jpg) ![](/test/web/img/r400/0007.jpg)
|
2021-05-18 14:21:48 +02:00
|
|
|
|
|
|
|
Remove the speaker screws, but don't remove the speakers yet (just set
|
|
|
|
them loose):\
|
2023-10-26 19:06:21 +02:00
|
|
|
![](/test/web/img/r400/0008.jpg) ![](/test/web/img/r400/0009.jpg)
|
|
|
|
![](/test/web/img/r400/0010.jpg)
|
2021-05-18 14:21:48 +02:00
|
|
|
|
|
|
|
Remove these screws, and then remove the metal plate:\
|
2023-10-26 19:06:21 +02:00
|
|
|
![](/test/web/img/r400/0011.jpg) ![](/test/web/img/r400/0012.jpg)
|
|
|
|
![](/test/web/img/r400/0013.jpg)
|
2021-05-18 14:21:48 +02:00
|
|
|
|
|
|
|
Remove the antennas from the wifi card, and then start unrouting them:\
|
2023-10-26 19:06:21 +02:00
|
|
|
![](/test/web/img/r400/0014.jpg) ![](/test/web/img/r400/0015.jpg)
|
|
|
|
![](/test/web/img/r400/0016.jpg) ![](/test/web/img/r400/0017.jpg)
|
|
|
|
![](/test/web/img/r400/0018.jpg) ![](/test/web/img/r400/0019.jpg)
|
2021-05-18 14:21:48 +02:00
|
|
|
|
|
|
|
Disconnect the LCD cable from the motherboard:\
|
2023-10-26 19:06:21 +02:00
|
|
|
![](/test/web/img/r400/0020.jpg) ![](/test/web/img/r400/0021.jpg)
|
|
|
|
![](/test/web/img/r400/0022.jpg) ![](/test/web/img/r400/0023.jpg)
|
2021-05-18 14:21:48 +02:00
|
|
|
|
|
|
|
Remove the hinge screws, and then remove the LCD panel:\
|
2023-10-26 19:06:21 +02:00
|
|
|
![](/test/web/img/r400/0024.jpg) ![](/test/web/img/r400/0025.jpg)
|
|
|
|
![](/test/web/img/r400/0026.jpg) ![](/test/web/img/r400/0027.jpg)
|
2021-05-18 14:21:48 +02:00
|
|
|
|
|
|
|
Remove this:\
|
2023-10-26 19:06:21 +02:00
|
|
|
![](/test/web/img/r400/0028.jpg) ![](/test/web/img/r400/0029.jpg)
|
2021-05-18 14:21:48 +02:00
|
|
|
|
|
|
|
Remove this long cable (there are 3 connections):\
|
2023-10-26 19:06:21 +02:00
|
|
|
![](/test/web/img/r400/0030.jpg) ![](/test/web/img/r400/0031.jpg)
|
|
|
|
![](/test/web/img/r400/0032.jpg) ![](/test/web/img/r400/0033.jpg)
|
2021-05-18 14:21:48 +02:00
|
|
|
|
|
|
|
Disconnect the speaker cable, and remove the speakers:\
|
2023-10-26 19:06:21 +02:00
|
|
|
![](/test/web/img/r400/0034.jpg)
|
2021-05-18 14:21:48 +02:00
|
|
|
|
|
|
|
Remove the heatsink screws, remove the fan and then remove the
|
|
|
|
heatsink/fan:\
|
2023-10-26 19:06:21 +02:00
|
|
|
![](/test/web/img/r400/0035.jpg) ![](/test/web/img/r400/0036.jpg)
|
|
|
|
![](/test/web/img/r400/0037.jpg) ![](/test/web/img/r400/0038.jpg)
|
2021-05-18 14:21:48 +02:00
|
|
|
|
|
|
|
Remove the NVRAM battery:\
|
2023-10-26 19:06:21 +02:00
|
|
|
![](/test/web/img/r400/0039.jpg) ![](/test/web/img/r400/0040.jpg)
|
2021-05-18 14:21:48 +02:00
|
|
|
|
|
|
|
Remove this screw:\
|
2023-10-26 19:06:21 +02:00
|
|
|
![](/test/web/img/r400/0041.jpg) ![](/test/web/img/r400/0042.jpg)
|
2021-05-18 14:21:48 +02:00
|
|
|
|
|
|
|
Disconnect the AC jack:\
|
2023-10-26 19:06:21 +02:00
|
|
|
![](/test/web/img/r400/0043.jpg) ![](/test/web/img/r400/0044.jpg)
|
2021-05-18 14:21:48 +02:00
|
|
|
|
|
|
|
Remove this screw and then remove what is under it:\
|
2023-10-26 19:06:21 +02:00
|
|
|
![](/test/web/img/r400/0045.jpg)
|
2021-05-18 14:21:48 +02:00
|
|
|
|
|
|
|
Remove this:\
|
2023-10-26 19:06:21 +02:00
|
|
|
![](/test/web/img/r400/0046.jpg)
|
2021-05-18 14:21:48 +02:00
|
|
|
|
|
|
|
Lift the motherboard (which is still inside the cage) from the side on
|
|
|
|
the right, removing it completely:\
|
2023-10-26 19:06:21 +02:00
|
|
|
![](/test/web/img/r400/0047.jpg) ![](/test/web/img/r400/0048.jpg)
|
2021-05-18 14:21:48 +02:00
|
|
|
|
|
|
|
Remove all screws, marking each hole so that you know where to re-insert
|
|
|
|
them. You should place the screws in a layout corresponding to the order
|
2023-10-26 19:06:21 +02:00
|
|
|
that they were in before removal: ![](/test/web/img/r400/0049.jpg)
|
|
|
|
![](/test/web/img/r400/0050.jpg)
|
2021-05-18 14:21:48 +02:00
|
|
|
|
|
|
|
Remove the motherboard from the cage, and the SPI flash chip will be
|
|
|
|
next to the memory slots:\
|
2023-10-26 19:06:21 +02:00
|
|
|
![](/test/web/img/r400/0051.jpg) ![](/test/web/img/r400/0052.jpg)
|
2021-05-18 14:21:48 +02:00
|
|
|
|
|
|
|
Now, you should be ready to install libreboot.
|
|
|
|
|
|
|
|
Read [this article](spi.md) to learn how you may flash the chip, which is near
|
|
|
|
to the RAM.
|
|
|
|
|
|
|
|
Thermal paste (IMPORTANT)
|
|
|
|
=========================
|
|
|
|
|
|
|
|
Because part of this procedure involved removing the heatsink, you will
|
|
|
|
need to apply new paste. Arctic MX-4 is ok. You will also need isopropyl
|
|
|
|
alcohol and an anti-static cloth to clean with.
|
|
|
|
|
|
|
|
When re-installing the heatsink, you must first clean off all old paste
|
|
|
|
with the alcohol/cloth. Then apply new paste. Arctic MX-4 is also much
|
|
|
|
better than the default paste used on these systems.
|
|
|
|
|
2023-10-26 19:06:21 +02:00
|
|
|
![](/test/web/img/t400/paste.jpg)
|
2021-05-18 14:21:48 +02:00
|
|
|
|
|
|
|
NOTE: the photo above is for illustration purposes only, and does not
|
|
|
|
show how to properly apply the thermal paste. Other guides online detail
|
|
|
|
the proper application procedure.
|
|
|
|
|
|
|
|
Memory
|
|
|
|
======
|
|
|
|
|
|
|
|
In DDR3 machines with Cantiga (GM45/GS45/PM45), northbridge requires sticks
|
|
|
|
that will work as PC3-8500 (faster PC3/PC3L sticks can work as PC3-8500).
|
|
|
|
Non-matching pairs may not work. Single module (meaning, one of the slots
|
|
|
|
will be empty) will currently only work in slot 0.
|
|
|
|
|
|
|
|
NOTE: according to users reports, non matching pairs (e.g. 1+2 GiB) might
|
|
|
|
work in some cases.
|
|
|
|
|
|
|
|
Make sure that the RAM you buy is the 2Rx8 configuration when buying 4GiB sticks
|
|
|
|
(In other words: maximum of 2GiB per rank, 2 ranks per card).
|
|
|
|
|
|
|
|
[This page](http://www.forum.thinkpads.com/viewtopic.php?p=760721) might
|
|
|
|
be useful for RAM compatibility info (note: coreboot raminit is
|
|
|
|
different, so this page might be BS)
|
|
|
|
|
|
|
|
The following photo shows 8GiB (2x4GiB) of RAM installed:\
|
2023-10-26 19:06:21 +02:00
|
|
|
![](/test/web/img/t400/memory.jpg)
|
2021-05-18 14:21:48 +02:00
|
|
|
|
|
|
|
Boot it!
|
|
|
|
--------
|
|
|
|
|
|
|
|
You should see something like this:
|
|
|
|
|
2023-10-26 19:06:21 +02:00
|
|
|
![](/test/web/img/t400/boot0.jpg) ![](/test/web/img/t400/boot1.jpg)
|
2021-05-18 14:21:48 +02:00
|
|
|
|
|
|
|
Now [install GNU+Linux](../gnulinux/).
|