Commit Graph

52 Commits

Author SHA1 Message Date
Hamish Coleman
1b2eb85661 Hide the internal lenovo iso name in favor of friendly ISO names 2016-05-20 11:24:23 +10:00
Hamish Coleman
5d3665d67a Add a radare project for the x260 2016-04-29 20:36:28 +10:00
Hamish Coleman
66a696aa3b BUG: Fix mtools check errors reported by brchan on thinkpads forum
It seems that mtools behaves differently with different versions and
that some versions react badly to the FAT16 image used in the Lenovo
ISO updates.

    mcopy -o -i g5uj28us.iso@@71680 g5uj28us.iso.bat ::AUTOEXEC.BAT
    Total number of sectors (64195) not a multiple of sectors per track (32)!
    Add mtools_skip_check=1 to your .mtoolsrc file to skip this test

adding the skip_check environment variable simply ignores this error...
2016-04-28 13:09:15 +10:00
Hamish Coleman
f3508131a4 DRY: Factor out two psuedo rules into central places by using functions - however, this is a little hacky... 2016-04-28 13:08:24 +10:00
Hamish Coleman
cf708bcc22 Add t530 support - this appears to share the EC firmware with the w530 2016-04-27 18:44:21 +10:00
Hamish Coleman
ebd8eef3af Add x230t support 2016-04-27 18:10:49 +10:00
Hamish Coleman
b6900ae694 Quick hack to help address the stale deps files 2016-04-27 17:22:04 +10:00
Hamish Coleman
09ba9623c9 Add t430s bootable ISO 2016-04-27 13:06:19 +10:00
Hamish Coleman
30b18aa01c Add t430 bootable ISO 2016-04-27 12:57:53 +10:00
Hamish Coleman
27fb4c48f7 Add w530 ISO output 2016-04-27 12:47:42 +10:00
Hamish Coleman
f8627901fd Add a helper target to burn an ISO to a CDRW 2016-04-27 12:47:10 +10:00
Hamish Coleman
82b0d245c5 Add an empty line to make output look nice 2016-04-27 12:46:47 +10:00
Hamish Coleman
229f54a028 Autogenerate the list of available bootable ISO images 2016-04-27 11:54:10 +10:00
Hamish Coleman
2f51844966 Update readme and descriptive make targets - again, hopefully making them simpler 2016-04-27 11:43:31 +10:00
Hamish Coleman
6829138024 Add a warning and some details to the auto flash batch file 2016-04-27 11:28:21 +10:00
Hamish Coleman
d8feed7eee Make the maintenance of the makefile simpler by moving a whole lot of static deps into a simple dependancy generator 2016-04-27 11:16:19 +10:00
Hamish Coleman
09be98fb8c Change dosflash extractor to use mtools and to be generic across multiple ISO images 2016-04-27 11:05:14 +10:00
Hamish Coleman
bf0c946300 Add a bootable ISO image target for x230 2016-04-27 00:43:48 +10:00
Hamish Coleman
0e4c3dd0ae Add a simple slicer for getting a copy of dosflash.exe - note, this probably should just use mtools on the iso image 2016-04-27 00:36:36 +10:00
Hamish Coleman
3fb83e02c2 Spelig fix 2016-04-27 00:35:57 +10:00
Hamish Coleman
7d24e43e9d The Pedant in me wants to line all the columns up 2016-04-25 01:20:01 +10:00
Hamish Coleman
dd3c8a9b58 Because the t430s is largely the same as the x230, dont install the radare project at the moment 2016-04-25 01:17:17 +10:00
Hamish Coleman
d468a56140 Add rules to generate new FL2 for w530 2016-04-25 00:50:24 +10:00
Hamish Coleman
4f077acc2c Sort ordering 2016-04-25 00:28:37 +10:00
Hamish Coleman
decadfa3f3 Add image extractor for w530 2016-04-25 00:27:13 +10:00
Hamish Coleman
93bb87a4a4 Add image extractor for x230t 2016-04-24 23:57:04 +10:00
Hamish Coleman
9a9dc36289 Have a quick look at the x250 and x260 firmware, it looks like they are both ARC cpus with a similar layout. They both have different checksumming than the xx30 range and the x260 looks like it is not even encrypted (however there is a strange 256byte block at the top of the file - perhaps a signature) 2016-04-24 19:08:34 +10:00
Hamish Coleman
aebedc8623 Add a self-documenting make target - hopefully simplify the readme file 2016-04-24 18:18:06 +10:00
Hamish Coleman
3dbdedbd3f Enable generation of FL2 files - unfortunately, needs a custom rule for each output - just x230 for now 2016-04-24 17:42:31 +10:00
Hamish Coleman
7199f87771 Start extracting the FL2 files, and use that as the basis for extracting the firmware. This will allow us to update or diff against the FL2 file 2016-04-24 17:26:31 +10:00
Hamish Coleman
22526c28ba Make things a little simpler by shortening some filenames 2016-04-24 16:25:56 +10:00
Hamish Coleman
cc70ac0e7c BUG: slicer rule only worked due to other dependancies, make it work for generic files 2016-04-24 16:12:47 +10:00
Hamish Coleman
1fafacbc59 Make the binary slice extraction completely generic 2016-04-24 15:47:23 +10:00
Hamish Coleman
55d759339b Factor out the decryption and thus make the dependancies simpler 2016-04-24 15:29:44 +10:00
Hamish Coleman
77a0d5d5b6 Add t430 downloader and extractor 2016-04-24 13:19:17 +10:00
Hamish Coleman
14972b950d Add License details 2016-04-23 14:02:28 +10:00
Hamish Coleman
5db47b776c Update t430s radare project with keyboard tables 2016-04-23 13:15:32 +10:00
Hamish Coleman
c3d96cecc7 Use the generic extractor/encryptor for the x230 images as well 2016-04-23 12:02:04 +10:00
Hamish Coleman
bee7ced73e Add details for downloading the t430s firmware 2016-04-23 11:52:10 +10:00
Hamish Coleman
6905163a65 Small improvements in hexpatcher 2016-04-22 17:23:34 +10:00
Hamish Coleman
2a65f1bc06 Add two more patches, and a way to get a pre-patched bin, ready to hack on 2016-04-22 17:13:50 +10:00
Hamish Coleman
e4f59704da Add infrastructure for applying patches 2016-04-22 16:50:48 +10:00
Hamish Coleman
826f7bdc86 Add current x230 radare project 2016-04-21 12:15:37 +10:00
Hamish Coleman
98d9b5be9a Add an encryptor which fixups the image for re-flashing 2016-04-20 10:53:07 +10:00
Hamish Coleman
cf9f96d094 Use the same orig tail filename everywhere 2016-04-19 20:52:09 +10:00
Hamish Coleman
1a785d4290 Keep our .orig files, also make one of the filenames a little less long 2016-04-19 20:07:09 +10:00
Hamish Coleman
8f48e1c9c8 Ensure we have an original file left around to diff against later 2016-04-19 19:54:56 +10:00
Hamish Coleman
5e88282a7b Add x230 image and infrastructure 2016-04-19 19:39:23 +10:00
Hamish Coleman
920c67f7cf Use consistant names for the checksum files 2016-04-19 19:25:18 +10:00
Hamish Coleman
92fe4b9ee0 Add a simple EC image extractor 2016-04-19 19:20:27 +10:00