[PATCH 0/3] ath25: update kernel from 5.4 to 5.10

Sergey Ryazanov ryazanov.s.a at gmail.com
Thu Dec 16 14:29:16 PST 2021


Hello,

I finally managed to update ath25 to the 5.10 kernel. Sorry for that it
took so long time, I was a quite busy this fall. The update itself is
relatively simple: mostly copy'n'refresh plus a few Ethernet fixes.

Run-time tested with:
* Abicom FreedomCPE (AR5312 based)
* D-Link DWL-2100AP (AR2312 based)
* D-Link DIR-300 (AR2317 based) - WiFi was not tested

I bricked my FON2202 in last year update. Now I have bricked my DIR-300.
Looks like I overwrote the "FIS directory" partition with a too fat
image during sysupgrade. I wonder should the kernel check the partition
boundary before attempting to write outside of it?

Anyway, the new code has not been tested against the AR2315 and AR2317
SoCs and the Marvell 88E6060 switch. Are there any brave testers here
who would like to help test the series with the Fonera 2.0g board? It
should run smoothly, but it is better to be shure.

The series is depend on earlier submitted kernel configuration cleanup
patches [1, 2]. The dependency is not strict and the code should build
even without it.

1. http://lists.openwrt.org/pipermail/openwrt-devel/2021-December/037387.html
2. http://patchwork.ozlabs.org/project/openwrt/list/?series=277243

CC: Hauke Mehrtens <hauke at hauke-m.de>
CC: Rui Salvaterra <rsalvaterra at gmail.com>
CC: Russell Senior <russell at personaltelco.net>

Sergey Ryazanov (3):
  kernel: 5.10: recover 88E6060 switches support
  ath25: refresh kernel 5.4 config
  ath25: add kernel 5.10 support

 target/linux/ath25/Makefile                   |    2 +-
 target/linux/ath25/config-5.10                |  127 ++
 target/linux/ath25/config-5.4                 |   56 +-
 .../ath25/patches-5.10/107-ar5312_gpio.patch  |  212 ++
 .../ath25/patches-5.10/108-ar2315_gpio.patch  |  363 ++++
 .../patches-5.10/110-ar2313_ethernet.patch    | 1735 +++++++++++++++++
 .../ath25/patches-5.10/120-spiflash.patch     |  631 ++++++
 .../ath25/patches-5.10/130-watchdog.patch     |  277 +++
 .../140-redboot_boardconfig.patch             |   60 +
 .../141-redboot_partition_scan.patch          |   44 +
 .../142-redboot_various_erase_size_fix.patch  |   72 +
 .../ath25/patches-5.10/210-reset_button.patch |   71 +
 .../220-enet_micrel_workaround.patch          |  111 ++
 .../ath25/patches-5.10/330-board_leds.patch   |  116 ++
 .../700-swconfig_switch_drivers.patch         |    9 +-
 15 files changed, 3829 insertions(+), 57 deletions(-)
 create mode 100644 target/linux/ath25/config-5.10
 create mode 100644 target/linux/ath25/patches-5.10/107-ar5312_gpio.patch
 create mode 100644 target/linux/ath25/patches-5.10/108-ar2315_gpio.patch
 create mode 100644 target/linux/ath25/patches-5.10/110-ar2313_ethernet.patch
 create mode 100644 target/linux/ath25/patches-5.10/120-spiflash.patch
 create mode 100644 target/linux/ath25/patches-5.10/130-watchdog.patch
 create mode 100644 target/linux/ath25/patches-5.10/140-redboot_boardconfig.patch
 create mode 100644 target/linux/ath25/patches-5.10/141-redboot_partition_scan.patch
 create mode 100644 target/linux/ath25/patches-5.10/142-redboot_various_erase_size_fix.patch
 create mode 100644 target/linux/ath25/patches-5.10/210-reset_button.patch
 create mode 100644 target/linux/ath25/patches-5.10/220-enet_micrel_workaround.patch
 create mode 100644 target/linux/ath25/patches-5.10/330-board_leds.patch

-- 
2.32.0




More information about the openwrt-devel mailing list