Add Gitea OTA firmware update, dual-slot partition layout, and Gitea Actions release workflow
This commit is contained in:
@@ -1,10 +1,14 @@
|
||||
# Name, Type, SubType, Offset, Size
|
||||
# 4MB ESP32 flash layout:
|
||||
# nvs 24KB 0x9000 - NVS settings (required by esp_wifi / http / storage)
|
||||
# phy_init 4KB 0xF000 - PHY init data (optional reserved)
|
||||
# factory 2MB app - firmware
|
||||
# storage ~1.9MB littlefs - card database (/spiffs)
|
||||
nvs, data, nvs, 0x9000, 0x6000
|
||||
phy_init, data, phy, 0xf000, 0x1000
|
||||
factory, app, factory, 0x10000, 0x200000
|
||||
storage, data, littlefs, 0x210000, 0x1F0000
|
||||
# 4MB ESP32 dual-OTA layout:
|
||||
# nvs 16KB 0x9000 - NVS settings
|
||||
# otadata 8KB 0xD000 - OTA selection & rollback data
|
||||
# phy_init 4KB 0xF000 - PHY calibration data
|
||||
# ota_0 1.56MB 0x10000 - App slot 0
|
||||
# ota_1 1.56MB 0x1A0000 - App slot 1
|
||||
# storage 832KB 0x330000 - LittleFS database (/spiffs)
|
||||
nvs, data, nvs, 0x9000, 0x4000
|
||||
otadata, data, ota, 0xd000, 0x2000
|
||||
phy_init, data, phy, 0xf000, 0x1000
|
||||
ota_0, app, ota_0, 0x10000, 0x190000
|
||||
ota_1, app, ota_1, 0x1a0000, 0x190000
|
||||
storage, data, littlefs, 0x330000, 0xd0000
|
||||
|
Reference in New Issue
Block a user