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 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 5385DC25B08 for ; Sun, 21 Aug 2022 00:14:09 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 10E0E849C5; Sun, 21 Aug 2022 02:11:32 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (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=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="LWSyyZsH"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id EB3ED847E6; Sun, 21 Aug 2022 02:10:34 +0200 (CEST) Received: from mail-yw1-x1133.google.com (mail-yw1-x1133.google.com [IPv6:2607:f8b0:4864:20::1133]) (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 060FE8481E for ; Sun, 21 Aug 2022 02:10:30 +0200 (CEST) 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@google.com Received: by mail-yw1-x1133.google.com with SMTP id 00721157ae682-3378303138bso168246407b3.9 for ; Sat, 20 Aug 2022 17:10:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=cc:to:subject:message-id:date:references:in-reply-to:from:sender :mime-version:from:to:cc; bh=o5fIHxHKprbMxc10JWgHZricMOyA51egANYnlQJgMpE=; b=LWSyyZsHefso/V+iAs0fuGDDmltpmj3baUFnA5pAEW76hlQPhnKqfykq/VwxluPueD htw44TuZq8XSBSmvC05Y+fpr47nxgYNcYEvQkvNXZk+EHGcKwU8yFUZCG9V6INgd7EPb lVyZBYudZYNyrLiNWXbEwnAhAwdp6ngyzNkBY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:references:in-reply-to:from:sender :mime-version:x-gm-message-state:from:to:cc; bh=o5fIHxHKprbMxc10JWgHZricMOyA51egANYnlQJgMpE=; b=1Ab7XzTft+BNaZC46Ssn2TcQ4Wx3S05AX0ugKZXUkbx2Tfq1e4t6ULjnygR2CYrTiF P0k95DzaZYIlPL2Y97+pyo8NQ/SP4hRQ+KigIHYTQjOqS/N90hlMrYt1or6QlwqVB9yI k08pm66wAl34U0jU40F2CxiOffIIAPUA4msfIbCOWxBUCW1RlXSRIsoL4nOvKfW3SlqZ ZAt4ivUkFiKdF1oquCmN1zKnCa43pZYYOkpcbHmUHftIt9G3+LSTCI5CC4Q1mV3Ufx0W jvREBemduOHfFgAqVkmRT4K3YWkPTCm5+yNiVXQAKvSupXdE0/ma6PtZEdW8mqn/96Gf tzUQ== X-Gm-Message-State: ACgBeo0RZwOwqidG5LKZaD2ffQUg0Ikj1d0v4P+LIXs5XX8suNxurSJl EnhgeFNr5KFbn1TFvdgSik3RP8bHfaC06zHBHAzC33WGvbokVA== X-Google-Smtp-Source: AA6agR7t3LGImDk0NxuXHlL4znc9udDwUlGvokQSy9CSG7P29GTy9jwPiuevOc18lFGj3rDiu0JSkPuVcxSG2Znyfz0= X-Received: by 2002:a81:83cf:0:b0:334:fe5:b2fe with SMTP id t198-20020a8183cf000000b003340fe5b2femr14117420ywf.402.1661040629350; Sat, 20 Aug 2022 17:10:29 -0700 (PDT) Received: from 480794996271 named unknown by gmailapi.google.com with HTTPREST; Sun, 21 Aug 2022 00:10:26 +0000 MIME-Version: 1.0 From: Simon Glass In-Reply-To: <20220813174051.1813081-10-sjg@chromium.org> References: <20220813174051.1813081-10-sjg@chromium.org> <20220813174051.1813081-1-sjg@chromium.org> Date: Sun, 21 Aug 2022 00:10:26 +0000 X-Google-Sender-Auth: a3zh6BkP1b-8eXF0VSSCEPvNNX8 Message-ID: Subject: Re: [PATCH v2 09/11] binman: Allow the image name to be the data file To: Simon Glass Cc: Quentin Schulz , Alper Nebi Yasak , Philippe Reynes , Marek Vasut , Heiko Thiery , U-Boot Mailing List Content-Type: text/plain; charset="UTF-8" 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 Some image types use the -n parameter to pass in the data file. Add support for this, with a new property. Signed-off-by: Simon Glass --- Changes in v2: - Drop spurious quote - Reword explanation of what is passed with -d and -n tools/binman/entries.rst | 15 ++++++++++++++ tools/binman/etype/mkimage.py | 27 ++++++++++++++++++++++++-- tools/binman/ftest.py | 17 ++++++++++++++++ tools/binman/test/235_mkimage_name.dts | 18 +++++++++++++++++ 4 files changed, 75 insertions(+), 2 deletions(-) create mode 100644 tools/binman/test/235_mkimage_name.dts Applied to u-boot-dm, thanks!