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 D8E0AC433EF for ; Fri, 14 Jan 2022 09:40:10 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 80A7680FCC; Fri, 14 Jan 2022 10:40:08 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=siemens.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=siemens.com header.i=@siemens.com header.b="qI7/Hahk"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id F17CE82FDB; Fri, 14 Jan 2022 10:40:06 +0100 (CET) Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04on0600.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0e::600]) (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 3101780F9C for ; Fri, 14 Jan 2022 10:40:03 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=siemens.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=jan.kiszka@siemens.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=D8GALvMASyfkyNdEEEzBJFo1Qc4Rwz6YeI3yd5qQUdlmj3ymkypZsOPX8j7ud0Ufd38Pu6cawWArgMOlEqKz+iaYrLgbnFbypnCGonfSEhtX5p6Nzb0AN1cA9SDcsrHTtAGeMHiIM633BiyZAf0piApJjdEDo+yU1+2qOHXuzvIopx4t2Cdeq2ucfmKTKefMN8U955yojMDyb2NML+iluQ065/kHc9tJaIzIfd6//CWd4CofuVDqxvzo7rPDF0n5lyikv5FuxRSXkYBi2kwt7A2xg3h0Qy87hrRuPELiX4KSR+5nyJ4qRce08ITcaUUJRY1o6U1g1sEPCzKN64va0g== 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=TWcRmFCC2lKmpp6/MyHrxYu+WN/c3pSPeZylJedj3y0=; b=BLZL5W3lKyIwlbXxHgOVyklr4l0OUb/bVjfggJ4ZMjD8kWGbvBSBS6S+RYSQc2TghaoszYUVlNmieZvPUIHX5K+X5xav7IvBZSCAaKzFMbqWQsZ3rPfEdt4kIY+h7RZpSgB46LLfSpiHdjSTSMtGuKPFP7nuIwzzTJOM1zTy0q9ceSfoAxCJA60pasm+ipDsw/7RqLkoc/yQLiSQuG/4EarRWYyhyHUN5yD6AJHeVddSxuoH+yf4zVXQpoNwWkjSmyig4pyHs1JaLHeeoz1cC0Ghc9V7E3zIrXByG7ILVnWHtU/VirtDv6SkaM048YfCe6z09hQkAUm/U7eiTb9uGw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 194.138.21.72) smtp.rcpttodomain=chromium.org smtp.mailfrom=siemens.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=siemens.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=siemens.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=TWcRmFCC2lKmpp6/MyHrxYu+WN/c3pSPeZylJedj3y0=; b=qI7/HahkQFjT8P87WyBSqkvAVT23MyGfTKj8UFv7nXV8cHbYYepoPWJRcuBz6HdpzU/k/tosGyyE/xsGogJQVPWZM/NsGCRI4nIu+UgFO5c8PyI8o36y2wIMBYOPdxJKm8+m27yJuTd4YRFX9XEkCM+ImAAwg5p6OoF+zxul4ga+L8ubTdCpHM/wrMJk0q8m2/jwShIkxjO/26hsc1s/WusoEH/qs94JxvqrdO9Ae7KcayxOwO/RhLf956+bjAcBF/d2MlrxksmWNyND2OPlo5cFRrqIMgv9HJLnEg6MMEFK3y8WsIMpalf/WcjYFlJuvNSaTJ1yPvfke5Fr5Xd6tw== Received: from DB8PR06CA0028.eurprd06.prod.outlook.com (2603:10a6:10:100::41) by AM6PR10MB1960.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:209:2c::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4888.9; Fri, 14 Jan 2022 09:40:02 +0000 Received: from DB5EUR01FT040.eop-EUR01.prod.protection.outlook.com (2603:10a6:10:100:cafe::26) by DB8PR06CA0028.outlook.office365.com (2603:10a6:10:100::41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4888.9 via Frontend Transport; Fri, 14 Jan 2022 09:40:02 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 194.138.21.72) smtp.mailfrom=siemens.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=siemens.com; Received-SPF: Pass (protection.outlook.com: domain of siemens.com designates 194.138.21.72 as permitted sender) receiver=protection.outlook.com; client-ip=194.138.21.72; helo=hybrid.siemens.com; Received: from hybrid.siemens.com (194.138.21.72) by DB5EUR01FT040.mail.protection.outlook.com (10.152.5.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.4888.9 via Frontend Transport; Fri, 14 Jan 2022 09:40:02 +0000 Received: from DEMCHDC8A0A.ad011.siemens.net (139.25.226.106) by DEMCHDC9SMA.ad011.siemens.net (194.138.21.72) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.17; Fri, 14 Jan 2022 10:40:01 +0100 Received: from [167.87.0.93] (167.87.0.93) by DEMCHDC8A0A.ad011.siemens.net (139.25.226.106) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.17; Fri, 14 Jan 2022 10:40:01 +0100 Message-ID: Date: Fri, 14 Jan 2022 10:40:00 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.4.1 Content-Language: en-US To: Simon Glass , U-Boot Mailing List CC: "Su, Bao Cheng (RC-CN DF FA R&D)" From: Jan Kiszka Subject: binman generator nodes break over read-back Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [167.87.0.93] X-ClientProxiedBy: DEMCHDC89XA.ad011.siemens.net (139.25.226.103) To DEMCHDC8A0A.ad011.siemens.net (139.25.226.106) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 211844ea-287b-42f4-4ad1-08d9d741d691 X-MS-TrafficTypeDiagnostic: AM6PR10MB1960:EE_ X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:3383; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: H3bkPZIN6KIg/zVezVHP8UpoLfGvJqOy2wVJttU3rhKyvMVBBSfdc8etDcOL35kJtEb2JePqDh7cyfAiE7Nk1gZYYVQAUfaTpWvQ7AOUvTnC49XJ2ysG6OTgjaskIlcmHkylhEoycr54dAfQtJj5YWlcvXkYta1HqBViuAWame4Fm5GHJAHVjXCW5R1wDh1ZUzR1eOChqa8bKZpG02Jx/crQHjUVpxHuKquLLkc7VfOZ5o4vONfkeX48kfTdWb1q7KDCLvLA6UDHYtluAzdMM3op0BQwLjojvX6a79kwiRq7H1PS2GhXK5zslsY8lOn0dMwRafnCxC8XXEkEQgK+8A5jeDoWHvxnvSlNZa3omRxTs8nyX1By+Vv90B0fYACthGStLRQh8vCxIeNUUGJZJymRDGoiVnTuKcwV9pjeOn4DyuLmQGZs+SHZp9WpuV98fvql/978ZGClOsQV83miYiwXh0aaRWgMn1XQgH+4hNCjeGBexrnnx/Cmae4HsOtatz/fXK5CgQ+MKxfTDKjYL8frgMrB4XPbg11cbiZCiTIosdauCVChdPSAT8MYcgc2g08bSb7/I/XBOWbyi+5LYsMCq+GffNICyZoEQV1UHI75l1asl/A/EY5P/BwVeoPSGRuu19kuK94NumvhJel2sPNQ1HgBZsvpk2Z2uosj7veG8TYyKi2W9WBuT+RUkOz3usiOS7LFy248S1obS/xE3APcv3StaR4EwL6UdJ+xEUfq+1mxRSyfr+DpstdORTQGKYqq7Jel/Gi8RzrN+Nl8TEfU8S1zwZUlezky3PfgRmRBoqHFE62soLwyO4PLVb5EZ4HvKL5tZXDNGB93d7Ej2HsG15NEvBllZob/H3pKJ7r4I26ceYXQ/4Qyk4D+9QRT7uhfD2aDsNc93CL/yranyx7AIlCpvzMhbHGGG2SWYguHVUjm2/lBA2nJyZQ6/S6L X-Forefront-Antispam-Report: CIP:194.138.21.72; CTRY:DE; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:hybrid.siemens.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(4636009)(40470700002)(46966006)(36840700001)(82960400001)(316002)(31696002)(86362001)(186003)(110136005)(5660300002)(70586007)(16576012)(70206006)(40460700001)(81166007)(6706004)(956004)(4744005)(336012)(356005)(107886003)(44832011)(16526019)(4326008)(966005)(2616005)(47076005)(26005)(36756003)(2906002)(31686004)(36860700001)(508600001)(8676002)(8936002)(82310400004)(3940600001)(36900700001)(43740500002); DIR:OUT; SFP:1101; X-OriginatorOrg: siemens.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Jan 2022 09:40:02.1546 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 211844ea-287b-42f4-4ad1-08d9d741d691 X-MS-Exchange-CrossTenant-Id: 38ae3bcd-9579-4fd4-adda-b42e1495d55a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=38ae3bcd-9579-4fd4-adda-b42e1495d55a; Ip=[194.138.21.72]; Helo=[hybrid.siemens.com] X-MS-Exchange-CrossTenant-AuthSource: DB5EUR01FT040.eop-EUR01.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR10MB1960 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.2 at phobos.denx.de X-Virus-Status: Clean Hi Simon, something is fishy with generator nodes: We are playing with replacing fdts and configs in [1] with generator nodes, and that works so far - until we want to read-back the image: $ binman ls -i flash.bin binman: Node '/fit@0x280000': Generator node requires 'of-list' entry argument Same for "binman extract". I suspect that the embedded fdtmap still contains the generator node, rather than the unrolled entries. Am I right? How to check and fix that? Jan [1] https://github.com/u-boot/u-boot/blob/master/arch/arm/dts/k3-am65-iot2050-boot-image.dtsi -- Siemens AG, Technology Competence Center Embedded Linux