openwrt/target/linux/mvebu
Robert Marko fbf01b4d62 mvebu: cortexa53: uDPU/eDPU convert to dual firmware (A/B)
Methode uDPU and eDPU devices are one of the rare ones with a completely
custom image format being used with custom partition table with F2FS.

Instead of converting the boards to dual firmware (A/B style) and further
expand the already convoluted custom scripts, especially considering that
dual firmware conversion is a breaking change anyway, lets convert to using
the generic eMMC sysupgrade based images.

F2FS ZSTD compression is preserved thanks to fstools now supporting its use
on overlays.

Dual firmware support is implemented via U-Boot scripts so no U-Boot
upgrade is required.

Since there is a partition table layout change, eMMC must be wiped and
reflashed with the generated GPT image from OpenWrt initramfs.

Then on each sysupgrade the firmware slot will be altered.

Instructions:
1. Boot into OpenWrt initramfs
2. Copy openwrt-mvebu-cortexa53-methode_edpu-squashfs-emmc-gpt.img.gz to
the device into /tmp
3. Erase eMMC:
dd if=/dev/zero of=/dev/mmcblk0 bs=1M
4. Extract image
gzip -d /tmp/openwrt-mvebu-cortexa53-methode_edpu-squashfs-emmc-gpt.img.gz
5. Flash image
dd if=/tmp/openwrt-mvebu-cortexa53-methode_edpu-squashfs-emmc-gpt.img of=/dev/mmcblk0
6. Reboot

Signed-off-by: Robert Marko <robert.marko@sartura.hr>
(cherry picked from commit ada2753d6a)
2026-05-28 11:19:50 +02:00
..
base-files/lib/preinit mvebu: switch to generic sdcard upgrade method 2021-08-07 01:43:39 +03:00
cortexa9 mvebu: Add support for WD MyCloud EX2 Ultra 2026-01-05 00:26:25 +01:00
cortexa53 mvebu: cortexa53: uDPU/eDPU convert to dual firmware (A/B) 2026-05-28 11:19:50 +02:00
cortexa72 kernel: disable non layout u-boot,env 2025-11-28 01:20:33 +01:00
files/arch mvebu: add support for RIPE Atlas Probe v5 2026-02-17 01:40:00 +01:00
image mvebu: cortexa53: uDPU/eDPU convert to dual firmware (A/B) 2026-05-28 11:19:50 +02:00
patches-6.12 kernel: bump 6.12 to 6.12.86 2026-05-12 23:08:44 +02:00
config-6.12 mvebu: enable tickless idle 2025-12-28 12:46:23 +01:00
Makefile mvebu: switch to kernel 6.12 2025-08-04 22:57:18 +02:00
modules.mk mvebu: 6.12: refresh kernel config 2025-06-19 23:09:40 +02:00