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 0755AC4332F for ; Thu, 10 Nov 2022 16:35:35 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 49E0A84D41; Thu, 10 Nov 2022 17:35:33 +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="Ghi4Ug6J"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 9281684D17; Thu, 10 Nov 2022 17:35:31 +0100 (CET) Received: from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com [IPv6:2a00:1450:4864:20::62f]) (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 33B7784D17 for ; Thu, 10 Nov 2022 17:35:29 +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-x62f.google.com with SMTP id y14so6359958ejd.9 for ; Thu, 10 Nov 2022 08:35:29 -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=bjPYPQfRCG9qF08QiKaLl9o84XAXGpxfZm53dcFiYOo=; b=Ghi4Ug6JQr33ZRBHGkVkBIliXxobTcZ5FrGuiTJSB9aLJ7JhN+njIhXiA4j3A5C/OQ Jrt06d5A6rOBqUwErHRxAluOpFqBc3Kzt/tfMaLaLoQbVmBOxFyWRl5XLHtWXpqbTD3I 0Kc03gvi7DDF8iyJ41ScjErwNtNpt6TRjKrsd1sR3Yhcp8jwS5dJxmeJGv4QKbRFgd8p YN36lp2lDNnxluUAP9bqKQxYuNP1zwcUAaxO1a9bRl3k5HPSn6fCNoi4hEp+OuDKTtmV t0sV8Zp0vmKhSW4NlXhZueIp3h4DQbRpXCidp+ZCE5AYiq6l5eVnpN/IX7Wp19bircdH hA4g== 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=bjPYPQfRCG9qF08QiKaLl9o84XAXGpxfZm53dcFiYOo=; b=SQ/unmKzJG6oHeW6qz8gbSgqoBs1Pgdn5DDI+OaWMQHqKv/MUoelUL+U52QoxJ3K0G Cn3gJvq7itR7CIznwctbQ/BLJTqB3GecGlWKBKmUrsp+c18MK9T4BNLdez4vQzxK/tEl Xe7hF5xg8/kTQ0WQnE43ilBKWH47P/C2og1tvLNenYnwz7OT5f9Ry+mp030kGCI7FWau JmVslZ4Q7k/B5CKQD6/HVfcxGKByq6Shf1Ujfqss7TZVhs+4E9kHg6NrM5d9TzSsqsZc eibdoKQRhdS1ByKuUGJ+aeX1L7gtXM4qEjRN7bvwa0tpuUce80hcL5f2O088gA38bT/w da0g== X-Gm-Message-State: ACrzQf03SXQ5xvLGe90NnDSjkg6VWlQrRsNbxOhi2gqLSU3axK4tSFSo mvxcwvllM2HCYcsWZFl1ud0= X-Google-Smtp-Source: AMsMyM6HlnniJs1kLpeEoLeemQrXF0LQ52WdZp8Qi+NoAMIwAMgFoDKlyrpA/AtSUVL1IVK3PrV6TQ== X-Received: by 2002:a17:907:6a09:b0:7ae:2793:aa23 with SMTP id rf9-20020a1709076a0900b007ae2793aa23mr30782994ejc.184.1668098128695; Thu, 10 Nov 2022 08:35:28 -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 lj18-20020a170906f9d200b007adade0e9easm7364103ejb.85.2022.11.10.08.35.27 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 10 Nov 2022 08:35:27 -0800 (PST) From: "oliver.graute@kococonnector.com" X-Google-Original-From: "oliver.graute@kococonnector.com" Date: Thu, 10 Nov 2022 17:35:18 +0100 To: Marcel Ziswiler Cc: "sbabic@denx.de" , "ye.li@nxp.com" , "uboot-imx@nxp.com" , "gaurav.jain@nxp.com" , "festevam@gmail.com" , "peng.fan@nxp.com" , "horia.geanta@nxp.com" , "denys.drozdov@toradex.com" , "u-boot@lists.denx.de" Subject: Re: [PATCH v2 8/8] imx: imx8: apalis: switch to binman Message-ID: <20221110163518.GC17674@optiplex> Mail-Followup-To: Marcel Ziswiler , "sbabic@denx.de" , "ye.li@nxp.com" , "uboot-imx@nxp.com" , "gaurav.jain@nxp.com" , "festevam@gmail.com" , "peng.fan@nxp.com" , "horia.geanta@nxp.com" , "denys.drozdov@toradex.com" , "u-boot@lists.denx.de" References: <20221104150345.23853-1-oliver.graute@kococonnector.com> <20221104150345.23853-9-oliver.graute@kococonnector.com> <7e74253e9886b9ca21520af393ff6a7fd323afc4.camel@toradex.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <7e74253e9886b9ca21520af393ff6a7fd323afc4.camel@toradex.com> 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 09/11/22, Marcel Ziswiler wrote: > Hi Oliver > > Thanks for working on this. > > On Fri, 2022-11-04 at 16:03 +0100, Oliver Graute wrote: > > Switch to use binman to pack images > > > > Signed-off-by: Oliver Graute > > --- > > Changes for v2 > >  - use common imx8qm-u-boot.dtsi > >  - guard SPL nodes with CONFIG_SPL > > I don't think it is that simple. Even after guarding them SPL nodes the flash.bin one still references them, > not? And yes, so far we never used SPL for them 8/8X as that honestly does not really make much sense given the > SCFW does the actual RAM initialisation. Anyway, I am not very clear on how/what exactly that all means now. On imx8qm-rom7720 we use the SCFW for RAM initalisation too but still use SPL. > > Another topic is that flash.bin is now just the SPL whereas previously u-boot-dtb.imx was the entire thing. But > again, that could have been related to us not using SPL. yes, thats right, if I guard the SPL subnode in imx-boot node I get a 0 byte flash.bin. At the moment I don't know the best way here. I would be grateful for some hints here. > >  CONFIG_FIT=y +CONFIG_FIT_EXTERNAL_OFFSET=0x3000 > > Also not quite sure what exactly that is now. its introduced by commit 3814fcba12323b9f30f39ee5455f3f9a7e955c64 Best regards, Oliver