From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Sat, 04 Dec 2021 08:10:46 +0100 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1mtPC2-000660-8H for lore@lore.pengutronix.de; Sat, 04 Dec 2021 08:10:46 +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 1mtPC1-0008KJ-PG; Sat, 04 Dec 2021 08:10:45 +0100 Received: from mail-eopbgr30084.outbound.protection.outlook.com ([40.107.3.84] helo=EUR03-AM5-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 1mtPBO-0008K1-FJ; Sat, 04 Dec 2021 08:10:07 +0100 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UcGAuDQAhSMjsPw61fr3vi1y0x0KrskExuPa9xkuFvUsyC6SNGDBN6O6qSw6vWShhzu+V+4ZFYenr7D4RUYyObIO6xAmx8fXUss5+rOefcctsDsNKNfXqw8L1wsMujYud5XlUptLqDP69jlPq6kXr7l3M9yKCUwq4C7mMFU/1vZPG0FWDEl5Ubv2Zgs4y+KqFXcylOKnRv9Z63Tiqi+fJ461jTdNiBfJs6Ij3g7L7l1FAyiRWXhdgIjww0iahuvQmjr745U6lothBR+lo+wnKnumfDJV/UXIcuXLuhlvOZHRg19F1S9R8UDfDL9gT1dVTrLT292Z+4odbCEckbYdEg== 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=KEmdMPf4YIaXjOGpYETx5u2OB4w6HU0cXSoBWj8RMWk=; b=EkOqa/YkLlcApHRMaf71lkLFVOMnGs/0HUqaBJ9U1y8In3J3JrAAWrrpDRuLj69zbaGZ2zNgiFnTVpZtQtpILYtrMjcgoP2bd2VO2eyBX3bwrLXnafDzjtEoP8/N1jjdj/8w/a2L+/EbMbIxHRO0Ku18tzJRaBq+P7/a5U6NYSJBnrTbIezPFpkqkCuVv+sSnURDwZ2j12MytmKarho1Nkt+KyXUzQoMWtaahTNKqtOqFaWBB+gBTEEgGjDz2Lw0wvjeg6L5YXk8+nZL3ntOWoxz/jTiRGxR6Bm6jKjU/kb1ELd7olg/p7QwwmHAyS0RSxnnc7ry0V0BltD5jWSd+Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=wolfvision.net; dmarc=pass action=none header.from=wolfvision.net; dkim=pass header.d=wolfvision.net; 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=KEmdMPf4YIaXjOGpYETx5u2OB4w6HU0cXSoBWj8RMWk=; b=MJTYbhndwBT+lPWq7I4I6oj7E35XsxbQWaxuhvytMby0qHYwKQHSPKcwAdq2dydiJwDg8CMoQ+KSvxvfIuzrVs8jLO0+fFD7zEbZGWlSrdMRuWLVOUsYAf99ep7q8LXMgzKB9ZAkQtQ3zV+efohX3N5XFOIzsL0Y4CGGJSOYtlg= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=wolfvision.net; Received: from DBBPR08MB4523.eurprd08.prod.outlook.com (2603:10a6:10:c8::19) by DBBPR08MB5222.eurprd08.prod.outlook.com (2603:10a6:10:dc::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4734.23; Sat, 4 Dec 2021 07:10:04 +0000 Received: from DBBPR08MB4523.eurprd08.prod.outlook.com ([fe80::81d1:d448:4016:1956]) by DBBPR08MB4523.eurprd08.prod.outlook.com ([fe80::81d1:d448:4016:1956%3]) with mapi id 15.20.4734.028; Sat, 4 Dec 2021 07:10:04 +0000 To: christian.melki@t2data.com, ptxdist@pengutronix.de References: <20211203165440.1180588-1-michael.riesch@wolfvision.net> <20211203165440.1180588-3-michael.riesch@wolfvision.net> <179e3e9a-8e4a-8765-fe24-c914bbe3ae7f@t2data.com> From: Michael Riesch Message-ID: Date: Sat, 4 Dec 2021 08:10:02 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 In-Reply-To: <179e3e9a-8e4a-8765-fe24-c914bbe3ae7f@t2data.com> Content-Language: en-US X-ClientProxiedBy: ZR0P278CA0062.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:21::13) To DBBPR08MB4523.eurprd08.prod.outlook.com (2603:10a6:10:c8::19) MIME-Version: 1.0 Received: from [IPv6:2a05:1141:1c9:7c00:2971:328c:3026:3149] (2a05:1141:1c9:7c00:2971:328c:3026:3149) by ZR0P278CA0062.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:21::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4755.16 via Frontend Transport; Sat, 4 Dec 2021 07:10:03 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 5044e44c-13de-4714-c974-08d9b6f51834 X-MS-TrafficTypeDiagnostic: DBBPR08MB5222: 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: 5S0rpDSZadP9qZtMUlv7NTbk9q5EFzM0CaNtUTb+9Og7CvNHEkXz71w1MZznhfsNYti1qyyEMc6/maTu/x4bye6LCmGr7nlp7S/fKcJK4GgnHvC1WEfukXCeLiUl0PW3v8rNBpSK/yIyEEQYrXagFYyv2FouOP5HMco2n82CE6JMxKqapPKesaJs2dIm2Ed5YcG3GfWFbv1xVopPBQ21WSUmYXagYVNDTLRYEegtvK0IDoa6qBK/RYXudl+n7TcfLqlI4sXpVQiirtUeQsSw3PEtCzWWpUEBucrfY4BRMQnlkBT3zlEXVkDQs3GfGeEEUA5/4xNMPci51g96Zi2efG2IbVmNwdKvvk4jTrjpFYwNAYpz5UgBZK+utHP3xnv1YWyOBbN5ww3YpCPgQlMuvpCRnQYWMbGxhNZ1ox3NFSeal9hfwY72QyRKf3DFC38wE/69G6Z6NxZ8WUbpjHkQl9lvY+kOl/C/B5lUaPGoLqm/Bl5mp6vQ5yqDC8sVuCjKEB2v6YT3oKWjE2OBX+qoQ5BFjYviSCyXtErx0Gt/elCj/hz+Fj7FOKqJmKJfucLSFzYAKiUPyw46JhBDb2Vc71ohfXwW6i8g18mPgV6Q4J9j2/Hl2Rl76B87jmQC1CEZQg4QwUjLt1MeEXsn6tPfAGEiUFV6KJpRpTVjWfSMnbXC4EiGKl01BVxrh3T4KEeRvnQ3sNzdAOxDw1vAgDgtfR9b1mp8tFp815liN1v5xkl6cSEEpJ+d0/mFDdbNOz/P X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DBBPR08MB4523.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(136003)(376002)(366004)(39840400004)(346002)(396003)(84040400005)(8676002)(66946007)(186003)(4326008)(44832011)(2616005)(38100700002)(31686004)(31696002)(5660300002)(86362001)(53546011)(36756003)(316002)(8936002)(6486002)(508600001)(52116002)(66476007)(83380400001)(66556008)(2906002)(43740500002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?dThuajJ6ZmF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GaEQyQkUvSVhmanV4YktodUhlSnVr?= =?utf-8?B?dXB0SnRrNnEvQ0gwSnVDdWkvUTRDdklIYmc4K3pDa0FPREtSOGpwZDlKVFRn?= =?utf-8?B?R096ZkgxL2tjYVZ3dXhkM0pWdFM4ME5iSU1SKy8zR0FIT2pxLzRWT0VzVmM0?= =?utf-8?B?QWlYTnVSZG1Oc1VhVytOL1htOFdDdjU4ZDczZklicU1LT0RVQUNNKzk2TEpk?= =?utf-8?B?MEFhVVlFMms3L0xjY0dmOURveFRlQWh0RHdqRDlwVnJxQ2pjdk5ZR29pQmo0?= =?utf-8?B?Yk1NSEsrVnhMK3NkODdvTG9iaGI3S1pKUHF5aVJwRXVwQmcvRlFhNElNTzRp?= =?utf-8?B?M3RQNkdhUlZsaTM3T1dNdXVGREhKNWFvdW5pYlRIa2Fab05YVzZ1SkR3bXgw?= =?utf-8?B?cDVuR05zU3lXUGptL1k3QnV2cnU4OTBUVFk2MmlJTWpYSmRKQ2RoaCttZ1JJ?= =?utf-8?B?dUFjaEdxNXJ1cnZPcmpsaWRGU2ZaQTNScXZLN1l2b2MwT09uMFlsbU9USlBr?= =?utf-8?B?MmJqTTRrU09xemYxT05kQTdmR0xUV21ISnhYak50VXgyVjM4ZGpKU1kySDN0?= =?utf-8?Q?J9s7EKmGSdSTDj/k=3D?= X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: 5044e44c-13de-4714-c974-08d9b6f51834 X-MS-Exchange-CrossTenant-AuthSource: DBBPR08MB4523.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Dec 2021 07:10:04.0880 (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: e9wmeGGfQs15CNDo9yvCK4k3AYXMBk7BpsMpP2SeH3UQV9l0MXy8ltEceEqGPD80pp6nDfzK5LHBIetg2jKJ/q653Logk9rOjD0MDZrYD+s= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR08MB5222 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.7 required=4.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MSGID_FROM_MTA_HEADER, NICE_REPLY_A,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Subject: Re: [ptxdist] [PATCH 2/3] 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 Cc: m.tretter@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 Christian, (fixed Michael Tretter's mail address in Cc:) On 12/3/21 6:55 PM, Christian Melki wrote: > Hi. > > Good idea with a non-free firmware section. > But these Rockchip things looks like they are highly board/project > dependent. > A non-JEDEC timing named DDR-blob? For what board? > RK3566/8 are SoCs afaiu, not complete system implementations? > Also, ARM Trustzone blobs can also be very project specific? The RK356x SoCs are relatively new and there are not too much boards around yet. AFAIK all existing boards rely on those binaries due to the lack of alternatives. Therefore, I thought it would be a nice idea to provide this package to have at least one solution that works for the first few boards around (such as the Quartz64 by Pine64 with the RK3566 as well as the RK3568 EVB1). Future alternative SDRAM setups will indeed require a (possibly per-board) initialization. Rockchip offers a tool to adjust the binary blobs to target a different SDRAM setup. Maybe this can be even integrated into the rule file in a later step -- I haven't figured out the workflow yet. A similar thing can be said with regard to the ARM Trustzone blobs. The two files work on both SoCs (the RK3566 and RK3568 are very similar, consider the 66 as little brother of the 68) and those files are the only thing that is available right now. Rockchip has indicated that there are plans to bring TF-A support for the RK356x mainline, but not before Q2/2022 IIRC. For the time being, the package under discussion enables initial support for the currently available boards. In summary, consider this package as a tool to kick-start development on recent and future Rockchip SoCs. It is not yet the optimal solution but it is enables early support for the boards that are available at the moment. The suggested rule file allows to en/disable the individual binaries, hence it should be easy to let a different package generate and install e.g., the TF-A binary. Best regards, Michael > Regards, > Christian > > On 12/3/21 17:54, Michael Riesch wrote: >> Rockchip provides the SDRAM initialization as well as BL31/BL32 >> firmware for their SoCs in binary from. 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 | 35 ++++++++++++++++ >> rules/firmware-rockchip.make | 75 ++++++++++++++++++++++++++++++++++ >> 2 files changed, 110 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..3b7c996bb >> --- /dev/null >> +++ b/platforms/firmware-rockchip.in >> @@ -0,0 +1,35 @@ >> +## 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 >> + bool >> + prompt "RK3566 SDRAM init" >> + help >> + Rockchip RK3566 SDRAM initialization binary. >> + >> +config FIRMWARE_ROCKCHIP_RK3568_SDRAM >> + bool >> + prompt "RK3568 SDRAM init" >> + help >> + Rockchip RK3568 SDRAM initialization binary. >> + >> +config FIRMWARE_ROCKCHIP_RK356x_BL31 >> + bool >> + prompt "RK356x BL31 binary" >> + help >> + Rockchip RK3566/RK3568 BL31 binary. >> + >> +config FIRMWARE_ROCKCHIP_RK356x_BL32 >> + bool >> + prompt "RK356x BL32 binary" >> + help >> + Rockchip RK3566/RK3568 BL32 binary. >> + >> +endif >> diff --git a/rules/firmware-rockchip.make b/rules/firmware-rockchip.make >> new file mode 100644 >> index 000000000..54a0b7493 >> --- /dev/null >> +++ b/rules/firmware-rockchip.make >> @@ -0,0 +1,75 @@ >> +# -*-makefile-*- >> +# >> +# Copyright (C) 2021 by Michael Tretter >> +# >> +# For further information about the PTXdist project and license conditions >> +# see the README file. >> +# >> + >> +# >> +# We provide this package >> +# >> +PACKAGES-$(PTXCONF_FIRMWARE_ROCKCHIP) += firmware-rockchip >> + >> +FIRMWARE_ROCKCHIP_VERSION := 2021-06-01-g7d631e0d >> +FIRMWARE_ROCKCHIP_MD5 := bfb7b9601b88784e263c2cc6baa5da9f >> +FIRMWARE_ROCKCHIP := firmware-rockchip-$(FIRMWARE_ROCKCHIP_VERSION) >> +FIRMWARE_ROCKCHIP_SUFFIX := tar.xz >> +FIRMWARE_ROCKCHIP_URL := \ >> + git://github.com/rockchip-linux/rkbin;tag=$(FIRMWARE_ROCKCHIP_VERSION) >> +FIRMWARE_ROCKCHIP_SOURCE := $(SRCDIR)/$(FIRMWARE_ROCKCHIP).$(FIRMWARE_ROCKCHIP_SUFFIX) >> +FIRMWARE_ROCKCHIP_DIR := $(BUILDDIR)/$(FIRMWARE_ROCKCHIP) >> +FIRMWARE_ROCKCHIP_LICENSE := unknown >> + >> +# ---------------------------------------------------------------------------- >> +# Prepare >> +# ---------------------------------------------------------------------------- >> + >> +FIRMWARE_ROCKCHIP_CONF_TOOL:= NO >> + >> +# ---------------------------------------------------------------------------- >> +# Compile >> +# ---------------------------------------------------------------------------- >> + >> +$(STATEDIR)/firmware-rockchip.compile: >> + @$(call targetinfo) >> + @$(call touch) >> + >> +# ---------------------------------------------------------------------------- >> +# Install >> +# ---------------------------------------------------------------------------- >> + >> +$(STATEDIR)/firmware-rockchip.install: >> + @$(call targetinfo) >> + >> +ifdef PTXCONF_FIRMWARE_ROCKCHIP_RK3566_SDRAM >> + install -v -D -m644 $(FIRMWARE_ROCKCHIP_DIR)/bin/rk35/rk3566_ddr_1056MHz_v1.08.bin \ >> + $(FIRMWARE_ROCKCHIP_PKGDIR)/usr/lib/firmware/rk3566_ddr_1056MHz_v1.08.bin >> +endif >> + >> +ifdef PTXCONF_FIRMWARE_ROCKCHIP_RK3568_SDRAM >> + install -v -D -m644 $(FIRMWARE_ROCKCHIP_DIR)/bin/rk35/rk3568_ddr_1560MHz_v1.08.bin \ >> + $(FIRMWARE_ROCKCHIP_PKGDIR)/usr/lib/firmware/rk3568_ddr_1560MHz_v1.08.bin >> +endif >> + >> +ifdef PTXCONF_FIRMWARE_ROCKCHIP_RK356x_BL31 >> + install -v -D -m644 $(FIRMWARE_ROCKCHIP_DIR)/bin/rk35/rk3568_bl31_v1.24.elf \ >> + $(FIRMWARE_ROCKCHIP_PKGDIR)/usr/lib/firmware/rk3568_bl31_v1.24.elf >> +endif >> + >> +ifdef PTXCONF_FIRMWARE_ROCKCHIP_RK356x_BL32 >> + install -v -D -m644 $(FIRMWARE_ROCKCHIP_DIR)/bin/rk35/rk3568_bl32_v1.05.bin \ >> + $(FIRMWARE_ROCKCHIP_PKGDIR)/usr/lib/firmware/rk3568_bl32_v1.05.bin >> +endif >> + >> + @$(call touch) >> + >> +# ---------------------------------------------------------------------------- >> +# Target-Install >> +# ---------------------------------------------------------------------------- >> + >> +$(STATEDIR)/firmware-rockchip.targetinstall: >> + @$(call targetinfo) >> + @$(call touch) >> + >> +# vim: syntax=make >> > _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de