185 Commits (master)

Author SHA1 Message Date
Hamish Coleman 7e614e9da5 BUG: fix the deps on the creation of the batch files 7 years ago
Hamish Coleman f78f9c2419 Make unknown files cause an error immediately 7 years ago
Hamish Coleman 61cdddaa9a Remove the many little .sha1 files and add this information to the description file 7 years ago
Hamish Coleman c666443e40 Use a script to describe files 7 years ago
Hamish Coleman 3c42a4eea3 Move all scripts into their own dir 7 years ago
Hamish Coleman 453e9e67a5 Replace lots of little description files with one big one 7 years ago
Hamish Coleman e3aff27cc3 Remove the automated list_iso as it duplicates the more flexible list_laptops output 7 years ago
Hamish Coleman fd3ba888c7 Update t430 to use bios 2.72 (G1ETB2WW) ISO (no EC changes) - fixes issue #19 7 years ago
Hamish Coleman 1222b329b6 Quick doc bug fix - thanks Tasurinchi 7 years ago
Evey Quirk e4f056d8ea Update x230 to latest bios iso, no EC changes 7 years ago
Hamish Coleman 114299e6c7 Add makefile helper targets for enabling and disabling patchsets, then document all this 7 years ago
Hamish Coleman 56d8061814 New version of radare puts project files in a slightly different spot 8 years ago
Hamish Coleman 0eabb0b9f4 BUG: fix a command execution order issue - the make 'shell' command was expanded before the geteltorito command, which meant that there was no file for stat to use 8 years ago
Hamish Coleman 01ad8a01f6 BUG: fix incorrectly updated line (see #9)
This fixes an issue introduced with 48b019b660
8 years ago
Hamish Coleman 92d3542567 Make the 'clean' target useful for rebuilding with different patches applied 8 years ago
Hamish Coleman 53df7d5a8e The t430 ISO images are slightly larger than all the other ones, so the hdd image fix does not apply. Fix this by selecting the patch to use based on the size of the hdd image 8 years ago
Hamish Coleman 708a5c18bc Remove the UEFI updater to ensure it doesnt get accidentally used. Update instructions to state that you need to boot with legacy mode 8 years ago
Hamish Coleman 48b019b660 Update the base image of the t430 patch to use the latest lenovo release (no EC changes in this version) 8 years ago
Hamish Coleman 2a16826e37 Make sure the build info gets shown as the last messages - for img output as well as iso. 8 years ago
Hamish Coleman f44a0c212f Show the build strings at the end of the build 8 years ago
Hamish Coleman eaac31d226 Add the checksum of the built FL2 to the details shown 8 years ago
Hamish Coleman 894dfa4344 Add a build info line to the displayed batch file 8 years ago
Hamish Coleman e25ba35146 Make the builds fully reproducable 8 years ago
Hamish Coleman 0e4b155ce8 Try to improve presentation of multiple versions and patch types 8 years ago
Phil Ashby 63fd87d1c0 Added T430 BIOS 2.57, plus battery patch 8 years ago
Hamish Coleman c7ccad9614 Centralise the mtools config flag - which makes it impossible to forget to add 8 years ago
Hamish Coleman c382909865 Add one more file to the clean target 8 years ago
Hamish Coleman e7ac46c9ee BUG: add some forgotten mtools options 8 years ago
Hamish Coleman 678ec494fc Add a simple clean target 8 years ago
Hamish Coleman 10003c54a0 Remove one of the temp file hacks now mec-tools is upgraded 8 years ago
Hamish Coleman 2fdb758f6b BUG: repeated failing makes could generate bad output.
This is a quick fix to address two issues:

* Firstly, if the mec-tools mec_encrypt binary cannot be compiled,
gcc still produces an output file - it is a non executable "precompiled
header" file.  I assume there is a bug in the mec-tools makefile
logic, which I will look for later.

* Secondly, because I am using stdout for file generation, many commands
will still produce an output file even when they fail.  This output file
then looks "good" to the make command, which will carry on to do the
next step.

Since fixing the failed commands in my Makefile makes things more robust
in general, it also avoids the compile issue with the mec-tools.
8 years ago
Hamish Coleman eef19f110b BUG: Fix use of wrong path separator char in dosflash command 8 years ago
Hamish Coleman 35b8918138 Update code and instructions to default to using USB disk image files 8 years ago
Hamish Coleman 1b2eb85661 Hide the internal lenovo iso name in favor of friendly ISO names 8 years ago
Hamish Coleman 5d3665d67a Add a radare project for the x260 8 years ago
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...
8 years ago
Hamish Coleman f3508131a4 DRY: Factor out two psuedo rules into central places by using functions - however, this is a little hacky... 8 years ago
Hamish Coleman cf708bcc22 Add t530 support - this appears to share the EC firmware with the w530 8 years ago
Hamish Coleman ebd8eef3af Add x230t support 8 years ago
Hamish Coleman b6900ae694 Quick hack to help address the stale deps files 8 years ago
Hamish Coleman 09ba9623c9 Add t430s bootable ISO 8 years ago
Hamish Coleman 30b18aa01c Add t430 bootable ISO 8 years ago
Hamish Coleman 27fb4c48f7 Add w530 ISO output 8 years ago
Hamish Coleman f8627901fd Add a helper target to burn an ISO to a CDRW 8 years ago
Hamish Coleman 82b0d245c5 Add an empty line to make output look nice 8 years ago
Hamish Coleman 229f54a028 Autogenerate the list of available bootable ISO images 8 years ago
Hamish Coleman 2f51844966 Update readme and descriptive make targets - again, hopefully making them simpler 8 years ago
Hamish Coleman 6829138024 Add a warning and some details to the auto flash batch file 8 years ago
Hamish Coleman d8feed7eee Make the maintenance of the makefile simpler by moving a whole lot of static deps into a simple dependancy generator 8 years ago
Hamish Coleman 09be98fb8c Change dosflash extractor to use mtools and to be generic across multiple ISO images 8 years ago
Hamish Coleman bf0c946300 Add a bootable ISO image target for x230 8 years ago
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 8 years ago
Hamish Coleman 3fb83e02c2 Spelig fix 8 years ago
Hamish Coleman 7d24e43e9d The Pedant in me wants to line all the columns up 8 years ago
Hamish Coleman dd3c8a9b58 Because the t430s is largely the same as the x230, dont install the radare project at the moment 8 years ago
Hamish Coleman d468a56140 Add rules to generate new FL2 for w530 8 years ago
Hamish Coleman 4f077acc2c Sort ordering 8 years ago
Hamish Coleman decadfa3f3 Add image extractor for w530 8 years ago
Hamish Coleman 93bb87a4a4 Add image extractor for x230t 8 years ago
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) 8 years ago
Hamish Coleman aebedc8623 Add a self-documenting make target - hopefully simplify the readme file 8 years ago
Hamish Coleman 3dbdedbd3f Enable generation of FL2 files - unfortunately, needs a custom rule for each output - just x230 for now 8 years ago
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 8 years ago
Hamish Coleman 22526c28ba Make things a little simpler by shortening some filenames 8 years ago
Hamish Coleman cc70ac0e7c BUG: slicer rule only worked due to other dependancies, make it work for generic files 8 years ago
Hamish Coleman 1fafacbc59 Make the binary slice extraction completely generic 8 years ago
Hamish Coleman 55d759339b Factor out the decryption and thus make the dependancies simpler 8 years ago
Hamish Coleman 77a0d5d5b6 Add t430 downloader and extractor 8 years ago
Hamish Coleman 14972b950d Add License details 8 years ago
Hamish Coleman 5db47b776c Update t430s radare project with keyboard tables 8 years ago
Hamish Coleman c3d96cecc7 Use the generic extractor/encryptor for the x230 images as well 8 years ago
Hamish Coleman bee7ced73e Add details for downloading the t430s firmware 8 years ago
Hamish Coleman 6905163a65 Small improvements in hexpatcher 8 years ago
Hamish Coleman 2a65f1bc06 Add two more patches, and a way to get a pre-patched bin, ready to hack on 8 years ago
Hamish Coleman e4f59704da Add infrastructure for applying patches 8 years ago
Hamish Coleman 826f7bdc86 Add current x230 radare project 8 years ago
Hamish Coleman 98d9b5be9a Add an encryptor which fixups the image for re-flashing 8 years ago
Hamish Coleman cf9f96d094 Use the same orig tail filename everywhere 8 years ago
Hamish Coleman 1a785d4290 Keep our .orig files, also make one of the filenames a little less long 8 years ago
Hamish Coleman 8f48e1c9c8 Ensure we have an original file left around to diff against later 8 years ago
Hamish Coleman 5e88282a7b Add x230 image and infrastructure 8 years ago
Hamish Coleman 920c67f7cf Use consistant names for the checksum files 8 years ago
Hamish Coleman 92fe4b9ee0 Add a simple EC image extractor 8 years ago
Hamish Coleman a4f00201d1 Add ISO downloader 8 years ago
Hamish Coleman aa879a29af Add initial project file 8 years ago