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 B2613C61DA4 for ; Sat, 4 Feb 2023 16:21:47 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 6021D8573D; Sat, 4 Feb 2023 17:21:45 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com 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=konsulko.com header.i=@konsulko.com header.b="BOfs7uLO"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8CF3A85747; Sat, 4 Feb 2023 17:21:43 +0100 (CET) Received: from mail-qt1-x832.google.com (mail-qt1-x832.google.com [IPv6:2607:f8b0:4864:20::832]) (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 DCA8A856F9 for ; Sat, 4 Feb 2023 17:21:40 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qt1-x832.google.com with SMTP id m26so8731846qtp.9 for ; Sat, 04 Feb 2023 08:21:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=elz+TJ9OGYsDW6qN8IMxTXLHNZIgoOemduWkc8lP8Ac=; b=BOfs7uLOxW3/xotnkwd1GqWYtfeJTVtIPOVcMnXxQW/2QvAcfyduHC3vK3DBC3BXDM jpYOZ0hBP+CQ5rD/iwCgOUBw491cOvZR+rBzUviv8FSLaN95DTgOdj3TYffVK48jFz78 APt5olDRspQ9CnPZpyZShcHIYYTwuGf8ozdz0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=elz+TJ9OGYsDW6qN8IMxTXLHNZIgoOemduWkc8lP8Ac=; b=s5kXc/IQYJpHz1975W4Ju+Y7+GemDuW5Y3hGqj6eUFceTV17TIGZbs5VUI8jbgykEB zKyoTi5INXleaxDePGapxMb0hvAbAID3ut8SEZ+fnYoOSG7K0H+LEVE0jOHXN8gjfFOV ZfjGACxGuTRM6V+maltfeMr1aqbQRhU18QylKeMwxdhMv6viqo2WWihaDIbpUn5sTwCu lRP+NW9z1xTH9xQeLqk4MwppRtvTkrz/4UtO5asvVkvDqZQ8ubgE3G1DPq4ezh4+2BZo kS6zfeQO0hbIOmPGl6wUPLo7eNJJ0rhmw+iDE4MebcJWwag0wkGmMRI9DCicb3tZT/8i 0EZw== X-Gm-Message-State: AO0yUKXcsA+vdL0ArJSxrZ+lH7quhu91air7nxEhp1Gh1SuA3pUMBNW7 FIK1Fn0bd8Wo7Xp40WWlozA0Ag== X-Google-Smtp-Source: AK7set8J8N9kmpXXbyZYKCzcO2Qq38mvrqBu5zJQC69q8xkz6clLxxhaNvqNx5PZbyH3D4qDM03JIQ== X-Received: by 2002:a05:622a:1490:b0:3b6:3a8f:ecbc with SMTP id t16-20020a05622a149000b003b63a8fecbcmr12794844qtx.66.1675527699593; Sat, 04 Feb 2023 08:21:39 -0800 (PST) Received: from bill-the-cat (2603-6081-7b00-6400-1319-d221-b7f9-9bb1.res6.spectrum.com. [2603:6081:7b00:6400:1319:d221:b7f9:9bb1]) by smtp.gmail.com with ESMTPSA id 22-20020ac85616000000b003b630456b8fsm3677052qtr.89.2023.02.04.08.21.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 Feb 2023 08:21:39 -0800 (PST) Date: Sat, 4 Feb 2023 11:21:37 -0500 From: Tom Rini To: Jan Kiszka , Simon Glass Cc: U-Boot Mailing List Subject: Re: [PATCH V5 08/12] iot2050: Add script for signing artifacts Message-ID: References: <8205ce3121169e8e36075ee7566345855d57805e.1675427201.git.jan.kiszka@siemens.com> <48d7b446-ffce-63ad-8c65-d392eae0a8d8@siemens.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="7k0qVEUjhbhqO/id" Content-Disposition: inline In-Reply-To: <48d7b446-ffce-63ad-8c65-d392eae0a8d8@siemens.com> X-Clacks-Overhead: GNU Terry Pratchett 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 --7k0qVEUjhbhqO/id Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Feb 04, 2023 at 07:34:46AM +0100, Jan Kiszka wrote: > On 03.02.23 19:51, Tom Rini wrote: > > On Fri, Feb 03, 2023 at 01:26:37PM +0100, Jan Kiszka wrote: > >=20 > >> 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 > > [snip] > >> +# currently broken in upstream > >> +#source/tools/binman/binman replace -i flash.bin -f fit@0x380000.fit = fit@0x380000 > >> +dd if=3Dfit@0x380000.fit of=3Dflash.bin bs=3D$((0x1000)) seek=3D$((0x= 380000/0x1000)) conv=3Dnotrunc > >=20 > > Is that still a true comment? > >=20 >=20 > binman: Node '/fit@0x380000/images/u-boot': Offset 0x0 (0) size 0xb8870 > (755824) is outside the section '/fit@0x380000' starting at 0x0 (0) of > size 0x400 (1024) >=20 > And for the second call: >=20 > binman: Node '/fit@0x380000': Replacing sections is not implemented yet >=20 > We tried fixing but eventually had to give up. binman is not easy to > understand in these corners. OK, thanks. --=20 Tom --7k0qVEUjhbhqO/id Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmPehgsACgkQFHw5/5Y0 tyw5tAv/RdCzjbz5ua9eAlonldUrUPXNIbcn5JteU4Y20iQluMUN/yNLcYbbdn3H rz4AUAz6dxQXsQ7ftZcqnzf8fTd2wn+rCsiG2dh8dhO0oFVELCkelBStOX9J7apU dm967UwohdvQ3Bj13Bn6UP9Ye5+ykH2QJZk9XZpj4pKdkzEDjiBZUfpAtibB7vfx Pj1uqZ/4VobOfd1BYkVcH+OZ2WvbH3ltU2WmOxNAaTQbV5jANWVBDmClSEmV5P9t CKBUalZcbLIX7PUiZzlsf3ENgohMJeZBBq85CAv01hLukUmfU7ZSL6a80z9mjkgX lPyRIGa0s0vX5euLX2Oiwmhcex/RtqBRn/YV4Um8ELAqljXQH69+DNHpQWI6NYus rq4r6cDEwAs4joBLcaAr/+Jara59pUfVKE5CZlgDBzxJxkioOWns33myyaRmFz4w 8cRmoYXBQbk/1xSu0tp94ibkSBWmdeWmFaiC+lAxVXKGQiGaTvGUnDLk91veFdqW gn6AQaOS =VnP8 -----END PGP SIGNATURE----- --7k0qVEUjhbhqO/id--