牛卧堂MCU技术交流

标题: [MA35D1] OTA Update by Linux AB Partitions [打印本页]

作者: admin    时间: 4 小时前
标题: [MA35D1] OTA Update by Linux AB Partitions
Application
This example describes how to perform OTA updates on the rootfs A/B partitions in a Linux environment using the MA35D1 series development platform.
BSP Version
Linux-5.10.x
Hardware
NuMaker-HMI-MA35D1 V1.0

OTA (Over-the-Air) is a technology that enables remote updates of firmware, software, or data on a device through network connections such as Wi-Fi or Ethernet. This document provides an example of updating the root filesystem (rootfs) using the swupdate application. For additional examples demonstrating how to update the Linux kernel and device tree using swupdate, please refer to the corresponding application note EC_MA35D1_OTA_Update_by_Linux_Stage_V1.00.

Since swupdate is an application that runs on the active root filesystem, directly using it to update the same root filesystem currently in use is risky. During the update process, it is difficult to determine whether certain files are being accessed by the running system. Updating files that are actively in use may result in simultaneous access conflicts between the update process and the operating system, potentially leading to system instability or unexpected behavior.

To ensure a safe and reliable root filesystem update process, it is both necessary and practical to partition the storage into two independent root filesystem areas. This approach allows the inactive root filesystem to be updated while the system continues running from the active one.

You can download the sample code at EC_MA35D1_Series_OTA_Update_by_Linux_AB_Partitions_V1.00.







欢迎光临 牛卧堂MCU技术交流 (https://nuvoton-mcu.com/) Powered by Discuz! X3.2