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 496B8C4332F for ; Tue, 22 Nov 2022 14:24:26 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id EC5E6853E7; Tue, 22 Nov 2022 15:24:24 +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="qKfapPzK"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 51F68852A8; Tue, 22 Nov 2022 15:24:23 +0100 (CET) Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) (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 6B3E985408 for ; Tue, 22 Nov 2022 15:24:19 +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-ed1-x52a.google.com with SMTP id f7so20852740edc.6 for ; Tue, 22 Nov 2022 06:24:19 -0800 (PST) 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=77CWgVJ4XYyjTi220z5A20cSaPmeBnk7dtcRrLZbBcw=; b=qKfapPzKyeT5VuvjtjmPwLBBpmIQcJKPHCtXk/TvN1i8W0kW6m0b3Gqv5WlBRgPj3p cVLN/0MH8gTtsTtlVtNaZSX60KUnkFw1DlyP46pOoJX9kFS739S+5OY/kzxxdZ1hiZ6Z GpMDWVvC14ldGiFb7RzS9HSQtQjHymPBb4meb5nn8k0wQOPQ9Z1F4F+P27c9XT5MMEke r34rX++5yWyRhH0BK6gNUeCEJ6nhqxsOEAoaBJ9yolbr/WvK8fTK764BWtWPKF0W9Woz HdPjpR+bYEIa1/AFErpHI+2ORpsDCaRfulTaSLczH0gRSa2Ys2+uy3Gl7CnO9eYZ2xfN K1gQ== 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=77CWgVJ4XYyjTi220z5A20cSaPmeBnk7dtcRrLZbBcw=; b=38PnDOPUjC48cAb26xKy6aMFY0Z5KD8/xz7dchNU+hpnlXWmkdS7j37eIVcz8L44/r ssJueBZY657nX3/Plp28LUKcPluJJYvtbDxpn0jYI7J92Arb4y2B8l2Ulazf75DK4MTu UH4W2yjXFDFenmaQttSzRiNDgYNbkiTlVdQ/ieuOaBdftkuTgwBCZqZ9i5jaBgQmfiqC nvRTF779oA6trv86/VjyN+UsJWqzWXVn9IphQgALg5OpGf37obJKVmbzs27ynlMSzQMV vgyB7MlsSKcK/bduYPwUGt+DbonKhGmFtB1xLQ2uRpadmqzlTfqk7y0Ym3DMipKH/G0m WMKw== X-Gm-Message-State: ANoB5pk8RIHycYIJfFr/KdEoTq0JF/pt5zMfZKuaXOvxyc4C5vZCH6sR CmcFiXl0W+dEiLapAd9P+gw= X-Google-Smtp-Source: AA0mqf5Z+Nxkfo0jXg309fCiX9nfpp4P2E9qcIhJv3JfvCMLHfqfYoD5KbIEUcnGmc5heribVOOeQw== X-Received: by 2002:a05:6402:1502:b0:469:13c4:ec5f with SMTP id f2-20020a056402150200b0046913c4ec5fmr17514650edw.199.1669127058840; Tue, 22 Nov 2022 06:24:18 -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 n15-20020a05640205cf00b0045bd14e241csm6433929edx.76.2022.11.22.06.24.17 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 22 Nov 2022 06:24:18 -0800 (PST) Date: Tue, 22 Nov 2022 15:23:14 +0100 From: Oliver Graute To: Fabio Estevam Cc: Stefano Babic , Marcel Ziswiler , Ye Li , peng.fan@nxp.com, uboot-imx@nxp.com, u-boot@lists.denx.de, Simon Glass , alpernebiyasak@gmail.com Subject: Re: [PATCH v2 0/8] imx8: switch missing boards to binman Message-ID: <20221122142314.GD2534@optiplex> Mail-Followup-To: Fabio Estevam , Stefano Babic , Marcel Ziswiler , Ye Li , peng.fan@nxp.com, uboot-imx@nxp.com, u-boot@lists.denx.de, Simon Glass , alpernebiyasak@gmail.com References: <20221104150345.23853-1-oliver.graute@kococonnector.com> <20221109161927.GB17674@optiplex> <20221111125303.GA2534@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 11/11/22, Fabio Estevam wrote: > On Fri, Nov 11, 2022 at 2:40 PM Fabio Estevam wrote: > > > I removed SPL support, which does not seems to be needed as the scufw > > handles DDR init. > > > > I don't have access to an imx8qm/qxp board here. > > > > Could you try removing SPL support from your board and see if it boots > > with binman support? > > Ok, let's SPL for now as this is a different topic for discussion. > > > With the change below against u-boot-imx master-next branch, the > imx8qm/qxp boards build fine without blobs: > > diff --git a/arch/arm/dts/imx8qm-u-boot.dtsi b/arch/arm/dts/imx8qm-u-boot.dtsi > index 3507489a813c..a3e0af48109b 100644 > --- a/arch/arm/dts/imx8qm-u-boot.dtsi > +++ b/arch/arm/dts/imx8qm-u-boot.dtsi > @@ -10,7 +10,7 @@ > }; > > &binman { > -#ifdef CONFIG_SPL > +#ifdef CONFIG_SPL_BUILD On building the imx8qm_rom7720 board the CONFIG_SPL_BUILD define is somehow always false. So I endup in a invalid image: Image 'main-section' is missing external blobs and is non-functional: spl Image 'main-section' has faked external blobs and is non-functional: spl.bin Some images are invalid With CONFIG_SPL instead of CONFIG_SPL_BUILD its working again. So the Question is why is CONFIG_SPL true and CONFIG_SPL_BUILD false here? Some hints? Best regards, Oliver