aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* kernel: update 3.10 to 3.10.12Gabor Juhos2013-09-1539-117/+64
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38000 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: bgmac: allow bigger et_swtype nvram variableHauke Mehrtens2013-09-151-0/+14
| | | | | | | | | | | Without this patch it is impossible to read et_swtype, because the 1 byte space is needed for the terminating null byte. Now it should be possible to read decimal and hex vars of max 8 bit. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37999 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: mtd: bcm47xxpart: detect block aligned Squashfs partitionHauke Mehrtens2013-09-151-0/+40
| | | | | | | | | | | | | | | | | | | Most of the bcm47xx devices use TRX format for storing kernel and some partition like Squashfs or JFFS2. This is pretty flexible solution, CFE (the bootloader) just writes (and later boots) TRX at some hardcoded place and paritions can vary in the size. However some devices don't use TRX format. Very recently we have discovered ZTE H218N that has kernel and rootfs partitions at some "random" places. This patch allows Linux find a rootfs partition after installing custom image with a CFE bootloader. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37998 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel/3.10: move OpenWrt MTD options into a submenuGabor Juhos2013-09-151-6/+10
| | | | | | | | | | Separate OpenWrt specific MTD options from the mainline option by moving those into a new submenu in the kernel configuration interface. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37997 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: update board detection patchHauke Mehrtens2013-09-151-98/+142
| | | | | | | | | | * Use different structs depending on the number of nvram variables to check. * Add detection of ZTE H218N, this closes #14151. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37996 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: b53: detect revision of BCM5325Hauke Mehrtens2013-09-152-1/+9
| | | | | | | | | | The revision is stored in a different register than it is in other Broadcom switches. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37995 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: b53: fix vlan write for BCM5325 revison 3+Hauke Mehrtens2013-09-151-2/+7
| | | | | | | | | | These switches are integrated in some recent BCM53XX and BCM47XX SoCs like the BCM53572. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37994 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: bgmac: fix internal switch initializationHauke Mehrtens2013-09-151-0/+33
| | | | | | | | | | | | | | Some devices (BCM4749, BCM5357, BCM53572) have internal switch that requires initialization. We already have code for this, but because of the typo in code it was never working. This resulted in network not working for some routers and possibility of soft-bricking them. Use correct bit for switch initialization and fix typo in the define. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37993 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: adjust the md5sum for the uploaded source tarball (fixes #14155)Felix Fietkau2013-09-141-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37990 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: detect Asus RT-N10Hauke Mehrtens2013-09-141-2/+4
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37989 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: b53: use hard coded switch reset gpio on some boards.Hauke Mehrtens2013-09-141-2/+10
| | | | | | | | | | | | | The Linksys wrt310n v1 does not have a robo_reset config variable in nvram, but GPIO Pin 8 is the pin needed for resetting the external switch, Linksys hard coded it into their source code. Thank you Devastator for testing. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37988 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: b53: add soft reset for BCM539x switchesHauke Mehrtens2013-09-142-0/+12
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37987 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: tg3: use the phy address from et0phyaddr and not the default phy ↵Hauke Mehrtens2013-09-142-14/+227
| | | | | | | | | | | address. Thank you Devastator for testing. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37986 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: add another minor tx path fixFelix Fietkau2013-09-141-15/+23
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37985 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: when using nl80211, parse interface combinations instead of ↵Felix Fietkau2013-09-141-9/+57
| | | | | | | | creating/deleting interfaces Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37983 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: merge a fix for tx processing issues with aggregationFelix Fietkau2013-09-141-46/+54
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37982 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic/3.10: remove unused defines from the rootfs split patchGabor Juhos2013-09-141-9/+8
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37981 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic/3.10: reduce number of ifdefs in the rootfs split codeGabor Juhos2013-09-141-14/+14
| | | | | | | | Use the config_enabled() macro where it is possible. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37980 3c298f89-4303-0410-b956-a3cf2f4a3e73
* imx6: add network defaults for GW5400-ALuka Perkov2013-09-131-1/+3
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37979 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add missing config optionHauke Mehrtens2013-09-131-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37978 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: board detection, GPIO for Linksys E1000 V2.1Hauke Mehrtens2013-09-132-2/+20
| | | | | | | | | | | | | | | This patch adds board detection for the Linksys E1000 V2.1 router, as well as GPIO support for same. This fixes bug #14135. Currently, wired networking isn't working on the router, and I haven't tried the wireless, but with this patch, OpenWRT successfully boots, and all the LEDs and buttons work properly. Signed-off-by: Zachary Catlin <zcatlin@indiana.edu> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37977 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: refresh patchesGabor Juhos2013-09-133-3/+3
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37976 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic/3.10: refresh patchesGabor Juhos2013-09-133-19/+4
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37975 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic/3.10: rename mtd patchesGabor Juhos2013-09-1312-3/+3
| | | | | | | | | | - change patch numbers to group the related stuff together, - add mtd prefix where it is missing, - use hyphens in the patch names Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37974 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns21xx: remove 3.8 supportGabor Juhos2013-09-1319-7809/+0
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37973 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns21xx: switch to 3.10Gabor Juhos2013-09-131-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37972 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns21xx: add support for 3.10Gabor Juhos2013-09-1319-0/+7837
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37971 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: do not use GPIO configuration of WRT54G for every unknown Linksys ↵Hauke Mehrtens2013-09-131-2/+3
| | | | | | | | | | | | | | device Most of the Linksys devices without an own GPIO configuration where detected as WRT54G. On one board this made OpenWrt to boot into failsafe every time, because one GPIO configurated as button was not a button. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37970 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: detect WRT310NV1Hauke Mehrtens2013-09-131-2/+4
| | | | | | | Thanks Devastator for testing git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37969 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns21xx: make cns21xx-ehci a separate driverGabor Juhos2013-09-133-115/+105
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37968 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns21xx: disable legacy PTY devicesGabor Juhos2013-09-131-2/+0
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37967 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns21xx: fix broken case statement in led defaults fileGabor Juhos2013-09-131-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37966 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns21xx: enable XZ_DEC_ARM and XZ_DEC_BCJ kernel optionsGabor Juhos2013-09-131-0/+2
| | | | | | | | | | | | | | | | Squashfs is unable to decompress some blocks without that: [ 0.970000] SQUASHFS error: xz_dec_run error, data probably corrupt [ 0.980000] SQUASHFS error: squashfs_read_data failed to read block 0x29a72 [ 0.990000] SQUASHFS error: Unable to read fragment cache entry [29a72] [ 1.000000] SQUASHFS error: Unable to read page, block 29a72, size 14c50 [ 1.010000] SQUASHFS error: Unable to read fragment cache entry [29a72] [ 1.020000] SQUASHFS error: Unable to read page, block 29a72, size 14c50 [ 1.260000] SQUASHFS error: xz_dec_run error, data probably corrupt Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37965 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for TL-MR3040 v2Gabor Juhos2013-09-131-1/+3
| | | | | | | | | | This patch adds support for building firmware images for the TP-Link TL-MR3040 v2. Tested and working on v2.1 hardware. Signed-off-by: Mads Hansen <d@taba.se> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37964 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add wireless bgn led support for dir-825-c1Gabor Juhos2013-09-131-0/+5
| | | | | | | | | | | | | I checked the GPL code drop from D-Link and tried to get the wireless and LAN switch LEDs to light up. I found some references in AthSDK/www/DIR-825_C1/bsp.h as well as AthSDK/www/DIR-825_C1/rootfs/etc/sysconfig/S2gpio.sh, but in the end I only got the led for 2.4GHz to work. Anyway, here's the patch. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37963 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uhttpd: udpat to git headJo-Philipp Wich2013-09-131-2/+2
| | | | | | | | | | | - fixes buffer corruption with JSON-RPC list calls - change JSON-RPC protocol to include the session ID into the call attributes instead of passing it via the URL - forcibly pass effective session ID as "ubus_rpc_session" attribute to called procedures - change ubus acl checking to conform with new ubus session namespace git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37962 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rpcd: update to git headJo-Philipp Wich2013-09-131-3/+4
| | | | | | | | | - recalculate session ACLs on reload - support negative access group expressions in /etc/config/rpcd - prevent destryoing the default session - use "ubus_rpc_session" attribute as session identifier to enforce JSON-RPC proxy security git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37961 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: gsc depends on kmod-i2c-coreLuka Perkov2013-09-121-3/+3
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37960 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: remove support for kernel 3.8Hauke Mehrtens2013-09-1258-7852/+2
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37959 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: add default config for new kernel config optionHauke Mehrtens2013-09-121-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37958 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update bcma and ssb to wireless-testing master-2013-09-09Hauke Mehrtens2013-09-1221-1232/+1869
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37957 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add support for ESMT F25L32PA with upstream submissionLuka Perkov2013-09-121-0/+37
| | | | | | Signed-off-by: Flavio Silveira <fggs@terra.com.br> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37956 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: Timing workaround for buggy serversSteven Barth2013-09-121-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37951 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: fix imx sata moduleLuka Perkov2013-09-111-1/+2
| | | | | | | | | | The imx sata module has only been backported to imx6 target. This change will fix buildbot errors due to missing patches in other targets. Keep this until all targets use kernel version with imx sata support in them. Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37950 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: align the skb padding to power of twoFelix Fietkau2013-09-115-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The skb is usually started by a padding which allows the protocols in the network stack to add their headers in front of the payload. The skb can be reallocated in case the preallocated padding is not large enough. This can for example happen in the function __skb_cow which will check the requested extra headroom and allocate more buffer when the requested headroom is bigger than the available one. The extra buffer is aligned again to the multiple of the NET_SKB_PAD of the target architecture. The macro used to create the multiple of the NET_SKB_PAD is written in a way which allows only values power two as alignment parameter. The currently used value of 48 bytes can not be written as n ** 2 but as 2 ** 4 + 2 ** 5. The extra buffer is therefore not always the multiple of 48 but can be 16, 64, 80, 128, 144 and so on. The generated values are also not monotonic (48 requested bytes are mapped to 80 allocated bytes and 49 requested bytes are mapped to 64 allocated bytes). These unexpected small values result in more reallocations of the buffer. This was noticed prominently during tests between two QCA9558 720 MHz devices which were connected via ethernet to PCs and had a HT40 802.11n 3x3 link between each other. The throughput PC-to-PC during iperf TCP runs increased reliable from 186 Mibit/s to 214 Mibit/s in one direction and from 195 Mibit/s to 220 Mibit/s in the other direction. This is a performance increase of ~14% just by reducing the amount of reallocations. Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37948 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/gcc: upgrade linaro gcc 4.6 to 4.6-2013.05Felix Fietkau2013-09-111-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37947 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/gcc: fix up breakage introduced in r37945Felix Fietkau2013-09-111-1/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37946 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain/gcc]: upgrade Linaro gcc 4.8 to 4.8-2013.08Imre Kaloz2013-09-116-18/+18
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37945 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain/binutils]: add support for Linaro binutils 2.23.2-2013.06Imre Kaloz2013-09-118-12/+153
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37944 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain/gdb]: upgrade to 7.6-2013.05Imre Kaloz2013-09-114-35/+13
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37943 3c298f89-4303-0410-b956-a3cf2f4a3e73