Message ID | 20230629145925.302080-5-lukas.funke-oss@weidmueller.com |
---|---|
State | Superseded |
Delegated to: | Simon Glass |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=weidmueller.onmicrosoft.com header.i=@weidmueller.onmicrosoft.com header.a=rsa-sha256 header.s=selector1-weidmueller-onmicrosoft-com header.b=ie2QKeuU; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4QsMBs3D3Bz20XS for <incoming@patchwork.ozlabs.org>; Fri, 30 Jun 2023 01:03:01 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4D8CB866B6; Thu, 29 Jun 2023 17:02:53 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=weidmueller.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=weidmueller.onmicrosoft.com header.i=@weidmueller.onmicrosoft.com header.b="ie2QKeuU"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 16C7E86690; Thu, 29 Jun 2023 16:59:46 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FORGED_SPF_HELO,SPF_HELO_PASS,T_SCC_BODY_TEXT_LINE, T_SPF_PERMERROR autolearn=no autolearn_force=no version=3.4.2 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on20621.outbound.protection.outlook.com [IPv6:2a01:111:f400:7e1b::621]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 88B468668C for <u-boot@lists.denx.de>; Thu, 29 Jun 2023 16:59:36 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=weidmueller.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=Lukas.Funke-oss@weidmueller.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QTmC3eoMLyKpO6zVxJoFw2zR/Pq2uiFodKAtjxNQTFReUk0HDf4hJA6hkLwRmxeR0FN812MSLeCuXCYJ6zzoiRC96tyZKZy17GFKRa+9ZraceCnU04VCLWHqL67r1H5a2ToP7H8e5QKaVAetQxC1xhTQZxP0g/EJeynz1B/2e1/kaWJZpKiKMzONL4nF/+oCIb6CNNhHxcurVaW0tyCO5yH2f2HPD1POdkuBVjegxyFBQfp0gCtl9wgawXiecZhdAqgRXsPNJb/YZQGvJO8d0OCIWRztls+sPjat/rUkntcjXeC8vYEFWzEB5JFHu+v9XhSMtwac3h9upThK7bIojQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=m1ZyU0R4ZgWj/6rACW6rDcMh3j1cY0f8PBC3nTge2iA=; b=MrhZp97IJ6bhwkDBx/mNnHFtFfAh5iTGlwbxwq6rnuG2JaOEgeERpM4ZS1JkLHXJIWUN4hiZhbs2M8Zrf0cfu1NTvYuqQTT6HkCel1XW9W+7niErJKXa46Gf4yr0MuaySpQ/8E53r0AGOiKKU1YKtmejMT1BHYhhtmz1pnin08cc+O4Eo9E0pegI4FKGcijVDYwjF81ONUetIY3xV6xIrkviJvUnEAtDoyo8/AAvkkvDh6AitQVhyiUPRjHT8zPsJyM6Xe7mCaUNM4WfVF9Iz3aLTSbEvHwxM8+a3c30byHRF8xkwY49AOp2y0C9ny4kqI+RavD1miOt6Yj57/t8oQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=weidmueller.com; dmarc=pass action=none header.from=weidmueller.com; dkim=pass header.d=weidmueller.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=weidmueller.onmicrosoft.com; s=selector1-weidmueller-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=m1ZyU0R4ZgWj/6rACW6rDcMh3j1cY0f8PBC3nTge2iA=; b=ie2QKeuU1NyiPhIzovo+eKua2lJT8OlJhxWwZ9GIHcQhXOx504arqs8mVKTCC5d2KWdFxyneqIwipdO3ulzGjMl2DchC33tkR92jhRvi8vqN79Zd7xO3GLQeeHSazFqFV7Uilia8lzB5QPIIhx51u3opaQwDLPU+rAq13RxdL50= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=weidmueller.com; Received: from AS2PR08MB8431.eurprd08.prod.outlook.com (2603:10a6:20b:55a::18) by AS8PR08MB9072.eurprd08.prod.outlook.com (2603:10a6:20b:5c0::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6521.26; Thu, 29 Jun 2023 14:59:35 +0000 Received: from AS2PR08MB8431.eurprd08.prod.outlook.com ([fe80::9d3c:b418:152b:34d9]) by AS2PR08MB8431.eurprd08.prod.outlook.com ([fe80::9d3c:b418:152b:34d9%7]) with mapi id 15.20.6521.024; Thu, 29 Jun 2023 14:59:34 +0000 From: lukas.funke-oss@weidmueller.com To: u-boot@lists.denx.de Cc: Lukas Funke <lukas.funke@weidmueller.com>, Alper Nebi Yasak <alpernebiyasak@gmail.com>, Simon Glass <sjg@chromium.org>, Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com> Subject: [PATCH 04/12] binman: blob_dtb: Add fake_size argument to ObtainContents() Date: Thu, 29 Jun 2023 16:59:17 +0200 Message-Id: <20230629145925.302080-5-lukas.funke-oss@weidmueller.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230629145925.302080-1-lukas.funke-oss@weidmueller.com> References: <20230629145925.302080-1-lukas.funke-oss@weidmueller.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: FR0P281CA0185.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:ab::10) To AS2PR08MB8431.eurprd08.prod.outlook.com (2603:10a6:20b:55a::18) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS2PR08MB8431:EE_|AS8PR08MB9072:EE_ X-MS-Office365-Filtering-Correlation-Id: 623f39ce-1e4d-4b2e-e2a7-08db78b173a0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: WbDt2fOeWn47XTekozmS61r8vom5KRWx35ecCWB8ZFwluOopgRJGpVJcvqB32azNpvtYxc+toNo2qWF6NSOFJ58UxcBz1w/9jdOBZU4KU2uXlX/RFFrYYMFqa+QqXa4xGK/QJyDnTKpB90Lu5Ls/KsvyElViDu5p0Lvi9TnMV8pGH1d8ui5JQyQQ4fGu+rCk5du1kCxKHEXGAm+LYrJxhdnuUpCv9hvIbdcgWqYc2himXSJwWJ6V6S2Xr4K27mK39vOmkJngp4CSzmq/bWIZAkRmpNU574UVCI5kj/YWPAjdrK3oe+dMPqBWrQ7DRnysKJ/pYZhPlbzsXrYYArVEunpf9IWw8G8CMsob7an0DmFQDtkkPkWJ764iqXnejJowOIE5hm+syKvlJgSxtpkwt8k3udtTZmPXIclLm9dFJmAmXJtlzqyNSzWmUyw3eunv8aIBJPQ4ZO5ehGCpWJW/qm6BXKFGYT7/Y7NvmYmoZCxWY7hFfF+g5/BUwN4noPY/D80wStcM7wg75a4Izlz3v2+TZjyibPqGCdmgZtfjpVllhSh/XU1P8p4N7fZoMBuZuHDNBUBS16y1TvpXBtxBB1MZid0Xo3shV5iqRx/wKJmXxc4t4E/DI0/Y/18r4kQd X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AS2PR08MB8431.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(346002)(366004)(136003)(39860400002)(376002)(396003)(451199021)(6512007)(26005)(9686003)(4744005)(2906002)(86362001)(52116002)(6486002)(6666004)(83380400001)(38100700002)(38350700002)(107886003)(2616005)(186003)(54906003)(41300700001)(4326008)(478600001)(36756003)(66946007)(66556008)(316002)(66476007)(6916009)(1076003)(5660300002)(8676002)(8936002)(6506007); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 5nV4KHDzGl+WLURLJ/d91/Df+7pdXwwKJxZe3wPH+GSdsMS7xb3KjV4U4rGslAsBv+6o6uA5oOfekpPpx1bpHZcDYnv3Cczydn3K9mcIjtIGDzplZsQlIfxfWoJekl12HUUVg8p7CVIhLrJrt+zugji2ivEBVoEE7ChuZnC8Il3vQCYJJGJz3IUj3iKiLmiEN4jkPPEpOYADdWSr4yWKeKoVZ7k9atyphKUx809KpM37Lu8OpCv8f2aQYUyP9g38UVTA86dqv6JPxkr/DgIRqF5NxNrgglEom9hYsZo+60zgoPiM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FCl3aR9TVUg01iEj9L7cRcvFk7XHvzZhK6n128fQO2LSfjJPTg329CgHtC+Yj+0I9yIVIeCJLOgZRkIcMp/TyYG78Zp/r5o7OojNA6kqc6Bi+bmPT5tMU1vPRbW9V1yWRF/ReTQtgftJasTyR95rN/ZzpsM5sCY0vbtN+LLGxMHSLv5nTtMdEhBkeC6jmKM8AKfXWVi2j0zaLP4sjEOnTDHhREv+0i0am6UVUXNGledf4Jg== X-OriginatorOrg: weidmueller.com X-MS-Exchange-CrossTenant-Network-Message-Id: 623f39ce-1e4d-4b2e-e2a7-08db78b173a0 X-MS-Exchange-CrossTenant-AuthSource: AS2PR08MB8431.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Jun 2023 14:59:34.8442 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: e4289438-1c5f-4c95-a51a-ee553b8b18ec X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: vZ3k+CCMMfBb5HpGaByBiqXK6k6EL7Xf0Nijv9RC7qakZrv6Do9ow2w2UCUnC6vT9modYGQ/KQUvCb+xK86etA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB9072 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean |
Series |
Sign Xilinx ZynqMP SPL/FSBL boot images using binman
|
expand
|
On Thu, 29 Jun 2023 at 15:59, <lukas.funke-oss@weidmueller.com> wrote: > > From: Lukas Funke <lukas.funke@weidmueller.com> > > The method 'connect_contents_to_file()' calls ObtainsContents() with > 'fake_size' argument. Without providing the argument in the blob_dtb > we are not able to call this method without error. > > Signed-off-by: Lukas Funke <lukas.funke@weidmueller.com> > --- > > tools/binman/etype/blob_dtb.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Simon Glass <sjg@chromium.org>
diff --git a/tools/binman/etype/blob_dtb.py b/tools/binman/etype/blob_dtb.py index 6a3fbc4775..d543de9f75 100644 --- a/tools/binman/etype/blob_dtb.py +++ b/tools/binman/etype/blob_dtb.py @@ -38,7 +38,7 @@ class Entry_blob_dtb(Entry_blob): self.Raise("Invalid prepend in '%s': '%s'" % (self._node.name, self.prepend)) - def ObtainContents(self): + def ObtainContents(self, fake_size=0): """Get the device-tree from the list held by the 'state' module""" self._filename = self.GetDefaultFilename() self._pathname, _ = state.GetFdtContents(self.GetFdtEtype())