: attachment removed since a stable version is posted further in the thread.
Edit: attachment was not working, hopefully OK now.
Alpha testers required!
(no compilation needed for Windows users)Prerequisites:
- X5/X5L main unit
- X5 remote
Your mission, Jim, should you decide to accept it, is to install and test this new version of the dual bootloader.
To install, use mkboot
to combine the bootloader binary with any OF version and proceed like any firmware upgrade.
The attached file contains x5-dual-bootloader.testing.bin
(bootloader binary), mkboot.c
(source) and mkboot.exe
(precompiled to Windows).Boot sequences to verify:
- a short main-unit POWER press - RB
- a long main-unit POWER press - OF
- a short remote-unit POWER press - RB
- a long remote POWER press - OF
- a remote POWER press while remote HOLD is on - OF
(actually you won't see it since the OF shuts down quickly)
goes wrong (doesn't boot, stuck, etc.), reset the unit with a reset pin, connect USB cable and reflash a stable firmware. It is advised to do so even if all seems OK until I collect reports from more people.Disclaimer:
I have not tested this code on my X5 since it's dead, but I believe it works. Even if it doesn't, you can restore a stable firmware via USB mode.