From: Anshul Dalal <anshuld@ti.com>
To: <meta-arago@lists.yoctoproject.org>
Cc: Anshul Dalal <anshuld@ti.com>, <vigneshr@ti.com>,
<denys@konsulko.com>, <reatmon@ti.com>
Subject: [meta-arago][scarthgap][PATCH RFC 0/4] Add support for SWUpdate
Date: Tue, 2 Dec 2025 16:45:57 +0530 [thread overview]
Message-ID: <20251202111603.1616989-1-anshuld@ti.com> (raw)
Hi all,
This RFC adds support for SWUpdate[1] to meta-arago, this provides us with OTA
updates with A/B redundancy for the rootfs.
For now the support is enabled for eMMC boot only based on the 'ti-swupdate'
override. The below steps can be used to test this RFC on an AM62x EVM:
1. Add 'meta-swupdate' layer[2] to the SDK sources directory.
2. Since the bootloader side changes have not been merged to ti-u-boot yet,
make use of the 'swupdate' branch from my own U-Boot fork[3].
3. Enable 'swupdate' support by setting the 'ti-swupdate' override in
local.conf as follows:
DISTROOVERRIDES:append = ":ti-swupdate"
4. Flash the U-Boot binaries to the correct offsets on boot0 partition as
per the docs[4] and run 'env save' on first boot to save the environment to
eMMC's hw partition.
Regards,
Anshul
[1]: https://swupdate.org/
[2]: https://github.com/sbabic/meta-swupdate
[3]: https://github.com/ArchUsr64/u-boot/tree/swupdate
[4]: https://software-dl.ti.com/processor-sdk-linux-rt/esd/AM62X/latest/exports/docs/linux/How_to_Guides/Target/How_to_emmc_boot.html#how-to-emmc-boot
Anshul Dalal (4):
swupdate: add systemd service to rootfs
swupdate: add creation of update image
swupdate: add bootloader support
swupdate: enable authentication for update image
meta-arago-distro/conf/distro/arago.conf | 3 ++
.../images/files/sw-description | 46 +++++++++++++++++++
.../recipes-swupdate/images/update-image.bb | 27 +++++++++++
.../libubootenv/files/fw_env.config | 5 ++
.../libubootenv/libubootenv_%.bbappend | 10 ++++
.../recipes-swupdate/swupdate/files/defconfig | 12 +++++
.../swupdate/files/swupdate.cfg | 13 ++++++
.../swupdate/files/swupdate.sh | 15 ++++++
.../swupdate/swupdate_%.bbappend | 35 ++++++++++++++
.../wic/sdimage-2part-swupdate.wks | 6 +++
10 files changed, 172 insertions(+)
create mode 100644 meta-arago-distro/recipes-swupdate/images/files/sw-description
create mode 100644 meta-arago-distro/recipes-swupdate/images/update-image.bb
create mode 100644 meta-arago-distro/recipes-swupdate/libubootenv/files/fw_env.config
create mode 100644 meta-arago-distro/recipes-swupdate/libubootenv/libubootenv_%.bbappend
create mode 100644 meta-arago-distro/recipes-swupdate/swupdate/files/defconfig
create mode 100644 meta-arago-distro/recipes-swupdate/swupdate/files/swupdate.cfg
create mode 100644 meta-arago-distro/recipes-swupdate/swupdate/files/swupdate.sh
create mode 100644 meta-arago-distro/recipes-swupdate/swupdate/swupdate_%.bbappend
create mode 100644 meta-arago-distro/wic/sdimage-2part-swupdate.wks
--
2.52.0
next reply other threads:[~2025-12-02 11:16 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-02 11:15 Anshul Dalal [this message]
2025-12-02 11:15 ` [meta-arago][scarthgap][PATCH RFC 1/4] swupdate: add systemd service to rootfs Anshul Dalal
2025-12-02 11:15 ` [meta-arago][scarthgap][PATCH RFC 2/4] swupdate: add creation of update image Anshul Dalal
2025-12-02 11:16 ` [meta-arago][scarthgap][PATCH RFC 3/4] swupdate: add bootloader support Anshul Dalal
2025-12-02 19:23 ` Andrew Davis
2025-12-03 10:16 ` Anshul Dalal
2025-12-03 5:58 ` Yogesh Hegde
2025-12-03 10:23 ` Anshul Dalal
2025-12-02 11:16 ` [meta-arago][scarthgap][PATCH RFC 4/4] swupdate: enable authentication for update image Anshul Dalal
2025-12-02 20:59 ` [meta-arago][scarthgap][PATCH RFC 0/4] Add support for SWUpdate Denys Dmytriyenko
2025-12-03 14:07 ` Raghavendra, Vignesh
2026-05-29 12:33 ` Romain Naour
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251202111603.1616989-1-anshuld@ti.com \
--to=anshuld@ti.com \
--cc=denys@konsulko.com \
--cc=meta-arago@lists.yoctoproject.org \
--cc=reatmon@ti.com \
--cc=vigneshr@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.