Hauke Mehrtens [Sat, 29 Sep 2018 11:32:22 +0000 (13:32 +0200)]
sunxi: enable CONFIG_BPF_SYSCALL and CONFIG_EMBEDDED
This takes the options from the generic configuration
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sat, 29 Sep 2018 13:56:20 +0000 (15:56 +0200)]
kernel: Activate VDSO on MIPS again
The cache coloring problem on MIPS CPUs was fixed with kernel 4.9.129 of
the kernel 4.9 branch. Activate VDSO support for MIPS again.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sat, 29 Sep 2018 11:20:34 +0000 (13:20 +0200)]
samsung: Remove unneeded config options
The samsung target deactivates some options which are activated in the
generic kernel configuration. This looks unnecessary to me, so remove
this. This also fixes build problem found by build bot, for example the
kmod-fs-nfs-v3 was not building, because CONFIG_NETWORK_FILESYSTEMS was
deactivated.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sat, 29 Sep 2018 11:19:15 +0000 (13:19 +0200)]
samsung: Add missing dependencies to kmod-of-mdio
The samsung target builds of_mdio.ko as a module, add the needed
dependency to it.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Felix Fietkau [Sat, 29 Sep 2018 14:05:12 +0000 (16:05 +0200)]
mac80211: fix management frame protection issue with mt76 (and possibly other drivers)
Software crypto wasn't working for management frames because the flag
indicating management frame crypto was missing
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Felix Fietkau [Sat, 22 Sep 2018 10:56:32 +0000 (12:56 +0200)]
mt76: update to latest, adds mt76x0u and mt76x2u support, fixes a mt7603 powersave issue
d220f43 Revert "mt76x2: reset HW before probe"
0853d79 Revert "mt76x2: add functions for setting extended MAC address registers"
8ba17b1 Revert "mt76: use a per rx queue page fragment cache"
3f0ac35 mt76x2: init: disable APCLI by default
38014de mt76x2: remove unnecessary break in mt76x2_mac_process_tx_rate()
fbf4791 mt76x2: fix TXD_INFO bitmask definition
d00c616 mt76x2: fix mrr idx/count estimation in mt76x2_mac_fill_tx_status()
0d42d22 mt76: introduce mt76_{incr,decr} utility routines
0f6379a mt76x2: dfs: add sw event ring buffer
df8071f mt76x2: dfs: add sw pattern detector
016df9c mt76x2: debugfs: add sw pulse statistics to dfs debugfs
a6915cb mt76: move MT_TXD_INFO, MT_MCU_MSG and MT_RX_FCE_INFO defs in dma.h
911e6aa mt76x2: move mt76x2_fw_header and mt76x2_patch_header definitions in mcu.h
c55d29b mt76x2: move utility routines in mt76x2.h
d08ea82 mt76x2: introduce mt76x2_init_device routine
6a1e809 mt76x2: move interface_modes definition in mt76x2_init
5aa0972 mt76x2: introduce mt76x2_mac_load_tx_status routine
730b86c mt76x2: add napi struct to mt76_rx_poll_complete/mt76_rx_complete signatures
1ab6cea mt76x2: add buffer len to mt76x2_mac_write_txwi signature
7ac6dac mt76: rename mt76_tx_queue_skb in mt76_dma_tx_queue_skb
66f3949 mt76: introduce tx_queue_skb function pointer in mt76_bus_ops
d099694 mt76: introduce mt76x2-common module
9bf1aa1 mt76: add mt76x2_tx_common to mt76x2-common module
29f960a mt76: add mt76x2_mac_common to mt76x2-common module
8f568ce mt76: add mt76x2_init_common to mt76x2-common module
61c4c61 mt76: add mt76x2_common to mt76x2-common module
264edbe mt76: add mt76x2_phy_common to mt76x2-common module
7625508 mt76: move mt76x2_debugfs in mt76-common module
99a3afa mt76: add usb support to mt76 layer
25b4598 mt76: add driver code for MT76x2u based devices
253c443 mt76x0: core files
6ed7bc2 mt76x0: mac files
a2c1068 mt76x0: usb files
c332481 mt76x0: mcu files
0d7d9ed mt76x0: phy files
5d50834 mt76x0: init files
c633654 mt76x0: eeprom files
18a9d4e mt76x0: trace and debugfs files
7395bba mt76x0: dma and tx files
08dec4c mt76x0: main file
5892efd mt76: add more states
e176af8 mt76: Kconfig and Makefile for mt76x0 driver
5c38d48 mt76x0: disable HW before probe
2f37f60 mt76x0: load firmware from mediatek subdir
1388140 mt76x0: rename mt76_* functions
1cb65d5 mt76x0: rename trace symbols
4fe2b16 mt76x0: correct type for eeprom gain value
560b643 mt76x0: perform mt76x0_mac_set_ampdu_factor
d1645aa mt76x0: Remove VLA usage
f8a0da4 mt76: Fix comparisons with invalid hardware key index
884eca5 mt76: unify wait_for_mac
fc636f0 mt76: rename mt76x2_regs.h
493feb9 mt76: merge mt76x0/regs.h into mt76x02_regs.h
a238099 mt76: create new mt76x02-lib module for common mt76x{0,2} code
55bceee mt76: unify mac_get_key_info
f6c19cf mt76: add helpers for register access with mt76_dev struct
34a95b8 mt76: unify mac_shared_key_setup
4286255 mt76: unify mt76x02_mac_wcid_set_key
732535e mt76: unify mac_wcid_setup
51b74ac mt76: use mac_wcid_set_drop in mt76x0
1b4a98f mt76x0: use mt76_wcid_free in mt76x0
fcf2130 mt76: unify mt76x02_vif struct
1f35eb5 mt76: unify sta structure part 1
086ea9f mt76: unify sta structure part 2
caff9a2 mt76x0: initalize custom tx queues
7362da7 mt76x0: use mt76x02_sta and mt76x02_tx_status
3a03aa1 mt76: move mt76_reg_pair definition in mt76.h
a853831 mt76: split __mt76u_mcu_send_msg and mt76u_mcu_send_msg routines
a80564f mt76: move mt76x2u_mcu_deinit routine in mt76-usb module
ac92496 mt76: add multiple regs read support to usb_mcu layer
8b0e08f mt76x0: use mt76u_init for bus initialization
ef32115 mt76x0: remove mt76x0_vendor_reset routine
949858f mt76x0: remove mt76x0_vendor_single_wr routine
21ecb9b mt76x0: remove mt76x0_mcu_msg_alloc routine
4cfeebb mt76x0: use shared mt76 usb mcu completion
2600712 mt76x0: remove mt76x0_complete_urb routine
0bd0fe8 mt76x0: remove mt76x0_vendor_request routine
f88bde2 mt76x0: remove unused mt76x0_wait_asic_ready routine
7eca333 mt76x0: use mt76u_mcu_send_msg utility routine to send fw cmds
8fedb79 mt76x0: remove unused mt76x0_mcu structure
e8fe4f3 mt76x0: use mt76u_mcu_fw_send_data for fw uploading
b9c46a8 mt76x0: remove unused routines for usb_buff alloc/free
ed3366d mt76: Enable NL80211_EXT_FEATURE_CQM_RSSI_LIST
9867146 mt76: verify evt type in usb mcu response
82a8c8a mt76: move wcid fields to common mt76_dev struct
f409c6b mt76: unify sta_add / sta_remove
d972ddd mt76: pratially unify add_interface
f8f5788 mt76x0: fix wrong usage of wcid_mask in remove_interface
380f89c mt76: unify ampdu_action
8c7098e mt76: unify set_key
2a20cfc mt76x0: remove empty sta_notify
a690333 mt76: unify AC to hw queue mapping
4453308 mt76: unify conf_tx
d9352cb mt76x0: remove vif_mask
196720e mt76: unify remove_interface
57c3e89 mt76: unify add_interface
91fce2f mt76: unify sta_rate_tbl_update and related helpers
3977f48 mt76: unify txwi and rxwi structures
41e0403 mt76: unify load_tx_status
4674502 mt76: unify send_tx_status and related helpers
02816b0 mt76: use mt76_rx_status in mt76x0
0a17b1e mt76: unify mac_process_rate
8aac175 mt76x0: reserve enough space in mac80211
81a655a mt76: unify {insert/remove}_hdr_pad
d8f7d2e mt76: partially unify filling txwi fields
3533718 mt76x2: change mt76x2_tx_complete routine signature
469aeb1 mt76: move mt76x2_tx_complete routine in mt76x02-lib module
87f138b mt76: move mt76x2u_remove_dma_hdr in mt76x02-lib module
c87a7e8 mt76: move mt76x2u_tx_complete_skb in mt76x02-lib moudule
b85e072 mt76: move mt76_qsel definition in dma.h
53b3c5a mt76: move mt76x2u_set_txinfo in mt76x02-lib module
34cec25 mt76x0: introduce mt76x0_tx_prepare_skb routine
6c5ac15 mt76: move mt76x2u_tx_status_data in mt76x02-lib module
0ba8261 mt76x0: init mt76_driver_ops callbacks
2615090 mt76x0: use mt76_alloc_device for device allocation
3c40eaf mt76x0: disable usb rx bulk aggregation
746edd7 mt76x0: mark device as running in mt76x0_start
dd77785 mt76x0: simplify mt76_mac_process_rx signature
3739601 mt76x0: add mt76x0_queue_rx_skb routine
062aaa8 mt76x0: unify tx/rx datapath with mt76x2u driver
85f171f mt76x0: stop stat workqueue at hw stop
8c68115 mt76x0: set max fragments size
ac02f5c mt76x0: remove unused dma.c source file
964df72 mt76x0: remove unused stat work_queue
afb34b8 mt76x0: remove unused {tx/rx}_queue definitions
a4fd791 mt76x0: remove unused mt76x0_tx_status routine
0e92ff6 mt76x0: remove unused endpoint definitions
8340e19 mt76x0: remove unused stat_work
bfbbf05 mt76x0: enable per-sta tx queueing
a8fcaa3 mt76x0: init hw capabilities
6a9b73c mt76x0: trim rx skb to proper length
aa0c279 mt76: remove unused MT76_MORE_STATS state
873d792 mt76x0: remove mt76x0_stop_hardware routine
246a216 mt76: move mt76 rate definitions in mt76x02-lib module
aae3fb8 mt76x0: alloc mcu buffers first in mt76x0_mcu_cmd_init
3c693a1 mt76x0: fix memory leak during hw probe
98faee1 mt76x0: move stop related routines in mt76x0_mac_stop
d07c02a mt76x0: move mt76x0_init_hardware in mt76x0_register_device
12c01f4 mt76x0: do not free/alloc buffers during suspend/resume
297cc34 mt76x0: remove has_{2,5}ghz fields of mt76x0_eeprom_params
2d77a9a mt76x0: use mt76_register_device for device registration
bb57912 mt76x0: inital split between pci and usb
3e241f3 mt76x0: remove unused mt76x0_wcid
a8c61c2 mt76x0: remove some usb specific code from mt76x0_register_device
e4a7387 mt76x0: make device allocation bus neutral
6da4642 mt76x0: run vco calibration for each channel configuration
1ac35da mt76: move mt76x0 and mt76x2 mcu shared defs in mt76x02_mcu.h
4d43674 mt76: add mt76_mcu_ops data structure for mcu related pointers
479b153 mt76: add usb implementation of {wr,rd}_rp
e525b01 mt76: add rd_rp and wr_rp to bus_ops/mcu_ops
f5590b0 mt76: usb: use common helpers for mcu_alloc_msg()/mcu_send_msg()
d2773ce mt76: usb: move mt76x02 mcu code in mt76x02-usb module
6337ffb mt76: usb: move mt76u_skb_dma_info in mt76x02_usb_core.c
5a79f17 mt76x02: move TXD/RXD/MCU definitions in mt76x02_dma.h
88ece32 mt76x02: add static qualifier to mt76x02_remove_dma_hdr
d63b72f mt76x0: remove unused mt76x0_burst_read_regs
0aef244 mt76x0: remove mt76x0_burst_write_regs()
14aaf87 mt76: usb: remove skb check in mt76x{0,2}u mcu routines
46ba81c mt76x2: use mt76_dev instead of mt76x2_dev in mt76x2_tx_queue_mcu
dbc4442 mt76x2: remove leftover mt76u_buf data structure in mt76x2_mcu
26909cd mt76: introduce mmio data structure in mt76_dev
425e7e0 mt76: move __iomem regs in mt76_mmio
28cfe61 mt76x2: use mt76_dev instead of mt76x2_dev in mt76x2_mcu_msg_send
a1e27de mt76x2: use common helpers for mcu_alloc_msg()/mcu_send_msg()
90b1eac mt76: unify firmware header between mt76x0 and mt76x2
a0cbd4b mt76: move mt76{0,2} mcu shared code in mt76x02_mcu.c
a633c61 mt76x2: move mt76x2 mcu shared code in mt76x2_mcu_common.c
ce91108 mt76: move shared mcu_calibrate routine in mt76x02-lib module
2b3b4df mt76x2: move mt76x2_phy_tssi_compensate in mt76x2-common module
39a380a mt76: use a per rx queue page fragment cache
b4a2141 mt76x2u: run device cleanup routine if resume fails
df11092 treewide: Use struct_size() for kmalloc()-family
788becd treewide: devm_kzalloc() -> devm_kcalloc()
971005a mt76x2u: Add support for Alfa AWUS036ACM
878b0bd mt76: fix debugfs_simple_attr.cocci warnings
44ed12d wireless: Use octal not symbolic permissions
a6f80ef build: make building 76x2e and 7603e optional
1047913 mt76x0: usb: move firmware loading to usb.c
26b20f8 mt76x0: remove mcu source file
44145f3 mt76x0: remove unused usb header file
d56be99 mt76x0: usb: remove mt76_fw definition
3733445 mt76x2: fix tx power configuration for VHT mcs 9
0aced80 mt76x0: pci: add mt7650 PCI ID
35e88c0 mt76x0: pci: add fw uploading routine
3991afa mt76: move seq_put_array in mt76-core module
6cf6fba mt76: add stbc entries to mt76_rate_power
4451f99 mt76: move common eeprom definitions in mt76x02-lib module
c9100cb mt76: move eeprom utility routines in mt76x02_eeprom.h
611b8c7 mt76: move mt76x2_eeprom_get in mt76x02_eeprom.h
b59ed56 mt76: move mt76x02_mac_setaddr in mt76x02-lib module
844daeb mt76: move mt76x2_get_efuse_data in mt76x02-lib module
7556cb9 mt76: move mt76x2_ext_pa_enabled routine in mt76x02_eeprom.c
19d7853 mt76x0: remove mt76x0_set_country_reg routine
ba7a3da mt76: add mt76x02_get_rx_gain and mt76x02_get_lna_gain utility routines
35b0a2a mt76x0: unify lna_gain parsing
2a470db mt76x0: unify rssi_offset parsing
fe89537 mt76x0: unify temperature offset parsing
76bc22f mt76x0: unify freq offset parsing
bedeb3d mt76: move mt76x02_eeprom_parse_hw_cap in mt76x02-lib module
1adcd39 mt76x0: unify parse hw capabilities
df23620 mt76: move mt76x2_tssi_enabled in mt76x02_eeprom.h
ebca136 mt76: usb: remove WARN_ON in mt76u_get_rx_entry_len
cf8f750 mt76: fix return value of mt76x02_wait_for_mac
f802bd5 mt76: move mt76_rate_power in mt76_dev
4b6093c mt76: add mt76x02_phy_set_txpower utility routine
c206b8c mt76: move rate_txpower handler in mt76 debugfs
4da6fd3 mt76: move mt76x02_rate_power_val in mt76x02-lib module
fb3806d mt76x0: remove mt76x0_phy_set_tx_power and mt76x0_extra_power_over_mac
730db56 mt76x0: remove eeprom dependency from mt76x0_set_tx_power_per_rate
212fa2c mt76x0: remove eeprom dependency from mt76x0_get_power_info
280e452 mt76x0: use shared debugfs implementation
21fddc3 mt76x0: phy: introduce mt76x0_phy_set_txpower routine
b0d85d4 mt76: include linux/module.h in files using MODULE_*
a47083b mt76: report firmware version using ethtool
dc66f7c mt76: usb: make rx page_frag_cache access atomic
09d696b mt76: use skb_pad() instead of __skb_pad()
e8d7890 mt76x0: add quirk to disable 2.4GHz band for Archer T1U
e76fe15 mt76x2: disable WLAN core before probe
41c552f mt76x0: work around cflags issue in compat layer for trace.h
b95bc8a mt76x0: use mt76_poll in mt76x0_set_wlan_state
3a3554a mt76: move wait_for_wpdma in mt76x02_dma.h
0527feb mt76: add mt76x02_dma_enable/mt76x02_dma_disable utility routines
a8fda4b mt76: move mt76x02_set_irq_mask in mt76x02_mmio.c
11e3028 mt76: move queue initialization in mt76x02_mmio.c
5a29094 mt76: move mt76x02_beacon_offset in mt76x02_util.c
5f1d0ff mt76: mmio: add implementation of wr_rp and rd_rp
47eee35 mt76: move mt76x2_wait_for_bbp in mt76x02-lib module
7cc4be7 mt76x0: update initvals to latest version of vendor driver
e1a2179 mt76x0: pci: move mcu code in pci_mcu.c
886f6fc mt76x0: usb: move mcu code in usb_mcu.c
c7b28f4 mt76x0: use mt76x02 utility routines in mt76x0 init code
005d40a mt76x0: init: remove duplicated initialization
94776fe mt76x0: init: remove MT_PBF_SYS_CTRL configuration in mt76x0_reset_csr_bbp
5bb8339 mt76x0: init rx filter in mt76x0_init_hardware
fe1379a mt76: add mt76x02_mac_start routine
da982d3 mt76x0: usb: move initialization code in usb.c
22be43e mt76x0: pci: add hw initialization at bootstrap
15a50e1 mt76x0: phy: set antenna parameter according to wireless band
5d2a331 mt76: move set_{tx,rx}_path routines in mt76x02-lib module
8050d71 mt76x0: add ieee80211_ops ops pointer to mt76x0_alloc_device signature
c240904 mt76x0: pci: add mt76x0e_{start/stop} callbacks
b50f38a mt76x0: eeprom: load eeprom data from mtd by default
fb5bae0 mt76x0: usb: move mt76x0u_tx_prepare_skb in usb.c
4047e1f move mt7603 source files to mt7603/
14f70f4 mt7603: fix wcid for frames sent via drv_tx
542f17e mt76: fix handling ps-poll frames
7464cc9 mt76: check aggregation sequence number for frames sent via drv_tx
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Rosy Song [Mon, 24 Sep 2018 02:48:12 +0000 (10:48 +0800)]
util-linux: add eject support
Signed-off-by: Rosy Song <rosysong@rosinson.com>
Hauke Mehrtens [Fri, 28 Sep 2018 21:03:32 +0000 (23:03 +0200)]
ath10k-ct: fix bandwidth conversion bug
This backports a patch from the upstream kernel which was also shipped
previously in mac80211.
This fixes the following warning:
WARNING: CPU: 0 PID: 2881 at backports-4.19-rc5-1/net/wireless/util.c:1146 cfg80211_calculate_bitrate+0x238/0x348 [cfg80211]
invalid rate bw=2, mcs=0, nss=1
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Ansuel Smith [Fri, 28 Sep 2018 00:24:58 +0000 (02:24 +0200)]
ath10k-ct: adds leds support
This rework and adds patch from ath10k source to make leds work also on candela source
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Hauke Mehrtens [Fri, 28 Sep 2018 19:42:09 +0000 (21:42 +0200)]
layerscape: armv7: activate USB support.
The feature flags say that this target supports USB so packages
depending on USB are being build, but actually the kernel configuration
misses USB support. It looks like this SoC supports USB, so activate it.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Fri, 28 Sep 2018 19:40:11 +0000 (21:40 +0200)]
mac80211: fix ipw200 build with kernel < 4.10
The __change_mtu() function is only compiled when
CPTCFG_IPW2200_PROMISCUOUS is set, more it to the general area.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Thu, 27 Sep 2018 20:44:25 +0000 (22:44 +0200)]
layerscape: kmod-ppfe: Fix kernel options
The CONFIG_FSL_PPFE and the CONFIG_FSL_PPFE_UTIL_DISABLED are boolean,
so they should be selected with an =y in OpenWrt, otherwise OpenWrt will
select them as =m. These options will make pfe.ko being build as a
module even if this is boolean.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Thu, 27 Sep 2018 20:46:49 +0000 (22:46 +0200)]
kernel: Add missing config options for layerscape armv7 target
This adds some configuration options which are selectable when the
layerscape armv7 target is compiled.
This was found by build bot.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Thu, 27 Sep 2018 20:42:16 +0000 (22:42 +0200)]
kernel: Add missing config options for samsung target
This adds some configuration options which are selectable when the
samsung target is compiled.
This was found by build bot.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Kevin Darbyshire-Bryant [Thu, 27 Sep 2018 20:14:10 +0000 (21:14 +0100)]
wireguard: bump to 0.0.
20180925
33523a5 version: bump snapshot
0759480 curve25519-hacl64: reduce stack usage under KASAN
b9ab0fc chacha20: add bounds checking to selftests
2e99d19 chacha20-mips32r2: reduce stack and branches in loop, refactor jumptable handling
d6ac367 qemu: bump musl
28d8b7e crypto: make constant naming scheme consistent
56c4ea9 hchacha20: keep in native endian in words
0c3c0bc chacha20-arm: remove unused preambles
3dcd246 chacha20-arm: updated scalar code from Andy
6b9d5ca poly1305-mips64: remove useless preprocessor error
3ff3990 crypto-arm: rework KERNEL_MODE_NEON handling again
dd2f91e crypto: flatten out makefile
67a3cfb curve25519-fiat32: work around m68k compiler stack frame bug
9aa2943 allowedips: work around kasan stack frame bug in selftest
317b318 chacha20-arm: use new scalar implementation
b715e3b crypto-arm: rework KERNEL_MODE_NEON handling
77b07d9 global: reduce stack frame size
ddc2bd6 chacha20: add chunked selftest and test sliding alignments and hchacha20
2eead02 chacha20-mips32r2: reduce jumptable entry size and stack usage
a0ac620 chacha20-mips32r2: use simpler calling convention
09247c0 chacha20-arm: go with Ard's version to optimize for Cortex-A7
a329e0a chacha20-mips32r2: remove reorder directives
3b22533 chacha20-mips32r2: fix typo to allow reorder again
d4ac6bb poly1305-mips32r2: remove all reorder directives
197a30c global: put SPDX identifier on its own line
305806d ratelimiter: disable selftest with KASAN
4e06236 crypto: do not waste space on selftest items
5e0fd08 netlink: reverse my christmas trees
a61ea8b crypto: explicitly dual license
b161aff poly1305: account for simd being toggled off midway
470a0c5 allowedips: change from BUG_ON to WARN_ON
aa9e090 chacha20: prefer crypto_xor_cpy to avoid memmove
1b0adf5 poly1305: no need to trick gcc 8.1
a849803 blake2s: simplify final function
073f3d1 poly1305: better module description
Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Kevin Darbyshire-Bryant [Thu, 27 Sep 2018 14:21:27 +0000 (15:21 +0100)]
dnsmasq: bump to v2.80test7
Bump to latest test release:
3a610a0 Finesse allocation of memory for "struct crec" cache entries.
48b090c Fix
b6f926fbefcd2471699599e44f32b8d25b87b471 to not SEGV on startup (rarely).
4139298 Change behavior when RD bit unset in queries.
51cc10f Add warning about 0.0.0.0 and :: addresses to man page.
ea6cc33 Handle memory allocation failure in make_non_terminals()
ad03967 Add debian/tmpfiles.conf
f4fd07d Debian bugfix.
e3c08a3 Debian packaging fix. (restorecon)
118011f Debian packaging fix. (tmpfiles.d)
Delete our own backports of
ea6cc33 &
4139298, so the only real changes
here, since we don't care about the Debian stuff are
48b090c &
3a610a0
Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Hauke Mehrtens [Wed, 26 Sep 2018 19:30:59 +0000 (21:30 +0200)]
mac80211: fix selecting of ath10k -ct firmware
There is not firmware file with -ct-ct postfix, remove one -ct.
Fixes:
61b5b4971e7d ("mac80211: make ath10k-ct the default ath10k")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Tue, 25 Sep 2018 20:35:17 +0000 (22:35 +0200)]
mac80211: Use backports-4.19-rc5-1.tar.xz
This is an official release with some minor changes compared to the
unofficial 4.19-rc4-1 we used before.
* added bcma and ssb again, which is removed in OpenWrt
* fix to build with kernel 4.19
* other minor fixes not relevant for Openwrt.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Rosy Song [Thu, 9 Aug 2018 06:47:31 +0000 (14:47 +0800)]
iptables: fix dependency for libip6tc on IPV6
Signed-off-by: Rosy Song <rosysong@rosinson.com>
Martin Schiller [Mon, 24 Sep 2018 12:09:05 +0000 (14:09 +0200)]
uboot-lantiq: fix compatibility with gcc7
Backport u-boot commit
704f3acfcf55343043bbed01c5fb0a0094a68e8a to fix
compatibility with gcc7.
Signed-off-by: Martin Schiller <ms@dev.tdt.de>
INAGAKI Hiroshi [Tue, 11 Sep 2018 11:50:35 +0000 (20:50 +0900)]
ath79: add support for Buffalo BHR-4GRV
Buffalo BHR-4GRV is a wired router, based on Atheros AR7242.
Specification:
- Atheros AR7242
- 64 MB of RAM
- 32 MB of Flash
- 2x 16 MB SPI-NOR flash
- 5x 10/100/1000 Mbps Ethernet
- 3x LEDs, 2x keys
- 1x USB 2.0 Type-A
- UART header on PCB
- JP1: Vcc, GND, TX, RX from reset button side
Flash instruction using factory image:
1. Boot the BHR-4GRV normaly and connect the computer to its LAN port
2. Access to
"http://192.168.11.1/cgi-bin/cgi?req=frm&frm=py-db/firmup.html"
with user "bufpy" and password "otdpopy"
3. Select the OpenWrt factory image and click "OK" button to perform
firmware upgrade
4. Wait ~200 seconds to complete flashing
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
INAGAKI Hiroshi [Tue, 11 Sep 2018 11:13:17 +0000 (20:13 +0900)]
ath79: fix support for Buffalo WZR-HP-G450H and split to dts/dtsi
There are many parts that are incorrect or missing in the current
code for Buffalo WZR-HP-G450H in ath79, so its support is broken.
I fixed that issues and split to dts/dtsi files to add support for
Buffalo BHR-4GRV.
And WZR-450HP has the same hardware as WZR-HP-G450H, so I change the
device name to "WZR-HP-G450H/WZR-450HP".
Specification:
- Atheros AR7242
- 64 MB of RAM
- 32 MB of Flash
- 2x 16 MB SPI-NOR flash
- 3T3R 2.4 GHz wifi
- SoC internal
- 5x 10/100/1000 Mbps Ethernet
- 6x LEDs, 5x keys
- 1x USB 2.0 Type-A
- UART header on PCB
- JP1: Vcc, GND, TX, RX from reset button side
Flash instruction using factory image:
1. Boot the WZR-HP-G450H (or WZR-450HP) normaly and connect the computer
to its LAN port
2. Access to
"http://192.168.11.1/cgi-bin/cgi?req=frm&frm=py-db/firmup.html"
with user "bufpy" and password "otdpopy"
3. Select the OpenWrt factory image and click "OK" button to perform
firmware update
4. Wait ~200 seconds to complete flashing
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
INAGAKI Hiroshi [Mon, 10 Sep 2018 19:57:09 +0000 (04:57 +0900)]
ath79: fix wrong pll-data value for I-O DATA WN-AC-DGR devices
The pll-data value "0x56000000" is wrong for I-O DATA WN-AC1600DGR2
and WN-AC1167DGR, so there was a problem of slowing down the speed of
ethernet.
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
Steffen Förster [Mon, 24 Sep 2018 20:37:22 +0000 (22:37 +0200)]
ramips: fix Archer C20 sysupgrade
The sysupgrade image failed the check due to the wrong string in the
supported devices. This patch provides the correct name by dropping the
SUPPORTED_DEVICES to use the default generated name.
Signed-off-by: Steffen Förster <steffen@chemnitz.freifunk.net>
[drop the SUPPORTED_DEVICES, the old name was never used in a release]
Signed-off-by: Mathias Kresin <dev@kresin.me>
Emil Muratov [Fri, 14 Sep 2018 09:12:32 +0000 (12:12 +0300)]
ramips: fix power LED DTB for wt3020
Since
c134210 power LED is no longer lights after boot-up.
Reversing gpio polarity makes it work as it should be.
Signed-off-by: Emil Muratov <gpm@hotplug.ru>
Joseph C. Lehner [Fri, 7 Sep 2018 14:22:09 +0000 (16:22 +0200)]
ramips: ex2700: actually remove kmod-mt76*
When building using the multiple devices option with per-device root
filesystem, only the meta package mt76 is omitted but not the
dependencies selected by the package.
Explicitly exclude all 3 mt76 packages, plus the metapackage.
Otherwise, these modules will be included in the build, wasting
a few hundred kilobytes.
Signed-off-by: Joseph C. Lehner <joseph.c.lehner@gmail.com>
[mention the root cause of the issue in the commit message]
Signed-off-by: Mathias Kresin <dev@kresin.me>
Hauke Mehrtens [Sun, 23 Sep 2018 18:15:52 +0000 (20:15 +0200)]
ath10k-ct: update to version ath10k-4.16
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sun, 23 Sep 2018 17:28:48 +0000 (19:28 +0200)]
iw: update nl80211.h
Now this file matches the version in backports.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sun, 23 Sep 2018 17:10:22 +0000 (19:10 +0200)]
mac80211: fix compile warning in 986-rt2x00-add-TX-LOFT-calibration.patch
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sun, 23 Sep 2018 16:48:09 +0000 (18:48 +0200)]
mac80211: Add patches which were added later
These patches were added after the new matches structure for the
mac80211 package was created. All the deleted patches are already
integrated in kernel 4.19-rc4.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sun, 23 Sep 2018 16:02:35 +0000 (18:02 +0200)]
mac80211: update to version based on 4.19-rc4
This updates mac80211 to backports based on kernel 4.19-rc4.
I plan to integrate all the patches which are in this tar into upstream
backports soon.
I used the backports generated from this code:
https://github.com/hauke/backports/commits/wip2
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
John Crispin [Wed, 5 Sep 2018 12:51:44 +0000 (14:51 +0200)]
mac80211: make ath10k-ct the default ath10k
We select ath10k-ct by default, but it is still possible to build
the upstream version.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: John Crispin <john@phrozen.org>
Daniel Golle [Wed, 15 Aug 2018 14:02:18 +0000 (16:02 +0200)]
mac80211: rt2x00: add experimental patches from Stanislaw Gruszka
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Daniel Golle [Wed, 15 Aug 2018 13:22:43 +0000 (15:22 +0200)]
mac80211: rt2x00: remove obsolete patch
According to Stanislaw Gruszka the patch
600-23-rt2x00-rt2800mmio-add-a-workaround-for-spurious-TX_F.patch
should be dropped.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Tomislav Požega [Thu, 11 Jan 2018 18:53:49 +0000 (19:53 +0100)]
mac80211: rt2x00: add TX LOFT calibration
Add TX LOFT calibration from mtk driver.
Signed-off-by: Tomislav Požega <pozega.tomislav@gmail.com>
Tomislav Požega [Mon, 8 Jan 2018 12:43:56 +0000 (13:43 +0100)]
mac80211: rt2x00: add RXIQ calibration
Add RXIQ calibration found in mtk driver. With old openwrt builds this gets us ~8Mbps more of RX bandwidth (test with iPA/eLNA layout).
Please try if this makes any difference among various board/RF layouts.
Signed-off-by: Tomislav Požega <pozega.tomislav@gmail.com>
Tomislav Požega [Mon, 8 Jan 2018 12:43:37 +0000 (13:43 +0100)]
mac80211: rt2x00: add RXDCOC calibration
Add RXDCOC calibration code from mtk driver. Please try if this makes any difference among various board/RF layouts.
Signed-off-by: Tomislav Požega <pozega.tomislav@gmail.com>
Tomislav Požega [Mon, 8 Jan 2018 12:42:58 +0000 (13:42 +0100)]
mac80211: rt2x00: add r calibration
Add r calibration code as found in mtk driver.
Signed-off-by: Tomislav Požega <pozega.tomislav@gmail.com>
Tomislav Požega [Mon, 8 Jan 2018 12:42:27 +0000 (13:42 +0100)]
mac80211: rt2x00: add RF self TXDC calibration
Add TX self calibration based on mtk driver.
Signed-off-by: Tomislav Požega <pozega.tomislav@gmail.com>
Tomislav Požega [Wed, 23 Aug 2017 17:10:21 +0000 (19:10 +0200)]
mac80211: rt2x00: write registers required for reducing power consumption
Write registers required for reducing power consumption like the vendor
driver does when ADJUST_POWER_CONSUMPTION_SUPPORT is set.
This helps devices to sync at better TX/RX rates and improves overall
performance.
Signed-off-by: Tomislav Požega <pozega.tomislav@gmail.com>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
[daniel@makrotopia.org: edited commit message]
Daniel Golle [Thu, 16 Aug 2018 15:03:36 +0000 (17:03 +0200)]
linux-firmware: set PKG_MIRROR_HASH
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
John Crispin [Fri, 3 Aug 2018 12:16:47 +0000 (14:16 +0200)]
linux-firmware: add ath10k support
Signed-off-by: John Crispin <john@phrozen.org>
John Crispin [Fri, 3 Aug 2018 11:59:40 +0000 (13:59 +0200)]
ath10k-firmware: disable the package and use default linux-firmware package
Signed-off-by: John Crispin <john@phrozen.org>
John Crispin [Thu, 2 Aug 2018 06:44:29 +0000 (08:44 +0200)]
mac80211: rebase ontop of v4.18.5
Signed-off-by: John Crispin <john@phrozen.org>
Koen Vandeputte [Wed, 26 Sep 2018 10:53:35 +0000 (12:53 +0200)]
kernel: bump 4.14 to 4.14.72
Refreshed all patches.
Removed upstreamed:
- 203-MIPS-ath79-fix-restart.patch
- 0013-MIPS-ath79-fix-system-restart.patch
- 180-earlycon-initialize-port-uartclk-based-on-clock-frequency-property.patch
- 181-earlycon-remove-hardcoded-port-uartclk-initialization-in-of_setup_earlycon. patch
- 700-1-6-e1000e-Remove-Other-from-EIAC.patch
- 700-2-6-Partial-revert-e1000e-Avoid-receiver-overrun-interrupt-bursts.patch
- 700-3-6-e1000e-Fix-queue-interrupt-re-raising-in-Other-interrupt.patch
- 700-4-6-e1000e-Avoid-missed-interrupts-following-ICR-read.patch
Compile-tested on: cns3xxx, imx6
Runtime-tested on: cns3xxx, imx6
Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Koen Vandeputte [Wed, 26 Sep 2018 10:51:29 +0000 (12:51 +0200)]
kernel: bump 4.9 to 4.9.129
Refreshed all patches.
Removed upstreamed:
- 203-MIPS-ath79-fix-restart.patch
Compile-tested on: ar71xx
Runtime-tested on: ar71xx
Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Koen Vandeputte [Wed, 26 Sep 2018 10:49:56 +0000 (12:49 +0200)]
kernel: bump 3.18 to 3.18.123
Refreshed all patches.
Compile-tested on: adm5120
Runtime-tested on: none
Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Rosy Song [Sun, 23 Sep 2018 02:05:04 +0000 (10:05 +0800)]
netifd: do not validate relevant section when ipv6 is not supported
Signed-off-by: Rosy Song <rosysong@rosinson.com>
Florian Eckert [Mon, 24 Sep 2018 12:20:29 +0000 (14:20 +0200)]
base-files: add network_get_metric() to /lib/functions/network.sh
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> [PKG_RELEASE increase]
Mauro Mozzarelli [Mon, 2 Oct 2017 18:09:09 +0000 (19:09 +0100)]
kernel: netfilter: add IPVS kernel module support
IPVS (IP Virtual Server) implements transport-layer load balancing inside
the Linux kernel, so called Layer-4 switching. IPVS running on a host acts
as a load balancer at the front of a cluster of real servers, it can direct
requests for TCP/UDP based services to the real servers, and makes services
of the real servers to appear as a virtual service on a single IP address.
This change adds the following kmod packages
- kmod-nf-ipvs
- kmod-nf-ipvs-ftp
- kmod-nf-ipvs-sip
Signed-off-by: Mauro Mozzarelli <mauro@ezplanet.org>
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Andy Walsh [Wed, 1 Aug 2018 10:48:08 +0000 (12:48 +0200)]
ncurses: use default host install
* just use default host/install, so libs/headers get properly generated/installed
Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
Andy Walsh [Tue, 7 Aug 2018 15:46:42 +0000 (17:46 +0200)]
gettext-full: host compile with -fpic
Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
Samuel Casa [Tue, 7 Aug 2018 09:16:34 +0000 (11:16 +0200)]
zram-swap: Shell cosmetic
Signed-off-by: Samuel Casa <samuel.casa@neratec.com>
Samuel Casa [Tue, 7 Aug 2018 08:49:22 +0000 (10:49 +0200)]
zram-swap: remove trailing whitespaces in init script
Signed-off-by: Samuel Casa <samuel.casa@neratec.com>
[slightly reword subject]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
David Yang [Sat, 11 Aug 2018 07:51:02 +0000 (15:51 +0800)]
dante: disable sched_getscheduler() - not implemented in musl
musl doesn't come with an valid implementation of `sched_getscheduler()`;
it simply returns -ENOSYS for it. Without this option (and compile dante
with `sched_getscheduler()` enabled), you will get
error: serverinit(): sched_getscheduler(2): failed to retrieve current
cpuscheduling policy: Function not implemented
and dante won't start at all.
Ref: http://lists.alpinelinux.org/alpine-devel/3932.html
Ref: http://lists.alpinelinux.org/alpine-devel/3936.html
Signed-off-by: David Yang <mmyangfl@gmail.com>
[slightly reword commit message]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Tony Ambardar [Sat, 3 Mar 2018 03:32:24 +0000 (19:32 -0800)]
base-files: fix postinstall uci-defaults removal
Commit
7f694582 introduced a bug where default_postinst() often fails to
remove a uci-defaults script after application, leaving it to run again
after a reboot.
(Note: commit
7f694582 also introduced FS#1021, now fixed by
73c745f6)
The subtle problem arises from the shell logical chain:
[ -f "$i" ] && . "$i" && rm -f "$i"
Most uci-defaults scripts contain a terminal 'exit 0' statement which,
when sourced, results in the logic chain exiting before executing 'rm -f'.
This was observed while testing upgrades of 'luci-app-sqm'.
The solution is to wrap the shell sourcing in a subshell relative to the
command 'rm -f':
( [ -f "$i" ] && . "$i" ) && rm -f "$i"
Revert to using 'grep' to prefilter the list of entries from the control
file, which yields the full path of uci-defaults scripts. This allows
keeping the existence check, directory change and script sourcing inside
the subshell, with the script removal correctly outside.
This approach avoids adding a second subshell only around the "." (source)
command. The change also preserves the fix FS#1021, since the full path is
used to source the script, which is POSIX-portable irrespective of PATH
variable or reference to the CWD.
Run Tested on: LEDE 17.01.4 running ar71xx, while tracing installation of
package luci-app-sqm with its associated /etc/uci-defaults/luci-sqm file.
Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
Konstantin Demin [Mon, 5 Mar 2018 09:46:44 +0000 (12:46 +0300)]
rules.mk: add ESED command
ESED is SED with extended regular expressions turned on.
Command line and usage are the same as for SED.
Signed-off-by: Konstantin Demin <rockdrilla@gmail.com>
Rafał Miłecki [Mon, 24 Sep 2018 11:46:08 +0000 (13:46 +0200)]
kernel: pick earlycon regression fixes from the stable-queue.git
This fixes regression introduced in kernel 4.14 and makes bcm53xx revert
obsolete.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Felix Fietkau [Mon, 24 Sep 2018 09:02:30 +0000 (11:02 +0200)]
build: drop buildbot toolchain rebuild check when not using git
The check cleans and rebuilds the toolchain if it changed on update.
When building from a source tarball, it is reasonable to expect that
there will be no updates, so no rebuild check is necessary
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Jo-Philipp Wich [Mon, 24 Sep 2018 06:36:10 +0000 (08:36 +0200)]
lldpd: inhibit linking of libbsd on !GLIBC
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Rosy Song [Sat, 22 Sep 2018 13:15:40 +0000 (21:15 +0800)]
busybox: fix dependency for IPV6
Signed-off-by: Rosy Song <rosysong@rosinson.com>
Hauke Mehrtens [Sat, 22 Sep 2018 21:59:10 +0000 (23:59 +0200)]
kernel: fix build of nftables
Backport an additional patch from 4.16 for nftables.
This fixes a build problem recently introduced.
Fixes:
f57806b56e5 ("kernel: generic: Fix nftables inet table breakage")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Yangbo Lu [Thu, 6 Sep 2018 05:30:32 +0000 (13:30 +0800)]
layerscape: build ls-dpl package with linux dtc tool
Building ls-dpl package requires the dtc tool. This patch
is to support using linux dtc tool for ls-dpl package.
This avoids compile issue when host system doesn't have
the dtc tool.
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Yangbo Lu [Wed, 1 Aug 2018 02:41:11 +0000 (10:41 +0800)]
layerscape: fix get_device_file() function of restool
The restool failed to work with current gcc-7.3.0-musl.
This patch is to add a restool fix-up patch to fix
multiple problems encountered in the get_device_file()
function:
- The deprecated atoi() function is replaced by strtoul
- An invalid memory access was being performed by using
memory from dir->d_name even after closedir(). This is
fixed by a strdup() on the device filename.
- Also, error prints now print any relevant error code.
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Yangbo Lu [Mon, 23 Jul 2018 08:48:48 +0000 (16:48 +0800)]
layerscape: update README for SD card boot and new devices
This patch is to update the README since SD card boot support
and LS1012AFRWY/LS1021ATWR were introduced.
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Yangbo Lu [Wed, 18 Jul 2018 08:56:07 +0000 (16:56 +0800)]
layerscape: add ls1012afrwy support and drop ls1012afrdm
ls1012afrdm was no longer supported in NXP Layerscape SDK.
Instead a new board ls1012afrwy was introduced in LSDK.
This patch is to drop ls1012afrdm and add ls1012afrwy support.
Since only 2MB NOR flash could be used, we just put u-boot
and firmware on NOR flash, and put kernel/dtb/rootfs on SD
card.
The Layerscape FRWY-LS1012A board is an ultra-low-cost
development platform for LS1012A Series Communication
Processors built on Arm Cortex-A53. This tool refines the
FRDM-LS1012A with more features for a better hands-on experience
for IoT, edge computing, and various advanced embedded
applications. Features include easy access to processor I/O,
low-power operation, micro SD card storage, an M2 connector, a
small form factor, and expansion board options via mikroBUS Click
Module. The MicroBUS Module provides easy expansion via hundreds
of powerful modules supporting sensors, actuators, memories,
and displays.
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Yangbo Lu [Wed, 18 Jul 2018 06:14:40 +0000 (14:14 +0800)]
layerscape: add SD card boot support
NOR/QSPI Flash on Layerscape board only has limited 64MB memory size.
Since some boards (ls1043ardb/ls1046ardb/ls1088ardb/ls1021atwr)
could support SD card boot, we added SD boot support for them to put
all things on SD card to meet large memory requirement.
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Yangbo Lu [Tue, 10 Jul 2018 03:58:59 +0000 (11:58 +0800)]
layerscape: add armv7 subtarget and ls1021atwr board support
The NXP TWR-LS1021A module is a development system based
on the QorIQ LS1021A processor.
- This feature-rich, high-performance processor module can
be used standalone or as part of an assembled Tower System
development platform.
- Incorporating dual Arm Cortex-A7 cores running up to 1 GHz,
the TWR-LS1021A delivers an outstanding level of performance.
- The TWR-LS1021A offers HDMI, SATA3 and USB3 connectors as
well as a complete Linux software developer's package.
- The module provides a comprehensive level of security that
includes support for secure boot, Trust Architecture and
tamper detection in both standby and active power modes,
safeguarding the device from manufacture to deployment.
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Yangbo Lu [Wed, 15 Aug 2018 08:41:41 +0000 (16:41 +0800)]
layerscape: split image makefile per subtarget
This patch is to split image makefile per subtarget.
The ARMv7 subtarget will be added in the future.
It will be not convinient if only one makefile is used
for several subtargets management and future development.
This patch also dropped 32-bit Traverse LS1043-S since
Traverse only intended to support 64-bit and the 32-bit
compile now had an issue.
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Yangbo Lu [Mon, 9 Jul 2018 10:38:10 +0000 (18:38 +0800)]
layerscape: define ls-append function
This patch is to define a ls-append function for
each device to reuse it for image appending.
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Yangbo Lu [Wed, 15 Aug 2018 08:08:53 +0000 (16:08 +0800)]
layerscape: update linux 4.9 patches to LSDK-18.06
This patch is to update linux 4.9 patches to LSDK-18.06
release and to adjust config-4.9 accordingly.
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Yangbo Lu [Tue, 17 Jul 2018 09:42:47 +0000 (17:42 +0800)]
layerscape: add u-boot environment support for OpenWrt boot
This patch is to implement u-boot environment txt files
to support OpenWrt boot for all layerscape devices.
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Yangbo Lu [Wed, 4 Jul 2018 04:20:41 +0000 (12:20 +0800)]
layerscape: update u-boot to LSDK-18.06
The u-boot source code had been migrated to codeaurora
for LSDK-18.06 release and the future release. This
patch is to update u-boot to LSDK-18.06 for both
uboot-layerscape and uboot-layerscape-armv8_32b packages.
Besides, this patch also introduced some other changes.
- Reworked uboot-layerscape makefile to make it more
readable.
- Define package in uboot-layerscape-armv8_32b for each board.
- Fixed u-boot package selection in target image makefile.
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Yangbo Lu [Mon, 16 Jul 2018 08:59:48 +0000 (16:59 +0800)]
layerscape: drop uboot-layerscape patches
Dropped uboot-layerscape patches which were environemnt patches.
We will make u-boot environment binaries with a txt file for all
devices.
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Yangbo Lu [Tue, 3 Jul 2018 06:17:08 +0000 (14:17 +0800)]
layerscape: update restool to LSDK-18.06
The restool source code had been migrated to codeaurora
for LSDK-18.06 release and the future release. This patch
is to update restool to LSDK-18.06 release.
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Yangbo Lu [Tue, 3 Jul 2018 06:58:01 +0000 (14:58 +0800)]
layerscape: update ls-ppa to LSDK-18.06
This patch is to update ls-ppa to LSDK-18.06 release
and to rework ls-ppa makefile to make it more readable.
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Yangbo Lu [Tue, 3 Jul 2018 03:07:06 +0000 (11:07 +0800)]
layerscape: update ls-rcw to LSDK-18.06
The rcw source code had been migrated to codeaurora
for LSDK-18.06 release and the future release. The
source code had also involved ls1012ardb/ls1012afrdm/
ls1088ardb/ls2088ardb rcw, so we updated ls-rcw to
LSDK-18.06, reworked the makefile and dropped ls-rcw-bin
package in this patch. Also reworked ls-rcw patch to
adapt to the latest source code.
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Yangbo Lu [Mon, 2 Jul 2018 08:33:35 +0000 (16:33 +0800)]
layerscape: update ppfe-firmware to LSDK-18.06
This patch is to update ppfe-firmware to LSDK-18.06 release.
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Yangbo Lu [Mon, 2 Jul 2018 06:58:30 +0000 (14:58 +0800)]
layerscape: update ls-mc to LSDK-18.06
This patch is to update ls-mc to LSDK-18.06 release.
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Yangbo Lu [Mon, 2 Jul 2018 03:12:17 +0000 (11:12 +0800)]
layerscape: update ls-dpl to LSDK-18.06
The dpl-examples source code had been migrated to
codeaurora for LSDK-18.06 release and the future
release. This patch is to update this package to
LSDK-18.06.
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Yangbo Lu [Fri, 29 Jun 2018 08:20:32 +0000 (16:20 +0800)]
layerscape: update fman-ucode to LSDK-18.06
Actually there was no change for fman-ucode in LSDK-18.06
just tagged with LSDK-18.06. This patch is to rework the
fman-ucode makefile to make it more readable, and to use
lsdk-1806 as the PKG_VERSION.
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Luis Araneda [Wed, 12 Sep 2018 05:48:10 +0000 (02:48 -0300)]
zynq: kernel: select FPGA-related configs
These configs are necessary to program the FPGA fabric
Signed-off-by: Luis Araneda <luaraneda@gmail.com>
Jasper Scholte [Wed, 19 Sep 2018 20:31:26 +0000 (22:31 +0200)]
sunxi: build image/uboot for the NanoPi NEO2
The NanoPi NEO2 is a small Allwinner H5 based board available with
different DRAM configurations.
This board is very similar to the NanoPi NEO PLUS2
Signed-off-by: Jasper Scholte <NightNL@outlook.com>
Brett Mastbergen [Wed, 12 Sep 2018 19:04:55 +0000 (15:04 -0400)]
kernel: generic: Fix nftables inet table breakage
Commit
b7265c59ab7d ("kernel: backport a series of netfilter cleanup
patches to 4.14") added patch 302-netfilter-nf_tables_inet-don-t-use-
multihook-infrast.patch. That patch switches the netfilter core in the
kernel to use the new native NFPROTO_INET support. Unfortunately, the
new native NFPROTO_INET support does not exist in 4.14 and was not
backported along with this patchset. As such, nftables inet tables never
see any traffic.
As an example the following nft counter rule should increment for every
packet coming into the box, but never will:
nft add table inet foo
nft add chain inet foo bar { type filter hook input priority 0\; }
nft add rule inet foo bar counter
This commit pulls in the required backport patches to add the new
native NFPROTO_INET support, and thus restore nftables inet table
functionality.
Tested on Turris Omnia (mvebu)
Fixes:
b7265c59ab7d ("kernel: backport a series of netfilter cleanup ...")
Signed-off-by: Brett Mastbergen <bmastbergen@untangle.com>
Hartmut Knaack [Mon, 10 Sep 2018 23:33:37 +0000 (01:33 +0200)]
kernel: add Si7020 relative humidity/temperature sensor driver
Add support for the Silicon Labs Si7020 family of relative humidity and
temperature sensors using the I2C bus.
Signed-off-by: Hartmut Knaack <knaack.h@gmx.de>
Hartmut Knaack [Mon, 10 Sep 2018 23:33:36 +0000 (01:33 +0200)]
kernel: add TSL4531 ambient light sensor driver
Add support for the TAOS TSL4531x family of ambient light sensors using
the I2C bus.
Signed-off-by: Hartmut Knaack <knaack.h@gmx.de>
Robert Marko [Wed, 19 Sep 2018 09:18:00 +0000 (11:18 +0200)]
ath79: Fix GL-AR300M USB trigger
Correct a typo preventing USB trigger to work on AR300M.
Signed-off-by: Robert Marko <robimarko@gmail.com>
David Bauer [Tue, 11 Sep 2018 15:04:16 +0000 (17:04 +0200)]
ar71xx: flag FritzBox 4020 buttons as active low
Buttons of AVM FritzBox 4020 are incorrectly flagged as active high.
This was an oversight as RFKill button was working as expected even
with incorrectly flagged GPIO.
Signed-off-by: David Bauer <mail@david-bauer.net>
David Bauer [Tue, 11 Sep 2018 15:04:17 +0000 (17:04 +0200)]
ath79: flag FritzBox 4020 buttons as active low
Buttons of AVM FritzBox 4020 are incorrectly flagged as active high.
This was an oversight as RFKill button was working as expected even
with incorrectly flagged GPIO.
Signed-off-by: David Bauer <mail@david-bauer.net>
Magnus Kroken [Sat, 15 Sep 2018 22:44:43 +0000 (00:44 +0200)]
mbedtls: update to 2.13.0
* Fixed a security issue in the X.509 module which could lead to a buffer overread during certificate extensions parsing.
* Several bugfixes.
* Improvements for better support for DTLS on low-bandwidth, high latency networks with high packet loss.
Signed-off-by: Magnus Kroken <mkroken@gmail.com>
Felix Fietkau [Sat, 22 Sep 2018 13:34:40 +0000 (15:34 +0200)]
ath9k: add back support for using tx99 with active monitor interfaces
Fixes controlling bitrate
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Felix Fietkau [Sat, 22 Sep 2018 13:18:46 +0000 (15:18 +0200)]
mac80211: fix tx queue allocation for active monitor interfaces
Fixes a crash with drivers like ath9k
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Felix Fietkau [Sat, 22 Sep 2018 10:56:10 +0000 (12:56 +0200)]
mt76: fix tx power issue for mt76x2
6e1898d mt76x2: fix tx power configuration for VHT mcs 9
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Kevin Darbyshire-Bryant [Fri, 21 Sep 2018 18:41:27 +0000 (19:41 +0100)]
kernel: re-enable MIPS VDSO
kernel upstream commit
9efcaa7c4afba5628f2650a76f69c798f47eeb18 to 4.14
itself a backport of
0f02cfbc3d9e413d450d8d0fd660077c23f67eff has
resolved the cache line issues that led to us disabling VDSO by default
on MIPS.
Remove our force disable patch:
pending-4.14/206-mips-disable-vdso.patch
Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Acked-by: Hauke Mehrtens <hauke@hauke-m.de>
Luiz Angelo Daros de Luca [Tue, 18 Sep 2018 04:07:57 +0000 (01:07 -0300)]
elfutils: bump to 0.174
- Simplified musl patch with error.h concentrated into system.h
Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
Christian Lamparter [Tue, 4 Sep 2018 21:27:00 +0000 (23:27 +0200)]
toolchain/musl: update to version 1.1.20
This release introduces the ability to replace/interpose the allocator
(malloc) subject to certain restrictions, adds an experimental m68k
port, and makes notable improvements to stdio (application-provided
buffers), getaddrinfo (AI_ADDRCONFIG, support for IPv4-only kernel
configurations), the dynamic linker (safety against dlopen of
libraries using initial-exec TLS model, reclaiming unused memory on
FDPIC archs, better dladdr results), and handling of default thread
stack size (pthread_setattr_default_np now works more reliably).
Many bugs have been fixed, including potentially dangerous regressions
in iconv (only for new conversions to legacy encodings) and visibly
incorrect behavior in printf on non-x86 archs (%a format with
precision specifier), in getopt_long_only when short options are a
prefix for a long option, in complex arc-trig/hyperbolic functions, in
strftime and mktime (timezone-specific issues), and numerous
less-obvious places.
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
[altered commit msg a bit keeping it tight]
Tested-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Koen Vandeputte [Thu, 20 Sep 2018 12:37:43 +0000 (14:37 +0200)]
kernel: bump 4.14 to 4.14.71
Refreshed all patches.
Compile-tested on: cns3xxx, imx6
Runtime-tested on: cns3xxx, imx6
Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Koen Vandeputte [Thu, 20 Sep 2018 12:36:42 +0000 (14:36 +0200)]
kernel: bump 4.9 to 4.9.128
Refreshed all patches.
Compile-tested on: ar71xx
Runtime-tested on: ar71xx
Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Kevin Darbyshire-Bryant [Thu, 20 Sep 2018 17:26:33 +0000 (18:26 +0100)]
dnsmasq: Change behavior when RD bit unset in queries.
Backport upstream commit
Change anti cache-snooping behaviour with queries with the
recursion-desired bit unset. Instead to returning SERVFAIL, we
now always forward, and never answer from the cache. This
allows "dig +trace" command to work.
Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Jonathan Lancett [Thu, 20 Sep 2018 18:16:01 +0000 (19:16 +0100)]
mwlwifi: driver version to 10.3.8.0-
20180920
Signed-off-by: Jonathan Lancett <j.lancett@ntlworld.com>
[minor tweak to commit title]
Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>