summaryrefslogtreecommitdiff
path: root/target/linux/adm5120/base-files
Commit message (Collapse)AuthorAgeFilesLines
* target/linux: drop anything not on v4.9 or v4.14John Crispin2018-05-248-187/+0
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* treewide: remove obsolete sysupgrade watchdog killMathias Kresin2018-02-161-9/+0
| | | | | | | | | The watchdog kill command was meant for busybox watchdog. Busybox watchdog was replaced by the procd watchdog mid 2013 with commit df7ce9301a25 ("busybox: disable the watchdog utility by default"), which makes the kill command obsolete since quite some time. Signed-off-by: Mathias Kresin <dev@kresin.me>
* treewide: populate boardname and model earlierMathias Kresin2017-07-151-0/+0
| | | | | | | | | | | | | For targets using the generic board detection and board specific settings in diag.sh, the board name is still unset at the time the set_state() provided by diag.sh is called by 10_indicate_preinit. Change the execution order to ensure the boardname is populated before required the first time. Do the target specific board detection as early as possible, directly followed by the generic one to allow a seamless switch to the generic function for populating /tmp/sysinfo/. Signed-off-by: Mathias Kresin <dev@kresin.me>
* adm5120: remove target specific /etc/config/systemJo-Philipp Wich2016-06-081-40/+0
| | | | | | | Now that deviations to the default /etc/config/system are registered via board.d we can drop the target specific copy. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* adm5120: convert LED setup to board.dJo-Philipp Wich2016-06-081-0/+17
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* image / basefiles: make console password configurableJohn Crispin2016-04-181-3/+3
| | | | | Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com> Signed-off-by: John Crispin <john@phrozen.org>
* targets: base-files: diag.sh does not need to be executableLuka Perkov2015-02-071-0/+0
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 44305
* 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> SVN-Revision: 43715
* network: Unbind DHCPv6 from underlying interfacesSteven Barth2014-10-081-1/+1
| | | | | | | | | This allows IPv6 to set up without IPv4 being up thus IPv6-only or IPv6+DS-Lite working with the default config. Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 42848
* target/linux/*/base-files/lib/upgrade/platform.sh - wrong check for ARGCJohn Crispin2014-06-021-1/+1
| | | | | | | | | | | | | | | | | | | ARGC is a 'C-ism', but not known/valid in shell-syntax - insert the correct var $# (=number of args) here. under normal conditions this had no impact, but we should at least correct it. the error was observable like this: root@box:~ [ -e "/etc/functions.sh" ] && . /etc/functions.sh root@box:~ [ -e "/lib/functions.sh" ] && . /lib/functions.sh root@box:~ . /lib/upgrade/platform.sh root@box:~ . /lib/upgrade/common.sh root@box:~ platform_check_image /tmp/myfirmware.bin ash: bad number root@box:~ echo $? 0 Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com> SVN-Revision: 40915
* base-files: input/button drivers get loaded before preinit by procdJohn Crispin2013-06-211-12/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37000
* base-files: diag does not need to insmod any drivers, procd already did it ↵John Crispin2013-06-211-1/+0
| | | | | | | | for us Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 36999
* Change default IPv6 config to enable DHCPv6-PDSteven Barth2013-04-221-1/+1
| | | | SVN-Revision: 36384
* Adapt default network configuration for IPv6Steven Barth2013-04-091-0/+12
| | | | SVN-Revision: 36278
* adm5120: migrate to common led helper functionsGabor Juhos2013-02-181-32/+4
| | | | | | | | | [juhosg: migrate to status_led_blink_{preinit,failsafe} helpers] Signed-off-by: Michael Heimpold <mhei@heimpold.de> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35649
* do no longer rename amba-pl010 serial devices namesFlorian Fainelli2012-12-031-0/+5
| | | | | | | | | | | Back in the days when we could not override /etc/inittab, it made a lot of sense to rename ttyAM to ttyS since this was the only supported serial device(s), we can now just put in an appropriate /etc/inittab file now. Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 34469
* base-files, target: assign name to system timeserver section, makes it ↵Jo-Philipp Wich2011-11-101-1/+1
| | | | | | easier to set servers on the cli SVN-Revision: 28933
* add timeserver config to target specific system configs as wellJo-Philipp Wich2011-11-041-2/+5
| | | | SVN-Revision: 28750
* sysupgrade works on the wp54Travis Kemen2011-03-211-1/+1
| | | | SVN-Revision: 26257
* add default network/leds config (#6759)Florian Fainelli2011-01-272-0/+64
| | | | | | Signed-off-by: Alexey Torkhov <atorkhov@gmail.com> SVN-Revision: 25171
* add support for generic eb214a, thanks cezary (#7027)Florian Fainelli2010-07-181-0/+4
| | | | SVN-Revision: 22275
* adm5120: Added preinit script to set vars based on cpuinfo during preinit ↵Daniel Dickinson2010-05-301-0/+7
| | | | | | main; This fixes a bug in which the per-board vars were not set due to cpuinfo not being mounted when the adm5120.sh was run SVN-Revision: 21633
* adm5120: Fixed name of preinit_iface scriptletDaniel Dickinson2010-05-301-0/+0
| | | | SVN-Revision: 21632
* preinit: fix mixup between led and reset button enable on some platforms ↵Felix Fietkau2010-01-281-2/+2
| | | | | | (thx, cshore) SVN-Revision: 19370
* add preinit modularization work by Daniel Dickinson (cshore)Felix Fietkau2010-01-253-16/+21
| | | | SVN-Revision: 19331
* adm5120: improve sysupgrade supportGabor Juhos2010-01-031-6/+25
| | | | SVN-Revision: 19016
* adm5120: fix board detectionGabor Juhos2010-01-031-1/+1
| | | | SVN-Revision: 19015
* adm5120: add kmod-leds-gpio and kmod-ledtrig-adm5120-switch to the default ↵Gabor Juhos2010-01-021-0/+1
| | | | | | packages SVN-Revision: 19001
* get rid of $Id$ - it has never helped us and it has broken too many patches ;)Felix Fietkau2009-04-172-2/+0
| | | | SVN-Revision: 15242
* sysupgrade for adm5120Felix Fietkau2008-09-251-0/+25
| | | | | | | | | | Sysupgrade adapted from the bcm47xx one. Add a hook to disable watchdog before upgrading. Signed-off-by: Frédéric Moulins <ffrrrr@gmail.com> SVN-Revision: 12694
* add initial failsafe supportGabor Juhos2008-06-081-0/+16
| | | | SVN-Revision: 11403
* get rid of per-profile base-filesGabor Juhos2007-09-292-0/+0
| | | | SVN-Revision: 9069
* add initial diagnostic supportGabor Juhos2007-09-272-0/+98
| | | | SVN-Revision: 9048
* major target cleanup. it is now possible to have subtargets that can ↵Felix Fietkau2007-09-081-64/+0
| | | | | | override many target settings, including arch - merge adm5120, adm5120eb. target profiles still need to be adapted for subtargets SVN-Revision: 8694
* strip the kernel version suffix from target directories, except for brcm-2.4 ↵Felix Fietkau2007-09-061-0/+64
(the -2.4 will be included in the board name here). CONFIG_LINUX_<ver>_<board> becomes CONFIG_TARGET_<board>, same for profiles. SVN-Revision: 8653