aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
Commit message (Collapse)AuthorAgeFilesLines
* kernel: update kernel 4.4 to 4.4.59Hauke Mehrtens2017-04-025-37/+7
| | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* ramips: fix Linksys RE6500 switch port mappingJo-Philipp Wich2017-03-071-1/+4
| | | | | | | | Properly map the internal switch ports to the proper LAN1..LAN4 labels. Fixes #530. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* ramips: fix Airlink AR725W device titleMathias Kresin2017-03-011-1/+1
| | | | | | Gemtek is the ODM but the board was sold by Airlink101. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: fix the number of uarts for MT7688Furong Xu2017-02-161-2/+2
| | | | | | Same as MT7621 and MT7628, MT7688 allows up to 3 uarts Signed-off-by: Furong Xu <xfr@outlook.com>
* ramips: fix PWM pin mux conflict in dtsiFurong Xu2017-02-161-4/+0
| | | | | | | | | | | | | GPIO18 and GPIO19 on OMEGA2(+) should be GPIO mode, enable PWM lead to a conflict [ 0.290633] rt2880-pinmux pinctrl: pin io18 already requested by pinctrl; cannot claim for 10005000.pwm [ 0.299722] rt2880-pinmux pinctrl: pin-18 (10005000.pwm) status -22 [ 0.305729] rt2880-pinmux pinctrl: could not request pin 18 (io18) from group pwm0 on device rt2880-pinmux [ 0.315131] mtk-pwm 10005000.pwm: Error applying setting, reverse things back Keep PWM disabled. Signed-off-by: Furong Xu <xfr@outlook.com>
* ramips: added image size into dwr-512 DTGiuseppe Lippolis2017-02-131-0/+1
| | | | Signed-off-by: Giuseppe Lippolis <giu.lippolis@gmail.com>
* ramips: Correct switch configuration for Newifi D1Chuanhong Guo2017-02-131-4/+1
| | | | Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
* ramips: fix AR670W partition alignmentClaudio Leite2017-02-081-1/+1
| | | | | | | mtdsplit_lzma requires that the rootfs be aligned to a block boundary. Pad the kernel partition to make this so. Signed-off-by: Claudio Leite <leitec@gmail.com>
* Kernel: bump to 4.4.44Stijn Segers2017-02-061-4/+4
| | | | | | | | | | | | | | Bump kernel to 4.4.44. Compile-tested on ar71xx, ramips/mt7621 and x86/64. .44 has been run-tested on the 17.01 branch here on ar71xx and mt7621. Signed-off-by: Stijn Segers <francesco.borromini@inventati.org> (cherry picked from commit 20996edd68b8a0b139bdb36b3aafa29c037d4bda) Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> Conflicts: target/linux/ar71xx/patches-4.4/920-usb-chipidea-AR933x-platform-support.patch target/linux/ar71xx/patches-4.4/930-chipidea-pullup.patch
* ramips: fix Airlink AR725W factory image buildMathias Kresin2017-02-041-2/+5
| | | | | | | | | | | | | The factory image can't be bigger than 3328 KByte. If the image is bigger than that, the gemtek-header tool throws an error and breaks the build. Make sure the output file to which the gemtek header should be added exists and wasn't removed during the check-size step because of it size. This will prevent hard errors in case the factory image is to big similar to what is done for sysupgrade images. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: add missing DTS pcie node for WSR-600Felix Fietkau2017-01-311-0/+21
| | | | | | Enables PCI bus and support for the MT7603 and RT5592 chips Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: remove mips16 feature flag from target makefilesFelix Fietkau2017-01-241-1/+1
| | | | | | | It can be implicitly derived from the MIPS32 revision support in the kernel configuration Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ramips/rt288x: switch CPU_TYPE to 24kcFelix Fietkau2017-01-241-1/+1
| | | | | | | | | | | While rt288x only has a MIPS 4KEc processor, it implements the MIPS32r2 architecture just like the 24Kc, so the instruction set should be 100% compatible. Switching it to 24kc allows it to share the package architecture with a lot of other targets instead of creating a special case, saving buildbot resources. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ramips: add back the i2c-mt7621 moduleJohn Crispin2017-01-151-0/+16
| | | | | | mt7628/88 are still using this module. Signed-off-by: John Crispin <john@phrozen.org>
* ramips: Added Onion Omega2 and Omega2+Lazar Demin2017-01-158-0/+249
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds support for the Onion Omega2 and Omega2+ (https://onion.io) Specifications: - SoC: MediaTek MT7688AN (580MHz, ramips) - Omega2 - RAM: 64MB DDR - Storage: 16MB NOR SPI flash onboard - Omega2+ - RAM: 128MB DDR - Storage: 32MB NOR SPI flash onboard + microSD slot - Wireless: Built into MT7688AN (mt76) with onboard 1x chip antenna and u.FL connecter - Ethernet: 1x100M pins on Omega2 & Omega2+, can use Ethernet Expansion and an Omega Dock to get a physical Ethernet port - Strongly recommend using the Omega2 & Omega2+ with a Dock (Expansion Dock, Power Dock, Arduino Dock 2, Mini Dock) - All Docks Provide: - Micro-USB port to provide power to the Omega - On the Expansion and Mini Docks, can also access the terminal (UART0) via serial - USB 2.0 socket connected to Omega - Just the Expansion Dock, Power Dock, and Arduino Dock 2 provide: - Omega GPIO breakout - Allows for connection of Omega Expansions: - Ethernet Expansion - Relay Expansion - PWM Expansion - OLED Expansion - Ethernet Expansion - Proto Expansion - Cellular Expansion Signed-off-by: Lazar Demin <lazar@onion.io>
* ramips: Add I2C driver to the default kernel configRosen Penev2017-01-153-23/+7
| | | | | | | | | | I made a commit that added the RTC driver to the kernel config with the intent that it would fix hctosys. Unfortunately while the RTC driver is in there, it's connected through I2C, the driver for which comes in module form and is thus loaded late. After this commit, it works fine. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* kernel: backport MIPS changes introducing a separate IRQ stackFelix Fietkau2017-01-152-2/+2
| | | | | | | | 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 4.4 kernel to 4.4.42Hauke Mehrtens2017-01-134-14/+9
| | | | | | | Refresh patches on all 4.4 supported platforms. Compile & run tested: lantiq/xrx200 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* ramips: fix WLI-TX4-AG300N boot and networkYo Abe2017-01-131-2/+11
| | | | | | | | | | | | | | | | Partition label "linux" prevents the root file system to be mounted at boot time leading to a kernel panic. After changing it to "firmware", the 2 uimage partitions "kernel", "rootfs" and squashfs "rootfs_data" are correctly recognized. The attached IP175C 10/100 MBit switch cannot connect to a link with fixed 1000Mbit speed. The correct link speed is 100MBit. The switch is detected and can be configured via mdio bus and should allow two separable VLANs to be configured for the 4 available ports. Signed-off-by: Yo Abe <abe.geel@gmail.com> [picked from openwrt/PR#330] Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: add support for VoCore2Andrew Yong2017-01-137-0/+146
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds support for the VoCore VoCore2 and its complementary "ultimate" dock. Specifications: - SoC: MediaTek MT7628AN (580MHz, ramips) - RAM: 128MB DDR2 166MHz - Storage: 16MB NOR SPI flash onboard + microSD slot on dock - Wireless: Built into MT7628AN (mt76) with 1T1R firmware on VoCore2 boards with onboard 1x chip antenna - Ethernet: 1x100M (port0) on dock, 1x100M (port2) on PCB header - Dock hardware: - USB 2.0 socket - MicroSD socket - 100Mbps Ethernet x1 - 3.5mm headphone jack (TRRS) connected to Everest Semi ES8388 I2S DAC/ADC (support WIP) - Micro USB for power and console (UART2) Initial installation: - VoCore2 comes preinstalled with a fork of OpenWrt CC and AP on SSID "VoCore2" - Connect to VoCore2 by Ethernet or Wi-Fi - `ssh root@192.168.1.1` (password is "vocore") - scp/wget/etc. LEDE sysupgrade.bin to VoCore2 - `sysupgrade -n <your image>.bin` (don't keep old config, as the original firmware uses Ralink SDK Wi-Fi drivers and not mt76+mac80211) - after sysupgrade completes, Wi-Fi will be disabled by default so use Ethernet or the micro USB console to configure Wi-Fi again Signed-off-by: Andrew Yong <me@ndoo.sg>
* ramips: rt3883: fix typo in pinctrl lna_g_funcDaniel Golle2017-01-131-0/+26
| | | | | | | | Spotted by forum users https://forum.openwrt.org/viewtopic.php?pid=347439#p347439 Reported-by: Tom Psyborg <pozega.tomislav@gmail.com> Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* ramips: Fix VLAN limits for MT7621 GSWAntonis Kanouras2017-01-101-1/+5
| | | | | | | | | Without this patch swconfig will only allow setting up a total of 16 VLANs, with VLAN ID range of 0-15. Tested on ubnt-erx. Signed-off-by: Antonis Kanouras <antonis@metadosis.eu>
* kernel: remove ubifs xz decompression supportFelix Fietkau2017-01-091-1/+0
| | | | | | | It has been unused, and less useful than squashfs for cases where flash space usage matters. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: bump to 4.4.40Hauke Mehrtens2017-01-061-14/+0
| | | | | | | Refresh patches on all 4.4 supported platforms. Compile & run tested: lantiq/xrx200 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* build: use mkhash to replace various quirky md5sum/openssl callsFelix Fietkau2017-01-052-6/+4
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* generic: mtd: backport SPI_NOR_HAS_LOCKVictor Shyba2017-01-031-3/+3
| | | | | | | | | This flag was added to 4.9 with upstream commit 76a4707de5e18dc32d9cb4e990686140c5664a15. Signed-off-by: Victor Shyba <victor1984@riseup.net> [refresh and adjust platform patches, fix commit message] Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: MiWiFi Nano fixesL. D. Pinney2017-01-023-18/+31
| | | | | | | | | | | | | | | | Use the the dt-bindings macros and add the reset button. Set the correct polarity for the LEDs and drop the default state. Remove all trigger for the LEDs. According to the manual the LEDs are only used to show the operation state, where blue means normal operation. Use the MAC-Addresses stored in EEPROM for the ethernet and the wireless interface. Signed-off-by: L. D. Pinney <ldpinney@gmail.com> [use leds only for boot status indication, add proper commit message] Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: fix NixcoreX1 profilesRafał Miłecki2016-12-281-2/+2
| | | | | | | There was a typo in Makefile that prevented using these profiles. Fixes: a75ce960ac1 ("ramips: use different board names for variants") Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* ramips: use new image build code for more devicesMathias Kresin2016-12-2420-413/+447
| | | | Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: use different board names for variantsMathias Kresin2016-12-2414-30/+49
| | | | | | | | | | | | Use different names for flash size related board variants, to make sure that only images for the actual flash size are considered as valid by the image validation code. Remove the flash size suffix from the string returned by ramips_board_detect() to ensure that existing scripts relying on the former used boardname are still working. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: sort rt305x image file alphabeticalMathias Kresin2016-12-241-218/+155
| | | | Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: use D-Link DIR-600 B1 image for B2 versionMathias Kresin2016-12-246-121/+1
| | | | | | | Everything set for the B1 is identical to the values uses for the B2 version. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: fix image validation errorsMathias Kresin2016-12-244-13/+15
| | | | | | | | | | | The name from the Device define will be used in the metadata. Due to typos/different spelling, this name might not match the one exported in /lib/ramips.sh. Fix all name mismatches which were found by checking if the name used in the metadata exists in /lib/ramips.sh. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: use destinct 11AC NAS board nameMathias Kresin2016-12-246-30/+44
| | | | | | | | | | Use a distinct board name even if the board is near to identical to the WeVO W2914NS v2. To make sure that a 11AC NAS image can not be installed on a WeVO W2914NS v2, both board need to use different names. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: fix tplink image building fix sysupgrade firmware on MR200Henryk Heisig2016-12-241-4/+5
| | | | Signed-off-by: Henryk Heisig <hyniu@o2.pl>
* ramips: enablemodem: move /lib/ramips.sh to start()Henryk Heisig2016-12-241-1/+2
| | | | | | Fix build error: /etc/init.d/enablemodem: line 2: /lib/ramips.sh: No such file or directory Signed-off-by: Henryk Heisig <hyniu@o2.pl>
* ramips: Add support to TP-Link Archer MR200Henryk Heisig2016-12-228-1/+240
| | | | | | | | | | CPU: MT7620N 580MHz Flash: 8MB RAM: 64MB build-in modem 3G/4G four ethernet port 10/100Mbps Signed-off-by: Henryk Heisig <hyniu@o2.pl>
* ramips: add support for ZyXEL Keenetic Omni / Omni IIVitaly Chekryzhev2016-12-228-0/+277
| | | | | | Factory image can be installed via Zyxel WebUI. Signed-off-by: Vitaly Chekryzhev <13hakta@gmail.com>
* ramips: adding registration for si3210Giuseppe Lippolis2016-12-201-0/+13
| | | | | | | | | | | | | | | The si3210 is a SLIC device providing a complete analog telephone interface and therefore frequently used in soho router. The si3210 have a native spi interface to be controlled by the CPU but currently there is no dedicated driver in lede. Adding a registration for this device in spidev allow to control the device in user space. This way of patching is also in line with the rationale of the spidev driver, see: http://marc.info/?t=148145791900001&r=1&w=2 The si3210 has been also added in the DWR-512 DT to properly describe the HW. Signed-off-by: Giuseppe Lippolis <giu.lippolis@gmail.com>
* kernel: bump to 4.4.39Kevin Darbyshire-Bryant2016-12-201-3/+3
| | | | | | | | Bump & refresh patches for all 4.4 targets. Compile & run tested: ar71xx Archer C7 v2 Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
* ramips: WNDR3700v5 fix mtd partitions and radiosL. D. Pinney2016-12-201-6/+7
| | | | | | | Fix the mtd partition layout and enable both radios in the dts Tested-by Andrius Štikonas <andrius@stikonas.eu> Signed-off-by: L. D. Pinney <ldpinney@gmail.com>
* ramips: adding DWM-158 3g ModemGiuseppe Lippolis2016-12-141-0/+14
| | | | | | | | | This patch add the 3G modem DWM-158 to the usb-serial option driver. The DWM-158 is a pcie 3G modem. It is embedded in the DWR-512 modem supportet by lede. The patch has been submitted and merged in the upstream linux-next repository. Signed-off-by: Giuseppe Lippolis <giu.lippolis@gmail.com>
* ramips: Fix led init script for Lenovo Y1/Y1sBangLang Huang2016-12-041-3/+10
| | | | | | | This commit fix the led init script for Lenovo Y1 and Y1S due to the manual and dts file. Signed-off-by: BangLang Huang <banglang.huang@foxmail.com>
* ramips: prevent packet forwarding on mt7620 between switch ports during init ↵Felix Fietkau2016-12-042-5/+7
| | | | | | | | | | | | | | | | (FS#103) By default, forwarding between all ports is allowed on init. This is problematic in cases where some ports are supposed to be isolated from each other, most commonly LAN/WAN separation. REG_ESW_PORT_PCR(port) has a destination mask for a particular port, controlling what other ports it is allowed to send packets to. Instead of initializing all to 0xff (all ports), allow each physical port to send to the CPU port, and the CPU port to send to all other ports. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ramips: fix LAN port order of WeVO W2914NS v2Yong-hyu, Ban2016-12-041-1/+4
| | | | Signed-off-by: Yong-hyu, Ban <perillamint@gentoo.moe>
* ramips: fix PBR-D1 button definitionBangLang Huang2016-12-041-2/+2
| | | | | | | Due to the product specification, the button on PBR-D1 should be reset, not wps. Signed-off-by: BangLang Huang <banglang.huang@foxmail.com>
* ramips: add support for PCI based OHCI/EHCI support for F5D8235 V1Tobias Wolf2016-12-042-1/+10
| | | | | | This router uses an PCI attached NEC EHCI controller to support the single USB port. Signed-off-by: Tobias Wolf <github-NTEO@vplace.de>
* ramips: introduce CONFIG_PCI and CONFIG_OF_*PCI for rt288xTobias Wolf2016-12-044-5/+17
| | | | | | This is a prerequisite for F5D8235 V1 to use PCI based OHCI/EHCI. Signed-off-by: Tobias Wolf <github-NTEO@vplace.de>
* ramips: improve F5D8235 V1 supportTobias Wolf2016-12-044-18/+78
| | | | | | | | | | | | | | | | | | | This fixes the partition name for the firmware splitter, the cfi address and adds the mtd-eeprom address for wmac. It adds additional LEDs and make use of them in diag.sh and 01_leds. Please note that the ":blue:wired" LED is used because the ":blue:router" behaviour is unpredictable for failsafe indication. The issue with the router LED is that you have two states only. "off" is steady on and "on" blinks. Therefore the wired LED is more suitable. Furthermore it reuses the correct switch configuration definition to reflect the device ports and numbering. Additionally fixes the issue that the default configuration is not applied as no port 6 exists on this device. Signed-off-by: Tobias Wolf <github-NTEO@vplace.de>
* ramips: fix sdhci support on mt7621John Crispin2016-12-012-24/+10
| | | | | | the IRQ level was wrong. refresh the patch while at it. Signed-off-by: John Crispin <john@phrozen.org>