Permalink
Cannot retrieve contributors at this time
Fetching contributors…
| Configuring which patches are used | |
| ---------------------------------- | |
| This repository has two sets of patches - one set for the keyboard | |
| changes and one for turning off the battery validation. The battery | |
| patches are disabled by default, but are easy to enable. | |
| Any combination of the two sets of patches can be enabled or disabled | |
| (even including a version with no patches at all - to revert all changes) | |
| There are several makefile targets that exist to help you configure which | |
| patches are enabled. Choose one or more of the following commands to | |
| configure as you want: | |
| make patch_enable_battery clean # Uses the battery validate patch | |
| make patch_disable_battery clean # Turns off the battery validate patch | |
| make patch_enable_keyboard clean # Uses the keyboard patches | |
| make patch_disable_keyboard clean # Turns off the keyboard patches | |
| Behind the scenes | |
| ----------------- | |
| Each hardware and EC firmware version combination needs its own set of | |
| patches, which are stored in directories called "*.img.d" - the disable | |
| commands are simply renaming the patch files to have a suffix of ".OFF" | |
| (or removing that suffix to enable) | |