U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Vincent Jardin <vjardin@free.fr>
To: Peter Robinson <pbrobinson@gmail.com>
Cc: u-boot@lists.u-boot-project.org, Wasim Khan <wasim.khan@nxp.com>,
	Tom Rini <trini@konsulko.com>, Peng Fan <peng.fan@nxp.com>,
	Priyanka Jain <priyanka.jain@nxp.com>,
	Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com>
Subject: Re: [PATCH v1 00/23] board: nxp: add the Free Mobile Nodebox v3 CPU Module (LX2160A)
Date: Mon, 17 Aug 2026 18:44:59 +0200	[thread overview]
Message-ID: <aoM6i7TKGcfAydpp@L30177.local> (raw)
In-Reply-To: <CALeDE9OTtd7Oy7sVKsdukfnwdrV3Sg5d1F34muBQgZdsOaMoKA@mail.gmail.com>

Hi Peter,

Thanks for the feedbacks, see below.

Le 17/08/26 17:01, Peter Robinson a écrit :
> On Mon, 17 Aug 2026 at 16:32, Vincent Jardin <vjardin@free.fr> wrote:
> >
> >
> > This series adds the Free Mobile Nodebox v3 CPU Module, an NXP
> > LX2160A based board (16x Cortex-A72, DPAA2). U-Boot is the BL33
> > payload of TF-A: BL2 trains the DDR, BL31 hands over, and U-Boot
> > boots a FIT image (kernel + MC firmware + DPC/DPL) from a single
> > FlexSPI NOR. The module plugs onto several carrier boards (NBV30,
> > NBV32, etc.) that share one kernel image but differ in their device
> > tree and DPAA2 data path.
> 
> Why just FIT and not UEFI?

Because this layerscape platform shall not support UEFI by design.

> > The port is modelled on the LX2160ARDB / QDS boards and lives next
> > to them under board/nxp/lx2160a/, reusing their SoC level code.
> > Board specific behaviour is wired through EVENT_SPY hooks rather
> > than weak symbol overrides, and the dependencies each hook needs
> > are forced on by hidden default-y Kconfig bools under
> > `if TARGET_NBXV3`, so a hook cannot silently turn into a no-op.
> >
> > The series is in three stages:
> >
> >  1. Base port and documentation (patches 1-2): TARGET_NBXV3, the
> >     defconfig, a minimal device tree, the MAINTAINERS entry, the
> >     Ethernet wiring file and doc/board/nxp/nbxv3.rst.
> >
> >  2. Board code (patches 3-9): DPAA2 Ethernet on DPMAC17 through the
> >     RTL8211FD PHY; the +0V8_VDD core rail (MPS MPQ8785 PMBus
> >     regulator snapshot, PMBus PSU snapshot, VID fuse driven voltage
> >     trim through UCLASS_REGULATOR); the ${carrier} selection that
> >     lets one FIT carry a DPC/DPL/DTB set per carrier; the ZL30733 /
> >     ZL30643 DPLL traces; the +3V3_FAN rail hook.
> >
> >  3. Build and device tree settings (patches 10-23): one small
> >     commit per peripheral or features, each enabling its DT nodes and
> >     defconfig symbols.
> 
> The device tree should be sent upstream to the Linux kernel and then I
> think most of 10-23 should be compacted to a single patch.

I get your point of Linux first and uboot policy, however, this board
follow the legacy support of other NXP's lx2160/layerscape boards. For
example,

 arch/arm/dts/fsl-lx2160a-rdb.dts
 arch/arm/dts/fsl-lx2160a-qds.dts
 arch/arm/dts/fsl-lx2162a-qds.dts
  ...

and LX2160A defconfigs currently use CONFIG_DEFAULT_DEVICE_TREE without
CONFIG_OF_UPSTREAM.

Moreover, per https://docs.u-boot.org/en/latest/develop/devicetree/control.html,
"Configuration" section: it says that SoC/board maintainers are encouraged to
migrate to dts/upstream/, but also says that when dts/upstream/ has not yet
received the device tree for newly added board support, one option is to add it as:
  arch/<arch>/dts/<name>.dts
with CONFIG_OF_UPSTREAM disabled.

So how would it be acceptable to have fsl-lx2160a-nbxv3.dts under arch/arm/dts/,
consistently with the existing LX2160A boards and the option described in the
U-Boot documentation?

Should those patches 10-23 be 1 commit, I can squash them too: I wanted to record
the logics of each feature sets.

Best regards,
  Vincent

  reply	other threads:[~2026-08-17 16:45 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-17 15:31 [PATCH v1 00/23] board: nxp: add the Free Mobile Nodebox v3 CPU Module (LX2160A) Vincent Jardin
2026-08-17 15:31 ` [PATCH v1 01/23] board: nxp: add Nodebox v3 CPU Module (LX2160A) base port Vincent Jardin
2026-08-17 15:31 ` [PATCH v1 02/23] doc: board: nxp: add the Nodebox v3 CPU Module (nbxv3) Vincent Jardin
2026-08-17 15:31 ` [PATCH v1 03/23] board: nbxv3: enable RTL8211FD PHY for 1G DPAA2 Vincent Jardin
2026-08-17 15:31 ` [PATCH v1 04/23] board: nbxv3: add MPQ8785 PMBus traces + DT regulator Vincent Jardin
2026-08-17 15:31 ` [PATCH v1 05/23] board: nbxv3: add boot-time PMBus PSU traces Vincent Jardin
2026-08-17 15:31 ` [PATCH v1 06/23] board: nbxv3: add VID-fuse driven core voltage Vincent Jardin
2026-08-17 15:31 ` [PATCH v1 07/23] board: nbxv3: select carrier at boot Vincent Jardin
2026-08-17 15:31 ` [PATCH v1 08/23] board: nbxv3: add DPLL status (ZL30733, ZL30643) Vincent Jardin
2026-08-17 15:31 ` [PATCH v1 09/23] board: nbxv3: enable +3V3_FAN rail fixed regulator Vincent Jardin
2026-08-17 15:31 ` [PATCH v1 10/23] arm: dts: layerscape: nbxv3: enable UART0..UART3 Vincent Jardin
2026-08-17 15:31 ` [PATCH v1 11/23] board: nbxv3: enable FlexSPI boot NOR (GD55LB02GF) and FIT boot Vincent Jardin
2026-08-17 15:31 ` [PATCH v1 12/23] board: nbxv3: store the environment in the boot NOR Vincent Jardin
2026-08-17 15:31 ` [PATCH v1 13/23] board: nbxv3: enable eMMC on eSDHC2 Vincent Jardin
2026-08-17 15:31 ` [PATCH v1 14/23] board: nbxv3: enable PCIe root complexes (PCIE3..PCIE6) Vincent Jardin
2026-08-17 15:31 ` [PATCH v1 15/23] board: nbxv3: enable both USB host controllers Vincent Jardin
2026-08-17 15:31 ` [PATCH v1 16/23] board: nbxv3: describe the I2C buses and their on module devices Vincent Jardin
2026-08-17 15:31 ` [PATCH v1 17/23] arm: dts: nbxv3: add the +3V3_FAN regulator Vincent Jardin
2026-08-17 15:31 ` [PATCH v1 18/23] board: nbxv3: enable JC42 + QorIQ TMU + PMBus thermal Vincent Jardin
2026-08-17 15:31 ` [PATCH v1 19/23] board: nbxv3: enable HW crypto (CAAM) and rng command Vincent Jardin
2026-08-17 15:31 ` [PATCH v1 20/23] arm: dts: nbxv3: bump SBSA watchdog timeout to 120s Vincent Jardin
2026-08-17 15:31 ` [PATCH v1 21/23] board: nbxv3: add operator commands and JTAG semihosting Vincent Jardin
2026-08-17 15:31 ` [PATCH v1 22/23] board: nbxv3: enable GPIO controllers with line names and hogs Vincent Jardin
2026-08-17 15:31 ` [PATCH v1 23/23] board: nbxv3: add the boot environment (FIT over MC, MC memory, PS1) Vincent Jardin
2026-08-17 16:01 ` [PATCH v1 00/23] board: nxp: add the Free Mobile Nodebox v3 CPU Module (LX2160A) Peter Robinson
2026-08-17 16:44   ` Vincent Jardin [this message]
2026-08-20 11:51     ` Peter Robinson
2026-08-20 12:27       ` Simon Glass
2026-08-20 12:31         ` Peter Robinson

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=aoM6i7TKGcfAydpp@L30177.local \
    --to=vjardin@free.fr \
    --cc=meenakshi.aggarwal@nxp.com \
    --cc=pbrobinson@gmail.com \
    --cc=peng.fan@nxp.com \
    --cc=priyanka.jain@nxp.com \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.u-boot-project.org \
    --cc=wasim.khan@nxp.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