[PATCH v2 2/2] board: traverse: add initial Ten64 support

Mathew McBride matt at traverse.com.au
Wed Nov 17 23:09:44 CET 2021

Hi Tom,

On Fri, Nov 12, 2021, at 5:20 AM, Tom Rini wrote:
> On Wed, Nov 10, 2021 at 04:46:39AM +0000, Mathew McBride wrote:
> > Signed-off-by: Mathew McBride <matt at traverse.com.au>
> > ---
> >  arch/arm/Kconfig                   |  16 ++
> >  arch/arm/dts/Makefile              |   2 +
> >  arch/arm/dts/fsl-ls1088a-ten64.dts | 377 +++++++++++++++++++++++++
> What is the status of this dts with upstream Linux?
It's been in Linux since v5.15, though there is going to be some flux between U-Boot and Linux for a short while as some devices will be introduced into one or the other other first.
e.g traverse,ten64-controller does not and will not have a Linux (kernel) counterpart but I'll try and get it added to the dt yaml's for validation.

(The upstream DTS intentionally left out some I2C devices that don't have Linux drivers or formal DT bindings yet)

> [snip]
> > +#define QSPI_NOR_BOOTCOMMAND "run distro_bootcmd"
> > +#define SD_BOOTCOMMAND "run distro_bootcmd"
> will be "run distro_bootcmd".  Thanks!
This actually comes about from fsl_setenv_bootcmd:
Which gets hooked into board_late_init

The main reason I understand that exists is because the secure boot (FSL trust architecture) setup differs a depending on where the board has booted from:
(There is also a similar issue with mcinitcmd which does affect us)

Since trust architecture isn't supported on our board yet, it just collapses down to "run distro_bootcmd" regardless of where the board started from.

I guess this behaviour could be hidden behind a Kconfig so it's opt-in?

- Matt

More information about the U-Boot mailing list