aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* busybox: fix setting the kernel timezoneJo-Philipp Wich2016-03-311-10/+14
| | | | | | | | | | The settimeofday() syscall wrapper provided by musl filters out the timezone argument, breaking the ability to set the kernel timezone through the function. Adjust busybox patch to issue the syscall directly in order to circumvent the problem. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* netifd: Send DHCP release when client exitsHans Dedecker2016-03-311-1/+1
| | | | | | | | Let DHCP client send a release when it exists so the DHCP server is informed the IP address is released and allowing to clean up IP/mac state info in intermediate devices. Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* uci: commit through symlinksJo-Philipp Wich2016-03-311-2/+3
| | | | | | | Update to latest HEAD in order to not clobber symlinks in /etc/config on uci commit. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* netifd: fix default ip rulesJo-Philipp Wich2016-03-311-2/+2
| | | | | | | Update to latest HEAD in order to remove the faulty "prelocal" ip rule leading to unexpected policy rule precedence. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* x86: search PARTUUID in any block deviceJo-Philipp Wich2016-03-301-1/+2
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* x86: make sysupgrade work without partxJo-Philipp Wich2016-03-301-6/+28
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* branding: add LEDE brandingJohn Crispin2016-03-2440-85/+76
| | | | Signed-off-by: John Crispin <blogic@openwrt.org>
* scripts/getver.sh: generate revision relative to the reboot tagJohn Crispin2016-03-241-10/+2
| | | | Signed-off-by: John Crispin <blogic@openwrt.org>
* ar71xx: Add support for the OMYlink OMY-G1rebootJohn Crispin2016-04-2613-1/+172
| | | | | | | | | | https://wiki.openwrt.org/toh/omylink/omy-g1 http://www.omylink.com/ Signed-off-by: L. D. Pinney <ldpinney@gmail.com> SVN-Revision: 49258
* zynq: Add Zybo device supportJohn Crispin2016-04-264-1/+26
| | | | | | Signed-off-by: Jason Wu <jason.wu.misc@gmail.com> SVN-Revision: 49257
* Zynq: Add Zedboard device supportJohn Crispin2016-04-264-1/+25
| | | | | | | Tested-by: Joe Zhang <jz21082@gmail.com> Signed-off-by: Jason Wu <jason.wu.misc@gmail.com> SVN-Revision: 49256
* zynq: Remove rdinit patchJohn Crispin2016-04-261-18/+0
| | | | | | | | | This is not required as long as CONFIG_TARGET_INIT_CMD is correctly configured. Signed-off-by: Jason Wu <jason.wu.misc@gmail.com> SVN-Revision: 49255
* lantiq: use dwc2 by default on all ar9 boardsJohn Crispin2016-04-267-9/+9
| | | | | | | | | | | | The dwc2 USB driver now works on Lantiq ar9, but the default is still ltq-hcd-ar9. This patch switches to dwc2 by default. v2: all ar9 boards (v1 was just for BTHOMEHUBV3A and WBMR) Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com> SVN-Revision: 49254
* lantiq: install uboot-envtools by default on BTHOMEHUBV3AJohn Crispin2016-04-261-1/+1
| | | | | | | | | | | | | The only way to access the u-boot console on the BTHOMEHUBV3A is by soldering a serial console onto some really tiny pads. To enable installation without soldering it would be helpful to be able to modify the uboot environment from within the ramdisk image used as part of the installation process. Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com> SVN-Revision: 49253
* dnsmasq: run as dedicated UID/GIDJohn Crispin2016-04-262-2/+5
| | | | | | | | | | | Running dnsmasq in a dedicated user/group allows matching its outgoing traffic more easily using iptables' owner match. Add UID/GID to the package metadata and append the user/group parameters to the init script. Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 49252
* mac80211: ath9k: add GPIO support for AR9280 chipJohn Crispin2016-04-261-0/+27
| | | | | | | | | | Enable access to GPIO on Atheros wireless chip AR9280. Support for 9280 is added to existing 9285/9287 subsystem because these 3 chips differ only in number of GPIO pins. Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl> SVN-Revision: 49251
* lantiq: remove read-only flag on two partitions on BTHOMEHUBV3AJohn Crispin2016-04-261-2/+0
| | | | | | | | | | | Remove read-only flag on two partitions on BTHOMEHUBV3A: uboot-config - otherwise fw_setenv command cannot be used. ath9k-cal - so that ath9k calibration data can be copied to the partition on a newly installed board. Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com> SVN-Revision: 49250
* cns3xxx: set both MPS 'and' MRSS to 128John Crispin2016-04-261-0/+23
| | | | | | | | | | | | Fixes some DMA issues with this platform. Because this isn't currently accepted, and can potentially disrupt other platforms (as read in commit log), I will leave this cns3xxx specific. Original Patch: https://patchwork.ozlabs.org/patch/600024/ Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com> SVN-Revision: 49249
* cns3xxx: backport pci fix for cns3xxx_write_configJohn Crispin2016-04-261-0/+19
| | | | | | | | | Fix is required to properly set pci config bits. Original Patch: https://patchwork.ozlabs.org/patch/596170/ Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com> SVN-Revision: 49248
* ramips: Add support for the Netgear WNDR3700v5John Crispin2016-04-268-0/+171
| | | | | | | | | | https://wiki.openwrt.org/toh/netgear/wndr3700 wndr3700v5 uses the single-core dual thread MediaTek MT7621S SoC. Signed-off-by: L. D. Pinney <ldpinney@gmail.com> SVN-Revision: 49247
* usbutils: Update USB IDs list and drop gzip compressionJohn Crispin2016-04-261-9/+11
| | | | | | | | | | Change mirror to Github (Gentoo repo) and drop the gzip compression. Worst case there's about 4kbyte increase in size but most images ends up beign somewhere between 4-100kbyte smaller due to the lzma compression. Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net> SVN-Revision: 49246
* ar71xx: Add TP-Link TL-WR740N v6 support to trunkJohn Crispin2016-04-261-1/+8
| | | | | | | | | | | | This patch adds support for the TP-Link TL-WR740N v6 into OpenWrt trunk. Hardware wise, it's very similar to the TL-WR841N v10. See the forum thread [1]. Credit goes to the user 'traveler' who did the legwork and tested builds. Also thanks to Matthias Schiffer for clarifying the DEVICE_PROFILE settings. Signed-off by: Stijn Segers <francesco.borromini@inventati.org> [1]: https://forum.openwrt.org/viewtopic.php?pid=318704 SVN-Revision: 49245
* ar71xx: simplify patch 613 and add missing error handlingJohn Crispin2016-04-262-6/+6
| | | | | | | | | Dynamic allocation of label can be simplified. Also add error handling to deal with failed memory allocation. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> SVN-Revision: 49244
* mediatek: update patchesJohn Crispin2016-04-2692-315/+5246
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 49243
* lantiq: Fix typo in LED diag script.John Crispin2016-04-261-1/+1
| | | | | | | Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net> Acked-by: Mathias Kresin <openwrt@kresin.me> SVN-Revision: 49242
* lantiq: use new image build process for brnImagesJohn Crispin2016-04-261-14/+28
| | | | | | | | | | | | | | LZMA compress the kernel without dictionary, otherwise brnboot fails to uncompress the kernel. The filesystem parameter of mkbrncmdline was dropped since the used filesystem isn't exported in the kernel build step and at least in my tests everything works without the parameter. If the parameter is required for some reason, the static keyword "squashfs" can be used. Signed-off-by: Mathias Kresin <openwrt@kresin.me> SVN-Revision: 49241
* include: add a no dict version of lzma to new image build codeJohn Crispin2016-04-261-1/+5
| | | | | | | | Required to compress kernels in a brnboot compatible way. Signed-off-by: Mathias Kresin <openwrt@kresin.me> SVN-Revision: 49240
* lantiq: remove orphaned tp-link image build stepsJohn Crispin2016-04-261-22/+0
| | | | | | Signed-off-by: Mathias Kresin <openwrt@kresin.me> SVN-Revision: 49239
* lantiq: build sysupgrade images for lantiqImageJohn Crispin2016-04-261-0/+2
| | | | | | | | Tested with VGV7510KW22NOR. Signed-off-by: Mathias Kresin <openwrt@kresin.me> SVN-Revision: 49238
* lantiq: new image build process - fix kernel entry addressJohn Crispin2016-04-261-1/+1
| | | | | | | | | | | Set the kernel entry address to the same value as it is used for the old image build build process. Fixes boot of uImages on VGV7510KW22NOR and others. Signed-off-by: Mathias Kresin <openwrt@kresin.me> SVN-Revision: 49237
* lantiq: uboot-envtools on BTHOMEHUBV3AJohn Crispin2016-04-261-0/+3
| | | | | | | | Generate fw_env.config for BTHOMEHUBV3A. Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com> SVN-Revision: 49236
* ramips: add support for Planex MZK-EX300NPJohn Crispin2016-04-268-1/+153
| | | | | | | | | | MZK-EX300NP is MT7620A based wifi repeater. Built-in power supply. 64MiB RAM, 8MiB SPI Flash, non Wired Ethernet. Signed-off-by: YuheiOKAWA <tochiro.srchack@gmail.com> SVN-Revision: 49235
* ramips: add support for Planex CS-QR10John Crispin2016-04-268-1/+187
| | | | | | | | | | | | CS-QR10 is MT7620A based IP Camera. the camera and sound does not work with kernel 4.4. - camera chip is sn9c291. - sound chip is wm8960. Signed-off-by: YuheiOKAWA <tochiro.srchack@gmail.com> SVN-Revision: 49234
* kernel: backport support for accelerated SPI flash readRafał Miłecki2016-04-263-0/+382
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 49233
* bcm53xx: backport BCM5301X DT patch specifying SPI controllerRafał Miłecki2016-04-261-0/+58
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 49232
* fstools: respect mount flags for /overlay mountsJo-Philipp Wich2016-04-251-2/+2
| | | | | | | | | Respect user configured mount flags such as "ro" or "sync" when processing external overlay mount points. Signed-off-by: Jo-Philipp Wich <jo@mein.io> SVN-Revision: 49223
* mac80211: add brcmfmac regression ("NULL pointer dereference") fixRafał Miłecki2016-04-251-0/+26
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 49222
* ramips: fix build of targetHauke Mehrtens2016-04-241-10/+10
| | | | | | | | | | | Makes the patches apply again by fixing the white space broken patch. This problem was introduced in r49212. Closes #22248 and #22259 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 49221
* oxnas: add missing semicolonLuka Perkov2016-04-241-1/+1
| | | | | | | | | A missing semicolon in the gpio-keys-polled section of ox820-akitio.dts caused the build to break. Add it. Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 49219
* xtables-addons: build: fix configure compatiblity with POSIX shellsJohn Crispin2016-04-212-6/+57
| | | | | | | | | Fixes build with /bin/sh pointing to certain versions of dash (for example on Void Linux). Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> SVN-Revision: 49218
* ar71xx: build TP-LINK Archer C7 images with US region codeJohn Crispin2016-04-211-0/+1
| | | | | | | | | | | | | | | Since December 2015, the Archer C7 comes with an US-specific firmware. This firmware will only allow upgrades with images that contain the US region code in the firmware header. The "universal" firmware distributed in the rest of the world doesn't care about the region code, so we can just unconditionally set the region to US for now. When other region-specific firmwares appear, we'll need to create a factory image for each of them. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> SVN-Revision: 49217
* ar71xx: fix giving extra arguments to Build/mktplinkfwJohn Crispin2016-04-211-13/+14
| | | | | | | | | | | | | | The build command will always get the whole argument string in $(1), regardless of whitespace. We need to use word/wordlist to split the string after the first word. Whitespace and quotation will be given to the command verbatim (make will ignore it), so to give multiple arguments, no quotation marks may be used. Fixes: r47174 ("ar71xx/image: add options argument to mktplinkfw step") Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> SVN-Revision: 49216
* tools: firmware-utils: add region code support to mktplinkfwJohn Crispin2016-04-211-5/+46
| | | | | | Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> SVN-Revision: 49215
* 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> SVN-Revision: 49214
* 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> SVN-Revision: 49213
* 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> SVN-Revision: 49212
* 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> SVN-Revision: 49211
* 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> SVN-Revision: 49210
* 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> SVN-Revision: 49209
* 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> SVN-Revision: 49207