[RFC PATCH v1 0/5] arm64: dts: imx8mm: add common -binman.dtsi and further clean-up

Marcel Ziswiler marcel at ziswiler.com
Thu Aug 26 14:14:04 CEST 2021


From: Marcel Ziswiler <marcel.ziswiler at 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



More information about the U-Boot mailing list