From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Sat, 29 Jan 2022 08:04:50 +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 1nDhn0-00GuBC-IV for lore@lore.pengutronix.de; Sat, 29 Jan 2022 08:04:50 +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 1nDhmz-0007Kq-D3; Sat, 29 Jan 2022 08:04:49 +0100 Received: from mail-vi1eur05on2083.outbound.protection.outlook.com ([40.107.21.83] helo=EUR05-VI1-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 1nDhm1-0006fh-Bz; Sat, 29 Jan 2022 08:03:49 +0100 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Sm4lIEph+3pKrYdH8cuFwjNpzNNwQCU05GihWW4BZz9rSlDe4tbUq4B8N4rx3w2COK4an9Qtz+Huu847N77iEeZ/mgWdDXF2iSDQjghY43g9ztNkB29jwxWIy+pWvn17SmcF0fYdxo3WrW532K2IYvBcDwyf/6wBDvY+aOPcIkblyDVmXvZkyAIwk+vLC7PwfFRLn2Csi3CV3zJD+UHx3gpJ1x7pgJPCnzZiVApHbiB0+s1HM32ArINbvodXr1ZS1/GGZgGYuHNdi3a+OmYjOceuPKBQCEqYPfO0FlhRqd5yfOVOCyxupGL408i1w7rY8Rgvz+JI7hOoJysaWGENVg== 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=QMkCIWj8NR+jgHtm7Pk9DuKaB8kUEa3Rlh+WMYmd3bY=; b=lcmE6PWXskKQ7MA9GFl/XMLzrfP71ztCUSeZD8TIKvLpmLkcdF74AOScJZ2XIXOeVYneX4Y83BMd83ZTfOwpiVzWmyd5Kd5DFMTBtqTfZVz+OhWa1uBdX5qYGLdVbld9pIZNZzzFku1xd4DClyqXRnTpPwUHOc8OjE8C6UoQtAlRXIsb+w0cH6mlvpGFhOJtQTQhrQhlHTLYO01sNn0qbEYNu3RDR/ASPWlVONrMgsdi3P97+I/yOeviCnHjrccR7TDIdbz6b5kou1gnOm1jZZ0IPuOQyeB9vi81aDX0bRKCphvYJRmc+mbnJnH/1kM3/hHC0u8MUbE5463GF9WWoA== 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=QMkCIWj8NR+jgHtm7Pk9DuKaB8kUEa3Rlh+WMYmd3bY=; b=a8/z+JwpAc6lAbFPcIB54U3gGkL2A8FAbQRmVb7xnd2wRUdqHgPE62OEYRdFjPQ2inQ0Hyd69/fElyIdVihbRO9wzJcAeF5wCoFpU5JgCLAKHJf5gZ8wzN55Y/6j3mmyds2J+s+3nqk4O6VflcUlgvt2YSyxozRnAkBADISP7lg= 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 VI1PR08MB3837.eurprd08.prod.outlook.com (2603:10a6:803:ba::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4930.17; Sat, 29 Jan 2022 07:03:47 +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.020; Sat, 29 Jan 2022 07:03:47 +0000 From: Michael Riesch To: ptxdist@pengutronix.de Date: Sat, 29 Jan 2022 08:03:30 +0100 Message-Id: <20220129070330.2601433-6-michael.riesch@wolfvision.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220129070330.2601433-1-michael.riesch@wolfvision.net> References: <20220129070330.2601433-1-michael.riesch@wolfvision.net> X-ClientProxiedBy: ZR0P278CA0192.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:44::16) 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: 4609c0a8-7d14-4b18-c7c5-08d9e2f57e8d X-MS-TrafficTypeDiagnostic: VI1PR08MB3837:EE_ X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:6790; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 3yUxqLEVr8FULw/h7h51aofDJNjdRNw1uyYgx1rT67IooyUgWhcjCXkCVBQuPsaqAZD3biSdors/1vrYA41NObk78TMDaR2M3K8Ju1JcE6jtXQmWe0+bROI24quGJXN5aaL0MWcXFUTTyWAj7qKzzQGmFXy6AuAIakTBbL9wyzdWZF9lLxnRNvFf2SLc4MerLcdsdn5qacLIXW+P5Ai4Ba1GKJAzaL9IrO+LcH2ZXbHWvjDAHHCRI5qGRA+0cg8IBrBNNNKJnnFcKAlzCT/Rc6lU+eox5mm3OvCSo2ZVeZ6Vbyj8I2u9hHAAQVGfe5U46caXNxm4zyhBgX7DEN8zXkgd1S4X8MUkLtIi0SnKnMSJlUjAoSihA0V/LL4zYjKUBxE7oQkVqTG5W3QzB9zUCldZtPrLbm7QIctLHQ+e/NEeXPO0aABWbU9yhfsBDDxDq7Eq2SQl6to7Yjy7C2DKOfEzxwUOhqgIJRGanGFkB+y6wEku0IqQhVMrO2OC1ttEs9bmyh98OyM81Toza2Lkn7ch4mhBKi7jhs3k9ZE6CQ0HwFaeNQHzGdeOn1fWOKubaak2H8oyEHx2emzMxk88f52A/aoR1Qn4rCYayKNOS9DgyhvrPFGM9CIEhD8e5q0Fgr3fc+qXh5rBN/3t4DyBlw== 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)(36756003)(186003)(2616005)(6506007)(107886003)(52116002)(6512007)(6666004)(508600001)(2906002)(316002)(6916009)(1076003)(44832011)(8936002)(8676002)(4326008)(66556008)(66476007)(66946007)(86362001)(6486002)(5660300002)(450100002)(38100700002)(20210929001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?64DCI8E3JRulx2sYd1pFExGJVpYCG4SfdCN0FsffwrAtt9JiIrp5aWbs0Hnb?= =?us-ascii?Q?htMuvLZug6hpOnFAv6405MEdA5AUXK1Qy4mjZBjos9YdiaIKRJJuwgSzxnHq?= =?us-ascii?Q?rbCjegkGsN4WngBLlROcTsc/VnpIgWTS6Jcol5RqWBqKp8AEJ8HAO9XBs1mW?= =?us-ascii?Q?W6Hci55ZIfK/bxRgvOVt9OrRQxWbzceZBInqq21pt+NuX2IdyARU4bvoh8l4?= =?us-ascii?Q?6j8HrvZap/1ACQ2aJJgVhJpEBKbc6FsX2N4CXCXaZ0rqTqMLR1tXgEskuBv8?= =?us-ascii?Q?mmf9AMjcA6RtvMw1xsuJcp0weSmxrIIGlkJpLCk+r0C7PXtZo4jORXz/QzYB?= =?us-ascii?Q?q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aBGFMSJSsjrPPVf7oEwcCISxD?= =?us-ascii?Q?Y+GQgnYM8J2KRpKb7las43R7zWoETMeQtFX7kimENibOgrl9GhdtkrRmpIB5?= =?us-ascii?Q?4MwZHyS37gYVA0pFIsQUVkh+d7S+ERrqLUUxUdmG+Y8yg9ebE3uKk/bJbvxB?= =?us-ascii?Q?mSmNnjn4qoaf18MMQ7ik0088PeRmwPmCrk+WmHDN6yoXCpzkmRF2QrFynOQ1?= =?us-ascii?Q?tGYIyXh1ZhRhb/MX8oUkyqC5FUW2Eyv7EWu+C8q4QUSVlVruanNoS9RSPV2w?= =?us-ascii?Q?wSp/udhx67eOXnGS7vdd1nTLm+jyWS+2ZDhtfzVAUBaIeCoMEwRaRQwtx/FZ?= =?us-ascii?Q?rvvZikrrJY0AuYqb17srKINBNN5Ws/4IF3AY6asVHBqm7DhEnOEugo77UbWj?= =?us-ascii?Q?01tjwiyEOk46qdJN1SKfAw6+trXlYmfzjZF3kTf8dSvV//kKcQuZf8Wqdb0h?= =?us-ascii?Q?HHs1TRsDr3GFUadD9pKH/rTI6dz3OGLcrUpFTBGmeYMMQKaUFDJpw5owyxMP?= =?us-ascii?Q?fJppvQrTxxgdshWP/LefLuWrS3FWIPc=3D?= X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: 4609c0a8-7d14-4b18-c7c5-08d9e2f57e8d X-MS-Exchange-CrossTenant-AuthSource: HE1PR0802MB2426.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Jan 2022 07:03:46.8971 (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: rIv2hNKnu/VHaiW1P1LxnjPXKN2zW7WDyaeiDJfMNPi7l4d0E+Aq5S+Sv0sieT+dhlmMyaci8Bn7c2XNL4+2Bglo+7NArxqkdK24JB/3ZB8= X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB3837 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.2 required=4.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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: [ptxdist] [RFC PATCH v6 5/5] barebox.rockchip: add binary firmware blobs for quartz64 and rk3568-evb1 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, Michael Riesch 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 Currently, the mainline OP-TEE and TF-A sources do not support the RK356x SoCs. Therefore, the only option is to use the binary blobs provided by Rockchip. This patch integrates these blobs (along the SDRAM initialization binary) for the Pine64 Quartz64 board and the RK3568 EVB1 into barebox. Signed-off-by: Michael Riesch --- Notes: v6: - fixed dependencies and switched to using the new BAREBOX_DEPENDENCIES symbol platforms/barebox.rockchip.in | 16 ++++++++++++++++ rules/barebox.rockchip.make | 18 ++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 platforms/barebox.rockchip.in create mode 100644 rules/barebox.rockchip.make diff --git a/platforms/barebox.rockchip.in b/platforms/barebox.rockchip.in new file mode 100644 index 000000000..f926585b2 --- /dev/null +++ b/platforms/barebox.rockchip.in @@ -0,0 +1,16 @@ +## SECTION=barebox_firmware + +config BAREBOX_NEEDS_FIRMWARE_ROCKCHIP + prompt "barebox needs firmware-rockchip" + bool + depends on ARCH_ARM64 + help + Select this if barebox needs the non-free Rockchip firmware + blobs. + +config BAREBOX_DEPENDENCIES + select FIRMWARE_ROCKCHIP if BAREBOX_NEEDS_FIRMWARE_ROCKCHIP + select FIRMWARE_ROCKCHIP_RK356x_BL31 if BAREBOX_NEEDS_FIRMWARE_ROCKCHIP + select FIRMWARE_ROCKCHIP_RK356x_BL32 if BAREBOX_NEEDS_FIRMWARE_ROCKCHIP + select FIRMWARE_ROCKCHIP_RK3566_SDRAM if BAREBOX_NEEDS_FIRMWARE_ROCKCHIP + select FIRMWARE_ROCKCHIP_RK3568_SDRAM if BAREBOX_NEEDS_FIRMWARE_ROCKCHIP diff --git a/rules/barebox.rockchip.make b/rules/barebox.rockchip.make new file mode 100644 index 000000000..0255b2b4d --- /dev/null +++ b/rules/barebox.rockchip.make @@ -0,0 +1,18 @@ +# -*-makefile-*- +# +# Copyright (C) 2021 by Michael Riesch +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +ifdef PTXCONF_BAREBOX_NEEDS_FIRMWARE_ROCKCHIP + +BAREBOX_INJECT_FILES += rk3568_bl31_v1.24.elf:firmware/rk3568-bl31.bin +BAREBOX_INJECT_FILES += rk3568_bl32_v1.05.bin:firmware/rk3568-op-tee.bin + +BAREBOX_INJECT_FILES += rk3566_ddr_1056MHz_v1.08.bin:arch/arm/boards/pine64-quartz64/sdram-init.bin + +BAREBOX_INJECT_FILES += rk3568_ddr_1560MHz_v1.08.bin:arch/arm/boards/rockchip-rk3568-evb/sdram-init.bin + +endif -- 2.30.2 _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de