3 # Copyright (C) 2014-2016 OpenWrt.org
4 # Copyright (C) 2016 LEDE-Project.org
7 [ -e /etc/config/ubootenv ] && exit 0
9 touch /etc/config/ubootenv
11 . /lib/uboot-envtools.sh
17 armada-385-linksys-caiman|\
18 armada-385-linksys-cobra|\
19 armada-385-linksys-shelby)
20 ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x20000" "0x40000"
22 armada-385-linksys-rango)
23 ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x20000" "0x20000"
25 armada-xp-linksys-mamba)
26 ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x40000" "0x20000"
31 config_foreach ubootenv_add_app_config ubootenv