aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/mt7621
Commit message (Collapse)AuthorAgeFilesLines
* ramips: re-enable highmem support for MT7621 now that it's fixedFelix Fietkau2016-01-241-0/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48469
* ralink: update config files to build the cleaned up ethernet driverJohn Crispin2015-12-171-4/+6
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 47902
* ramips: add support for Ubiquiti EdgeRouter X (UBNT-ERX)John Crispin2015-12-121-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This router is based on MT7621 SoC, no wifi, no usb, nand. Works: * Boots. * Ethernet. * Switch. * Button (reset). * Flashing OpenWrt from stock firmware. * Upgrading OpenWrt. Doesn't work: * No GPIO leds. All leds are controlled by switch, but stock firmware was able to control them. * SoC has crypto engine but no open driver. * SoC has nat acceleration, but no open driver. * This router has 2MB spi flash soldered in but MT nand/spi drivers do not support pin sharing, so it is not accessable and disabled. Stock firmware could read it and it was empty. * PoE out. Router has serial pins populated. If looking at the top of the router, then counting from Eth sockets pins go as: 'GND, RX, TX, GND'. 3.3v, 57600. U-boot bootloader supports tftpboot, controlled from serial. This router has two kernel partitions: 'live' and 'backup'. They are swapped during flashing (on both stock and OpenWrt). Active partition is controlled by a flag in a factory partition. U-boot has custom command to switch active kernel partition. Kernel partitions are 'bare flash' 3MB. Stock bootloader has no UBI support. Stock rootfs is UBIFS. Flashing procedure. Stock firmware uses custom kernel patch to mount squashfs from a file that is located on UBIFS volume. This makes wiping out this volume from within stock firmware difficult. Instead this patch builds image that is flashable by stock firmware and contains initrams image (with minimal set of packages to fit into kernel partition). Once this is flashed one can reboot into initramfs OpenWrt and use sysupgrade to flash OpenWrt including rootfs into nand. Note: factory image is only built if initramfs image is enabled. Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com> SVN-Revision: 47881
* ramips: use gic timer as clocksource for mt7621John Crispin2015-12-121-0/+4
| | | | | | | | | | * Switches clocksource to gic timer. * Moves frequency definitions to dtsi since frequency was hardcoded anyway Will work on proper frequency detection later. Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com> SVN-Revision: 47875
* Revert "ramips: use gic timer as clocksource for mt7621"Felix Fietkau2015-12-111-4/+0
| | | | | | This reverts commit 270a2afcc544ca14e79198346e7e186033472ae7. SVN-Revision: 47872
* ramips: add additional support for MQmaker WiTi boardJohn Crispin2015-12-111-0/+20
| | | | | | | | | | | | | | The board is based on mt7621AT cpu, and has 16mb nor flash, 256mb of ram, 2 sata ports, microsd card slot, 1 USB 3.0 port and at least one 2.4 and one 5 ghz antenna. This is the 6th submission that adds support for XHCI in the device tree file, along with switching the location of the 2 radio's and addition of the kmod-i2c-mt7621 in the default packages of the profile. Signed-off-by: Sebastian Careba <nitroshift@yahoo.com> SVN-Revision: 47845
* ramips: use gic timer as clocksource for mt7621John Crispin2015-12-111-0/+4
| | | | | | | | | | * Switches clocksource to gic timer. * Moves frequency definitions to dtsi since frequency was hardcoded anyway Will work on proper frequency detection later. Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com> SVN-Revision: 47843
* ramips: enable CPS for mt7621John Crispin2015-12-111-2/+6
| | | | | | | | | | | | | Enables CPS multiprocessing instead ob obsoleted CMP for mt7621. This patch fixes a few issues currently existing on 4.3 kernel with at least ubnt-erx: * iperf shows only 50Mbits on direct gigabit connection to desktop, * ping times jump to 5-6ms to dorectly connected desktop * /proc/interrupts shows spurious interrups (ERR) Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com> SVN-Revision: 47842
* ralink: bump to the target to v4.3John Crispin2015-12-101-16/+25
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 47831
* ralink: renable nand supportJohn Crispin2015-11-241-0/+1
| | | | | | | | CONFIG_MTK_MTD_NAND was incorrectly disabled by r47619. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 47640
* ralink: add support for netis WF-2881John Crispin2015-11-242-1/+46
| | | | | | | | | | | | | | | | | | | | | | | | | netis WF-2881 is an MT7621AT based router with MT7602EN, MT7612EN. It has 128MB DDR3, 128MB SLC NAND FLASH, 5-port Gbps switch and 1x USB 3.0. The following patch adds support for this device. this device only works on top of UBI. Tested and working: * ethernet * both WiFi radios * USB 3.0 * buttons (reset button) * ethernet switch and USB diag LEDs * UART * GPIOs * sysupgrade Tested and not working * failsafe Signed-off-by: YounJae Rho <luxflow@live.com> SVN-Revision: 47619
* ramips: minor fixes for mt7621 profilesFelix Fietkau2015-11-072-4/+2
| | | | | | | | | * remove references to non-existing kmod-usb3-mt7621 * ZTB WG2626 doesn't have an RTC (thanks to Piotr Dymacz!) Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 47407
* ramips: add support for ZBT WG2626John Crispin2015-11-021-0/+20
| | | | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 47351
* ramips: Enable RTC support for PBR-M1Felix Fietkau2015-09-111-0/+1
| | | | | | | | | | | | | | The PBR-M1 and other upcoming MT7621 boards have RTC chips on them. The PBR-M1 also selects the kmod-rtc-pcf8563 by default. But the module itself will not be build because CONFIG_RTC_CLASS is currently not enabled for its kernel. Enabling this option should fix the problem of the missing rtc device on these boards. Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 46857
* ramips: 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: 46759
* ramips: fix various mistakes in subtargets *.mk profilesJohn Crispin2015-08-173-10/+8
| | | | | | | | | | | | | | | | This patch: * fixes wrong indentation * fixes wrong names and descriptions (ex. Dlink -> D-Link) * changes filenames to manufacturer names * moves oem/unknown manufacturers boards to misc.mk profiles * combines profiles for boards from the same manufacturers in one file (ex. Olimex) * fix profile files structure (keep the same convention as in other targets, ex. ar71xx) in various .mk profiles, in ramips target. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> SVN-Revision: 46631
* ramips: add support for STORYLiNK SAP-G3200U3John Crispin2015-07-241-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | STORYLiNK SAP-G3200U3 is an AC1200 router based on MT7621AT+MT7602EN+MT7612EN. It has 128MB DDR3, 8MB NOR FLASH, 5-port Gbps switch and 1x USB 3.0. The following patch adds support for this device. Tested and working: * ethernet * both WiFi radios * USB 3.0 * buttons * ethernet switch and USB diag LEDs * UART * GPIOs Tested and not working: * LEDs for WiFi radios (connected with WiFi chips, not supported in mt76?) * failsafe mode (known problem, needs workaround like other MTK based devices) More information in Wiki: http://wiki.openwrt.org/toh/storylink/sap-g3200u3 Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> SVN-Revision: 46454
* ramips: enable mt76 by default for mt7621Felix Fietkau2015-07-184-3/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46410
* ramips: Add Support for the Linksys RE6500John Crispin2015-06-181-0/+16
| | | | | | | | | | This patch adds support for the Linksys RE6500 Range Extender http://wiki.openwrt.org/toh/linksys/re6500 Signed-off-by: L. D. Pinney <ldpinney@gmail.com> SVN-Revision: 46043
* ramips: add support for PandoraBox PBR-M1John Crispin2015-06-181-0/+22
| | | | | | | | | This patch is for PandoraBox PBR-M1 which is based on mt7621, all the features work fine, including rtc, leds, button, usb3.0, etc. Signed-off-by: tymon <banglang.huang@foxmail.com> SVN-Revision: 46041
* ralink: add missing symbolJohn Crispin2015-06-071-0/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 45918
* ramips: enable highmem support for mt7621Felix Fietkau2015-06-041-8/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45889
* ramips: diable ill_acc driver by defaultJohn Crispin2015-05-271-0/+1
| | | | | | | | this treacled down via the stable tree and wandered into 3.18.14 Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 45793
* ralink: mt7621 add ECHI OCHI XCHI supportJohn Crispin2015-03-261-0/+6
| | | | | | | | The usb stroage not working since updated 3.18. Porting from MTK's source code. Signed-off-by: wengbj <fl.service@t-firefly.com> SVN-Revision: 45021
* ralink: drop 3.14 supportJohn Crispin2015-03-161-206/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 44811
* ralink: add missing symbol that broke full buildsJohn Crispin2015-03-101-0/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 44642
* kernel: move KERNFS to generic configJohn Crispin2015-03-061-1/+0
| | | | | | | | KERNFS symbol is selected by SYSFS, so place it in generic config. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 44615
* kernel: disable ARCH_NEEDS_CPU_IDLE_COUPLEDJohn Crispin2015-03-061-1/+0
| | | | | | | | | Disable ARCH_NEEDS_CPU_IDLE_COUPLED by-default in generic config, since only one platfrom (omap) needs them. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 44614
* kernel: move MTD_SPLIT_SUPPORT to generic configJohn Crispin2015-03-061-1/+0
| | | | | | | | | | | CONFIG_MTD_SPLIT_SUPPORT symbol default value is 'y' and many platform specific configs explicitly enables it, while no one platform disables this symbol. So place it in generic config and remove from platform specific configs. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 44612
* kernel: remove GENERIC_NET_UTILS from platform configsJohn Crispin2015-03-061-1/+0
| | | | | | | | | | CONFIG_GENERIC_NET_UTILS is selected by CONFIG_NET and already enabled in generic config, so we don't need this symbol in platform specific configurations. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 44611
* kernel: move CONFIG_MIPS_O32_FP64_SUPPORT to generic configsJonas Gorski2015-03-012-2/+0
| | | | | | | | | Most MIPS targets have it disabled, so move the symbol to the generic configs to keep target configs small. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 44583
* ralink: fix the config filesJohn Crispin2015-02-142-0/+210
| | | | | | | | oops, accidently moved instead of copied them Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 44454
* ralink: make the mt7621 irq core with with the new CM apiJohn Crispin2015-02-121-14/+20
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 44418
* ralink: add 3.18 supportJohn Crispin2015-02-091-0/+0
| | | | | | | | keep default as 3.14, mt7621 gic need to be ported to 3.18 Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 44349
* ralink: cleanup firefly default packagesJohn Crispin2015-02-021-8/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 44244
* ralink: add support for firewrtJohn Crispin2015-01-201-0/+24
| | | | | | | | this is a mt7621 based board Signed-off-by: wengbj <linux.c@foxmail.com> SVN-Revision: 44055
* ramips: enable the seama mtdsplit parserFelix Fietkau2015-01-171-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44013
* ramips: add missing -Os cflag for mt7621Felix Fietkau2015-01-131-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43954
* all targets: remove all =m kernel config symbolsFelix Fietkau2015-01-051-5/+0
| | | | | | | | | | | | modules build during the kernel compile phase are ignored anyway, all modules should be built using KernelPackage in package/kernel/linux/modules/* selecting the appropriate config symbols there rather than in target/linux/*/config-* Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 43842
* ramips: use CONFIG_MTD_SPLIT_UIMAGE_FW instead of CONFIG_MTD_UIMAGE_SPLITFelix Fietkau2015-01-021-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43813
* ramips: fix image format for WSR-1166Felix Fietkau2015-01-021-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43812
* ramips: split mt7621 spi into a separate driver, increase maximum transfer sizeFelix Fietkau2015-01-021-1/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43807
* ralink: mt7621 was missing a symbol that made the CC builder failJohn Crispin2014-12-111-0/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43629
* ralink: mt7621 is a 1004KcJohn Crispin2014-12-031-4/+3
| | | | | | Signed-off-by: L. D. Pinney <ldpinney@gmail.com> SVN-Revision: 43514
* ralink: dont define pm_poweroffJohn Crispin2014-11-141-0/+3
| | | | | | | | this makes gpio-poweroff work Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43254
* ralink: enable the proper drivers in the mt7621 configJohn Crispin2014-11-141-23/+3
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43252
* ralink: add support for mt7621 ethernetJohn Crispin2014-11-121-16/+8
| | | | | | | | somehow all switch ports still come up as 10mbit. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43237
* ralink: drop 3.10 supportJohn Crispin2014-09-121-238/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42481
* ralink: a few 3.14 related fixesJohn Crispin2014-08-251-4/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42292
* ralink: add 3.14 supportJohn Crispin2014-08-071-0/+237
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42040