From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 06 Dec 2021 07:07:13 +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 1mu79d-0001TZ-5G for lore@lore.pengutronix.de; Mon, 06 Dec 2021 07:07:13 +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 1mu79c-0007fs-O6; Mon, 06 Dec 2021 07:07:12 +0100 Received: from mail-eopbgr00078.outbound.protection.outlook.com ([40.107.0.78] helo=EUR02-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 1mu78k-0007fO-7q; Mon, 06 Dec 2021 07:06:25 +0100 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=S/PJSD28F0EzEZ8RwSt8e8m9yPw//s0Re++KOEj+QekrBghfW0L6bh1QDy5twOA6v+2U1zc/UtYOSPeOiGC5ehwE/9Jw7Vx1MhUuQAfvcKq1LaQ7utqRGNi+lF2LZsD9QNuT/zoFh+iIkWCqcnlbl1CZqm8UX8VnvIL0IbZIWamOB68Jl/L3ksKo9uusOCniWnEQq9eqNbZe5xNptzZoLuVp+FXDEAWS9txbNaOdTyBETSBb2UkTuRLZp1aBTaeSVoZsb/hXp2RWJDPXol7/dJ6SdT34rXvr8NtncseXT5zZpnzQTkp13bVmKfmNlCdVL6OFaP+jRwLbUrHrShi/dg== 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=jCIKNvA0ry+FNeKe4hKllLaqyTCzSe+egJx9kIk1Nq8=; b=nDB8s4Sy9ydicTFPkyBQvxnmFgfYo6e24wDHIOdvweywWsEINIhQme8ssk0J0tkJHWfCkBpyK8lNwxbRC8CJ/ca/YedJFIxWG/yCeUdOF3hUFDq9VjJ0ctaGVo86T8l6FzvnonrFr42evE4RoTjx4FOfSrbAOigJNdbl3Zt3zGSk2fDZPhTKiwUBZs1KHtfRQfagpOfAqUjQsq7NFWTantuHQda8XsxS97e6xdDuic1yH/CTgJiA8ZkGO6m5k8A23mS9QhV9ajgYtQq49kWYRmSPB8dxQe1+uUazvyiJA3NkvBBIQjKaDqbrFKAZrQMm5G7ywJyUoHCopVmN55CRdA== 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=jCIKNvA0ry+FNeKe4hKllLaqyTCzSe+egJx9kIk1Nq8=; b=v5+OOgoHX1XFFwg5zpVc+P1Qjr0iCzJe+kMkrdDqidjqMk/34Wg14w28z61zcE5/rzmBQMSgNzj4WN7Nym50mTtP+4DmVxE+nXEd9o2enFKQ0xKlw8gFUqhIoNZjsA84HcWM0p+1jdDe1ejws2RGw0OH7YvOVmF1Y30ncSAVrQc= 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 DB6PR0801MB1942.eurprd08.prod.outlook.com (2603:10a6:4:75::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4755.20; Mon, 6 Dec 2021 06:06:14 +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; Mon, 6 Dec 2021 06:06:14 +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> <7fcfc32f-5065-1f6f-6325-b1f1c0d4279b@t2data.com> From: Michael Riesch Message-ID: <681c60b4-9018-27ee-e4aa-832964ecb40f@wolfvision.net> Date: Mon, 6 Dec 2021 07:06:12 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 In-Reply-To: <7fcfc32f-5065-1f6f-6325-b1f1c0d4279b@t2data.com> Content-Language: en-US X-ClientProxiedBy: ZR0P278CA0067.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:21::18) 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 ZR0P278CA0067.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:21::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4755.17 via Frontend Transport; Mon, 6 Dec 2021 06:06:13 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 1c75b1a7-3aed-4e7e-0950-08d9b87e822d X-MS-TrafficTypeDiagnostic: DB6PR0801MB1942: 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: UiGZVoHh4y+F0mFSLv7WJVLszkkxHjwtuacN9FXf0wxn3m+K8QZEexzZfpwxZlpXZp0hYIDqp3ZjGK6ExkNqXUHpmiDtGvSacKS5EgndNxVoazpQUVotHeTd6RobD0rHfJsliufRqJRAQmtnRRmJUZLZXk3FchyvTo0QBK5FvriNsSXmf/jkyq5saC+ZhViwlH55CtXTRPDQvkXvGMzwf0YKrvAI8l8iwKYhg3zK4M8nCN2G670XEIxZlCN+yuUh8RuCw1HkcQJmu3hDyUUZn5ZYc8iq3IrnOvN8Q6mEsprtzHF+lmWYikWaDkdUcwPuiop5fCUX4qP6yiq5eeO4rYeKxO0aeXPbn/ZTca2KgShO7SrQqyuCG1kP6TGBszPAOfJAjB7YiClUK514lJ/FAmoTqPmoOMQcwv1Enq+BZpRIVQSn/DcQWq1CUwm+3kErSbulm8uVGSOvYOcaG4/MtPcA3RO14jJDSBMgCm6junf3Z7+pCuz2Y0GhSIZO18jBv4BfZmuCcLCw7yG+GH944+7yc+VYJMTKbpq/eWQmyjCjNe3tzQjw+nrddQRo/GNxmdgbSIFP9Pyx1p9IRU5Nxf4yLUNlh2Jju/++FugvZki5J3W/SG9CNl8NQFQ3CIZXpmDYnxjuaZjgddinUwuyk1DQeTFx+MP0yBJCV4XDZooGiieNIoXpyD1f1rKx2Y6iUTdz7TdPWLc5LrLXLGiGgz19Ca55FAH3XRStb9uautM= 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)(39830400003)(366004)(136003)(346002)(396003)(376002)(316002)(52116002)(31686004)(36756003)(86362001)(53546011)(2906002)(38100700002)(83380400001)(44832011)(186003)(6486002)(66946007)(66476007)(5660300002)(66556008)(508600001)(31696002)(8676002)(8936002)(2616005)(4326008)(43740500002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-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8?B?SHhUeFVTM2JCOUtzOVZyWmtsbkFKSUtJZVNzLzd2cVRpbUhtWnF3clhrckZ0?= =?utf-8?B?TzF1djlldWlSOFVkQlpDeGhMamZXMndoTDU5Qnc4RG04SGtTOTNCdm5ZUlFF?= =?utf-8?B?QytldHpFZ3I5enpOYzJHZVJRWEplUkhLTytTaWhWMlZSeGk4bllUVHVMa21E?= =?utf-8?B?M3MrR3Jac3QyUzQvbW51bTVXUWRWb3gzRlVrNmU3Smd1QjRsSjhiOGlhdTdL?= =?utf-8?B?aUQrZVpNVy9rcUFPTi9MVmwzaGluUGpJSEpRMzZncHpVY0pLalF5bURJa3dY?= =?utf-8?B?WXJLMFBvenFyckgyVEZaKzZIcVBadWc5cXNzZFd5WHlVMlFMcTNlNExCWUpZ?= =?utf-8?B?WUdMQUN5YlI0QjlBYTdzRUxEdkdSZjBUUTRBck41Qng1cy9UUXF0TWlLZjQr?= =?utf-8?B?WWdoNDN6UDh4dFAwSm8zTjd3MWtPQno0amZIV2pWUjQ2dDM2QUJMS205VjZT?= =?utf-8?B?ZHNZb0tNQmFYTEFoaHRrRElWQThFYzZDaHdFZzg1b1JHdGN0VHJxMzJsSnFu?= =?utf-8?B?U1J0TkpPd1h3d0g0eEFBa0JQcDhTdlZZN2pJVGhHYTRaM3l2TWZGZz09?= X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: 1c75b1a7-3aed-4e7e-0950-08d9b87e822d X-MS-Exchange-CrossTenant-AuthSource: DBBPR08MB4523.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Dec 2021 06:06:14.0724 (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: o7MBnXQXn1bmzaT079kL8VBBlUhACPZYDXbBZc33X8+CplinHhFEwETZTIb97k5Gzd833esgtQhqWG/tmFQ009xhnWtY3Lemu7JE2WVmuqs= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0801MB1942 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.9 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 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 Hello Christian, On 12/4/21 4:37 PM, Christian Melki wrote: > 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. I'll add a note in this regard in v2. Best regards, Michael > > 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