aboutsummaryrefslogtreecommitdiffstats
path: root/target
Commit message (Collapse)AuthorAgeFilesLines
* ar8216: add ARL table flushing per portFelix Fietkau2015-07-154-4/+47
| | | | | | | | | | | | | Adds functions for flushing ARL table entries per port. Successfully tested on AR8327. Implementation for AR8216/AR8236/AR8316 is based on the AR8236 datasheet and assumes that the three chips share a common ATU register layout. Compile-tested only for AR8216/AR8236/AR8316. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> SVN-Revision: 46380
* ar8216: add reading ARL table for AR8216/AR8236/AR8316Felix Fietkau2015-07-152-8/+98
| | | | | | | | | | | | | | | | Adds the chip-specific part of reading ARL table for AR8216/AR8236/AR8316. It's based on the AR8236 datasheet and compile-tested only as I couldn't find datasheets for AR8216/AR8316 and don't own devices with these chips. The existing ar8216_atu_flush implementation was used for all three chip types, therefore I guess they share a common ATU register layout. More testing would be appreciated. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> SVN-Revision: 46379
* adm5120: do not config something as moduleHauke Mehrtens2015-07-141-38/+26
| | | | | | | | | | All modules should be build by a package and only selected by such a package. Remove all the config options selected as module and also refresh the config. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 46372
* bcm53xx: fix usb3 build with kernel 4.1Hauke Mehrtens2015-07-141-1/+1
| | | | | | | | | One argument was removed with kernel 4.1 from xhci_handshake() which caused a compile error. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 46369
* brcm2708: partially revert r46347 to fix sysupgradeJohn Crispin2015-07-141-3/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 46367
* x86: add kmod-acpi-button and kmod-button-hotplug to default packagesJohn Crispin2015-07-142-2/+2
| | | | | | | | | | | | | | Since r40909 openwrt can automatically shutdown when you press the power button or try to shutdown a kvm virtual machine. When booting a recent CC-rc2 or trunk image, it doesn't work, as two kernel modules are missing. Add these two kernel modules to the default packages, so users don't need to install them manually. Signed-off-by: Stefan Hellermann <stefan@the2masters.de> SVN-Revision: 46366
* bcm53xx: add early support for Netgear R7000Rafał Miłecki2015-07-143-0/+127
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 46363
* build: Prevent more gzip timestampsJohn Crispin2015-07-1411-14/+14
| | | | | | | | | To improve reproducibility, prevent the inclusion of timestamps in the gzip header. Signed-off-by: Reiner Herrmann <reiner@reiner-h.de> SVN-Revision: 46361
* ramips: added gpio spi refclk support for wrtnode boardJohn Crispin2015-07-141-1/+1
| | | | | | | | | This syncs the dts file with the one provided by the wrtnode team: https://github.com/WRTnode/openwrt-patches/blob/master/R41508/wrtnode_factory_firmware_dts.patch Signed-off-by: Christian Mehlis <christian@m3hlis.de> SVN-Revision: 46359
* gemini: switch to 4.1John Crispin2015-07-141-1/+1
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 46354
* gemini: add 4.1 supportJohn Crispin2015-07-1415-0/+6026
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 46353
* gemini: add NAS packages to Raidsonic profileJohn Crispin2015-07-141-0/+7
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 46352
* gemini: copy kernel image to BIN_DIRJohn Crispin2015-07-141-1/+2
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 46351
* ramips: added led support for wrtnode boardJohn Crispin2015-07-141-0/+12
| | | | | | | | | This syncs the dts file with the one provided by the wrtnode team: https://github.com/WRTnode/openwrt-patches/blob/master/R41508/wrtnode_factory_firmware_dts.patch Signed-off-by: Christian Mehlis <christian@m3hlis.de> SVN-Revision: 46350
* ramips: adding support for OY-0001 Wireless RouterJohn Crispin2015-07-146-0/+139
| | | | | | | | | | Adding support for OY-0001 Wireless Router. OY-0001 is a wireless router made by oyewifi.com. Below is the details: MT7620A, 128MB DDR2, 16MB FLASH, SD Slot, USB 2.0, 4 x LAN + 1 x WAN. Signed-off-by: Tom Deng <2579131212@qq.com> SVN-Revision: 46349
* ramips: mt7620 ArcherC20i USB supportJohn Crispin2015-07-141-0/+8
| | | | | | | | | USB port of TP-Link Archer C20i does not work with trunk and CC. This patch adds two nodes (ehci and ohci) to the device tree enabling USB. Signed-off-by: Gunnar Thorburn <gunnar@thorburn.se> SVN-Revision: 46348
* brcm2708: Implement sysupgradeJohn Crispin2015-07-144-1/+39
| | | | | | | | | | | | | Implement sysupgrade for Raspberry Pi, similar to the way it is done on x86: The config files are saved in the boot partition and moved to where they are normally expected in preinit. Also add optional gzip compression for the SD card image, since this can save a lot of space (76M vs 6M), also similar to x86. Signed-off-by: Bruno Randolf <br1@einfach.org> SVN-Revision: 46347
* kernel: fix build with CONFIG_MTD unsetJohn Crispin2015-07-143-6/+33
| | | | | | | | | | Fixed typo in the patch provided by Hauke: https://lists.openwrt.org/pipermail/openwrt-devel/2015-July/034274.html Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 46346
* generic: add missing symbolJohn Crispin2015-07-143-0/+3
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 46345
* brcm2708: add DT supportJohn Crispin2015-07-145-29/+75
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 46344
* ar71xx: add support for the devolo dLAN pro 1200+ WiFi acJohn Crispin2015-07-1411-6/+249
| | | | | | Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de> SVN-Revision: 46342
* ar71xx: add support to use gpio irqsJohn Crispin2015-07-141-0/+224
| | | | | | Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de> SVN-Revision: 46339
* ar71xx: add support for the devolo dLAN pro 500 Wireless+John Crispin2015-07-1410-6/+279
| | | | | | Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de> SVN-Revision: 46338
* x86: Make virtualization guests built for pentium4 with SMPHauke Mehrtens2015-07-123-1/+16
| | | | | | Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us> SVN-Revision: 46314
* kernel: refresh patches on linux 3.18Hauke Mehrtens2015-07-1219-85/+81
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 46308
* sunxi: enable CONFIG_EXPERTHauke Mehrtens2015-07-121-1/+0
| | | | | | | | | - only sunxi has this disabled - unify kernel configuration across platforms Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> SVN-Revision: 46307
* kernel: add missing config optionHauke Mehrtens2015-07-123-0/+3
| | | | | | | | This should fix build of sunxi. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 46304
* mvebu: make patches apply against 3.18.18 againHauke Mehrtens2015-07-126-11/+10
| | | | | | | | | commit r46299 broke the mvebu target because one patch does not apply any more. This commit closes #20070. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 46303
* kernel: update 4.1 to 4.1.2Hauke Mehrtens2015-07-114-17/+15
| | | | | | | | | Changelog: * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.2 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 46301
* kernel: update 4.0 to 4.0.8Hauke Mehrtens2015-07-116-30/+28
| | | | | | | | | Changelog: * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.0.8 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 46300
* kernel: update 3.18 to 3.18.18Hauke Mehrtens2015-07-1111-45/+43
| | | | | | | | | Changelog: * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.18 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 46299
* ramips: collect rx related members to fe_rx_ring structFelix Fietkau2015-07-103-58/+69
| | | | | | Signed-off-by: michael lee <igvtee@gmail.com> SVN-Revision: 46295
* ramips: add xmit_more supportFelix Fietkau2015-07-102-20/+33
| | | | | | | | | | | | | | | use pktgen to verify on rt3662. can improve transmit rate. pkt_size 1500 burst 1 : 807Mb/sec burst 8 : 984Mb/sec pkt_size 60 burst 1 : 57Mb/sec burst 8 : 236Mb/sec Signed-off-by: michael lee <igvtee@gmail.com> SVN-Revision: 46294
* ar71xx: compex wpe72 add space to include statementJohn Crispin2015-07-091-1/+1
| | | | | | Signed-off-by: Christian Mehlis <christian@m3hlis.de> SVN-Revision: 46284
* ar71xx: compex wpj531 register usb supportJohn Crispin2015-07-091-0/+1
| | | | | | Signed-off-by: Christian Mehlis <christian@m3hlis.de> SVN-Revision: 46283
* ar71xx: compex wpj531 fix setting mac address on ethernetJohn Crispin2015-07-091-6/+5
| | | | | | Signed-off-by: Christian Mehlis <christian@m3hlis.de> SVN-Revision: 46282
* ar71xx: compex wpj531 fix ethernet registrationJohn Crispin2015-07-091-2/+2
| | | | | | | | | | | In fb6f62e97733312053ab593fcf68eea47a21169e several settings are set on the ethernet device, but they are not working. Fix Ethernet by setting the right values. Signed-off-by: Christian Mehlis <christian@m3hlis.de> SVN-Revision: 46281
* ar71xx: ag71xx remove IRQF_DISABLEDJohn Crispin2015-07-091-1/+1
| | | | | | | | | | no-op since 2.6.35 removed in Kernel 4.1 see https://lwn.net/Articles/380931/ Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> SVN-Revision: 46280
* mpc85xx: Enable RFKill and USB Power GPIO Control for WDR4900v1John Crispin2015-07-091-0/+11
| | | | | | | | | This patch adds the RFKill GPIO control switch and enables another GPIO to control power supply to USB Ports by emulating an LED GPIO for WDR4900v1. Signed-off-by: Guo Wei Lim <alphasparc@gmail.com> SVN-Revision: 46279
* ar71xx: fix board name orderingJohn Crispin2015-07-083-5/+5
| | | | | | | | r46248 added case statements in the same places Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 46274
* base-files: implemented basic GPIO controlJohn Crispin2015-07-081-0/+25
| | | | | | | | | | Internal GPIO pins are used for PoE passthrough setups in multi-port routers. This patch implemnets control over this hardware feature for Ubiquiti Nanostations and TP-Link CPE510. Signed-off-by: Lars Kruse <lists@sumpfralle.de> SVN-Revision: 46271
* ar71xx: Fix LED-to-phy mapping for EnGenius ESR1750.John Crispin2015-07-081-2/+2
| | | | | | | | wlan5g is phy0tpt and wlan2g phy1tpt. Signed-off-by: Christian Beier <cb@shoutrlabs.com> SVN-Revision: 46270
* malta: add harddisk supportJohn Crispin2015-07-081-0/+4
| | | | | | | | | | | | works with: qemu-system-mipsel -M malta \ -hda openwrt-malta-le-root.ext4 \ -kernel openwrt-malta-le-vmlinux.elf \ -nographic -append "root=/dev/sda console=ttyS0" Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> SVN-Revision: 46269
* mpc85xx: disable SPE FPU support until musl gets support for it (fixes #19896)Felix Fietkau2015-07-081-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46268
* kernel: add missing config symbol (fixes #19880)Felix Fietkau2015-07-083-0/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46265
* kernel: add missing 4.1 config symbolFelix Fietkau2015-07-081-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46264
* Revert "ar71xx: Allow to use ath79_gpio_output_select on QCA955x" (r46240)Felix Fietkau2015-07-071-57/+0
| | | | | | | | It breaks the build Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46256
* ar71xx: Add support for Cisco-Linksys WAP4410NJohn Crispin2015-07-078-0/+307
| | | | | | | | | | This patch adds support for the Cisco WAP4410N, an access point that uses the AR9132 SoC. Web upgrades from stock are not yet possible, UART access required for the initial flash. Signed-off-by: Ryan A Young <rayoung@utexas.edu> SVN-Revision: 46250
* ar71xx: add support for D-Link DIR-615 rev. Ix boardJohn Crispin2015-07-0711-6/+189
| | | | | | | | Based on trunk r46212. Signed-off-by: Jaehoon You <teslamint@gmail.com> SVN-Revision: 46248
* mips: Free memory when load_module fails (#14453)John Crispin2015-07-074-15/+200
| | | | | | | | | | | | | | | | | | | | | | The mips reloc patch introduced new allocations which were done before add_unformed_module but never freed them in case of an error. A new hook in Linux 3.19 called module_arch_freeing_init can be used for freeing memory which were allocated during this init phase. The problem can be seen when trying to load a module (via busybox insmod) when it was already loaded. free -m for i in `seq 1 100`; do /sbin/insmod /lib/modules/*/ath9k.ko >& /dev/null done free -m This simple loop would leak ~3.2 MB. Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 46247