openwrt/target/linux/mvebu
Daniel Golle 5cae98c25d mvebu: puzzle-m90x: wipe rootfs_data on sysupgrade
The sysupgrade formware of the Puzzle series is a slightly strange
dual-boot approach while remaining compatible with Marvell's SDK
firmware upgrade binary format -- which happens to be a full-disk
image with GPT partition table. Hence that /lib/upgrade/emmc-puzzle.sh
script is like an exotic disease which results from those decisions,
and as we also want to somehow stay compatible with the IEI-World
stock firmware we got to use it in that same way (we are not
compatible with the QNAP-branded identical hardware device anyway).

Currently, on sysupgrade the result is that one ends up with the old
content of rootfs_data (a GPT partition on those devices) as nothing
ever wipes or in any way re-creates the filesystem there. As a simple
work-around, let's kill the filesystem on rootfs_data so fstools
re-formats it on the next boot.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit d4e8653e1e)
2024-04-12 01:51:51 +01:00
..
base-files/lib/preinit mvebu: switch to generic sdcard upgrade method 2021-08-07 01:43:39 +03:00
cortexa9 mvebu: use PHY LED trigger for speed LEDs on FortiGate 50E 2023-05-18 16:17:52 +02:00
cortexa53 treewide: remove files for building 5.10 kernel 2023-05-12 13:02:43 +02:00
cortexa72 mvebu: puzzle-m90x: wipe rootfs_data on sysupgrade 2024-04-12 01:51:51 +01:00
files/arch mvebu: enable thermal zone polling for IEI Puzzle devices 2024-03-17 19:40:44 +00:00
image mvebu: fix RTC of IEI-World Puzzle M90x devices 2023-12-19 02:55:03 +00:00
patches-5.15 kernel: bump 5.15 to 5.15.153 2024-04-01 02:33:05 +02:00
config-5.15 mvebu: refresh the 5.15 kconfigs 2022-08-16 22:38:46 +01:00
Makefile Revert "Revert "mvebu: switch default kernel to 5.15"" 2022-12-20 14:00:35 +01:00
modules.mk kernel: add kmod-leds-turris-omnia 2022-06-24 09:18:03 +02:00