summaryrefslogtreecommitdiff
path: root/target/linux/ath25
Commit message (Collapse)AuthorAgeFilesLines
* kernel: cleanup CONFIG_SCHED_HRTICKStijn Tintel2017-06-291-1/+0
| | | | | | | Remove CONFIG_SCHED_HRTICK from target configs, as it was added to the generic config in b47fd7656336162360ebf66147326763ddae3f8d. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* ath25: add missed HAVE_IRQ_EXIT_ON_IRQ_STACKSergey Ryazanov2017-06-071-0/+1
| | | | | | | Add HAVE_IRQ_EXIT_ON_IRQ_STACK kernel configuration symbol that was missed during backporting separate IRQ stack for MIPS from upstream. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
* linux/ath25: fixing some tabs and whitespaceSven Roederer2017-06-071-3/+3
| | | | Signed-off-by: Sven Roederer <devel-sven@geroedel.de>
* ath25: drop 4.4 kernel supportSergey Ryazanov2017-06-0712-3923/+0
| | | | Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
* ath25: switch to 4.9 kernelSergey Ryazanov2017-06-071-1/+1
| | | | Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
* ath25: 4.9: fix Ethernet link autonegotiationSergey Ryazanov2017-06-072-116/+50
| | | | | | | | | | | | | | Drop the own PHY polling function and switch to using the kernel PHY state machine. This change allows driver to work correctly with devices that do not support PHY behaviour but whose driver could emulate autonegotiation completion (e.g. MV88E6060 and IP17xx switches). NB: earlier this driver rely on flaws in PHY core code and could use PHY device without really starting it. But now (at least in kernel 4.9) this trick no more work and network interface could stuck in not-running state. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
* ath25: 4.9: fix Ethernet tiny issuesSergey Ryazanov2017-06-071-15/+7
| | | | | | | | | | | | Few tiny fixes for issues caused by changes in the upstream: - do not touch PHY IRQ array (core code initializes it itself now) - add missed SET_NETDEV_DEV() invocation (causes segfault during phy connection) - use phy API inside the MDIO probe function instead of direct field access (consider phy structure changes in upstream and prevent similar issues in the future) Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
* ath25: 4.9: fix GPIO compile issuesSergey Ryazanov2017-06-072-2/+2
| | | | | | Consider renaming the dev field to parent in the upstream. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
* ath25: add preliminary kernel 4.9 supportSergey Ryazanov2017-06-0712-0/+3924
| | | | | | Copy and refresh patches and config from 4.4 Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
* kernel: backport MIPS changes introducing a separate IRQ stackFelix Fietkau2017-01-151-1/+1
| | | | | | | | Prevents crashes when IRQs arrive when the current kernel stack context already contains deeply nested function calls, e.g. when stacking lots of network devices on top of each other Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: update kernel 4.4 to version 4.4.20Álvaro Fernández Rojas2016-09-152-2/+2
| | | | | | | Refresh patches for all targets that support kernel 4.4. Compile-tested on brcm2708 only. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* build: fix subtarget descriptionsFelix Fietkau2016-09-041-4/+4
| | | | | | Move Target/Description above the target.mk include Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ath25: fix duplicate LZMA compressionJo-Philipp Wich2016-08-091-4/+15
| | | | | | | | | | | The conversion to the new image building code accidentally caused the kernel image to get compressed twice, leading to boot failures when kernel and rootfs are flashed separately. The sysupgrade images have been unaffected by this. Also restore the elf kernel build artifact while we're at it. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* image: add a helper variable for getting kernel/rootfs from within image ↵Felix Fietkau2016-07-311-6/+6
| | | | | | Build/* templates Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ath25: rework image buildingJo-Philipp Wich2016-07-291-41/+27
| | | | | | | | * Remove legacy macros * Emit generic LZMA and Gzip kernel images from the combined device recipe * Rename combined device to generic Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* ath25: add the small_Flash featureJohn Crispin2016-06-131-1/+1
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* kernel: update kernel 4.4 to version 4.4.13Álvaro Fernández Rojas2016-06-121-1/+1
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* ath25: remove target specific /etc/config/systemJo-Philipp Wich2016-06-081-9/+0
| | | | | | | The system config file shipped by ath25 is now equivalent to the generic one in base files, so drop the target specific copy. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* ath25: drop target specific button hotplugJo-Philipp Wich2016-06-082-38/+0
| | | | | | | | | | | The ath25 target has its own unique button action config support, which is not used anywhere except for two example logger statements in UCI. Since there is a generic /etc/rc.button facility since some time already there is no reason at all to keep this target specific mechanism anymore, so simply drop it. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* treewide: replace nbd@openwrt.org with nbd@nbd.nameFelix Fietkau2016-06-075-8/+8
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ath25: update kernel from 3.18 to 4.4Russell Senior2016-05-2318-2934/+149
| | | | | | | | | | | | | | | Summary of changes: * moved config-3.18 to config-4.4 and patches-3.18 to patches-4.4 * removed most of the first two patches, that seem to be upstream already * changed deprecated/removed IRQF_DISABLED to zero following examples in upstream kernel patches * added config line to disable device-tree to satisfy kernel configuration * add new image generation code Build tested and run tested on an Accton MR3201A. Signed-off-by: Russell Senior <russell@personaltelco.net> Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> Signed-off-by: John Crispin <john@phrozen.org>
* 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> SVN-Revision: 47867
* ath25: switch from uci-defaults to board.dJo-Philipp Wich2015-12-044-56/+41
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47756
* ath25: disable the openwrt commandline hackJonas Gorski2015-08-301-1/+0
| | | | | | | | We don't make use of it, so no need to have it enabled. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46755
* build: Prevent more gzip timestampsJohn Crispin2015-07-141-1/+1
| | | | | | | | | To improve reproducibility, prevent the inclusion of timestamps in the gzip header. Signed-off-by: Reiner Herrmann <reiner@reiner-h.de> SVN-Revision: 46361
* ath25: set myself as maintainerFelix Fietkau2015-03-131-0/+1
| | | | | | Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 44737
* Rename 'atheros' target to 'ath25'Felix Fietkau2015-03-1323-0/+7073
Rename 'atheros' target to more precise 'ath25'. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 44736