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 E8B81C433FE for ; Wed, 9 Nov 2022 16:15:20 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4187A85059; Wed, 9 Nov 2022 17:15:18 +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="HkaSQa3d"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 13E0D84893; Wed, 9 Nov 2022 17:15:16 +0100 (CET) Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) (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 3727E8504E for ; Wed, 9 Nov 2022 17:15:13 +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-x630.google.com with SMTP id t25so48010530ejb.8 for ; Wed, 09 Nov 2022 08:15:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:mail-followup-to :message-id:subject:cc:to:date:from:from:to:cc:subject:date :message-id:reply-to; bh=Cd3c3vrpxafooKYnr2LbSG8VZUQo2Rve1KpHHFmXVqc=; b=HkaSQa3dJc9dv/qvRwFvsRtpy9igpkCN8DmR3aKC1egfmFAhjfftHiGYeqrOsgExOz NDBFGnciLdEXLhV/J3hqrg7edJMtCkKqWjuP++eMWRIIDmF9vUk7W0NgCMYAOqaaky6T p4kU6hm5D4xrlWJR4AuyrHzZu3MlogZInJetZkuCsrYDwg7hM7J37zvsUKL1sKtSMGaa IyeT6VGLvOFuxAxrauetZbJR6rlmezaSldz+xPOQLsjc/N4X/nhaJOiqaOLeZXocYdtU 3EEc3wdLHy+nOHaNDBTUxt6ogaiW1Dtkc0B2FtCBmeYjfHOS/hfuJSGsx/kNCGTMr4dC Bohg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:mail-followup-to :message-id:subject:cc:to:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Cd3c3vrpxafooKYnr2LbSG8VZUQo2Rve1KpHHFmXVqc=; b=PFn0iMOZqKOd42BdkANymSx+L0xpkiiMeWyb97lUY5+9BvRGESqE/kW/DJ4t4fxMZ5 h4r6VMPU0UwfMzgkcCJJS2vY0CepSGig5PePv9SRtZ9T0LjweDl3Fveb4tT/p8A9WGwJ k0UJ72h+NqvANFeqZHDWfqYZef5aaNpvGi2c5ME2KHFqL5tb7SYnxE5Sj8knKnTtMU93 xrj22Pc+jW6XP2sV0C14rhJBeYaffDcledjqjeV6NiGvcL36c68+LB2G15lRdc9dnqRP +bdGE36u20rKjjoM3UpZvV3+aXPwLdXNtJs7DopF/XD1ztEjAYAnWvFQW5ljM6zACokE 1oiQ== X-Gm-Message-State: ACrzQf0Ilx57rAhTrvGbRb/VlayE4V6M2BzCHDCyyOfoIGQragmhKoHd Xor3AuWa/zSQNHTae6U4iis= X-Google-Smtp-Source: AMsMyM7Rde1nI7eIBPQtCDmhLR7/wDY9hhAXuvQggcAfp5O4xDjNyhBmMnz8TZuwrHiGibO9NjjyJA== X-Received: by 2002:a17:907:2c42:b0:7ad:d798:f2d5 with SMTP id hf2-20020a1709072c4200b007add798f2d5mr48395409ejc.386.1668010512550; Wed, 09 Nov 2022 08:15:12 -0800 (PST) Received: from localhost (business-90-187-74-145.pool2.vodafone-ip.de. [90.187.74.145]) by smtp.gmail.com with ESMTPSA id sa28-20020a170906edbc00b007aa9156f7e9sm6143801ejb.32.2022.11.09.08.15.11 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 09 Nov 2022 08:15:11 -0800 (PST) From: Oliver Graute X-Google-Original-From: Oliver Graute Date: Wed, 9 Nov 2022 17:14:00 +0100 To: Fabio Estevam Cc: Stefano Babic , peng.fan@nxp.com, uboot-imx@nxp.com, Marcel Ziswiler , Denys Drozdov , Gaurav Jain , Ye Li , Horia =?utf-8?Q?Geant=C4=83?= , u-boot@lists.denx.de Subject: Re: [PATCH v2 0/8] imx8: switch missing boards to binman Message-ID: <20221109161400.GA17674@optiplex> Mail-Followup-To: Fabio Estevam , Stefano Babic , peng.fan@nxp.com, uboot-imx@nxp.com, Marcel Ziswiler , Denys Drozdov , Gaurav Jain , Ye Li , Horia =?utf-8?Q?Geant=C4=83?= , u-boot@lists.denx.de References: <20221104150345.23853-1-oliver.graute@kococonnector.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 08/11/22, Fabio Estevam wrote: > Hi Oliver and Stefano, >=20 > On Tue, Nov 8, 2022 at 1:43 PM Stefano Babic wrote: >=20 > > I have tried to merge the series, but I get build errors, see: > > > > https://source.denx.de/u-boot/custodians/u-boot-imx/-/jobs/519510 > > > > Could you take a look ? >=20 > One problem I noticed is the missing CONFIG_TEXT_BASE conversion: >=20 > diff --git a/arch/arm/dts/imx8qm-u-boot.dtsi b/arch/arm/dts/imx8qm-u-boot= =2Edtsi > index 3507489a813c..442e64badc39 100644 > --- a/arch/arm/dts/imx8qm-u-boot.dtsi > +++ b/arch/arm/dts/imx8qm-u-boot.dtsi > @@ -50,7 +50,7 @@ > arch =3D "arm64"; > compression =3D "none"; > description =3D "U-Boot (64-bit)"; > - load =3D ; > + load =3D ; > type =3D "standalone"; >=20 > uboot-blob { > diff --git a/arch/arm/dts/imx8qxp-u-boot.dtsi b/arch/arm/dts/imx8qxp-u-bo= ot.dtsi > index 01183f8ade63..e8df5bb8bfea 100644 > --- a/arch/arm/dts/imx8qxp-u-boot.dtsi > +++ b/arch/arm/dts/imx8qxp-u-boot.dtsi > @@ -50,7 +50,7 @@ > arch =3D "arm64"; > compression =3D "none"; > description =3D "U-Boot (64-bit)"; > - load =3D ; > + load =3D ; > type =3D "standalone"; >=20 > uboot-blob { >=20 > With this fix applied, I got: >=20 > WARNING './ahab-container.img' not found, resulting binary is not-functio= nal > make[1]: Nothing to be done for 'SPL'. > BINMAN all > binman: Error 1 running 'mkimage -d ./mkimage.spl.mkimage -n > spl/u-boot-spl.cfgout -T imx8image -e 0x100000 > ./mkimage-out.spl.mkimage': Fail open first container file > ahab-container.img >=20 > make: *** [Makefile:1116: all] Error 1 >=20 >=20 > but if I manually copy the firmware, then the build succeeds. >=20 > binman should not thrown an error in case of missing firmware. Oliver, > any ideas? >=20 > Also, some boards use ahab-container.img and others use > mx8qxc0-ahab-container.img. >=20 > Is it OK to use mx8qxc0-ahab-container.img for all of them? I'am not sure if that is possible. The seco firmware has explicit different images for these cpu variants. imx-seco-3.8.5/firmware/seco mx8dxla0-ahab-container.img mx8dxla1-ahab-container.img mx8qmb0-ahab-container.img mx8qxb0-ahab-container.img mx8qxc0-ahab-container.img Best Regards, Oliver