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 79C3FC77B7C for ; Wed, 26 Apr 2023 22:38:01 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 25E1886128; Thu, 27 Apr 2023 00:37:59 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="G5emgejN"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 83C4F86073; Thu, 27 Apr 2023 00:37:57 +0200 (CEST) Received: from mail-yb1-xb31.google.com (mail-yb1-xb31.google.com [IPv6:2607:f8b0:4864:20::b31]) (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 EE2FB86073 for ; Thu, 27 Apr 2023 00:37:54 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-yb1-xb31.google.com with SMTP id 3f1490d57ef6-b9a6ab9ede3so376844276.2 for ; Wed, 26 Apr 2023 15:37:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1682548673; x=1685140673; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=WNKqYf3n0zjD6V1QdjZY/+LvGB+mMcijpeUSdDvX474=; b=G5emgejN7ABSBvIVJLoKCFDZvMwGgJAHneBK3kX87+YdADy7Ih5+DBZH7ybg4hGVvI f0Uk6d72C1pNyFDvVG0dH85wg2xQobkr1efeO0pRfBYevHAitj2yie8Ilf7BklYD//mL cKppNd1oSvD++ARCpag6Dks9oL7XnMBOALlCc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682548673; x=1685140673; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=WNKqYf3n0zjD6V1QdjZY/+LvGB+mMcijpeUSdDvX474=; b=BapM0Kz96YaCEFsTT6ppIze7NLQ3HeTjjNciYeQA6zRJpbBrK56Q6NqwhVumbXqj3a Ai0AnVyLS7j9sAJFTUFAfP/siTesn7JkKp547qqp8tvQpXoqFnTwPIp9rnnfNtzQse0c 7cp6EuA96JhQecbug00z3KhwLz+6Y2qfcii/kQUILaUJY9bj04J3FXbEwyA1GdA6tLRz kPUkneVwhEB2xGPQRaQc+lWRRYNgZzlRLt/HYIuH/hpRfSiO6V0uiwvuc+wfV3VjLm2J Py+dsTaeqdy+cZCdVM5xchqkLSmXhYZhmm+xL9HGdsurQQkkkHHcoYfijHKliEX72Dy6 bPjg== X-Gm-Message-State: AAQBX9djOJp+42MEv21YRj26yBkIrFP+dyRkO+i7S3RkHbzfOvxto8TN 9Do+9k53S3J9/j6g+PXHBWJA3g== X-Google-Smtp-Source: AKy350a9/y7D4212B9BPpAcN7S9S69kG49Ic02bzx6O75yhoe8NAAYsRg7L3flD6tmJHTKXQeSJU0w== X-Received: by 2002:a25:ae95:0:b0:b8f:327f:acab with SMTP id b21-20020a25ae95000000b00b8f327facabmr18084319ybj.13.1682548673683; Wed, 26 Apr 2023 15:37:53 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b00-6400-67eb-5daf-6f91-70b5.res6.spectrum.com. [2603:6081:7b00:6400:67eb:5daf:6f91:70b5]) by smtp.gmail.com with ESMTPSA id v7-20020a254807000000b00b8f3e224dcesm4273978yba.13.2023.04.26.15.37.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Apr 2023 15:37:52 -0700 (PDT) Date: Wed, 26 Apr 2023 18:37:50 -0400 From: Tom Rini To: Neha Malcom Francis Cc: u-boot@lists.denx.de, sjg@chromium.org, afd@ti.com, vigneshr@ti.com, rogerq@kernel.org, alpernebiyasak@gmail.com, nm@ti.com, bb@ti.com, u-kumar1@ti.com Subject: Re: [PATCH v3 00/19] Migration to using binman for bootloader Message-ID: <20230426223750.GA643785@bill-the-cat> References: <20230421123203.1315330-1-n-francis@ti.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="aeW0IvsYLh1yeQxP" Content-Disposition: inline In-Reply-To: <20230421123203.1315330-1-n-francis@ti.com> X-Clacks-Overhead: GNU Terry Pratchett 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.8 at phobos.denx.de X-Virus-Status: Clean --aeW0IvsYLh1yeQxP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 21, 2023 at 06:01:44PM +0530, Neha Malcom Francis wrote: > This series aims to eliminate the use of additional custom repositories > such as k3-image-gen (K3 Image Generation) repo and core-secdev-k3 (K3 > Security Development Tools) that was plumbed into the U-Boot build flow > to generate boot images for TI K3 platform devices. And instead, we move > towards using binman that aligns better with the community standard build > flow. >=20 > This series uses binman for all K3 platforms supported on U-Boot currentl= y; > both HS (High Security, both SE and FS) and GP (General Purpose) devices. >=20 > Background on using k3-image-gen: > * TI K3 devices require a SYSFW (System Firmware) image consisting > of a signed system firmware image and board configuration binaries, > this is needed to bring up system firmware during U-Boot R5 SPL > startup. > * Board configuration data contain board-specific information > such as resource management, power management and security. >=20 > Background on using core-secdev-k3: > * Contains resources to sign x509 certificates for HS devices >=20 > Series intends to use binman to take over the packaging and signing for > the R5 bootloader images tiboot3.bin (and sysfw.itb, for non-combined > boot flow) instead of k3-image-gen. >=20 > Series also packages the A72/A53 bootloader images (tispl.bin and > u-boot.img) using ATF, OPTEE and DM (Device Manager) So, next up is fixing this in CI. After taking Andrew's patch to fix the typedef issue, and after my patches to ensure we can get pyyaml/jsonschema for python, there's problems still: Over at https://source.denx.de/u-boot/u-boot/-/jobs/617966: binman: Filename 'spl/dts/k3-am68-sk-base-board.dtb' not found in input path (.,/builds/u-boot/u-boot,board/ti/j721s2,arch/arm/dts) (cwd=3D'/tmp/.bm-work/j721s2_hs_evm_a72') And then: https://source.denx.de/u-boot/u-boot/-/jobs/617965#L1328 Error: arch/arm/dts/k3-am62a-sk-binman.dtsi:167.1-8 syntax error --=20 Tom --aeW0IvsYLh1yeQxP Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmRJp7oACgkQFHw5/5Y0 tyybQAv9Gw4pU6i2JFqH4pqWSWykXcftAG3/9/b2fzbn7ais7sTxt/plh1xQZ6Jc WonVih/odPb8QCi8vHESwcSucuGf0DYfm4TEpyNRZOLAEN7CVYgLq/rJs+mF7LUq SBagBPc6PKQ6Z/Ngjw6h7cpOkP2FVFjZW8GSa/uNe7Pv52UxmUB+xpmYy74RMRMk Wt6I+SL3UZizJgKYQoVhopoKgHF4qKiyFbmIubSKyxw4IQEIa76kcclA8dUOi+/N u186sr+6aHoZHSgMWvUSAG7rxXgv+ibP3967Jf8I/TPZLkp0Pr5402MKKNN3Z+In iUIX9rpmWdBdVcEuPa0Re9VOD91S1aHgPUpNRbX781cTBeWfcshnbvw11cLnPSzk LZ5n5cx5RJ4DBKb1wAc1rbQcbIPdAE1GmLspGvLAu0K9Kpnx5ODEdp+yRjfxJwEd QNvo+A8ecdxiW1Y0b4p9XnxVKyyVD0UBtmqDYJW960Eoxzk86CUbsLlMYFaVsONn SWPPTBI6 =Kd47 -----END PGP SIGNATURE----- --aeW0IvsYLh1yeQxP--