aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
Commit message (Collapse)AuthorAgeFilesLines
* x86/xen_domu: enable image generationJohn Crispin2015-07-091-1/+1
| | | | | | | | | | | | | Add features ext4 targz to target x86/xen_domu in order to generate images in defconfig. This fixes #18074. Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com> Backport of r46233 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46277 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix kernel Oops in at803x_link_change_notifyFelix Fietkau2015-07-071-1/+1
| | | | | | | | | | | | | | r45954 ("ar71xx: fix 100/10mbps ethernet link issues on mynet range extender") introduced a pdata based modification of the tx_clk_dly. But it was not checked if pdata actually existed. This caused a page fault on all devices which didn't have at803x_platform_data specified for an at803x based device. Signed-off-by: Sven Eckelmann <sven@open-mesh.com> Backport of r46200 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46252 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: kernel: update 3.18 to 3.18.17Jonas Gorski2015-07-0124-141/+44
| | | | | | | | | | | Changelog: * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.17 Backport of r46150. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46155 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: brcm63xx: swap a4001n power leds againJonas Gorski2015-07-011-5/+5
| | | | | | | | | | | | This partially reverts r44577 ("brcm63xx: fix DTS LEDs and buttons"). Fixes #19858. Backport of r46149. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46154 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: brcm63xx: unbreak board_probe_switch againJonas Gorski2015-07-0138-122/+143
| | | | | | | | | | | | | Also move it to an earlier place so new boards added are less likely to confuse quilt. Fixes #19965. Backport of r46148. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46153 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Revert "ar71xx: add profile and build image for EnGenius EPG5000."John Crispin2015-06-292-14/+0
| | | | | | | | This reverts commit ac3184da4138c54b8a2c1be637be7cf78fc40fce. Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46144 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Revert "ar71xx: add user-space support for EnGenius EPG5000."John Crispin2015-06-294-9/+1
| | | | | | | | This reverts commit e3326c4473bc6b7b5fd899ac955af974ebc64b92. Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46143 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Revert "ar71xx: add kernel support for EnGenius EPG5000."John Crispin2015-06-293-218/+0
| | | | | | | | This reverts commit 27386b74adfe868f693176f55861984432afd2ce. Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46142 3c298f89-4303-0410-b956-a3cf2f4a3e73
* b53: Allow using all 8 ports on BCM53011Rafał Miłecki2015-06-221-1/+1
| | | | | | | | | | | | | On two tested devices: Netgear R6250 (BCM53011 rev 2) and Luxul XWC-1000 (BCM53011 rev 3) it was possible to use port 7 and eth1 (instead of port 5 and eth0). It seems BCM53011 just like BCM53012 has 8 ports and usually 3 of them are connected to the SoC. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r46104 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46107 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: respect ACTIVE_LOW when powering USB using GPIORafał Miłecki2015-06-211-9/+28
| | | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r46088 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46103 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: enable USB power on Buffalo WZR-1750DHPRafał Miłecki2015-06-213-7/+39
| | | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r46087 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46102 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: update SPROM driver to include just-sent patchRafał Miłecki2015-06-211-44/+9
| | | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r46086 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46101 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: enable USB power on Netgear R6250Rafał Miłecki2015-06-211-0/+38
| | | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r46083 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46099 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: update xHCI patchRafał Miłecki2015-06-211-9/+22
| | | | | | | | | | This drops some debugging pr_info and adds platform_device_unregister. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r46082 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46098 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: fix enabling GPIO-controlled USB powerRafał Miłecki2015-06-211-0/+31
| | | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r46081 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46097 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: add xHCI supportRafał Miłecki2015-06-214-0/+550
| | | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r46080 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46096 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: refresh patch with USB_MT7621_XHCI_PLATFORMRafał Miłecki2015-06-211-8/+6
| | | | | | | | | Fixes: edea6dfde4dc ("kernel: make USB_XHCI_PLATFORM selectable") Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r46085 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46095 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: make USB_XHCI_PLATFORM selectableRafał Miłecki2015-06-212-0/+92
| | | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r46079 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46094 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: add support for mt7621 switch countersJohn Crispin2015-06-181-1/+187
| | | | | | | | Signed-off-by: Cristian Morales Vega <cristian@samknows.com> Backport of r46050 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46060 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add profile and build image for EnGenius EPG5000.John Crispin2015-06-182-0/+14
| | | | | | | | Signed-off-by: Christian Beier <cb@shoutrlabs.com> Backport of r46049 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46059 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add user-space support for EnGenius EPG5000.John Crispin2015-06-184-1/+9
| | | | | | | | Signed-off-by: Christian Beier <cb@shoutrlabs.com> Backport of r46048 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46058 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add kernel support for EnGenius EPG5000.John Crispin2015-06-183-0/+218
| | | | | | | | Signed-off-by: Christian Beier <cb@shoutrlabs.com> Backport of r46047 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46057 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for TL-WR720N-v4.John Crispin2015-06-184-6/+13
| | | | | | | | | | | | The hardware should be almost the same as TL-WR720N-v3. WiFi and LAN networks were tested by "Lo Yuk Fai <loyukfai@gmail.com>". Failsafe and slider switch were tested by "Wong min <alpha080@gmail.com>". Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> Backport of r46046 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46056 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for compex wpj531John Crispin2015-06-189-6/+179
| | | | | | | | | | | | | tftpboot 0x80500000 openwrt-ar71xx-generic-wpj531-16M-squashfs-sysupgrade.bin erase 0x9f030000 +$filesize erase 0x9f680000 +1 cp.b $fileaddr 0x9f030000 $filesize Signed-off-by: Christian Mehlis <christian@m3hlis.de> Backport of r46045 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46055 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Add Support for the Bitmain Antminer S1John Crispin2015-06-189-1/+176
| | | | | | | | | | | | | This patch adds support for the Bitmain Antminer S1 Cryptocurrency Miner http://wiki.openwrt.org/toh/bitmain/s1 Signed-off-by: L. D. Pinney <ldpinney@gmail.com> Acked-by: James Hilliard <james.hilliard1@gmail.com> Backport of r46044 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46054 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Add Support for the Linksys RE6500John Crispin2015-06-188-1/+148
| | | | | | | | | | | | 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> Backport of r46043 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46053 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Add support for the D-Link DCS-930 B1John Crispin2015-06-188-0/+130
| | | | | | | | | | http://wiki.openwrt.org/toh/d-link/dcs-930l Signed-off-by: L. D. Pinney <ldpinney@gmail.com> Backport of r46042 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46052 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add support for PandoraBox PBR-M1John Crispin2015-06-188-1/+191
| | | | | | | | | | | 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> Backport of r46041 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46051 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix a bug in the cevt code on mt7620John Crispin2015-06-181-0/+14
| | | | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> Backport of r46038 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46039 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix hw id of tl-wr710n image (#19902)Felix Fietkau2015-06-181-1/+1
| | | | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> Backport of r46032 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46033 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: x86/64: enable VirtIO block and console supportJo-Philipp Wich2015-06-171-2/+2
| | | | | | | | | | This is required to use x86/64 in KVM containers with VirtIO disks Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> Backport of r46017 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46018 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: rb493g: fix gpio-mdio accesses under loadJonas Gorski2015-06-171-0/+61
| | | | | | | | | | | | | | | | | | | It seems that there are maximum timings for mdio accesses that can be hit when the system is under load and the thread is scheduled during a read or write access. Since there is no way of knowing if this happens as there is not even a parity bit, try to work around it by disabling interrupts during any gpio-mdio accesses. Performance impact seems to be neglectable, as mdio accesses are not that often. Hopefully fixes #19500. Signed-off-by: Jonas Gorski <jogo@openwrt.org> Backport of r46012. git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46016 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update 3.18 to 3.18.16Jonas Gorski2015-06-1744-334/+125
| | | | | | | | | | | | | Changelogs: * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.15 * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.16 Signed-off-by: Jonas Gorski <jogo@openwrt.org> Backport of r46011. git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46015 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add missing config symbolFelix Fietkau2015-06-171-0/+1
| | | | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> Backport of r46007 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46009 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: use USB patches sent upstream by HaukeRafał Miłecki2015-06-168-162/+383
| | | | | | | | | | | | | | | | | This stabilizes USB support. The old patch was handling initialization in a different order that was causing some problems with few USB 3.0 devices. Some weren't detected, some were working unstable, sometimes USB 3.0 could hang the whole controller. A still known issue (but not a regression) is controller hang triggered by connecting USB 1.1 device when not having OHCI controller enabled (kmod-usb-ohci). Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r45997 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@45998 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add missing config symbol (#19870)Felix Fietkau2015-06-151-0/+1
| | | | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> Backport of r45992 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@45993 3c298f89-4303-0410-b956-a3cf2f4a3e73
* remove broken targetsFelix Fietkau2015-06-1487-20317/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@45977 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: remove linux 4.0Felix Fietkau2015-06-14317-48198/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@45975 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: return limit as number of processed frames when re-scheduling NAPI pollFelix Fietkau2015-06-141-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45971 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar8216: Fix problem with AR8337 MAC swap handlingFelix Fietkau2015-06-146-4/+10
| | | | | | | | | | | | | | | | | | | | | AR8337 supports a configuration bit to swap MAC0 and MAC6. Currently this is set in general if an AR8337 is detected and causes issues with devices using an AR8334 (internally an AR8337, just less chip pins). And it might even cause issues with AR8337-based devices with different board designs. Swapping the MAC's however isn't needed for AR8337 in general. It's just needed in case of certain board designs (affected devices seem to be based on Atheros reference board AP135/136-010). Therefore this configuration bit should be moved to platform data. The patch includes the needed changes to the device initialization code of affected devices. Hopefully I didn't miss any .. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45970 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Add pll_1000 value for eth0 to Ubiquiti Rocket M XWFelix Fietkau2015-06-141-1/+2
| | | | | | | | | | This patch adds the pll_1000 value for eth0 interface. This makes the Rocket M XW image compatible with other Ubiquiti devices with similar hardware with a Gigabit Ethernet port. Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45965 3c298f89-4303-0410-b956-a3cf2f4a3e73
* oxnas: change file extension of u-boot+initramfs imageFelix Fietkau2015-06-141-1/+1
| | | | | | | | | | The *u-boot-initramfs* images are not ITB/FIT images but are rather supposed to be loaded to RAM and jumped-into. To avoid confusion, change the file extension from itb to bin. Signed-off-by: Daniel Golle <daniel@makrotopia.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45963 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix mac offset in firmware fileFelix Fietkau2015-06-141-1/+1
| | | | | | | | | In new firmware-4.bin (for ath10k) mac offset is 0x114 (276), not 0x118 (280). This also closes #19751, bug introduced in #45624 Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45958 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix 100/10mbps ethernet link issues on mynet range extenderFelix Fietkau2015-06-142-4/+69
| | | | | | | | | | | | | | | | | | The mynet range extender hardware is suffering from ethernet link loss when booting with a recent openwrt image. This only happens on 100mbps links, with 1Gbps speed the link was fine. The cause of the problem is that the AR8035 PHY (aka F1E) requires turning on and off the special TX delay setting depending on the speed of the link. The 10mbps mode only needed the proper pll value, which was extracted from the vendor code. Reported-by: Pascal Paradis Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45954 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: fix A4001N image padding sizeJonas Gorski2015-06-111-1/+1
| | | | | | | | | | | | When r42245 moved A4001N to DT based detection the image padding size was accidentally increased from 4 to 8 MiB. This made images unflashable on these devices. Fixes #19836. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45945 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: update NVRAM driver to MIPS version from upstream-sfrRafał Miłecki2015-06-101-21/+16
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45943 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: backport BCM47XX patches (NVRAM & BCMA_HOST_PCI)Rafał Miłecki2015-06-1010-12/+354
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45942 3c298f89-4303-0410-b956-a3cf2f4a3e73
* b53: fix memory out of bounds access on 64 bit targetsJonas Gorski2015-06-101-2/+2
| | | | | | | | | | | | | On device reset the sizes for the vlan and port tables were wrongly calculated based on the pointer size instead of the struct size. This causes buffer overruns on 64 bit targets, resulting in panics. Fix this by dereferencing the pointers. Reported-by: Fedor Konstantinov <blmink@mink.su> Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45938 3c298f89-4303-0410-b956-a3cf2f4a3e73
* b53: widen stp state mask to 3 bits (instead of 2)Jonas Gorski2015-06-101-1/+1
| | | | | | | | | | | | | | | At least on my b53 chip, the mask is 3 bits wide, and because of this some STP states are not set properly and discarded when read. Maybe for some other chips it makes sense to have just 2 bits width, but I don't have other versions around to test/validate. If that's the case then maybe we could add another STP state mask. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45937 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix Power LED handling for WHR-300HP2, WHR-600D, WHR-1166DFelix Fietkau2015-06-081-3/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45930 3c298f89-4303-0410-b956-a3cf2f4a3e73