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 96C88C433FE for ; Mon, 7 Nov 2022 23:29:01 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B66E585043; Tue, 8 Nov 2022 00:28:58 +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="ZfFXtZQV"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8D62F85020; Tue, 8 Nov 2022 00:28:56 +0100 (CET) Received: from mail-il1-x134.google.com (mail-il1-x134.google.com [IPv6:2607:f8b0:4864:20::134]) (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 5932F84F9D for ; Tue, 8 Nov 2022 00:28:53 +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-il1-x134.google.com with SMTP id q5so6667752ilt.13 for ; Mon, 07 Nov 2022 15:28:53 -0800 (PST) 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=lCUQeBqczWKEehgSftDjdoiooLaDmIAxenm6odoOrkI=; b=ZfFXtZQVt+Ra+BywrqSyTW3c8E+RJcicZgaPW9fymmxUDdxi0xjTLiP7EuA1pAX6US bqZ04GHnwncSwPYj1Ak1KhnBEQECg69oGIEw10EX0jfy37z7it4Wvb2o6teoRCGdohPU FpIoh5EwhUnvDJ8gvt368CBur02zyqG2xkYso= 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=lCUQeBqczWKEehgSftDjdoiooLaDmIAxenm6odoOrkI=; b=TjeUKSoeZMoKH9K4xns/hqoAp1KaxBgNhrHC4gBA+xMaEM43Kb0EZ4DvzhmmDmjui6 +6A03Z4YlyZE2PA6wvHzCCMzsdoduZcOqU9U4KvUIjSKkxynYBJdcwoTOfXUOaTwOuBe 08qO95v2hVZSmsP+VJFA338EBt8+pU7Wp1hkxWWzOlNX/EVkwfZf0UOSE8bcze1FBm0E ee/iN0iSesMcsxL0TtvkNn998dYQrFlSY7jjlitM2EH5GiMX5Pi8TrCM+Tn+COjiv0Fm r/DILhZtkmQuf3t1JknHrfHg06RFGKCZzak9+z8Iqp+41F5CcGP90nbccxt2JZAwzCt7 BP7g== X-Gm-Message-State: ANoB5pnbXGpYjSzKpuv/8lQHXVqqdFqY0qxctWaO/M8sByB4tgIGr9qV iLa2uk0gnltUVIvvFx/Ntks6cvSrbm4CQA== X-Google-Smtp-Source: AA0mqf7SnTB0KR7EZ9CIm5zgmNxUvcGnLaeSucJTwBdYYkcMpelfKGlFw6u9WWzsygjM82Rq4HMICQ== X-Received: by 2002:a92:ce8b:0:b0:300:f512:c0cd with SMTP id r11-20020a92ce8b000000b00300f512c0cdmr9859941ilo.167.1667863731562; Mon, 07 Nov 2022 15:28:51 -0800 (PST) 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 o126-20020a022284000000b00363f8e0ab41sm3217739jao.152.2022.11.07.15.28.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Nov 2022 15:28:50 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Rasmus Villemoes , 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 v4 00/11] buildman: Correct various issues with missing blobs Date: Mon, 7 Nov 2022 16:28:36 -0700 Message-Id: <20221107232847.753769-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 and tidies up some toolchain settings and documentation. [1] https://patchwork.ozlabs.org/project/uboot/patch/20221010151831.3376759-2-trini@konsulko.com/ Changes in v4: - Add a patch to update the arc toolchain - Add new patch to update the default settings file - Leave the arc toolchain in there 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 (9): 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: Update the arc toolchain buildman: Update the default settings file 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 | 21 +- tools/buildman/builder.py | 5 +- tools/buildman/builderthread.py | 8 +- tools/buildman/buildman.rst | 1335 ++++++++++++++++++++++++++++++ tools/buildman/cmdline.py | 6 + tools/buildman/control.py | 33 +- tools/buildman/func_test.py | 100 ++- 19 files changed, 1558 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