Commit Graph

306 Commits

Author SHA1 Message Date
Hamish Coleman
2a16826e37 Make sure the build info gets shown as the last messages - for img output as well as iso. 2016-06-06 11:59:57 +10:00
Hamish Coleman
f44a0c212f Show the build strings at the end of the build 2016-06-06 11:40:23 +10:00
Hamish Coleman
eaac31d226 Add the checksum of the built FL2 to the details shown 2016-06-06 11:32:27 +10:00
Hamish Coleman
894dfa4344 Add a build info line to the displayed batch file 2016-06-06 11:16:02 +10:00
Hamish Coleman
e25ba35146 Make the builds fully reproducable 2016-06-04 15:03:29 +10:00
Hamish Coleman
0e4b155ce8 Try to improve presentation of multiple versions and patch types 2016-06-03 13:01:04 +10:00
Hamish Coleman
2e29cd1e71 Merge pull request #4 from phlash/master
T430 BIOS 2.57 battery validation
2016-06-03 12:55:50 +10:00
Phil Ashby
ad621d3786 Fix the compulsory typo.. 2016-06-02 22:49:22 +01:00
Phil Ashby
63fd87d1c0 Added T430 BIOS 2.57, plus battery patch 2016-06-02 22:44:14 +01:00
Hamish Coleman
387525c7c9 Point to a discussion about how to use a JTAG programmer to read and write the embedded controller 2016-05-30 19:17:02 +10:00
Hamish Coleman
678b28d267 Add notes on how we think the EC flashing process works 2016-05-30 18:59:35 +10:00
Hamish Coleman
c7ccad9614 Centralise the mtools config flag - which makes it impossible to forget to add 2016-05-28 23:35:51 +10:00
Hamish Coleman
c382909865 Add one more file to the clean target 2016-05-28 22:28:35 +10:00
Hamish Coleman
e7ac46c9ee BUG: add some forgotten mtools options 2016-05-28 22:24:43 +10:00
Hamish Coleman
678ec494fc Add a simple clean target 2016-05-28 22:21:22 +10:00
Hamish Coleman
10003c54a0 Remove one of the temp file hacks now mec-tools is upgraded 2016-05-28 17:46:10 +10:00
Hamish Coleman
0026c7ce3b Update mec-tools to get a couple of fixes 2016-05-28 17:44:01 +10:00
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.
2016-05-26 17:10:52 +10:00
Hamish Coleman
be0e13896d Note down another package that potentially needs installing 2016-05-26 10:35:18 +10:00
Hamish Coleman
66ab75c50e Show the dosflash command - may help with diagnostics 2016-05-24 11:52:30 +10:00
Hamish Coleman
1cf24894a0 Fix the displayed autoexec message and slightly simplify the batch file 2016-05-24 11:34:17 +10:00
Hamish Coleman
eef19f110b BUG: Fix use of wrong path separator char in dosflash command 2016-05-24 11:30:08 +10:00
Hamish Coleman
d9e5b5610e Document the qemu test targets 2016-05-20 13:17:54 +10:00
Hamish Coleman
35b8918138 Update code and instructions to default to using USB disk image files 2016-05-20 13:15:18 +10:00
Hamish Coleman
8d1bca8940 Import geteltorito from the internet
Originally from http://userpages.uni-koblenz.de/~krienke/ftp/noarch/geteltorito/geteltorito

This version does not have the hdd size bug that some earlier versions have.
I found this bug on at least one test system, so I'm just going to include
the correct script here.
2016-05-20 13:12:26 +10:00
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
a15abe6d9c fix language nit 2016-05-20 11:09:27 +10:00
Hamish Coleman
3546491ca1 Update instructions to simply provide a step-by-step process 2016-05-20 11:05:22 +10:00
Hamish Coleman
631deed0ad After testing by harryK, mark the x230 battery patch as workng.
See http://forum.thinkpads.com/viewtopic.php?f=69&t=120776&p=780342#p780356
2016-05-09 20:27:17 +10:00
Hamish Coleman
b58d1eae7e Check my interpretation of zmatt's patch, port this patch to all other firmwares 2016-05-06 15:20:01 +10:00
Hamish Coleman
5fff7730a8 Update some function definitions using the better ARCompact analysis 2016-05-06 13:37:24 +10:00
Hamish Coleman
81d5152a37 Merge branch 'master' of peril.zot.org:r/thinkpad-ec 2016-05-05 20:51:26 +10:00
Hamish Coleman
7607158534 Upgrade radare2 and fixup the main project file with that 2016-05-05 20:51:23 +10:00
Hamish Coleman
6e729bd835 Realise I had been blind and that zmatt had published his full patch - quickly add this to the repo for future examination 2016-04-30 10:34:46 +10:00
Hamish Coleman
ddb3ed114f Add minor comment to x230 project 2016-04-29 20:36:56 +10:00
Hamish Coleman
5d3665d67a Add a radare project for the x260 2016-04-29 20:36:28 +10:00
Hamish Coleman
97d10d6803 Start adding some documentation 2016-04-29 20:32:31 +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
759d556c71 FIX: forgot to add description file 2016-04-27 11:43:01 +10:00