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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 81C58C433F5 for ; Thu, 4 Nov 2021 18:53:05 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 5CB386112E for ; Thu, 4 Nov 2021 18:53:04 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 5CB386112E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B79C683686; Thu, 4 Nov 2021 19:53:01 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com 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=gmail.com header.i=@gmail.com header.b="csC+moYJ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 2A4B48355C; Thu, 4 Nov 2021 19:53:00 +0100 (CET) Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) (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 ADC5E836B2 for ; Thu, 4 Nov 2021 19:52:56 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=heiko.thiery@gmail.com Received: by mail-wr1-x435.google.com with SMTP id r8so10104062wra.7 for ; Thu, 04 Nov 2021 11:52:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=WG9TLF+yWLt0PAZkdQHqa44Y96TJXM6Y3RKmDL+6Z/o=; b=csC+moYJd8vT0Xa474Tm3sHSD9tHQMnWvLv3bGPBTN9/nOKlQqZ8472pPxO0UDlwO4 0TzEahzL5epeBDrJ5Wbe2kIbY2kbz84ZdrUUgcxFKdr/a4qsjlH7BGzVK9cJSDzl1Zeh Xrxy6mNjFm+0Q+sZOtcYum/zmeI3dORexCbfibkKk8bNFlm0DkJ4CwAPjkCuoEkrG/pc Nuqq2JzNomskbND0BRk1Lua0RdsGN55VPXvOSh1lgMT6pGvZcCvuvLXIXH0bmBanFRah i+BVzTd9z8WVoYmIHaqgHWSr5G4m+QLlqypN9InYgxkwv1J81xH20cp9Euitf/NCXt54 F6Bw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=WG9TLF+yWLt0PAZkdQHqa44Y96TJXM6Y3RKmDL+6Z/o=; b=qxe1A6kNq9o3Yz3lPOp2kEzxbgbJ/BQR3iQ5yKxSKEaEwYpyHXeqPJgsDxkMy4uVTd TkRpgnuZABtbRUfWrAXKOr7g11tOlfgz76GuQNzXwoQ2eNInoWe8zpvbX7Nc091l/SyA JRyjRbw4ue9uqFChhAgIszc09diJrNWlhBJfbHwcZqPfMPim23rXKlkvdC+VoJqbUS3x WwMyUh/k6A4kNZ4vsj7QzEvulLjNZfdg5ySI24lzFsWr7PTmfXUAZNX1EKXLiN9uOUbz /2Ox83OieW7e4sFH+Ew8ZJi3K4zLzfmS2uwhzHRVo0kA6sD4kQ0gCqDFq6H+X+76AZDX +JVg== X-Gm-Message-State: AOAM531Il+L/JpDmGJ7WjPdsxtfhgx3KPKwp5OgupDSigUs55k7KBBHA esDLy0sdUMOpZfqPBJuMmYf34OlbpWw= X-Google-Smtp-Source: ABdhPJwOJhs4bdazYhrfxHXSUNJV31NN2+PA7XbJVA/Brm73r17Spe+ITBlz6qTunkZZVopijPMyxA== X-Received: by 2002:adf:e2c5:: with SMTP id d5mr815015wrj.338.1636051975968; Thu, 04 Nov 2021 11:52:55 -0700 (PDT) Received: from hthiery.fritz.box ([2a02:810c:8d40:ec0:8e16:45ff:fe22:ad85]) by smtp.gmail.com with ESMTPSA id l15sm1779829wme.47.2021.11.04.11.52.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Nov 2021 11:52:55 -0700 (PDT) From: Heiko Thiery To: u-boot@lists.denx.de Cc: Stefano Babic , Fabio Estevam , Michael Walle , Simon Glass , Heiko Thiery Subject: [RFC 0/2] Do not stop with an error when mkimage fails Date: Thu, 4 Nov 2021 19:52:30 +0100 Message-Id: <20211104185231.2927-1-heiko.thiery@gmail.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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 While converting to binman for an imx8mq board, it has been found that building in the u-boot CI fails. This is because an imx8mq requires an external binary (signed_hdmi_imx8m.bin). If this file cannot be found mkimage fails. To work around the problem the exception is caught, an error message is printed and binman continues. Heiko Thiery (2): patman: introduce RunException binman: catch RunException for mkimage runtime failure tools/binman/etype/mkimage.py | 8 +++++++- tools/patman/tools.py | 16 +++++++++++++--- 2 files changed, 20 insertions(+), 4 deletions(-) -- 2.30.2