Boot2: Difference between revisions
No edit summary |
No edit summary |
||
Line 11: | Line 11: | ||
Then it connects to "set:sys" and reads a bool from "boot" section called "force_maintenance" with default value true. | Then it connects to "set:sys" and reads a bool from "boot" section called "force_maintenance" with default value true. | ||
If the value reads successfully as false, it initializes "gpio" and opens sessions for GPIOs 26 and 25. | If the value reads successfully as false, it initializes "gpio" and opens sessions for GPIOs 26 and 25. | ||
If both GPIOs read as zero, then maintenance mode is forced. | If both GPIOs read as zero, then maintenance mode is forced. This probably checks if both volume up and down keys are held down at the same time? | ||
Then depending on maintenance mode or not it launches the following titles in this order: | Then depending on maintenance mode or not it launches the following titles in this order: |