Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9E03DC432BE for ; Thu, 26 Aug 2021 12:14:59 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0A15E6108F for ; Thu, 26 Aug 2021 12:14:59 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 0A15E6108F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ziswiler.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 909D382F4C; Thu, 26 Aug 2021 14:14:45 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=ziswiler.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 1A4C382F2B; Thu, 26 Aug 2021 14:14:34 +0200 (CEST) Received: from mout.perfora.net (mout.perfora.net [74.208.4.194]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id B0F2F82DF7 for ; Thu, 26 Aug 2021 14:14:28 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=ziswiler.com Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=marcel@ziswiler.com Received: from toolbox.cardiotech.int ([81.221.236.183]) by mrelay.perfora.net (mreueus003 [74.208.5.2]) with ESMTPSA (Nemesis) id 0LxhYD-1n6ze80NAp-017I5a; Thu, 26 Aug 2021 14:14:15 +0200 From: Marcel Ziswiler To: u-boot@lists.denx.de Cc: Fabio Estevam , Tim Harvey , Simon Glass , Frieder Schrempf , Stefano Babic , Marcel Ziswiler , Kirill Kapranov , "NXP i.MX U-Boot Team" , Peng Fan , Tom Rini , Valentin Raevsky , "Ying-Chun Liu (PaulLiu)" 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 Message-Id: <20210826121409.220124-1-marcel@ziswiler.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:ShBXRJ62WQRMdKuVWWgSittQtXwyoi/yfz+PVq2dZ79KIyPs5iD 91yFFMbEl/16gKG1QxDtQa4VLsuokFDbZM80pwpvOYRnr8G1Mgt0NlTWfYOeiK46TWCUyRq n9uyw8MoXAjaXM9DwHHdQ8a07LiH5RNDxRd5zj3VJymovmtQQoz0VY0FOIHayUvBW9Z548z zRgTfmc88k15jwWlSFHSQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:x0rhcFSU9Zo=:lYi33R90rl7vzURIfgfASE iZ/4Ny7lh11CoMiMX8JabyNPqH6O3QQu2ks9dIXbunLnryweYu7sPsyeNHVWuCQouZdr/1eCe 7FItqf8w6VIx7tKVInABjSzztaX0jNCV/Ib5p4Bd7olBFoswVwZISY0axwhnakAghYry+yG6k VLKZrE6tVjb3Bq5UdG+0rYjy8Yo6GKOfYbVbhzJZqdCvj4umruAIQJ3zgQHfwfHzYygxAMMoO hqx9ANADg99TAAckiPZvuFoIbf7/owqmwur/fiB4KrubPeTqGs2fzwkjQMr8WVGWfDHFrJrCp gYmwLs3o62CNLyFnT5Gh8GXPskF7oRuQLKYJuSiF505L2joz+1wpxztpVFJ4yGj35FT/A9AT8 neIWAwjq0lBH8voK9uadsepZfc5nVm84j/qHqOOdax+YKBjcw2tdJXpfRluixZ6et7zvb6t73 gFej5CqEWPaPQ+6vtXJGAKUXPNoH8m/rNHxHqrLb6zrTlor8SMDv+rtPRl1l4okHTg1qXqxpX d13kgux/Pv00NYVYe+YWw+xFdl+UtIXclTzljUu0h5B+oNWSZv3qYUAcn3MTvxQQI2Y3VI9Ti CcdHkbL6HQt+AEuI0/69bPKEO/ptBUIanGRkEvoO22fI18mK3r961k62DgSSDMcI59qC6ePSb g7SYV39mja3T6mFmkBaZ2kZXeRpq76Mpx0Pb8z0KLRiwKDjmOuIVNdb6/2pFsihMYR1U8xRJF FaEl+Oe8iKWy0rE1BoiU+jNhq6TBDA8yKNdx4Q== X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean From: Marcel Ziswiler 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