Commit Graph

389 Commits

Author SHA1 Message Date
Hamish Coleman
ea767e935d Add support to the FL2_copyIMG script to search for the NAPI header, thus allowing x61 FL2 images to be supported 2019-03-11 19:14:46 +08:00
Hamish Coleman
d417ce260a Attempt to fix bad bootsectors
Some (recent) ISO images have started having a zero byte as the first
byte of the MBR boot code embedded in the hard disk image.

When the original Lenovo ISO is booted, nobody has reported any issues,
however when a patched IMG file is created from that, it just hangs
- which does match with having bad bootcode data.

I was unable to reproduce the issue when running the images in qemu,
which is even more confusing.

Since every working image has the same first byte (a "CLI" instruction)
we attempt to repair things by simply changing it back to that byte.
2019-02-16 11:14:16 +08:00
Hamish Coleman
460ff2c249 Increase build repeatability by removing inconsequential changes in the output img file 2019-02-15 11:55:14 +08:00
Hamish Coleman
3bb7490858 Add new dependancy - required for the old x60 ISO file extraction 2019-02-15 10:56:28 +08:00
Hamish Coleman
b96bca2c41 Add descriptions and rules for extracting EC firmware from old x60 BIOS updates 2019-02-15 09:46:44 +08:00
Hamish Coleman
78e6203a7b Add a generic extractor for x60 era FL2 files 2019-02-15 09:35:48 +08:00
Hamish Coleman
1f354d4c8a Quieten down the downloading of ISO files 2019-02-15 09:34:51 +08:00
Hamish Coleman
c697deb721 Ensure that the various Descriptions sections are sorted 2019-02-15 09:33:56 +08:00
Hamish Coleman
ea4e9da2ac Rename the _EC header detector to be more specific 2019-02-15 09:03:02 +08:00
Hamish Coleman
046b26bdda Add a test for all possible extracted firmwares 2019-02-14 22:09:42 +08:00
Hamish Coleman
e1e0400d13 FIX incorrect dependancy name in one of the non xx30 targets 2019-02-14 22:09:23 +08:00
Hamish Coleman
875e43cfbc Add some details for X60 firmware - Just a Description entry and updates to the FL2_copyIMG script - this is a firmware update package that is not structured the way the rest of the process expects 2019-02-14 21:19:50 +08:00
Hamish Coleman
c7e7502201 Make the location of the known all 0xff block variable 2019-02-14 21:17:32 +08:00
Hamish Coleman
a6a46828d7 Throw the known data block around by reference, rather than looking it up on use 2019-02-14 21:14:07 +08:00
Hamish Coleman
ceb2aa01f0 Bail out immediately if we have no matching known signature 2019-02-14 21:08:01 +08:00
Hamish Coleman
9c6e3df503 Note where this signature came from 2019-02-14 21:06:22 +08:00
Hamish Coleman
ee69775ebc Update Copyright notices for a new year 2019-02-14 20:57:10 +08:00
Hamish Coleman
92fdd164f4 Separate the unsupported ISO descriptions more cleanly 2019-02-14 20:36:38 +08:00
Hamish Coleman
cf09aafd46 Revert "Update w530 to latest 2.73 bios release"
See #113 for some discussion that suggests that there is an issue with
using the latest 2.73 BIOS with an actual CDROM.  Since they report that
the 2.72 BIOS does work, revert to using that as the basis for the build
at the moment.

This reverts commit 228c6ee826.
2019-01-27 18:13:16 +11:00
Hamish Coleman
08ad697184 Update t530 bios download to latest available 2019-01-22 22:21:59 +13:00
Hamish Coleman
09e02708ef
Merge pull request #110 from jre/master
Adapt x230 capslock/control swap patch for t430
2019-01-16 13:20:17 +08:00
Joshua Elsasser
7d4eb7f9ef Adapt x230 capslock/control swap patch for t430 2019-01-15 21:23:27 +00:00
Hamish Coleman
c044660e8e
Merge pull request #108 from chakaponden/master
Update w530 to latest 2.73 bios release
2019-01-08 10:44:22 +08:00
Den
228c6ee826
Update w530 to latest 2.73 bios release
Simple update as no EC version change:
BIOS 2.73 (G5ETB2WW)
EC 1.13 (G4HT39WW)
2019-01-08 00:54:48 +03:00
Hamish Coleman
80a5dd882a Update x230 build to base on latest BIOS version (See #106) 2018-12-21 09:54:39 +00:00
Hamish Coleman
b6b320b0c6 Add some usage notes and a cautionary comment 2018-11-30 09:49:16 +08:00
Hamish Coleman
eb2ba3eb0b Notice that another year has gone past and update the copyright headers 2018-11-30 09:27:50 +08:00
Hamish Coleman
dfbd7e8127 Provide slightly more details when a patch fails 2018-11-30 09:22:38 +08:00
Hamish Coleman
d5e4cb161d Add some guesses to FL2_copyIMG for older X200 extraction.
The FL2_copyIMG tool uses some heuristics to work out how to extract the
EC firmware image from inside the FL2 container.  Many of these are simply
guesses, so there are checks to try to only match files that "look" right.

Add some matches for the 7XHT21WW and 7XHT22WW firmware (See #104)
2018-11-29 16:34:54 +08:00
Hamish Coleman
42b4383dc0
Merge pull request #102 from farazfazli/patch-2
Update and rename README to README.md
2018-11-27 14:53:39 +08:00
Faraz Fazli
19e9e46b57
Update and rename README to README.md
Make README clearer to understand
2018-11-23 23:10:42 -05:00
Hamish Coleman
ff8e5d3ea1 Update t430 to latest 2.78 bios release (simple update as no EC version change) 2018-11-11 10:47:15 +08:00
Hamish Coleman
46a6e06930 Correct x220 image documentation (See #96) 2018-11-05 09:46:25 +08:00
Hamish Coleman
b9ae23d169 Consistantly call perl the same way each time 2018-10-25 16:32:20 +01:00
Hamish Coleman
23232fb0d6 Address shellcheck issues with script - ensuring it is plain shell with no extensions 2018-10-25 16:31:36 +01:00
Hamish Coleman
617a8bcfb9 It seems that we cannot rely on knowing where any program is anymore, so avoid specifying where bash is 2018-10-25 16:31:04 +01:00
Hamish Coleman
4cae4d7745 Address shellcheck issues and convert to standard shell 2018-10-25 16:23:16 +01:00
Hamish Coleman
f9029928ad Script doesnt need bash extensions, simply convert it 2018-10-25 16:22:55 +01:00
Hamish Coleman
8ddbbe7559 Address shellcheck issue with describe script 2018-10-25 16:18:40 +01:00
Hamish Coleman
1c2afa7e12 Attempt to fix strange issue with travis repos - they switched their apt source and suddenly mtools would not install 2018-10-17 08:27:35 +02:00
Hamish Coleman
150fef43c4 Update t430s to latest BIOS release - no EC version changes 2018-08-07 22:55:43 +08:00
Hamish Coleman
0e4f08e6df Skip over deps lines with tagging errors - but warn about it 2018-08-07 22:48:38 +08:00
Hamish Coleman
df4202e5d0 Fix t430s download link to point to the ISO version, not the EXE 2018-08-07 22:47:38 +08:00
Hamish Coleman
598bf55cce Update to latest x230 BIOS (no EC firmware version update) 2018-07-22 21:36:55 +01:00
Hamish Coleman
7e2161c1e1
Merge pull request #84 from floriandejonckheere/master
Update w530 to latest BIOS version - no EC change
2018-07-20 10:49:24 +01:00
Florian Dejonckheere
b14a78cad0 Update w530 to latest BIOS version - no EC change 2018-07-20 11:24:47 +02:00
Hamish Coleman
5b4ef5331d Data for a quick investigation of the x131e bios update files 2018-07-12 08:30:04 +01:00
Hamish Coleman
b3a51d5b4e Actually return failure when scripts/FL2_copyIMG has failed 2018-07-12 08:24:18 +01:00
Hamish Coleman
5a3ec01b97 Use the correct checksum - not the README file one 2018-07-02 01:35:39 +08:00
Hamish Coleman
510659faa6 Update t430 to latest BIOS version - no EC change
(See also #81)
2018-07-02 01:07:39 +08:00