HomeACcessoryKid / LCMdev

Development space for the next generation of Life-Cycle-Manager - NOT STABLE
Apache License 2.0
1 stars 0 forks source link

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