aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/arch/mips/ath79/mach-rbsxtlite.c
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: fix RouterBOARD Power LED default stateSergey Ryazanov2018-11-261-1/+1
| | | | | | | | | | | | | | RouterBOARD(s) bootloader actully turns Power LED off just before it starts the kernel. So we need to set the LED default status to On instead of Keep in order to keep LED on during kernel boot. This change fixes Power LED off during the kernel boot on the RB91x and SXT Lite boards. Fixes: 6cad8ee0bd ("ar71xx: keep the RouterBOARD Power LED in On state") CC: Mathias Kresin <dev@kresin.me> Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
* ar71xx: add missing include for checking kernel versionKoen Vandeputte2018-08-221-0/+1
| | | | | | | | | | | | | | | | | | Fixes these build errors: arch/mips/ath79/mach-rb2011.c:20:5: error: "LINUX_VERSION_CODE" is not defined, evaluates to 0 [-Werror=undef] #if LINUX_VERSION_CODE < KERNEL_VERSION(4,14,0) ^~~~~~~~~~~~~~~~~~ arch/mips/ath79/mach-rb2011.c:20:26: error: "KERNEL_VERSION" is not defined, evaluates to 0 [-Werror=undef] #if LINUX_VERSION_CODE < KERNEL_VERSION(4,14,0) ^~~~~~~~~~~~~~ arch/mips/ath79/mach-rb2011.c:20:40: error: missing binary operator before token "(" #if LINUX_VERSION_CODE < KERNEL_VERSION(4,14,0) ^ Fixes: 318e19ba6755 ("ar71xx: add v4.14 support") Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* ar71xx: add v4.14 supportJohn Crispin2018-08-221-0/+4
| | | | | | adds v4.14 patches for testing but leaves v4.9 as default for now. Signed-off-by: John Crispin <john@phrozen.org>
* ar71xx: Add kernel 4.9 supportHauke Mehrtens2017-10-111-0/+58
| | | | | | | | | | | | | This add support for kernel 4.9 to the ar71xx target. It was compile tested with the generic, NAND and mikrotik subtarget. Multiple members of the community tested it on their boards and did not report any major problem so far. Especially the NAND part received some changes to adapt to the new kernel APIs. The serial driver hack used for the Arduino Yun was not ported because the kernel changed there a lot. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* ar71xx: keep the RouterBOARD Power LED in On stateSergey Ryazanov2017-07-201-0/+1
| | | | | | | | | | It is quite unexpected behaviour when the Power LED switches off as soon as the kernel starts booting. So set the default state to 'Keep' for the Power LEDs of all RouterBOARDs (e.g. RB91x, SXT Lite series, etc.). Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> [switch the default state to keep instead of on] Signed-off-by: Mathias Kresin <dev@kresin.me>
* ar71xx: fix machine name for several devicesPiotr Dymacz2017-03-121-2/+2
| | | | | | Be consistent with form and format of the vendor name. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* ar71xx: convert mikrotik routerboard support to UBIFelix Fietkau2017-01-161-1/+1
| | | | | | | | | | Remove the wget2nand script, drop the need for manual installation, use sysupgrade instead. There are now two different NAND images, one for 64 MiB flashes, the other for >= 128 MiB Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: Add support for MikroTik RouterBOARD SXT LiteJohn Crispin2014-07-011-0/+238
This patch adds support for the MikroTik RouterBOARD SXT Lite. The new RB911L series is also supported as a result. v2 of this patch fixes the wmac offset to match what is on the sticker. v3 refreshes the patch against r41148 and defines the power led as the status led in diag.sh v4 refreshes the patch against r41353 and fixes the patch path issue to make git am work correctly v5 selects the kernel config option in the mikrotik profile rather than in the main ar71xx config Signed-off-by: Matthew Reeve <mreeve@tenxnetworks.com> Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41450