commit baf3cf741301e696a5f614f8fb98d182a0ab0f1d parent c5145b5fc9359d6ac6ddfe86fd16d3272872473d Author: Raito Bezarius <masterancpp@gmail.com> Date: Mon, 19 Feb 2024 03:13:35 +0100 devices/zyxel-nwa50ax: fix dual image mgmt after DTB expansion Signed-off-by: Raito Bezarius <masterancpp@gmail.com> Diffstat:
| M | devices/zyxel-nwa50ax/default.nix | | | 7 | +++++-- |
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/devices/zyxel-nwa50ax/default.nix b/devices/zyxel-nwa50ax/default.nix @@ -235,9 +235,12 @@ services.zyxel-dual-image = config.boot.zyxel-dual-image.build { ensureActiveImage = "primary"; # 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"; - secondaryMtdPartition = "/dev/mtd6"; - bootConfigurationMtdPartition = "/dev/mtd10"; + secondaryMtdPartition = "/dev/mtd3"; + bootConfigurationMtdPartition = "/dev/mtd12"; }; # DEVICE_VENDOR := ZyXEL