[PATCH 0/4] OpenWrt support for D-Link DIR-890L

Linus Walleij linus.walleij at linaro.org
Sat May 13 14:21:33 PDT 2023


This patch set adds support for the BCM53xx-based D-Link DIR-890L
router to OpenWrt. It's one of the devices that DD-WRT would
at one point support.

The kernel image grew bigger than what the built-in bootloader
SEAMA loader could handle, so I had to first add BCM53xx ARM
(Northstar) support to U-Boot, which is the first patch in the
patch set. I don't know if the already supported DIR-885L
also has this problem, I guess so. If it does, I can easily
fix it up as well. (I added hooks for it and explanations on
how to do it, pretty easily.)

Now the built-in bootloader loads U-Boot and U-Boot will load
the kernel. The built-in bootloader is in NOR flash and the
image we create with U-Boot+kernel+rootfs is in the bigger
NAND flash.

The flash is standard OpenWrt split NAND partition using UBIFS
for the rootfs on the NAND chip.

Linus Walleij (4):
  uboot-bcm53xx: Add U-Boot for NorthStar BCM53xx
  bcm53xx: Add support for D-Link DIR-890L
  bcm53xx: dir885/dir890: Tag both partitions as SEAMA
  bcm53xx: Add network configuration for DIR-890L

 .github/labeler.yml                           |   1 +
 package/boot/uboot-bcm53xx/Makefile           |  37 +
 ...0001-nand-brcmnand-add-iproc-support.patch | 199 ++++++
 ...nand_base-Handle-algorithm-selection.patch |  80 +++
 ...t-device-tree-for-Broadcom-Northstar.patch | 659 ++++++++++++++++++
 ...port-for-the-Broadcom-Northstar-SoCs.patch |  66 ++
 ...ard-Add-new-Broadcom-Northstar-board.patch | 372 ++++++++++
 .../bcm53xx/base-files/etc/board.d/02_network |   5 +
 .../base-files/etc/uci-defaults/09_fix_crc    |   3 +-
 .../base-files/lib/upgrade/platform.sh        |   1 +
 target/linux/bcm53xx/image/Makefile           |  21 +
 ...-BCM5301X-Describe-partition-formats.patch |  15 +-
 12 files changed, 1456 insertions(+), 3 deletions(-)
 create mode 100644 package/boot/uboot-bcm53xx/Makefile
 create mode 100644 package/boot/uboot-bcm53xx/patches/0001-nand-brcmnand-add-iproc-support.patch
 create mode 100644 package/boot/uboot-bcm53xx/patches/0002-mtd-rawnand-nand_base-Handle-algorithm-selection.patch
 create mode 100644 package/boot/uboot-bcm53xx/patches/0003-arm-dts-Import-device-tree-for-Broadcom-Northstar.patch
 create mode 100644 package/boot/uboot-bcm53xx/patches/0004-arm-Add-support-for-the-Broadcom-Northstar-SoCs.patch
 create mode 100644 package/boot/uboot-bcm53xx/patches/0005-board-Add-new-Broadcom-Northstar-board.patch

-- 
2.34.1




More information about the openwrt-devel mailing list