找回密码
 立即注册

QQ登录

只需一步,快速开始

打印 上一主题 下一主题
开启左侧

[MA35D1] OTA Update by Linux AB Partitions

[复制链接]
跳转到指定楼层
楼主
admin 发表于 4 小时前 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
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.


分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 顶顶 踩踩
牛卧堂
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

新唐MCU