summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-09-17kernel: make most modules use AutoProbeblogic
now that we have modprobe we can set more than half of the modules to AutoProbe Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38021 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-17include: add AutoProbe supportblogic
This is needed to make modprobe work Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38020 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-17ubox: make use of modprobeblogic
ubox now has modprobe support build and install the tool Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38019 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-17libubox: add packaging info for uloop lua bindingblogic
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38018 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-17ath9k: merge a fix for PS-Poll responses + aggregationnbd
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38017 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-17kernel: backport a fix for multiqueue selection to prevent tcp reordering ↵nbd
with fair queueing Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38016 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-17kernel: fix config symbol for kmod-crypto-hashnbd
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38015 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-17mac80211: drop spoofed packets in ad-hoc mode (fixes #12427)nbd
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38013 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-16brcm47xx: Add support for Huawei E970hauke
This patch adds support for Huawei E970 wireless gateway devices. It has been tested on an E970 labelled as T-Mobile web'n'walk Box IV. E960/B970 should work too, from what I know it's basically the same hardware. The device has a Broadcom BCM5354 SoC and a built-in 3G USB modem. It uses a hardware watchdog which needs GPIO-7 to be toggled at least every 1-2 seconds. This patch uses gpio_wdt module (see my previous patch today) to take care of this. Tested and works: 3G wan, wlan+LED, VLAN config, failsafe using reset button, image to be used for upgrade from OEM firmware's web interface Link to the wiki page I've created: <http://wiki.openwrt.org/toh/huawei/e970> Issue: * lzma-loader crashes, so gzipped kernel is used. Presumably due to watchdog reset during kernel decompress. Signed-off-by: Mathias Adam <m.adam--openwrt@adamis.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38011 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-16kernel: add generic GPIO watchdog driverhauke
This is used on Huawei E970 (brcm47xx). Signed-off-by: Mathias Adam <m.adam--openwrt@adamis.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38010 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-16brcm47xx: add detection for Phicomm M1hauke
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38009 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-16broadcom-diag: add GPIO configuration for Linksys E2000 V1hauke
Thank you Javier Achirica for the patch. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38008 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-16broadcom-diag: Add WRT310N v1 gpio leds and buttonshauke
Signed-off-by: Flavio Silveira <fggs@terra.com.br> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38007 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-16brcm47xx: detect Linksys E1200 V2hauke
This adds detection for Linksys E1200 V2 Thank you Lightsword and Rafał. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38006 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-16brcm47xx: mtd: bcm47xxpart: detect "factory" partitionhauke
A new type of partition with magic FCTY was found on Huawei E970: 46 43 54 59 4b 51 37 4e 41 42 31 38 41 32 39 30 |FCTYKQ7NAB18A290| Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38005 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-16brcm47xx: bgmac: implement unaligned addressing for DMA rings that support ithauke
This is important patch for new devices that support unaligned addressing. That devices suffer from the backward-compatibility bug in DMA engine. In theory we should be able to use old mechanism, but in practice DMA address seems to be randomly copied into status register when hardware reaches end of a ring. This breaks reading slot number from status register and we can't use DMA anymore. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38004 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-15kernel/3.10: add new Kconfig option for firmware partition splitjuhosg
Add a new kernel config option for generic firmware partition split support and change the uImage split support to depend on the new option. Aslo rename the MTD_UIMAGE_SPLIT_NAME option to MTD_SPLIT_FIRMWARE_NAME to make it more generic. The patch is in preparation for multiple firmware format support. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38002 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-15brcm47xx: add detection code for Huawei E970hauke
This is based on a patch by Mathias Adam. Signed-off-by: Mathias Adam <m.adam--openwrt@adamis.de> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38001 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-15kernel: update 3.10 to 3.10.12juhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38000 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-15brcm47xx: bgmac: allow bigger et_swtype nvram variablehauke
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
2013-09-15brcm47xx: mtd: bcm47xxpart: detect block aligned Squashfs partitionhauke
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
2013-09-15kernel/3.10: move OpenWrt MTD options into a submenujuhosg
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
2013-09-15brcm47xx: update board detection patchhauke
* 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
2013-09-15kernel: b53: detect revision of BCM5325hauke
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
2013-09-15kernel: b53: fix vlan write for BCM5325 revison 3+hauke
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
2013-09-15brcm47xx: bgmac: fix internal switch initializationhauke
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
2013-09-14hostapd: adjust the md5sum for the uploaded source tarball (fixes #14155)nbd
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37990 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-14brcm47xx: detect Asus RT-N10hauke
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37989 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-14kernel: b53: use hard coded switch reset gpio on some boards.hauke
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
2013-09-14kernel: b53: add soft reset for BCM539x switcheshauke
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37987 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-14brcm47xx: tg3: use the phy address from et0phyaddr and not the default phy ↵hauke
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
2013-09-14ath9k: add another minor tx path fixnbd
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37985 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-14iwinfo: when using nl80211, parse interface combinations instead of ↵nbd
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
2013-09-14ath9k: merge a fix for tx processing issues with aggregationnbd
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37982 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-14generic/3.10: remove unused defines from the rootfs split patchjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37981 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-14generic/3.10: reduce number of ifdefs in the rootfs split codejuhosg
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
2013-09-13imx6: add network defaults for GW5400-Aluka
Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37979 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-13kernel: add missing config optionhauke
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37978 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-13brcm47xx: board detection, GPIO for Linksys E1000 V2.1hauke
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
2013-09-13ar71xx: refresh patchesjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37976 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-13generic/3.10: refresh patchesjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37975 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-13generic/3.10: rename mtd patchesjuhosg
- 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
2013-09-13cns21xx: remove 3.8 supportjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37973 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-13cns21xx: switch to 3.10juhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37972 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-13cns21xx: add support for 3.10juhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37971 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-13brcm47xx: do not use GPIO configuration of WRT54G for every unknown Linksys ↵hauke
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
2013-09-13brcm47xx: detect WRT310NV1hauke
Thanks Devastator for testing git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37969 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-13cns21xx: make cns21xx-ehci a separate driverjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37968 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-13cns21xx: disable legacy PTY devicesjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37967 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-13cns21xx: fix broken case statement in led defaults filejuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37966 3c298f89-4303-0410-b956-a3cf2f4a3e73