aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/adm5120/base-files/lib
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* 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
* sysupgrade works on the wp54Travis Kemen2011-03-211-1/+1
| | | | SVN-Revision: 26257
* 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-252-0/+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
* get rid of $Id$ - it has never helped us and it has broken too many patches ;)Felix Fietkau2009-04-171-1/+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
* get rid of per-profile base-filesGabor Juhos2007-09-291-0/+50
SVN-Revision: 9069