diff --git a/package/boot/uboot-envtools/files/ath79 b/package/boot/uboot-envtools/files/ath79 index bf8ca2f7c..495392b69 100644 --- a/package/boot/uboot-envtools/files/ath79 +++ b/package/boot/uboot-envtools/files/ath79 @@ -19,9 +19,11 @@ buffalo,wzr-hp-ag300h) buffalo,bhr-4grv2|\ glinet,gl-ar300m-nand|\ glinet,gl-ar300m-nor|\ +librerouter,librerouter-v1|\ ocedo,koala|\ ocedo,raccoon|\ -openmesh,om5p-ac-v2) +openmesh,om5p-ac-v2|\ +yuncore,a770) ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x10000" "0x10000" ;; esac diff --git a/package/boot/uboot-envtools/files/ipq40xx b/package/boot/uboot-envtools/files/ipq40xx index 4551b3a6f..c16e60bac 100644 --- a/package/boot/uboot-envtools/files/ipq40xx +++ b/package/boot/uboot-envtools/files/ipq40xx @@ -31,15 +31,15 @@ ubootenv_mtdinfo () { } case "$board" in -linksys,ea6350v3) - # this device has 2 partitions. We are using "u_env" - ubootenv_add_uci_config "/dev/mtd7" "0x0" "0x20000" "0x20000" - ;; +alfa-network,ap120c-ac |\ glinet,gl-b1300 |\ openmesh,a42 |\ openmesh,a62) ubootenv_add_uci_config "/dev/mtd5" "0x0" "0x10000" "0x10000" ;; +linksys,ea6350v3) + ubootenv_add_uci_config "/dev/mtd7" "0x0" "0x20000" "0x20000" + ;; zyxel,nbg6617) ubootenv_add_uci_config "/dev/mtd6" "0x0" "0x10000" "0x10000" ;; diff --git a/package/boot/uboot-envtools/files/mpc85xx b/package/boot/uboot-envtools/files/mpc85xx new file mode 100644 index 000000000..d219b57cb --- /dev/null +++ b/package/boot/uboot-envtools/files/mpc85xx @@ -0,0 +1,22 @@ +#!/bin/sh + +[ -e /etc/config/ubootenv ] && exit 0 + +touch /etc/config/ubootenv + +. /lib/uboot-envtools.sh +. /lib/functions.sh + +board=$(board_name) + +case "$board" in +ocedo,panda) + ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x20000" "0x20000" + ubootenv_add_uci_config "/dev/mtd2" "0x0" "0x20000" "0x20000" + ;; +esac + +config_load ubootenv +config_foreach ubootenv_add_app_config ubootenv + +exit 0 diff --git a/package/boot/uboot-envtools/files/oxnas b/package/boot/uboot-envtools/files/oxnas index 70b0f1663..e54fae817 100644 --- a/package/boot/uboot-envtools/files/oxnas +++ b/package/boot/uboot-envtools/files/oxnas @@ -13,11 +13,10 @@ touch /etc/config/ubootenv board=$(board_name) case "$board" in -akitio|\ -kd20|\ -stg212) - ubootenv_add_uci_config "/dev/ubi0_0" "0x0" "0x4000" "0x1F000" "1" - ubootenv_add_uci_config "/dev/ubi0_1" "0x0" "0x4000" "0x1F000" "1" +"cloudengines,pogoplug"* | \ +"mitrastar,stg-212" | \ +"shuttle,kd20") + ubootenv_add_uci_config "/dev/mtd2" "0x0" "0x2000" "0x2000" "1" ;; esac diff --git a/package/boot/uboot-envtools/files/ramips b/package/boot/uboot-envtools/files/ramips index f1829bec3..b70f62656 100644 --- a/package/boot/uboot-envtools/files/ramips +++ b/package/boot/uboot-envtools/files/ramips @@ -14,7 +14,8 @@ board=$(board_name) case "$board" in alfa-network,ac1200rm|\ -alfa-network,awusfree1) +alfa-network,awusfree1|\ +alfa-network,tube-e4g) ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x1000" "0x1000" ;; all0256n-4M|\ @@ -30,7 +31,8 @@ wsr-600|\ zbt-wg2626) ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x1000" "0x10000" ;; -mir3g|mir4) +xiaomi,mir3p|\ +mir3g) ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x1000" "0x20000" ;; esac