aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
Commit message (Collapse)AuthorAgeFilesLines
...
* brcm47xx: refresh patchesHauke Mehrtens2014-04-083-4/+4
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40425 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: bgmac: rework patch checking packet lengthHauke Mehrtens2014-04-084-26/+141
| | | | | | | | | | | | | | | | | | | | | This bgmac patch was an attempt to fix/workaround bug reported in https://dev.openwrt.org/ticket/7198 noticed on WNR3500L. Patch assumed length reported by the hardware was 0 and was trying to read it until getting a different value. This was actually the opposite. Lenghts were some invalid & huge values that resulted in skb_over_panic. For example: skbuff: skb_over_panic: text:83b21074 len:57222 (...) skbuff: skb_over_panic: text:87af1024 len:43226 (...) skbuff: skb_over_panic: text:87af5024 len:8739 (...) So instead of that not-working patch checking for 0, write a new one checking for huge values. In case something like that happens, dump hardware state and drop the packet. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40424 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: fix WHR-300HP2 mtd sizeJohn Crispin2014-04-071-3/+3
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40419 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: there is a V2 of VG3503J that needs a newer fe phy firmwareJohn Crispin2014-04-075-161/+186
| | | | | | | | | this should really be auto detected by the kernel, lets used this workaround until the real solution is ready Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40418 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add a ubi forced detach ioctlJohn Crispin2014-04-071-0/+41
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40417 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: move some always-used led related functionality from kmod packages ↵Felix Fietkau2014-04-072-5/+2
| | | | | | | | to the kernel image Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40413 3c298f89-4303-0410-b956-a3cf2f4a3e73
* /lib/functions.sh: move rarely used mtd and macaddr related functions to ↵Felix Fietkau2014-04-072-0/+3
| | | | | | | | /lib/functions/system.sh Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40411 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for the TP-LINK TL-WR841N/ND v9Felix Fietkau2014-04-079-1/+196
| | | | | | | | | | Everything seems to be working fine. Potential issues: * VLAN port IDs are reversed with regard to the numbers on the case. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40400 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for QCA953x SoCFelix Fietkau2014-04-073-0/+447
| | | | | | | | | | | | | | | | | I don't have access to the specs, so I'm not sure about every detail, but I haven't seen any problems with my test system, a TL-WR841N v9. It looks pretty much like a QCA955x without PCI, a little twist in the clock calculation and a AR9331-compatible switch. Features not yet supported: * EHCI (my test system doesn't have USB) * ? (I have no idea if the QCA953x has any other features I don't know about that aren't used by the TL-WR841N v9) Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40399 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: hack around jffs2 corruption with SMPJonas Gorski2014-04-062-0/+52
| | | | | | | | | | | | mempy_fromio seems to be randomly failing when the destination is unaligned; work around it by forcing the name to be aligned in memory. Should fix jffs2 and SMP for now, but needs to be some additional looking into as it does not fix the source. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40396 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: remove unmaintained codeJohn Crispin2014-04-064-36/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40392 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix regression from r39949 (#15382)Felix Fietkau2014-04-061-23/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40391 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: sync mips counters during bringup of cpusJonas Gorski2014-04-054-0/+56
| | | | | | | | | Fixes gettimeofday returning different values depending on which cpu it is called. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40387 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: cleanup the dsl control scriptsJohn Crispin2014-04-052-0/+305
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40381 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: update development kernel to linux 3.14Jonas Gorski2014-04-04155-2392/+185
| | | | | | | | | | | | | | | Now that 3.13 will be EOL soon, switch to 3.14. Known issues: * 74x164 is not available because upstream dropped non-DT support * jffs2 breaks with SMP Unknown issues: * probably plenty Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40380 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: make sched_act_connmark compile for 3.14Jonas Gorski2014-04-041-15/+11
| | | | | | | | The upstream API changed, which allowed to simplify the code a bit. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40376 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: make sched_esfq compile for 3.14Jonas Gorski2014-04-041-1/+1
| | | | | | | | net_random was replaced with prandom_u32. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40375 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add missing config symbol for linux 3.14Jonas Gorski2014-04-041-0/+1
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40374 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: nand fixesJohn Crispin2014-04-032-0/+223
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40372 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: BT Home Hub 2B support - userspaceJohn Crispin2014-04-032-0/+12
| | | | | | | | Basic userspace configuration for BT Home Hub 2B Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40371 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: BT Home Hub 2B support - board supportJohn Crispin2014-04-035-2/+306
| | | | | | | | Board support patch for BT Home Hub 2B Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40370 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: BT Home Hub 2B support - jedec probeJohn Crispin2014-04-032-0/+39
| | | | | | | | | Lantiq nor patch. Adds support for jedec probing if cfi probing fails. Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40369 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: make td8970 wifi led workJohn Crispin2014-04-032-7/+18
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40368 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: fix vr9 ubi handlingJohn Crispin2014-04-037-24/+66
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40364 3c298f89-4303-0410-b956-a3cf2f4a3e73
* x86: xen_domu is functional, remove broken flagFelix Fietkau2014-04-021-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40363 3c298f89-4303-0410-b956-a3cf2f4a3e73
* orion: create a macro for zImage with machine idFlorian Fainelli2014-04-011-12/+11
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40360 3c298f89-4303-0410-b956-a3cf2f4a3e73
* orion: fix KERNELNAMEFlorian Fainelli2014-04-011-1/+1
| | | | | | | | uImage cannot be built in parallel properly until zImage is ready Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40359 3c298f89-4303-0410-b956-a3cf2f4a3e73
* orion: fix initramfs uImage generationFlorian Fainelli2014-04-011-1/+1
| | | | | | | | We would fail to copy an non-existent uImage-initramfs to $(BIN_DIR) Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40358 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 3.14 final is outImre Kaloz2014-03-318-19/+19
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40352 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: backport BCM5357 fix for GPIOsHauke Mehrtens2014-03-304-9/+54
| | | | | | | | | | This backports: bcma: gpio: register 32 GPIOs on BCM5357 Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40347 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: backport 3.14 patch for nvram GPIO pin readHauke Mehrtens2014-03-301-0/+30
| | | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40346 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: Name LEDs colors for Linksys E1000 V2.1Hauke Mehrtens2014-03-302-0/+26
| | | | | | | | | | Handle it by creating a new patch for simple database changes. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40345 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: update workarounds patch to V3Hauke Mehrtens2014-03-302-6/+18
| | | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40344 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: fix chuncked-io moduleJohn Crispin2014-03-301-7/+10
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40342 3c298f89-4303-0410-b956-a3cf2f4a3e73
* revert: kernel: rtl8306: fix max pvid & remove port isolationJohn Crispin2014-03-301-76/+37
| | | | | | | | apparently this one was nt a good idea to merge Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40330 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lntiq: add support for Astoria ARV7519RW.John Crispin2014-03-306-0/+319
| | | | | | | | | | | | | | | These patches add support for the Astoria ARV7519RW aka Livebox 2.1 The PCI and PCIe interfaces have been disabled. Also, because there are two revisions of this board with different GPHY firmwares, two targets were defined. V2: rewrote partitions to work with an u-boot specifically made for these boards. Signed off by: Esteban Benito <estebanjbs@gmail.com> Signed off by: Carles Gadea <carlesgrg@gmail.com> Tested by: José Vázquez Fernández <ppvazquezfer@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40329 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: do an endianness swap to the RT2860 eeprom for ARV752DPW(22)John Crispin2014-03-301-4/+13
| | | | | | | | | | | | | | | | | | | | ARV7510PW22, ARV752DPW and ARV752DPW22 have the RT2860 eeprom stored in flash as big-endian, but the driver needs it in little-endian format. We have to swab it before handing it over. This requires my earlier patch for busybox. Funnily enough, ARV752DPW works also with the incorrect eeprom, but undoubtedly unoptimally. I have a hunch that also the final remaining Lantiq board would require this swabbing, but I'm not sure, so I just swab it in the three boards that I know about. v2: * Swab also on ARV7510PW22 based on feedback from Alvaro Rojas * Fix the offset with bs=2 Signed-off-by: Matti Laakso <malaakso at elisanet.fi> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40328 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: add esiJohn Crispin2014-03-302-1/+8
| | | | | | | | http://patchwork.openwrt.org/patch/3703/ Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40326 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: fix mtd_split for brnboot firmware imagesJohn Crispin2014-03-301-1/+1
| | | | | | | | | | | | | | | | | | | | The existing code only tries to split a parition with name "rootfs" while actually looking for kernel+rootfs, where usually "firmware" is used as a partition name. This doesn't make sense, as even if there was a partition 'rootfs' given by mtdparts or via device-tree, this code would lead to another partition called 'rootfs' being created which would not be properly distinguished in the current user-space code. While potentially we could use CONFIG_MTD_SPLIT_FIRMWARE_NAME to make that configurable, the lack of users of brnboot and the fact that we can freely decide the partition name made me simply change the hard-coded string constant from "rootfs" to "firmware". (I'm going to add support for ARV7506PW which run brnboot and needs this change) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40324 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: fixup ath5k supportJohn Crispin2014-03-301-0/+55
| | | | | | | | http://patchwork.openwrt.org/patch/4417/ Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40323 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: fix initial VLAN conf for P2601HNFXJohn Crispin2014-03-301-2/+3
| | | | | | Signed-off-by: Antonios Vamporakis <ant@area128.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40321 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: P2601HNFX dts update for STP and buttonsJohn Crispin2014-03-301-3/+6
| | | | | | | | | - Set correct AltSel for STP pins - Set front button to rfkill Signed-off-by: Antonios Vamporakis <ant@area128.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40320 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: add support for Arcadyan ARV7519PWJohn Crispin2014-03-305-1/+238
| | | | | | | | | | | This patch adds almost full support for this board. - WiFi is still not working - USB will not power up. According to some reports, it may be a passive port Signed-off-by: Antonios Vamporakis <ant@area128.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40319 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: reset gphys on rebootJohn Crispin2014-03-301-0/+19
| | | | | | | | If gphys are not reset upstream uboot can not use them anymore. Signed-off-by: Antonios Vamporakis <ant@area128.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40318 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: add support for ZyXEL P2812HNUFXJohn Crispin2014-03-304-0/+332
| | | | | | | | | | | This patch adds almost full support for this board. WiFi is still not working. The FXS ports are not functional due to missing support for the TAPI driver on VR9 SoC. Signed-off-by: Antonios Vamporakis <ant@area128.com> Tested-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40317 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: add ubifs support in image MakefileJohn Crispin2014-03-301-0/+43
| | | | | | Signed-off-by: Antonios Vamporakis <ant@area128.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40316 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: add ubifs to FEATURESJohn Crispin2014-03-302-2/+2
| | | | | | Signed-off-by: Antonios Vamporakis <ant@area128.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40315 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: xrx200: add ubi support in the kernelJohn Crispin2014-03-301-0/+17
| | | | | | Signed-off-by: Antonios Vamporakis <ant@area128.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40314 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: add inital support for xrx200 switchJohn Crispin2014-03-301-0/+2023
| | | | | | Signed-off-by: Antonios Vamporakis <ant@area128.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40313 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: xrx200: fix duplexJohn Crispin2014-03-301-0/+13
| | | | | | | | | | Both the GPL driver from ZyXEL and the xrx200 driver have this error. The flags are reversed. Full duplex is marked as half and the other way around. With this fix the switch will push full GBit speeds. Signed-off-by: Antonios Vamporakis <ant@area128.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40312 3c298f89-4303-0410-b956-a3cf2f4a3e73