Reboot Mode Driver Added To Linux 4.8 Kernel
The power supply updates for Linux 4.8 adds a "reboot mode" driver to the kernel.
The driver's author, Andy Yan of Rockchip, explained the reboot mode driver's functionality, "This driver parses the reboot commands like 'reboot bootloader' and 'reboot recovery' to get a boot mode described in the device tree , then call the corresponding write interface to store the boot mode in some place like special register or ram , which can be read by the bootloader after system reboot. This is commonly done on Android based devices, in order to reboot the device into fastboot or recovery mode."
This new reboot mode driver was pulled with these changes.
For now this reboot mode driver is storing passed arguments to the SYSCON mapped register and obviously you need a bootloader to make use of it as well. Hopefully we'll see expanded support and more opportunities out of this driver in a future release.
The driver's author, Andy Yan of Rockchip, explained the reboot mode driver's functionality, "This driver parses the reboot commands like 'reboot bootloader' and 'reboot recovery' to get a boot mode described in the device tree , then call the corresponding write interface to store the boot mode in some place like special register or ram , which can be read by the bootloader after system reboot. This is commonly done on Android based devices, in order to reboot the device into fastboot or recovery mode."
This new reboot mode driver was pulled with these changes.
For now this reboot mode driver is storing passed arguments to the SYSCON mapped register and obviously you need a bootloader to make use of it as well. Hopefully we'll see expanded support and more opportunities out of this driver in a future release.
32 Comments