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 7F6F4C433EF for ; Thu, 25 Nov 2021 09:42:45 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 6550682FB3; Thu, 25 Nov 2021 10:42:42 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org 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=linaro.org header.i=@linaro.org header.b="AD8h1h3R"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 21B1E82FB3; Thu, 25 Nov 2021 10:42:41 +0100 (CET) Received: from mail-qk1-x733.google.com (mail-qk1-x733.google.com [IPv6:2607:f8b0:4864:20::733]) (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 5E6848039D for ; Thu, 25 Nov 2021 10:42:37 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=ilias.apalodimas@linaro.org Received: by mail-qk1-x733.google.com with SMTP id t83so10917318qke.8 for ; Thu, 25 Nov 2021 01:42:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=t+grRtomLJKa4hcSdbuNp+XQryCO1vzkqSbj/DdNMao=; b=AD8h1h3RfXYI51M+JkTRLO4lkdJir3eh4XOx0Pn/tYVCFof7dyVCcABPRjbCNRjoci bhdu5//tFtZ7tlMCVcM16NW4J8y/8TZsTg9+4d7/gB8x3dlDCOpwiIMreavGAQIjrdDC WrUwJ/ndb0qB1sEwVOv0ljM3SBmwHXngCBqMD3LQMSkiP9icWRkAIxZ/Gd9OEkZh6DxQ Mw4b4+HE2bQk0004BPq8ocmrs2etkeFC9Uv5eC/SX2JidaD9gfGZ6fNKmD7PZ33oIZiV HfKW5kPkV6bYJsPiNX56C665Mfq4jvToCLbGdPO5lUW2SGNuosp/taYpwSnojlj+wuVF nFMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=t+grRtomLJKa4hcSdbuNp+XQryCO1vzkqSbj/DdNMao=; b=0eS286o41TkFFHJwbmu645S8h1caiJRF4pBvq3CCaQzvf7pQ8Slq6yG5n9E/V9T/0T zfZdd4f5vB5Cc0quxrv3//dMv0ZzuHLLL53pSuLJobVz9I8LFXLTLmw6HWIPV2H3BNQx oye6dt4kdSShETKiGRZf7GFfWzKcMLt7bfNgreR75m4VBzq31NAenmk+E/nx4M+AiHrc XzoVPigPqEmD7ch//nDAiwTf9pp0fOMeRp1H75vY3NEoze8htgxV1wNfbygSE6qoPfFB DZQN6xSX3XxOFCOhMcHzG6sZqoltFyLAWShJklPIL17lljpYU3s0RJUbK5jSOjDVM9vq MmJA== X-Gm-Message-State: AOAM530T7W0XI7NSlc2QbBY2eB/TL6WcLu8UFtB4x8tgI2HhD8BsG4tw vJp9HyxliSCu5XM2jZ++WnIHeWVB32QJtr59c3v+Ww== X-Google-Smtp-Source: ABdhPJwu17SqdqViayHyVld+nvMRRhu7uRtP1Mzd5jl4X53qquGZiq6AQzaRX1kR5+Rz3nxzp+i9JBZSENj6FSwSKs4= X-Received: by 2002:a25:2f13:: with SMTP id v19mr4758809ybv.410.1637833355928; Thu, 25 Nov 2021 01:42:35 -0800 (PST) MIME-Version: 1.0 References: <20211124040900.699274-1-sjg@chromium.org> In-Reply-To: <20211124040900.699274-1-sjg@chromium.org> From: Ilias Apalodimas Date: Thu, 25 Nov 2021 11:42:00 +0200 Message-ID: Subject: Re: [PATCH 0/2] binman: Add support for ATF Firmware Image Package (FIP) To: Simon Glass Cc: U-Boot Mailing List Content-Type: text/plain; charset="UTF-8" X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.37 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 Hi Simon, On Wed, 24 Nov 2021 at 06:09, Simon Glass wrote: > > > This series adds support for the FIP format as used by ARM Trusted > Firmware (in particular TF-A). > > This allows images to be created containing a FIP, which itself contains > various binaries. With this, image creation can be handled from an in-tree > image description instead of needing to perform a lot of manual steps or > custom scripts to build the FIP. > > > Simon Glass (2): > binman: Add a utility module for ATF FIP > binman: Add support for ATF FIP > > scripts/pylint.base | 9 +- > tools/binman/entries.rst | 154 ++++++ > tools/binman/etype/atf_fip.py | 273 ++++++++++ > tools/binman/fip_util.py | 653 +++++++++++++++++++++++ > tools/binman/fip_util_test.py | 405 ++++++++++++++ > tools/binman/ftest.py | 217 ++++++++ > tools/binman/main.py | 4 +- > tools/binman/test/203_fip.dts | 21 + > tools/binman/test/204_fip_other.dts | 22 + > tools/binman/test/205_fip_no_type.dts | 15 + > tools/binman/test/206_fip_uuid.dts | 22 + > tools/binman/test/207_fip_ls.dts | 25 + > tools/binman/test/208_fip_replace.dts | 33 ++ > tools/binman/test/209_fip_missing.dts | 19 + > tools/binman/test/210_fip_size.dts | 19 + > tools/binman/test/211_fip_bad_align.dts | 18 + > tools/binman/test/212_fip_collection.dts | 24 + > 17 files changed, 1929 insertions(+), 4 deletions(-) > create mode 100644 tools/binman/etype/atf_fip.py > create mode 100755 tools/binman/fip_util.py > create mode 100755 tools/binman/fip_util_test.py > create mode 100644 tools/binman/test/203_fip.dts > create mode 100644 tools/binman/test/204_fip_other.dts > create mode 100644 tools/binman/test/205_fip_no_type.dts > create mode 100644 tools/binman/test/206_fip_uuid.dts > create mode 100644 tools/binman/test/207_fip_ls.dts > create mode 100644 tools/binman/test/208_fip_replace.dts > create mode 100644 tools/binman/test/209_fip_missing.dts > create mode 100644 tools/binman/test/210_fip_size.dts > create mode 100644 tools/binman/test/211_fip_bad_align.dts > create mode 100644 tools/binman/test/212_fip_collection.dts > > -- > 2.34.0.rc2.393.gf8c9666880-goog > My python is mediocre at best. I'll try having a look, but CC'ing TF-A developers would be a good idea. Thanks /Ilias