Commit Graph

291 Commits

Author SHA1 Message Date
Hamish Coleman
9450b50a99 Ensure mtools has a known output format (fixes #43) 2017-09-19 15:51:32 +08:00
Hamish Coleman
dcc9ef9a87 Build x230 patches against the previous tested BIOS version.
Applying caution after reports of issues (See #47) this change can be
reverted if investigation sheds more light on the problem there.
This should have no impact on the built image as there is no EC
version between these two lenovo releases
2017-09-12 13:45:21 +08:00
Hamish Coleman
9ba6261711 Add missing intermediate x230 BIOS version - for reference if nothing else 2017-09-12 13:44:42 +08:00
Hamish Coleman
da2da763e9 Remember to cite skochinsky as the original contributor of the PFH header details 2017-09-05 12:56:31 +08:00
Hamish Coleman
64e0c38d22 Ignore the FL1 files that we now sometimes generate 2017-09-05 12:11:06 +08:00
Hamish Coleman
0691bca3c5 Update descriptions file documentation 2017-09-05 12:10:52 +08:00
Hamish Coleman
0fa73ec043 The E330 firmware update had a different FAT_OFFSET to everything else, note that we need to deal with that 2017-09-05 11:37:57 +08:00
Hamish Coleman
3e8289d926 Add extraction of the l430 EC firmware, update documentation with findings 2017-09-05 11:37:23 +08:00
Hamish Coleman
c1f42903d9 Add support for extracting firmware images from FL1 files with PFH headers embedded in the file 2017-09-05 11:36:01 +08:00
Hamish Coleman
844a6d1ad6 Remvoe trailing spaces from scripts 2017-09-05 11:19:38 +08:00
Hamish Coleman
25fee57eda Update some heading comments in Descriptions.txt to be more concise 2017-09-05 11:17:21 +08:00
Hamish Coleman
7c13243ec7 Add the CPU name to the description of extracted firmware 2017-09-05 11:13:24 +08:00
Hamish Coleman
361e37003d Support sha256 checksums 2017-09-05 10:57:18 +08:00
Hamish Coleman
89483c49d6 Merge pull request #39 from spq/master
add link to MEC1618 datasheet
2017-08-21 08:42:36 +08:00
spq
e75ae2bc0f add link to MEC1618 datasheet
Since the MEC1618 is very similar to the MEC1619, it's datasheet might be usefull for others.
2017-08-14 01:30:51 +02:00
Hamish Coleman
9d5135ede8 Merge pull request #36 from bsvh/x230t-caps-swapescape
Add x230t patch to swap caps and escape.
2017-08-02 11:24:00 +10:00
Brendan Van Hook
632cf0ddd8 Add x230t patch to swap caps and escape. 2017-08-01 17:58:26 -04:00
Hamish Coleman
099ce0885b Update t430s to use latest BIOS image - no EC version change
(Updates #38)
2017-07-29 01:41:28 +10:00
Hamish Coleman
a36764876d Make the generation number clear for the x1c gen1 iso image 2017-07-18 13:18:58 +10:00
Hamish Coleman
37ce373b6e After examination, the X1 Carbon Generation 1 hardware uses the same layout and encryption as the known xx30 - add details for it 2017-07-17 22:54:19 +10:00
Hamish Coleman
e57d26dc05 Check for at least one type of syntax error in the Descriptions file 2017-07-17 22:52:02 +10:00
Hamish Coleman
d8427b5ff7 Add some details of images that were checked and could not be used.
By adding the image details to the Description list, it will make it
easier to avoid duplication of effort.
2017-07-17 10:41:07 +10:00
Hamish Coleman
615f87dd2b Remove the last manually maintained list from the Makefile - all lists of rules are now generated from the Descriptions.txt 2017-07-03 19:02:49 +08:00
Hamish Coleman
c0b2178942 Remove most of the variables from the autoexec.bat template
Instead use a *.report file for each component and add data as we
go, culminating in the built image simply catting the report to the
screen to show the user what is about to occur.

This is on the path towards removing all variables from the autoexec
template - which would make it simpler to reuse the same template for
other commands (e.g the x200 series does not use dosflash.exe)
2017-07-03 18:17:54 +08:00
Hamish Coleman
409f88c75c Rename the FL2 copy script to make it clear that it deals with ISO files - and use the same naming as the IMG copy script 2017-07-03 17:43:53 +08:00
Hamish Coleman
bafb93e668 Add example macros to special case the x200 ISO image - which has two FL2 files 2017-07-03 17:23:15 +08:00
Hamish Coleman
f2401e68e9 the mtools mdel command has no option to ignore failure, which makes an ugly error show when non UEFI images are processed (like the x200 ones) 2017-07-03 17:20:44 +08:00
Hamish Coleman
73d58f4211 Allow the .bat file to be generated only on the insert phase, and remove the dep where it is not known how to make a full build 2017-07-03 14:52:40 +08:00
Hamish Coleman
2d87c9daff Wrap the rule_IMG_extract macro with failsafe tmp files 2017-07-03 14:43:28 +08:00
Hamish Coleman
72558c31a3 Quick hack to fix bug with ISO images that have multiple FL2 files 2017-07-03 14:43:05 +08:00
Hamish Coleman
ffe384c17d Cleanup old make rules - no longer used 2017-07-03 14:42:30 +08:00
Hamish Coleman
b9b1e2977f use the Descriptions file to generate most of the static rules 2017-07-03 14:12:42 +08:00
Hamish Coleman
96485bb94d Enhance the format of the descriptions file - allowing more data to be added.
Changing the "generator" field to be tagged with its contents will allow the
use of alternate checksum types and also will allow for the additional
information needed to generate some of the make rules automatically.
2017-07-02 17:20:58 +08:00
Hamish Coleman
ae52989189 Remove the last set of the *.slice files and replace them with a script that can generically extract all currently known firmware images from their FL2 files 2017-07-01 09:22:52 +08:00
Hamish Coleman
5f34b3220b Ensure that copyFL2 does not interactively prompt 2017-06-30 11:36:58 +08:00
Hamish Coleman
d0c011aecf Remove the .orig from all the Descriptions.txt entries - this will make it easier to create automatic rules in the future 2017-06-30 11:36:36 +08:00
Hamish Coleman
93cd2279e2 Make the args checking in scripts/checksum more consistant 2017-06-30 11:35:33 +08:00
Hamish Coleman
4bdea62a10 Partially revert 73049887 - Much of the functionallity of this script is impaired by the new shell opts 2017-06-30 11:34:49 +08:00
Hamish Coleman
258c3542f1 Remove accidental duplicate rule 2017-06-30 11:17:07 +08:00
Hamish Coleman
390f5bb659 Cannot error on unset variables and at the same time process maybe-empty commandline args 2017-06-30 11:04:48 +08:00
Hamish Coleman
46cb7c09a8 Add img extraction to the FL2_copyIMG script 2017-06-30 09:48:04 +08:00
Hamish Coleman
5a46265e58 Convert FL2_copyIMG to hand around buffer refs, not copy buffers - allowing sane use for larger buffers 2017-06-30 09:35:53 +08:00
Hamish Coleman
e6a5dbec6f Remove an overzelous checksum check - which also fixes a bug, since it was checking the wrong file anyway 2017-06-30 09:19:35 +08:00
Hamish Coleman
4926788cd1 Merge branch 'ypid-fix-x260-and-x270' 2017-06-30 09:11:25 +08:00
Hamish Coleman
34ab798830 Add the start of a script that will allow removing the *.FL2.slice files 2017-06-30 09:03:49 +08:00
Hamish Coleman
64112afd75 Ensure that the iso extract targets dont ever pause for interactive input 2017-06-30 09:00:15 +08:00
Hamish Coleman
54a33d8584 Add a reference for a x240 bios update iso 2017-06-30 08:59:18 +08:00
Hamish Coleman
02e0f1b052 Add a TODO note 2017-06-29 14:13:05 +08:00
Robin Schneider
e5f5b685f6
Remove x260.R02HT29W.img target which is not yet usable and confusing 2017-06-29 07:59:13 +02:00
Hamish Coleman
e5537cfdb0 Make the .txt.orig downloader more generic.
As two examples - When looking at the release notes for the x200 laptop,
they have the same "uc" name as the cdrom image.  The release notes for
the x270 laptop also has the same name as the cdrom image, but they use
neither the "uc" nor the "us" suffixes.

So, it seemed simplest to be the least smart and just download whatever
matches the cdrom image name.

This has the drawback that we sometimes end up with text files that tell
you how to use the windows .exe installer - but I am hoping that the
people reading these release notes will be able to realise that not all
instructions should be followed...
2017-06-29 13:01:44 +08:00