aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
Commit message (Collapse)AuthorAgeFilesLines
* swconfig: revert the portmapping patches, they seem to cause a segfaultJohn Crispin2016-08-162-1/+32
| | | | | | | | | | | | Revert "kernel/swconfig: remove obsolete portmapping feature from swconfig" This reverts commit 675407baa44a8700de20b6b2857009a552a807ba. Revert "swconfig: remove obsolete portmapping feature" This reverts commit fca1eb349ef31b133a62880cbd562d6bf17500aa. Signed-off-by: John Crispin <john@phrozen.org>
* kernel/swconfig: remove obsolete portmapping feature from swconfigJohn Crispin2016-08-152-32/+1
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ramips: fix legacy image buildFelix Fietkau2016-08-111-4/+7
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ramips: Add support for Thunder TimecloudChuanhong Guo2016-08-106-1/+124
| | | | | | | Thunder Timecloud is a small NAS with MT7621A. It has 1 USB port and an SD Card slot. There is no wireless cards. Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
* ramips: Add support for TEW-714TRUJimmy Zhong2016-08-106-0/+137
| | | | Signed-off-by: Jimmy Zhong <mb300sd@mb300sd.net>
* ramips: switch from 24kec to 24kcJonas Gorski2016-08-084-4/+4
| | | | | | | | Since the only difference between 24Kec and 24Kc is the addition of DSP ASE support, and we don't use it anymore, there is no need to keep 24Kec as a separate cpu type. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* ramips: enable nand support for mt7621John Crispin2016-08-031-1/+1
| | | | | | this makes sysupgrade work on the ERX Signed-off-by: John Crispin <john@phrozen.org>
* ramips: updated remaining profiles to the new image building codeJohn Crispin2016-08-0342-1322/+1001
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* build: remove MIPS dsp/dsp2 CPU_SUBTYPEFelix Fietkau2016-08-036-6/+0
| | | | | | | There does not seem to be any meaningful difference in generated code. This will save some time and space on snapshot builds Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ramips: Rename TP-Link Archer C50 LEDsP.Wassi2016-07-262-10/+10
| | | | | | | Rename LEDs in TP-Link Archer C50 from [manufacturer name] to [board name] ("tp-link" -> "c50") Signed-off-by: P.Wassi <p.wassi@gmx.at>
* ramips: Improve TP-Link Archer C20i supportP.Wassi2016-07-264-5/+49
| | | | | | Improve / finalise TP-Link Archer C20i support. Signed-off-by: P.Wassi <p.wassi@gmx.at>
* image: add a helper variable for getting kernel/rootfs from within image ↵Felix Fietkau2016-07-311-2/+2
| | | | | | Build/* templates Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: rename sysupgrade-nand to sysupgrade-tarJo-Philipp Wich2016-07-291-1/+1
| | | | | | | Now that the "sysupgrade-nand" step is used by non-NAND targets as well, rename it to "sysupgrade-tar" to make it more generic. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* ramips: unify etc/board.d/01_leds configurationP.Wassi2016-07-241-2/+2
| | | | | | | Introduce an optional parameter at the local set_usb_led and set_wifi_led function such that they can take a triggering device. If no parameter is passed, behaviour is unchanged. Signed-off-by: P.Wassi <p.wassi@gmx.at>
* ramips: dch-m225 don't have ethernet. default enable wifiMichael Lee2016-07-241-0/+21
| | | | Signed-off-by: Michael Lee <igvtee@gmail.com>
* ramips: remove indentation in etc/board.d/01_ledsPaul Wassi2016-07-241-1/+1
| | | | | Remove indentation at end of line in base-files/etc/board.d/01_leds Signed-off-by: Paul Wassi <p.wassi@gmx.at>
* ramips: add missing i2s aliasJohn Crispin2016-07-241-1/+1
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ramips: mt7621: add missing kernel symbolJo-Philipp Wich2016-07-161-0/+1
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* kernel: update kernel 4.4 to version 4.4.15Hauke Mehrtens2016-07-137-22/+22
| | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* ramips: modify audio kernel module and add dma optionsMichael Lee2016-07-111-2/+42
| | | | | | | | | * add gdma and hsdma kernel modules * i2s support all ramips targets except rt288x * i2s need gdma to transfer data * add simple audio kernel module. it support device tree binding Signed-off-by: Michael Lee <igvtee@gmail.com>
* ramips: Add support for D-Link DCH-M225Michael Lee2016-07-119-0/+233
| | | | | | | | D-Link DCH-M225 is based on Mediatek MT7620 with 64MB ram, 8MB flash, 3.5mm audio out support. but no ethernet and usb ports. so you must default enable wifi. Signed-off-by: Michael Lee <igvtee@gmail.com>
* ramips: add MT7620 pinmux bits for mdio as refclkMichael Lee2016-07-111-0/+42
| | | | | | The MT7620 uses a 2 bit wide configuration of the mdio. Signed-off-by: Michael Lee <igvtee@gmail.com>
* ramips: enable MTD_SPLIT_SEAMA_FW for mt7620Michael Lee2016-07-111-0/+1
| | | | Signed-off-by: Michael Lee <igvtee@gmail.com>
* ramips: Add support for the NixCore X1 ModuleL. D. Pinney2016-07-118-0/+270
| | | | | | | | | The NixCore X1 is a Ralink/MediaTek rt5350 WiFi Module. http://nixcores.com/ Signed-off-by: L. D. Pinney <ldpinney@gmail.com> Acked-by: Drew Gaylo <drew@nixcores.com>
* ramips: fix partition size for RT5350F-OLINUXINORene Treffer2016-07-112-2/+2
| | | | | | | | | The partition size is wrong, leading to out-of-disk-space even on no/moderate use. Upstream fix from vendor: https://github.com/OLIMEX/openwrt/commit/2f25eb57edc79d33c4810d185c193be4293c434a Suggested fix for openwrt: https://dev.openwrt.org/ticket/20321 Signed-off-by: Rene Treffer <treffer@measite.de>
* ramips: fix usb phy initialisationJohn Crispin2016-07-112-1/+36
| | | | | | this broke usb20 device detection. Signed-off-by: John Crispin <john@phrozen.org>
* ramips: fix build error in ubnt-erx initramfs factory imageFelix Fietkau2016-07-062-4/+5
| | | | | | | Build initramfs kernel image, but skip factory image if initramfs size is too big. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ramips: fix buffalo wmr-300 lan portJohn Crispin2016-07-051-2/+4
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ramips: fix MT7621 gsw handlingJohn Crispin2016-07-051-0/+31
| | | | | | based on https://forum.openwrt.org/viewtopic.php?pid=323671#p323671 Signed-off-by: John Crispin <john@phrozen.org>
* ramips: fix mt7621 SoC detectionJohn Crispin2016-07-051-0/+11
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ramips: fix up switch settings for Sitecom WL-351 v1 002John Crispin2016-07-034-2/+93
| | | | | | | | | Pinmux for rgmii needs to be set to rgmii, not gpio. Hide the ESW switch on boot (using new rgmii esw devicetree attribute). Also add a Sitecom-specific profile, since the image needs to include the rtl8366 kernel driver. Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
* ramips: disable the WP pin on the SDK mmc driverJohn Crispin2016-06-301-0/+21
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ramips: fix pinmux typoJohn Crispin2016-06-301-0/+77
| | | | | Reported-by: Joy Kicer <joykicer@gmail.com> Signed-off-by: John Crispin <john@phrozen.org>
* ramips: set correct LAN/WAN MAC addresses on DIR-860L B1Matthias Schiffer2016-06-301-0/+4
| | | | | Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> Reviewed-by: Jo-Philipp Wich <jo@mein.io>
* ramips: add button support and make LEDs known to userspace for DIR-860L B1Matthias Schiffer2016-06-303-0/+16
| | | | | Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> Reviewed-by: Jo-Philipp Wich <jo@mein.io>
* ramips: fix fixseama call on first bootMatthias Schiffer2016-06-301-3/+3
| | | | | | | | | | | | | Commit "kernel: mtdsplit: calculate kernel partition precisely for Seama" changed the kernel partition to only contain the kernel itself and not the Seama header. Adjust the fixseama call to match what is used on brcm53xx. This fixes failing to boot a second time after flashing the factory image on the affected devices. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> Reviewed-by: Jo-Philipp Wich <jo@mein.io>
* kernel: update to version 4.4.14Hauke Mehrtens2016-06-261-4/+4
| | | | | | | | | Changelog: https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.4.14 Some manual changes to target/linux/generic/patches-4.4/610- netfilter_match_bypass_default_checks.patch were needed. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* ramips: add suport for ZBT APE522IIRoger Pueyo Centelles2016-06-226-0/+161
| | | | | | | | | The ZBT APE522II is a dual-radio outdoor CPE based on the MT7620a SoC. It has 64 MB RAM, 8 MB flash, 2 Fast Ethernet ports via internal switch (one with 802.3af 48V PoE support), a 802.11b/g/n SoC 2.4 GHz radio and an 802.11a/n/ac MT7612E-based 5 GHz radio. Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>
* ramips: remove duplicate i2c dts infoMichael Lee2016-06-204-24/+0
| | | | Signed-off-by: Michael Lee <igvtee@gmail.com>
* ramips: update i2c driversMichael Lee2016-06-202-371/+611
| | | | | | | | | | | | | | | | | * add rt_i2c structure to store driver data * rewrite read/write check function and add i2c error status check. so we don't need to wait until time out. * add 10 bits address support. according to the data sheet i think it is possible. but i haven't verify it. * the most important is start transfer only need once. otherwise it cause I2C_STARTERR status. * add set i2c clock speed register by dts options "clock-frequency". not just hard code it. * add mt7621 i2c driver. i just copy i2c-ralink.c and change register names. and the hardware don't support error status. so i remove it. but the logic is the same. Signed-off-by: Michael Lee <igvtee@gmail.com>
* Revert "ramips: update i2c drivers"John Crispin2016-06-172-611/+371
| | | | | | | | This reverts commit d8202a84096831d4e6e2a522476bd6a0d46e6413. the commit broke I2C on various boards. Signed-off-by: John Crispin <john@phrozen.org>
* mediatek/ralink: fix boardnamesJohn Crispin2016-06-141-1/+1
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ramips: fix kmod-sound-mt7620 packagingJo-Philipp Wich2016-06-141-6/+5
| | | | | | | | | | | | | Commit 9ff8928bb9c28be701eb963e591afcfd54b9d8c9 renamed the snd-soc-mt7620-i2s driver and dropped snd-soc-mt7620-wm8960 which selected CONFIG_SND_SOC_WM8960 breaking all ramips builds due to undefined kernel config symbols. Rework the kmod-sound-mt7620 package to explicitely select the CONFIG_SND_SOC_WM8960 symbols and change it to bundle the renamed .ko file. Also remove the @BROKEN flag and exclude it on the rt288x subtarget instead. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* ramips/image: Add Archer C50 to mt7620 MakefileHenryk Heisig2016-06-131-0/+9
| | | | Signed-off-by: Henryk Heisig <hyniu@o2.pl>
* ramips/base-files: Add support for Archer C50Henryk Heisig2016-06-135-1/+16
| | | | Signed-off-by: Henryk Heisig <hyniu@o2.pl>
* ramips/dts: Add support for Archer C50Henryk Heisig2016-06-131-0/+156
| | | | Signed-off-by: Henryk Heisig <hyniu@o2.pl>
* ramips: add support for DuZun DM06Michael Lee2016-06-135-0/+171
| | | | | | | | DuZun DM06 is a develop board based on mt7628 64M RAM, 8M SPI Flash, 1 WAN, 1 LAN. wm8960 codec with line out, line in and speaker output. Signed-off-by: Michael Lee <igvtee@gmail.com>
* ramips: enable wm8960 kernel menuconfig select optionMichael Lee2016-06-131-0/+11
| | | | Signed-off-by: Michael Lee <igvtee@gmail.com>
* ramips: add i2s clocksMichael Lee2016-06-131-3/+30
| | | | Signed-off-by: Michael Lee <igvtee@gmail.com>
* ramips: update i2s dtsi filesMichael Lee2016-06-137-5/+111
| | | | Signed-off-by: Michael Lee <igvtee@gmail.com>