summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* tools/quilt: fix build error during kernel_menuconfig on a cleaned envFelix Fietkau2015-11-071-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | When running "make kernel_menuconfig" right after "make clean", we error out with the following message: Makefile:22: recipe for target '.../build_dir/target-arm_cortex-a7_musl-1.1.10_eabi/linux-.../linux-3.18.18/.quilt_checked' failed make[2]: [.../build_dir/target-arm_cortex-a7_musl-1.1.10_eabi/linux-.../linux-3.18.18/.quilt_checked] Error 127 (ignored) The root cause of the problem is located in the OpenWrt specific quilt patch, which sets the quilt install directory to $STAGING_DIR/../host. However, on a clean environment (right after running "make clean"), $STAGING_DIR doesn't exist. The "quilt" executable doesn't find its different commands, errors out, and creates this message. We're fixing it by using $STAGING_DIR_HOST rather than $STAGING_DIR, which is absolute. It will work even if there is no target directory yet. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47410
* rules.mk: export STAGING_DIR_HOST to sub-makefiles and shellsFelix Fietkau2015-11-071-1/+1
| | | | | | | | | | | Certains host packages (like quilt) need to know the previously used install location at run-time. They currently use $STAGING_DIR, which causes issues on cleaned environment, where $STAGING_DIR doesn't exist yet. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 47409
* mac80211: set mcast-rate for mesh point interfacesFelix Fietkau2015-11-071-6/+8
| | | | | | | | | | | | | | | In order to set the multicast rate for mesh point interfaces the "mesh join" was made explicit and moved to mac80211_setup_vif(), similar to how it is done for IBSS interfaces. Previously, the mesh join was made implicit in case authentication (i.e. $key) was not used when creating the interface in mac80211_prepare_vif(), while using authentication would create the interface first, then join later in mac80211_setup_vif() by starting authsae. Signed-off-by: Nils Schneider <nils@nilsschneider.net> SVN-Revision: 47408
* ramips: minor fixes for mt7621 profilesFelix Fietkau2015-11-072-4/+2
| | | | | | | | | * remove references to non-existing kmod-usb3-mt7621 * ZTB WG2626 doesn't have an RTC (thanks to Piotr Dymacz!) Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 47407
* ar71xx: add support for the TP-LINK TL-WR1043ND v3Felix Fietkau2015-11-071-1/+8
| | | | | | | | | The hardware of the v3 is identical to the v2. Based-on-patch-by: Andreas Ziegler <github@andreas-ziegler.de> Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> SVN-Revision: 47406
* ar71xx: Add support for ZyXEL NBG6616.Felix Fietkau2015-11-0710-26/+194
| | | | | | Signed-off-by: Benjamin Berg <benjamin@sipsolutions.net> SVN-Revision: 47405
* include/image.mk: Introduce generic option to wrap kernel into JFFS2Felix Fietkau2015-11-072-16/+18
| | | | | | | | | Some devices require the kernel to be in a JFFS2 file system. Make the support for this more generic so that it can be used by other devices. Signed-off-by: Benjamin Berg <benjamin@sipsolutions.net> SVN-Revision: 47404
* include/image.mk: introduce KERNEL_INITRAMFS_NAME variableFelix Fietkau2015-11-071-2/+3
| | | | | | | | | | | | | | | | | | | | | In case if we're interested in generation of non-binary images (for example if we want images to be valid .elfs - and that's what we want for ARC now) we have to instruct Device/Build/initramfs target to use input file with some extension (in case of ARC it will be essentially .elf). Otherwise default binary vmlinux-initramfs (without extension) is used and resulting images then are binaries instead of elfs. Now having KERNEL_INITRAMFS_NAME variable it's possible to substitute default $$(KERNEL_NAME)-initramfs with preferred option like $$(KERNEL_NAME)-initramfs.elf. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Felix Fietkau <nbd@openwrt.org> Cc: John Crispin <blogic@openwrt.org> SVN-Revision: 47403
* mac80211: disable a broken feature that was merged with the last updateFelix Fietkau2015-11-072-1/+29
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47402
* uClibc: mark as broken for all architectures that use musl by defaultFelix Fietkau2015-11-071-0/+1
| | | | | | | | We will only support uClibc for targets that actually need it. Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47401
* toplevel.mk: fix distcleanFelix Fietkau2015-11-061-1/+1
| | | | | | | | | - remove logs like "make dirclean" does - remove key-build* Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> SVN-Revision: 47397
* toolchain/gdb: update to 7.10, sync with target package versionFelix Fietkau2015-11-064-8/+8
| | | | | | | | | Update toolchain gdb to 7.10. Refresh patches. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> SVN-Revision: 47396
* kernel: omap_wdt module load typoFelix Fietkau2015-11-061-1/+1
| | | | | | | | autoload should be without .ko module extension Signed-off-by: Ulrich Weber <uw@ocedo.com> SVN-Revision: 47395
* kernel: load softdog on bootFelix Fietkau2015-11-061-1/+1
| | | | | | | | | same as for hardware watchdogs, otherwise procd cannot initialize it. Signed-off-by: Ulrich Weber <uw@ocedo.com> SVN-Revision: 47394
* tools/mm-macros: update to 0.9.8Felix Fietkau2015-11-061-4/+5
| | | | | | | | | Update mm-macros to 0.9.8. Add a secondary download location. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> SVN-Revision: 47393
* tools/scons: update to 2.4.0Felix Fietkau2015-11-061-4/+4
| | | | | | | | | Update scons to 2.4.0. Change mirror (as the previous one is missing the current version). Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> SVN-Revision: 47392
* px5g: Use SHA-256 when generating self-signed certificatesFelix Fietkau2015-11-061-1/+1
| | | | | | Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> SVN-Revision: 47391
* ramips: fix previous commitJohn Crispin2015-11-052-22/+66
| | | | | | | | r47388 accidentially changed 2 files too many Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 47389
* ramips: minor tweak to the lks7688 baord nameJohn Crispin2015-11-054-68/+24
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 47388
* busybox: enable ip rule support by default (required for dealing with route ↵Felix Fietkau2015-11-041-1/+1
| | | | | | | | | | tables) Adds about 1.2k gzip-compressed Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47387
* kirkwood: add support for 4.3Luka Perkov2015-11-049-0/+1238
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 47386
* kirkwood: pogo_e02: use mainline led definitionsLuka Perkov2015-11-042-4/+4
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 47385
* kernel: update kernel 4.3-rc7 to version 4.3Luka Perkov2015-11-0419-38/+44
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 47384
* uboot-envtools: fix various compile breakage issuesFelix Fietkau2015-11-041-1/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47383
* librpc: update to the latest version, fixes build with uclibc-ng (#20856)Felix Fietkau2015-11-041-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47382
* ipq806x: fix BOARD_NAME spellingsJonas Gorski2015-11-041-4/+6
| | | | | | | | | | | | | | the board names used by the upgrade check differ from the device names in case, so always set them. We can't rely on tolower or similar since different locales might have different rules for lower case letters, so set them explicitily. Fixes sysupgrade rejecting *-sysupgrade.tar because of the difference. Signed-off-by: Kaspar Schleiser <kaspar@schleiser.de> Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 47381
* brcm63xx: work around boot failures with squashfs on BCM6368Jonas Gorski2015-11-041-0/+2
| | | | | | | | | | | Due to the LWL/LWR SMP issue on BCM6368, booting with squash might fail if the rootfs is not word aligned. As a quick fix, work around it by ensuring this condition is always true. Reported-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 47380
* brcm63xx: fix brcm, bcm6345-ext-intc interrupt controllerJonas Gorski2015-11-042-6/+8
| | | | | | | | | brcm,field-width is read but unused Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 47379
* brcm63xx: fix Netgear CVG834G HCS magic bytesJonas Gorski2015-11-041-1/+1
| | | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Acked-by: Florian Fainelli <florian@openwrt.org> Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 47378
* brcm63xx: lzma-loader: add BCM3380 supportJonas Gorski2015-11-041-0/+5
| | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 47377
* brcm63xx: lzma-loader: add BCM3368 supportJonas Gorski2015-11-041-1/+4
| | | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Acked-by: Florian Fainelli <florian@openwrt.org> Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 47376
* brcm63xx: fix BCM3368 external interruptsJonas Gorski2015-11-041-1/+1
| | | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Acked-by: Florian Fainelli <florian@openwrt.org> Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 47375
* ramips: add feature to blink led on sysupgradeJohn Crispin2015-11-032-1/+11
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 47373
* scripts/config: fix handling of CONFDEFAULT on oldconfigFelix Fietkau2015-11-031-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47372
* mac80211: fix kconf handling of allnoconfig, fixes spurious brcmfmac related ↵Felix Fietkau2015-11-031-0/+20
| | | | | | | | build errors Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47371
* tools/bison: update to 3.0.4Felix Fietkau2015-11-032-5/+4
| | | | | | | | | | Update bison to 3.0.4. Refresh patches. Drop the unnecessary PKG_CAT definition. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> SVN-Revision: 47370
* tools/mpfr: update to 3.1.3Felix Fietkau2015-11-032-8/+8
| | | | | | | | | Update mpfr to version 3.1.3. Refresh patches. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> SVN-Revision: 47369
* tools/mpc: update to 1.0.3Felix Fietkau2015-11-031-4/+4
| | | | | | | | | Update mpc version to 1.0.3. Change download location to @GNU. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> SVN-Revision: 47368
* lldpd: implement a reload hookFelix Fietkau2015-11-031-1/+18
| | | | | | | | | | | | | | | | | | | Seems the default one is not working as expected. The way that reload should work is that the 'start' service call should return 1 (if lldpd is running) and then a normal restart would be called. However, for lldpd a reload would mean just clearing all custom TLVs (if they're configured) and reloading the configuration. So, this patch adds a reload hook, which would: - 'start' lldpd if it's not running (because we return 1 if not running) - reload configuration if it is running (also previously clearing custom TLVs if present) Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com> SVN-Revision: 47367
* uboot: create the uboot config file for the shelby as wellImre Kaloz2015-11-031-1/+1
| | | | | | | | fixes #20827 Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 47365
* mac80211: fix crash when using mesh (11s) VIF together with another VIFFelix Fietkau2015-11-021-0/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | llid_in_use needs to be limited to stations of the same VIF, otherwise it will cause a NULL deref as the sta_info of non-mesh-VIFs don't have sta->mesh set. Steps to reproduce: modprobe mac80211_hwsim channels=2 iw phy phy0 interface add ibss0 type ibss iw phy phy0 interface add mesh0 type mp iw phy phy1 interface add ibss1 type ibss iw phy phy1 interface add mesh1 type mp ip link set ibss0 up ip link set mesh0 up ip link set ibss1 up ip link set mesh1 up iw dev ibss0 ibss join foo 2412 iw dev ibss1 ibss join foo 2412 # Ensure that ibss0 and ibss1 are actually associated; I often need to # leave and join the cell on ibss1 a second time. iw dev mesh0 mesh join bar iw dev mesh1 mesh join bar # crash Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> SVN-Revision: 47364
* ar71xx: use correct PLL configuration register bitmask for QCA956x SoC.Felix Fietkau2015-11-021-2/+2
| | | | | | | | | Incorrect value causes clock inaccuracy as huge as 1/60. Signed-off-by: Dmitry Ivanov <dima@ubnt.com> Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47363
* busybox: enable find mtime support by defaultFelix Fietkau2015-11-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | busybox binary in openwrt neither supports stat nor find mtime. This patch adds find mtime support by default. I've compared ipk size for three different targets (ar71xx, brcm2708, x86): 209908 Okt 16 13:48 busybox_1.23.2-3_ar71xx.ipk-0before 210031 Okt 16 16:47 busybox_1.23.2-3_ar71xx.ipk-1after difference: +123 Byte 223519 Okt 16 13:06 busybox_1.23.2-3_brcm2708.ipk-0before 223720 Okt 16 13:53 busybox_1.23.2-3_brcm2708.ipk-1after difference: +201 Byte 221477 Okt 16 13:47 busybox_1.23.2-3_x86_64.ipk-0before 221622 Okt 16 13:52 busybox_1.23.2-3_x86_64.ipk-1after difference: +145 Byte Signed-off-by: Dirk Brenken <dirk@brenken.org> SVN-Revision: 47362
* hostapd: add default value to eapol_version (#20641)Felix Fietkau2015-11-021-0/+1
| | | | | | | | | | | | | | r46861 introduced a new option eapol_version to hostapd, but did not provide a default value. When the option value is evaluated, the non-existing value causes errors to the systen log: "netifd: radio0: sh: out of range" Add a no-op default value 0 for eapol_version. Only values 1 or 2 are actually passed on, so 0 will not change the default action in hostapd. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> SVN-Revision: 47361
* update config.guess & config.subFelix Fietkau2015-11-022-290/+238
| | | | | | | | | | | | | | | | These are from today's master branch of: http://git.savannah.gnu.org/gitweb/?p=config.git;a=tree In particular it adds support for ARC architecture plus some more improvements and fixes. This patch is built-tested against NetGear WNDR3800. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Florian Fainelli <florian@openwrt.org> Cc: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 47360
* include/kernel.mk - better search for ARCHFelix Fietkau2015-11-021-5/+5
| | | | | | | | | | | | | | | | | If "findstring" is used without leading and trailing spaces unexpected matches may happen. For example consider ARC=arc then "findstring $(ARCH)" will report a false match with "aarch64". But "findstring $ARCH " (note trailing space) will correctly skip matches for both "aarch64" and "aarch64_be". This patch is built-tested against NetGear WNDR3800. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Felix Fietkau <nbd@openwrt.org> Cc: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47359
* iproute2: always use -DHAVE_SETNS, since the old uclibc is gone nowFelix Fietkau2015-11-021-10/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47358
* uclibc: remove version 0.9.33Felix Fietkau2015-11-0299-4580/+6
| | | | | | | | Latest uClibc-ng is now the only supported option Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47357
* uclibc-ng: bump version from 1.0.6 to 1.0.8Felix Fietkau2015-11-0224-1/+3
| | | | | | | | | | | | | | | | | | | | 2 new architectures were added in between 1.0.6 and 1.0.8 in uClibc-ng, these are: * lm32 * or1k Even thought both are not yet supported in OpenWRT it's important to disable them both in default config file otherwise user prompt will appear during uClibc configuration asking to select desired architecture. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Waldemar Brodkorb <wbx@uclibc-ng.org> Cc: Mathieu Olivari <mathieu@codeaurora.org> Cc: Felix Fietkau <nbd@openwrt.org> Cc: John Crispin <blogic@openwrt.org> SVN-Revision: 47356
* toolchain: use glibc instead of uclibc for mips64 by default - uclibc is ↵Felix Fietkau2015-11-021-1/+1
| | | | | | | | still buggy there in a few places Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47355