[PATCH v5 0/3] Add Broadcom Northstar basic support

Linus Walleij linus.walleij at linaro.org
Mon Apr 24 09:38:27 CEST 2023


This adds the device trees and minimal code needed to run
U-Boot on Broadcom Northstar SoCs.

This is needed to properly boot the D-Link DIR-890L router
as it refuse to directly boot compressed kernels bigger
than 2MB, and well our compressed kernel is bigger than
2MB so let's put in U-Boot.

While it is a bit tailored to this usecase (it can probably
also be used with the DIR-885L without modifications) it
forms a base that can be used to support more Northstar
boards.

I have this working with DIR-890L and OpenWrt:
https://dflund.se/~triad/krad/dlink-dir-890l/

ChangeLog v4->v5:
- Drop the iProc NAND and NAND base patches that were
  merged to the U-Boot master.
- Rebase on the master branch and test.
- Add some documentation.
ChangeLog v3->v4:
- Rewrote the algorithm detection patch to be more
  careful so as to fix Tom's regression.
ChangeLog v1->v3:
- Bundle with the iproc NAND and nand base pacthes
  as the iproc patch is a prerequisite.
- Jump from v1->v3 as the other patches was at version
  v3.


Linus Walleij (3):
  arm: dts: Import device tree for Broadcom Northstar
  arm: Add support for the Broadcom Northstar SoCs
  board: Add new Broadcom Northstar board

 arch/arm/Kconfig                    |  22 +-
 arch/arm/dts/Makefile               |   2 +
 arch/arm/dts/bcm5301x.dtsi          | 581 ++++++++++++++++++++++++++++
 arch/arm/dts/ns-board.dts           |  57 +++
 board/broadcom/bcmns/Kconfig        |  12 +
 board/broadcom/bcmns/MAINTAINERS    |   6 +
 board/broadcom/bcmns/Makefile       |   2 +
 board/broadcom/bcmns/ns.c           |  60 +++
 configs/bcmns_defconfig             |  41 ++
 doc/board/broadcom/index.rst        |   1 +
 doc/board/broadcom/northstar.rst    |  44 +++
 include/configs/bcmns.h             |  49 +++
 include/dt-bindings/clock/bcm-nsp.h |  51 +++
 13 files changed, 927 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm/dts/bcm5301x.dtsi
 create mode 100644 arch/arm/dts/ns-board.dts
 create mode 100644 board/broadcom/bcmns/Kconfig
 create mode 100644 board/broadcom/bcmns/MAINTAINERS
 create mode 100644 board/broadcom/bcmns/Makefile
 create mode 100644 board/broadcom/bcmns/ns.c
 create mode 100644 configs/bcmns_defconfig
 create mode 100644 doc/board/broadcom/northstar.rst
 create mode 100644 include/configs/bcmns.h
 create mode 100644 include/dt-bindings/clock/bcm-nsp.h

-- 
2.40.0



More information about the U-Boot mailing list