aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mvebu/base-files/etc
diff options
context:
space:
mode:
authorVladimir Vid <vladimir.vid@sartura.hr>2019-07-22 13:08:18 +0200
committerLuka Perkov <luka.perkov@sartura.hr>2019-08-24 23:11:15 +0200
commit7dff6a8c89e30e660ef077d31ec0358a04161271 (patch)
treeab5b7fde846145b8ab0531ae41c78596a25b178c /target/linux/mvebu/base-files/etc
parent52cbe6b9c0865c8398c2fd23d1cf56a1afdb66f7 (diff)
downloadupstream-7dff6a8c89e30e660ef077d31ec0358a04161271.tar.gz
upstream-7dff6a8c89e30e660ef077d31ec0358a04161271.tar.bz2
upstream-7dff6a8c89e30e660ef077d31ec0358a04161271.zip
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>
Diffstat (limited to 'target/linux/mvebu/base-files/etc')
-rwxr-xr-xtarget/linux/mvebu/base-files/etc/board.d/02_network2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/mvebu/base-files/etc/board.d/02_network b/target/linux/mvebu/base-files/etc/board.d/02_network
index 7acbe4bf62..69c63e3791 100755
--- a/target/linux/mvebu/base-files/etc/board.d/02_network
+++ b/target/linux/mvebu/base-files/etc/board.d/02_network
@@ -49,7 +49,7 @@ marvell,armada-3720-db)
marvell,axp-gp)
ucidef_set_interface_lan "eth0 eth1 eth2 eth3"
;;
-methode,uDPU)
+methode,udpu)
ucidef_set_interfaces_lan_wan "eth1" "eth0"
;;
solidrun,clearfog*a1)