Commit Graph

5872 Commits

Author SHA1 Message Date
Aleksander Jan Bajkowski
a20c5ea6be lantiq: set port numbers corresponding to reg value
Fix inconsistencies found in DTS files and sort ethernet ports based on
updated names.

Signed-off-by: Aleksander Jan Bajkowski <A.Bajkowski@stud.elka.pw.edu.pl>
[squash two separate patches, rephrase commit title/message]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-07-07 12:37:31 +08:00
Aleksander Jan Bajkowski
dcf67df51f lantiq: remove redundant includes from fritz736x DTS files
The removed lines are already included in vr9_avm_fritz736x.dtsi

Signed-off-by: Aleksander Jan Bajkowski <A.Bajkowski@stud.elka.pw.edu.pl>
[rephrase commit title/message]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-07-07 12:36:54 +08:00
Martin Blumenstingl
63615fc040 lantiq: dts: Move the &usb_vbus nodes out of &gpio
Move the USB VBUS regulator nodes out of the GPIO controller node. This
fixes a problem where the "regulator-fixed" driver wasn't probed for
these regulators because the GPIO driver doesn't scan the child-nodes
and based on the dt-bindings documentation it's not supposed to.

This fixed the following error reported by Luca Olivetti:
  ...
  dwc2 1e101000.usb: DWC OTG Controller
  dwc2 1e101000.usb: new USB bus registered, assigned bus number 1
  dwc2 1e101000.usb: irq 62, io mem 0x1e101000
  dwc2 1e101000.usb: startup error -517
  dwc2 1e101000.usb: USB bus 1 deregistered
  dwc2 1e101000.usb: dwc2_hcd_init() FAILED, returning -517

Fixes: FS#1634
Cc: Luca Olivetti <luca@ventoso.org>
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
2020-07-07 12:35:43 +08:00
Sunguk Lee
5e32eb2c13 ramips: reduce spi-max-frequency for ipTIME A8004T
Reduce spi-max-frequency for ipTIME A8004T and disable
m25p,fast-read option.

In this case, openwrt can't detect the partition information,
it would write the inccorect data to the firmware partition and
also it would occur the bootlooping after sysupgrade.

Signed-off-by: Sunguk Lee <d3m3vilurr@gmail.com>
[minor commit title/message adjustments]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-07-07 12:35:14 +08:00
Adrian Schmutzler
f196ac4e1d ipq806x: move serial0 to DTSI files
All device DTS files in the target set the serial0 property to the
same value (*). So, let's move the definitions to the DTSI files.

That's also where the kernel defines it (qcom-ipq8064-v1.0.dtsi).

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-07-07 12:34:29 +08:00
Adrian Schmutzler
8153668700 ipq806x: move stdout-path to DTSI files
All device DTS files in the target set the stdout-path to the same
value. So, let's move the definitions to the DTSI files.

That's also where the kernel defines it (qcom-ipq8064-v1.0.dtsi).

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-07-07 12:32:27 +08:00
Adrian Schmutzler
dcc841e50f ipq806x: disentangle and clean up SoC DTSI files
So far, the DTSI files on ipq806x had a linear inheritance:

  qcom-ipq8064.dtsi
  v
  qcom-ipq8064-v1.0.dtsi
  v
  qcom-ipq8064-v2.0.dtsi
  v
  qcom-ipq8065.dtsi

This poses problems when one wants to set something that is specific
to an architecture closer to the top of the tree.

In this patch, we remove the chain-like inheritance and have all
other files derived from qcom-ipq8064.dtsi (changing this name to
something more generic is not possible due to upstream use).

The removal of inheritance will require a few entries to be copied
from qcom-ipq8064-v2.0.dtsi to qcom-ipq8065.dtsi. However, it also
opens an opportunity for some clean-up:

- Many definitions can be improved by just using the innermost labels.

- Instead of disabling the CPU_SPC node for ipq8065, it is now off by
  default and enabled where needed.

- Instead of patching phy-tx0-term-offset into qcom-ipq8064.dtsi and
  then having it changed for qcom-ipq8064-v2.0/qcom-ipq8065, just have
  the appropriate settings done in the lower DTSI files directly.

- For the opp_table0 adjustments for ipq8065, just redefine what's
  changed, but don't add all the untouched properties again.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-07-07 12:30:30 +08:00
Sungbo Eo
d2a662d482 ipq806x: move common pinmux nodes to SoC DTSI
As almost same pinmux nodes are repeated in each device dts,
let's define them once in the ipq8064 dtsi and remove the rest.

* uart0_pins : Did not touch.
* i2c4_pins  : This node seems to be not used at all in dts.
               Added the most common form in the dtsi. Did not touch rpm_pins.
* spi_pins   : The common mux node is already present in the dtsi.
               Removed the duplicate nodes from dts.
* nand_pins  : Moved the entire node.
* mdio0_pins : Moved the common mux node.
* rgmii2_pins: Moved the common mux node. "pins" property is overrided in ap161.

Signed-off-by: Sungbo Eo <mans0n@gorani.run>
2020-07-07 12:29:52 +08:00
AmadeusGhost
01ff13c79f Merge Mainline 2020-07-07 12:02:51 +08:00
accors
0a51aa6d07 Update v2ray version to 4.26.0 (#4983) 2020-07-07 11:53:52 +08:00
AmadeusGhost
4ef0a8f886 Revert "rpcd: update to latest snapshot version"
Revert this commit due to it relies on a changed libiwinfo API, and will broke the compilation.
2020-07-07 11:50:16 +08:00
coolsnowwolf
0c494e6b73
uci: add uci_add_list method 2020-07-07 10:19:43 +08:00
ricksuzade-maker
31ff0bba38
Bump v2ray-plugin to 1.3.3 (#5003)
Bump v2ray-plugin to the newest version.
2020-07-07 10:19:16 +08:00
coolsnowwolf
0221628529
autocore: x86 change RPS/XPS handling to all CPUs 2020-07-07 10:15:35 +08:00
CN_SZTL
c4faaf2a74
rpcd/ubox/procd: sync with upstream source 2020-07-07 10:08:43 +08:00
CN_SZTL
ff0b338fe3
luci-app-passwall: fix Makefile 2020-07-07 10:00:46 +08:00
AmadeusGhost
4939dee0a6 luci-app-sfe: fix config 2020-07-06 16:01:15 +08:00
coolsnowwolf
04383e7dc9
wireless: wext: remove ndo_do_ioctl fallback 2020-07-06 12:56:53 +08:00
coolsnowwolf
58bc0d0c85
default-settings: remove sqm.zh-cn.po 2020-07-06 12:37:04 +08:00
CN_SZTL
e139ce8eb2
uci: roll back to 2019-05-17 2020-07-06 12:36:52 +08:00
AmadeusGhost
e6e5a536b9 ramips: adjust device settings 2020-07-06 12:32:29 +08:00
AmadeusGhost
2a4bc4a3ef mtwifi: add mt7603 and mt7612 support (Thx MeIsReallyBa and TangHaili) 2020-07-06 12:26:10 +08:00
Hauke Mehrtens
f450b99ba6
ar71xx: Fix mikrotik NAND compile problem
There is one closing bracket too much.

Fixes: ce958dd88a ("kernel: Update kernel 4.14 to version 4.14.187")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2020-07-06 12:18:20 +08:00
coolsnowwolf
5bce2927c6 ipq40xx: less ess_edma ipv6 log output 2020-07-06 12:13:20 +08:00
coolsnowwolf
e143c31d57 ramips:improve R6850 support 2020-07-06 12:12:48 +08:00
CN_SZTL
9df7545904
uci: roll back to 2019-05-17 2020-07-06 12:01:34 +08:00
coolsnowwolf
80da19d02f
default-settings: remove sqm.zh-cn.po 2020-07-06 11:59:09 +08:00
CN_SZTL
7ff6af04fa
luci version: mod 20.07 2020-07-06 01:35:54 +08:00
AmadeusGhost
9de0e1582f Merge Mainline 2020-07-05 21:36:02 +08:00
lphgor
b2588969ea kcptun: bump to 20200701 2020-07-05 21:33:31 +08:00
ElonH
e28e30a8f8 RcloneNg: bump version from 0.3.2 to 0.4.0 2020-07-05 21:31:09 +08:00
coolsnowwolf
88358f0667 busybox: add ps -ef option for docker top command 2020-07-05 21:29:03 +08:00
coolsnowwolf
43a19e02d8 ubox/ubus/uci: bump version 2020-07-05 21:21:00 +08:00
CN_SZTL
76a09141eb
luci-app-nginx-pingos: add package 2020-07-05 20:42:35 +08:00
CN_SZTL
9b74564a2a
luci-app-ssr-mudb-server: add package 2020-07-05 20:39:23 +08:00
CN_SZTL
f5a3464283
tcping: bump 0.3 2020-07-05 20:21:08 +08:00
CN_SZTL
c5644ccb0b
luci-app-passwall: sync with upstream source 2020-07-05 20:19:28 +08:00
CN_SZTL
c653aaa165
luci-theme-bootstrap-mod: sync with upstream source 2020-07-05 20:13:25 +08:00
CN_SZTL
c789155cab
luci-theme-argon-dark-mod: sync with upstream source 2020-07-05 20:13:10 +08:00
CN_SZTL
fefb52d2b9
luci-theme-argon-light-mod: sync with upstream source 2020-07-05 20:12:55 +08:00
CN_SZTL
9c5230f34f
luci-theme-argon: sync with upstream source 2020-07-05 20:08:44 +08:00
CN_SZTL
317a42e851
OpenClash: sync with upstream source 2020-07-05 20:02:59 +08:00
CN_SZTL
39b956115e
luci-app-clash: sync with upstream source 2020-07-05 20:02:07 +08:00
CN_SZTL
24372890a9
Rclone: sync with upstream source 2020-07-05 20:01:55 +08:00
Scott Roberts
2de813f94a mvebu: config define i2c pxa slave
We are setting CONFIG_I2C_PXA is not set
If you do set pxa to y then you have issues if you do not have
CONFIG_I2C_PXA_SLAVE is not set

Fixes: dd13add3ce ("kernel: i2c-pxa: remove slave")
Signed-off-by: Scott Roberts <ttocsr@gmail.com>
2020-07-05 13:35:18 +08:00
Hauke Mehrtens
b497128b5f kernel: Update kernel 5.4 to version 5.4.50
Run tested: ath79, ipq40xx
Build tested: ath79, ipq40xx

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2020-07-05 13:29:49 +08:00
Hauke Mehrtens
55e55bffc0 kernel: Update kernel 4.19 to version 4.19.131
Fixes:
- CVE-2020-10757

The "mtd: rawnand: Pass a nand_chip object to nand_release()" commit was
backported which needed some adaptations to other code.

Run tested: ath79
Build tested: ath79

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2020-07-05 12:53:46 +08:00
Hauke Mehrtens
0287f7cc12 kernel: Update kernel 4.14 to version 4.14.187
Fixes:
- CVE-2020-10757

The "mtd: rawnand: Pass a nand_chip object to nand_release()" commit was
backported which needed some adaptations to other code.

Build tested: ramips

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2020-07-05 11:53:32 +08:00
DENG Qingfang
de4455bd3d libjson-c: update to 0.14
Update libjson-c to 0.14
Changelog: https://github.com/json-c/json-c/wiki/Notes-for-v0.14-release

Switch to CMake because the upstream build system was changed

ipk size increased by 2KB

Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
2020-07-05 11:41:28 +08:00
Hauke Mehrtens
83ee408688 kernel: Fix ath79 DSP exception at bootup
This resolves a hazard between a mtc0 and a mfc0 instruction after
activating the DSP support. Without this fix the CPU could use the old
value again and the DSP support would not be active.

Fixes: FS#2928, FS#2899
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Tested-by: Stefan Lippers-Hollmann <s.l-h@gmx.de> [ath79/tl-wdr3600; ath79/tl-wdr4300]
Tested-by: David Bauer <mail@david-bauer.net> [ocedo_koala/ocedo_raccoon]
2020-07-05 11:40:48 +08:00