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 A51EBC433F5 for ; Wed, 5 Oct 2022 15:58:27 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 5EBEC84812; Wed, 5 Oct 2022 17:58:25 +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=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="FqHBsN5C"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 784188484A; Wed, 5 Oct 2022 17:58:23 +0200 (CEST) Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) (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 C727284485 for ; Wed, 5 Oct 2022 17:58:20 +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-wr1-x430.google.com with SMTP id a10so14269248wrm.12 for ; Wed, 05 Oct 2022 08:58:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=dMtah2wcOyXeUzVR8W6F5IZI5SdvgO/w0KLc+zRtJJ4=; b=FqHBsN5C6IQBzmybpZFbw6QuSPF/c4DaSQDjycfEH0iPARNWyPYjTKKOk+mDBEh/nS wZ5S6+BUHBs0HQ8Fn3aYdiIt21EaJt93pLY+mI0FuXv+FVWey4bDRG3S4RMLucuAnMPA d1zTBXDJ95HZ8/Fc2Un4J5HtglwSuUjjcZ+qo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=dMtah2wcOyXeUzVR8W6F5IZI5SdvgO/w0KLc+zRtJJ4=; b=TauvdPmRdhfzrbm//DH0IU+kfeWWqJWtbQ8JRMnRTUmOg2czdByaPcqdNaeoz2+5yk txYVhmL1/0S9rwlrR733oFFrxdXc3QV08+oPiSWNFi4MjDf/cs0DSf3fg/U9wvwkEp7i O2f6TbbqgkSwMBPEZxHtEwgSYwxVbGGAXn5R1zjVX1mJ1KJT4Q6zfNI9SbbSjyAeoGjf ZlaLeZ/hMB4LkC7NPhzdrSks6z45XGX/6/X1/+agnIv9mH57V+0AGkcIbdtFbeiGxIRM HeABKSJtzu0w86u1U/AAwfFIKpNY0lyy2xwDp90F2xfjn7MuMuCXFKVvO36Pa+Gc+qpg 4Nnw== X-Gm-Message-State: ACrzQf2rDIA9r2Wg0pmKMUrGalkkwGH3Ld6QrJ54jY6kvBNCOfmQUHsP P1pJcUTf+rIwnd8Rtth80Z1YW4zWKbAXOtEAHYUgNg== X-Google-Smtp-Source: AMsMyM7P6zg+ASyaBesGpFDmUKr7JSU0KiFassfVuovga8A0Fdno66NMIUz2ES0q58lEeextaAeJBCIIdTa3PzFd5ws= X-Received: by 2002:a05:6000:2ad:b0:228:cf8f:fe85 with SMTP id l13-20020a05600002ad00b00228cf8ffe85mr313975wry.94.1664985500010; Wed, 05 Oct 2022 08:58:20 -0700 (PDT) MIME-Version: 1.0 References: <4ba5b89af2ccc113eeeb21a5d503f37155749a3f.1664958832.git.jan.kiszka@siemens.com> In-Reply-To: <4ba5b89af2ccc113eeeb21a5d503f37155749a3f.1664958832.git.jan.kiszka@siemens.com> From: Simon Glass Date: Wed, 5 Oct 2022 09:58:08 -0600 Message-ID: Subject: Re: [PATCH V2 10/13] iot2050: Add script for signing artifacts To: Jan Kiszka Cc: 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 Hi Jan, On Wed, 5 Oct 2022 at 02:36, Jan Kiszka wrote: > > From: Jan Kiszka > > There are many ways to get a signed firmware for the IOT2050 devices, > namely for the parts under user-control. This script documents one way > of doing it, given a signing key. Augment the board documentation with > the required procedure around it. > > Signed-off-by: Jan Kiszka > --- > doc/board/siemens/iot2050.rst | 52 +++++++++++++++++++++++++++++++++++ > tools/iot2050-sign-fw.sh | 51 ++++++++++++++++++++++++++++++++++ > 2 files changed, 103 insertions(+) > create mode 100755 tools/iot2050-sign-fw.sh Please use binman for this. You can create new entry type for your needs. We want to avoid adding arch-specific scripts with no tests. Regards, Simon