aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/kirkwood/base-files
Commit message (Collapse)AuthorAgeFilesLines
* krikwood: Make Iconnect image use new ubi format styleLuka Perkov2016-06-191-2/+4
| | | | | | | | | To flash first time follow instructions in commit: "kirkwood/dockstar: use ubi(kernel, squashfs, ubifs) images" Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49370 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kirkwood/dockstar: use ubi(kernel, squashfs, ubifs) imagesLuka Perkov2016-03-141-0/+14
| | | | | | | | | | | | | | | | | | | The new image requires `bootz` because of devicetree appending. To flash a new image boot initramfs: tftpboot 0x800000 openwrt-kirkwood-dockstar-initramfs-kernel.bin bootz 0x800000 # detach if already attached ubidetach -p /dev/$(grep ubi /proc/mtd|awk -F: '{print $1}') # scp openwrt-kirkwood-dockstar-squashfs-factory.bin /tmp ubiformat -f /tmp/openwrt-kirkwood-dockstar-squashfs-factory.bin # attach is important to resize rootfs_data otherwise it wont boot ubiattach -p /dev/$(grep ubi /proc/mtd|awk -F: '{print $1}') Signed-off-by: Alexander Couzens <lynxis@fe80.eu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49010 3c298f89-4303-0410-b956-a3cf2f4a3e73
* all: drop old uci-defaults.shJo-Philipp Wich2015-12-112-2/+2
| | | | | | | | | Replace former uci-defaults.sh implementation with the uci-defaults-new.sh one and update all users accordingly. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47867 3c298f89-4303-0410-b956-a3cf2f4a3e73
* all: remove redundant board.d/00_model filesJo-Philipp Wich2015-12-041-13/+0
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47753 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kirkwood: add missing board_config_flush(), remove dead codeJo-Philipp Wich2015-12-031-20/+1
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47745 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kirkwood, ipq806x: fix board.d script permissionsJo-Philipp Wich2015-12-033-0/+0
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47735 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kirkwood: switch from uci-defaults to board.dJo-Philipp Wich2015-12-033-20/+33
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47733 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kirkwood: add diag LED on Linksys EA3500Luka Perkov2015-11-101-0/+3
| | | | | | Signed-off-by: Claudio Leite <leitec@staticky.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47435 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kirkwood: support sysupgrade on Linksys EA[34]500Luka Perkov2015-11-102-0/+111
| | | | | | | | | | This automatically writes to the alternate firmware partition (on Linksys's dual firmware layout) using code borrowed from the WRT1900AC port. Signed-off-by: Claudio Leite <leitec@staticky.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47434 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kirkwood: support Linksys boot counter on EA[34]500Luka Perkov2015-11-101-0/+20
| | | | | | | | | | | | | This is done with existing code from the WRT1900AC port. It makes sure the "auto_recovery" bootloader option is set, and resets the s_env boot counter after a successful boot. This gives users without a serial console connection some measure of safety. Signed-off-by: Claudio Leite <leitec@staticky.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47433 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kirkwood: consistently use engineering board namesLuka Perkov2015-11-104-12/+12
| | | | | | Signed-off-by: Claudio Leite <leitec@staticky.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47430 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kirkwood: pogo_e02: use mainline led definitionsLuka Perkov2015-11-041-2/+2
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47385 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kirkwood: add initial support for NSA310sLuka Perkov2015-11-012-0/+5
| | | | | | | Signed-off-by: Tony Dinh <mibodhi@gmail.com> Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47330 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kirkwood: add support for the Seagate GoflexHomeLuka Perkov2015-05-084-0/+7
| | | | | | | | Add Support for the Seagate GoflexHome <http://wiki.openwrt.org/toh/seagate/goflexhome> Signed-off-by: L. D. Pinney <ldpinney@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45647 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kirkwood: Seagate GoFlex NetLuka Perkov2015-02-124-9/+17
| | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44422 3c298f89-4303-0410-b956-a3cf2f4a3e73
* targets: base-files: diag.sh does not need to be executableLuka Perkov2015-02-071-0/+0
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44305 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44122 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kirkwood: enable switch on Linksys EA3500Luka Perkov2015-01-181-0/+3
| | | | | | Signed-off-by: Claudio Leite <leitec@staticky.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44036 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44007 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43752 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kikwood: populate kirkwood.sh with new boardsLuka Perkov2014-12-181-0/+12
| | | | | | | | | | - SheevaPlug - SheevaPlug with eSATA - GuruplugServerPlus Signed-off-by: Gerald Kerma <dreagle@doukki.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43751 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43750 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add "preinit_regular" diag.sh set_state argumentJohn Crispin2014-12-151-0/+3
| | | | | | | | | | | | This new argument is used right after starting regular preinit (which happens if failsafe wasn't triggered). The main purpose of "preinit" argument is to indicate that failsafe can be triggered, however we were missing a way to inform user that we don't wait for a trigger anymore. With this change it's clear when failsafe mode can be triggered. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43715 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kirkwood: add a diag scriptJohn Crispin2014-12-071-0/+29
| | | | | | | | Currently only Linksys EA4500 is supported. Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43543 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kirkwood: add support for Linksys EA3500Luka Perkov2014-11-103-0/+10
| | | | | | | | http://wiki.openwrt.org/toh/linksys/ea3500 Signed-off-by: Dan Walters <dan@walters.io> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43230 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kirkwood: move kirkwood.sh to /lib/ for consistencyLuka Perkov2014-06-263-2/+2
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41338 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kirkwood: base-files: use /lib/functions/kirkwood.shLuka Perkov2014-06-242-13/+23
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41336 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kirkwood: base-files: add script to detect board name and populate /tmp/sysinfoLuka Perkov2014-06-241-0/+58
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41335 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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: --- setenv owrt_bootargs_root ubi.mtd=3 root=ubi0:rootfs rootfstype=ubifs rw setenv owrt_mtdparts mtdparts=orion_nand:0x80000@0x0(uboot),0x20000@0x80000(uboot_env),0x200000@0x200000(kernel),-@0x400000(root) setenv owrt_boot nand read.e \${loadaddr} 0x200000 0x200000 \; setenv bootargs \$(console) \$(owrt_mtdparts) \${owrt_bootargs_root} \; bootm \${loadaddr} setenv bootcmd run owrt_boot saveenv --- Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40871 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39593 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39591 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38631 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kirkwood: upgrade to 3.10.15Luka Perkov2013-10-143-21/+8
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38402 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Adapt default network configuration for IPv6Steven Barth2013-04-091-0/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36278 3c298f89-4303-0410-b956-a3cf2f4a3e73
* all targets: use numerically prefixed uci-defaults file names to better ↵Jo-Philipp Wich2013-01-182-0/+0
| | | | | | control order of execution git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35217 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kirkwood: fix typo in uci-defaults/ledsLuka Perkov2012-06-131-1/+1
| | | | | | Signed-off-by: Martin Mueller <mm@sig21.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32343 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kirkwood: use the generic uci-default functions for initial LED setupGabor Juhos2012-05-291-38/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31994 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kirkwood: use uci-defaults to configure different boardsGabor Juhos2012-05-293-0/+104
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31990 3c298f89-4303-0410-b956-a3cf2f4a3e73