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 BE7A3C4332F for ; Fri, 4 Nov 2022 13:07:52 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 595CB851A5; Fri, 4 Nov 2022 14:07:50 +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="bt1VOx0o"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 138A685104; Fri, 4 Nov 2022 14:07:49 +0100 (CET) Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com [IPv6:2a00:1450:4864:20::62d]) (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 5F9D785104 for ; Fri, 4 Nov 2022 14:07:45 +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-x62d.google.com with SMTP id n12so13051343eja.11 for ; Fri, 04 Nov 2022 06:07:45 -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:cc:to:from:date:from:to:cc :subject:date:message-id:reply-to; bh=fFmR/ADtXHCz4bpRAoIKKC8WEJSb4btmKakE8RB1bIM=; b=bt1VOx0oXGrL90LZUhsYR/DeqAU5SOTCNGANYedsNFgcLzydpJ+Knc4qZHPa7ZgWLy EZwk4Sy85i42VWJ3MAYqJzcm0FX/Ltcu2eRu02qTXtcK2ZhDIak8LRmhnIyDCriYHl9c Q1jCcGzSh0Bcwyi9xeke+62nwMSGQ/vaTbC1sPm8ZTfvKooTnSKuyxaSdUZJNOsiAWLI yCP6QIDC5Lt/BbVBzcVJMUsxBUSZAWaAjT7/3KCEyVpiyhWgje0QpuVHX6uGKSbs4AEU CPfDdhSbAEv19IhA/+H6KK5GtrivYrANPOtFMJuLWzqOeZGzT67iE+yBanPk1vphMvAb Wm/g== 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:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=fFmR/ADtXHCz4bpRAoIKKC8WEJSb4btmKakE8RB1bIM=; b=RVPND4z2g4xVd0hoPoxhYy1ouILKqCDqcnw4JpSQqtorA1+VAcp07Ww6hoykS76SGo +eDi+KOYyswq884Ok0hmSguCWq92TCwDp9UIIWgQRngqKv2snQPbAYFz0/fIVijSBBl7 a65kaXZKiGgbrA0Yy4KbVVO32T4EiQ0fhHC6Op+GsYxNMiE4ZBHak4//xRmburkWKYKr ln9DNASI+pGDhhHbtNavMnZ/ONf9G/Vvs/MCAX0NuIteCzxjMSOwBq5vdyWu4ZIaNQcT WD3FhR2AzmvtmZk9GmLBpr6E8HuTsV5ESWdI+A42gpwVVWdCT6RdpywcZImWfpHyGRMe SZAg== X-Gm-Message-State: ACrzQf3cSCdKbotnTwHeVLdbwreVgsNdhbwbCjVwtjtVMOAerLId+QNV CRANrUUP9ecV42czmC0LVZQ= X-Google-Smtp-Source: AMsMyM5IJQgVPA+ISujvNdzgHhxo8UawxbFq7qN7QUB76EIxWI1hti+SG1d3XlFebfRescsU94gi0w== X-Received: by 2002:a17:907:6e1a:b0:7ad:ba0b:538c with SMTP id sd26-20020a1709076e1a00b007adba0b538cmr31664472ejc.111.1667567264912; Fri, 04 Nov 2022 06:07:44 -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 a13-20020a17090680cd00b00787a6adab7csm1807193ejx.147.2022.11.04.06.07.43 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 04 Nov 2022 06:07:44 -0700 (PDT) Date: Fri, 4 Nov 2022 14:07:34 +0100 From: Oliver Graute To: Fabio Estevam Cc: 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: <20221104130734.GD9571@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: 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, Fabio Estevam wrote: > Hi Oliver, > > On Fri, Nov 4, 2022 at 9:39 AM Oliver Graute wrote: > > > > 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? > > Looking inside configs/apalis-imx8_defconfig, I see it does not use > SPL. That's why 'spl/u-boot-spl.bin' is not present. > > I think you should protect the binman/u-boot-spl-ddr and binman/spl > nodes by adding #ifdef CONFIG_SPL. ok thx Best Regards, Oliver