OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 29... | Line 29... | |||
29 | sectors=$(( $ubootenv_size / $mtd_erase )) |
29 | sectors=$(( $ubootenv_size / $mtd_erase )) |
|
30 | echo /dev/$mtd_dev 0x0 $ubootenv_size $mtd_erase $sectors |
30 | echo /dev/$mtd_dev 0x0 $ubootenv_size $mtd_erase $sectors |
|
31 | } |
31 | } |
|
Line 32... | Line 32... | |||
32 | |
32 | |
|
33 | case "$board" in |
- | ||
34 | alfa-network,ap120c-ac |\ |
- | ||
35 | glinet,gl-b1300 |\ |
33 | case "$board" in |
|
36 | openmesh,a42 |\ |
34 | openmesh,a42 |\ |
|
37 | openmesh,a62) |
35 | openmesh,a62) |
|
38 | ubootenv_add_uci_config "/dev/mtd5" "0x0" "0x10000" "0x10000" |
36 | ubootenv_add_uci_config "/dev/mtd5" "0x0" "0x10000" "0x10000" |
|
39 | ;; |
- | ||
40 | linksys,ea6350v3) |
- | ||
41 | ubootenv_add_uci_config "/dev/mtd7" "0x0" "0x20000" "0x20000" |
- | ||
42 | ;; |
- | ||
43 | zyxel,nbg6617) |
- | ||
44 | ubootenv_add_uci_config "/dev/mtd6" "0x0" "0x10000" "0x10000" |
- | ||
45 | ;; |
37 | ;; |
|
Line 46... | Line 38... | |||
46 | esac |
38 | esac |
|
47 | |
39 | |