X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fstaging%2Fwigyori.git;a=blobdiff_plain;f=package%2Fboot%2Fuboot-envtools%2Ffiles%2Framips;h=05c14070cc1c5a317aeb0fd77594fd502680de69;hp=4640f4326ce03f7e6d3be34eef1911aee28e1a66;hb=f2107fc328ff7f9817fe9ca64f84bba9e32abfc6;hpb=51dd991d3957a33f102c9887da379263599c395f diff --git a/package/boot/uboot-envtools/files/ramips b/package/boot/uboot-envtools/files/ramips index 4640f4326c..05c14070cc 100644 --- a/package/boot/uboot-envtools/files/ramips +++ b/package/boot/uboot-envtools/files/ramips @@ -7,24 +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 | \ -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