1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-18 21:48:23 +02:00
openwrt/target/linux/mvebu/base-files/etc
Vladimir Vid 7dff6a8c89 mvebu: uDPU: add sysupgrade support
This patch adds sysupgrade, uboot-env and networking support
for Methode uDPU device.

Device features 4 partitions:

-----------------------------------------
|  boot   | recovery  | rootfs |  misc  |
| (ext4)  |  (ext4)   | (fsf2) | (f2fs) |
_________________________________________

Idea was to use f2fs only but the u-boot currently lacks support
so first 2 partition are ext4 to be u-boot readable, and this was
a reason why custom build and sysupgrade sections were required.

On the sysupgrade, boot and rootfs partitions are updated, firmare
image and user configuration is saved on the misc partition and if
the upgrade was successfull, recovery partition will be updated on
after the reboot from preinit script. If the sysupgrade fails for any
reason, device will fallback to recovery initramfs image.

Signed-off-by: Vladimir Vid <vladimir.vid@sartura.hr>
2019-08-24 23:11:15 +02:00
..
board.d mvebu: uDPU: add sysupgrade support 2019-08-24 23:11:15 +02:00
hotplug.d/ieee80211 mvebu: Migrate uci config to new PCIe path 2018-02-13 22:30:59 +01:00
init.d treewide: sync bootcount scripts across targets 2019-08-17 23:52:34 +08:00
uci-defaults mvebu: use device-tree board detection 2019-05-11 23:11:04 +02:00
diag.sh mvebu: use device-tree board detection 2019-05-11 23:11:04 +02:00