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 5B85CC25B74 for ; Wed, 22 May 2024 02:20:44 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B6F5C88442; Wed, 22 May 2024 04:20:42 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.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=ti.com header.i=@ti.com header.b="SwqWE3cb"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 7B4008844E; Wed, 22 May 2024 04:20:41 +0200 (CEST) Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id A2AD188348 for ; Wed, 22 May 2024 04:20:38 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=j-humphreys@ti.com Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 44M2KR0l092433; Tue, 21 May 2024 21:20:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1716344427; bh=l4pYUt9XrGm+JxlXSru8Fgmf1iHbcAhz0N5Npxz3W7U=; h=From:To:CC:Subject:In-Reply-To:References:Date; b=SwqWE3cbjgm1k6OvvuuWL5CmefeWRC1DFeBeMq+I0bMJqsSFqW1ZkocueyQMi5A2o lyx9WJz8x/qbA0Z40AnNUy0R65en3HZEHRYgbXf6BUzgQmShNHfKF6lWt/vD+p0ElL Qy1jh6YQY2PmGXXQ7QFdpLVdDTGwSv9KUayrbJzA= Received: from DFLE105.ent.ti.com (dfle105.ent.ti.com [10.64.6.26]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 44M2KRQN095796 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 21 May 2024 21:20:27 -0500 Received: from DFLE108.ent.ti.com (10.64.6.29) by DFLE105.ent.ti.com (10.64.6.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Tue, 21 May 2024 21:20:27 -0500 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DFLE108.ent.ti.com (10.64.6.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Tue, 21 May 2024 21:20:27 -0500 Received: from localhost (udb0321960.dhcp.ti.com [128.247.81.241]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 44M2KRZ6108293; Tue, 21 May 2024 21:20:27 -0500 From: Jon Humphreys To: Tom Rini CC: Mattijs Korpershoek , Kamlesh Gurudasani , Manorit Chawdhry , "Heinrich Schuchardt" , Judith Mendez , "Christian Gmeiner" , Devarsh Thakkar , Simon Glass , Nikhil M Jain , "Neha Malcom Francis" , Andrew Davis , "Maxime Ripard" , Siddharth Vadapalli , Roger Quadros , Bryan Brattlof , "Vignesh Raghavendra" , Robert Nelson , Nishanth Menon , Sughosh Ganu , Masahisa Kojima , Marcel Ziswiler , Ilias Apalodimas , Subject: Re: [PATCH v2 4/7] dts: beagleplay: binman: Include firmware capsules binman nodes In-Reply-To: <20240510173200.GV2568172@bill-the-cat> References: <20240419212819.170033-1-j-humphreys@ti.com> <20240419212819.170033-5-j-humphreys@ti.com> <20240510173200.GV2568172@bill-the-cat> Date: Tue, 21 May 2024 21:20:26 -0500 Message-ID: <86o78yd1ud.fsf@udb0321960.dhcp.ti.com> MIME-Version: 1.0 Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 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 Tom Rini writes: > On Fri, Apr 19, 2024 at 04:28:16PM -0500, Jonathan Humphreys wrote: > >> Fill in the BeaglePlay's capsule GUID properties of the base binman capsule >> nodes. >> >> Signed-off-by: Jonathan Humphreys >> --- >> arch/arm/dts/k3-am625-beagleplay-u-boot.dtsi | 27 ++++++++++++++++++++ >> arch/arm/dts/k3-am625-r5-beagleplay.dts | 15 +++++++++++ >> 2 files changed, 42 insertions(+) > > This series introduces failure to build in CI, and it's a little tricky > to replicate locally, depending on your environment. You first need to > NOT have BINMAN_INDIRS set and instead be using fake binaries. Second, > it seems python version dependent perhaps? I don't see this on my host, > but by: > - Using the CI container > - Setting up a virtualenv inside of it > - pip install -r tools/buildman/requirements.txt > I get: > $ ./tools/buildman/buildman --keep-outputs --reproducible-builds -dvel --force-build -PEWM --output /tmp/am62x_beagleplay_r5 --board am62x_beagleplay_r5 > Building current source for 1 boards (1 thread, 12 jobs per thread) > arm: + am62x_beagleplay_r5 > +(am62x_beagleplay_r5) Image 'tiboot3-am62x-gp-evm.bin' is missing optional external blobs but is still functional: ti-fs-gp.bin > +(am62x_beagleplay_r5) > +(am62x_beagleplay_r5) /binman/tiboot3-am62x-gp-evm.bin/ti-fs-gp.bin (ti-sysfw/ti-fs-firmware-am62x-gp.bin): > +(am62x_beagleplay_r5) Missing blob > +(am62x_beagleplay_r5) binman: object of type 'NoneType' has no len() > +(am62x_beagleplay_r5) make[1]: *** [Makefile:1126: .binman_stamp] Error 1 > +(am62x_beagleplay_r5) make: *** [Makefile:177: sub-make] Error 2 > 0 0 1 /1 am62x_beagleplay_r5 Tom, this is failing in the CI container because the container is missing the mkeficapsule tool. To solve this, we just need to add it to the CI container. My understanding of binman's handling of missing bintools is that it should gracefully continue with fake data, so that buildman can successfully test out builds for boards even when you don't have all the required bintools. If I have that correct, I can also create a patch to properly handle this when using mkeficapsule. But I want to verify this is the desired behavior, since mkeficapsule isn't a unique or vendor specific tool, so shouldn't we require it as part of the U-Boot build environment and err out if it is missing? thanks Jon > > -- > Tom