projects
/
openwrt
/
staging
/
rmilecki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b397df5
)
uboot-envtools: fix domywifi_dw33d Bad CRC error
author
weidong jia
<jwdsccd@gmail.com>
Fri, 10 Apr 2020 08:42:37 +0000
(16:42 +0800)
committer
Hauke Mehrtens
<hauke@hauke-m.de>
Sun, 26 Apr 2020 19:45:30 +0000
(21:45 +0200)
The current dw33d partition index has changed, this patch solves
this problem.
old partition layout
dev: size erasesize name
mtd0:
00040000
00010000
"u-boot"
mtd1:
00010000
00010000
"u-boot-env"
mtd2:
00fa0000
00010000
"oem-firmware"
mtd3:
00010000
00010000
"art"
mtd4:
00500000
00020000
"kernel"
mtd5:
05b00000
00020000
"ubi"
mtd6:
02000000
00020000
"oem-backup"
new partition layout
dev: size erasesize name
mtd0:
00500000
00020000
"kernel"
mtd1:
05b00000
00020000
"ubi"
mtd2:
02000000
00020000
"oem-backup"
mtd3:
00040000
00010000
"u-boot"
mtd4:
00010000
00010000
"u-boot-env"
mtd5:
00fa0000
00010000
"oem-firmware"
mtd6:
00010000
00010000
"art"
Signed-off-by: weidong jia <jwdsccd@gmail.com>
package/boot/uboot-envtools/files/ath79
patch
|
blob
|
history
diff --git
a/package/boot/uboot-envtools/files/ath79
b/package/boot/uboot-envtools/files/ath79
index 60a1ffb6bcd38363f311d66520214397fb4b533d..aebfeca85dd967166634796f77c5c98bca67f135 100644
(file)
--- a/
package/boot/uboot-envtools/files/ath79
+++ b/
package/boot/uboot-envtools/files/ath79
@@
-16,7
+16,6
@@
case "$board" in
alfa-network,ap121f|\
buffalo,bhr-4grv2|\
devolo,magic-2-wifi|\
-domywifi,dw33d|\
engenius,ecb1750|\
etactica,eg200|\
glinet,gl-ar300m-lite|\
@@
-46,6
+45,9
@@
yuncore,xd4200)
buffalo,wzr-hp-ag300h)
ubootenv_add_uci_config "/dev/mtd3" "0x0" "0x10000" "0x10000"
;;
+domywifi,dw33d)
+ ubootenv_add_uci_config "/dev/mtd4" "0x0" "0x10000" "0x10000"
+ ;;
glinet,gl-ar150)
ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x8000" "0x10000"
;;