From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 24 Jan 2022 13:11:02 +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 1nByBa-00Bsyj-Tn for lore@lore.pengutronix.de; Mon, 24 Jan 2022 13:11:02 +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 1nByBZ-0008H7-9M; Mon, 24 Jan 2022 13:11:01 +0100 Received: from mail-eopbgr140040.outbound.protection.outlook.com ([40.107.14.40] helo=EUR01-VE1-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 1nByAf-0007KK-TM; Mon, 24 Jan 2022 13:10:06 +0100 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XjeedxGppiFI8N4qMBxTI06t+hi1WYUVura/aNW0hdBH/QKM3msUOr2NIpHViln+IR2FRiZtjVunN0A3SDyyqJJbwRg+TgP3ANvfpyTEFdcDzu5u20ESt4TctLnkLUDQtb7SS9IZcOX6WwxYaHrB5EtWHQvzJOmKpoFcFO8VQBDFU7hSUdLQx+hNACTP2Eh3m2KNSSexSJZXZaQcA4SOaUxz891uboD9Dk/tl6r+WXI9LXLPRnvIDfmkOUMHYq1CFm7+9uhFBYak1JLdW8fkWcy+tNFYlJj1DAz+bajuP84j5G+Td0CT3DipGfdoZKO3rPUrHGbLZNqB9G/+abfVPg== 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=oLWl+XQTsEOje74LKtLH+5JlyJB9cv7uHwHtb6oQp9M=; b=f77zT+IFnkXEQRUtNJF1nRUdKpZWTOr/Y5y6A/fndqWIr5QgbdjIsf4OYRTyfUf1vYSp3FI2oGW1yDpklUaj+h0622E8KPwrk8vFOMaju9rRyniTjBPaU4PY919JAhOiLJYzdIbkau4BuKmVn63xylcvttFGS2htnitoFu1pCMlo3VYTQB+Adnf4Gok1KCTnnz5WNLDz3Shxe1aTi5Fk4rlBmUCJI0tp31kBbiIFrgc0w6OxNfOJ81rQiR+YOfOJ+p7IdWrRCsytsWHfhtGqfm6tgzV54Yi2SyvjB9H4r8gVM0ycuFzvnKb2Ja7guQeebwxMqF0j0be6ZPlJ6uGOtA== 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=oLWl+XQTsEOje74LKtLH+5JlyJB9cv7uHwHtb6oQp9M=; b=u8C4BcAAYfpVGunU6j4HUe9JU0E+Lid6ZjiEO/BZmGf7f4Nzpc1O1nAMOvGXkI5ak/p+n9xqg4gNcJN69yWWJeaOjiwwWZsZRzqBs0uG8LWYzLEi3KPkCIJgZDV6egx8U9oZtAjdQlN2mdDeW8FYvKNXJ63gqQOWRuuET82Ijtg= 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 AS8PR08MB6962.eurprd08.prod.outlook.com (2603:10a6:20b:347::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4909.10; Mon, 24 Jan 2022 12:10:04 +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.4909.017; Mon, 24 Jan 2022 12:10:04 +0000 From: Michael Riesch To: ptxdist@pengutronix.de Date: Mon, 24 Jan 2022 13:09:42 +0100 Message-Id: <20220124120942.557161-6-michael.riesch@wolfvision.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220124120942.557161-1-michael.riesch@wolfvision.net> References: <20220124120942.557161-1-michael.riesch@wolfvision.net> X-ClientProxiedBy: ZR0P278CA0177.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:45::11) 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: fe6f28e3-047e-4086-b466-08d9df32745a X-MS-TrafficTypeDiagnostic: AS8PR08MB6962:EE_ X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:6430; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: qywpGltY7njGtKWsrP5nUCr8YJ0DKEw+tLPxDeVKOetRK8GufrUw+gg/REGW0jFavZiO7ejfy6LOH78qesexaOA9eHWDZsTcoqkedeMeylMuR6/uE7QR3K2l3vknl4Wbp2b392AxIN3bXrbIXY/GcTDWkStUiz3U/j/EiNXXBAE9GoaCsXoB9qRctU+1MpmpYZWV2nbLX7mvTzaJETZ8Qyl0rzTtTKllEhLa1BiUXHBQeB1UXCx7bfmTZomMkIPDjROR+R99u7VicJr0d2uc/Nu80O25cvfqm9bbybl9tM/X/eW09aSGJ7Z04+CtkMMvtd9zuf2POrKg+iPCQi5PP4k5EOOtvB9eo+KUQPFg2flopd50KPAh/KrH/8rDXdjBumfJI4/csUDcTgdbq4+xnt6VptBViA/6FTt1FWnEiEgE8j3ucl10d9b7oernUPBsxQ0uYMLP0UrzWaMepEfYsfSNV7Hylfdyb+mJe5M49jahLIupped9BUzNDd7fV8bKWAI9msUTnWxtjpXdfL4kJerTgkQcb0KdvGrNCU+wQB3plLpRr++6UdgKIDK1gUhKHg72NGVMOo2n+shv8MaRyUURO6SY41TwkZiCV1FEvRW5fL3qxFV1XSu3l1yEKu95UlvMHrrczN4b4jSfOPuiTQ== 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:(4636009)(366004)(44832011)(66476007)(8936002)(316002)(6666004)(6916009)(5660300002)(6506007)(8676002)(66556008)(107886003)(2906002)(1076003)(36756003)(4326008)(52116002)(508600001)(66946007)(2616005)(6486002)(6512007)(38100700002)(86362001)(186003)(450100002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?dKrpxaR61tVnmeG5fqHzeLFv0pg0e4oD6b6qbYzP+Eju7xqMzE/8QIb5PwtZ?= =?us-ascii?Q?iz45I4uKwvY0M5IfpRwYmTruzDPCoCF4OqDoQLKl7SBfxJz2r/lPlwMoem6W?= =?us-ascii?Q?wGi/9Qub1Bxl+FFrmxGzw4IoEu4hN9m0jrMnl6iq+VCT6TStIZTNNE6ybNZJ?= =?us-ascii?Q?f3/8763la0GXOdvTxrP9CjuvDWwCM342I1cG6IY+BSzQxnQ6wKzWG/p/7ECo?= =?us-ascii?Q?3gXl9dskea8/ZjXr9eECrkS5Sm1WJ0TMw8KFTJUSRZWtfN5brBlgcHUCy3aF?= =?us-ascii?Q?YGW4pXgP6loeqbdxmhAIoWdPhPE2s31++NpKLtGE4vngBrn02OX8h2ty9BJz?= =?us-ascii?Q?CXxVraouwo5Lzdkvx0+/c6TWW86rn5zXozEdUtpthhtf5jmN3KhK5Jtvb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KhL/9WwBhsW55erkTn0ihTtVETcq126pXgNOgXsB?= =?us-ascii?Q?WRrJW5P2sQOSzPWietvBl4ZWQxfwcIXLovxBEdCcDcDRGEwmNW47if4PAoNx?= =?us-ascii?Q?G+cFniiAPIvZ1lPG0pCQ8BZKMuX57I71WzNBet9y3Y6Ji82TDXXm45tV+T0S?= =?us-ascii?Q?jAnSvMaPxQDP+JZFyivYEA22Du+NNNC8hGybAbWNZyQ+1w71+yasWntysqNv?= =?us-ascii?Q?uEvmZBeKycKb1ww3WPcKEChB8/rESeriMX21N5x2DF0y4Pb69/HT4kwVsAYj?= =?us-ascii?Q?bC0s0D/fgvJeJy3sMCZpkDL/gk0mYGMoI7XFf61cRVPG+zu0ome5qaD+Uli5?= =?us-ascii?Q?Vwr2vnqIqLuqiE1Pgn8KxDlevQKuog4Fkaoxa3uBERKyq05RP5OhGvEOeeKl?= =?us-ascii?Q?fiihWUtG3RDBi1CS0NnLmBVEWCvzZwvF5JJGdJOCFUGgBpOPjJrLNkHZiLgZ?= =?us-ascii?Q?Z/KXXwwIfw=3D=3D?= X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: fe6f28e3-047e-4086-b466-08d9df32745a X-MS-Exchange-CrossTenant-AuthSource: HE1PR0802MB2426.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Jan 2022 12:10:04.4245 (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: bizuPimO28YK+0U1OJ7+XZiU+rlqSHh8QzwApijz9dQZmEXmgCsxAMDg0IX0jld9TgEVVtWt/2eXZ+FvjKU+ZXL0bBXlU5UE+ETrHgXCVDo= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB6962 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,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Subject: [ptxdist] [RFC PATCH v5 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 --- platforms/barebox.rockchip.in | 13 +++++++++++++ rules/barebox.rockchip.make | 18 ++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 rules/barebox.rockchip.make diff --git a/platforms/barebox.rockchip.in b/platforms/barebox.rockchip.in index 8ecdb0762..9aad4eaf8 100644 --- a/platforms/barebox.rockchip.in +++ b/platforms/barebox.rockchip.in @@ -1 +1,14 @@ ## SECTION=barebox_firmware + +config BAREBOX_NEEDS_FIRMWARE_ROCKCHIP + prompt "barebox needs firmware-rockchip" + bool + depends on ARCH_ARM64 + 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 + help + Select this if barebox needs the non-free Rockchip firmware + blobs. 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