Extension to be merged into life-cycle-manager
This new LCM code is able to load/update the bootloader from github.
The new bootloader is able to count the amount of short power cycles (<1s)
The boot loader conveys the count to the loaded code using the rtc.temp_rom value
User code is allowed the values from 1-4
If count > 4 the bootloader launches LCM otamain.bin in rom[1]
For these values the behaviour is controlled through the sysparam string ota_count_step
.
The default value of 3 reduces the chance of user misscounting and triggering something else than intended.
If ota_count_step=="3"
If ota_count_step=="2"
If ota_count_step=="1"
Missing or other ota_count_step
values will be interpreted as 3