aboutsummaryrefslogtreecommitdiff
path: root/resources/utilities/ich9deblob/src/ich9gen.c
Commit message (Collapse)AuthorAgeFilesLines
* New board: ThinkPad R500 (experimental)Francis Rowe2015-09-201-3/+20
| | | | | | | | | | | | | | | | | | The ich9deblob and ich9gen utilities were modified, so that they support reading and/or writing descriptor images where the GbE region is not defined. These utilities were also re-factored and tidied up a bit. A quick was noticed during the course of this work, in that Compenent 1 Density was being set to 8MiB constantly, even on systems with 4MiB flash chips. Component 2 Density was set statically to 2MiB. ich9gen now sets both to 4MiB or 8MiB, depending on whether building the descriptor for a 4MiB or 8MiB ROM image. There are still some ACPI bugs (see docs/hcl/r500.html), which will have to be fixed upstream. TODO: get hw reg dumps from a factory R500, and compare with the X200 or T400 dumps.
* ich9deblob: remove useless variable in main functionFrancis Rowe2015-01-111-7/+5
|
* ich9deblob/ich9gen: use portable data typesFrancis Rowe2015-01-101-4/+4
| | | | For those integers that need to be a certain byte size.
* ich9gen: fix ARM. Initialize customMacAddressFrancis Rowe2014-12-291-0/+2
| | | | | Fixes bug where custom MAC address would always be wrong. Tested on a BBB.
* ich9gen: fix typoFrancis Rowe2014-12-291-2/+4
|
* ich9gen: when changing Gbe mac address, spit out new mkgbe.cFrancis Rowe2014-12-291-0/+13
|
* ich9gen: make it possible for user to change the Gbe MAC addressFrancis Rowe2014-12-291-1/+53
| | | | Example: ./ich9gen --macaddress AA:BB:CC:DD:EE:FF
* ich9deblob: added ich9gen utilityFrancis Rowe2014-12-281-0/+57
This can generate the descriptor+gbe images from scratch, without the need for a factory.bin dump.