[PATCH 0/5] mediatek: Add support for Buffalo WSR-2533DHP2

Hauke Mehrtens hauke at hauke-m.de
Tue Mar 9 23:52:09 GMT 2021


These patches are adding support for different TRX magics and later 
support for the Buffalo WSR-2533DHP2.
This was developed mostly by INAGAKI Hiroshi and I did some fixes and 
cleaned the patches up in the last days.

I added the two patches also for kernel 5.4, I needed this in the 
beginning till I found out why kernel 5.10 is not booting. Now kernel 
5.10 is working fine with this device. I can also remove the kernel 5.4
patches.

@Hiroshi: Could you please give your Signed-off-by if you are fine with this.

Hauke Mehrtens (3):
  mediatek: Fix mtk parallel nand driver
  tools: otrx: allow own magic
  mediatek: Support non standard trx magic values

INAGAKI Hiroshi (2):
  mtd: Add option for TRX magic to fixtrx
  mediatek: Add support for Buffalo WSR-2533DHP2

 package/boot/uboot-envtools/files/mediatek    |   3 +
 package/system/mtd/src/Makefile               |   1 +
 package/system/mtd/src/mtd.c                  |  14 +-
 package/system/mtd/src/mtd.h                  |   1 +
 package/system/mtd/src/trx.c                  |   8 +-
 .../dts/mt7622-buffalo-wsr-2533dhp2.dts       | 336 ++++++++++++++++++
 target/linux/mediatek/image/mt7622.mk         |  64 ++++
 .../mt7622/base-files/etc/board.d/02_network  |   4 +
 .../base-files/etc/uci-defaults/09_fix_crc    |  10 +
 .../mt7622/base-files/lib/upgrade/buffalo.sh  | 126 +++++++
 .../mt7622/base-files/lib/upgrade/platform.sh |  15 +
 target/linux/mediatek/mt7622/config-5.10      |   1 +
 ...trx-Allow-to-specify-trx-magic-in-DT.patch |  75 ++++
 ...ove-dependency-to-BRCM-architectures.patch |  23 ++
 ...Fix-WAITRDY-break-condition-and-time.patch |  36 ++
 ...trx-Allow-to-specify-trx-magic-in-DT.patch |  75 ++++
 ...ove-dependency-to-BRCM-architectures.patch |  23 ++
 tools/firmware-utils/src/otrx.c               |  15 +-
 18 files changed, 822 insertions(+), 8 deletions(-)
 create mode 100644 target/linux/mediatek/dts/mt7622-buffalo-wsr-2533dhp2.dts
 create mode 100644 target/linux/mediatek/mt7622/base-files/etc/uci-defaults/09_fix_crc
 create mode 100644 target/linux/mediatek/mt7622/base-files/lib/upgrade/buffalo.sh
 create mode 100644 target/linux/mediatek/patches-5.10/350-mtd-parsers-trx-Allow-to-specify-trx-magic-in-DT.patch
 create mode 100644 target/linux/mediatek/patches-5.10/351-mtd-parsers-Remove-dependency-to-BRCM-architectures.patch
 create mode 100644 target/linux/mediatek/patches-5.10/360-mtd-rawnand-mtk-Fix-WAITRDY-break-condition-and-time.patch
 create mode 100644 target/linux/mediatek/patches-5.4/0350-mtd-parsers-trx-Allow-to-specify-trx-magic-in-DT.patch
 create mode 100644 target/linux/mediatek/patches-5.4/0351-mtd-parsers-Remove-dependency-to-BRCM-architectures.patch

-- 
2.30.1




More information about the openwrt-devel mailing list