John Crispin [Thu, 11 Oct 2018 06:37:59 +0000 (08:37 +0200)]
package/: fix $(PROJECT_GIT) usage
Signed-off-by: John Crispin <john@phrozen.org>
(backported from
3e8ef61c01799f477e2f6f6c227a0da79cf53f51)
Rosen Penev [Wed, 19 Sep 2018 19:03:32 +0000 (12:03 -0700)]
procd: Install hotplug files as 600
procd runs as root, so it only makes sense that its files are restricted.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(backported from
82d272efed4c9907e8577fa541a2f2c2db713cce)
Rosen Penev [Wed, 19 Sep 2018 19:03:31 +0000 (12:03 -0700)]
linux-atm: Install hotplug file as 600
The hotplug files is only used by procd, which runs as root.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(backported from
4572d996a42d86901783f9671026cee8aa4e15fc)
Rosen Penev [Wed, 19 Sep 2018 19:03:30 +0000 (12:03 -0700)]
comgt: Install hotplug and netifd files as 600
procd and netifd both run as root. These files are not used elsewhere.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(backported from
c7144ec688192c83ec91c4a4ff4f5db06c11e469)
Rosen Penev [Wed, 19 Sep 2018 19:03:29 +0000 (12:03 -0700)]
samba36: Install several config files as 600
Hotplug is managed by procd, which runs as root. The other files are used
by root as well.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(backported from
f5ddbd695bcfb8ae8f8c681767beb6ee9770695d)
Rosen Penev [Wed, 19 Sep 2018 19:03:28 +0000 (12:03 -0700)]
soloscli: Install hotplug file as 600
Hotplug is managed by procd, which runs as root.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(backported from
745c3acd6476a89995b812c319abea9f3af08eb0)
Rosen Penev [Wed, 19 Sep 2018 19:03:26 +0000 (12:03 -0700)]
firewall: Install config files as 600
None of the files in firewall are used by non-root.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(backported from
49065d227a8ff2b4ceb758b501c5dfeba4dc1e67)
Magnus Kroken [Fri, 5 Oct 2018 23:46:24 +0000 (01:46 +0200)]
mpc85xx: remove kernel 4.9 support
Signed-off-by: Magnus Kroken <mkroken@gmail.com>
(backported from
ba826ce4e7880d81f7c73821f2221e90493cb3f8)
Magnus Kroken [Fri, 5 Oct 2018 23:46:23 +0000 (01:46 +0200)]
mpc85xx: switch to kernel 4.14
Signed-off-by: Magnus Kroken <mkroken@gmail.com>
(backported from
650806d83ab9b59772a3506d6ef9811665552151)
Magnus Kroken [Fri, 5 Oct 2018 23:46:22 +0000 (01:46 +0200)]
mpc85xx: add kernel 4.14 support
Based on patches previously submitted by Achim Gottinger:
http://lists.infradead.org/pipermail/openwrt-devel/2018-June/012719.html
Tested on TP-Link TL-WDR4900 v1.
Signed-off-by: Magnus Kroken <mkroken@gmail.com>
(backported from
c83c1804891ac706f2e82f9d6c0aaf6ba290348a)
(rebased patches)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Koen Vandeputte [Wed, 10 Oct 2018 09:42:42 +0000 (11:42 +0200)]
ar71xx: remove linux 4.9 support
Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
(backported from
13f283198ef49dedd49c106176f80dfffa16c3a8)
Koen Vandeputte [Thu, 30 Aug 2018 17:10:05 +0000 (19:10 +0200)]
ar71xx: switch to kernel 4.14
Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
(backported from
77d004de6d09edc6d8a5cf77471d52d4865ae577)
Hans Dedecker [Mon, 8 Oct 2018 14:57:01 +0000 (16:57 +0200)]
e2fsprogs: fix glibc compile issue (FS#1749,FS#1796)
Fixes the following build error:
.../toolchain-i386_pentium4_gcc-7.3.0_glibc/lib/gcc/i486-openwrt-linux-gnu/7.3.0/../../../../i486-openwrt-linux-gnu/bin/ld: ../lib/libcom_err.so: undefined reference to `sem_post’
.../toolchain-i386_pentium4_gcc-7.3.0_glibc/lib/gcc/i486-openwrt-linux-gnu/7.3.0/../../../../i486-openwrt-linux-gnu/bin/ld: ../lib/libcom_err.so: undefined reference to `sem_wait'
.../toolchain-i386_pentium4_gcc-7.3.0_glibc/lib/gcc/i486-openwrt-linux-gnu/7.3.0/../../../../i486-openwrt-linux-gnu/bin/ld: ../lib/libcom_err.so: undefined reference to `sem_init’
.../toolchain-i386_pentium4_gcc-7.3.0_glibc/lib/gcc/i486-openwrt-linux-gnu/7.3.0/../../../../i486-openwrt-linux-gnu/bin/ld: ../lib/libcom_err.so: undefined reference to `sem_destroy’
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
(backported from
16c712501cdcb10f333f4abc027a0dcdb8f8101b)
Stijn Tintel [Sun, 7 Oct 2018 10:25:09 +0000 (13:25 +0300)]
Revert "kernel: add a RPS balancer"
This reverts commit
7af1fb9faafbc842fc727c49108f5fc4edc08601.
With the RPS balancer patch, both my APU2s are crashing, sometimes just
after a few minutes of uptime.
[ 6241.170132] BUG: unable to handle kernel paging request at
ffffffffa20a75a8
[ 6241.177248] IP: get_rps_cpu+0x41c/0x440
[ 6241.181140] PGD
2012067 P4D
2012067 PUD
2013063 PMD 0
[ 6241.186370] Oops: 0000 [#1] SMP NOPTI
[ 6241.190080] Modules linked in: pppoe ppp_async pptp pppox ppp_mppe ppp_generic nf_nat_pptp nf_flow_table_ipv6 nf_flow_table_ipv4 nf_flow_table_inet nf_conntrack_pptp lzo iptable_nat ipt_REJECT ipt_MASQUERADE ftdi_sio xt_time xt_tcpudp xt_tcpmss xt_string xt_statistic xt_state xt_recent xt_quota xt_policy xt_pkttype xt_owner xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_esp xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_bpf xt_addrtype xt_TCPMSS xt_REDIRECT xt_NFQUEUE xt_LOG xt_HL xt_FLOWOFFLOAD xt_DSCP xt_CT xt_CLASSIFY wireguard usbserial ts_fsm ts_bm spidev slhc rfcomm nft_set_rbtree nft_set_hash nft_reject_ipv6 nft_reject_ipv4 nft_reject_inet nft_reject nft_redir_ipv4 nft_redir nft_quota nft_numgen nft_nat nft_meta nft_masq_ipv4 nft_masq
[ 6241.261735] nft_log nft_limit nft_flow_offload nft_exthdr nft_ct nft_counter nft_chain_route_ipv6 nft_chain_route_ipv4 nft_chain_nat_ipv4 nfnetlink_queue nf_tables_ipv6 nf_tables_ipv4 nf_tables_inet nf_tables nf_reject_ipv4 nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_redirect nf_nat_proto_gre nf_nat_masquerade_ipv6 nf_nat_masquerade_ipv4 nf_nat_irc nf_conntrack_ipv6 nf_nat_ipv6 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat_h323 nf_nat_ftp nf_nat_amanda nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_tftp nf_conntrack_snmp nf_conntrack_sip nf_conntrack_rtcache nf_conntrack_proto_gre nf_conntrack_netlink nf_conntrack_irc nf_conntrack_h323 nf_conntrack_ftp nf_conntrack_broadcast ts_kmp nf_conntrack_amanda macvlan lzo_decompress lzo_compress libcrc32c kvm irqbypass
[ 6241.333427] iptable_raw iptable_mangle iptable_filter ipt_ah ipt_ECN ip_tables hidp hci_uart crc_ccitt cdc_acm btusb btintel br_netfilter bnep bluetooth sch_cake tcp_bbr sch_teql em_nbyte sch_codel sch_prio sch_pie act_ipt em_meta sch_gred sch_dsmark cls_basic em_cmp em_text act_police sch_sfq sch_fq sch_multiq sch_red act_connmark nf_conntrack act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress configs evdev i2c_piix4 kfifo_buf industrialio i2c_dev xt_set ip_set_list_set ip_set_hash_netiface ip_set_hash_netport ip_set_hash_netnet ip_set_hash_net ip_set_hash_netportnet ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set
[ 6241.405252] nfnetlink ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables ip_gre gre igb i2c_algo_bit ifb ip6_vti ip_vti sit l2tp_netlink l2tp_core ipcomp6 xfrm6_tunnel xfrm6_mode_tunnel xfrm6_mode_transport xfrm6_mode_beet esp6 ah6 ipcomp xfrm4_tunnel xfrm4_mode_tunnel xfrm4_mode_transport xfrm4_mode_beet esp4 ah4 ip6_tunnel tunnel6 tunnel4 ip_tunnel veth snd_compress snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd_rawmidi snd_seq_device snd_hwdep snd soundcore mpls_gso mpls_iptunnel mpls_router af_key xfrm_user xfrm_ipcomp xfrm_algo br2684 atm regmap_mmio vxlan udp_tunnel ip6_udp_tunnel ecdh_generic sha512_ssse3 sha512_generic sha256_ssse3 sha1_ssse3 seqiv jitterentropy_rng drbg md5 kpp ccp_crypto rsa_generic mpi asn1_decoder akcipher ccp sha256_generic
[ 6241.477726] sha1_generic hmac ghash_generic gcm echainiv des_generic deflate zlib_deflate ctr cmac ccm cbc authenc crypto_acompress sdhci_pltfm pf_ring sp5100_tco leds_apu2 gpio_nct5104d button_hotplug ptp pps_core
[ 6241.497122] CPU: 3 PID: 0 Comm: swapper/3 Not tainted 4.14.73 #0
[ 6241.503198] Hardware name: PC Engines apu2/apu2, BIOS v4.8.0.2
20180705
[ 6241.509858] task:
ffff88012a0d8000 task.stack:
ffffc90000070000
[ 6241.515841] RIP: 0010:get_rps_cpu+0x41c/0x440
[ 6241.520246] RSP: 0018:
ffff88012ed83db0 EFLAGS:
00010286
[ 6241.525511] RAX:
00000000ffffffff RBX:
0000000000011ae8 RCX:
0000000000000001
[ 6241.532737] RDX:
00000000ffffffff RSI:
ffff88012a0d8788 RDI:
0000000000000282
[ 6241.539956] RBP:
ffff88012ed83e00 R08:
0000000000000001 R09:
0000000000000000
[ 6241.547183] R10:
0000000000000000 R11:
0000000000000000 R12:
ffffffff82dae2e0
[ 6241.554403] R13:
ffff880124de4480 R14:
0000000000000000 R15:
ffff880128120000
[ 6241.561625] FS:
0000000000000000(0000) GS:
ffff88012ed80000(0000) knlGS:
0000000000000000
[ 6241.569820] CS: 0010 DS: 0000 ES: 0000 CR0:
0000000080050033
[ 6241.575651] CR2:
ffffffffa20a75a8 CR3:
00000001251da000 CR4:
00000000000406e0
[ 6241.582830] Call Trace:
[ 6241.585322] <IRQ>
[ 6241.587372] ? lock_acquire+0x59/0x80
[ 6241.591102] netif_receive_skb_internal+0x1e4/0x2d0
[ 6241.596037] napi_gro_receive+0x48/0x90
[ 6241.599948] igb_alloc_rx_buffers+0xc97/0x1b60 [igb]
[ 6241.604981] ? note_gp_changes+0x76/0xc0
[ 6241.608963] net_rx_action+0x10c/0x280
[ 6241.612752] __do_softirq+0xf0/0x22d
[ 6241.616375] irq_exit+0x5e/0xa0
[ 6241.619573] do_IRQ+0xee/0x110
[ 6241.622682] common_interrupt+0x8b/0x8b
[ 6241.626556] </IRQ>
[ 6241.628699] RIP: 0010:native_safe_halt+0x6/0x10
[ 6241.633260] RSP: 0018:
ffffc90000073e10 EFLAGS:
00000202 ORIG_RAX:
ffffffffffffff3d
[ 6241.640910] RAX:
ffff88012a0d8000 RBX:
ffff88012a190c00 RCX:
0000000000000000
[ 6241.648110] RDX:
ffff88012a0d8000 RSI:
0000000000000001 RDI:
ffff88012a0d8000
[ 6241.655354] RBP:
ffffc90000073e10 R08:
0000000000000006 R09:
0000000000000000
[ 6241.662554] R10:
0000000000000000 R11:
0000000000000000 R12:
ffff88012a190c64
[ 6241.669791] R13:
0000000000000001 R14:
0000000000000001 R15:
0000000000000001
[ 6241.676986] acpi_safe_halt.part.9+0xe/0x20
[ 6241.681226] acpi_idle_do_entry+0x2c/0x40
[ 6241.685325] acpi_idle_enter+0x1ee/0x2b0
[ 6241.689298] ? sched_clock+0x9/0x10
[ 6241.692839] cpuidle_enter_state+0x1f2/0x230
[ 6241.697162] cpuidle_enter+0x12/0x20
[ 6241.700803] call_cpuidle+0x38/0x40
[ 6241.704335] do_idle+0xed/0x160
[ 6241.707557] cpu_startup_entry+0x6e/0x70
[ 6241.711557] start_secondary+0x1b4/0x1d0
[ 6241.715536] secondary_startup_64+0xa5/0xb0
[ 6241.719777] Code: d4 48 8d 04 9b 48 8b 35 53 a7 ac 00 48 8d 1c 43 48 83 c6 64 48 c1 e3 03 48 8d bb e8 e2 da 82 e8 cb a9 ba ff 41 8b 14 1c 48 89 d0 <48> 0f a3 15 dc dc b6 00 0f 83 46 fc ff ff 48 83 c4 28 5b 41 5c
[ 6241.739100] RIP: get_rps_cpu+0x41c/0x440 RSP:
ffff88012ed83db0
[ 6241.744993] CR2:
ffffffffa20a75a8
[ 6241.748373] ---[ end trace
77367d9f9830d5bc ]---
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
(backported from
b134b3299c99f468a1c0055580dad1aa71b6b63c)
Julian Haupt [Sun, 30 Sep 2018 14:42:03 +0000 (14:42 +0000)]
sunxi: add support for Orange Pi Zero
Signed-off-by: Julian Haupt <julian.haupt@hauptmedia.de>
(backported from
0308385d1d78b81ae8fb05cb588fb91f646e3c37)
Hauke Mehrtens [Tue, 2 Oct 2018 20:43:58 +0000 (22:43 +0200)]
image: ignore usign build errors
The tl-wa850re-v2 images from the ar71xx/tiny target are getting too big
with the default packages. The size check is done before the meta data
is added so there is no file to add meta data to or to sign. Originally
errors in Build/append-metadata were getting ignored, but if the signing
fails the error is not ignored.
This adds a check if the file to be signed is there and only does the
signing if it is there. This way it does not fail if the package
creation was already aborted earlier.
Fixes: 848b455d2e94 ("image: use ucert to append signature")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(backported from
5933958168c84d7ade94ce8bec451da2df064ead)
Rosy Song [Sun, 23 Sep 2018 01:57:29 +0000 (09:57 +0800)]
fstools: filter unknown action in mount.hotplug script
Signed-off-by: Rosy Song <rosysong@rosinson.com>
(backported from
0fa1dd71ccf5456e1a55dd492e9a42d9b71185ba)
Hans Dedecker [Sun, 7 Oct 2018 18:37:47 +0000 (20:37 +0200)]
busybox: fix IPv6 dependency
Commit
9f0cb135dd made BUSYBOX_CONFIG_FEATURE_IPV6 dependant on IPV6 but
did not make its default value BUSYBOX_DEFAULT_FEATURE_IPV6 dependant
on IPV6. BUSYBOX_DEFAULT_FEATURE_IPV6 will have as default value y if
IPV6 is enabled otherwise n.
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
(backported from
ec9576607d19ddda04334142bdd7feef8cb5c5ca)
Hans Dedecker [Sun, 7 Oct 2018 15:35:06 +0000 (17:35 +0200)]
nghttp2: bump to 1.34.0
2b085815 (tag: v1.34.0) Update manual pages
986fa302 Bump up version number to 1.34.0, LT revision to 31:1:17
7c8cb3a0 nghttpx: Improve CONNECT response status handling
334c439c Fix bug that regular CONNECT does not work
6700626c Rule out content-length in the successful response to CONNECT
15162add Update manual pages
93270777 Merge pull request #1235 from nghttp2/backend-conn-timeout
aeb92bbb nghttpx: Add read/write-timeout parameters to backend option
fc7489e0 nghttpx: Fix mruby parameter validation
87ac872f nghttpx: Update doc
c278adde nghttpx: Log error when mruby file cannot be opened
f94d7209 Merge pull request #1234 from nghttp2/nghttpx-rfc8441
9b9baa6b Update doc
02566ee3 nghttpx: Update doc
3002f31b src: Add debug output for SETTINGS_ENABLE_CONNECT_PROTOCOL
d2a594a7 nghttpx: Implement RFC 8441 Bootstrapping WebSocket with HTTP/2
651e1477 Allow client sending :protocol optimistically
a42faf1c nghttpx: Write TLS alert during handshake
4aac05e1 Merge pull request #1231 from nghttp2/ws-lib-only
b80dfaa8 Adjustment for RFC 8441
a19d8f5d Deal with :protocol pseudo header
33f6e90a Add NGHTTP2_TOKEN__PROTOCOL
ed7fabcb Add SETTINGS_ENABLE_CONNECT_PROTOCOL
8753b6da Update doc
f2de733b Update neverbleed to fix OpenSSL 1.1.1 issues
88ff8c69 Update mruby 1.4.1
a63558a1 nghttpx: Call OCSP_response_get1_basic only when OCSP status is successful
3575a132 nghttpx: Fix crash with plain text HTTP
e2de2fee Update bash_completion
9f415979 Update manual pages
4bfc0cd1 Merge pull request #1230 from nghttp2/nghttpx-faster-logging
9c824b87 nghttpx: Get rid of std::stringstream from Log
a1ea1696 Make VALID_HD_NAME_CHARS and VALID_HD_VALUE_CHARS const qualified
dfc0f248 Make static_table const qualified
ed7c9db2 nghttpx: Add mruby env.tls_handshake_finished
5b42815a nghttpx: Strip incoming Early-Data header field by default
cfe7fa9a nghttpx: Add --tls13-ciphers and --tls-client-ciphers options
cb8a9d58 src: Remove TLSv1.3 ciphers from DEFAULT_CIPHER_LIST
023b9448 Merge branch 'tls13-early-data'
9b03c64f nghttpx: Should postpone early data by default
b8eccec6 nghttpx: Disable OpenSSL anti-replay
9f212587 Specify SSL_CTX_set_max_early_data and add an option to change max value
47f60124 nghttpx: Add an option to postpone early data processing
770e44de Implement draft-ietf-httpbis-replay-02
2ab319c1 Don't hide error code from openssl
39923024 Remove SSL_ERROR_WANT_WRITE handling
b30f312a Honor SSL_read semantics
c5cdb78a nghttpx: Add TLSv1.3 0-RTT early data support
f79a5812 Bump up version number to 1.34.0
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
(backported from
329f2d5457444e940dbb3bca4490abd8bccce24d)
Sven Eckelmann [Mon, 1 Oct 2018 09:48:04 +0000 (11:48 +0200)]
ipq40xx: Create /var/lock directory in platform_do_upgrade_*
The sysupgrade_pre_upgrade hook was removed with
5e1b4c57ded7 ("base-files:
drop fwtool_pre_upgrade") while there were still scripts using it:
* target/linux/ar71xx/base-files/lib/upgrade/allnet.sh
* target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh
* target/linux/ipq40xx/base-files/lib/upgrade/openmesh.sh
Not running the hooks can either prevent a successful upgrade or brick the
device because the fw_setenv program cannot be started correctly.
Instead of adding this hook again, the directory /var/lock for fw_setenv
can also just be created directly before fw_setenv is called.
Fixes: 5e1b4c57ded7 ("base-files: drop fwtool_pre_upgrade")
Signed-off-by: Sven Eckelmann <sven.eckelmann@openmesh.com>
(backported from
ebd57de1f9894a91991fe19f200dba7b1104390c)
Sven Eckelmann [Mon, 1 Oct 2018 09:48:04 +0000 (11:48 +0200)]
ar71xx: Create /var/lock directory in platform_do_upgrade_*
The sysupgrade_pre_upgrade hook was removed with
5e1b4c57ded7 ("base-files:
drop fwtool_pre_upgrade") while there were still scripts using it:
* target/linux/ar71xx/base-files/lib/upgrade/allnet.sh
* target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh
* target/linux/ipq40xx/base-files/lib/upgrade/openmesh.sh
Not running the hooks can either prevent a successful upgrade or brick the
device because the fw_setenv program cannot be started correctly.
Instead of adding this hook again, the directory /var/lock for fw_setenv
can also just be created directly before fw_setenv is called.
Fixes: 5e1b4c57ded7 ("base-files: drop fwtool_pre_upgrade")
Signed-off-by: Sven Eckelmann <sven.eckelmann@openmesh.com>
(backported from
c383e0c979fb95ef6de6782112aa86045fe4a6a5)
Sven Eckelmann [Mon, 1 Oct 2018 10:27:25 +0000 (12:27 +0200)]
ar71xx: Use sysupgrade's RAMFS_COPY_* for fw_(set|print)env
The install_bin from /lib/upgrade/common.sh is no longer creating the
symlinks when a secondary parameter is added. But the fw_setenv program was
always copied this way to the ramdisk for the upgrade.
Instead, this should be done using RAMFS_COPY_* like on all other
platforms.
Fixes: 438dcbfe74a6 ("base-files: automatically handle paths and symlinks for RAMFS_COPY_BIN")
Signed-off-by: Sven Eckelmann <sven.eckelmann@openmesh.com>
(backported from
11d51276b1b0ac6a556a776374ca3de07b062e29)
Mathias Kresin [Wed, 29 Aug 2018 06:58:33 +0000 (08:58 +0200)]
ramips: don't hijack the status led
Don't hijack the status led to indicate the wireless state. If we don't
have a dedicated wireless led, it's as simply as the wireless status
can't be indicated.
Such a led misuse should be set by the user and not shipped by default.
Signed-off-by: Mathias Kresin <dev@kresin.me>
(backported from
b07b3ddaad233291e47da1f61b018e0d7314952f)
Mathias Kresin [Tue, 28 Aug 2018 05:04:40 +0000 (07:04 +0200)]
ramips: move status led unset to devicetree
Release the led used for boot status indication via devicetree instead
of setting a default off trigger in userspace.
Signed-off-by: Mathias Kresin <dev@kresin.me>
(backported from
c074239c79ae8704c96e4e1ba94dde3015a882c9)
Mathias Kresin [Tue, 28 Aug 2018 04:54:27 +0000 (06:54 +0200)]
ramips: add support for indicating the boot state using multiple leds
Use diag.sh version used for other targets supporting different leds
for the different boot states.
The existing led sequences should be the same as before.
Signed-off-by: Mathias Kresin <dev@kresin.me>
(backported from
8f4dfadd5a4370e455f08967bfe9b7c9125576e8)
Mathias Kresin [Fri, 17 Aug 2018 14:41:17 +0000 (16:41 +0200)]
ramips: set
F5D8235 v1 usb led trigger via devicetree
Assign the usbdev trigger via devicetree and drop the userspace
handling of the usb leds.
Signed-off-by: Mathias Kresin <dev@kresin.me>
(backported from
772b27c207364f31f8b34b80a94647810fdb581c)
Mathias Kresin [Tue, 28 Aug 2018 21:35:33 +0000 (23:35 +0200)]
ramips: set rt2880 pci controller of_node
Set the PCI controller of_node such that PCI devices can be
instantiated via device tree.
Signed-off-by: Mathias Kresin <dev@kresin.me>
(backported from
04eab0a1c9fb68bd8678c57ca3c6dcc8347b611a)
Mathias Kresin [Mon, 13 Aug 2018 15:14:08 +0000 (17:14 +0200)]
ramips: set usb led trigger via devicetree
Assign the usbdev trigger via devicetree for all subtargets and drop
the userspace handling of the usb leds.
With the change all usb ports are triggering the usb led instead of
only usb 1.1 XOR usb 2.0 XOR usb 3.0 as it was before.
Signed-off-by: Mathias Kresin <dev@kresin.me>
(backported from
a58535771f115c1c95c91ce6af769852d64a8f27)
Tobias Schramm [Tue, 4 Sep 2018 13:05:47 +0000 (15:05 +0200)]
ath79: Add generic device tree for Ubiquiti WA boards
Signed-off-by: Tobias Schramm <tobleminer@gmail.com>
(backported from
bc5761f90b4937ba56400eccee781d9a01141b49)
Tobias Schramm [Wed, 24 Jan 2018 00:38:14 +0000 (01:38 +0100)]
mkfwimage: Add image type definition for WA images
This patch adds a new type of ubiquiti image, the WA image. First seen
on the NanoStation AC loco the generic name implies that we will see
this type of image on more ubiquiti devices thus it makes sense to
implement it in mkfwimage.
The main difference is that WA images are signed. The "END" header has
been replaced by a "ENDS" header followed by a 2048 bit RSA signature.
This signature is not being generated by mkfwimage and filled with 0x00.
Signed-off-by: Tobias Schramm <tobleminer@gmail.com>
(backported from
8f697e406a99ad28872cad866816d8c062582bf1)
Hauke Mehrtens [Sat, 6 Oct 2018 13:49:20 +0000 (15:49 +0200)]
intel-microcode: update to version
20180807a
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(backported from
90bb790fbf249b71d518c6b68b97634c1ea8b2d8)
Thomas Nixon [Tue, 4 Sep 2018 20:54:58 +0000 (21:54 +0100)]
uboot-lantiq: fix compile with modern host dtc
In dtc version 1.4.6 the macro names in header include guards changed,
but the build relies on them matching in order to replace selected
headers. This is a horrible hack to work around this.
Signed-off-by: Thomas Nixon <tom@tomn.co.uk>
(backported from
6b729e15637ab2ab34815e73c1e774c3469d7522)
(rebased patches)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Ansuel Smith [Sun, 30 Sep 2018 17:21:39 +0000 (19:21 +0200)]
uboot-envtools: adds r7800 uboot env support
This fix and adds support for r7800 uboot env
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
(backported from
43e71e04167db90c5ff7cf0b5ffdb2388217cbf3)
Rene Kjellerup [Sun, 22 Oct 2017 00:19:03 +0000 (17:19 -0700)]
bcm53xx: added basic dts for linksys ea6500v2
only thing not working is the b43 5GHz wifi band as upstream
kernel
doesn't supporthe 0x4360 chip so far
Signed-off-by: Rene Kjellerup <rk.katana.steel@gmail.com>
(backported from
53be2d2a4eaba78c1f2053589f16cf95ae9c5dd1)
(rebased patches)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Daniel Engberg [Fri, 5 Oct 2018 06:31:56 +0000 (08:31 +0200)]
mac80211: Use @KERNEL alias instead of hardlink
Use @KERNEL alias provided by toolchain instead of relying on a specific site.
Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
(backported from
6e6e7adc8cf70aa8d4f4efb13728960e992d016c)
Daniel Engberg [Fri, 17 Aug 2018 21:40:29 +0000 (23:40 +0200)]
binutils: Use 2.31.1 by default
Set binutils 2.31.1 as default
Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
(backported from
fface27db82e7926c86a6b15746446f633d533f3)
Daniel Engberg [Sat, 6 Oct 2018 10:55:02 +0000 (12:55 +0200)]
toolchain/binutils: Fix u-boot on some armhf platforms
Backport commit
3d9c8f6b3f033a6092425b7344647fb51dbed5c6
Without this binutils doesn't properly link u-boot
Source:
https://sourceware.org/bugzilla/show_bug.cgi?id=23571
Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
(backported from
754a08e8d918da17d429d40b54035cc600afb45a)
Daniel Engberg [Sat, 6 Oct 2018 10:37:22 +0000 (12:37 +0200)]
tools/cmake: Update to 3.12.3
Update CMake to 3.12.3
Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
(backported from
f6159c1e37429b6505094cfd4b6c09f4634fea38)
Daniel Engberg [Sat, 6 Oct 2018 10:41:52 +0000 (12:41 +0200)]
tools/bison: Update to 3.1
Update bison to 3.1
Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
(backported from
9efd0cb403f68bd728a40e069a7d04b623f469e6)
Daniel Engberg [Sat, 6 Oct 2018 10:39:51 +0000 (12:39 +0200)]
toolchain/fortify-headers: Update to 1.0
Update fortify-headers to 1.0
Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
(backported from
969d052e960c8d52425442c583003eac3f9f26f6)
Daniel Engberg [Sat, 6 Oct 2018 10:44:04 +0000 (12:44 +0200)]
tools/libressl: Update to 2.8.1
Update libressl to 2.8.1
Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
(backported from
6bdc6cdd044eea221efbdf0250313415526b3593)
Daniel Engberg [Sat, 6 Oct 2018 10:47:46 +0000 (12:47 +0200)]
tools/mtools: Update to 4.0.19
Update mtools to 4.0.19
Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
(backported from
7808ba86eafdae923464f6080f9a2076e8fbf87a)
Felix Fietkau [Sat, 29 Sep 2018 18:13:55 +0000 (20:13 +0200)]
mac80211: move marvell packaging code to marvell.mk
Signed-off-by: Felix Fietkau <nbd@nbd.name>
(backported from
502bcd93fe3308e9dff39c5941606fc64807d46d)
Felix Fietkau [Sat, 29 Sep 2018 18:10:23 +0000 (20:10 +0200)]
mac80211: move intel packaging code to intel.mk
Signed-off-by: Felix Fietkau <nbd@nbd.name>
(backported from
2804a7f13e119d337d84047ca2ac6577ab814406)
Felix Fietkau [Sat, 29 Sep 2018 18:07:06 +0000 (20:07 +0200)]
mac80211: move realtek packaging code to realtek.mk
Signed-off-by: Felix Fietkau <nbd@nbd.name>
(backported from
1f14ac9a0c93353c14b4d48e0bda498728c53117)
Felix Fietkau [Sat, 29 Sep 2018 18:02:28 +0000 (20:02 +0200)]
mac80211: move broadcom packaging code to broadcom.mk
Signed-off-by: Felix Fietkau <nbd@nbd.name>
(backported from
7f984dab1c5238f54751c6d42599606464c92cdc)
Felix Fietkau [Sat, 29 Sep 2018 17:56:26 +0000 (19:56 +0200)]
mac80211: move atheros/qca packaging code to ath.mk
Signed-off-by: Felix Fietkau <nbd@nbd.name>
(backported from
bde8ddf1ade3231d59b156fbabb19a0e63ebf008)
Felix Fietkau [Sat, 29 Sep 2018 17:47:41 +0000 (19:47 +0200)]
mac80211: move rt2x00 packaging code to ralink.mk
Signed-off-by: Felix Fietkau <nbd@nbd.name>
(backported from
ece90fc9df74ab4ef2a3fbc10bcd955f0212619a)
Felix Fietkau [Sat, 29 Sep 2018 17:44:16 +0000 (19:44 +0200)]
mac80211: remove duplicated lines for building packages, use PKG_DRIVERS instead
Signed-off-by: Felix Fietkau <nbd@nbd.name>
(backported from
fe6606c7ba82901fe081ca46d022efa3b9835ddc)
Alexander Couzens [Tue, 4 Sep 2018 01:10:24 +0000 (03:10 +0200)]
package/lldp: don't link against libbsd on !USE_GLIBC builds
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
(backported from
6ef1c978ba7676516c49439a248564e9a1d8dfc2)
Koen Vandeputte [Thu, 4 Oct 2018 13:12:27 +0000 (15:12 +0200)]
ar71xx: fix pci irq init on kernel 4.14
The IRQ init structs are marked as __initconst which
means this memory can be free after init.
On this platform, the PCI IRQ init happens very late _after_ the
kernel already freed the memory allocated for these structs.
During IRQ allocation, the allocation function is passed
with invalid data at this point leading to following error:
[ 0.000000] SoC: Qualcomm Atheros QCA9533 ver 2 rev 0
[ 2.382828] Freeing unused kernel memory: 264K
[ 34.414816] pci 0000:00:00.0: no irq found for pin 1
and
[ 0.000000] SoC: Qualcomm Atheros QCA956X ver 1 rev 0
[ 2.125401] Freeing unused kernel memory: 284K
[ 9.526479] pci 0000:00:00.0: no irq found for pin 1
After this patch:
[ 14.960814] pci 0000:00:00.0: using irq 40 for pin 1
Commit
318e19ba6755 ("ar71xx: add v4.14 support") fixed this for the
default targets already present in the source by default but forgot
to remove the __initconst attribute for targets QCA953x and QCA956x
which are only added later through platform patches.
Fixes: 318e19ba6755 ("ar71xx: add v4.14 support")
Reported-by: Sven Schönhoff <sven.schoenhoff@gmail.com>
Reported-by: Dirk Brenken <dev@brenken.org>
Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Tested-by: Dirk Brenken <dev@brenken.org>
(backported from
3b53d6fdbc241173b4264aa49142ba94d406a806)
Florian Fainelli [Wed, 3 Oct 2018 03:40:26 +0000 (20:40 -0700)]
sunxi: Turn on CONFIG_SUN4I_A10_CCU for A20
CONFIG_SUN4I_A10_CCU controls both the A10 and the A20 enabling of the
CCU (LCCF) driver, this will be necessary once we move beyond kernel
4.14 because 4.15 has commit
f18698e1c66338b902de386e4ad97b8b1b9d999d
("ARM: dts: sun7i: Convert to CCU") which requires this driver.
Fixes: ad2b3bf310f7 ("sunxi: Add support for kernel 4.14")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
(backported from
2cc821e7edeafecc57ed9f3be46af4c322d58560)
Stijn Tintel [Tue, 2 Oct 2018 16:55:11 +0000 (19:55 +0300)]
strace: add option to enable libdw stack tracing
Fixes build with CONFIG_libdw=y.
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
(backported from
7378ca79b9ecc30ddfbe6d965707f1e4f5ebf792)
Felix Fietkau [Sat, 29 Sep 2018 16:04:39 +0000 (18:04 +0200)]
uml: update to linux 4.14
Signed-off-by: Felix Fietkau <nbd@nbd.name>
(backported from
6bf3a86ed632274b9f4078e7ef1aa14667405004)
Felix Fietkau [Sat, 29 Sep 2018 16:08:15 +0000 (18:08 +0200)]
x86: remove linux 4.9 support
Signed-off-by: Felix Fietkau <nbd@nbd.name>
(backported from
911cacfc35e0861f2ad3f9e9420fbf5ca7d3160e)
Felix Fietkau [Sat, 29 Sep 2018 16:07:56 +0000 (18:07 +0200)]
omap: remove linux 4.9 support
Signed-off-by: Felix Fietkau <nbd@nbd.name>
(backported from
210531d8df56b5100633348d0944975ee242a7a1)
Felix Fietkau [Sat, 29 Sep 2018 16:07:33 +0000 (18:07 +0200)]
octeon: remove linux 4.9 support
Signed-off-by: Felix Fietkau <nbd@nbd.name>
(backported from
6ce13b87eb80739a3b8c8e2aec791f0eb71c563d)
Felix Fietkau [Sat, 29 Sep 2018 16:07:08 +0000 (18:07 +0200)]
malta: remove linux 4.9 support
Signed-off-by: Felix Fietkau <nbd@nbd.name>
(backported from
b7dfc59e63292dce7bfc2d897c1bd47534ef69c2)
Felix Fietkau [Sat, 29 Sep 2018 16:06:52 +0000 (18:06 +0200)]
kirkwood: remove linux 4.9 support
Signed-off-by: Felix Fietkau <nbd@nbd.name>
(backported from
f445953d9f7950ba40af39d3c0b6ead233db8511)
Felix Fietkau [Sat, 29 Sep 2018 16:06:08 +0000 (18:06 +0200)]
brcm47xx: remove linux 4.9 support
Signed-off-by: Felix Fietkau <nbd@nbd.name>
(backported from
fd686dfca3ba7ce8badb65c64933db6ef76ff0b6)
Felix Fietkau [Sat, 29 Sep 2018 16:05:26 +0000 (18:05 +0200)]
armvirt: remove linux 4.9 support
Signed-off-by: Felix Fietkau <nbd@nbd.name>
(backported from
b7dd438f66253cc49fa8b0b3434d5ef50fffbb7c)
Enrique Giraldo [Tue, 18 Sep 2018 11:52:08 +0000 (13:52 +0200)]
hostapd: add acs feature indication
Signed-off-by: Enrique Giraldo <enrique.giraldo@galgus.net>
(backported from
61454a0a8cd595059efa21357ee6ff4134697e61)
Mathew McBride [Wed, 26 Sep 2018 12:21:22 +0000 (12:21 +0000)]
layerscape: fix Ethernet/DPAA/FMAN on Traverse boards after DTS refresh
Patch 303 is required for Traverse LS1043 targets when using the NXP DPAA1 driver.
The recent refresh of 4.9 patches on layerscape changed how FMan/BMan memory regions
were defined and meant Ethernet stopped working on these boards.
(Note that these definitions are only required for NXP's Ethernet driver, the new
upstream driver in >=4.15 works using the DTS provided in files/)
Signed-off-by: Mathew McBride <matt@traverse.com.au>
(backported from
33f47c28c6e881936f1b8dbd200b4b5724738bd0)
Christian Lamparter [Fri, 21 Sep 2018 22:38:40 +0000 (00:38 +0200)]
base-files: make it possible to specify switch led mode
The swconfig switch led driver has the ability to switch
between a "link, rx and/or tx" mode. However, this feature
was not implemented in uci, the led init script and
config_generate.
This patch adds a seventh parameter to the
ucidef_set_led_switch() function. The accepted values for
this parameter are: link, rx and tx.
Any permutations of these three values are supported, as
long as they are properly encased with quotes.
If the parameter is not specified it will default to "all"
(link rx tx).
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
(backported from
641dc50164d30d4962499e1974fafde9b337faaf)
Christian Lamparter [Fri, 21 Sep 2018 22:38:39 +0000 (00:38 +0200)]
apm821xx: fix dtc compiler warnings for MX60(W) and MR24's dts files
This patch fixes some of the dtc warnings:
MR24:
"reg" property in [...]mdio/phy@1 has invalid length (4 bytes)
Node [...]button@1 has a unit name, but no reg property
Relying on default #address-cells value for [...]phy@1
Relying on default #size-cells value for [...]phy@1
MX60(W):
Node [..]nand/all has a reg or ranges property, but no unit name
Node [..]button@1 has a unit name, but no reg property
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
(backported from
c417aee9f146f26cd12642138bc0cedf5950a59a)
Christian Lamparter [Fri, 21 Sep 2018 22:38:38 +0000 (00:38 +0200)]
apm821xx: remove wd, mybooklive-duo leftovers
The unification of the My Book Live Single and duo image in
commit
9b47aa93c76b ("apm821xx: unify My Book Live Single + Duo images")
made the wd,mybooklive-duo obsolete in most places and can
be removed.
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
(backported from
2a926b1a0ad38d49198e0b272aa3283a618dd603)
Christian Lamparter [Fri, 21 Sep 2018 22:38:37 +0000 (00:38 +0200)]
treewide: replace 'linux, stdout-path' with 'stdout-path'
This follows a similar upstream patch by Rob Herring:
|commit
78e5dfea84dc15d69940831b3981b3014d17222e
|Author: Rob Herring <robh@kernel.org>
|Date: Wed Feb 28 16:44:06 2018 -0600
| powerpc: dts: replace 'linux,stdout-path' with 'stdout-path'
|
| 'linux,stdout-path' has been deprecated for some time in favor of
| 'stdout-path'. Now dtc will warn on occurrences of 'linux,stdout-path'.
| Search and replace all the of occurrences with 'stdout-path'.
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
(backported from
63a7cf67912a9fa7ad4790a13e88aad8c3fb3ba9)
Andre Heider [Mon, 24 Sep 2018 13:53:25 +0000 (15:53 +0200)]
sunxi: fix build without ext4 rootfs
The sdcard image generation uses CONFIG_TARGET_ROOTFS_PARTSIZE, which is
currently bound to TARGET_ROOTFS_EXT4FS on this target.
Since the rootfs is squashfs anyway, allow deselecting of the ext4fs
one.
Sort the target list alphabetically while here.
Signed-off-by: Andre Heider <a.heider@gmail.com>
(backported from
7b76219e157ba3aafa7bcdcac2dd7fef9e9623d9)
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>
(backported from
247ef4d98bab16a55b046b41e5974234b71e076d)
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>
(backported from
0214166b317a650779a00557ec86129570552860)
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>
(backported from
3404c5978ad72f42074522c25cda1c1088255a39)
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>
(backported from
93db9a65dad5ba1f98c2ff2fc1b716c9d3e9a725)
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>
(backported from
fcfb9e4ded51dbba4be33562b73c94f5fd8f1fdc)
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>
(backported from
b47a9cd4ba699342f7a74bf104dd65f4ca59e7ed)
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>
(backported from
39a96205474fa82e37d756399fde01d2964d3125)
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>
(backported from
3f7f27892ee2072b0374555fc7cb2a4a4fce702b)
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>
(backported from
92a96dd66232953482478b317f857f9475d85e50)
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>
(backported from
d8274451cb86021107b5efd99694857f869ae6a1)
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>
(backported from
7cc2a6c6be4d3dbb3467f184844db282fc30e2e1)
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>
(backported from
a3c80e855c1ed0e6c7972585279c101a4523f0aa)
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>
(backported from
3fa7e62cec16393d09a914e3c36a14df8353c608)
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>
(backported from
2a64c7ea74f03466896626bd6cc70c8bdae6fd81)
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>
(backported from
8e6bc1a5beec6a9829ad77e0b8ace2ab106772ee)
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>
(backported from
c662299bf98b6214628168379edd642f1b942b98)
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>
(backported from
02e7fa6f8ac11b379b931d9d2089f1be91274afb)
(rebased patches)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
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>
(backported from
4fcbad1aa093413bbe404163e0bbe5b29f6c125a)
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>
(backported from
ec684ce193be84b3c2a25f6a3cfcc91bf3d75bfd)
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>
(backported from
db90c243a0b9bd72fc691cd09e58a96ac2a452cf)
(rebased patches)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
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>
(backported from
61b5b4971e7d6aab6b0695997c3b5aaf73c53b5f)
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>
(backported from
de1c58a64bd66319e770d2587da07d8c9c90174a)
(rebased patches)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
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>
(backported from
c837c41a768ddd6f3d028fe480dd972b40389b2a)
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>
(backported from
d449233fd2b5efaa7ab086eda656fc7f962cf3b4)
(rebased patches)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
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>
(backported from
5d1620f29c9180881ed1c0c7b79e476cc98fd7dd)
(rebased patches)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
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>
(backported from
e125b6abb2362cabacfc42b3343cdcc4b0453603)
(rebased patches)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
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>
(backported from
061541f207b0bad605cdd4d0e5aa23a9571b0770)
(rebased patches)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
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>
(backported from
66929e34146159aafa01fdef2626c5584ea86139)
(rebased patches)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
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]
(backported from
6044682b83a08618a4d8f6791503e0cec5b9fbe5)
(rebased patches)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
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>
(backported from
b88df4a7c8f260867f3213fc3baaa4b509d449bf)
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>
(backported from
0a1faecdb5a7d5fa80a7c0ffe67e8a105c65233c)
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>
(backported from
9860cdda76797b0d9dc24795c39b307589589f4c)