From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 26 Aug 2022 15:36:54 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1oRZW3-00B1Qk-Mb for lore@lore.pengutronix.de; Fri, 26 Aug 2022 15:36:54 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1oRZW2-0006H3-07; Fri, 26 Aug 2022 15:36:54 +0200 Received: from mail-eopbgr130088.outbound.protection.outlook.com ([40.107.13.88] helo=EUR01-HE1-obe.outbound.protection.outlook.com) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oRZV4-0005tQ-Sj for ptxdist@pengutronix.de; Fri, 26 Aug 2022 15:35:55 +0200 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IJudajqrfR5MPWx/W+2Dea/flulTWFLofqmKsZUm76Qq1WOG5KZwiDVbZfqnjPbzgevDjleaHR6IdWJtDwhHbwAYYIVuuzUjtDNEOSoJarg1wJ6PTODC816rteGeglLTijAMutnsa+rFW99JI6uS20l/Z2ImanBVQj1yiDwAblqcFOd6y+/9aCGYdSUcCLwmbOnjnr90j4afa7RPBuC8+nw6lqqTk7zUEuAvFhSJhljmM2nSzAG+IWSiYh9B7vlseFZXqHHC0yTUQM5Flxyqr+eIycx/wjstjDAe1Ef2TsZmvNwGXBusd/ps11DqEvKs2LV3aHfE8ES3KRSJp5GEPw== 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=rWIA5dcjY7rC3H+SL7y4lcRM+VQLslPVHn0b89RlqGo=; b=Rkl5gPpjZWp9cF94gTlrGXO51z/OxFnoX3D6PpWRIXUqDr0bJwqrgGXh+5Nv0xPaNL8viHh/BhyxwFWcs8mr+BGiSUpQ7aDV2hMnEgiU1qlg69sNox93d5YhiGWrz4ucNeaXoZzgr9L71I5yWOXOz4dggSP5YIlN1ytSYdbmpgwV/6jSlhTR3RdZOuDz+jVtrshgL2qVetYsJjAz0246iko4DekWZIO84z9I3cknDSXCNnS7w0cdmhmB5RsAmz/jOosyuybKFV5QV9iQ8IcGKRPoMkJMtgrRZ42kRFetgSS+eQg48ATC33eXJGswHxLHklgD3qyZ/lPllYN93x/1mA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=t2data.com; dmarc=pass action=none header.from=t2data.com; dkim=pass header.d=t2data.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=t2datacom.onmicrosoft.com; s=selector1-t2datacom-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=rWIA5dcjY7rC3H+SL7y4lcRM+VQLslPVHn0b89RlqGo=; b=lRS1nqtQZQSjBN9CdjN4vx4mM2+gim/zWw6XXsjiyH9bTGmnQGfZ8TdLp9yCOpZK/UZTRQqUwCby14S5Bi1g5Vswgw9HfijDS225gFYgY3iCp+ZxSDcROpVgI58+CVaN3kwyfaXVmcGOLETl4fWSzDHQDd5oS+lVeajtg6ZVDEE= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=t2data.com; Received: from DB9P251MB0618.EURP251.PROD.OUTLOOK.COM (2603:10a6:10:334::22) by AS8P251MB0783.EURP251.PROD.OUTLOOK.COM (2603:10a6:20b:523::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5566.16; Fri, 26 Aug 2022 13:35:51 +0000 Received: from DB9P251MB0618.EURP251.PROD.OUTLOOK.COM ([fe80::a130:b2a7:9ffa:f1b6]) by DB9P251MB0618.EURP251.PROD.OUTLOOK.COM ([fe80::a130:b2a7:9ffa:f1b6%8]) with mapi id 15.20.5566.015; Fri, 26 Aug 2022 13:35:51 +0000 From: Christian Melki To: ptxdist@pengutronix.de Date: Fri, 26 Aug 2022 15:35:37 +0200 Message-Id: <20220826133537.1843791-3-christian.melki@t2data.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220826133537.1843791-1-christian.melki@t2data.com> References: <20220826133537.1843791-1-christian.melki@t2data.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: GV3P280CA0020.SWEP280.PROD.OUTLOOK.COM (2603:10a6:150:b::32) To DB9P251MB0618.EURP251.PROD.OUTLOOK.COM (2603:10a6:10:334::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 2857ac4a-34b2-41a3-56aa-08da8767e47d X-MS-TrafficTypeDiagnostic: AS8P251MB0783:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: eNdAqfkg9pU2v++iVCMqeS4dKu8NhziBpp1M/yaxjt8hnHaBpzru3aLMzSQayzn9Ur0QXpRK/ijg/E0YSvdMxDLf8KT5xtBLnvIx5/fisVquOdWZaEnOK82mMmsodpL/J4wIdDHmBtld9gsx1HDz6HICYkViI+nIEHmv05HhhUJ0g4SmHQN03R6HoLsIwKSE7Y3BYLzferVIgm0XmwbKloH7+epUHvlcBj8uZ5hnPTO3pBRQicjsrCH61EeZBT8RlHq/m8KGzzn290e/pA7vBuHIUZxpVqYBmfFjkQ8tLkujd4NLJY38ow88ZFfyH4Mqe4An7fAtNWEg8JmEr5S4ppaCQlBiAcS0n6t5BvXKwKOIPvJcdQZYTh58j5VMfgf9sdgwFFAMin5crXruRL7rnoxUwUAM1rOdntgL799tWRmqxKFHzgnocv8Jj3UNCX+sTS/0yv2nnmp6mGVM2ic5o7BSR6cwBQ6K4tdvaMoM9nDTkD0MEnnE7naDt3RDdyU4LNOdUXUt3YKhw9IcuPVOSWR2wCX1rpOwMGjrSJH6dves31fPiGN+/5hajKXIBoKRNQ26lVqamXZY6J38V7kobHQ332ePuMd5gL40wwHctYYudHZbXmNK+AvtaERtnxUlv/RNLItuwYxrIs+YyDTU7/da7ZAwmSdeeo60r8yGiRVmZZ42SrsjarWDowei57ItyDeKLSc+l9zgc6MZ8CXlBlEodf5kUwyx8QC1EJogp4Ka4X0OoBtpNnKryFAxHsUoThsToepXBhr++Fxp3XVZAQ== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB9P251MB0618.EURP251.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(13230016)(136003)(346002)(376002)(396003)(39830400003)(366004)(6506007)(52116002)(2906002)(38350700002)(6666004)(44832011)(26005)(38100700002)(1076003)(186003)(83380400001)(2616005)(6512007)(6916009)(316002)(66476007)(66556008)(8676002)(66946007)(6486002)(8936002)(36756003)(41300700001)(478600001)(86362001)(5660300002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?KaINItIoaJqZnaJnlqYyu4FMOzTdKYFcGJWtgJgdvH5perX9AIGlSdzq6kuM?= =?us-ascii?Q?qh6xEQfnYMlAqlTNDtHfrwlg82emtHK7OtaXVl0l2XLgTrTvEwupprOQTily?= =?us-ascii?Q?E5Wg/X2kNRY65pgAAVpJiawBoKDySHLYALHc+vYS6HdeTEK9cQnrUnrXSAQr?= =?us-ascii?Q?a0wDekmqkycRp/W+r3jQ84/akGHjI7CNpmyYGPsAUT6dSpQTfWvbpym9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6A67FisIa61am5uVrZiqBUsg/COZ?= =?us-ascii?Q?vuv/ZScxBubvg8LpiClih6pbCExTvaaqzdr5m7kQYHjOxTk+mrKdwYw/nUl4?= =?us-ascii?Q?qNREw7hleLBuZ6a5jqOKPev3S5xUrgb5bxmggyc80HkYy2A4jn64kKOcHBWB?= =?us-ascii?Q?N/uOxJONrHSvFdDuHXdlpmlgvAHMsGbh21aigrowDwKsv6Mc3W4NUU41wgk0?= =?us-ascii?Q?MoEXvJ3WAHxPUUCDV6KgUVculHKykwmr/Ll9GZj6OzusOJdl82BpcJGk1hGJ?= =?us-ascii?Q?Ht0F+O8tPtncMWdGzisr3BENI84KXZVStZ2ua/TchJ9fHWWKymUt39G0DVFf?= =?us-ascii?Q?RxXQGKgaTQXLZ3ShvdSmm5eObbHPRNoG9DRk288hKb85CmCcH6yQBBpxWdFm?= =?us-ascii?Q?KN3Sl/JK5l7Y2rS65UuKx55tud2Bc72QKRZb9nmpyDcOAPd9EMawz8gOJw69?= =?us-ascii?Q?beTG3Xw01leAha0g0eW1RAGD+LtLdEdfdBwLDaNiPr5PzSD22nygWxbFTMn6?= =?us-ascii?Q?RA=3D=3D?= X-OriginatorOrg: t2data.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2857ac4a-34b2-41a3-56aa-08da8767e47d X-MS-Exchange-CrossTenant-AuthSource: DB9P251MB0618.EURP251.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Aug 2022 13:35:51.2084 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 27928da5-aacd-4ba1-9566-c748a6863e6c X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: bIjPYnrNdCJB0gbq0O0+JXWOwo04WQP6x1acr34Bf13fZKEg596JSKfKqpTPoUaJ050TghYex+POoEQf6UOSLgjw4P1YHNkJzYXeKgPYWMU= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8P251MB0783 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.ext.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=4.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Subject: [ptxdist] [PATCH 3/3] u-boot: Move image copying from targetinstall to install. X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false This seems like a potential issue in several packages. When signing u-boot images in tf-a, tf-a has u-boot as a dependency. But u-boot doesn't install images to be processed until targetinstall, which leads to problems. Some things might be targetinstall. But resulting images destined for the imagedir aren't really targetinstall unless they are also copied to rootfs. Signed-off-by: Christian Melki --- rules/u-boot.make | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/rules/u-boot.make b/rules/u-boot.make index 0b632e8b2..bdbe03ffe 100644 --- a/rules/u-boot.make +++ b/rules/u-boot.make @@ -133,14 +133,7 @@ endif $(STATEDIR)/u-boot.install: @$(call targetinfo) - @$(call touch) - -# ---------------------------------------------------------------------------- -# Target-Install -# ---------------------------------------------------------------------------- -$(STATEDIR)/u-boot.targetinstall: - @$(call targetinfo) @$(call world/image-clean, U_BOOT) ifdef PTXCONF_U_BOOT_INSTALL_U_BOOT_BIN @$(call ptx/image-install, U_BOOT, $(U_BOOT_BUILD_DIR)/u-boot.bin) @@ -194,6 +187,14 @@ ifndef PTXCONF_U_BOOT_ENV_IMAGE_NONE @$(call ptx/image-install, U_BOOT, $(U_BOOT_BUILD_DIR)/u-boot-env.img) endif + @$(call touch) + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/u-boot.targetinstall: + @$(call targetinfo) ifdef PTXCONF_U_BOOT_BOOT_SCRIPT @$(call install_init, u-boot) @$(call install_fixup, u-boot, PRIORITY, optional) -- 2.34.1