All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-rockchip] [PATCH] SOQuartz: add
@ 2024-11-15 14:51 Paul M. Bendixen
  2024-11-15 14:59 ` [yocto-patches] " Quentin Schulz
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Paul M. Bendixen @ 2024-11-15 14:51 UTC (permalink / raw)
  To: yocto-patches@lists.yoctoproject.org; +Cc: Trevor Woerner

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 <pbe@trifork.com>
---
  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

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"
  SRC_URI:append:nanopi-r4s = " file://nanopi-r4s.scc"
-- 
2.43.0



^ permalink raw reply related	[flat|nested] 8+ messages in thread
* [meta-rockchip] [PATCH] SOQuartz: add
@ 2024-11-13  9:06 Paul M. Bendixen
  0 siblings, 0 replies; 8+ messages in thread
From: Paul M. Bendixen @ 2024-11-13  9:06 UTC (permalink / raw)
  To: yocto-patches@lists.yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 603 bytes --]

The SOQuartz is a RK3566 based compute module and parts of Quartz64 series

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

Signed-off-by: Paul M. B. Bendixen <pbe@trifork.com>




[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-SOQuartz-add.patch --]
[-- Type: text/x-patch; name="0001-SOQuartz-add.patch", Size: 2385 bytes --]

From e9f0dde2bf5cac2c66380c8bab9296abc791d62c Mon Sep 17 00:00:00 2001
From: "Paul M. B. Bendixen" <pbe@trifork.com>
Date: Wed, 13 Nov 2024 09:29:46 +0100
Subject: [meta-rockchip] [PATCH] SOQuartz: add

The SOQuartz is a RK3566 based compute module and parts of Quartz64 series

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

Signed-off-by: Paul M. B. Bendixen <pbe@trifork.com>
---
 README                                      |  1 +
 conf/machine/soquartz.conf                  | 12 ++++++++++++
 recipes-kernel/linux/linux-yocto_%.bbappend |  1 +
 3 files changed, 14 insertions(+)
 create mode 100644 conf/machine/soquartz.conf

diff --git a/README b/README
index 09f8691..c5079a5 100644
--- a/README
+++ b/README
@@ -45,6 +45,7 @@ Status of supported boards:
 			rock-pi-e
 			rock-pi-s
 			rock64
+			soquartz
 
 	builds:
 		32-bit:
diff --git a/conf/machine/soquartz.conf b/conf/machine/soquartz.conf
new file mode 100644
index 0000000..01860b7
--- /dev/null
+++ b/conf/machine/soquartz.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
+#@Description: SOQuartz board for pine64
+
+WKS_FILE ?= "rockchip.wks"
+require include/rk3566.inc
+
+UBOOT_MACHINE = "soquartz-cm4-rk3566_defconfig"
+KERNEL_DEVICETREE = "rockchip/rk3566-soquartz-cm4.dtb"
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"
 SRC_URI:append:nanopi-r4s = " file://nanopi-r4s.scc"
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-11-21 18:43 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-15 14:51 [meta-rockchip] [PATCH] SOQuartz: add Paul M. Bendixen
2024-11-15 14:59 ` [yocto-patches] " Quentin Schulz
2024-11-18  8:04   ` Paul M. Bendixen
2024-11-18  9:36     ` Quentin Schulz
2024-11-18 18:03 ` Trevor Woerner
2024-11-19 11:46   ` Paul M. Bendixen
2024-11-21 18:43 ` Trevor Woerner
  -- strict thread matches above, loose matches on Subject: below --
2024-11-13  9:06 Paul M. Bendixen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.