X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=package%2Fboot%2Fuboot-envtools%2Ffiles%2Framips;h=05c14070cc1c5a317aeb0fd77594fd502680de69;hb=f2107fc328ff7f9817fe9ca64f84bba9e32abfc6;hp=53cf9d3043f2dcf3d709481ba1c27358bf151a29;hpb=1f9cd871f7a9b8966476e4277cb27021c6ea762d;p=openwrt%2Fopenwrt.git diff --git a/package/boot/uboot-envtools/files/ramips b/package/boot/uboot-envtools/files/ramips index 53cf9d3043..05c14070cc 100644 --- a/package/boot/uboot-envtools/files/ramips +++ b/package/boot/uboot-envtools/files/ramips @@ -7,25 +7,30 @@ touch /etc/config/ubootenv -. /lib/ramips.sh . /lib/uboot-envtools.sh . /lib/functions.sh -board=$(ramips_board_name) +board=$(board_name) case "$board" in -all0239-3g | \ -all0256n | \ +all0239-3g|\ +all0256n-4M|\ +all0256n-8M|\ all5002) ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x10000" "0x10000" ;; -linkits7688 | \ -linkits7688d | \ -wsr-600 | \ -wsr-1166 | \ -br6425) +linkits7688|\ +linkits7688d|\ +miwifi-nano|\ +sk-wb8|\ +wsr-1166|\ +wsr-600|\ +zbt-wg2626) ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x1000" "0x10000" ;; +mir3g) + ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x1000" "0x20000" + ;; esac config_load ubootenv