aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-envtools
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2021-03-15 18:40:14 +0100
committerDaniel Golle <daniel@makrotopia.org>2021-03-17 22:39:59 +0000
commit0e3f6fbe1095387737bba6c71851f5c339f916da (patch)
tree6f1ac0479ed8b93d6d0ab4ce6a1dbb91979998e5 /package/boot/uboot-envtools
parenta29f71c38061c67cbef25d25501629b26f8e025d (diff)
downloadupstream-0e3f6fbe1095387737bba6c71851f5c339f916da.tar.gz
upstream-0e3f6fbe1095387737bba6c71851f5c339f916da.tar.bz2
upstream-0e3f6fbe1095387737bba6c71851f5c339f916da.zip
mediatek: Fix writing U-Boot env on Buffalo WSR-2533DHP2
This fixes writing to the U-Boot environment by making the partition writable and setting the correct flash sector size of 128K. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'package/boot/uboot-envtools')
-rw-r--r--package/boot/uboot-envtools/files/mediatek2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/boot/uboot-envtools/files/mediatek b/package/boot/uboot-envtools/files/mediatek
index ce28fb31cb..4db1c6ef4d 100644
--- a/package/boot/uboot-envtools/files/mediatek
+++ b/package/boot/uboot-envtools/files/mediatek
@@ -25,7 +25,7 @@ case "$board" in
ubootenv_add_uci_config "$envdev" "0x80000" "0x80000" "0x80000" "1"
;;
buffalo,wsr-2533dhp2)
- ubootenv_add_uci_config "/dev/mtd3" "0x0" "0x1000" "0x1000"
+ ubootenv_add_uci_config "/dev/mtd3" "0x0" "0x1000" "0x20000"
;;
esac