From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 24 Jan 2022 09:34:00 +0100 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 1nBunY-00Bhei-OX for lore@lore.pengutronix.de; Mon, 24 Jan 2022 09:34:00 +0100 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 1nBunY-0007Qw-24; Mon, 24 Jan 2022 09:34:00 +0100 Received: from mail-db8eur05on2055.outbound.protection.outlook.com ([40.107.20.55] helo=EUR05-DB8-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 1nBums-0007QQ-0s; Mon, 24 Jan 2022 09:33:18 +0100 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MJsifkh+6Vgs8FFAFnkbjHiv/IVSuhnPvfPQC9PC0HWLnN1mqmOGrpXw2axK0RtzdMVARaqvHwNsVQY76byoxKIzVmhguWCfTkzUXyxsxkgvdUpArkGFzvOQFuvMcYS4nBamFZZAC7SSZ4p5WXNvrFKeAdIWhFDlh8PAqaWeFgRSUVg/62MuYP8uT3vKh1ihbruttpoeER5EA+qViyy/NJC8Lx17nsO3hx4m0QcDcIKu+SWvbOXbUkJ+umXhzZobXrg1OVx6iSMYSBGbqwlZ1Pycl2hnbvJknyQmCvCEBDt8emnrOzuXIpvmZob8rSee8mT89RcQeBKw2MBauyAw7Q== 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=cj697fiE5nepyo3E1HhpJYIXiQgy2Lszu5skP8iq+1Y=; b=Oc+ZUjzkIyLz/rr/z6gX/oQBh9F9YMcSCld/zrmgt66r9Omyldk3h6wdKgYPMSQfrkIek4Wwg5ze/ytjjOTnnBCEGAjCrb/1cEvCC2iEe/83gJ/+LY27aX3OcHMtyUcGWe7k0LinjYifHHOTYD2YRxVAmh1Ty+LAw3YaaUeC//GNoLpjGzElnbyEQHqhH1rhfy7owdB9r8+bvw+6umNAnR83M8O/6d2vpW5Fw6mstumJ8wyDrIwUvXBpIKKR8Wuup7H75vFDhbde7jq/DlPa/lF2BROZyzrbYtO4YFkW2IQZT+vJ1qYngzcGiP2qs+FnVt4xOZeUcKMWjQAzUsxB5Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wolfvision.net; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=cj697fiE5nepyo3E1HhpJYIXiQgy2Lszu5skP8iq+1Y=; b=AObxz+Q44ayPTBYmJnuNtaWZEH7GkXABNaCHc6N2cq/JZfYFXWNM/PBLfGA1f166KK1VDIZ3vFJgFupFIyElgFCtVQ/95zaY3egYqweEENet00+aflmpSh+q/uhGES8/o1eejlwDzl4eq0112Dchon3Blr8POJedcXuJhyWSCpo= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=wolfvision.net; Received: from HE1PR0802MB2426.eurprd08.prod.outlook.com (2603:10a6:3:e1::23) by AM4PR0802MB2338.eurprd08.prod.outlook.com (2603:10a6:200:63::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4909.8; Mon, 24 Jan 2022 08:33:15 +0000 Received: from HE1PR0802MB2426.eurprd08.prod.outlook.com ([fe80::e14f:197:5001:4c56]) by HE1PR0802MB2426.eurprd08.prod.outlook.com ([fe80::e14f:197:5001:4c56%3]) with mapi id 15.20.4909.017; Mon, 24 Jan 2022 08:33:15 +0000 Message-ID: Date: Mon, 24 Jan 2022 09:33:13 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.4.1 Content-Language: en-US To: ptxdist@pengutronix.de, m.olbrich@pengutronix.de References: <20211220120857.3672237-1-michael.riesch@wolfvision.net> <20211220120857.3672237-5-michael.riesch@wolfvision.net> <707201be-88c0-8c7f-a2a6-518ddc5eb2f8@wolfvision.net> <20220121084341.GE22780@pengutronix.de> <20220121094744.GE12549@pengutronix.de> From: Michael Riesch In-Reply-To: <20220121094744.GE12549@pengutronix.de> X-ClientProxiedBy: ZR0P278CA0063.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:21::14) To HE1PR0802MB2426.eurprd08.prod.outlook.com (2603:10a6:3:e1::23) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 55ace75f-283f-434f-074d-08d9df142a08 X-MS-TrafficTypeDiagnostic: AM4PR0802MB2338:EE_ X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:9508; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 5M9eiJmP5VnL0UJ455Yw0p7fYR86kfAqGEXotCW2wBAcF06X7ZG12wdFGT7TBaQhdP8F7UUgxgi36qu09VDPR4gHJb7mYnJImulJB+zpQPwJpsn7Yq31LwEavmV+zU+8G5ts/thgQHGpM2u9zeUuW+NZjqnA2tcPKo14ga6NDUhrkuy9QxoXDbWoqEXRBinkefSYHzqHVByha1m62IzEGzKwJWz6XE/NYeo9hW/zb1VJN71gB3VhtlCGyOxIPVmWlVJPE0HdNBN92ydRJRvSWOgA7LoaukC949TTvyOYdKyw1ECiKUN2C22XnT9c3wxUzJDOe1CrUlB+XMHi4N2I4tlDKZhb3l5fKWh1H0qH7OqNq8tPiadgb/fRCIWcUzmZSNRDuWtKTj4Q/oH69MbKBSTWstXDS3wJwUWHA2pEBBVwFP/wpZZLtV56Ux4QAVNt/iktJYn7djcUZVrDXrljeDzkS3wvNWu5Kd90drDI5yMAOi1Pl07zFdDjDzIKsvAmKIGZQqaECv1JL+AurXnrIpAM5YnW4xHIf2kyaSf5qtmrJVXxOd7u287Lvk+B9xmm7eO8PolMUk8hLBNJr6STmhykrrr41PbRD6XH2OPEAhCVPslTyGEBlV/56EOSw6GSuy176quJWfps71SWNJe4sfqF79ZEzm6sy9rntKvoOJG9Eeeigx18kVhf3aFwjmAjkauZGpz5XzDrG1pDTbbW+wQRcd+6/sjsX7jbV9zV+Xs= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:HE1PR0802MB2426.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(53546011)(6506007)(31696002)(6512007)(83380400001)(6486002)(8676002)(8936002)(44832011)(86362001)(38100700002)(31686004)(508600001)(186003)(4326008)(36756003)(66556008)(66476007)(52116002)(316002)(2906002)(66946007)(5660300002)(450100002)(2616005)(45980500001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?VFBYNmhoVFdOc3phU2x2bFNTelI5Q1ZXdG9nNnRRcDlUcUU2dnd6REN1VVpk?= =?utf-8?B?Q3BoakJQa2ZtV2JRZzEyOFhVVVFneHdzcUdFWFBGT29OdENLVXhTblRMWVB5?= =?utf-8?B?VVBIYk82SXJZbENnOU9jL0lyZ1RuRktJTkFEcFNUUWdXbEhJOVFCL1pSNGFs?= =?utf-8?B?SEp6cFdzQzFpN2NXVnNVSlBJZGZIVDZXM0YzMFhLVmtNZFVKb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FNTERBdng0KzNBWEpEeXNHTEFSN2R1d2VlTUswS0Z4NEkv?= =?utf-8?B?bVpMZFhrOGdYalFIdmZuUGdVZkJrRUgzVUpHczRnd2dSQW9XR2x6VmlwbVBa?= =?utf-8?B?RFlMVlp2K0c2UTJ2Qy8yOG9Ub2R1UnpuVHIzeTBmeFMrR2lUL1VYbGFyWEpj?= =?utf-8?B?Z3NuekFsRTJwT1FjMkxmb29XbkhtN1hOQmJQYlN0Si9xUVpCYmRkalVZOEZx?= =?utf-8?B?NXNHbTJlSUUva3hYeFQrYUhscFZvU1R2bzlMb1RiL1ZiNGRqR3RoUHV0YVQ5?= =?utf-8?B?OUVQS0k5N3FISi9KRmlselNKVytDem0xdEFKbGFRY0YvTjZwL3R4Zz09?= X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: 55ace75f-283f-434f-074d-08d9df142a08 X-MS-Exchange-CrossTenant-AuthSource: HE1PR0802MB2426.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Jan 2022 08:33:14.9454 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: e94ec9da-9183-471e-83b3-51baa8eb804f X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: HP/POcBZaVNYiEDEImg/h5T1YhjFD+dKhi/Y0wou8z/OUzy5RMBspV0i7m0o1f9txxOI6gxd+HkLRG2BDYAyXhDVsjrEdBm8Wt+LAYe9e3E= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR0802MB2338 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.ext.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-3.4 required=4.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Subject: Re: [ptxdist] [PATCH v4 4/4] barebox: add integration of firmware blobs 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 Cc: m.tretter@pengutronix.de, Sascha Hauer Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 Hello Michael, On 1/21/22 10:47, Michael Olbrich wrote: > [...] > We're looking at what to do in PTXdist right now. Currently, the idea is > that one package dumps all files somewhere in sysroot. Then we have some > minimal barebox integration that adds the individual files with source and > destination to a list. And in the barebox prepare stage all files in that > list are copied into the barebox source tree. > > Just dumping all files from a tarball into the barebox source tree would be > easier, but I don't think its feasible. Just look at the current case: We > have an upstream Tarball with fixed names that include versions. So we need > to do some mapping somewhere anyways. > > But having consistent locations where to put the files would make writing > the mappings easier. > > Michael If I understand correctly the remaining open issue are the mappings from files in sysroot (installed by binary vendor packages and/or open-source packages) to files in the barebox source tree. These mappings are implemented in the barebox.insertvendorhere.make rule files, which are likely to be maintained in board support packages. Therefore I am going to submit a v5 of the series that adds - the section for binary firmware blobs - the firmware-rockchip package as example of a binary vendor package - the generic helpers to inject files into a package source tree - the generic usage of those helpers in the barebox package (i.e., the generic part) and includes a mapping barebox.rockchip.make, which implements the only currently available (and hence best) way to integrate sdram init, OPTEE and TF-A for recent Rockchip RK356x boards, to showcase how this feature is supposed to be used. This mapping shall be marked as RFC and can be considered for inclusion in ptxdist (as reasonable default that can be overwritten) or (at a later stage) in DistroKit. This way the exact form of the mappings can be discussed further and the generic part is moved towards being merged. Sounds good? Best regards, Michael _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de