mirror of
https://github.com/hamishcoleman/thinkpad-ec
synced 2024-11-09 19:11:05 +00:00
46 lines
1.4 KiB
Plaintext
46 lines
1.4 KiB
Plaintext
This repository consists of a number of tools and utilities for examining and
|
|
modifying Thinkpad Embedded Controller firmware.
|
|
|
|
Including:
|
|
* radare projects with partial disassembly of several thinkpads EC firmware
|
|
* scripts for downloading the ISO image and extracting the firmware
|
|
* script for patching the firmware
|
|
* documentation on the tables found in the firmware (TODO)
|
|
|
|
Quick Start:
|
|
|
|
There are similar make target commands for several different laptops,
|
|
this command will produce a list of them:
|
|
|
|
make list_images
|
|
|
|
To fetch the ISO image, patch it and create a new bootable ISO image:
|
|
|
|
make g2uj23us.iso
|
|
|
|
Slightly slower Start:
|
|
|
|
If you expect to do development work, the following two make targets
|
|
are probably useful:
|
|
|
|
To fetch the firmware from Lenovo, extract, decrypt and patch
|
|
it, ready for more patching:
|
|
|
|
make x230.G2HT35WW.img
|
|
|
|
To create a new FL2, ready for flashing:
|
|
|
|
make x230.G2HT35WW.s01D3000.FL2
|
|
|
|
To update your firmware, copy the FL2 file generated above and
|
|
the dosflash.exe utility to a DOS boot disk and then use a command
|
|
similar to:
|
|
|
|
dosflash /sd /ipf ec /file s01D3000.FL2
|
|
|
|
References:
|
|
http://forum.thinkpads.com/viewtopic.php?f=69&t=120776
|
|
http://www.thinkwiki.org/wiki/Install_Classic_Keyboard_on_xx30_Series_ThinkPads#Re-Flashing_the_Embedded_Controller_2
|
|
http://www.zmatt.net/unlocking-my-lenovo-laptop-part-3/
|
|
|