In the Omega firmware (b160), the busybox applets poweroff and reboot both reboot the Omega2.
In the LEDE firmware (17.01), they both appear to power off the Omega2.
Does anyone know how to get these two applets to do what their names suggest?
i.e. poweroff should power off the device (or a reasonable facsimile thereof e.g. execute the shutdown scripts, turn off the LED and idle along at low power) and reboot should reboot it?
Ok, so more by luck than design, I stumbled across the Onion patch that implements the reboot: 481-mtd-add-spi-flash-reset-code.patch
Does anyone know where Onion obtained the information about these reset codes (0x66, 0x99) for this m25pXX? I'd like to learn more about them, what they do and if there are any others of interest.
I found the datasheet for the flash chip MX25L25635E which makes reference to 66h as the Reset Enable instruction, but can't get clarity on what the 0x99 or 99h refers to.