[PATCH v2 0/7] arm64: dts: imx8mm: add common -binman.dtsi and further clean-up

Marcel Ziswiler marcel at ziswiler.com
Fri Oct 8 23:02:28 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. Move the comon part of
that configuration to the common imx8mm-u-boot.dtsi include file.

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] and Tim's switching imx8mm_venice to
using binman to pack images [4].

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

[1] https://marc.info/?l=u-boot&m=163366377832026
[2] https://marc.info/?l=u-boot&m=163365299927718
[3] https://marc.info/?l=u-boot&m=162972343709264
[4] https://marc.info/?l=u-boot&m=162983187605276

Changes in v2:
- New patch preparing cl-iot-gate.
- Morph common binman dtsi into regular common u-boot dtsi as discussed
  on mailing list.
- Re-based.
- Rather than doing that clean-up to the separate binman dtsi now do it
  to the common u-boot dtsi one.

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 (7):
  imx8mm-cl-iot-gate: fix imximage intermediate binary naming
  arm64: dts: imx8mm-cl-iot-gate-u-boot.dtsi: alphabetically re-order
  arm64: dts: imx8mm-cl-iot-gate-u-boot.dtsi: use common
    imx8mm-u-boot.dtsi
  arm64: dts: imx8mm: use common binman configuration
  arm64: dts: imx8mm-u-boot.dtsi: alphabetically re-order properties
  arm64: dts: imx8mm-u-boot.dtsi: explicitly add spl filename
  arm64: dts: imx8mm-u-boot.dtsi: improve odd blob-ext naming

 .../dts/imx8mm-cl-iot-gate-optee-u-boot.dtsi  | 209 ++++--------------
 arch/arm/dts/imx8mm-cl-iot-gate-u-boot.dtsi   | 188 +++-------------
 arch/arm/dts/imx8mm-evk-u-boot.dtsi           | 123 -----------
 arch/arm/dts/imx8mm-u-boot.dtsi               | 149 ++++++++++++-
 arch/arm/dts/imx8mm-venice-u-boot.dtsi        | 119 ----------
 arch/arm/dts/imx8mm-verdin-u-boot.dtsi        | 122 +---------
 .../imximage-8mm-lpddr4.cfg                   |   2 +-
 7 files changed, 212 insertions(+), 700 deletions(-)

-- 
2.26.2



More information about the U-Boot mailing list