From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Sat, 04 Dec 2021 16:38:11 +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 1mtX75-0005Iw-NU for lore@lore.pengutronix.de; Sat, 04 Dec 2021 16:38:11 +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 1mtX75-0003qs-8o; Sat, 04 Dec 2021 16:38:11 +0100 Received: from mail-eopbgr130087.outbound.protection.outlook.com ([40.107.13.87] 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 1mtX6I-0003qd-5e; Sat, 04 Dec 2021 16:37:23 +0100 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AI0mYh0LYf9tKjj9sTu9FlVawFI2h4MjwVGyR1f35lyrOzIfbh1I96BX8vbogZbmDa9WGs1hJ72UVSy8rNNfRQMQvGSInnGzqiHqzIFg/gDXMKHEhJ1daF5i6p1r+fCi95QLPZLnGlJrCPeB+Htno0I9DOL+ONoSYSZlFngY3M4lqd7OXSCZe5/TjP2k/GkuMsS/6rmmyrhowP+QWb1IsLxFo2PbPwdc8tvs8fsbJ+rAQ9BbCSv8dvYvy/njg+zG3zTpYwemV5bFPL+oeDMWd76ZS9IPPo2UX2ehknwZ5zs903ApauH0adgcORlGU20cCOJ0FlSxZb6cTIp6hLaCRw== 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=XMfovdQFhpor2BMjkWw+vOQqLEQaA+ggPkC+k395KSY=; b=HvBZm7oSGux2i2c6lVHLI5YPWHhwIqA0v0dl2EuooVJqFFUL/utcHfxfLMTUvAyirxZNoF9h8tYeXl4CpSQ/G14qHZl+84QmEdYXhlH3DxTMAJ36N3jbRHvUNcq7FNdOUnf2QXFkfP+h2nFOWVLHDFwjFh1+MATYp+qyh39kFzhk50QKR99zWMZIV7ymBUvzNgBr5m0LmKgMg67FFZsabaTzSswEhXQFNQWLXRRmkcJ8EWFYu0chmRAHwPktSIa+PhjN5nPzl6fkKHXjHLLMfLnLzQjo9WI6Sv1nvQAPzFLU78MXfvpsL/SGIFGQAu5U+AbyI7FxVc8i8YKbbw5I5g== 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=XMfovdQFhpor2BMjkWw+vOQqLEQaA+ggPkC+k395KSY=; b=JA27F2Rz9eLl3I/vhKlr+4/x2rVyL9sGg19igr7T0eqVTOhq+3MsJct2Qi63G82+9H4+UKVwXiGpRrTu9NHFRytgIicx/Mz0/CUSETyesReZwXX8NY1612Zw+LjuAepTvsZi6ieDXxo0IhWWXYbq09joAQvIfdXdWcKjN3XFRlg= 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 DU0P251MB0597.EURP251.PROD.OUTLOOK.COM (2603:10a6:10:328::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4755.20; Sat, 4 Dec 2021 15:37:17 +0000 Received: from DB9P251MB0618.EURP251.PROD.OUTLOOK.COM ([fe80::cc24:927c:bd00:a0cf]) by DB9P251MB0618.EURP251.PROD.OUTLOOK.COM ([fe80::cc24:927c:bd00:a0cf%9]) with mapi id 15.20.4734.024; Sat, 4 Dec 2021 15:37:17 +0000 Message-ID: <7fcfc32f-5065-1f6f-6325-b1f1c0d4279b@t2data.com> Date: Sat, 4 Dec 2021 16:37:13 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.2 Content-Language: en-US To: Michael Riesch , 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: Christian Melki In-Reply-To: X-ClientProxiedBy: GV3P280CA0093.SWEP280.PROD.OUTLOOK.COM (2603:10a6:150:8::22) To DB9P251MB0618.EURP251.PROD.OUTLOOK.COM (2603:10a6:10:334::22) MIME-Version: 1.0 Received: from [192.168.7.217] (81.234.39.46) by GV3P280CA0093.SWEP280.PROD.OUTLOOK.COM (2603:10a6:150:8::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4755.17 via Frontend Transport; Sat, 4 Dec 2021 15:37:16 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 6903c10a-d09a-40fd-d34b-08d9b73bf38c X-MS-TrafficTypeDiagnostic: DU0P251MB0597: 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: fCuWW3tGuF9ANei9h1SkzsuTqXO3Hx72kddYxtrT7kklTYbV7/tBbxBripyJpQL4XOxRLlVhV2wQnW473JqLYeSYyg6jb2FRF7hSWJpJmqvdLCO7uMGLRL8S3MJjpIiicuuRYiz8KhO2nYLcLuGvsPnsmAzdNLcmq7p4NsFmx+2SAQZKpBtJIsSJliIwkgGFMdX81g8RTn2WTT+f0yARVBWPVpDwYwZbr8vI5om1Ynxhlk/1XMfL8SuR3ahVcx5zVwmj+N/Z7LMWKcRKhy6F4XU8R+2jz0H4oI3hLLkoV5Ob8SzNVbHNqR9NKX9t56+vZiz4tM5wfjPeD6/FqB/LctG3Pb0RdZiAKloyn70H/+hJv+naIivs7rOid7toG1Af3IIdlug5nyV2Q+FTtYlD6cKNA+4BWt3TjFoR2uXWfRxkYeUrYBI2A0PMk9SX9dmu3B75zSy3blV/Mx0cHI7PG3zvhDlxzFt6D/i3fRPeZX0jNqDiRlTHmitaIgRI3l1lwWruQ0xh+BVrhi2cOkwGodbeROQx5tomTIro7wLA6vQDN54BbG/qlJUt4cEkcsWqGMRDp8BdyFzN7Pui2D3wn/K2/z5cDap0Q4Hp5zUHVihZqYLGSevbBtAAT1bAEpct/u1hvWgh2EtLZ115SgFRewZwpGz+KPEqkED1CFKbQyzBDoJsQBbvYjdSuWl6InTmW8lCZbSn9zRwl/n+p7ZKkPbYaKZM2jJKGc1k73YwfNXo/mqmhHcIwH9V965gAt3faR5ZEBU/gETFalqFh/i9XA== 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:(39830400003)(346002)(376002)(136003)(396003)(366004)(42606007)(3450700001)(38100700002)(38350700002)(36756003)(2906002)(508600001)(4326008)(83380400001)(6666004)(44832011)(31686004)(52116002)(53546011)(8676002)(86362001)(2616005)(8936002)(186003)(26005)(6486002)(956004)(31696002)(316002)(16576012)(66556008)(66476007)(5660300002)(66946007)(43740500002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: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VFV3lycStqOVdwM08yUTByUnk1eERrMGdy?= =?utf-8?B?SndDYkVsb0NEQjZwVUdnVW92NW0wZGlCa2RwdDE4Vlp1RkNKeDI1U3J0VUpE?= =?utf-8?B?eml3am9wZWNsa2diYzNEcDFOT25NZVBJVCswLzhpSUlJd2I0dy9LSW8rdnhR?= =?utf-8?B?eHVOcmE5NVZ0OGNHcm00UTM1OFdOb0tmNk1uMmVzVGMrU3U1K2FWSWpEaytN?= =?utf-8?B?aDJreXZlK05hYWhaak9rRTBScmFaR0N6dGN0WGhjOFREVGZMcGxFVlQrdmMy?= =?utf-8?B?NGQzd2pWQll2YlhZQ3hIWTVJZE5lRTA2dXR0cVhoSlFHT2R2T3oxK2tQNnFt?= =?utf-8?B?TU5rMHNvYXBwVUFrRFFiMzROVnZPYnpNK3hIK25PTFI5Z0cvaDhoM3l6dlFk?= =?utf-8?B?UjNQVEdPLytqb09NYzFUQk9ramFIMm04VFpxaVk1ZU91L3Z2bUdCb1V4VlAx?= =?utf-8?B?TzQyd2owYW5RK0JXZkxNTGVvWkRBPT0=?= X-OriginatorOrg: t2data.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6903c10a-d09a-40fd-d34b-08d9b73bf38c X-MS-Exchange-CrossTenant-AuthSource: DB9P251MB0618.EURP251.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Dec 2021 15:37:16.8264 (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: MeT/ZGINNDZSYROli6Pxa0H29ii9aPjn85fv675lVma0EN67GOA74E2otjq186C0lHZBFNkGptoaW9Pb7suu+AO8o5Vwi2AWdscacAKMX5o= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU0P251MB0597 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.8 required=4.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,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, christian.melki@t2data.com 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 On 12/4/21 08:10, Michael Riesch wrote: > 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 > I don't mind. I like the firmware effort. But could you please change the Kconfig help to indicate which board(s)/board versions this is meant to run on? As that's the implementation it's actually tied to. Best regards, Christian >> 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