aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ramips: improve tx clean up and add fe_tx_ring structFelix Fietkau2015-06-053-70/+83
| | | | | | | | | | if there is any new tx need to clean up. do it in next napi poll. collect tx related members to fe_tx_ring struct. for better cache usage and more readable. Signed-off-by: michael lee <igvtee@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45895 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: change ethernet napi interrupt sequenceFelix Fietkau2015-06-051-5/+4
| | | | | | | | | | when open device. first ready napi software rx. then enable hardware interrupt. final start software tx queue to send data. Signed-off-by: michael lee <igvtee@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45894 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix ethernet vlan tx offload support check when deleteFelix Fietkau2015-06-051-1/+1
| | | | | | Signed-off-by: michael lee <igvtee@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45893 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix the memory map on FireWRTFelix Fietkau2015-06-051-1/+1
| | | | | | | | | | | | | | | Avoid the use of memory marked as reserved MT7621 support 512MB memory. According to "MT7621_ProgrammingGuide_Preliminary_Platform.pdf" 0x0~0x1c000000 448MB 0x20000000~0x4000000 64MB total 512MB Signed-off-by: wengbj <fl.service@t-firefly.com> Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45892 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: adjust mips highmem offset to avoid the need for -mlong-calls on ↵Felix Fietkau2015-06-052-0/+34
| | | | | | | | systems with >256M RAM Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45891 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: use highmem on the FireWRT boardFelix Fietkau2015-06-041-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45890 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: enable highmem support for mt7621Felix Fietkau2015-06-042-8/+14
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45889 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: remove prompt of the USB_MT7621_XHCI_PLATFORM symbol to avoid issues ↵Felix Fietkau2015-06-041-3/+4
| | | | | | | | with kernel_menuconfig Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45888 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gmp: disable assembly to fix build on systems that use PIE binariesFelix Fietkau2015-06-041-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45887 3c298f89-4303-0410-b956-a3cf2f4a3e73
* musl: update to version 1.1.9Felix Fietkau2015-06-045-101/+2023
| | | | | | | | | Patch to 2015-06-04 to fix ldso related regressions on PPC and MIPS. Signed-off-by: Daniel Golle <daniel@makrotopia.org> Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45886 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Add sch_fq and sch_pie to the kmod-sched package.Steven Barth2015-06-041-0/+2
| | | | | | | | | | | | | These are two new packet schedulers introduced in Linux 3.12 and 3.14 respectively. sch_fq is a perfect fairness queueing scheduler that also adds pacing on host TCP flows, and sch_pie is an AQM. Having them available in kmod-sched makes it easier for people to test these new queueing schemes. Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45885 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lldpd: add option to disable custom TLVsJohn Crispin2015-06-032-0/+6
| | | | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45884 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: work around a event raceJohn Crispin2015-06-032-4/+2
| | | | | | | | | | there is a conceptual design flaw in our interface events. workaround this by disabling duplicate message supression in procd. we need to fix this properly for the next release Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45883 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: Make the CRC32 poly value configurable per deviceJohn Crispin2015-06-031-5/+5
| | | | | | | | | This also adds the old hardcoded value to the VGV7519BRN profile to make sure that images are still generated correctly. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45882 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/firmware-utils: Allow changing the CRC32 poly value in mkbrnimgJohn Crispin2015-06-031-7/+13
| | | | | | | | | | | | | | VGV7519 is currently the only device with brnboot support. It seems to be happy with 0x2083b8ed as CRC32 poly. However, VGV7510KW22 fails to validate the checksum - it requires 0x04c11db7 instead. I have built an brnboot image manually on the command line, once with the old code and then with the new code but passing the old CRC32 poly value. Both resulted in a brnboot image with the same sha1sum. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45881 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ipq806x: missing symbolJohn Crispin2015-06-031-0/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45880 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Revert "musl: update to version 1.1.9" (r45754)Felix Fietkau2015-06-034-807/+95
| | | | | | The current version seems to be broken on MIPS. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45879 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ncurses: Fix building with gcc 5.1Hauke Mehrtens2015-06-022-1/+47
| | | | | | | | | | | This patch is taken from the gentoo guys who extracted this from a large upstream commit (with many unrelated changes). Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45878 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add broadcom phy driverHauke Mehrtens2015-06-021-0/+17
| | | | | | | | | | | This adds the Broadcom phy driver. This also loses #19545. Thank you bigtman43 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45877 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: add a 10 second delay to the interface triggersJohn Crispin2015-06-021-0/+1
| | | | | | | | | this is an ugly hack that will be removed when the netifd maintainers have time to look at the problem. Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45876 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: fix livebox image generationJonas Gorski2015-06-021-0/+2
| | | | | | | | | Livebox does need the uncompressed kernel, so just create it during image generation. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45875 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: fix an issue with stopping rx/tx dma on AR93xxFelix Fietkau2015-06-022-1/+34
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45874 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: add a new option to control HT coexistance separate from noscanFelix Fietkau2015-06-022-6/+11
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45873 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: remove stmmac kernel packageJohn Crispin2015-06-011-21/+0
| | | | | | | | | We just moved the stmmac support in the kernel for ipq806x. Therefore, nobody needs this driver so we'll just get rid of it. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45872 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ipq806x: move stmmac support in the kernel binaryJohn Crispin2015-06-012-3/+9
| | | | | | | | | | Ethernet GMAC is built-in the SoC, so there is no need to enable it as a module. We'll just assume we need it. That's what is done for other platform where this driver is used so it'll make things more consistent. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45871 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include: image.mk: ensure that $(KDIR)/tmp exists in the IB case as wellJo-Philipp Wich2015-06-011-0/+3
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45870 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: delete uncompressed kernels after useJonas Gorski2015-06-011-0/+2
| | | | | | | | | Delete the dtb appended, uncompressed kernels after having compressed them, so they don't end in the image builder. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45869 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: fix VG3503J rootfs offsetJonas Gorski2015-06-011-1/+1
| | | | | | | | | | In r44391 the kernel partion size was increased to allow larger kernels, but the rootfs partition offset was missed. Fix this by setting the rootfs offset to the expected value. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45868 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: silence fw3 warningsSteven Barth2015-06-011-1/+1
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45867 3c298f89-4303-0410-b956-a3cf2f4a3e73
* imagebuilder: create cache directory if needed (#18629)Jo-Philipp Wich2015-06-011-7/+7
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45866 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: backport ssb fix for WRT350N v1 (BCM4705) rebootsRafał Miłecki2015-06-016-27/+29
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45865 3c298f89-4303-0410-b956-a3cf2f4a3e73
* au1000: add a missing dependency to the pcmcia moduleJohn Crispin2015-06-011-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45864 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: fix segfault in mtd parsing code (#19768)Jo-Philipp Wich2015-06-011-2/+2
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45863 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: bluetooth: Add dependency to kmod-crypto-ecbJohn Crispin2015-05-311-1/+1
| | | | | | | | | Add dependency of kmod-crypto-ecb to kmod-bluetooth to avoid the kernel warning "Bluetooth: Unable to create crypto context". Signed-off-by: Bruno Randolf <br1@einfach.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45860 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lldpd: disable xml explicitlyJohn Crispin2015-05-311-0/+1
| | | | | | | | | | | | | | This prevents auto-detection of libxml2 and thus the error: Package lldpd is missing dependencies for the following libraries: libxml2.so.2 Preventing a dependency to libxml2 is preferred, since libxml2 would be a out-of-(core-)tree dependency. Reported-by: Buildbot Signed-off-by: Michael Heimpold <mhei@heimpold.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45859 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ca-certificates: update to version 20150426John Crispin2015-05-311-4/+4
| | | | | | | | update to version 20150426 Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45858 3c298f89-4303-0410-b956-a3cf2f4a3e73
* malta: add default network configurationJohn Crispin2015-05-311-0/+6
| | | | | | | | | | I didn't figure out how to achieve this using uci-defaults-new.sh, so use old-school uci-defaults script as that's what is used on realview as well. Signed-off-by: Daniel Golle <daniel@makrotopia.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45857 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: make netifd script create AP interface directlyFelix Fietkau2015-05-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Before starting hostapd we create interface for it. The problem is we try to create STA interface just to let hostapd change it to AP later. It may fail if device doesn't support STA interfaces or if we already hit a limit. Consider following phy (it's from BCM43602 and brcmfmac): $ iw phy phy0 info | tail valid interface combinations: * #{ IBSS, managed } <= 1, #{ AP } <= 4, #{ P2P-client, P2P-GO } <= 1, #{ P2P-device } <= 1, total <= 3, #channels <= 1 Trying to setup 2 interfaces: STA + AP results in: radio0 (1101): command failed: Operation not supported (-95) radio0 (1101): command failed: Operation not supported (-95) radio0 (1101): command failed: Operation not supported (-95) radio0 (1101): command failed: Operation not supported (-95) radio0 (1101): Configuration file: /var/run/hostapd-phy0.conf radio0 (1101): Could not read interface wlan0-1 flags: No such device Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45856 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use Image/BuildLoaderPatched for TPLINK-SAFELOADER imagesFelix Fietkau2015-05-301-6/+2
| | | | | | | | | | | Building the loader in Image/Build/TPLINK-SAFELOADER would break the image builder as no target compiler is available in that stage. Fixes #19580 Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45855 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add Image/BuildLoaderPatched macroFelix Fietkau2015-05-301-0/+22
| | | | | | | | | | | In contrast to Image/BuildLoader, Image/BuildLoaderPatched first patches the kernel command line in the image and then builds the loader without command line. This allows building loaders for systems which don't boot correctly when the kernel command line is provided by the loader (like the TP-LINK CPE series). Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45854 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uhttpd: use 307 for HTTPS redirections to retain request methodJo-Philipp Wich2015-05-301-1/+1
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45853 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uhttpd: add support for enforcing httpsJo-Philipp Wich2015-05-303-2/+7
| | | | | | | | Also set HTTPS environment variable for CGI programs on SSL connections. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45852 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: fix imagebuilderJohn Crispin2015-05-301-4/+14
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45851 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uhttpd: inhibit chunked transfer encoding for static file responsesJo-Philipp Wich2015-05-301-2/+2
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45850 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: kmod-stmmac depends on kmod-libphyJo-Philipp Wich2015-05-301-1/+1
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45849 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: upstream fix: mount overlayfs r/o if workdir cannot be createdJohn Crispin2015-05-301-0/+0
| | | | | | | | move the patch to the proper folder Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45848 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix swapped colors for router LED on WHR-1166D (thx, Björn)Felix Fietkau2015-05-301-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45847 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rename status led to wifi on WHR-300HP2, WHR-1166D, WHR-600DFelix Fietkau2015-05-303-12/+12
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45846 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix buttons on WHR-300HP2, WHR-1166D, WHR-600DFelix Fietkau2015-05-293-24/+30
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45845 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: extract MAC address on WHR-300HP2, WHR-1166D, WHR-600DFelix Fietkau2015-05-291-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45844 3c298f89-4303-0410-b956-a3cf2f4a3e73