From patchwork Fri Nov 15 14:51:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "Paul M. Bendixen" X-Patchwork-Id: 52535 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2991BD68BC4 for ; Fri, 15 Nov 2024 14:51:23 +0000 (UTC) Received: from mxout02.netic.dk (mxout02.netic.dk [77.243.50.218]) by mx.groups.io with SMTP id smtpd.web11.22381.1731682271116007535 for ; Fri, 15 Nov 2024 06:51:13 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: message contains an insecure body length tag" header.i=@trifork.com header.s=dkim header.b=PYB+0YtY; spf=pass (domain: trifork.com, ip: 77.243.50.218, mailfrom: pbe@trifork.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=trifork.com; i=@trifork.com; l=5518; q=dns/txt; s=dkim; t=1731682271; x=1763218271; h=from:to:cc:subject:date:message-id:content-id: content-transfer-encoding:mime-version; z=From:=20"Paul=20M.=20Bendixen"=20|To: =20"yocto-patches@lists.yoctoproject.org"=0D=0A=09|CC:=20Trevor=20Woerner=20 |Subject:=20[meta-rockchip]=20[PATCH] =20SOQuartz:=20add|Date:=20Fri,=2015=20Nov=202024=2014:51 :08=20+0000|Message-ID:=20<3608313a-2d69-435d-807f-3dceb6 326ca8@trifork.com>|Content-ID:=20<52E4B857A99E404FBA71D3 A96C27E00B@trifork.com>|Content-Transfer-Encoding:=20base 64|MIME-Version:=201.0; bh=WUnAsH9bZxn5ictAU/P7nLSHjRa+Ll2UNKsxZEnNvuo=; b=PYB+0YtYJxo2LYwUlvFlSHTEo6AZCfAL+5Sz7GD0tSdlFQLyEvIXkJb9 yPioBCiYCkGaW1ff4yUMynjwoV7Iair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V7aZnidhILwFvAe0WKB+Vzd8lzFh4tgPM 5bGsAUYuEYT2IK7voShjPWLz9K+qjkzEnHv4njJl5WPHJXQpAlwQdlLw6RVml7XwdLPpYgCJ aH+45milObCAgqR/X+KHkZeuDJ4/nGj5zrWhIfGxI89U2vrR7A0s+ELzGomjkfThZGyvMH/X PKnzf0/rmuqez+8ALVymO71eUppPLRjvVCGemFgYwtMTPuhgy0Db4RPYGqjXQaoPyL4F1vqc LLoBsrIoBS5hrqDxiIiCqo9Qn89T4kr0b4z1yVi2ammMTlRVsBerJ8rLMcXBvFzkIq+Opxya dam0CUp/NsfGL9oBg= X-Talos-CUID: 9a23:Tj93vW7yVz8pytnGx9ss0W8RQ/wfe1/m7VztBBWDDE9qY7S8cArF X-Talos-MUID: 9a23:HbyCgAhVKFMfFWQ8UZ4SLMMpbeRVuriDCVoxqJRBlPGFDBBWZz2QtWHi X-IronPort-AV: E=Sophos;i="6.12,157,1728943200"; d="scan'208";a="81140597" Received: from DKMAIL03.interprise.dk (2001:1448:248:6e::110:72) by DKMAIL09.interprise.dk (2001:1448:248:c8::200:79) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Fri, 15 Nov 2024 15:51:06 +0100 Received: from DKMAIL03.interprise.dk (2001:1448:248:6e::110:72) by DKMAIL03.interprise.dk (2001:1448:248:6e::110:72) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Fri, 15 Nov 2024 15:51:08 +0100 Received: from DKMAIL03.interprise.dk ([fe80::7100:ad8c:7536:e0a]) by DKMAIL03.interprise.dk ([fe80::7100:ad8c:7536:e0a%4]) with mapi id 15.02.1544.011; Fri, 15 Nov 2024 15:51:08 +0100 From: "Paul M. Bendixen" To: "yocto-patches@lists.yoctoproject.org" CC: Trevor Woerner Subject: [meta-rockchip] [PATCH] SOQuartz: add Thread-Topic: [meta-rockchip] [PATCH] SOQuartz: add Thread-Index: AQHbN23NEDLD8uWkm06mFwemOD4h9Q== Date: Fri, 15 Nov 2024 14:51:08 +0000 Message-ID: <3608313a-2d69-435d-807f-3dceb6326ca8@trifork.com> Accept-Language: da-DK, en-US Content-Language: da-DK X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [152.115.32.67] Content-ID: <52E4B857A99E404FBA71D3A96C27E00B@trifork.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 15 Nov 2024 14:51:23 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/809 The SOQuartz is a RK3566 based compute module and parts of Quartz64 series The Model-A base board is one possible board that supports it Website:     https://pine64.org/devices/soquartz/ Wiki:     https://wiki.pine64.org/wiki/SOQuartz Specs: - Rockchip RK3566 Quad-core ARM Cortex-A55@1.8GHz - Mali-G52 2EE Bifrost GPU@800MHz - Raspberry Pi 4 CM form factor - RAM Memory Variants: 2GB, 4GB, 8GB LPDDR4. - optional eMMC from 8GB to 128GB - optional 128Mb SPI Flash - 10/100/1000Mbps Ethernet - WiFi 802.11 b/g/n/ac with Bluetooth 5.0 Exposed preripherals: - 1x HDMI - 2x DSI - 1x eDP - 1x LVDS - 1x CSI 4-line - 1x Ethernet - 1x USB 2.0 OTG - 1x SD - 1x PCIe 1-line - 28x GPIO Model-A baseboard: - 1x microSD - bootable - 1x HDMI Port - 2x USB A 2.0 Host - 1x USB C 2.0 Host - 1x 5 pin USB expansion - 1x Ethernet w. PoE - 1x 40 pole Pi2 compatible GPIO - 1x MiPi-CSI 2 lanes - 1x MiPi-CSI 4 lanes - 1x MiPi-DSI 2 lanes - 1x MiPi-DSI 4 lanes - 1x PCIe open ended Signed-off-by: Paul M. B. Bendixen Reviewed-by: Quentin Schulz Signed-off-by: Paul M. B. Bendixen ---  README                                      |  1 +  conf/machine/include/soquartz.inc           | 15 +++++++++++++++  conf/machine/soquartz-model-a.conf          | 12 ++++++++++++  recipes-kernel/linux/linux-yocto_%.bbappend |  1 +  4 files changed, 29 insertions(+)  create mode 100644 conf/machine/include/soquartz.inc  create mode 100644 conf/machine/soquartz-model-a.conf  SRC_URI:append:nanopi-r4s = " file://nanopi-r4s.scc" -- 2.43.0 diff --git a/README b/README index 09f8691..85ab2ec 100644 --- a/README +++ b/README @@ -45,6 +45,7 @@ Status of supported boards:              rock-pi-e              rock-pi-s              rock64 +            soquartz (on model A base board)      builds:          32-bit: diff --git a/conf/machine/include/soquartz.inc b/conf/machine/include/soquartz.inc new file mode 100644 index 0000000..6714efc --- /dev/null +++ b/conf/machine/include/soquartz.inc @@ -0,0 +1,15 @@ +#Copyright (C) Trifork A/S 2024 +# Released under the MIT license (see COPYING.MIT for the terms) + +# Common override for basing a SOQuartz design on +# https://wiki.pine64.org/wiki/SOQuartz + +MACHINEOVERRIDES =. "soquartz:" + +require conf/machine/include/rk3566.inc + +# A machine using this baseboard could use these options or overload them +# UBOOT_MACHINE ?= "soquartz-cm4-rk3566_defconfig" +# KERNEL_DEVICETREE ?= "rockchip/rk3566-soquartz-cm4.dtb" + +MACHINE_EXTRA_RRECOMMENDS += "kernel-modules" diff --git a/conf/machine/soquartz-model-a.conf b/conf/machine/soquartz-model-a.conf new file mode 100644 index 0000000..b8be4ca --- /dev/null +++ b/conf/machine/soquartz-model-a.conf @@ -0,0 +1,12 @@ +#Copyright (C) Trifork A/S 2024 +# Released under the MIT license (see COPYING.MIT for the terms) + +#@TYPE: Machine +#@NAME: SOQuartz on Model A base board +#@DESCRIPTION: SOQuartz is a series of Compute Module by Pine64, the Model-A baseboard provides standard connectors for the compute module +#https://wiki.pine64.org/wiki/SOQuartz#SOQuartz_Model-A_Baseboard_Features + +require conf/machine/include/soquartz.inc + +KERNEL_DEVICETREE = "rockchip/rk3566-soquartz-model-a.dtb" +UBOOT_MACHINE = "soquartz-model-a-rk3566_defconfig" diff --git a/recipes-kernel/linux/linux-yocto_%.bbappend b/recipes-kernel/linux/linux-yocto_%.bbappend index 5528bab..56ec9d7 100644 --- a/recipes-kernel/linux/linux-yocto_%.bbappend +++ b/recipes-kernel/linux/linux-yocto_%.bbappend @@ -22,6 +22,7 @@ COMPATIBLE_MACHINE:rock-3a = "rock-3a"  COMPATIBLE_MACHINE:rock-4c-plus = "rock-4c-plus"  COMPATIBLE_MACHINE:rock-5a = "rock-5a"  COMPATIBLE_MACHINE:rock-5b = "rock-5b" +COMPATIBLE_MACHINE:soquartz = "soquartz"  SRC_URI:append = " file://rockchip-kmeta;type=kmeta;name=rockchip-kmeta;destsuffix=rockchip-kmeta"