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 ADE8DC433FE for ; Sat, 5 Nov 2022 23:04:51 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D9AA0850F5; Sun, 6 Nov 2022 00:04:48 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org 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=chromium.org header.i=@chromium.org header.b="m+AvnAg3"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 9F9C48070C; Sun, 6 Nov 2022 00:04:47 +0100 (CET) Received: from mail-io1-xd29.google.com (mail-io1-xd29.google.com [IPv6:2607:f8b0:4864:20::d29]) (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 5717B850F5 for ; Sun, 6 Nov 2022 00:04:44 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-io1-xd29.google.com with SMTP id p141so6367802iod.6 for ; Sat, 05 Nov 2022 16:04:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=WFWviiTEbTR0ECz3FkqMfVBcR7Nb1Wmf45M2jcfwes4=; b=m+AvnAg3qqipi/9V/Er+zIPv5sD2X+z3GOECRr9cWOzyPQDDcD8Cs+EaiZZ4A/e4BX TWD0rwdzEVABNBsg1g/p0rhOL69Px+JUM5rHj2mruLs5d3o+Ls2KKh7VlMApBgh5I+H0 H8JXAP8BRYZccNPotXXSYkJgHwC/em91ttwBM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=WFWviiTEbTR0ECz3FkqMfVBcR7Nb1Wmf45M2jcfwes4=; b=f9VVD3mgKEOj5kC3bSloKY2Aqak7H4XXq0cNyQyyQjMqbL+8D3qlq1GoawqPbnzSef 3wRDVEBfMzovzbYT6IqW5ANsUc9CSR9leAOGUAg9H7Bxi2kAZd6FvPRzxGl9VDcRJEGV cr8eu7Ltu5Bg+Wozwq9KNkgjkBtD/9stA/bPIIKDDWgkqTY3bvV2LKqp73hxLlS2BQDn b7z7+sd27dcvKSsyaixNFIZLRNsvrFFHbH1G3fHACIAGsoqDUhiUlJMi405hlDKtnz90 tUqxPXzyoeB3PJ6kD957uBhovVc/6nYbRNnIiW/VIwe1qwkhSeXMxyBBpauVFrQa7KZZ Pxag== X-Gm-Message-State: ACrzQf2IGIWMGo+7kDGhOx9kadGYJHSqti9idF0WOeAl2xC6SJ3J2FFt 3i4DwIX/83t7ImefFlCBJHiqp4wu73WP3w== X-Google-Smtp-Source: AMsMyM61Mkz7Zrg5Y4AZ+Jjyyss0RNnpbqw+E2zeJh4+aYYUbEiOfSXxGp384o6dTMEpiaqHytRz8g== X-Received: by 2002:a05:6638:26b:b0:375:6c86:5761 with SMTP id x11-20020a056638026b00b003756c865761mr16628592jaq.313.1667689482742; Sat, 05 Nov 2022 16:04:42 -0700 (PDT) Received: from sjg1.roam.corp.google.com (c-67-190-102-125.hsd1.co.comcast.net. [67.190.102.125]) by smtp.gmail.com with ESMTPSA id a10-20020a92ce4a000000b0030014a5556bsm1271957ilr.69.2022.11.05.16.04.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 05 Nov 2022 16:04:42 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Rasmus Villemoes , Tom Rini , Simon Glass , AKASHI Takahiro , Alper Nebi Yasak , Chia-Wei Wang , =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= , Heinrich Schuchardt , Joel Stanley , =?UTF-8?q?Marek=20Beh=C3=BAn?= , Masahiro Yamada , =?UTF-8?q?Pali=20Roh=C3=A1r?= , Quentin Schulz , Rick Chen Subject: [PATCH v3 0/9] buildman: Correct various issues with missing blobs Date: Sat, 5 Nov 2022 17:04:30 -0600 Message-Id: <20221105230439.549139-1-sjg@chromium.org> X-Mailer: git-send-email 2.38.1.431.g37b22c650d-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 This series attempts to tidy up the problem of missing blobs, making U-Boot default to failing the build, but providing ways to configure this so that buildman can still be used for build testing by people who don't have the blobs or don't care about them. This is based on discussion in [1] as well as some experimentation. It also moves the buildman docs to rST. [1] https://patchwork.ozlabs.org/project/uboot/patch/20221010151831.3376759-2-trini@konsulko.com/ Changes in v3: - Add new patch to convert documentation to rST - Add new patch to drop mention of MAKEALL - Add new patch to drop mention of old architectures - Add tests docs and a settings-file option Changes in v2: - Use a separate rule for running binman Simon Glass (7): Makefile: Correct the binman rule doc: Correct the path to the Makefile documentation binman: Use an exit code when blobs are missing buildman: Convert documentation to rST buildman: Drop mention of MAKEALL buildman: Drop mention of old architectures buildman: Detect binman reporting missing blobs Tom Rini (2): global: Do not default to faking missing binaries for buildman buildman: Add --allow-missing flag to allow missing blobs .azure-pipelines.yml | 2 +- .gitlab-ci.yml | 6 +- Makefile | 15 +- doc/build/buildman.rst | 1 + doc/build/index.rst | 1 + scripts/Kbuild.include | 2 +- tools/binman/binman.rst | 21 + tools/binman/cmdline.py | 3 + tools/binman/control.py | 7 +- tools/binman/ftest.py | 20 +- tools/buildman/README | 1349 ------------------------------- tools/buildman/README.rst | 1 + tools/buildman/bsettings.py | 18 +- tools/buildman/builder.py | 5 +- tools/buildman/builderthread.py | 8 +- tools/buildman/buildman.rst | 1324 ++++++++++++++++++++++++++++++ tools/buildman/cmdline.py | 6 + tools/buildman/control.py | 33 +- tools/buildman/func_test.py | 100 ++- 19 files changed, 1544 insertions(+), 1378 deletions(-) create mode 120000 doc/build/buildman.rst delete mode 100644 tools/buildman/README create mode 120000 tools/buildman/README.rst create mode 100644 tools/buildman/buildman.rst -- 2.38.1.431.g37b22c650d-goog