All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marcel Ziswiler <marcel@ziswiler.com>
To: u-boot@lists.denx.de
Cc: Fabio Estevam <festevam@gmail.com>,
	Tim Harvey <tharvey@gateworks.com>,
	Simon Glass <sjg@chromium.org>,
	Frieder Schrempf <frieder.schrempf@kontron.de>,
	Stefano Babic <sbabic@denx.de>,
	Marcel Ziswiler <marcel.ziswiler@toradex.com>,
	Kirill Kapranov <kirill.kapranov@compulab.co.il>,
	"NXP i.MX U-Boot Team" <uboot-imx@nxp.com>,
	Peng Fan <peng.fan@nxp.com>, Tom Rini <trini@konsulko.com>,
	Valentin Raevsky <valentin@compulab.co.il>,
	"Ying-Chun Liu (PaulLiu)" <paul.liu@linaro.org>
Subject: [RFC PATCH v1 0/5] arm64: dts: imx8mm: add common -binman.dtsi and further clean-up
Date: Thu, 26 Aug 2021 14:14:04 +0200	[thread overview]
Message-ID: <20210826121409.220124-1-marcel@ziswiler.com> (raw)

From: Marcel Ziswiler <marcel.ziswiler@toradex.com>


With the move to using binman to generate SPL aka u-boot-spl-ddr.bin and
U-Boot proper aka u-boot.itb every board now covers such configuration
in its own U-Boot specific device tree include. Introduce a new common
imx8mm-binman.dtsi which covers the common part of that configuration.

The initial patch fixes an issue with intermediate binary naming for the
imx8mm-cl-iot-gate. And subsequent patches further clean up that dtsi.

This series is based on Peng's binman conversion of late [1], my Verdin
iMX8M Mini target refresh [2], Fabio's generating a single bootable
flash.bin again for imx8mm-evk [3], Tim's switching imx8mm_venice to
using binman to pack images [4] and Frieder's support for Kontron
Electronics i.MX6UL/ULL and i.MX8MM SoMs [5].

This series has been run-time tested on Verdin iMX8M Mini. The other
targets were only compile tested.

Please note that for now, I left out the following intricacies of
imx8mm-venice-u-boot.dtsi. Not quite sure what exactly those are used
for.

                        fit,fdt-list = "of-list";
...
                                @fdt-SEQ {
...
                                default = "@config-DEFAULT-SEQ";
...
                                @config-SEQ {
...
                                        fdt = "fdt-SEQ";

[1] https://marc.info/?l=u-boot&m=162908367004699
[2] https://marc.info/?l=u-boot&m=162990457410422
[3] https://marc.info/?l=u-boot&m=162972343709264
[4] https://marc.info/?l=u-boot&m=162983187605276
[5] https://marc.info/?l=u-boot&m=162972880612450

Changes in v1:
- This was suggested by Simon on my earlier patch set upon which we
  decided to first break this up into a common binman dtsi and then
  subsequently do such further improvements.

Marcel Ziswiler (5):
  imx8mm-cl-iot-gate: fix imximage intermediate binary naming
  arm64: dts: imx8mm: add common -binman.dtsi
  arm64: dts: imx8mm-binman.dtsi: alphabetically re-order properties
  arm64: dts: imx8mm-binman.dtsi: explicitly add spl filename
  arm64: dts: imx8mm-binman.dtsi: improve odd blob-ext naming

 arch/arm/dts/imx8mm-binman.dtsi               | 146 ++++++++++++++++++
 arch/arm/dts/imx8mm-cl-iot-gate-u-boot.dtsi   | 126 ++-------------
 arch/arm/dts/imx8mm-evk-u-boot.dtsi           | 124 +--------------
 .../dts/imx8mm-kontron-n801x-s-u-boot.dtsi    | 123 +--------------
 arch/arm/dts/imx8mm-venice-u-boot.dtsi        | 120 +-------------
 arch/arm/dts/imx8mm-verdin-u-boot.dtsi        | 123 +--------------
 .../imximage-8mm-lpddr4.cfg                   |   2 +-
 7 files changed, 167 insertions(+), 597 deletions(-)
 create mode 100644 arch/arm/dts/imx8mm-binman.dtsi

-- 
2.26.2


             reply	other threads:[~2021-08-26 12:14 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-26 12:14 Marcel Ziswiler [this message]
2021-08-26 12:14 ` [RFC PATCH v1 1/5] imx8mm-cl-iot-gate: fix imximage intermediate binary naming Marcel Ziswiler
2021-08-26 12:14 ` [RFC PATCH v1 2/5] arm64: dts: imx8mm: add common -binman.dtsi Marcel Ziswiler
2021-08-26 14:57   ` Tim Harvey
2021-08-26 16:01     ` Marcel Ziswiler
2021-10-06 23:51     ` Marcel Ziswiler
2021-08-27  9:21   ` Teresa Remmet
2021-08-27 10:59     ` Marcel Ziswiler
2021-08-27 15:12       ` Tim Harvey
2021-08-28 12:55         ` Marcel Ziswiler
2021-08-26 12:14 ` [RFC PATCH v1 3/5] arm64: dts: imx8mm-binman.dtsi: alphabetically re-order properties Marcel Ziswiler
2021-08-26 12:14 ` [RFC PATCH v1 4/5] arm64: dts: imx8mm-binman.dtsi: explicitly add spl filename Marcel Ziswiler
2021-08-26 12:14 ` [RFC PATCH v1 5/5] arm64: dts: imx8mm-binman.dtsi: improve odd blob-ext naming Marcel Ziswiler
2021-08-26 14:58 ` [RFC PATCH v1 0/5] arm64: dts: imx8mm: add common -binman.dtsi and further clean-up Tim Harvey
2021-09-02 17:08 ` Fabio Estevam
2021-10-06 23:53   ` Marcel Ziswiler

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=20210826121409.220124-1-marcel@ziswiler.com \
    --to=marcel@ziswiler.com \
    --cc=festevam@gmail.com \
    --cc=frieder.schrempf@kontron.de \
    --cc=kirill.kapranov@compulab.co.il \
    --cc=marcel.ziswiler@toradex.com \
    --cc=paul.liu@linaro.org \
    --cc=peng.fan@nxp.com \
    --cc=sbabic@denx.de \
    --cc=sjg@chromium.org \
    --cc=tharvey@gateworks.com \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    --cc=uboot-imx@nxp.com \
    --cc=valentin@compulab.co.il \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.