Commit Graph

1188 Commits

Author SHA1 Message Date
lean
ad4916ff3f Merge branch 'master' of https://github.com/coolsnowwolf/lede 2021-12-23 00:40:24 +08:00
lean
c98f0b933e x86: init support for R86S network 2021-12-23 00:40:01 +08:00
木四水
01042589af
Add Support For OrangePi R1 Plus LTS (#8498) 2021-12-22 23:29:37 +08:00
AmadeusGhost
f07434ac6d rockchip: fixes module build error on 5.10
Fixes: #8484
2021-12-20 10:37:23 +08:00
Boos4721
d5a1c39071
kernel: bump 5.10 to 5.10.87 (#8459)
* kernel: bump 5.10 to 5.10.86

Signed-off-by: boos4721 <3.1415926535boos@gmail.com>

* kernel: bump 5.10 to 5.10.87

Signed-off-by: boos4721 <3.1415926535boos@gmail.com>
2021-12-18 10:49:25 +08:00
lean
5dbb1c0822 cmake: bump version 2021-12-17 17:18:40 +08:00
lean
cb6f72ed43 Revert "kernel: bump 5.4 to 5.4.165 (#8448)"
This reverts commit a8490915d3.
2021-12-17 17:16:42 +08:00
Beginner
a8490915d3
kernel: bump 5.4 to 5.4.165 (#8448)
All patches automatically rebased.

Build system: x86_64
Build-tested: ramips/mt7621*

*FS#4149 affects me so I had to revert 7f1edbd41295dff9f2127b169fbc086c0fb2c14e
in order to downgrade to 2.35.1

Signed-off-by: John Audia <graysky@archlinux.us>

Co-authored-by: John Audia <graysky@archlinux.us>
2021-12-17 15:21:49 +08:00
Boos4721
0cadba2d40
kernel: bump 5.10 to 5.10.85 (#8434)
Signed-off-by: boos4721 <3.1415926535boos@gmail.com>
2021-12-16 12:55:51 +08:00
Shane Synan
be692b5939 ipq806x: revert SDC clock changes for NBG6817 MMC
Revert the SDC "CLK_SET_RATE_GATE" changes to the SDC clock regulator
structures.

See https://elinux.org/images/b/b8/Elc2013_Clement.pdf
> if ((clk->flags & CLK_SET_RATE_GATE) && clk->prepare_count) {
>
> For this particular clock, setting its rate is possible only if the
> clock is ungated (not yet prepared)

This fixes the MMC failing to initialize on newer ZyXEL NBG6817
hardware revisions with Kingston MMC.  Older revisions should
hopefully be unaffected.

Check MMC hardware details with:
cd /sys/block/mmcblk0/device/ && \
  tail -v cid date name manfid fwrev hwrev oemid rev

Known problematic MMC names (broken before this commit):
* M62704 (dated 12/2018) via myself
* M62704 (dated 11/2018) via Drake Stefani

Known unaffected MMC names (already working without this commit):
* S10004 (dated 12/2015) via slh

Now, the MMC properly initializes and later switches to high speed.

Thanks to:
* Ansuel for maintaining/help with the IPQ806x platform, kernel code
* slh for additional debugging and suggestions
* dwfreed for confirming newer MMC details, clock frequency
* robimarko for device driver debug printing help, clock debugging
* Drake for testing and confirmation with their own newer NBG6817
...and anyone else I missed!

Signed-off-by: Shane Synan <digitalcircuit36939@gmail.com>
Tested-by: Shane Synan <digitalcircuit36939@gmail.com>
2021-12-16 09:22:06 +08:00
Junle Fong
77fe3c1a3c
ramips: mt76x8: add missing config (#8440)
update kernel config file.
2021-12-15 15:38:10 +08:00
Boos4721
1e368cb085
kernel: bump 5.10 to 5.10.84 (#8411)
Signed-off-by: boos4721 <3.1415926535boos@gmail.com>
2021-12-10 23:47:33 +08:00
lean
06b8f98e25 ipq60xx: add GL.iNet AX1800 init support 2021-12-09 17:23:11 +08:00
AmadeusGhost
5c40fcd80e ipq806x: update some script paths 2021-12-09 10:25:20 +08:00
Chen Minqiang
2652e567f5 ramips: add mt7620-nand driver for NAND flash
This add the mt7620-nand driver and enable nand ubifs for
mt7620 subtarget, closed: #8097, #8402, #8405

Fixes: 3625a730 ("ramips: switch to kernel 5.10")

Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
2021-12-09 10:20:09 +08:00
aakkll
7d11f9ad7a
x86: added support to generate VHDX images (#8399)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>

Co-authored-by: Oldřich Jedlička <oldium.pro@gmail.com>
2021-12-08 16:10:18 +08:00
aakkll
2972a0502d
base-files: add eMMC sysupgrade support (#8400)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>

Co-authored-by: Enrico Mioso <mrkiko.rs@gmail.com>
2021-12-08 16:09:15 +08:00
AmadeusGhost
4bdb51efa0 ramips: JCG Q20: add pbboot mod version
Add the missing part, fixes: #8391
2021-12-06 15:09:07 +08:00
AmadeusGhost
f8a982515a Revert "Add JCG Q10 PRO(the same as JCG Q20) with CR660x pb-boot support, change switch to swconfig from DSA. (#8391)"
This reverts commit 83b646937f. Since
it is exactly the same, there is no need to add as a new device.
2021-12-06 14:45:18 +08:00
dsanke
83b646937f
Add JCG Q10 PRO(the same as JCG Q20) with CR660x pb-boot support, change switch to swconfig from DSA. (#8391) 2021-12-06 13:55:01 +08:00
lean
0b002d6c22 ipq60xx: add new target initial support 2021-12-06 13:50:45 +08:00
lean
ff1bcf8da9 x86: add lspci and lsusb tools 2021-12-05 18:29:10 +08:00
Liam Luo
549eea3251
ramips: add support for RAISECOM MSG1500 Z.00 (#8385)
Hardware:
  SoC: MediaTek MT7621AT
  Flash: SPI NOR 16MB
  RAM: DDR3 64MB
  2.4GHz: MT7603EN bgn 2x2
  5GHz: MT7612EN nac 2x2
  Ethernet: 1 x WAN and 4 x LAN
  USB: 1 x 3.0
  Button: Reset, WPS

Note: the flash memory capacity is only 64MB.
      You may need to uncheck some options to ensure normal startup.

Signed-off-by: LINGJP <lonelyjskj@gmail.com>
2021-12-05 18:21:56 +08:00
lean
37828c4b47 mediatek: Add support for Xiaomi Redmi Router AX6S 2021-12-03 12:25:39 +08:00
Beginner
0cd887f7b5
kernel: bump 5.10 to 5.10.83 (#8374)
Removed upstreamed:
    bcm53xx/patches-5.10/033-v5.16-0024-ARM-dts-BCM5301X-Fix-I2C-controller-interrupt.patch[1]
    bcm53xx/patches-5.10/033-v5.16-0025-ARM-dts-BCM5301X-Add-interrupt-properties-to-GPIO-no.patch[2]

All other patches automatically rebased.

1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.10.83&id=b2cd6fdcbe0a5cb44e4610a08cc58261d494a885
2. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.10.83&id=9db1d4a3c2700e1cc84c3d61199411d75c2a3ec6

Build system: x86_64*
Build-tested: bcm2711/RPi4B, ipq806x/R7800†
Run-tested: bcm2711/RPi4B, ipq806x/R7800†

* Had to revert 7c99085bd69742f66207d61e9f2da5ec4f8f9d2f in order to build
  (latest bump of ca-certificates)

† Had to revert 7f1edbd41295dff9f2127b169fbc086c0fb2c14e in order to build
  (binutils 2.37, https://bugs.openwrt.org/index.php?do=details&task_id=4149)

Signed-off-by: graysky <graysky@archlinux.us>

Co-authored-by: graysky <graysky@archlinux.us>
2021-12-03 12:10:21 +08:00
ntlf9t
d4fbc4959b
Bypassing the HH3K up to 2.5Gbps using a BCM578xx (#8377)
https://www.dslreports.com/forum/r32230041-Internet-Bypassing-the-HH3K-up-to-2-5Gbps-using-a-BCM57810S-NIC
2021-12-02 22:24:37 +08:00
lean
bb3d86eb9a x86: add BCM57414 BNX2X driver 2021-11-29 18:51:19 +08:00
lean
2672bfdc9d x86: add new packages 2021-11-29 18:19:00 +08:00
lean
431a8f0e2c x86: change target package 2021-11-29 16:46:19 +08:00
lean
cbbb438afb ramips: add missing symbols for mt7620 2021-11-28 01:48:48 +08:00
Hugo Yuan
5efd70f89f
ipq806x: Add Norton 518 support (#8330) 2021-11-27 18:15:26 +08:00
aakkll
aeb1792a4c
kernel: bump 5.4 to 5.4.162 (#8318)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>

Co-authored-by: John Audia <graysky@archlinux.us>
2021-11-27 18:14:55 +08:00
Beginner
31fc43272d
kernel: bump 5.10 to 5.10.82 (#8303)
* kernel: bump 5.10 to 5.10.81

Manually rebased:
    octeontx/patches-5.10/0004-PCI-add-quirk-for-Gateworks-PLX-PEX860x-switch-with-.patch

All other patches automatically rebased.

Signed-off-by: John Audia <graysky@archlinux.us>

Build system: x86_64
Build-tested: bcm2711/RPi4B, ipq806x/R7800
Run-tested: bcm2711/RPi4B, ipq806x/R7800

* kernel: bump 5.10 to 5.10.82

Removed upstreamed:
    bcm53xx/patches-5.10/033-v5.16-0014-ARM-dts-NSP-Fix-mpcore-mmc-node-names.patch

Manually rebased:
    ipq806x/patches-5.10/086-ipq8064-fix-duplicate-node.patch

All other patches automatically rebased.

Build system: x86_64
Build-tested: bcm2711/RPi4B
Run-tested: bcm2711/RPi4B

Signed-off-by: John Audia <graysky@archlinux.us>

Co-authored-by: John Audia <graysky@archlinux.us>
2021-11-27 03:02:35 +08:00
Hugo Yuan
19a764717d
ipq806x: fix compile error (#8311) 2021-11-26 07:11:53 +08:00
aakkll
835ed78fc3
kernel: bump 5.4 to 5.4.161 (#8294)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>

Co-authored-by: John Audia <graysky@archlinux.us>
2021-11-24 14:38:23 +08:00
hejiawencc
9bce8084a0
rockchip: fix rk3399 DoorNet2 emmc clk (#8295) 2021-11-24 14:37:30 +08:00
Beginner
fce2887380
kernel: bump 5.4 to 5.4.159 (#8255)
Manually rebased:
    generic-backport/850-v5.13-usb-ehci-add-spurious-flag-to-disable-overcurrent-ch.patch

All other patches automatically rebased.

Signed-off-by: John Audia <graysky@archlinux.us>

Co-authored-by: John Audia <graysky@archlinux.us>
2021-11-22 01:14:50 +08:00
Beginner
56de0725a4
kernel: bump 5.10 to 5.10.80 (#8280)
Deleted (upstreamed):
ath79/patches-5.10/921-serial-core-add-support-for-boot-console-with-arbitr.patch [1]
bcm53xx/patches-5.10/033-v5.15-0012-ARM-dts-BCM5301X-Fix-memory-nodes-names.patch [2]
lantiq/patches-5.10/0016-mtd-rawnand-xway-Keep-the-driver-compatible-with-on-.patch [3]
lantiq/patches-5.10/0110-MIPS-lantiq-dma-add-small-delay-after-reset.patch [4]
lantiq/patches-5.10/0111-MIPS-lantiq-dma-reset-correct-number-of-channel.patch [5]
lantiq/patches-5.10/0112-MIPS-lantiq-dma-fix-burst-length-for-DEU.patch [6]

Manually rebased:
ipq806x/patches-5.10/0065-arm-override-compiler-flags.patch

[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.10.80&id=47462c5e600fbaffd755cd13dedd80d04e41ff83
[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.10.80&id=2fde76df1885a6bec04317e457121326070450eb
[3] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.10.80&id=9b366f5221d8aa64b22f35be137a5749326444ce
[4] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.10.80&id=5af57ce8a6155fe3e4270d28d171abf8903bebc0
[5] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.10.80&id=b92a5df2c7adc79a57481445f67de0c1c716581f
[6] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.10.80&id=6b72caabc47011d03f44064452b2c65e8ed18326

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>

Co-authored-by: Rui Salvaterra <rsalvaterra@gmail.com>
2021-11-20 01:41:26 +08:00
AmadeusGhost
156a636522 rockchip: apply patches for GuangMiao G4C
Only God knows how to soft reset it.
2021-11-15 13:19:01 +08:00
Beginner
2e5f50cde9
kernel: bump 5.10 to 5.10.79 (#8246)
Manually rebased:
generic/backport-5.10/810-v5.13-usb-ehci-add-spurious-flag-to-disable-overcurrent-ch.patch

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>

Co-authored-by: Rui Salvaterra <rsalvaterra@gmail.com>
2021-11-14 23:14:51 +08:00
i=菜鸡一批
e65535d3cf
rockchip:rk3399 increases the frequency of complete information of the big core (#8232)
* Update cpuinfo

* Add files via upload

Co-authored-by: KLT007 <84753324+KLT007@users.noreply.github.com>
2021-11-11 18:09:46 +08:00
hejiawencc
7addb7e937
rockchip: add support for Embedfire DoorNet2 (#8226) 2021-11-11 09:26:13 +08:00
Beginner
b442cc508b
kernel: bump 5.4 to 5.4.158 (#8207)
All patches automatically rebased.

Signed-off-by: John Audia <graysky@archlinux.us>

Co-authored-by: John Audia <graysky@archlinux.us>
2021-11-09 08:06:15 +08:00
lean
0f25fd18ee rockchip: swtich kernel to 5.4 2021-11-08 13:07:33 +08:00
lean
0977610352 rockchip: add support for HuaKe GuangMiao G4C by AmadeusGhost 2021-11-08 12:55:54 +08:00
Boos4721
1d22d226a1
kernel: bump 5.10 to 5.10.78 (#8193)
Signed-off-by: boos4721 <3.1415926535boos@gmail.com>
2021-11-07 18:50:35 +08:00
Hugo Yuan
d76ef71367
ipq40xx: Add ZTE MF263 support (#8181) 2021-11-05 00:05:49 +08:00
Hugo Yuan
d0f1f23537
ipq40xx: Add cmdline override support for kernel 5.4 (#8180) 2021-11-05 00:04:24 +08:00
Boos4721
147aac7507
ramips: 5.10: fix issuse https://github.com/coolsnowwolf/lede/issues/8171 (#8172)
drop unnecessary commit form official kernel merge

Signed-off-by: boos4721 <3.1415926535boos@gmail.com>
2021-11-04 01:17:51 +08:00
csharper2005
7c0b920f18
ramips: Add support for Beeline SmartBox TURBO+ (#8161)
* ramips: add support for Beeline(Sercomm) U-Boot

- Add recipe for several Beeline/Sercomm devices (e.g., Beeline SmartBox
  GIGA, Beeline SmartBox Turbo+, Sercomm S3) that appends special header
  to a kernel.

- Add device variables KERNEL_LOADADDR, LZMA_TEXT_START. It's also
  necessary for the devices mentioned above.

Signed-off-by: Mikhail Zhilkin <csharper2005@gmail.com>
(cherry picked from commit 6240da24f4c1442b0f750f06be512f630b0bc6c8)
Signed-off-by: Mikhail Zhilkin <csharper2005@gmail.com>

* ramips: Add support for Beeline SmartBox TURBO+

This PR adds support for router Beeline Smart Box TURBO+.
OEM/ODM Serсomm. Almost identical to Serсomm S3.

Specification
-------------
SoC Type: MediaTek MT7621AT (880 MHz, 2 cores)
RAM (Nanya NT5CC64M16GP): 128 MiB
Flash (Macronix MX30LF1G18AC): 128 MiB
Wireless 2.4 GHz (MT7603EN): b/g/n, 2x2
Wireless 5 GHz (MT7615N): a/n/ac, 4x4
Ethernet: 5 ports - 5×GbE (WAN, LAN1-4)
USB ports: 1xUSB3.0
Buttons: 2 button (reset, wps)
LEDs: Red, Green, Blue
Zigbee (EFR32MG1B232GG): 3.0
Stock bootloader: U-Boot 1.1.3
Power: 12 VDC, 1.5 A

Installation
------------
Attach serial console, then boot the initramfs image via TFTP.
Once inside OpenWrt, run sysupgrade -n with the sysupgrade file.

Signed-off-by: Maximilian Weinmann <x1@disroot.org>
(cherry picked from commit d1f294521bd8bc462c76e09c57a5c8b0600170cd)
(factory recipe from a2cfe339995467308c9126c3d0f70d2a28aeb073)
(big NAND from e6e5837a625ba09e286a5bde05f2ce581cfbeab7)
(removed nvmem cells, fixed conflicts)
Signed-off-by: Mikhail Zhilkin <csharper2005@gmail.com>

* ramips: add Sercomm partition map parser

This adds an MTD partition parser for the Sercomm partition table that
is used in some Netgear routers.

This is essentially the same code as proposed in the pull request for
Netgear R6350 support by NOGUCHI Hiroshi <drvlabo@gmail.com>:
https://github.com/openwrt/openwrt/pull/1318

It was originally rejected as it did not seem to work correctly.
However, this was only due the NAND driver transparently shifting pages
to hide bad blocks, which was fixed in commit
527832e54bf3bc4d699a145ae66f34230246f0a9.

Signed-off-by: Jan Hoffmann <jan@3e8.eu>
[x1@disroot.org: correction from checkpatch.pl]
Signed-off-by: Maximilian Weinmann <x1@disroot.org>
(cherry picked from commit 65e772105f8d5e98a999b836fed794b7415f2741)
Signed-off-by: Mikhail Zhilkin <csharper2005@gmail.com>

* ramips: Improve Beeline Smartbox Turbo+ support in lede

Changed switch configuration and a few minor changes.

Signed-off-by: Mikhail Zhilkin <csharper2005@gmail.com>

Co-authored-by: Maximilian Weinmann <x1@disroot.org>
Co-authored-by: Jan Hoffmann <jan@3e8.eu>
2021-11-03 12:16:32 +08:00