Factory + OTA project setup

itoooitooo
Posts: 2
Joined: Mon Oct 04, 2021 10:34 am

Factory + OTA project setup

Postby itoooitooo » Mon Oct 04, 2021 10:41 am

Hi there!

Here is a newbie question for you: how do you properly set up your project such that you can build 2 different firmwares (one for factory partition and one for ota partitions) and bundle them into a single flashable image ?
I could do 2 different projects but it feels wrong to me because I guess both should bundle together.

Google wasn't of great help about this, the search terms yeld results about the code, not the project setup :-/

Thanks a lot!

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

Re: Factory + OTA project setup

Postby chegewara » Fri Oct 22, 2021 12:07 am

Actually it is not wrong way to have 2 separate project as usually (not always) factory firmware is mostly different than OTA firmware.

There is few concepts of factory firmware:
1. it is very basic firmware, which will start and download main firmware, then boot from OTA partition
2. similar to point 1, but it is used only in case that both OTA partitions or firmware on OTA partitions fail,
3. it is normal partition, just like OTA, with main firmware, but flashed firmware is like v1.0.0, which you know is working at least good enough to perform OTA update

Who is online

Users browsing this forum: Bing [Bot] and 134 guests