Root Filesystem A/B OTA Update using Thistle on Advantech RSB-3810 (MediaTek Genio 1200)
/boot/efi
; we will use that as the persistent directory.
lsblk
and parted
on the board (adapt device as needed). The Advantech Ubuntu image typically uses eMMC with multiple partitions. For A/B setup, you’ll need to identify your rootfs partition (often mmcblk0p9
) and create a second partition for B. This is safest from a recovery image (microSD) so the rootfs is not mounted:
mmcblk0p8
) is mounted at /boot/efi
by default. This partition is formatted as FAT32 and is essential for bootloader updates. Verify and, if needed, ensure it’s in /etc/fstab
:
/boot/efi
as the persistent directory on this Ubuntu image.
scp
, then finish on the device shell:/boot/efi
on this Ubuntu image so it survives rootfs swaps). This will generate config.json
with credentials:myrootfs.img
(or use an existing base image). Prepare it as the update payload: