sunxi: 6.6: set testing kernel
[openwrt/openwrt.git] / package / boot / uboot-envtools / files / kirkwood
1 #
2 # Copyright (C) 2012-2014 OpenWrt.org
3 #
4
5 [ -e /etc/config/ubootenv ] && exit 0
6
7 touch /etc/config/ubootenv
8
9 . /lib/uboot-envtools.sh
10 . /lib/functions.sh
11
12 board=$(board_name)
13
14 case "$board" in
15 checkpoint,l-50|\
16 cloudengines,pogoe02|\
17 cloudengines,pogoplugv4|\
18 globalscale,sheevaplug|\
19 iom,ix2-200|\
20 iom,ix4-200d|\
21 linksys,e4200-v2|\
22 linksys,ea4500|\
23 netgear,readynas-duo-v2|\
24 raidsonic,ib-nas62x0|\
25 seagate,dockstar|\
26 zyxel,nsa310b|\
27 zyxel,nsa310s|\
28 zyxel,nsa325)
29 ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x20000" "0x20000"
30 ;;
31 linksys,ea3500)
32 ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x4000" "0x4000"
33 ;;
34 esac
35
36 config_load ubootenv
37 config_foreach ubootenv_add_app_config ubootenv
38
39 exit 0