Commit Graph

102 Commits

Author SHA1 Message Date
aakkll
609f4c8ed7
kernel: bump 5.10 to 5.10.98 (#8835)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>

Co-authored-by: John Audia <graysky@archlinux.us>
2022-02-08 12:30:22 +08:00
Beginner
8b13dd239d
kernel: bump 5.10 to 5.10.96 (#8813)
Patches automatically rebased.

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

Co-authored-by: Rui Salvaterra <rsalvaterra@gmail.com>
2022-02-02 16:47:59 +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
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
Beginner
047c7ec182
kernel: bump 5.10 to 5.10.76 (#8136)
Deleted (upstreamed):
bcm27xx/patches-5.10/950-0145-xhci-add-quirk-for-host-controllers-that-don-t-updat.patch [1]

Manually rebased:
bcm27xx/patches-5.10/950-0355-xhci-quirks-add-link-TRB-quirk-for-VL805.patch
bcm53xx/patches-5.10/180-usb-xhci-add-support-for-performing-fake-doorbell.patch

Note: although automatically rebaseable, the last patch has been edited to avoid
conflicting bit definitions.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-5.10.y&id=b6f32897af190d4716412e156ee0abcc16e4f1e5

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

Co-authored-by: Rui Salvaterra <rsalvaterra@gmail.com>
2021-10-31 16:27:59 +08:00
Beginner
69753f8625
kernel: bump 5.4 to 5.4.155 (#8102)
* kernel: bump 5.4 to 5.4.153

Removed upstreamed:
  backport-5.4/070-v5.5-MIPS-BPF-Restore-MIPS32-cBPF-JIT.patch

All other patches automatically rebased.

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

* kernel: bump 5.4 to 5.4.154

All patches automatically rebased.

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

* kernel: bump 5.4 to 5.4.155

All patches automatically rebased.

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

Co-authored-by: John Audia <graysky@archlinux.us>
2021-10-22 11:55:35 +08:00
Boos4721
50cce804be
kernel: bump 5.10 to 5.10.73 (#8064)
Signed-off-by: boos4721 <3.1415926535boos@gmail.com>
2021-10-17 14:53:09 +08:00
lean
a3f52d758a kernel: bump 5.10 to 5.10.72 2021-10-16 15:27:27 +08:00
coolsnowwolf
fcd2797a87 kernel: bump 5.4 to 5.4.144 2021-09-18 01:43:02 +08:00
coolsnowwolf
dcfcc34e01 kernel: bump 5.10 to 5.10.62 2021-09-18 01:26:26 +08:00
AmadeusGhost
e80af1955e
kernel: bump 5.4 to 5.4.138 (#7630) 2021-08-10 20:20:42 +08:00
Beginner
e35805c6ea
kernel: bump 5.10 to 5.10.56 (#7635)
* kernel: bump 5.10 to 5.10.52

Add the new CONFIG_BATTERY_RT5033 to the generic configuration, as reported by
Paul Blazejowski. Resort the kconfig while at it.

No deleted or manually refreshed patches.

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

* kernel/generic: add a missing symbol to the 5.10 kconfig

Add CONFIG_HAVE_ARM_ARCH_TIMER (disabled). A make kernel_oldconfig on cortexa9
will otherwise prompt for its selection. The 5.4 configuration already contains
the same symbol.

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

* kernel/generic: sort the 5.10 kconfig symbols

Sort the kernel configuration using scripts/kconfig.pl.

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

* kernel: bump 5.10 to 5.10.53

No deleted or manually refreshed patches.

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

* kernel: bump 5.10 to 5.10.54

Deleted (upstreamed) patches:
mediatek/patches-5.10/000-spi-fix-fifo.patch

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

* kernel: bump 5.10 to 5.10.55

No deleted or manually refreshed patches.

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

* kernel: bump 5.10 to 5.10.56

No patches needed refreshing

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

Co-authored-by: Rui Salvaterra <rsalvaterra@gmail.com>
2021-08-10 14:18:30 +08:00
libinanshu
89fa14ad27
add TP-LINK TL-WDR7500 V3-16MB (#7550) 2021-07-29 14:42:32 +08:00
coolsnowwolf
601262ed5f Version bump to R21.7.26 2021-07-26 17:37:13 +08:00
coolsnowwolf
65068ed984 Revert "treewide: convert mtd-mac-address-increment* to generic implementation"
This reverts commit 82d9b3e2c4.
2021-07-23 00:29:52 +08:00
coolsnowwolf
82d9b3e2c4 treewide: convert mtd-mac-address-increment* to generic implementation 2021-07-23 00:20:32 +08:00
Rui Salvaterra
8575f72a6b kernel: bump 5.10 to 5.10.51
No deleted or manually refreshed patches.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
2021-07-22 23:55:59 +08:00
Beginner
32419ee4e4
Revert "kernel: bump 5.10 to 5.10.51 (#7437)" (#7473)
This reverts commit a8ad0940bf.
2021-07-22 17:53:15 +08:00
Beginner
a8ad0940bf
kernel: bump 5.10 to 5.10.51 (#7437)
* kernel: bump 5.10 to 5.10.51

No deleted or manually refreshed patches.

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

* linux/rockchip: update the USB 3.0 controller node patch

This has been added in Linux 5.10.51 [1], but it's broken/incomplete. Update our
patch and refresh the remaining patches.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.10.51&id=421aff50af5e4cdc56b3ac8d6b670e09697bc8ac

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

Co-authored-by: Rui Salvaterra <rsalvaterra@gmail.com>
2021-07-21 05:33:35 +00:00
coolsnowwolf
ebe8ec1003 kernel: bump 5.10 to 5.10.50 2021-07-16 18:32:33 +08:00
Beginner
35ed2d4e61
kernel: bump 5.4 to 5.4.132 (#7322)
* kernel: bump 5.4 to 5.4.129

All patches automatically rebased.

Build system: x86_64
Build-tested: ipq806x/R7800
Run-tested: ipq806x/R7800

No dmesg regressions, everything functional

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

* kernel: bump 5.4 to 5.4.130

All patches automatically rebased.

Build system: x86_64
Build-tested: ipq806x/R7800
Run-tested: ipq806x/R7800

No dmesg regressions, everything functional

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

* kernel: bump 5.4 to 5.4.131

All patches automatically rebased.

Build system: x86_64
Build-tested: ipq806x/R7800
Run-tested: ipq806x/R7800

No dmesg regressions, everything functional

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

* kernel: bump 5.4 to 5.4.132

Manually rebased:
  layerscape/patches-5.4/805-display-0002-drm-rockchip-prepare-common-code-for-cdns-and-rk-dpi.patch

All other patches automatically rebased.

Build system: x86_64
Build-tested: ipq806x/R7800
Run-tested: ipq806x/R7800

No dmesg regressions, everything functional

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

Co-authored-by: John Audia <graysky@archlinux.us>
2021-07-16 02:13:15 +00:00
coolsnowwolf
1eaa4c5b76 ath79: use wpad-openssl by default 2021-07-15 14:42:44 +08:00
coolsnowwolf
b8a2a9b17e ath79: switch to kernel 5.10 2021-07-15 14:39:10 +08:00
Beginner
2cc5ee12c8
ath79: add support for TP-Link RE455 v1 (#7362)
TP-Link RE455 v1 is a dual band router/range-extender based on
Qualcomm/Atheros QCA9563 + QCA9880.

This device is nearly identical to RE450 v3

Specification:

- 775 MHz CPU
- 64 MB of RAM (DDR2)
- 8 MB of FLASH (SPI NOR)
- 3T3R 2.4 GHz
- 3T3R 5 GHz
- 1x 10/100/1000 Mbps Ethernet (AR8033 PHY)
- 7x LED, 4x button
- UART header on PCB[1]

Flash instruction:
Apply factory image in OEM firmware web-gui.

[1] Didn't work, probably need to short unpopulated resistor R64
    and R69 as RE450v3

Signed-off-by: Roberto Valentini <valantin89@gmail.com>

Co-authored-by: Roberto Valentini <valantin89@gmail.com>
2021-07-12 14:05:52 +00:00
libinanshu
b7d4936042
add Pisen_WPR003N (#7307)
* Update arpbind.po

* Update sfe.po

* Update flowoffload.po

* add Pisen_WPR003N
2021-07-08 02:55:13 +00:00
coolsnowwolf
f85ad474b4 luci-app-turboacc: use SFE by default 2021-07-07 15:37:06 +08:00
Evgeniy Isaev
c8468aa59c ath79: add support for Xiaomi AIoT Router AC2350
Device specifications
* SoC: QCA9563 @ 775MHz (MIPS 74Kc)
* RAM: 128MiB DDR2
* Flash: 16MiB SPI-NOR (EN25QH128)
* Wireless 2.4GHz (SoC): b/g/n, 3x3
* Wireless 5Ghz (QCA9988): a/n/ac, 4x4 MU-MIMO
* IoT Wireless 2.4GHz (QCA6006): currently unusable
* Ethernet (AR8327): 3 LAN × 1GbE, 1 WAN × 1GbE
* LEDs: Internet (blue/orange), System (blue/orange)
* Buttons: Reset
* UART: through-hole on PCB ([VCC 3.3v](RX)(GND)(TX) 115200, 8n1)
* Power: 12VDC, 1,5A

MAC addresses map (like in OEM firmware)
  art@0x0     88:C3:97:*:57  wan/label
  art@0x1002  88:C3:97:*:2D  lan/wlan2g
  art@0x5006  88:C3:97:*:2C  wlan5g

Obtain SSH Access
1. Download and flash the firmware version 1.3.8 (China).
2. Login to the router web interface and get the value of `stok=` from the
   URL
3. Open a new tab and go to the following URL (replace <STOK> with the stok
   value gained above; line breaks are only for easier handling, please put
   together all four lines into a single URL without any spaces):
     http://192.168.31.1/cgi-bin/luci/;stok=<STOK>/api/misystem/set_config_iotdev
       ?bssid=any&user_id=any&ssid=-h%0Anvram%20set%20ssh_en%3D1%0Anvram%20commit
       %0Ased%20-i%20%27s%2Fchannel%3D.%2A%2Fchannel%3D%5C%5C%22debug%5C%5C%22%2F
       g%27%20%2Fetc%2Finit.d%2Fdropbear%0A%2Fetc%2Finit.d%2Fdropbear%20start%0A
4. Wait 30-60 seconds (this is the time required to generate keys for the
   SSH server on the router).

Create Full Backup
1. Obtain SSH Access.
2. Create backup of all flash (on router):
    dd if=/dev/mtd0 of=/tmp/ALL.backup
3. Copy backup to PC (on PC):
    scp root@192.168.31.1:/tmp/ALL.backup ./
Tip: backup of the original firmware, taken three times, increases the
chances of recovery :)

Calculate The Password
* Locally using shell (replace "12345/E0QM98765" with your router's serial
  number):
  On Linux
    printf "%s6d2df50a-250f-4a30-a5e6-d44fb0960aa0" "12345/E0QM98765" | \
    md5sum - | head -c8 && echo
  On macOS
    printf "%s6d2df50a-250f-4a30-a5e6-d44fb0960aa0" "12345/E0QM98765" | \
    md5 | head -c8
* Locally using python script (replace "12345/E0QM98765" with your
  router's serial number):
    wget https://raw.githubusercontent.com/eisaev/ax3600-files/master/scripts/calc_passwd.py
    python3.7 -c 'from calc_passwd import calc_passwd; print(calc_passwd("12345/E0QM98765"))'
* Online
    https://www.oxygen7.cn/miwifi/

Debricking (lite)
If you have a healthy bootloader, you can use recovery via TFTP using
programs like TinyPXE on Windows or dnsmasq on Linux. To switch the router
to TFTP recovery mode, hold down the reset button, connect the power
supply, and release the button after about 10 seconds. The router must be
connected directly to the PC via the LAN port.

Debricking
You will need a full dump of your flash, a CH341 programmer, and a clip
for in-circuit programming.

Install OpenWRT
1. Obtain SSH Access.
2. Create script (on router):
    echo '#!/bin/sh' > /tmp/flash_fw.sh
    echo >> /tmp/flash_fw.sh
    echo '. /bin/boardupgrade.sh' >> /tmp/flash_fw.sh
    echo >> /tmp/flash_fw.sh
    echo 'board_prepare_upgrade' >> /tmp/flash_fw.sh
    echo 'mtd erase rootfs_data' >> /tmp/flash_fw.sh
    echo 'mtd write /tmp/openwrt.bin firmware' >> /tmp/flash_fw.sh
    echo 'sleep 3' >> /tmp/flash_fw.sh
    echo 'reboot' >> /tmp/flash_fw.sh
    echo >> /tmp/flash_fw.sh
    chmod +x /tmp/flash_fw.sh
3. Copy `openwrt-ath79-generic-xiaomi_aiot-ac2350-squashfs-sysupgrade.bin`
   to the router (on PC):
    scp openwrt-ath79-generic-xiaomi_aiot-ac2350-squashfs-sysupgrade.bin \
    root@192.168.31.1:/tmp/openwrt.bin
4. Flash OpenWRT (on router):
    /bin/ash /tmp/flash_fw.sh &
5. SSH connection will be interrupted - this is normal.
6. Wait for the indicator to turn blue.

Signed-off-by: Evgeniy Isaev <isaev.evgeniy@gmail.com>
[improve commit message formatting slightly]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2021-07-05 22:49:15 +08:00
coolsnowwolf
843dd8fcd7 ath79: fix dw33d nor breed-factory build 2021-07-05 13:49:18 +08:00
coolsnowwolf
4f7aaacb00 adjust default package 2021-06-30 20:44:49 +08:00
coolsnowwolf
8e0f468729 ath79: add support for domywifi_dw33d-nor 2021-06-30 13:28:09 +08:00
coolsnowwolf
acf2ce3a64 ath79: add support for Arris SBC-AC1750 2021-06-30 13:17:37 +08:00
coolsnowwolf
5d99eeef7c luci-app-ipsec-vpnd: add strongswan-mod-kernel-libipsec 2021-06-30 13:04:33 +08:00
coolsnowwolf
0581b059ef ath79: add support for TP-Link TL-WDR6500 v2 2021-06-30 01:16:42 +08:00
lean
974a53a70c kernel: bump 5.4 to 5.4.125 2021-06-15 18:06:21 +08:00
lean
a3f1e837fd x64: fix grub2 booting 2021-06-15 17:58:07 +08:00
lean
7a50383ab6 add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
Beginner
c0bacc8f95
kernel: bump 5.4 to 5.4.124 (#6936)
Manually rebased:
  generic/hack-5.4/662-remove_pfifo_fast.patch

All other patches automatically rebased.

Build system: x86_64
Build-tested: ipq806x/R7800
Run-tested: ipq806x/R7800

No dmesg regressions, everything functional

Signed-off-by: John Audia <graysky@archlinux.us>
[manual changes to ramips/patches-5.10/835-asoc-add-mt7620-support.patch]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

Co-authored-by: John Audia <graysky@archlinux.us>
2021-06-07 15:02:02 +08:00
lean
a92a7010eb kernel: bump 5.4 to 5.4.119 2021-05-20 12:54:36 +08:00
lean
376ec4b6ed kernel: bump 5.4 to 5.4.114 2021-05-03 23:37:30 +08:00
coolsnowwolf
4eee58acd5 ath79: add support for Arris SBC-AC1750 2021-04-23 09:58:05 +08:00
lean
f2b11df031 kernel: bump 5.4 to 5.4.108 2021-03-31 12:20:32 +08:00
AmadeusGhost
f06ba13bd2
kernel: bump 5.4 to 5.4.105 (#6520) 2021-03-14 11:52:33 +08:00
AmadeusGhost
6b5b7884a8
ath79: domywifi_dw33d: support startup from breed (#6490)
Signed-off-by: Chen Minqiang <ptpt52@gmail.com>

Co-authored-by: Chen Minqiang <ptpt52@gmail.com>
2021-03-09 23:12:17 +08:00
AmadeusGhost
a8f9582ec9
kernel: bump 5.4 to 5.4.100 (#6420) 2021-02-24 19:27:20 +08:00
AmadeusGhost
5b1838d04d
kernel: bump 5.4 to 5.4.95 (#6340) 2021-02-08 17:13:28 +08:00
lean
28f854eb5f kernel: bump 5.4 to 5.4.86 2021-01-10 15:14:14 +08:00
AmadeusGhost
7dcc873eca
kernel: bump 5.4 to 5.4.85 (#6105) 2020-12-28 14:24:26 +08:00
AmadeusGhost
041d7abc4a
kernel: bump 5.4 to 5.4.79 and add mt7620-nand driver (#5830)
* kernel: bump 5.4 to 5.4.79

* ramips: add mt7620-nand driver for NAND flash

This add the mt7620-nand driver
and enable nand ubifs for subtarget mt7620

Signed-off-by: Chen Minqiang <ptpt52@gmail.com>

Co-authored-by: Chen Minqiang <ptpt52@gmail.com>
2020-11-28 16:43:16 +08:00
AmadeusGhost
5d98c4178e
kernel: bump 5.4 to 5.4.75 (#5780)
[mac80211]
 5b29614 mac80211: another fix for the sta connection monitor
 1ed6eb1 mac80211: backport sched_set_fifo_low
 cba4120 mac80211: add support for specifying a per-device scan list
 e0d482f rt2x00: mt7620: differentiate based on SoC's CHIP_VER

[package]
 amd64-microcode/intel-microcode/linux-firmware: update version
2020-11-14 00:52:35 +08:00
AmadeusGhost
8de358af76
ramips: XiaoYu-C5: reuse ralink-eth driver (#5605)
* treewide: remove support for 'DEVICE_COMPAT' variable

This commit removes support for the DEVICE_COMPAT variable due to it
requires relatively few changes.

* Revert "ramips: disable PORT 5 MAC RX/TX flow control by default"

The TX/RX flow control is not the cause of the TX timeouts issue

Signed-off-by: Chen Minqiang <ptpt52@gmail.com>

* ramips: net/mediatek fix logical error

fe_empty_txd() should return `tx_ring_size - 1` on ring empty, and
return 0 on ring full.

Signed-off-by: Chen Minqiang <ptpt52@gmail.com>

* ramips: net/mediatek disable eee

This disable eee for mt7530 ports, it causes the link down/up
issue, which happens when connecting to 100Mbit switch

Fixes: FS#1449

Signed-off-by: Chen Minqiang <ptpt52@gmail.com>

* ramips: XiaoYu-C5: reuse ralink-eth driver

Co-authored-by: Chen Minqiang <ptpt52@gmail.com>
2020-10-07 23:20:11 +08:00