diff options
author | Vincent Tremblay <vincent@vtremblay.dev> | 2023-01-17 09:02:38 -0500 |
---|---|---|
committer | Christian Marangi <ansuelsmth@gmail.com> | 2023-01-18 00:07:30 +0100 |
commit | afcf1a4de4599a371f14db170b8456da915088bf (patch) | |
tree | 5df51a626a297498603f6f2287c614a2b6c0d353 /package/boot/uboot-envtools | |
parent | 7c04e80f87f343bde6d137d813d694f40f3ec481 (diff) | |
download | upstream-afcf1a4de4599a371f14db170b8456da915088bf.tar.gz upstream-afcf1a4de4599a371f14db170b8456da915088bf.tar.bz2 upstream-afcf1a4de4599a371f14db170b8456da915088bf.zip |
uboot-envtools: ipq40xx: fix WHW03V2 mtd partition
The configured u_env partition for the Linksys WHW03 V2 was not correct.
It should have been set to mtd6.
This fix allow to flash the OEM firmware from OpenWRT and to change the
boot partition using fw_setenv.
Fixes: 9e4ede8344d6 ("ipq40xx: add support for Linksys WHW03 V2")
Signed-off-by: Vincent Tremblay <vincent@vtremblay.dev>
Diffstat (limited to 'package/boot/uboot-envtools')
-rw-r--r-- | package/boot/uboot-envtools/files/ipq40xx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/package/boot/uboot-envtools/files/ipq40xx b/package/boot/uboot-envtools/files/ipq40xx index ff61488833..8d993fae36 100644 --- a/package/boot/uboot-envtools/files/ipq40xx +++ b/package/boot/uboot-envtools/files/ipq40xx @@ -60,13 +60,15 @@ linksys,ea6350v3) ubootenv_add_uci_config "/dev/mtd7" "0x0" "0x20000" "0x20000" ;; linksys,ea8300|\ -linksys,mr8300|\ -linksys,whw03v2) +linksys,mr8300) ubootenv_add_uci_config "/dev/mtd7" "0x0" "0x40000" "0x20000" ;; linksys,whw01) ubootenv_add_uci_config "/dev/mtd6" "0x0" "0x40000" "0x10000" ;; +linksys,whw03v2) + ubootenv_add_uci_config "/dev/mtd6" "0x0" "0x80000" "0x20000" + ;; zyxel,nbg6617) ubootenv_add_uci_config "/dev/mtd6" "0x0" "0x10000" "0x10000" ;; |