aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/octeon/base-files
Commit message (Collapse)AuthorAgeFilesLines
* octeon: remove redundant network setupAdrian Schmutzler2020-01-181-4/+0
| | | | | | No need to have specific setup when default case does the same. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* octeon: fix sysupgradeStijn Tintel2019-11-301-2/+2
| | | | | | | | Sysupgrade was failing due to incorrect replacement of backticks: /sbin/sysupgrade: /lib/upgrade/platform.sh: line 101: syntax error: missing '))' Fixes: 0bbfc3dff719 ("octeon: replace backticks by $(...)") Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* octeon: replace backticks by $(...)Adrian Schmutzler2019-09-291-2/+2
| | | | | | | | This replaces deprecated backticks by more versatile $(...) syntax. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> [decapitalized patch subject at submitter's request] Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
* treewide: use new procd sysupgrade $UPGRADE_BACKUP variableRafał Miłecki2019-09-051-1/+1
| | | | | | | | | | It's a variable set by procd that should replace hardcoded /tmp/sysupgrade.tgz. This change requires the most recent procd with the commit 0f3c136 ("sysupgrade: set UPGRADE_BACKUP env variable"). Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* treewide: when copying a backup file always specify dest nameRafał Miłecki2019-09-051-1/+1
| | | | | | | $CONF_TAR shouldn't be assumed to always point to the sysupgrade.tgz. This change makes code more generic and allows refactoring $CONF_TAR. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* treewide: don't hardcode "sysupgrade.tgz" file nameRafał Miłecki2019-09-051-1/+2
| | | | | | | | 1) Add BACKUP_FILE and use it when copying an archive to be restored after sysupgrade (on the next preinit). 2) Use CONF_TAR for copying backup prepared by the /sbin/sysupgrade Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* octeon: fix typo in platform.shHans Dedecker2019-01-121-1/+1
| | | | | | Fix upgrade typo Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* octeon: Evaluate board names in alphabetical orderJonathan Thibault2018-12-061-5/+5
| | | | Signed-off-by: Jonathan Thibault <jonathan@navigue.com>
* treewide: use only board_name function to get nameMathias Kresin2017-07-153-7/+7
| | | | | | | | | | | | Do not parse /tmp/sysinfo/board_name, /proc/cpuinfo or the device tree compatible string directly. Always use the board_name function to get the board name. The admswconfig package still reads /proc/cpuinfo directly. The code looks somehow broken and the whole adm5120 which uses this package looks unmaintained. Leave it as it is for now. 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>
* octeon: only copy sysupgrade file if presentJohn Crispin2017-02-151-1/+1
| | | | | | | | | | this caused 'mv: can't rename '/mnt/sysupgrade.tgz': No such file or directory' when running sysupgrade -n Signed-off-by: John Crispin <john@phrozen.org>
* octeon: get rid of /lib/functions/octeon.sh hackery, use sysinfo directlyFelix Fietkau2016-01-295-64/+36
| | | | | | | | Fixes sysupgrade Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48558
* all: drop old uci-defaults.shJo-Philipp Wich2015-12-111-1/+1
| | | | | | | | | 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> SVN-Revision: 47867
* all: remove redundant board.d/00_model filesJo-Philipp Wich2015-12-041-13/+0
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47753
* octeon: switch from uci-defaults to board.dJo-Philipp Wich2015-12-033-31/+38
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47734
* octeon: add er8 sysupgrade supportJohn Crispin2015-03-201-23/+38
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 44902
* octeon: sysupgrade: support config restore on ERLJohn Crispin2014-12-052-4/+25
| | | | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> SVN-Revision: 43524
* octeon: sysupgrade: rename old kernel after mounting /bootJohn Crispin2014-12-051-3/+4
| | | | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> SVN-Revision: 43523
* octeon: sysupgrade: fix test for rootfs deviceJohn Crispin2014-12-051-1/+1
| | | | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> SVN-Revision: 43522
* octeon: sysupgrade: support config restoreJohn Crispin2014-12-051-0/+9
| | | | SVN-Revision: 43518
* octeon: sysupgrade: get rootfsdev from kernel cmdlineJohn Crispin2014-12-051-2/+24
| | | | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> SVN-Revision: 43517
* octeon: add detection for edgerouter and edgerouter-proJohn Crispin2014-07-271-0/+8
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41844
* octeon: add sysupgrade support for the erliteJohn Crispin2014-06-201-0/+54
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41286
* octeon: add basic board detectionJohn Crispin2014-06-193-18/+73
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41274
* octeon: add support for the octeon mips64 SoCJohn Crispin2013-08-041-0/+18
| | | | | | | | This is the SoC used be the ESR Lite made by ubnt.com Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37684
* octeon: R.I.P.Gabor Juhos2013-02-041-18/+0
| | | | | | | | It is broken since ~8 months and nobody takes care of that. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35486
* rename cavium-octeon to octeonImre Kaloz2009-06-021-0/+18
SVN-Revision: 16292