From coreboot
Revision as of 17:42, 3 May 2013 by GNUtoo (talk | contribs) (cbmem console)
Jump to: navigation, search

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 Contributions welcome!

Lenovo ThinkPad X60s


Device/functionality Status Comments
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
Multi-core support OK
Hardware virtualization OK
Dual channel support OK
ECC support N/A
On-board Hardware
On-board IDE 3.5" N/A
On-board IDE 2.5" N/A
On-board SATA OK
On-board SCSI N/A
On-board USB OK
On-board VGA OK
On-board Ethernet OK Intel 82573L
On-board Audio OK
On-board Modem N/A
On-board FireWire N/A
On-board Smartcard reader N/A
On-board CompactFlash N/A
On-board PCMCIA OK Ricoh rl5c476
On-board Wifi N/A
On-board Bluetooth N/A
On-board SD card reader N/A
Add-on slots/cards
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
Floppy N/A
Serial port 1 (COM1) OK located in Ultrabase X6
Serial port 2 (COM2) N/A
Parallel port N/A
PS/2 keyboard N/A
PS/2 mouse N/A
Game port N/A
Infrared N/A
PC speaker N/A
DiskOnChip N/A
Trackpoint N/A
Touchpad N/A
Fn Hotkeys N/A
Fingerprint Reader N/A
Docking VGA N/A
Docking LAN N/A
Docking USB N/A
Docking Audio N/A
Docking Displayport N/A
Thinklight N/A
Webcam N/A
Sensors / fan control OK
Hardware watchdog N/A
CAN bus N/A
CPU frequency scaling OK
Other powersaving features OK
Reboot OK
Poweroff OK
Suspend 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
TPM Unknown
Flashrom OK See Lenovo_x60x

proprietary components status

  • CPU Microcode (optional?)
  • VGA option rom (optional): without it you will get no graphics during early boot, until the kernel initializes the intel graphic card
  • 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.
  • Create a Native graphics<->VGA option rom.
  • Make backlight work without the non-free option rom.

Other things

  • 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


cbmem console

To get cbmem console working you need the non-free i915 option rom or native graphics(doesn't work yet, don't use). Even with a dummy VGA option rom it fails:

[root@X60 cbmem]# ./cbmem -c -VVV
Looking for coreboot table at 0
Mapping 1MB of physical memory at 0x0.
Unmapping 1MB of virtual memory at 0xb7463000.
Looking for coreboot table at f0000
Mapping 1MB of physical memory at 0xf0000.
Failed to mmap /dev/mem: Operation not permitted
[root@X60 cbmem]# dmesg -c
[26300.943482] Program cbmem tried to access /dev/mem between f0000->1f0000.

thinkpad_acpi compatibility

First cherry-pick the commits that permit thinkpad_acpi to work:

git fetch refs/changes/56/1556/1 && git cherry-pick FETCH_HEAD
git fetch refs/changes/57/1557/1 && git cherry-pick FETCH_HEAD

Dmidecode from the BIOS says:

BIOS Information
	Vendor: LENOVO
	Version: 7BETC7WW (2.08 )

So in make menuconfig go in

General setup  --->

And modify Local version string accordinly

(7BETC7WW (2.08 )) Local version string

Then locate the following in dmidecode:

System Information
	Manufacturer: LENOVO
	Product Name: 1707Y8W
	Version: ThinkPad X60
	Serial Number: L3BY949

Then in

Mainboard  --->

do that:

(L3BY949) Serial number
(ThinkPad X60) Version number
(LENOVO) BIOS table vendor string

Then configure and build coreboot as usual

To modprobe the module use that:

modprobe thinkpad_acpi force_load=1 debug=0xffff fan_control=1 experimental=1