3 # Copyright (C) 2013-2014 OpenWrt.org
6 [ -e /etc
/config
/ubootenv
] && exit 0
8 touch /etc
/config
/ubootenv
11 .
/lib
/uboot-envtools.sh
42 if [ -c /dev
/mtd1
]; then
43 # board boots from NAND
44 ubootenv_add_uci_config
/dev
/mtd1
0x0 0x20000 0x40000
45 ubootenv_add_uci_config
/dev
/mtd1
0x80000 0x20000 0x40000
47 # board boots from microSD
48 ubootenv_add_uci_config
/dev
/mmcblk0
0xb1400 0x20000
49 ubootenv_add_uci_config
/dev
/mmcblk0
0xd1400 0x20000
52 toradex
,apalis_imx6q-eval |\
53 toradex
,apalis_imx6q-ixora |\
54 toradex
,apalis_imx6q-ixora-v1.1
)
55 ubootenv_add_uci_config $
(bootdev_from_uuid
)boot0
-0x2200 0x2000 0x200 10
57 wand
,imx6dl-wandboard
)
58 ubootenv_add_uci_config
"/dev/mmcblk0" "0x60000" "0x2000" "0x2000"
63 config_foreach ubootenv_add_app_config ubootenv