The wiki is being retired!
Documentation is now handled by the same processes we use for code: Add something to the Documentation/ directory in the coreboot repo, and it will be rendered to https://doc.coreboot.org/. Contributions welcome!
This guide is designed for the ThinkPad X60 series, and Coreboot supports all variants (X60, X60s, X60 Tablet).
Aside from pre-sales configuration (display, processor speed, optional components) all three variants are identical. It is believed all X60 variants share a single motherboard schematic.
- 1 Status
- 2 Installation and Flashing
- 3 Wifi chipsets
- 4 Status
- 5 proprietary components status
- 6 TODO
- 7 Text Mode
- 8 Enable backlight controls on X60 (with native gpu init instead of VGA ROM)
- 9 Documentation
- Some ACPI issues with Windows needs to be fixed.
- Works well with GNU/Linux.
- The Wacom Digitizer now works on the X60 Tablet.
Installation and Flashing
Follow the tutorial below to install Coreboot on the ThinkPad X60 Series.
Lenovo BIOS has a whitelist of approved PCI ID's for wifi cards. Coreboot does not, so you are free to use any wifi chipset of your choosing once coreboot is installed.
The Libreboot distribution lists Wifi chipsets not needing proprietary software to work.
|CPU works||OK||Core Duo Mobile (L2300), PBGA479|
|L1 cache enabled||OK|
|L2 cache enabled||OK|
|L3 cache enabled||N/A|
|Multiple CPU support||N/A|
|Dual channel support||OK|
|On-board IDE 3.5"||N/A|
|On-board IDE 2.5"||N/A|
|On-board Ethernet||OK||Intel 82573L|
|On-board Smartcard reader||N/A|
|On-board PCMCIA||OK||Ricoh rl5c476|
|On-board SD card reader||N/A|
|ISA add-on cards||N/A|
|Audio/Modem-Riser (AMR/CNR) cards||N/A|
|PCI add-on cards||N/A|
|Mini-PCI add-on cards||OK|
|Mini-PCI-Express add-on cards||Unknown|
|PCI-X add-on cards||N/A|
|AGP graphics cards||N/A|
|PCI Express x1 add-on cards||N/A|
|PCI Express x2 add-on cards||N/A|
|PCI Express x4 add-on cards||N/A|
|PCI Express x8 add-on cards||N/A|
|PCI Express x16 add-on cards||N/A|
|PCI Express x32 add-on cards||N/A|
|HTX add-on cards||N/A|
|Legacy / Super I/O|
|Serial port 1 (COM1)||OK||located in Ultrabase X6|
|Serial port 2 (COM2)||N/A|
|Infrared||WIP||Submited for review|
|Sensors / fan control||OK|
|CPU frequency scaling||OK|
|Other powersaving features||OK|
|Nonstandard LEDs||OK||LEDs are controlled by Embedded Controller (EC). Working without special support.|
|High precision event timers (HPET)||OK|
|Random number generator (RNG)||N/A|
|Wake on modem ring||Unknown|
|Wake on LAN||Unknown|
|Wake on keyboard||Unknown|
|Wake on mouse||Unknown|
|Tablet Touchscreen||OK||x60 tablet wacom "penabled"|
|thinkpad_acpi module compatibility||OK||modprobe thinkpad_acpi works|
proprietary components status
- CPU Microcode (optional?) - works fine without. See http://download.intel.com/design/mobile/SPECUPDT/30922214.pdf
- VGA option rom (optional): Native graphics initialization (free replacement) is also available and merged in the master repo. Note that the replacement doesn't work yet with seabios but works with grub(as a payload) or libpayload based payloads. SeaBIOS can be used with SeaVGABIOS (coreboot linear framebuffer option in seabios menuconfig) but the native graphics implementation currently lacks INT 10H and VBT.
- EC(Embedded Controller) => you do not have to touch it(just leave it where it is)
Non-free components replacements
Replace the non-free VGA option rom by making native graphics init work.(native graphics available in master)
- Create a Native graphics<->VGA option rom. SeaVGABIOS (part of SeaBIOS) might be the answer. INT 10H and VBT are missing in native graphics.
Make backlight work without the non-free option rom.See 
Windows currently doesn't boot (STOP A5 error)
Windows 7 was tested and fails to boot at the moment.
The native graphics implementation lacks INT 10H and VBT, and GRUB cannot boot it. Booting with SeaBIOS+SeaVGABIOS results in graphical corruption (and no boot).
Booting with SeaBIOS and the VGA ROM (vbios) can be used to boot it, but booting ends with the message outlined here: STOP A5
More information can be found here
high pitched noise from the board during low power states
During low power state (cstate 3), a high-pitched "humming" noise eminates from the board. Some discussion has been made about this; suggestions include "using an oscilliscope in clever ways" (to detect where the noise is coming from to debug the issue). There are some workarounds:
Use "idle=halt" (higher power consumption) or "processor.max_cstate=2" (higher power consumption, but not as bad) kernel parameter in GRUB. These increase heat and power consumption.
Another option (for increased battery life and lower temperatures) is to use powertop --auto-tune, or set 'Tunables' in powertop (without any parameters).
Use this patch.
When using native graphics instead of the VBIOS, you can enable Text Mode in menuconfig, under Display.
Disable 'Keep VESA Framebuffer'. This is for booting payloads like MemTest86+ which expect text-mode graphics.
Enable backlight controls on X60 (with native gpu init instead of VGA ROM)
Before building the ROM with native graphics, in src/mainboard/lenovo/x60/devicetree.cb, change gpu_backlight to 0x879F879E
This value was obtained by reading BLC_PWM_CTL when running the VBIOS (option ROM), like so:
sudo devmem2 0xe4361254 w
Another method is shown in changeset 6731 on review.coreboot.org. If you use this method, also apply this patch to fix uneven backlight levels: patch
- Add support for more batteries in ACPI.
- Make the wifi card and/or the laptop produce less heat.
- Sometimes some dock USB port aren't initialized => fix that
- Fix that warning:
[ 14.566817] ACPI Warning: 0x00000400-0x0000041f SystemIO conflicts with Region \_SB_.PCI0.SBUS.SMBI 1 (20130117/utaddress-251)
By using that advise:
<phcoder> GNUtoo-x60: in this case it looks like same range is declared twice in DSDT/SSDT
- The touchscreen serial port is on irq 5 at port 0x0200. Some additional info from a x61t wacom