u-boot.lists.denx.de archive mirror
 help / color / mirror / Atom feed
From: Linus Walleij <linus.walleij@linaro.org>
To: u-boot@lists.denx.de, Tom Rini <trini@konsulko.com>,
	Michael Nazzareno Trimarchi <michael@amarulasolutions.com>,
	William Zhang <william.zhang@broadcom.com>
Cc: "Anand Gore" <anand.gore@broadcom.com>,
	"Kursad Oney" <kursad.oney@broadcom.com>,
	"Joel Peshkin" <joel.peshkin@broadcom.com>,
	"Philippe Reynes" <philippe.reynes@softathome.com>,
	"Rafał Miłecki" <rafal@milecki.pl>,
	"Linus Walleij" <linus.walleij@linaro.org>
Subject: [PATCH v4 0/5] Add Broadcom Northstar basic support
Date: Fri,  7 Apr 2023 15:40:03 +0200	[thread overview]
Message-ID: <20230407134008.1939717-1-linus.walleij@linaro.org> (raw)

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 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.

It is a bit of a mystery to me who can merge this patches...
BRCM custodian?

Linus Walleij (5):
  nand: brcmnand: add iproc support
  mtd: rawnand: nand_base: Handle algorithm selection
  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 ++
 drivers/mtd/nand/raw/Kconfig               |   7 +
 drivers/mtd/nand/raw/brcmnand/Makefile     |   1 +
 drivers/mtd/nand/raw/brcmnand/iproc_nand.c | 148 ++++++
 drivers/mtd/nand/raw/nand_base.c           |  29 +-
 include/configs/bcmns.h                    |  49 ++
 include/dt-bindings/clock/bcm-nsp.h        |  51 ++
 15 files changed, 1063 insertions(+), 5 deletions(-)
 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 drivers/mtd/nand/raw/brcmnand/iproc_nand.c
 create mode 100644 include/configs/bcmns.h
 create mode 100644 include/dt-bindings/clock/bcm-nsp.h

-- 
2.39.2


             reply	other threads:[~2023-04-07 13:40 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-07 13:40 Linus Walleij [this message]
2023-04-07 13:40 ` [PATCH v4 1/5] nand: brcmnand: add iproc support Linus Walleij
2023-04-07 13:40 ` [PATCH v4 2/5] mtd: rawnand: nand_base: Handle algorithm selection Linus Walleij
2023-04-07 17:46   ` Tom Rini
2023-04-07 13:40 ` [PATCH v4 3/5] arm: dts: Import device tree for Broadcom Northstar Linus Walleij
2023-04-07 17:46   ` Tom Rini
2023-04-07 21:28     ` Linus Walleij
2023-04-07 21:39       ` Tom Rini
2023-04-07 13:40 ` [PATCH v4 4/5] arm: Add support for the Broadcom Northstar SoCs Linus Walleij
2023-04-07 13:40 ` [PATCH v4 5/5] board: Add new Broadcom Northstar board Linus Walleij
2023-04-07 17:46   ` Tom Rini
2023-04-07 21:31     ` Linus Walleij
2023-04-07 21:40       ` Tom Rini
2023-04-08 22:03         ` Linus Walleij
2023-04-13  7:49 ` [PATCH v4 0/5] Add Broadcom Northstar basic support Heinrich Schuchardt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230407134008.1939717-1-linus.walleij@linaro.org \
    --to=linus.walleij@linaro.org \
    --cc=anand.gore@broadcom.com \
    --cc=joel.peshkin@broadcom.com \
    --cc=kursad.oney@broadcom.com \
    --cc=michael@amarulasolutions.com \
    --cc=philippe.reynes@softathome.com \
    --cc=rafal@milecki.pl \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    --cc=william.zhang@broadcom.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).