Integrating Thistle OTA with custom bootloaders
switch_part_command
script to fully enable the Thistle Update Client on your platform. This script is required to instruct the bootloader to boot the “other” partition upon the next reboot cycle. Let’s have a look at a real life example.
determine_boot_part_script
to help with detection. See the configuration page for more information.switch_part_command
script is required. Here it only represents a single line of bash, to instruct the bootloader to boot partition 1
or 2
depending on what is currently used.