devices/zyxel-nwa50ax: fix dual image mgmt after DTB expansion

Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
This commit is contained in:
Raito Bezarius 2024-02-19 03:13:35 +01:00
parent c5145b5fc9
commit baf3cf7413

View file

@ -235,9 +235,12 @@
services.zyxel-dual-image = config.boot.zyxel-dual-image.build { services.zyxel-dual-image = config.boot.zyxel-dual-image.build {
ensureActiveImage = "primary"; ensureActiveImage = "primary";
# TODO: use mtd names rather… # TODO: use mtd names rather…
# primary and secondary are always /dev/mtd3 by virtue of the
# dtb being not too wrong…
# TODO: remove this hack.
primaryMtdPartition = "/dev/mtd3"; primaryMtdPartition = "/dev/mtd3";
secondaryMtdPartition = "/dev/mtd6"; secondaryMtdPartition = "/dev/mtd3";
bootConfigurationMtdPartition = "/dev/mtd10"; bootConfigurationMtdPartition = "/dev/mtd12";
}; };
# DEVICE_VENDOR := ZyXEL # DEVICE_VENDOR := ZyXEL