From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 28 Jan 2022 14:46:48 +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 1nDRaS-00G4TA-Gc for lore@lore.pengutronix.de; Fri, 28 Jan 2022 14:46:48 +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 1nDRaR-0000C7-Pg; Fri, 28 Jan 2022 14:46:47 +0100 Received: from mail-eopbgr10064.outbound.protection.outlook.com ([40.107.1.64] helo=EUR02-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 1nDRaG-0000Ai-Vs; Fri, 28 Jan 2022 14:46:38 +0100 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=g6PtyN7Fn2IaE7YHGoMSgUSGl6KjyrGXfSzy6jB2bULkRGbGKSv5bW1jgyrpDVB7m7/PR/cUW7gVkhDAkduATA5hRTTYlNj9RzldnM6tIiM8jLLcvVEdw+IIhWtRpEMPK5LqhRvpElP1QR12F73fOZ7xpWJBneoWcu75lh7eIjNoqYweyRmw6Vrkhtfv8D0l/D8Xr9bT8IVmu4kQvEvn1ov8iut7w6vpxMJmwlpkgVPygm9ymJ+rAHMOcO/4qOhAxaMx564tttRRGzt7X/C/L1dmi68K61UE8TJg478IIef6n9IZMF/wNG4eEg/lzC64CU7jOYqn6Fk5y3Dgs87orA== 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=cnEuNQyXJifktZYRlKMFfMTojZVzc+6+5sWMYFlgiF4=; b=OHGGWPQ3sX3VIa1TjQjbmWwcHqhiSpHcUf2DbyqVaYTTVdbhA88FXckAp32X6nyfQyePNQ7oxn+3WXFpL3403orxvn11bFPJOoSSQMv+Niacwy7X31ew7FmRM6ukMQEtduc72gGSRrSOobDZT4rQKEkUdbNfrzVMSPj6WiW5aF4NbdzCcVEBKEl6vD3osBMYdjGUWIo/ibFFE70s7GwSgYEYl59fziZLLZ9jJipZ0BkF2MlVf66qX7L7jQMvmspwfvlsfyA+eBMUVLgD6b3M1kiFPtWk07fEeqNKBFtH+cf3+Vf11dwzjqDIxdm1dNudeGw6avHM9v52fknBEYpfnQ== 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=cnEuNQyXJifktZYRlKMFfMTojZVzc+6+5sWMYFlgiF4=; b=CiWatrGFzhmzTtP08Wlsdka+urwSiUJk1Dh5DxCTIdBcda/aemWR8kZSrjidMxrzYvN9+1x8jipkJ78rpMx09P6knI/KSW0bEXDrPvzr9zwXlrIhuI7d/6V5Sota/JbHzOP52JKkM3Hiy1iOSwBVm07hKMrPvJAHkZ+BYi+fuM4= 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 AM4PR0802MB2146.eurprd08.prod.outlook.com (2603:10a6:200:5b::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4930.15; Fri, 28 Jan 2022 13:46:34 +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.4930.019; Fri, 28 Jan 2022 13:46:34 +0000 Message-ID: <438c3c3a-101f-0b17-bf46-9243da296e1c@wolfvision.net> Date: Fri, 28 Jan 2022 14:46:32 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Content-Language: en-US To: ptxdist@pengutronix.de, m.tretter@pengutronix.de References: <20220124120942.557161-1-michael.riesch@wolfvision.net> <20220124120942.557161-3-michael.riesch@wolfvision.net> <5d8175cf-cc4b-dbe5-28d2-d535f77e4497@wolfvision.net> <20220128125908.GA11273@pengutronix.de> From: Michael Riesch In-Reply-To: <20220128125908.GA11273@pengutronix.de> X-ClientProxiedBy: VI1PR0501CA0028.eurprd05.prod.outlook.com (2603:10a6:800:60::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: 0007c07d-4e13-419d-b6d9-08d9e2649933 X-MS-TrafficTypeDiagnostic: AM4PR0802MB2146:EE_ X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:10000; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: d7VbkSkRZk+Efiut3udXkIdodG/RTeq6punR/7W3QGcyBvL8Re0yVSsmZTZcZ4JUZp8dI9q209Rrlo1V/28BZm9yFyfWCqsoFl/TCTP0LKxgDP/NIK8GdV+hRIkinG5rkBryHLkiDbY0d2Z4lAfD9APGuAkvgTKp1OUil4t0acp5RZncE/izkA5Lt4jUYXZxjAjPEHQfFTlrv7vQknqWLvLW+/Lz5dsZwUQ/q4/gv6cpoEX82HcKhRDSO+KA1NVT5pnDgLEIbVX866DTNrJIiF5isgyOq5eXFFHHReHF62zWKLxXROo0U+jrirXYUlty67vahvokuGs2Oli3mg9CJ3/Y2e2n/yOCfmsHMsiNcv7bLgsz/Q0jjrDtMq/dEimbL8elHxDLxK9aCBLxLqDbrrHkAcqr/UeIK17OzBD5D9s1cD9Dt/P4i5CI/QR89srRLbLsluAQhmyKoRrDYw3EQZcuH69kT3sUzv66yIxAAx43SzVcTAacbOp12Qun88wtFg8qf6aqtyBmXhf+Hsl0meiMD0cYe6MOUyKLIB0+dxhluEFZ0/uxAHLxIVznqBM7lPzzYhwnk6zU1QgwUoD454cYc6qt8IfDpIUw/1hEPrk2V68xoy0t00yFgsxwfB9i2U1q1dJrMhgaOKHFtS4kpUa/V4DzLdeKDg9evLYTPVRE5oUSo+/EzAOI51B9Rj0fdux8MF8wBHBIGZLwW4crRJmrrdHgA8G6mQdryvOIaZWgzPiZwBs7iqLSl5KxLprspT2LOH51xq92TVww/nX+W9nqkvF7K0JdOCsnwpvajguXuB8N6T+vYxCaASs+aY1mWTIjFXHbTRBI3mCmABjG/A== 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:(13230001)(4636009)(366004)(316002)(2616005)(186003)(8936002)(66946007)(66476007)(38100700002)(31686004)(66556008)(8676002)(450100002)(6506007)(83380400001)(5660300002)(6486002)(966005)(508600001)(53546011)(44832011)(86362001)(52116002)(2906002)(36756003)(6512007)(31696002)(45980500001)(43740500002)(20210929001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?SXJRaEJDaDVFWHplRU90U290QVFPVnN1UGthTWpWWmFWdk44NHl1T0F3U01J?= =?utf-8?B?MU1lWUl4ckJmZFo5elhmZVkvNzcrblIvam9waUMwMXlMRWNjSWtQdjZ6RHpw?= =?utf-8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ajBNMTkxZVQyTnI3RitZZnkvTzBuL283?= =?utf-8?B?b3l5SkZoRlFOejVGUU1GWnFBWllVSDBYU3FVRHgxRnV3UWprMzNubXE2Nytu?= =?utf-8?B?SG13a1Y2MmhZN0o0OHM2enNDbmZ4WTU0K2FlY3BkS0FoUnYycHdGL1NtRWZv?= =?utf-8?B?K3ova3IyMUkzR3FjZklSdUFqcVpaTUhnSzQ5NVMyY1FHMlBZUTZSeWFGaU1o?= =?utf-8?B?ZTBOdEM5a1hvbjhRNHgyQWZndkR0VGxHSjg3NXQvS2JFMGJlVlpCMEVHMTJL?= =?utf-8?B?a0FBMUJMdU9oVFJoMjFJczlsMjNmaVhXckpPRTJkMTU1ZldYM3g3OHhrUkVX?= =?utf-8?B?Uzk4bGpIRm1DZHZWK2l0b3ZNejFEbDJ3NUJPejg0TXIzTGMwMTM1MzRkZkNE?= =?utf-8?B?SGVyOGs1VUpyMkxBOXFDeHV2MGFJSTlPQ3RVTW5RcEJVWmJlR01tL3FWbVdU?= =?utf-8?Q?4laxc2spGKyAD6GM=3D?= X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: 0007c07d-4e13-419d-b6d9-08d9e2649933 X-MS-Exchange-CrossTenant-AuthSource: HE1PR0802MB2426.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Jan 2022 13:46:34.6889 (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: +55W822tOmMoXSgZPpLzg9iuA5ZT+okOjwEXSy6VnjiLxSONwKHX1fYqz5Ajdq+VpQZB4ng45HnwD/7J8YYYZ7UvuYdApaZgSTqux3IPvQg= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR0802MB2146 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.3 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,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Subject: Re: [ptxdist] [PATCH v5 2/5] add package for rockchip firmware binaries 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 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 Hi again, On 1/28/22 13:59, Michael Olbrich wrote: > On Fri, Jan 28, 2022 at 01:46:25PM +0100, Michael Riesch wrote: >> On 1/28/22 13:31, Michael Olbrich wrote: >>> On Mon, Jan 24, 2022 at 01:09:39PM +0100, Michael Riesch wrote: >>>> Rockchip provides the SDRAM initialization as well as BL31/BL32 >>>> firmware for their SoCs in binary form. Add a package that downloads >>>> those binaries for further use in e.g., barebox. >>>> >>>> Signed-off-by: Michael Tretter >>>> [revised and extended Kconfig] >>>> Signed-off-by: Michael Riesch >>>> --- >>>> platforms/firmware-rockchip.in | 41 +++++++++++++++++++ >>>> rules/firmware-rockchip.make | 74 ++++++++++++++++++++++++++++++++++ >>>> 2 files changed, 115 insertions(+) >>>> create mode 100644 platforms/firmware-rockchip.in >>>> create mode 100644 rules/firmware-rockchip.make >>>> >>>> diff --git a/platforms/firmware-rockchip.in b/platforms/firmware-rockchip.in >>>> new file mode 100644 >>>> index 000000000..aa702416d >>>> --- /dev/null >>>> +++ b/platforms/firmware-rockchip.in >>>> @@ -0,0 +1,41 @@ >>>> +## SECTION=non_free_firmware >>>> + >>>> +menuconfig FIRMWARE_ROCKCHIP >>>> + bool >>>> + prompt "Rockchip firmware binaries " >>>> + help >>>> + Rockchip prebuilt SDRAM initialization and TF-A binaries. >>>> + >>>> +if FIRMWARE_ROCKCHIP >>>> + >>>> +config FIRMWARE_ROCKCHIP_RK3566_SDRAM >>> >>> I still don't like the sub-options here. But I'm still thinking about >>> whether this part should go into PTXdist itself, so no need to touch this >>> for now. >> >> Care to give us some insight in your current state of reasoning as to >> whether or not this should enter ptxdist? > > It's still somewhat unclear to me, but it seems that all of these files are > only useful for one specific board. I'm reluctant to add it just for that. OK, let me emphasize once more that the same OP-TEE/TF-A binaries are currently used to kick-start - the Rockchip RK3568 EVB1 - the Pine64 Quartz64 board (RK3566) - the BananaPi R2 Pro (RK3568) and possibly more, so that's at least more than one ;-) As I already stated in [0] there are no alternatives at the moment, so any RK356x board is bound to require this until Rockchip finally opens up their TF-A magic. Eventually the RK356x boards will not need this package anymore, but I would guess for the promised-for-some-years-and-finally-to-be-released RK3588 the situation will be quite similar. I believe the package can be extended to provide those binaries once they are available, as Rockchip tends to provide the binaries for all SoCs in the same GitHub repository. The SDRAM init blobs are more specific, but in some form they will always be required (unless someone really brave steps up and reverse-engineers the SDRAM initialization, which I don't see coming). Then it would be nice to provide a rule file that downloads the binaries and puts them into sysroot. Other rule files can use them subsequently. Convinced? ;-) Best regards, Michael > > But it could also serve as an example for this whole infrastructure... > > Michael > [0] https://lore.ptxdist.org/ptxdist/b2e89ae2-0ad6-4ac5-5355-3fa64ebde78c@wolfvision.net/ _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de