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 47D96C433F5 for ; Thu, 11 Nov 2021 12:30:00 +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 9039A61057 for ; Thu, 11 Nov 2021 12:29:59 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 9039A61057 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=denx.de 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 830D583A2B; Thu, 11 Nov 2021 13:29:57 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1636633797; bh=xKygIVwQEqFzwfLkNAqa/5FgJuBJHqlzDSHqnTfkzJI=; h=To:cc:From:Subject:In-reply-to:References:Date:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=Owm5tZdNN8m3dk8rMTBvIkK0xtZV0q5K6Y7zbz+qn/X72x300uxxuA1DCBQYJBmSG dR48IBnXf+KO1ajSFdRMqMbeo3dDydmQ8lvPJ2KSDgS/UicMdD9Dpw8iU8xdg83gCA C++3ybjPAfinBikYM9quclU02zyM+qoYDQf7DMd4v2Wwqw14N1c24CLcU2gEh2fAlR ZZvVVV5yovierAr3DvVlgyQxOPov1ziu6LqJ0F0ye57WE/TL3L3LoZPbA2niYy5PDZ Fpl5IyUumyM3u+Ws5n0z1ry1DP0pO+KwwTzEUqrpomTheXZN6DrcvNgx6UeLfZaK7p FMkSyjx0m4RbQ== Received: from janitor.denx.de (unknown [62.91.23.180]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: noc@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id B009483A2B for ; Thu, 11 Nov 2021 13:29:55 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1636633795; bh=xKygIVwQEqFzwfLkNAqa/5FgJuBJHqlzDSHqnTfkzJI=; h=To:cc:From:Subject:In-reply-to:References:Date:From; b=ZJDtmGQ7GfgiTLVa4KMorOFHCnyzPgup7gQplrN/I8yinLns4iXNxJE4/RbgbY2xw jmRPAMA/z8Qp3OeJsFCKhqCfNCYpvMaFk+hAtR8SasPnbsvJz1VzthHOX6ZUm0A5Ia 71V607oOEJLR/mMZI9gOsk5H8D56pAL8yWm2xvepokO8Tw5DEOtIP8XchmXVdGOdN+ h2+3UoT8ZXKKBtg/h1htLHqiSI03POOQ0kFO14s3pmBO38w3SNZ5xIPAy1nd2uVe8G QmC/YwTKLe5Ewsk9943TmWxpkDj9m7N1vC0lzSVKzqlfJ2Bivf0qnGBhjHdcCULV90 TW6QwG+URBAkg== Received: by janitor.denx.de (Postfix, from userid 108) id E5260A02BD; Thu, 11 Nov 2021 13:29:54 +0100 (CET) Received: from gemini.denx.de (gemini.denx.de [10.4.0.2]) by janitor.denx.de (Postfix) with ESMTPS id 68991A0040; Thu, 11 Nov 2021 13:29:46 +0100 (CET) Received: from gemini.denx.de (localhost [IPv6:::1]) by gemini.denx.de (Postfix) with ESMTP id 5814D1E0CB7; Thu, 11 Nov 2021 13:29:46 +0100 (CET) To: Rasmus Villemoes cc: Tom Rini , Heiko Thiery , u-boot@lists.denx.de, Stefano Babic , Fabio Estevam , Michael Walle , Simon Glass From: Wolfgang Denk Subject: Re: [RFC 0/2] Do not stop with an error when mkimage fails MIME-Version: 1.0 Content-type: text/plain; charset=UTF-8 Content-transfer-encoding: 8bit In-reply-to: <3253160d-b2e1-2101-5cd4-b8549b5acbae@prevas.dk> References: <20211104185231.2927-1-heiko.thiery@gmail.com> <729199.1636053161@gemini.denx.de> <963318.1636296486@gemini.denx.de> <20211109194224.GB24579@bill-the-cat> <11cebfaf-8fc4-f80d-ed0f-bd8810a43514@prevas.dk> <3253160d-b2e1-2101-5cd4-b8549b5acbae@prevas.dk> Comments: In-reply-to Rasmus Villemoes message dated "Wed, 10 Nov 2021 01:26:12 +0100." Date: Thu, 11 Nov 2021 13:29:46 +0100 Message-ID: <1289782.1636633786@gemini.denx.de> 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 Dear Rasmus, In message <3253160d-b2e1-2101-5cd4-b8549b5acbae@prevas.dk> you wrote: > > > Yes, I believe the build system must be taught some env var (or other > > means) for opting in to this behavior. > > Oh, and it should of course only paper over missing binary blobs, not > arbitrary errors from mkimage or other tools. The easiest way to do that > is probably to create some dummy blob(s) [only when CREATE_BROKEN_IMAGES > is set of course] before calling the tool that will consume the blobs. Would it not make much more sense that the CI actually creates the needed data, at least dummy versions of it? Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de : I've tried (in vi) "g/[a-z]\n[a-z]/s//_/"...but that doesn't : cut it. Any ideas? (I take it that it may be a two-pass sort of solution). In the first pass, install perl. :-) Larry Wall <6849@jpl-devvax.JPL.NASA.GOV>