Hamish Coleman
2e48c8237e
Avoid showing qemu warning when testing disk images
3 years ago
Hamish Coleman
a538b2e141
Avoid timezone related differences in the generated file datestamps
3 years ago
nomuna
514bdd4ade
Configuration TODOs in Makefile
...
Configuration edits the .config file instead of just appending to it.
4 years ago
Hamish Coleman
7ad9bed808
Provide a better error message than git does, if we are not running in a proper checkout
4 years ago
Hamish Coleman
2a98db0a32
Fix: if only mdel had a '-f' option
5 years ago
Hamish Coleman
5d78f00d50
Fix: use the correct filename ( closes #156 )
5 years ago
Hamish Coleman
1a39358843
Note a possible future improvement
5 years ago
Hamish Coleman
55234e8585
Add some simple visualisation of the binary images
5 years ago
Hamish Coleman
7a7b946073
Avoid leaving incorrect documentation in image
...
Removing the Lenovo README that talks about how to add a boot-time
picture during the BIOS flashing process. The EC patching script does
not include the steps required for that.
5 years ago
Hamish Coleman
55e0f0d0a3
Ensure that hexpatch emits an error if we are configured to use a patch and dont have it
5 years ago
Hamish Coleman
8759538255
After finishing tests, generate some reporting output. This can be used as a published set of known good hashes. In the future, it might be possible to upload this data somewhere more accessible
5 years ago
Hamish Coleman
b32edc57ce
Clean up the config file on really_clean
5 years ago
Hamish Coleman
7f9800d203
Add a rudimentary config file - this (finally) removes the need to ever build in a dirty checkout, which makes the build strings and debuging clearer
5 years ago
Hamish Coleman
a52037dc8b
To increase debugging information available for boot issues, ensure that the final ISO checksum is also shown
5 years ago
Hamish Coleman
b1f48cd8c3
Adjust build report to reduce the significance of the original ISO download
5 years ago
Hamish Coleman
286170a813
Add more output quieting steps
6 years ago
Hamish Coleman
c70ee15944
Ensure files extracted from old ISO images have a timestamp that matches the build
6 years ago
Hamish Coleman
046597de6f
Make the build process somewhat quieter - there is still room for improvements here though
6 years ago
Hamish Coleman
eebd92683f
Ensure that the full patched test tries to generate both ISO and IMG outputs
6 years ago
Hamish Coleman
faf4227818
Rename the img extraction test to hopefully be more clear
6 years ago
Hamish Coleman
460ff2c249
Increase build repeatability by removing inconsequential changes in the output img file
6 years ago
Hamish Coleman
3bb7490858
Add new dependancy - required for the old x60 ISO file extraction
6 years ago
Hamish Coleman
b96bca2c41
Add descriptions and rules for extracting EC firmware from old x60 BIOS updates
6 years ago
Hamish Coleman
1f354d4c8a
Quieten down the downloading of ISO files
6 years ago
Hamish Coleman
046b26bdda
Add a test for all possible extracted firmwares
6 years ago
Hamish Coleman
ee69775ebc
Update Copyright notices for a new year
6 years ago
Hamish Coleman
eb2ba3eb0b
Notice that another year has gone past and update the copyright headers
6 years ago
Hamish Coleman
617a8bcfb9
It seems that we cannot rely on knowing where any program is anymore, so avoid specifying where bash is
6 years ago
Hamish Coleman
c4dbfb0f18
Ensure needed packages are installed by travis
6 years ago
Hamish Coleman
99930d12aa
Add a simple buildability test target
6 years ago
Hamish Coleman
5965053327
Do not destroy made artifacts - this is important for g4uj30us.iso which is used by two different patched outputs
6 years ago
Hamish Coleman
75adc627d2
Bulk downloads are always precious - so dont delete them even if they are only an intermediate target
7 years ago
Hamish Coleman
4afe96c062
Add a make target for installing prerequisite packages
7 years ago
Hamish Coleman
d16e339a51
Allow keeping files with bad checksums, for investigation
7 years ago
Hamish Coleman
95b63fa943
Force a specific shell to be used (ref #59 )
...
This allows us to use options to echo that in turn allow it to interpret
the tab escape sequence. Some systems would be using other shells by default,
so this should make the environment more consistant.
7 years ago
Hamish Coleman
9450b50a99
Ensure mtools has a known output format ( fixes #43 )
7 years ago
Hamish Coleman
0fa73ec043
The E330 firmware update had a different FAT_OFFSET to everything else, note that we need to deal with that
7 years ago
Hamish Coleman
615f87dd2b
Remove the last manually maintained list from the Makefile - all lists of rules are now generated from the Descriptions.txt
7 years ago
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)
7 years ago
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
7 years ago
Hamish Coleman
bafb93e668
Add example macros to special case the x200 ISO image - which has two FL2 files
7 years ago
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)
7 years ago
Hamish Coleman
2d87c9daff
Wrap the rule_IMG_extract macro with failsafe tmp files
7 years ago
Hamish Coleman
72558c31a3
Quick hack to fix bug with ISO images that have multiple FL2 files
7 years ago
Hamish Coleman
ffe384c17d
Cleanup old make rules - no longer used
7 years ago
Hamish Coleman
b9b1e2977f
use the Descriptions file to generate most of the static rules
7 years ago
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
7 years ago
Hamish Coleman
d0c011aecf
Remove the .orig from all the Descriptions.txt entries - this will make it easier to create automatic rules in the future
7 years ago
Hamish Coleman
258c3542f1
Remove accidental duplicate rule
7 years ago
Hamish Coleman
e6a5dbec6f
Remove an overzelous checksum check - which also fixes a bug, since it was checking the wrong file anyway
7 years ago