From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 9DD65C433FE for ; Fri, 4 Nov 2022 13:03:22 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 23BC2851F6; Fri, 4 Nov 2022 14:03:20 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="pzdqd4Ni"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 9E93B85104; Fri, 4 Nov 2022 14:03:17 +0100 (CET) Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 2EDA285219 for ; Fri, 4 Nov 2022 14:03:12 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=oliver.graute@gmail.com Received: by mail-ej1-x632.google.com with SMTP id d26so13033294eje.10 for ; Fri, 04 Nov 2022 06:03:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=user-agent:in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:to:from:date:from:to:cc:subject :date:message-id:reply-to; bh=A14w0i1tsNS936lZhUfWCaNjjIRz/iRsXb6wJGj60L4=; b=pzdqd4NixsFPq7KO3Ls/GjDebupMFbz/YpfBo2Er54FGGQZSIbVls19hHntvS1uXoI BTZhAQgFq0e0tJwr8d131HYH8u+7TaAYItjuq1o7xWkRbplFQ1M2/14Dx9vx6/b+TOjD pJjynF79FeASlSPMa8o3MSwu1vBswahtj5e3jCBTRDxHtSOzlAZ2sOzK2OCFrFCsSGlz qTVDAlPsEZc/9asVvthrTza84ReoSXAH+DfqINetaothFuJ+DLY0q9eOKp0K4tiQDT4v OKMC71/ymkGX/6SSLGhXb4Z+aKq7Ragmye9AKxdd36W0Bd6Z2DEKcfxPJikJVszbsgkZ ulSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=user-agent:in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:to:from:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=A14w0i1tsNS936lZhUfWCaNjjIRz/iRsXb6wJGj60L4=; b=WgG0ml82+8qYKWO12PD/NymgCKmm/y/21I+Xg20Js50gLRqjBg4/TZPrNhgpw6d+nB gojTKBKdrVAvb8exUTW4Zq4BidbMedP3K4hMGZ4eUnww8qwKDA+AB0L8pIp6XPDZC7Dk 5tFfc05F3pM8wn04Ihj8jg0zPT8Ka+bGP1bBZlFj8vjKUwALl4D1JRL3gj5/PyX32VTN qMRpq09mpk5Kb4KroMH7LUPHeFdl+3DqwB/wVmF5WBkSlkBwt+A1hqfx0G90UXFaDyZb peUd+35kcRVTK095pq4ld/if1gJhJbiCt2CLgdHOiiVBY1wEmfCuX+0mrHYkoqF5m8JO GMuw== X-Gm-Message-State: ACrzQf3khozOBlPeJSIjH5hbZpw5L5HI7bDoINAh5Kjsa4f25dZ1Agbx Vt2cUmDvJnuGjeHSwFTuC+5leyRk2V8YFg== X-Google-Smtp-Source: AMsMyM5k/XJeLFLp5JbBNpyJPXXnwC0AkLBout2Uu+SX6cLGea4HHVRUPhbVKeN2OcKxWKun7lsLXw== X-Received: by 2002:a17:907:72d2:b0:79e:8082:1326 with SMTP id du18-20020a17090772d200b0079e80821326mr33932472ejc.252.1667566991448; Fri, 04 Nov 2022 06:03:11 -0700 (PDT) Received: from localhost (business-90-187-74-145.pool2.vodafone-ip.de. [90.187.74.145]) by smtp.gmail.com with ESMTPSA id 1-20020a170906308100b0073d71792c8dsm1760454ejv.180.2022.11.04.06.03.10 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 04 Nov 2022 06:03:10 -0700 (PDT) Date: Fri, 4 Nov 2022 14:03:00 +0100 From: Oliver Graute To: Fabio Estevam , sbabic@denx.de, peng.fan@nxp.com, uboot-imx@nxp.com, Marcel Ziswiler , Ye Li , Gaurav Jain , Denys Drozdov , Horia =?utf-8?Q?Geant=C4=83?= , u-boot@lists.denx.de Subject: Re: [PATCH v1] imx: imx8: apalis: switch to binman Message-ID: <20221104130300.GC9571@optiplex> Mail-Followup-To: Fabio Estevam , sbabic@denx.de, peng.fan@nxp.com, uboot-imx@nxp.com, Marcel Ziswiler , Ye Li , Gaurav Jain , Denys Drozdov , Horia =?utf-8?Q?Geant=C4=83?= , u-boot@lists.denx.de References: <20221102155655.5296-1-oliver.graute@kococonnector.com> <20221102155655.5296-9-oliver.graute@kococonnector.com> <20221104123859.GB9571@optiplex> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221104123859.GB9571@optiplex> User-Agent: Mutt/1.9.4 (2018-02-28) X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.6 at phobos.denx.de X-Virus-Status: Clean On 04/11/22, Oliver Graute wrote: > On 02/11/22, Fabio Estevam wrote: > > On Wed, Nov 2, 2022 at 12:59 PM Oliver Graute > > wrote: > > > > Please add a commit log. > > ok > > > > > > Signed-off-by: Oliver Graute > > > > > +&binman { > > > + > > > + itb { > > > + filename = "u-boot.itb"; > > > + > > > + fit { > > > + description = "Configuration to load ATF before U-Boot"; > > > + fit,external-offset = ; > > > > Can't all boards use the common the binman nodes from > > arch/arm/dts/imx8qm-u-boot.dtsi instead? > > I'am about to try that but I run into the following error: > > binman: Filename 'spl/u-boot-spl.bin' not found in input path (.,.,./board/toradex/apalis-imx8,arch/arm/dts) (cwd='/home/graute/u-boot-upstream') > Makefile:1109: recipe for target 'all' failed > make: *** [all] Error 1 > > The error disappear if I remove binman/u-boot-spl-ddr and binman/spl > node in the common file. > > So some of these boards needs the binman/u-boot-spl-ddr and binman/spl > node and others not. What is the proper solution to deal with this > difference here? according to this commit there are indeed different requirements: commit 8e0d963b19adfb98e8c7c941f44e0f36e9f91303 Author: Peng Fan Date: Fri Dec 21 06:21:26 2018 +0000 dts: imx8qxp-mek: introduce u-boot dtsi Introduce u-boot dtsi for i.MX8QXP MEK board. we do not introduce a common dtsi for SoC, because different board has different requirement on which needs to be enabled in SPL DM. So any proposal? Best regards, Oliver