OTA clarification

chegewara
Posts: 2362
Joined: Wed Jun 14, 2017 9:00 pm

Re: OTA clarification

Postby chegewara » Wed May 09, 2018 6:25 am

You dont need to copy bootloader, also i did not need to copy it. I only did it to add option that allows restart from factory partition instead from ota partition in case when GPIO level is during reboot (pin is setup in that copy of bootloader component).

meneldor
Posts: 75
Joined: Mon Dec 25, 2017 7:28 am

Re: OTA clarification

Postby meneldor » Wed May 09, 2018 6:42 am

As i understood if the ota partition is corrupted the board wont boot. I need it to boot to factory if that happens and i need to change the bootloader for it to be possible. Am i correct?

chegewara
Posts: 2362
Joined: Wed Jun 14, 2017 9:00 pm

Re: OTA clarification

Postby chegewara » Wed May 09, 2018 11:41 am

If for some reason happen that ota partition is corrupted then it should be detected by bootloader and bootloader should try to start next partition of type app. (You can wait that someone else confirm this, Angus or WiFive)

GPIO can be useful if you have flashed with ota correct partition image, but for some reason your application is broken and ie is causing loop reboot.

Who is online

Users browsing this forum: Baidu [Spider] and 238 guests