Commit Graph

1096 Commits

Author SHA1 Message Date
AmadeusGhost
6bc29f9596 generic: 4.19: add missing config 2020-05-31 13:50:02 +08:00
CN_SZTL
7daa7bd280
target/bcm27xx: enable audio by default 2020-05-31 13:31:52 +08:00
CN_SZTL
f69592eaf0
target/x86|bcm27xx: adjust default packages 2020-05-31 08:58:09 +08:00
CN_SZTL
d46a0e7565
kernel: bump 4.19 to 4.19.125
Refreshed all patches.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-05-30 21:59:37 +08:00
CN_SZTL
18b3e79112
kernel: bump 4.14 to 4.14.182
Refreshed all patches.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-05-30 21:59:32 +08:00
CN_SZTL
964693e535
kernel: bump 4.9 to 4.9.225
Refreshed all patches.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-05-30 21:59:19 +08:00
AmadeusGhost
a273d13857 Merge Lean's source 2020-05-30 12:25:05 +08:00
Adrian Schmutzler
f819bcdaaf ar71xx: fix splitting firmware partition for TL-WR902AC v1
The -O option for the tplink-v1-header was missing for the TP-Link
TL-WR902AC v1, while safeloader and MTDPARTS where set up with a
single firmware partition.

This led to bootloops after using sysupgrade.

Fixes: FS#3118

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-05-30 11:30:59 +08:00
AmadeusGhost
6105915786
Wireless: rollback with mac80211 (#4683)
mt76: fix build
ath10k-ct: rollback to 4.19
Revert "iw/iwinfo/mwlwifi: bump version"
Revert "mac80211/5.4: fix build on kernel 4.9"
Revert "mac80211: switch to upstream owl-loader driver"
2020-05-27 11:45:56 +08:00
CN_SZTL
248c551d79
Merge Lean's source 2020-05-26 19:35:35 +08:00
coolsnowwolf
dd25de3730 ramips: add redmi ac2100 pb-boot factory ubi format support 2020-05-26 15:17:00 +08:00
AmadeusGhost
e54db866ab
ar71xx: wdr8500: fix build on 4.14 (#4668) 2020-05-25 19:28:22 +08:00
CN_SZTL
5d5c70362b
kernel: bump 4.19 to 4.19.124
Refreshed all patches.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-05-24 21:59:06 +08:00
CN_SZTL
0a2cb6b61b
kernel: bump 4.14 to 4.14.181
Refreshed all patches.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-05-24 21:25:57 +08:00
CN_SZTL
fb64cedd46
kernel: bump 4.9 to 4.9.224
Refreshed all patches.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-05-24 20:45:22 +08:00
CN_SZTL
462b2e1b36
Merge Lean's source 2020-05-24 20:29:02 +08:00
CN_SZTL
fc5e5739b2 target/sunxi: add support for nanopi duo2/r1/r1s on kernel 4.19 2020-05-24 11:21:02 +00:00
AmadeusGhost
097f36d48c
ipq40xx: fix dtc warning (#4660)
arch/arm/boot/dts/qcom-ipq4019-cm520-79f.dtb: Warning (reg_format):
"reg" property in /led_spi/led_gpio@0 has invalid length (4 bytes)
(#address-cells == 1, #size-cells == 1)
arch/arm/boot/dts/qcom-ipq4019-cm520-79f.dtb: Warning
(avoid_default_addr_size): Relying on default #size-cells value for
/led_spi/led_gpio@0
arch/arm/boot/dts/qcom-ipq4019-wpj419.dtb: Warning (reg_format):
/soc/spi@78b5000/flash0@0/partitions/partition@0:reg: property has
invalid length (8 bytes) (#size-cells == 1)

Signed-off-by: AmadeusGhost <amadeus@jmu.edu.cn>
2020-05-24 13:05:57 +08:00
Adrian Schmutzler
fbc87b6755 generic: drop outdated kernel version switches in local drivers
This drops the obsolete version switches for non-supported kernels
from local drivers in generic target.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-05-24 11:33:39 +08:00
coolsnowwolf
cd6e66d6e1 ramips:improve R6850 support 2020-05-23 00:14:36 +08:00
NivalXer
5ae70efb04
ramips: add support for Linksys EA7500 v2 (#4646)
* ramips: add support for Linksys EA7500 v2

* fix build

* fix build

* update build config
2020-05-22 10:53:12 +08:00
AmadeusGhost
142f9724da Merge Lean's source 2020-05-21 12:25:08 +08:00
AmadeusGhost
1457fa8e97
ar71xx: add support for TP-LINK TL-WDR8500 v1 (#4615)
This commit add support for the TP-LINK TL-WDR8500 v1

SOC:	Qualcomm QCA9563 775MHz
RAM:    128MB M14D1G1664A-2.5B DDR2
FLASH:  8MB Winbond 25Q64FVSIG
WLAN1:  QCA9563 2.4GHz 802.11b/g/n 3x3
WLAN2:  QCA9984 5GHz 802.11 n/ac 4x4
Ethernet: 5 x 1000Mbps (1wan, 4lan)

Installation via breed:
Flash into breed-qca956x-uart_rx18_tx22-reset1.bin,
and then edit the environment variables:
  Field: autoboot.command
  Value: boot mem 0x9f020200

From https://www.right.com.cn/forum/thread-328619-1-1.html

Signed-off-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
2020-05-20 10:00:51 +08:00
Álvaro Fernández Rojas
65bc03fdf2 bcm63xx: mask interrupts on init
Fixes BCM6348/BCM6358 hangs while booting:
https://bugs.openwrt.org/index.php?do=details&task_id=2202

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
(cherry picked from commit 13c33f3f12)
2020-05-19 12:31:06 +08:00
Daniel Gonzalez Cabanelas
831c6b4c5c bcm63xx: periph_intc: report effective affinity
The bcm6345-periph-intc driver only targets a single CPU at a time, even
if the notional affinity is wider. Let's inform the core code about this.

This patch gets rid of the kernel message:
"genirq: irq_chip bcm6345-periph-intc did not update eff. affinity mask
of irq 52"

Signed-off-by: Daniel Gonzalez Cabanelas <dgcbueu@gmail.com>
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
(cherry picked from commit e04ff3c7cc)
2020-05-19 12:30:36 +08:00
Álvaro Fernández Rojas
386c2b2320 bcm63xx: ext_intc: fix warning
In file included from ./arch/mips/include/asm/io.h:34,
                 from ./arch/mips/include/asm/mmiowb.h:5,
                 from ./include/linux/spinlock.h:60,
                 from ./include/linux/irq.h:14,
                 from drivers/irqchip/irq-bcm6345-ext.c:10:
drivers/irqchip/irq-bcm6345-ext.c: In function 'bcm6345_ext_intc_of_init':
./arch/mips/include/asm/mach-bcm63xx/ioremap.h:48:9: warning: 'base' may be used uninitialized in this function [-Wmaybe-uninitialized]
  return is_bcm63xx_internal_registers((unsigned long)addr);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/irqchip/irq-bcm6345-ext.c:255:16: note: 'base' was declared here
  void __iomem *base;
                ^~~~

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
(cherry picked from commit 29c3bb5f41)
2020-05-19 12:30:09 +08:00
Álvaro Fernández Rojas
27540513b3 bcm63xx: periph_intc: fix warning
drivers/irqchip/irq-bcm6345-periph.c: In function 'bcm6345_periph_irq_handle':
drivers/irqchip/irq-bcm6345-periph.c:55:21: warning: 'block' may be used uninitialized in this function [-Wmaybe-uninitialized]
  struct intc_block *block;
                     ^~~~~

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
(cherry picked from commit f2f2cf07a6)
2020-05-19 12:29:34 +08:00
Álvaro Fernández Rojas
15ba4bad89 bcm63xx: redboot: fix warning
drivers/mtd/parsers/redboot.c: In function 'parse_redboot_partitions':
drivers/mtd/parsers/redboot.c:194:59: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses]
     fis_origin = (buf[i].flash_base & (master->size << 1) - 1);
                                       ~~~~~~~~~~~~~~~~~~~~^~~

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
(cherry picked from commit f314cbe54b)
2020-05-19 12:29:06 +08:00
Álvaro Fernández Rojas
a0e9a866a2 bcm63xx: bcm6362: fix pinctrl bug
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
(cherry picked from commit ee6bf7e865)
2020-05-19 12:28:30 +08:00
Álvaro Fernández Rojas
5be4581621 bcm63xx: refresh kernel config
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2020-05-19 12:27:57 +08:00
Koen Vandeputte
1594a8ae1a kernel: bump 4.19 to 4.19.123
Refreshed all patches.

Compile-tested on: cns3xxx
Runtime-tested on: cns3xxx

Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
2020-05-15 11:35:08 +08:00
Aleksander Jan Bajkowski
cdd44f2175 ath79: increase spi frequency on tp-link tl-wr1043nd v2
Increase SPI frequency to 33.333 MHz. It's maximum frequency supported
by SPI Flash memory chip without Fast read opcode.

Tested on TP-Link TL-WR1043ND V2.

Signed-off-by: Aleksander Jan Bajkowski <A.Bajkowski@stud.elka.pw.edu.pl>
2020-05-15 11:32:28 +08:00
AmadeusGhost
29a00cd005 Merge Lean's source 2020-05-13 17:50:08 +08:00
Adrian Schmutzler
fcc94d9d36 ipq40xx: replace "ok" with "okay" for status in DTS files
While "ok" is recognized in DT parsing, only "okay" is actually
mentioned as valid value. Replace it accordingly.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-05-13 17:35:13 +08:00
AmadeusGhost
c985a54a61
kernel: bump to 4.9.223, 4.14.180, 4.19.122 (#4600)
* kernel: bump 4.9 to 4.9.223

Refreshed all patches.

Fixes:
- CVE-2020-12114

Compile-tested on: ar71xx
Runtime-tested on: ar71xx

Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>

* kernel: bump 4.14 to 4.14.180

Refreshed all patches.

Fixes:
- CVE-2020-12114
- CVE-2020-11669

Compile-tested on: pistachio
Runtime-tested on: none

Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>

* kernel: bump 4.19 to 4.19.122

Refreshed all patches.

Remove upstreamed:
- 551-loop-Better-discard-support-for-block-devices.patch

Fixed:
- CVE-2020-11884
- CVE-2020-12114
- CVE-2019-3016
- CVE-2020-11669

Compile-tested on: cns3xxx
Runtime-tested on: cns3xxx

Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>

Co-authored-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
2020-05-13 13:28:43 +08:00
coolsnowwolf
1428e0eeed ipq40xx: ignore some debug info 2020-05-11 16:22:05 +08:00
AmadeusGhost
f2c4cd42ff Merge Lean's source 2020-05-09 18:16:05 +08:00
coolsnowwolf
58d4e7f906 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2020-05-09 15:36:59 +08:00
coolsnowwolf
de279cbd29 ramips: unlock Bootloader for Redmi AC2100 2020-05-09 15:36:49 +08:00
AmadeusGhost
9c732c877d
ipq40xx: adjust switch configuration for netgear ex61x0v2 (#4550) 2020-05-09 15:05:57 +08:00
coolsnowwolf
2c37fa71f9 ipq40xx: update ath10k firmware 2020-05-09 14:36:43 +08:00
Lech Perczak
597af1f573 ath79: dts: add missing 'serial0' alias for TP-Link TL-MR3040v2
Out of all devices currently supported based on AR9331 chipset,
this one had the 'serial0' alias missing. Add it to fix setting of
/dev/console and login shell on the onboard UART.

Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
2020-05-09 12:00:16 +08:00
Adrian Schmutzler
c96496f51e ath79: indicate boot/failsafe/upgrade for NanoBeam/Nanostation AC
Like for Ubiquiti PowerBeam 5AC Gen2, the highest RSSI LED can
be exploited to indicate boot/failsafe/upgrade for the NanoBeam AC
and Nanostation AC as well.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
(cherry picked from commit 80a094aaf3)
2020-05-05 22:25:13 +08:00
AmadeusGhost
ffd2755fb9 treewide: adjust sysupgrade script 2020-05-05 22:18:12 +08:00
CN_SZTL
622381da92
Merge Lean's source 2020-05-04 16:01:50 +08:00
AmadeusGhost
9f90d1abd4
Redmi AC2100: adjust switch configuration (#4528) 2020-05-04 00:43:17 +08:00
CN_SZTL
b11dcd594c kernel: bump 4.14 to 4.14.178
Refreshed all patches.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-05-03 19:33:01 +08:00
CN_SZTL
95aa0a3995 kernel: bump 4.14 to 4.14.177
Fixes:
 - CVE-2020-11669

Remove upstreamed:
 - 001-irqchip-versatile-fpga-Handle-chained-IRQs-properly.patch
 - 002-irqchip-versatile-fpga-Apply-clear-mask-earlier.patch
 - 003-ARM-dts-oxnas-Fix-clear-mask-property.patch

Refreshed all patches.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-05-03 19:32:54 +08:00
CN_SZTL
ebd3dfdac7
kernel: bump 4.19 to 4.19.120
Refreshed all patches.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-05-03 17:49:03 +08:00
CN_SZTL
c5c9118ebe kernel: bump 4.9 to 4.9.221
Refreshed all patches.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-05-03 16:52:59 +08:00