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
18 ubootenv_add_uci_config
"/dev/mtd0" "0xC0000" "0x10000" "0x40000"
20 globalscale
,espressobin|\
21 marvell
,armada8040-mcbin
)
22 ubootenv_add_uci_config
"/dev/mtd0" "0x3f0000" "0x10000" "0x10000" "1"
27 ubootenv_add_uci_config
"/dev/mtd1" "0x0" "0x20000" "0x40000"
30 ubootenv_add_uci_config
"/dev/mtd1" "0x0" "0x40000" "0x20000"
34 ubootenv_add_uci_config
"/dev/mtd1" "0x0" "0x20000" "0x20000"
39 config_foreach ubootenv_add_app_config ubootenv