diff options
author | Lech Perczak <lech.perczak@gmail.com> | 2022-02-17 21:47:23 +0100 |
---|---|---|
committer | Christian Lamparter <chunkeey@gmail.com> | 2022-02-20 14:04:38 +0100 |
commit | 411940ded49a44719b16d3d3ace448d0c1536ada (patch) | |
tree | f2a49c6382bcc7dd958ce4f0d1a034fbf13b7e98 /package | |
parent | 5696244ae242b7965b6754a59aa104016840db52 (diff) | |
download | upstream-411940ded49a44719b16d3d3ace448d0c1536ada.tar.gz upstream-411940ded49a44719b16d3d3ace448d0c1536ada.tar.bz2 upstream-411940ded49a44719b16d3d3ace448d0c1536ada.zip |
ath79: uboot-envtools: fix partition for ZTE MF286
By mistake, a wrong partition for U-boot environment was introduced for
ZTE MF286 while adding support, when flash layout wasn't finalized. Fix
that, according to the actual flash layout:
dev: size erasesize name
mtd0: 00140000 00020000 "fota-flag"
mtd1: 00140000 00020000 "caldata"
mtd2: 00140000 00020000 "mac"
mtd3: 00f40000 00020000 "ubiconcat0"
mtd4: 00400000 00020000 "kernel"
mtd5: 06900000 00020000 "ubiconcat1"
mtd6: 00080000 00010000 "u-boot"
mtd7: 00020000 00010000 "u-boot-env"
mtd8: 07840000 00020000 "ubi"
Fixes: 8c78a13bfc1f ("ath79: support ZTE MF286")
Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
Diffstat (limited to 'package')
-rw-r--r-- | package/boot/uboot-envtools/files/ath79 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/boot/uboot-envtools/files/ath79 b/package/boot/uboot-envtools/files/ath79 index 20715eb678..1f0e02a2f7 100644 --- a/package/boot/uboot-envtools/files/ath79 +++ b/package/boot/uboot-envtools/files/ath79 @@ -123,7 +123,7 @@ wallys,dr531) ubootenv_add_uci_config "/dev/mtd1" "0x0" "0xf800" "0x10000" ;; zte,mf286) - ubootenv_add_uci_config "/dev/mtd9" "0x0" "0x20000" "0x10000" + ubootenv_add_uci_config "/dev/mtd7" "0x0" "0x20000" "0x10000" ;; esac |