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 7F460C433F5 for ; Thu, 13 Jan 2022 14:32:44 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id BD3D0805F9; Thu, 13 Jan 2022 15:32:42 +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="bqyiqOSl"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 4B84F80031; Thu, 13 Jan 2022 15:32:41 +0100 (CET) Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) (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 C8B77805F9 for ; Thu, 13 Jan 2022 15:32:38 +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-x529.google.com with SMTP id 30so23835177edv.3 for ; Thu, 13 Jan 2022 06:32:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:date:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to:user-agent; bh=9gxUZfDLYd9I5B2/1FSZCefZB1NgrSwT52MBwJvfZtY=; b=bqyiqOSlCzYhhGxGfPhyC1qaizar4ENUzN0tqUw4DaL0Wu1V+EmRtVZuy0dL3F1y/c 9ePnY92KuRoGvNSUfSkhTyQzW5sQYZkY+hQ37BMzGxAJlqVCzDPZeWxQT6RG4CIHqB7y YcKFny56y7SfhQw1xe1KKwRoX5Ax4yc+X++YwpWxKLbimec1YQCNXUgDad0iGhQrKfu3 79TKDx0WIeAOJzwvXfWH4zd3CkfZ2XP/Y1KRIiyhIm2prROu7SQTmfvA/4UcDJZ2CdGu yplLI0EUT1m8M9P+S4mqcNgJ0/QitaafobJbr+FNbKyUZqFoqTaeD6eYrhGlPnwMA2J8 L5WA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:date:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :in-reply-to:user-agent; bh=9gxUZfDLYd9I5B2/1FSZCefZB1NgrSwT52MBwJvfZtY=; b=WHqIYt3XFL41IVANay/bWdIpqC8Hn84W1gNjt1Tcz3PZ+ct68d6N03Dktdd/kj8zWx nJYA2fa0ax/70+h5dQUkai6+FuJ31OQRygn0xH1wvLwYKGpixkAHrICsmBLsdCfCo6da +mqk9Fv7SZ5hqCTOUCrQ/Ffbkvw4jOGrOM0e+k6mmJ607+d2GRfL6YIt5mAfzgppwZRt /euFaTzXdUVwwY6N1Amp2nFysdFGgrMejq8q4nSnyf/dQOtVS/SU/Jvg+od7VUr2B+C1 9pDgwg/mPkaTIIIYPB/7rI6kKEj+UOtdVNffr7b0gMOnCcKSCai15orssRiEvDgiu3sB FdYw== X-Gm-Message-State: AOAM5312eol4zoLTNHNw/5hmB1w/ilJloi0lRYpXEOq62YD2j6LsPsmB Du+2KnRytYJX/fOiGNfgXsM= X-Google-Smtp-Source: ABdhPJzsubcZSvu8Jz8iEJwDD7IlwGO059FWU22o7Ep5iB0F/RqDhxgH8/V3Dbh7yhmOBzoT/zDhPg== X-Received: by 2002:a05:6402:f16:: with SMTP id i22mr4357931eda.165.1642084358431; Thu, 13 Jan 2022 06:32:38 -0800 (PST) Received: from localhost (dslb-002-207-138-002.002.207.pools.vodafone-ip.de. [2.207.138.2]) by smtp.gmail.com with ESMTPSA id g9sm926849ejo.222.2022.01.13.06.32.36 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 13 Jan 2022 06:32:37 -0800 (PST) From: Oliver Graute X-Google-Original-From: Oliver Graute Date: Thu, 13 Jan 2022 15:31:16 +0100 To: Stefano Babic , Fabio Estevam , "NXP i.MX U-Boot Team" Cc: aford173@gmail.com, peng.fan@nxp.com, marcel.ziswiler@toradex.com, tharvey@gateworks.com, andrey.zhizhikin@leica-geosystems.com, u-boot@lists.denx.de Subject: Re: [RFC] imx: imx8qm-rom7720: switch to binman Message-ID: <20220113143116.GC10212@optiplex> Mail-Followup-To: Stefano Babic , Fabio Estevam , "NXP i.MX U-Boot Team" , aford173@gmail.com, peng.fan@nxp.com, marcel.ziswiler@toradex.com, tharvey@gateworks.com, andrey.zhizhikin@leica-geosystems.com, u-boot@lists.denx.de References: <20220110103033.29958-1-oliver.graute@kococonnector.com> <20220112091325.12341-1-oliver.graute@kococonnector.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220112091325.12341-1-oliver.graute@kococonnector.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.2 at phobos.denx.de X-Virus-Status: Clean On 12/01/22, Oliver Graute wrote: > Switch to use binman to pack images > > Signed-off-by: Oliver Graute > + > + images { > + uboot { > + arch = "arm64"; > + compression = "none"; > + description = "U-Boot (64-bit)"; > + load = ; > + type = "standalone"; > + > + uboot_blob { > + filename = "u-boot-nodtb.bin"; > + type = "blob-ext"; > + }; > + }; > + > + atf { > + arch = "arm64"; > + compression = "none"; > + description = "ARM Trusted Firmware"; > + entry = <0x00910000>; > + load = <0x00091000>; > + type = "firmware"; > + > + atf_blob { > + filename = "bl31.bin"; > + type = "blob-ext"; > + }; > + }; > + > + scfw { > + arch = "arm64"; > + compression = "none"; > + description = "System Controler Firmware"; > + type = "firmware"; > + > + scfw_blob { > + filename = "mx8qm-val-scfw-tcm.bin"; > + type = "blob-ext"; > + }; > + }; > + > + seco { > + arch = "arm64"; > + compression = "none"; > + description = "Seco Firmware"; > + type = "firmware"; > + > + seco_blob { > + filename = "mx8qm-ahab-container.img"; > + type = "blob-ext"; > + }; > + }; > + > + fdt { > + filename = "imx8qm-rom7720-a1"; > + type = "flat_dt"; > + compression = "none"; > + > + uboot_fdt_blob { > + filename = "u-boot.dtb"; > + type = "blob-ext"; > + }; > + }; > + }; As far as I now the order of the blobs for imx8qm is: 1.SECO 2.scfw 3.ATF 4.U-Boot So do I need to reorder the blobs nodes above? How is the order determined? > > #define __ASSEMBLY__ > > -/* Boot from SD, sector size 0x400 */ > -BOOT_FROM SD 0x400 > -/* SoC type IMX8QM */ > -SOC_TYPE IMX8QM > -/* Append seco container image */ > -APPEND mx8qm-ahab-container.img > -/* Create the 2nd container */ > -CONTAINER > -/* Add scfw image with exec attribute */ > -IMAGE SCU mx8qm-val-scfw-tcm.bin > -/* Add ATF image with exec attribute */ > -IMAGE A35 bl31.bin 0x80000000 > -/* Add U-Boot image with load attribute */ > -DATA A35 u-boot-dtb.bin 0x80020000 this is what imx-image is doing before. Can someone comment on this? Best Regards, Oliver