aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* ramips: fix partition layout of WHR-300HP2, WHR-1166D, WHR-600DFelix Fietkau2015-05-293-18/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45843 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: implement sysupgrade support for whr-300hp2Felix Fietkau2015-05-291-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45842 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uboot-omap: allow generating dummy ipks, fixes omap imagebuilderJo-Philipp Wich2015-05-291-1/+0
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45841 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ixp4xx: use usb-*-pci where appropriateJonas Gorski2015-05-295-5/+5
| | | | | | | | | Most boards use pci connected usb controllers, so make sure to include the pci drivers. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45840 3c298f89-4303-0410-b956-a3cf2f4a3e73
* sunxi: correct default package selection, fixes imagebuilderJo-Philipp Wich2015-05-291-1/+2
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45839 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use Image/BuildKernel/Initramfs template to fix image builder errorsFelix Fietkau2015-05-291-2/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45838 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: do not call initramfs build from within the image builderFelix Fietkau2015-05-291-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45837 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: in new image building code, do not rebuild kernel images in the image ↵Felix Fietkau2015-05-291-1/+6
| | | | | | | | | | | | builder Some kernel images need to be wrapped in a loader, which cannot be built without a working toolchain. Also, this speeds up the image builder run. Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45836 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: store initramfs kernels in $(KDIR)/tmp - prevents them from being ↵Felix Fietkau2015-05-291-3/+3
| | | | | | | | included in the image builder tarball Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45835 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: store firmware images in $(KDIR)/tmp - prevents them from being ↵Felix Fietkau2015-05-291-3/+4
| | | | | | | | included in the image builder tarball Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45834 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: mount overlayfs r/o if workdir cannot be createdJohn Crispin2015-05-291-0/+109
| | | | | | | | | | | | | | | This is the case e.g. if JFFS2 partition is full. see: https://www.mail-archive.com/linux-unionfs@vger.kernel.org/msg00246.html (a small error in a logmessage was changed and reported upstream) runtime tested on ar71xx with kernel 3.18.11 and r45772 this paritially fixes #19564 Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com> Acked-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45833 3c298f89-4303-0410-b956-a3cf2f4a3e73
* qca-nss-gmac: delete packageJohn Crispin2015-05-292-65/+0
| | | | | | | | | nss-gmac has been replaced by its upstream counterpart "stmmac", to which we added the SoC glue layer required for it to run on IPQ806x. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45832 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ipq806x: replace caf nss-gmac driver by upstream stmmacJohn Crispin2015-05-2931-629/+3962
| | | | | | | | | | | | This driver has been cherry-picked and backported from the following LKML thread: *https://lkml.org/lkml/2015/5/26/744 It also updates the DT accordingly. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45831 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ipq806x: enable kernel support for Fixed PHY emulationJohn Crispin2015-05-292-0/+2
| | | | | | | | | | Most ipq806x platforms use an ethernet switch, and the new upstream GMAC driver makes use of the Fixed PHY emulation to force the link settings despite the lack of PHY. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45830 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add stmmac as a new kernel packageJohn Crispin2015-05-291-0/+21
| | | | | | Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45829 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add missing STMMAC options in generic configsJohn Crispin2015-05-292-0/+4
| | | | | | | | | | | STMMAC_PLATFORM and STMMAC_PCI have been added recently in the kernel, but show up only when STMMAC driver is enabled. So se'll add it in the generic config, so the kernel build doesn't stall whenever we enable this driver. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45828 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ipq806x: move arm-gic include into pcie patchJohn Crispin2015-05-294-18/+4
| | | | | | | | | | This include is necessary starting at the PCIe patch, which has a lower number. So in order to keep the patches consistent, we'll move the arm-gic include in the first patch who needs it. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45827 3c298f89-4303-0410-b956-a3cf2f4a3e73