aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* tools: firmware-utils: add region code support to mktplinkfwJohn Crispin2016-04-211-5/+46
| | | | | | Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49215 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools: firmware-utils: clean up mktplinkfwJohn Crispin2016-04-212-435/+35
| | | | | | | | | | | | | Remove the whole board list from mktplinkfw, as OpenWrt doesn't use it and it was severely out of sync with the list of built images for ar71xx. Also: * fix -Wall warnings * add const where appropriate Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49214 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Add support for ZBT WG3526John Crispin2016-04-217-1/+153
| | | | | | | | | | | | | | | | | | The WG3526 is the follow-up to the 2626 and is mostly the same, with the excaption that the mt7602 has been replaced with the mt7603. The internal wifi setup has also changed slightly. Based on my tests, everything that worked on the 2626 works on the 3526 and with roughly the same performance. v1->v2: * Remove some references to 2626 that I had missed in the dts. v2->v3: * Update patch to match new file structure. * Removed SD driver to be consistent with other MT7621 targets. Signed-off-by: Kristian Evensen <kristian.evensen@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49213 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: awake rt305x USB controllerJohn Crispin2016-04-211-0/+15
| | | | | | | | | | | | | Because of Ralink uboot set USB controller into sleep mode [1] we check it and awake controller before any registers access. Fix ticket #21396 [2] [1] http://marc.info/?l=linux-usb&m=137398626102108&w=2 [2] https://dev.openwrt.org/ticket/21396 Signed-Off-By: Serge Vasilugin <vasilugin@yandex.ru> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49212 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add support for ELECOM WRH-300CRJohn Crispin2016-04-218-2/+172
| | | | | | | | | | | | | | ELECOM WRH-300CR is MT7620N based very small Wi-Fi router with 64MiB DDR2 SDRAM, 16MiB SPI Flash, one fast ethernet port, and (internal but easy-to-access) UART. it also has internal USB hub and USB card reader which provide one USB port, one SD card slot, and one microSD card slot. Signed-off-by: YuheiOKAWA <tochiro.srchack@gmail.com> Signed-off-by: FUKAUMI Naoki <naobsd@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49211 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: use new image build process for some imagesJohn Crispin2016-04-211-90/+95
| | | | | | | | | | This adds for some easy images the new build process. This was only tested on some TP-Link devices, please test. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49210 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: update DTS file for Planex DB-WRT01John Crispin2016-04-211-1/+1
| | | | | | | | update DTS files to use jedec,spi-nor compatible string for m25p80 to fix probe issues. Signed-off-by: YuheiOKAWA <tochiro.srchack@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49209 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: bump maximum TRX size for devices with serial flashRafał Miłecki2016-04-201-0/+1
| | | | | | | | | It was already increased for NAND devices so do the same for the ones with serial memory. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49207 3c298f89-4303-0410-b956-a3cf2f4a3e73
* feeds.conf.default: remove the commented ancient feedsJohn Crispin2016-04-201-7/+0
| | | | | | | | | | | | | Cleanup feeds.conf.default by removing the old commented-out feeds: * x-wrt has not been updated for years and targets WhiteRussian/Kamikaze. No currect code base available anywhere * six old feeds from svn.openwrt.org/feeds. These feeds have not been updated for 4-5 years and their code is currently unavailable (in svn.openwrt.org) Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49206 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix support Planex MZK-750DHP.John Crispin2016-04-205-4/+41
| | | | | | | | | | fix script for Planex MZK-750DHP. modification of the GPIO definition. add Profile. Signed-off-by: YuheiOKAWA <tochiro.srchack@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49205 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt3352 usbphy fix in dts-fileJohn Crispin2016-04-201-1/+8
| | | | | | | | Add missing rt3352 usb phy. Fix ticket #20499. Signed-Off-By:Serge Vasilugin <vasilugin@yandex.ru> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49204 3c298f89-4303-0410-b956-a3cf2f4a3e73
* curl: remove file accidentally committed in r49197Hauke Mehrtens2016-04-191-162/+0
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49199 3c298f89-4303-0410-b956-a3cf2f4a3e73
* oxnas: clean-up and improve profilesHauke Mehrtens2016-04-192-7/+10
| | | | | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49198 3c298f89-4303-0410-b956-a3cf2f4a3e73
* oxnas: add support for Akitio MyCloud miniHauke Mehrtens2016-04-199-3/+329
| | | | | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49197 3c298f89-4303-0410-b956-a3cf2f4a3e73
* imx6: images: add bootfs.tar.gz build artifactLuka Perkov2016-04-191-1/+30
| | | | | | | | | | In order to create a bootable block storage device, both bootfs and rootfs tarballs are required. However, our current scheme does not export a bootfs tarball so add the packaging of it here. Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49196 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add config ATH79_MACH_TL_WA901ND_V4 for kernel 4.4Hauke Mehrtens2016-04-171-0/+1
| | | | | | | | | This config option was not added in commit r49158. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49195 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix build errorHauke Mehrtens2016-04-172-0/+2
| | | | | | | | | | | This fixes a build error introduced in r49193. This closes #22230 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49194 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix build with kernel 4.4Hauke Mehrtens2016-04-172-0/+8
| | | | | | | | | | | The file linux/mdio-gpio.h was moved to linux/platform_data/mdio-gpio.h in kernel 4.4 Reported-by: Arjen de Korte <arjen+openwrt@de-korte.org> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49193 3c298f89-4303-0410-b956-a3cf2f4a3e73
* curl: fix deprecated 'depends' syntaxHauke Mehrtens2016-04-171-1/+1
| | | | | | | | | | This was introduced in r49183 Reported-by: swalker Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49192 3c298f89-4303-0410-b956-a3cf2f4a3e73
* util-linux: update to version 2.28Hauke Mehrtens2016-04-176-333/+45
| | | | | | | | | | | | | | | | The following patches were merged upstream: * 0001-switch_root-improve-statfs-f_type-portability.patch * 0002-lib-colors-use-static-buffers-when-parse-scheme.patch * 002-mkostemp.patch The following patch is not needed any more because all libc implementations support alloc in sscanf: * 001-no-printf-alloc.patch Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49191 3c298f89-4303-0410-b956-a3cf2f4a3e73
* x86: fix platform_export_bootpart() for Xen virtual disksHauke Mehrtens2016-04-171-1/+1
| | | | | | | | | | | | | | Virtual disk devices in a Xen virtual machine (DomU) can be /dev/xvda, /dev/xvdb and so on with partitions like /dev/xdva1. Devices named like this where not considered before. This resulted in a non working sysupgrade, because the boot partition could not be found. Signed-off-by: Alexander Dahl <alex@netz39.de> Suggested-by: Matthias Schiffer <mschiffer@universe-factory.net> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49190 3c298f89-4303-0410-b956-a3cf2f4a3e73
* busybox: update to 1.24.2Hauke Mehrtens2016-04-171-3/+3
| | | | | | | | | Signed-off-by: Magnus Kroken <mkroken@gmail.com> [remove Kconfig changes] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49189 3c298f89-4303-0410-b956-a3cf2f4a3e73
* libnl-tiny: backport 'gnet_stats_rate_est64' supportHauke Mehrtens2016-04-171-0/+12
| | | | | | | | | | | | | This has been added to the kernel uapi for a while, and makes sense to have it here too. At the moment we're using it for query-ing qdisc via netlink using libnl-tiny. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49188 3c298f89-4303-0410-b956-a3cf2f4a3e73
* dnsmasq: Add enable parameter in the UCI DHCP host sectionHauke Mehrtens2016-04-171-0/+3
| | | | | | | | | | | Parameter allows to enable/disable static leases; by default the value is 1 to keep backwards compatibility Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49187 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/cmake: update to 3.5.1Hauke Mehrtens2016-04-173-8/+5
| | | | | | | | | | Update cmake to 3.5.1 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49186 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/mpfr: update to 3.1.4Hauke Mehrtens2016-04-172-5/+5
| | | | | | | | | | Update mpfr to 3.1.4 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49185 3c298f89-4303-0410-b956-a3cf2f4a3e73
* curl: add flags to allow gc-sections to strip out unused codeHauke Mehrtens2016-04-171-1/+2
| | | | | | | | Signed-off-by: Dirk Feytons <dirk.feytons@gmail.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49184 3c298f89-4303-0410-b956-a3cf2f4a3e73
* curl: add config option for NTLM supportHauke Mehrtens2016-04-172-1/+8
| | | | | | | | Signed-off-by: Dirk Feytons <dirk.feytons@gmail.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49183 3c298f89-4303-0410-b956-a3cf2f4a3e73
* curl: upstep to latest version 7.48.0Hauke Mehrtens2016-04-174-7/+7
| | | | | | | | Signed-off-by: Dirk Feytons <dirk.feytons@gmail.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49182 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd.sh: Add support for "anonymous_identity" config fieldHauke Mehrtens2016-04-171-2/+3
| | | | | | | | | | | | | | | | | | | The wpa_supplicant supports an "anonymous_identity" field, which some EAP networks require. From the documentation: anonymous_identity: Anonymous identity string for EAP (to be used as the unencrypted identity with EAP types that support different tunnelled identity, e.g., EAP-TTLS). This change modifies the hostapd.sh script to propagate this field from the UCI config to the wpa_supplicant.conf file. Signed-off-by: Kevin O'Connor <kevin@koconnor.net> Reviewed-by: Manuel Munz <freifunk@somakoma.de> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49181 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package: remove .git files from imagesHauke Mehrtens2016-04-171-0/+1
| | | | | | | | | | | | If you have your ./files/ directory stored in a git repository, the .git will be included into images using precious space. This patch removes .git directories before packing images. Signed-off-by: Joerg Jungermann <jj@borkum.net> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49180 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: allow to set arbitrary ip address and netmaskHauke Mehrtens2016-04-171-7/+9
| | | | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49179 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/uClibc: enable UCLIBC_HAS_OBSOLETE_BSD_SIGNALHauke Mehrtens2016-04-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is required to build net-snmp. If that options is disabled in uClibc then net-snmp doesn't detect sighold support on its configuration stage and so defines HAVE_SIGHOLD as 0. That in its turn causes compilation of the following branch of timerPause() in apps/snmpnetstat: ------------------>8---------------- int oldmask; oldmask = sigblock(sigmask(SIGALRM)); if (!signalled) { sigpause(0); } sigsetmask(oldmask); ------------------>8---------------- Now in uClibc all 3 sigblock(), sigmask() and sigsetmask() were removed back in 2005, see: https://git.busybox.net/uClibc/commit/?id=5aa7aa7fa7ec2a0fe567ac0b2595b46add6f3594 And all that causes net-snmp linkage to fail this way: ------------------>8---------------- .libs/if.o: In function `intpr': if.c:(.text+0x908): undefined reference to `sigmask' if.c:(.text+0x90e): undefined reference to `sigblock' if.c:(.text+0x924): undefined reference to `sigsetmask' ------------------>8---------------- If we enable UCLIBC_HAS_OBSOLETE_BSD_SIGNAL in uClibc then branch with sighold is used in timerPause() and everything builds as expected. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49178 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update kernel 4.4 to version 4.4.7Hauke Mehrtens2016-04-1695-873/+178
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49176 3c298f89-4303-0410-b956-a3cf2f4a3e73
* samba: fix some security problemsHauke Mehrtens2016-04-1621-46/+20105
| | | | | | | | | | | | | | | | This fixes the following security problems: * CVE-2015-7560 * CVE-2015-5370 * CVE-2016-2110 * CVE-2016-2111 * CVE-2016-2112 * CVE-2016-2115 * CVE-2016-2118 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49175 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: update brcmfmac including missing boardrev workaroundRafał Miłecki2016-04-1613-8/+1439
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49174 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: backport patch making bcm47xxsflash arch independentRafał Miłecki2016-04-151-0/+138
| | | | | | | | This will be needed to use bcm47xxsflash on ARM for BCM53573. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49168 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: use upstream fixes for bgmac and BCM4709(4)Rafał Miłecki2016-04-156-60/+86
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49167 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: backport BCM5301X earlycon and USB VCC patchesRafał Miłecki2016-04-148-293/+228
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49166 3c298f89-4303-0410-b956-a3cf2f4a3e73
* scripts/getver.sh: Use 'git-rev-parse' to detect if tree lies in Git repositoryVasilis Tsiligiannis2016-04-131-1/+1
| | | | | | | | | | | Path to the Git repository directory can be overriden by using the '$GIT_DIR' environment variable. This patch improves detection of Git repository by using 'git-rev-parse', which respects '$GIT_DIR' environment variable, instead of just checking the existence of '.git' directory. Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49165 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include/cmake.mk: Add helper macro to handle conditionals for CMake boolean ↵Vasilis Tsiligiannis2016-04-131-0/+2
| | | | | | | | type variables Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49164 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rpcd: update to latest versionLuka Perkov2016-04-131-3/+3
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49162 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: remove accidentally comitted codeJohn Crispin2016-04-091-95/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49161 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: add switch config workaround for R8500 and DIR-885LRafał Miłecki2016-04-091-1/+4
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49160 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: fix regression in generating network configRafał Miłecki2016-04-091-3/+4
| | | | | | | | Syntax error was added in r49122. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49159 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add TP-Link TL-WA901ND-v4 supportJohn Crispin2016-04-0912-1/+150
| | | | | | Signed-off-by: Tiziano Bacocco <tizbac2@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49158 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for Compex WPJ342John Crispin2016-04-0913-0/+218
| | | | | | | | | | | | OpenWrt can be flashed with following uboot commands: tftpboot 0x80500000 openwrt-ar71xx-generic-wpj342-16M-squashfs-sysupgrade.bin erase 0x9f030000 +$filesize cp.b $fileaddr 0x9f030000 $filesize Signed-off-by: Christian Mehlis <christian@m3hlis.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49157 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix nondeterministic hangs during bootconsole/console handoverJohn Crispin2016-04-092-0/+108
| | | | | | | | | | | | | | | | | Reconfiguring the UART when the FIFO is not empty may cause the boot to hang. This hang is extremely suspectible to timing differences; recompiling the kernel with the same configuration, but different UTS_VERSION timestamps can yield images that hang more or less often. Sometimes images are produced that hang reproducibly. This patch should also make it into one of the next linux-stable releases, but it's better to get this fixed as soon as possible. Fixes #21773, #21857. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49156 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add OM5P-ACv2 to the OM5P-AC profileJohn Crispin2016-04-091-2/+2
| | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49155 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: extract ath10k wifi board.bin for the OpenMesh OM5P-ACv2 boardJohn Crispin2016-04-091-1/+2
| | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49154 3c298f89-4303-0410-b956-a3cf2f4a3e73