3 # Copyright (C) 2011-2014 OpenWrt.org
6 [ -e /etc/config/ubootenv ] && exit 0
8 touch /etc/config/ubootenv
10 . /lib/uboot-envtools.sh
21 glinet,gl-ar300m-lite|\
22 glinet,gl-ar300m-nand|\
23 glinet,gl-ar300m-nor|\
25 glinet,gl-ar750s-nor|\
26 glinet,gl-ar750s-nor-nand|\
27 librerouter,librerouter-v1|\
43 ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x10000" "0x10000"
45 buffalo,wzr-hp-ag300h)
46 ubootenv_add_uci_config "/dev/mtd3" "0x0" "0x10000" "0x10000"
49 ubootenv_add_uci_config "/dev/mtd4" "0x0" "0x10000" "0x10000"
52 ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x8000" "0x10000"
57 ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x20000" "0x10000"
62 ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x40000" "0x20000"
65 ubootenv_add_uci_config "/dev/mtd9" "0x0" "0x10000" "0x10000"
70 config_foreach ubootenv_add_app_config ubootenv