aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: GL.iNet AR300M family: correct LED definitionsAndreas Ziegler2019-04-222-8/+2
| | | | | | | | | remove USB as this is no LED but power control rename WiFi LED with correct color red (like in stock firmware) set middle LED to be used for LAN link/activity Signed-off-by: Andreas Ziegler <dev@andreas-ziegler.de> (cherry picked from commit 53c46b504c630e4c9c5a00bf644a69919bfc0c03)
* ca-certificates: update to version 20190110Josef Schlehofer2019-04-201-4/+3
| | | | | | | | | | | - Tested on Turris MOX, OpenWrt master - Removed PKG_BUILD_DIR In build_dir there were two folders ca-certificates and ca-certificates-20190110 and it failed as files were in ca-certificates-20190110 Signed-off-by: Josef Schlehofer <josef.schlehofer@nic.cz> (cherry picked from commit f22c33b40cc7b542b3b31fa0d873d28d3a3482b5)
* mac80211: brcmfmac: really add early fw crash recoveryRafał Miłecki2019-04-188-0/+605
| | | | | | | | Previous commit backported USB fixes instead of firmware crash recovery patches. Fixes: 02aed76968d6 ("mac80211: brcmfmac: early work on FullMAC firmware crash recovery") Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* mac80211: brcmfmac: early work on FullMAC firmware crash recoveryRafał Miłecki2019-04-186-0/+335
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* lantiq: tdw89x0: Fix WLAN LED on TP-Link W8970 v1.2 (FS#2232)Petr Štetiar2019-04-171-0/+1
| | | | | | | | | | This patch fixes disfunctional WLAN LED on TP-Link W8970. The LED was reported working in the CC release[1], but doesn't work anymore in 18.06.2. 1. https://github.com/openwrt/chaos_calmer/commit/420cb24d41fcd650795f09d2b26e0e1d2cf21165 Tested-by: Damian Janarek <dzanar18@o2.pl> Signed-off-by: Petr Štetiar <ynezz@true.cz>
* ar71xx: Fix IMAGE_SIZE for TP-Link Archer C7 v5Adrian Schmutzler2019-04-111-1/+1
| | | | | | | | | | | | | | IMAGE_SIZE for C7v5 is wrong in openwrt-18.06, looks like it was just copied from C7v4. In master, this got fixed with the introduction of dynamic partitioning in https://github.com/openwrt/openwrt/commit/7c78be1b747eb0c8d64da67deb3a8aec75bd7b9c However, this is not connected to the changes introduced there, but also applies to the static partitioning in openwrt-18.06. It appears to be simply wrong at the moment ... Tested-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* ar71xx: Correct MAC address for WAN interface of Archer C7 v5Adrian Schmutzler2019-04-111-0/+4
| | | | | | | | | | | This device shares the network config with v4, thus the WAN MAC also needs to be fixed the same way. However, the partition where the MAC address resides has been changed. Backport of commit 93d23aced24c2e620461e1b0448d35be21f7e501 Tested-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* ar71xx: Add "info" partition for TP-Link Archer C7 v5Adrian Schmutzler2019-04-111-1/+1
| | | | | | | | | | | | | | | | This adds the "info" MTD partition, as it is specified in the ath79 DTS: https://github.com/openwrt/openwrt/blob/master/target/linux/ath79/dts/qca9563_tplink_archer-c7-v5.dts#L35 This is required to set the WAN MAC address, as it is build based on the LAN MAC address, which in turn has to be read from the "info" partition: https://github.com/openwrt/openwrt/blob/master/target/linux/ath79/dts/qca9563_tplink_archer-x7-v5.dtsi#L184 Backport of commit 9aa8f87d277bf2f666fa5bf90c5efd59dd044d54 Tested-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* ar71xx: Remove ath10k packages from archer-c7-v1 (fixes FS#1743)Aubrey McIntosh, PhD2019-04-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ath10k_pci driver crashes once loaded and causes boot loops on this device as 5GHz radio QCA9880-AR1A shipped with this router is broken. It's not possible to fix this problem in software, miniPCIe radio has to be replaced. We could've probably fixed crashing of the ath10k driver by reverting following upstream commit: commit 1a7fecb766c83dace747f42b25bbb544b00a0163 Author: Michal Kazior <michal.kazior@tieto.com> Date: Sat Jan 24 12:14:48 2015 +0200 ath10k: reset chip before reading chip_id in probe but it's not worth the effort as it wouldn't make that 5GHz radio usable anyway. So it seems more convenient to just remove the crashing driver and provide bootable images, as I believe, that a router that is working but degraded is better than a router that will not work. For details please see discussions in PR[1] and in FS#1743[2]. 1. https://github.com/openwrt/openwrt/pull/1349 2. https://bugs.openwrt.org/index.php?do=details&task_id=1743 Reviewed-by: Stefan Lippers-Hollmann <s.l-h@gmx.de> Signed-off-by: Aubrey McIntosh, PhD <aubrey.mcintosh@utexas.edu> [subject and commit message tweaks] Signed-off-by: Petr Štetiar <ynezz@true.cz>
* kernel: bump 4.14 to 4.14.111Koen Vandeputte2019-04-086-10/+10
| | | | | | | | | Refreshed all patches. Compile-tested on: cns3xxx, imx6 Runtime-tested on: cns3xxx, imx6 Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* kernel: bump 4.9 to 4.9.168Koen Vandeputte2019-04-084-8/+8
| | | | | | | | | Refreshed all patches. Compile-tested on: ar71xx Runtime-tested on: ar71xx Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* kernel: bump 4.14 to 4.14.110Koen Vandeputte2019-04-082-3/+3
| | | | | | | | | Refreshed all patches. Compile-tested on: cns3xxx, imx6, x86_64 Runtime-tested on: cns3xxx, imx6 Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* kernel: bump 4.9 to 4.9.167Koen Vandeputte2019-04-082-6/+6
| | | | | | | | | Refreshed all patches. Compile-test on: ar71xx Runtime-test on: ar71xx Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* openssl: update to 1.0.2rStijn Segers2019-04-072-6/+6
| | | | | | | | | | This bump contains bug and security fixes. Compile-tested on ar71xx, ramips/mt7621 and x86/64. Run-tested on ramips/mt7621. Signed-off-by: Stijn Segers <foss@volatilesystems.org> Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> [PKG_HASH fixup]
* kernel: bump 4.14 to 4.14.109Koen Vandeputte2019-03-291-2/+2
| | | | | | | | | Refreshed all patches. Compile-tested on: cns3xxx, imx6 Runtime-tested on: cns3xxx, imx6 Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* kernel: bump 4.9 to 4.9.166Koen Vandeputte2019-03-292-5/+5
| | | | | | | | | Refreshed all patches. Compile-tested on: ar71xx Runtime-tested on: ar71xx Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* kernel: bump 4.14 to 4.14.108Koen Vandeputte2019-03-296-8/+8
| | | | | | | | | Refreshed all patches. Compile-tested on: cns3xxx, imx6 Runtime-tested on: cns3xxx, imx6 Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* kernel: bump 4.9 to 4.9.165Koen Vandeputte2019-03-294-82/+82
| | | | | | | | | Refreshed all patches. Compile-tested on: ar71xx Runtime-tested on: ar71xx Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* kernel: bump 4.14 to 4.14.107Koen Vandeputte2019-03-251-2/+2
| | | | | | | | | Refreshed all patches. Compile-tested on: cns3xxx, imx6 Runtime-tested on: cns3xxx, imx6 Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* kernel: bump 4.9 to 4.9.164Koen Vandeputte2019-03-255-11/+11
| | | | | | | | | Refreshed all patches. Compile-tested on: ar71xx Runtime-tested on: ar71xx Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* ramips: allow packets with ttl=0Felix Fietkau2019-03-241-2/+2
| | | | | | | Some broken ISPs (e.g. Comcast) send DHCPv6 packets with hop limit=0. This trips up the TTL=0 check in the PPE if enabled. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to latest openwrt-18.06 branchFelix Fietkau2019-03-231-3/+3
| | | | | | | 9e3ef1f mt7603: fix sequence number assignment a5f5605 mt7603: send BAR after powersave wakeup Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: bump 4.14 to 4.14.106Koen Vandeputte2019-03-198-19/+19
| | | | | | | | | Refreshed all targets. Compile-tested on: cns3xxx, imx6 Runtime-tested on: cns3xxx, imx6 Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* kernel: bump 4.9 to 4.9.163Koen Vandeputte2019-03-193-6/+6
| | | | | | | | | Refreshed all targets. Compile-tested on: ar71xx Runtime-tested on: ar71xx Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* ipq40xx: copy Fritz4040 UBoot to STAGING_DIR_IMAGEDavid Bauer2019-03-182-3/+9
| | | | | | | | | | | | | Copy U-Boot to STAGING_DIR_IMAGE (and append it to the EVA-image from there) to fix image generation using the image-builder. Also remove the bootloader from DEVICE_PACKAGES and instead use the BUILD_DEVICES directive from within the U-Boot makefile. This fixes eva-image generation using the OpenWRT image-builder. Signed-off-by: David Bauer <mail@david-bauer.net> (cherry picked from commit 634c733065256979835ca3d7218ae8203a693683)
* tools/libelf: Add mirrors as main site is deadDaniel Engberg2019-03-171-2/+3
| | | | | | | Main site hasn't resolved for days so just add a few mirrors instead Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net> (cherry picked from commit a56c21f582810a28e9493dcfae584132d7ea9451)
* mt76: update to latest openwrt-18.06 branchFelix Fietkau2019-03-161-3/+3
| | | | | | | | | 00ac79d mt7603: fix initialization of max rx length 320af65 mt76: mt7603: use the correct hweight8() function bdee924 mt76: fix schedule while atomic in mt76x02_reset_state abcb544 mt76x02: do not enable RTS/CTS by default Signed-off-by: Felix Fietkau <nbd@nbd.name>
* busybox: add missing install dirHans Dedecker2019-03-111-1/+2
| | | | | | | | | Add missing /usr/sbin install dir fixing : install: cannot create regular file 'build_dir/target-x86_64_musl/busybox-1.30.1/.pkgdir/busybox/usr/sbin/ntpd-hotplug': No such file or directory Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> (cherry picked from commit 2cd28c9a0836b82c591cccc3d9e01228b7990869)
* kernel: bump 4.14 to 4.14.105Koen Vandeputte2019-03-085-12/+12
| | | | | | | | | Refreshed all patches. Compile-tested on: cns3xxx, imx6 Runtime-tested on: cns3xxx, imx6 Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* kernel: bump 4.9 to 4.9.162Koen Vandeputte2019-03-083-5/+5
| | | | | | | | | Refreshed all patches. Compile-tested on: ar71xx Runtime-tested on: ar71xx Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* mt76: update to the latest versionFelix Fietkau2019-03-071-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 28d81ff mt76x0: eeprom: fix VHT mcs{8,9} rate power offset 6e33ce6 mt76: move mt76_mcu_msg_alloc in mt76-core 4637f95 mt76: move mt76_mcu_get_response in mt76-core 1763cb0 mt76: move mt76_mcu_rx_event in mt76-core 4db9d75 mt76x0: mcu: remove useless commented configuration 91d0455 mt76: move mt76_dma_tx_queue_skb_raw in mt76-core module 0e8e53f mt76: remove add_buf pointer in mt76_queue_ops db47920 mt7603: rely on mt76_mcu_msg_alloc routine 471c447 mt7603: rely on mt76_mcu_get_response routine cacc986 mt7603: rely on mt76_mcu_rx_event routine 11ab620 mt7603: rely on mt76_tx_queue_skb_raw common routine 82fa312 mt7603: move alloc_dev common code in mt76_alloc_device 47d5922 mt76: move alloc_device common code in mt76_alloc_device c50c993 mt76x2u: remove mt76x2u_alloc_device routine 6ed5b7a mt76x0: remove mt76x0u_alloc_device routine e32e249 mt76x2: remove mt76x2_alloc_device routine 6aacd1e mt76: change the return type of mt76_dma_attach() a10e9e5 mt76x02u: use usb_bulk_msg to upload firmware a774ff6 mt76: usb: fix possible NULL pointer dereference in mt76u_mcu_deinit c2877bc mt76: usb: fix possible memory leak in mt76u_buf_free a5cfe96 mt76: usb: do not run mt76u_queues_deinit twice 1e4db14 mt76: usb: move mt76u_check_sg in usb.c 302406b mt76: usb: do not use sg buffers for mcu messages 8ab5267 mt76: usb: use a linear buffer for tx/rx datapath if sg is not supported a0a3505 mt76: usb: introduce disable_usb_sg parameter 0cee180 mt76: usb: use dev_err_ratelimited instead of dev_err in mt76u_complete_rx 1bb97c4 mt76x02u: remove bogus check and comment padding 2cbc2d4 mt76: Use the correct hweight8() function f18e03a mt76x0u: fix suspend/resume 6231336 mt76: mt76x02: fix TSF sync mode 783da04 mt76: mt76x02: fix beacon timer drift adjustment 43d2507 mt76: mt76x02: fix beacon timer issue 59a6587 mt76: mt76x02: only reset beacon drift counter when enabling beacons 8c8eb98 mt76: mt76x02: issue watchdog reset on MCU request timeout 52161d2 mt76: mt76x02: fix ED/CCA enabling/disabling 5e7ecce mt76: mt76x2: unify mt76x2[u]_mac_resume 18af219 mt76: mt76x02: set MT_TXOP_HLDR_TX40M_BLK_EN for mt76x2 e5747b2 mt76usb: allow mt76u_bulk_msg be used for reads 2437a9a mt76usb: use synchronous msg for mcu command responses e4250c9 mt76usb: remove usb_mcu.c 8b1110e mt76: usb: fix warning in mt76u_buf_free 89215f6 mt76: usb: introduce mt76u_fill_bulk_urb routine 523e374 mt76: usb: simplify rx buffer allocation ffe1292 mt76: usb: simplify mt76u_tx_build_sg routine e2a9d40 mt7603: fix ba window size selection b040ef7 mt76: remove no longer used routine declarations 645ef43 mt76: usb: check urb->num_sgs limit in mt76u_process_rx_entry fd315bd mt7603: disable dynamic sensitivity adjustment by default 3c6df9b mt76: rewrite dma descriptor base and ring size on queue reset 30e757e mt76: mt76x02: when setting a key, use PN from mac80211 fa83406 mt76: mt76x2: implement full device restart on watchdog reset ead881b mt76: mt76x02: do not sync PN for keys with sw_iv set ba1d989 mt76: mmio: move mt76x02_set_irq_mask in mt76 module 283ebbe mt76: dma: move mt76x02_init_{tx,rx}_queue in mt76 module b216d3c mt76: introduce q->stopped parameter 8b437d2 mt76x02: clear sta and vif driver data structures on add 2c62d03 mt76x02: clear running flag when resetting state on restart 6b10cfc mt76: mt76x02: only update the base mac address if necessary 669bc49 mt76: mt76x02: reduce false positives in ED/CCA tx blocking 2ed9382 mt76: mt7603: fix tx status HT rate validation d2c6823 mt76: mt76x2: fix external LNA gain settings 8ee2259 mt76: mt76x2: fix 2.4 GHz channel gain settings 8bfe6d4 mt76: mt7603: clear ps filtering mode before releasing buffered frames d13b065 mt76: mt7603: fix up hardware queue index for PS filtered packets eb1ecc4 mt76: mt7603: notify mac80211 about buffered frames in ps queue 3687eec mt76: mt7603: clear the service period on releasing PS filtered packets 42ab27e mt76: when releasing PS frames, end the service period if no frame was found 461f3b0 mt76: mt76x02: disable ED/CCA by default 1d7760d mt76: mt7603: set moredata flag when queueing ps-filtered packets 0b927b2 mt76: fix return value check in mt76_wmac_probe() e72376d mt76x02: fix hdr pointer in write txwi for USB Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: add a fix to prevent unsafe queue wake calls during restartFelix Fietkau2019-03-071-0/+33
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: backport tx queue start/stop fixFelix Fietkau2019-03-072-1/+273
| | | | | | Among other things, it fixes a race condition on calling ieee80211_restart_hw Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: bump 4.14 to 4.14.104Koen Vandeputte2019-03-0635-273/+273
| | | | | | | | | | | | Refreshed all patches. Altered patches: - 332-arc-add-OWRTDTB-section.patch Compile-tested on: cns3xxx, imx6 Runtime-tested on: cns3xxx, imx6 Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* kernel: bump 4.9 to 4.9.161Koen Vandeputte2019-03-069-36/+36
| | | | | | | | | | | | Refreshed all patches. Altered patches: - 332-arc-add-OWRTDTB-section.patch Compile-tested on: ar71xx Runtime-tested on: ar71xx Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* kernel: fix refcnt leak in LED netdev trigger on interface renameRafał Miłecki2019-03-061-17/+13
| | | | | | | | | | | | | | | | | | | | | | | | | Renaming a netdev-trigger-tracked interface was resulting in an unbalanced dev_hold(). Example: > iw phy phy0 interface add foo type __ap > echo netdev > trigger > echo foo > device_name > ip link set foo name bar > iw dev bar del [ 237.355366] unregister_netdevice: waiting for bar to become free. Usage count = 1 [ 247.435362] unregister_netdevice: waiting for bar to become free. Usage count = 1 [ 257.545366] unregister_netdevice: waiting for bar to become free. Usage count = 1 Above problem was caused by trigger checking a dev->name which obviously changes after renaming an interface. It meant missing all further events including the NETDEV_UNREGISTER which is required for calling dev_put(). This change fixes that by: 1) Comparing device struct *address* for notification-filtering purposes 2) Dropping unneeded NETDEV_CHANGENAME code (no behavior change) Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* oxnas: add SoC restart driver for rebootDaniel Golle2019-03-033-23/+298
| | | | | | | Refresh oxnas kernel config while at it. Signed-off-by: Daniel Golle <daniel@makrotopia.org> (commit c1a8054114 "oxnas: add SoC restart driver for reboot" on master)
* oxnas: cheery-pick DTS improvements from masterDaniel Golle2019-03-036-11/+97
| | | | | | | | | | | 4a954e8620 oxnas: dts: Unify naming of gpio-keys nodes 9292822023 oxnas: dts: Unify naming of gpio-led nodes 994428f395 oxnas: add missing NAND partitions 858aebc0ef oxnas: unify MTD partition names e2fea41ad6 oxnas: fix forgotten MTD partition name 42f2e07ba0 oxnas: cloudengines,pogoplug*: enable USB ports Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: bump 4.14 to 4.14.103Koen Vandeputte2019-02-252-3/+3
| | | | | | | | | Refreshed all patches. Compile-tested on: cns3xxx, imx6 Runtime-tested on: cns3xxx, imx6 Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* kernel: bump 4.9 to 4.9.160Koen Vandeputte2019-02-255-14/+14
| | | | | | | | | Refreshed all patches. Compile-tested on: ar71xx Runtime-tested on: ar71xx Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* kernel: bump 4.14 to 4.14.102Koen Vandeputte2019-02-254-90/+3
| | | | | | | | | | | | | | | | | | Refreshed all patches. Remove upstreamed: - 272-uapi-if_ether.h-prevent-redefinition-of-struct-ethhd.patch Remove upstreamed hunks: - 105-pinctrl-msm-fix-gpio-hog-related-boot-issues.patch Fixes: - CVE-2018-1000026 Compile-tested on: cns3xxx, imx6 Runtime-tested on: cns3xxx, imx6 Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* kernel: bump 4.9 to 4.9.159Koen Vandeputte2019-02-2510-532/+9
| | | | | | | | | | | | | | | | | | | | Refreshed all patches. Remove upstreamed: - 023-1-smsc95xx-Use-skb_cow_head-to-deal-with-cloned-skbs.patch - 023-6-ch9200-use-skb_cow_head-to-deal-with-cloned-skbs.patch - 023-7-kaweth-use-skb_cow_head-to-deal-with-cloned-skbs.patch - 050-usb-dwc2-Remove-unnecessary-kfree.patch - 092-netfilter-nf_tables-fix-mismatch-in-big-endian-syste.patch - 272-uapi-if_ether.h-prevent-redefinition-of-struct-ethhd.patch Fixes: - CVE-2018-1000026 Compile-tested on: ar71xx Runtime-tested on: ar71xx Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* mac80211: brcmfmac: backport 5.0 & 5.1 important changes/fixesRafał Miłecki2019-02-2520-8/+6934
| | | | | | | | This backports the most important brcmfmac commits that: 1) Fix some bugs 2) Help debugging bugs Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* dnsmasq: prefer localuse over resolvfile guessworkYousong Zhou2019-02-242-5/+5
| | | | | | | | | | | | | This makes it clear that localuse when explicitly specified in the config will have its final say on whether or not the initscript should touch /etc/resolv.conf, no matter whatever the result of previous guesswork would be (cherry picked from c17a68cc61a0f8a28e19c7f60b24beaf1a1a402d) Tested-by: Paul Oranje <por@oranjevos.nl> Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> Acked-by: Hans Dedecker <dedeckeh@gmail.com> Acked-by: Paul Oranje <por@oranjevos.nl>
* dnsmasq: allow using dnsmasq as the sole resolverYousong Zhou2019-02-242-16/+16
| | | | | | | | | | | | | | | | | | | | | | | Currently it seems impossible to configure /etc/config/dhcp to achieve the following use case - run dnsmasq with no-resolv - re-generate /etc/resolv.conf with "nameserver 127.0.0.1" Before this change, we have to set resolvfile to /tmp/resolv.conf.auto to achive the 2nd effect above, but setting resolvfile requires noresolv being false. A new boolean option "localuse" is added to indicate that we intend to use dnsmasq as the local dns resolver. It's false by default and to align with old behaviour it will be true automatically if resolvfile is set to /tmp/resolv.conf.auto (cherry picked from 2aea1ada65f050d74a064e74466bbe4e8d) Tested-by: Paul Oranje <por@oranjevos.nl> Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> Acked-by: Hans Dedecker <dedeckeh@gmail.com> Acked-by: Paul Oranje <por@oranjevos.nl>
* build: Accept BIN_DIR parameter for legacy-imagesSven Eckelmann2019-02-201-2/+2
| | | | | | | | | | | | | | | | | | | BIN_DIR can be set to overwrite the output path for new images. This is an advertised feature for the imagebuilder and is used by systems like LibreMesh's chef. The legacy images are build using a new sub-make which doesn't receive the variable overwrites of the parent make process. As result, the BIN_DIR is automatically defined to the default value from rules.mk. The images will therefore not be placed in the output path which was selected by the user. Providing BIN_DIR as an explicit variable override to the sub-make works around this problem. Fixes: 26c771452cd8 ("image.mk: add LegacyDevice wrapper to allow legacy image building code to be used for device profiles") Reported-by: Paul Spooren <mail@aparcar.org> Signed-off-by: Sven Eckelmann <sven@narfation.org> (cherry picked from commit 9a5a10eb6924efa519e1d9e27b61dc254876f9ec)
* ar71xx: Fix 5 GHz MAC address for Archer C60 v2Adrian Schmutzler2019-02-201-1/+6
| | | | | | | | | | Looks like C60 v2 needs the MAC address to be calculated manually, while the C60 v1 gets it correctly without manual interference. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> Signed-off-by: Christian Lamparter <chunkeey@gmail.com> [added id] (cherry picked from commit 319c5d7c49503d1afbfb3164b18cf966e11fac6a)
* kernel: bump 4.14 4.14.101Koen Vandeputte2019-02-201-2/+2
| | | | | | | | | | | | Refreshed all patches. Fixes: - CVE-2019-3819 Compile-tested on: cns3xxx, imx6 Runtime-tested on: cns3xxx, imx6 Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* kernel: bump 4.9 to 4.9.158Koen Vandeputte2019-02-201-2/+2
| | | | | | | | | | | | Refreshed all patches. Fixes: - CVE-2019-3819 Compile-tested on: ar71xx Runtime-tested on: ar71xx Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* kernel: bump 4.14 to 4.14.99Koen Vandeputte2019-02-1514-28/+28
| | | | | | | | | Refreshed all patches. Compile-tested on: cns3xxx, imx6 Runtime-tested on: cns3xxx, imx6 Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>