aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/kirkwood/base-files/etc/uci-defaults
Commit message (Collapse)AuthorAgeFilesLines
* treewide: revert sysupgrade adjustments for early DSA-adoptersAdrian Schmutzler2020-09-081-16/+0
| | | | | | | | | | | | | | | | | The uci-default mechanism to update the compat-version was only meant for early DSA-adopters, which should have updated by now. Remove this workaround again in order to prevent the intended experiences for all the other people. This reverts: a9703db72030 ("mvebu: fix sysupgrade experience for early DSA-adopters") 86c89bf5e8f5 ("kirkwood: fix sysupgrade experience for early DSA-adopters") Partially reverted: 1eac573b5304 ("ramips: mt7621: implement compatibility version for DSA migration") Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* kirkwood: fix sysupgrade experience for early DSA-adoptersAdrian Schmutzler2020-08-081-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conceptually, the compat-version during sysupgrade is meant to describe the config. Therefore, if somebody starts with a device on 19.07 and swconfig, and that person does a forceful upgrade into a DSA-based firmware without wiping his/her config, then the local compat-version should stay at 1.0 according to the config present (and not get updated). However, this poses a problem for those people that early-adopted DSA in master, as they already have adjusted their config for DSA, but it still is "1.0" as far as sysupgrade is concerned. This can be healed by a simple uci set system.@system[0].compat_version="1.1" uci commit system But this needs to be applied _after_ the upgrade (as the "old" fwtool on the old installation does not know about compat_version) and it requires access via SSH (i.e. no pure GUI solution is available for this group of people, apart from wiping their config _again_ for no technical reason). Despite, the situation will not become obvious to those just upgrading via GUI, they will just have the experience of a "broken upgrade". This is a conflict which cannot be resolved by achieving both goals, we have to decide to either keep the strict concept or improve the situation for early adopters. In this patch, we address the issue by providing a uci-defaults script that will raise the compat_version for _all_ people upgrading into a 1.1 image, no matter whether they have reset config or not. The idea is to implement this as a _temporary_ solution, so early adopters can upgrade into the new mechanism without issues, and after a few weeks/months we could remove the uci-defaults script again. If we e.g. remove the script just before 20.xx.0-rc1, early adopters should have moved on by then, and existing stable users would still get the intended experience. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* kirkwood: switch from uci-defaults to board.dJo-Philipp Wich2015-12-032-115/+0
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47733
* kirkwood: consistently use engineering board namesLuka Perkov2015-11-102-7/+7
| | | | | | Signed-off-by: Claudio Leite <leitec@staticky.com> SVN-Revision: 47430
* kirkwood: pogo_e02: use mainline led definitionsLuka Perkov2015-11-041-2/+2
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 47385
* kirkwood: add initial support for NSA310sLuka Perkov2015-11-011-0/+1
| | | | | | | Signed-off-by: Tony Dinh <mibodhi@gmail.com> Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 47330
* kirkwood: add support for the Seagate GoflexHomeLuka Perkov2015-05-082-0/+2
| | | | | | | | Add Support for the Seagate GoflexHome <http://wiki.openwrt.org/toh/seagate/goflexhome> Signed-off-by: L. D. Pinney <ldpinney@gmail.com> SVN-Revision: 45647
* kirkwood: Seagate GoFlex NetLuka Perkov2015-02-122-9/+8
| | | | | | | | | Add GoFlex Net "Board Name" , set and cleanup network default and LEDs. Remove kmod-rtc-marvell from default packages, as the GoFlex net does not have a RTC. Signed-off-by: L. D. Pinney <ldpinney@gmail.com> SVN-Revision: 44422
* kirkwood: drop port-based VLAN setupLuka Perkov2015-01-251-19/+6
| | | | | | | | | | | | | | | | | Using port-based VLANs depends on a non-standard swconfig parameter, which compilcates things like LuCI that don't know about it. This patch changes the default to use 802.1q VLANs internally in the switch, but without tagging packets since we have two Ethernet ports. iperf3 tests indicate no difference in performance versus port-based VLANs when the CPU port is not using tags. Signed-off-by: Claudio Leite <leitec@staticky.com> SVN-Revision: 44122
* kirkwood: enable switch on Linksys EA3500Luka Perkov2015-01-181-0/+3
| | | | | | Signed-off-by: Claudio Leite <leitec@staticky.com> SVN-Revision: 44036
* target: kirkwood: fix leds defaults configJohn Crispin2015-01-171-11/+11
| | | | | | | | Fix missing parameters in 01_leds Signed-off-by: Gerald Kerma <dreagle@doukki.net> SVN-Revision: 44007
* kirkwood: add *plugs to uci-defaultsLuka Perkov2014-12-192-0/+14
| | | | | | | | | | | | | Set defaults health led to a timer heartbeet (200/800) and populate network for: - GuruplugServerPlus - SheevaPlug - SheevaPlug with eSATA Signed-off-by: Gerald Kerma <dreagle@doukki.net> SVN-Revision: 43752
* kirkwood: set default EA4500 switch configLuka Perkov2014-12-181-0/+16
| | | | | | | | | | | This maps the LAN ports to eth0 and WAN port to eth1. Since there are two interfaces the 802.1q VLAN mode is unnecessary and left disabled. Port-based VLANs are used instead. Signed-off-by: Claudio Leite <leitec@staticky.com> SVN-Revision: 43750
* kirkwood: add support for Linksys EA3500Luka Perkov2014-11-102-0/+6
| | | | | | | | http://wiki.openwrt.org/toh/linksys/ea3500 Signed-off-by: Dan Walters <dan@walters.io> SVN-Revision: 43230
* kirkwood: move kirkwood.sh to /lib/ for consistencyLuka Perkov2014-06-262-2/+2
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 41338
* kirkwood: base-files: use /lib/functions/kirkwood.shLuka Perkov2014-06-242-13/+23
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 41336
* kirkwood: add support for Linksys EA4500Luka Perkov2014-05-282-2/+9
| | | | | | | Support is added only for kernel 3.14 - do not show it until the switch is made. Following uboot env changes are needed to make it work on stock uboot:
* kirkwood: update support for dockstarLuka Perkov2014-02-151-3/+3
| | | | | | | | | | | | | | | | The board is optimized for ubi(fs) and boots OpenWrt without changes to uboot environment if OpenWrt's uboot package is used. In order to flash the image run following commands in uboot shell: nand erase 0x200000 0xfe00000 ubi part root ; ubi remove rootfs ; ubi create rootfs tftpboot 0x800000 openwrt-kirkwood-dockstar-rootfs.ubifs ; ubi write 0x800000 rootfs ${filesize} ; reset Signed-off-by: Luka Perkov <luka@openwrt.org> Tested-by: Alexander Couzens <lynxis@fe80.eu> CC: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 39593
* kirkwood: update support for iconnectLuka Perkov2014-02-151-1/+3
| | | | | | | | | | | | | | | | | | Previous patch was pushed due to false user report. While at it fix alphabetic ordering. The board is optimized for ubi(fs) and boots OpenWrt without changes to uboot environment if OpenWrt's uboot package is used. In order to flash the image run following commands in uboot shell: nand erase 0x200000 0x1fe00000 ubi part root ; ubi remove rootfs ; ubi create rootfs tftpboot 0x800000 openwrt-kirkwood-iconnect-rootfs.ubifs ; ubi write 0x800000 rootfs ${filesize} ; reset Signed-off-by: Luka Perkov <luka@openwrt.org> CC: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 39591
* kirkwood: add userland support for Pogoplug E02Luka Perkov2013-10-312-0/+7
| | | | | | | | | This patch adds the userland support for the Pogoplug E02 by Cloud Engines, Inc. Signed-off-by: Felix Kaechele <heffer@fedoraproject.org> SVN-Revision: 38631
* kirkwood: upgrade to 3.10.15Luka Perkov2013-10-142-16/+8
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 38402
* Adapt default network configuration for IPv6Steven Barth2013-04-091-0/+4
| | | | SVN-Revision: 36278
* all targets: use numerically prefixed uci-defaults file names to better ↵Jo-Philipp Wich2013-01-182-0/+0
| | | | | | control order of execution SVN-Revision: 35217
* kirkwood: fix typo in uci-defaults/ledsLuka Perkov2012-06-131-1/+1
| | | | | | Signed-off-by: Martin Mueller <mm@sig21.net> SVN-Revision: 32343
* kirkwood: use the generic uci-default functions for initial LED setupGabor Juhos2012-05-291-38/+4
| | | | SVN-Revision: 31994
* kirkwood: use uci-defaults to configure different boardsGabor Juhos2012-05-292-0/+99
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net> SVN-Revision: 31990