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!
Coreboot supports all ThinkPad T60/T60p Series laptops.
- 1 Installation and Flashing
- 2 Wifi chipsets
- 3 Status
- 4 proprietary components status
- 5 Building the ROM without proprietary blobs
- 6 TODO
Installation and Flashing
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.
This table needs review. I copied the x60 table and ran through it from memory, expresscard comes to mind...
|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 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 docking station|
|Serial port 2 (COM2)||N/A|
|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|
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 with this patch that is under review. (libreboot merges this patch, along with patches enabling text-mode and backlight controls)
- EC(Embedded Controller) => you do not have to touch it(just leave it where it is)
Building the ROM without proprietary blobs
TODO: these instructions should still work, but they are outdated. Bring them up to date, using the latest coreboot revision.
This basically means:
- No microcode updates
- Native graphics (replacement for the proprietary Video BIOS / VGA Option ROM)
- GRUB2 payload
In this configuration, only GNU/Linux is known to work. If you plan to use other operating systems, you might be out of luck.
- Note, not all T60 lcd panels work with this configuration. (the code to enable native graphics on T60 is still under review), check compatibility list
- Note, if your LCD panel is unsupported, you can still use this configuration; you won't see any graphics on the screen, but an external monitor will work (using VGA output, or DVI if you have the docking station). For GRUB console, you can use serial output or EHCI debug. Recommended docking station: Advanced Mini Dock.
- Note, replacing the LCD panel is relatively easy. The libreboot project has some guides in it's documentation, along with info about what LCD panels are known to work.
- Note, this configuration only works for T60's with the Intel GMA950 video chipset. ATI GPU won't work, because they lack native graphics support.
Download coreboot like usual:
git clone http://review.coreboot.org/coreboot cd coreboot
At the time of writing for (for these instructions), the following git revision was used:
git reset --hard 8ffc085e1affaabbe3dca8ac6a89346b71dfc02e
Install all of the coreboot build dependencies listed at Build_HOWTO and then build the crossgcc toolchain:
Apply the following patches in this order:
# Enable T60 native graphics git fetch http://review.coreboot.org/coreboot refs/changes/45/5345/9 && git cherry-pick FETCH_HEAD # Enable text-mode graphics for T60 git fetch http://review.coreboot.org/coreboot refs/changes/50/7050/2 && git cherry-pick FETCH_HEAD # Permanently enable wlan/wwan/bluetooth/trackpoint/touchpad git fetch http://review.coreboot.org/coreboot refs/changes/58/7058/3 && git cherry-pick FETCH_HEAD # If you want legacy brightness controls (if using this, make sure not to include the ACPI brightness patch below) git fetch http://review.coreboot.org/coreboot refs/changes/51/7051/1 && git cherry-pick FETCH_HEAD # OR if you want ACPI brightness controls (if using this, make sure not to include the legacy brightness patch above): git fetch http://review.coreboot.org/coreboot refs/changes/31/6731/7 && git cherry-pick FETCH_HEAD # Fix uneven backlight levels (for ACPI brightness controls): git fetch http://review.coreboot.org/coreboot refs/changes/49/7049/1 && git cherry-pick FETCH_HEAD # Apply this patch to fix compilation: wget http://paste.debian.net/plain/125769 git apply 125769 rm -rf 125769 # ACPI brightness patches above were abandoned due to Windows incompatibility. If you only want to use GNU/Linux, then it should work fine.
Now you will want this basic configuration for X60/X60s (in make menuconfig):
General setup / Expert mode = enable General setup / Local version string = 79ETE7WW (2.27 ) Mainboard / Mainboard vendor = Lenovo Mainboard / Mainboard model = ThinkPad T60 / T60p Mainboard / ROM chip size = 2048 KB (2 MB) Mainboard / SMBIOS Serial Number = L3DKE06 Mainboard / SMBIOS Version Number = ThinkPad T60 Mainboard / SMBIOS Manufacturer = LENOVO Mainboard / SMBIOS Product name = 1951FEG Chipset / Include CPU microcode in CBFS = Do not include microcode updates Devices / Use native graphics initialization = enable Display / Keep VESA framebuffer = disable (disable for text-mode graphics, enable for coreboot vesa framebuffer) Console / Send console output to a CBMEM buffer = enable Payload / Add a payload = An ELF executable payload Payload / Payload path and filename = grub.elf Go back into Devices: Devices / Run VGA Option ROMs = disable Devices / Run Option ROMs on PCI devices = disable
SMBIOS values were taken by running dmidecode with the factory BIOS.
Note, the above assumes that you already built your grub.elf from source along with everything that you need. Building GRUB is not covered here.
Put your grub.elf in the coreboot directory and then run make. Alternatively, you could go back into menuconfig and select coreboot's own GRUB payload config, which will automatically download and build the GRUB payload. Building it yourself can be more flexible, though, since you get to choose what modules you want and you can use your own configs.
Non-free components replacements
Replace the non-free VGA option rom by making native graphics init work.See  (under review on 5345 changeset, review.coreboot.org]
- 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 6731 on review.coreboot.org
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).
- Add support for more batteries in ACPI.
- Make the wifi card and/or the laptop produce less heat.
- Finish and merge support for thinkpad_acpi linux kernel module
- Sometimes some dock USB port aren't initialized => fix that