Skip to contentSkip to conversation

SOQuartz: add

PATCH In review Paul M. Bendixen 3 participants 7 messages Nov 15, 2024 – Nov 21, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 SOQuartz: add

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 [email protected]
- 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

---
  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

README +1 -0
index 09f8691..85ab2ec 100644
@@ -45,6 +45,7 @@ Status of supported boards:
              rock-pi-e
              rock-pi-s
              rock64
+            soquartz (on model A base board)
 
      builds:
          32-bit:
(quoted diff) +0 -0

b/conf/machine/include/soquartz.inc
new file mode 100644
index 0000000..6714efc

conf/machine/include/soquartz.inc new file +15 -0
@@ -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"
(quoted diff) +0 -0

b/conf/machine/soquartz-model-a.conf
new file mode 100644
index 0000000..b8be4ca

conf/machine/soquartz-model-a.conf new file +6 -0
@@ -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"

(quoted diff) +0 -0

b/recipes-kernel/linux/linux-yocto_%.bbappend
index 5528bab..56ec9d7 100644

recipes-kernel/linux/linux-yocto_%.bbappend +1 -0
@@ -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"

Signature · 1 line
2.43.0
Reviewed-by on v1 1/1
#1 lore raw

Hi Paul,

Please version your patches when sending (usually -v N with N being the proper version number should be enough), a vN will then appear next to [PATCH in the mail subject. That is necessary for maintainers and reviewers to not have to figure out which one mail is the latest and greatest patch you've sent and they should review or merge.

I can also recommend using b4 which does a lot of things automatically for you :)

See comment inline.

Quoted 76 lines · Paul M. Bendixen via lists.yoctoproject.org

[You don't often get email from [email protected]. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]

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 [email protected]
- 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

---
   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

README +1 -0
index 09f8691..85ab2ec 100644
@@ -45,6 +45,7 @@ Status of supported boards:
               rock-pi-e
               rock-pi-s
               rock64
+            soquartz (on model A base board)
 
       builds:
           32-bit:
conf/machine/include/soquartz.inc new file +1 -0
new file mode 100644
index 0000000..6714efc
@@ -0,0 +1,15 @@
+#Copyright (C) Trifork A/S 2024

conf/machine/include/soquartz.inc line 11

Quoted 10 lines
conf/machine/include/soquartz.inc new file +10 -0
+# 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

I think it is actually required to set those variables in a machine configuration file since nothing else defines a default? And since those are now commented out (as they should).

So I'm just nitpicking on the phrasing here. I wouldn't necessarily send a new version just for that, but maybe Trevor will have a different opinion (or fix it when merging).

Looks good to me otherwise!

Thanks!
Quentin

#2 lore raw
Quoted 8 lines · Quentin Schulz via lists.yoctoproject.org

Hi Paul,

Please version your patches when sending (usually -v N with N being the proper version number should be enough), a vN will then appear next to [PATCH in the mail subject. That is necessary for maintainers and reviewers to not have to figure out which one mail is the latest and greatest patch you've sent and they should review or merge.

Ok, makes sense, couldn't find that anywhere but will change for next time.

Quoted 2 lines

I can also recommend using b4 which does a lot of things automatically for you :)

Thanks for the tip, I'll check it out.

Quoted 99 lines

See comment inline.

Quoted 89 lines · Paul M. Bendixen via lists.yoctoproject.org

[You don't often get email from [email protected]. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]

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 [email protected]
- 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

---
   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

README +0 -0
index 09f8691..85ab2ec 100644
@@ -45,6 +45,7 @@ Status of supported boards:

               rock-pi-e
               rock-pi-s
               rock64
+            soquartz (on model A base board)

       builds:
           32-bit:

conf/machine/include/soquartz.inc new file +11 -0
new file mode 100644
index 0000000..6714efc
@@ -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 
Quoted 1 line

them

I think it is actually required to set those variables in a machine configuration file since nothing else defines a default? And since those are now commented out (as they should).

Quoted 4 lines

So I'm just nitpicking on the phrasing here. I wouldn't necessarily send a new version just for that, but maybe Trevor will have a different opinion (or fix it when merging).

English is not my first language, but I was trying to convey that if starting a new board, these could be used as a starting point. Could you suggest wording that would convey that more clearly? (maybe I just did)

Quoted 20 lines

Looks good to me otherwise!

Thanks!
Quentin

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#810):
https://lists.yoctoproject.org/g/yocto-patches/message/810
Mute This Topic: https://lists.yoctoproject.org/mt/109551419/9116071
Group Owner: [email protected] Unsubscribe:
https://lists.yoctoproject.org/g/yocto-patches/leave/13741902/9116071/1253603286/xyzzy
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#3 lore raw

Hi Paul,

Quoted 115 lines · Paul M. Bendixen via lists.yoctoproject.org

[You don't often get email from [email protected]. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]

Quoted 8 lines · Quentin Schulz via lists.yoctoproject.org

Hi Paul,

Please version your patches when sending (usually -v N with N being the proper version number should be enough), a vN will then appear next to [PATCH in the mail subject. That is necessary for maintainers and reviewers to not have to figure out which one mail is the latest and greatest patch you've sent and they should review or merge.

Ok, makes sense, couldn't find that anywhere but will change for next time.

Quoted 2 lines

I can also recommend using b4 which does a lot of things automatically for you :)

Thanks for the tip, I'll check it out.

Quoted 99 lines

See comment inline.

Quoted 89 lines · Paul M. Bendixen via lists.yoctoproject.org

[You don't often get email from [email protected]. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]

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 [email protected]
- 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

---
    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

README +1 -0
index 09f8691..85ab2ec 100644
@@ -45,6 +45,7 @@ Status of supported boards:
                rock-pi-e
                rock-pi-s
                rock64
+            soquartz (on model A base board)
 
        builds:
            32-bit:
conf/machine/include/soquartz.inc new file +11 -0
new file mode 100644
index 0000000..6714efc
@@ -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
Quoted 1 line

them

I think it is actually required to set those variables in a machine configuration file since nothing else defines a default? And since those are now commented out (as they should).

Quoted 5 lines
Quoted 4 lines

So I'm just nitpicking on the phrasing here. I wouldn't necessarily send a new version just for that, but maybe Trevor will have a different opinion (or fix it when merging).

English is not my first language, but I was trying to convey that if

Me neither :)

Quoted 4 lines

starting a new board, these could be used as a starting point. Could you suggest wording that would convey that more clearly? (maybe I just did)

To **me**, *could* means the ability to do something, or something that is possible to happen. Not required, just recommended, maybe will happen, maybe not.

*should* has multiple meanings, mostly depending on the context I guess. It indicates a "more" recommended way than could.

Basically I see it in this order of "necessity"

might, may, could, should, shall/must

shall/must is a pretty rare occurrence - and more "legalese" speak to me - but is technically the right verb to use to convey that one REALLY does need to do that thing we're talking about.

Here what I'm disputing is that it is absolutely required for a machine including soquartz.inc to provide those two variables otherwise it simply won't work (haven't checked but I believe that's the case). So "suggesting" to do it with "could" is a bit misleading. "must" probably would be better here.

https://learn-english-today.com/lessons/lesson_contents/verbs/modals.html or https://english.lingolia.com/en/grammar/verbs/modal-verbs I guess that could help?

Anyway, the fact that the variables are here and with the small comment, people would probably get what they are supposed to do with it, especially with the model-a machine config as an example :)

Cheers,
Quentin

#4 lore raw
In reply to Paul M. Bendixen

Hi Paul,

Thanks for your patch!

Are you using "git send-email ..." to send your patches? The patch itself appears to be base64 encoded. It looks fine in email readers, but using mutt to save the patch then try to apply it is running into issues.

I'll see if I can figure out the magic to decode (done) in a way that makes "git am ..." happy (not working).

Thanks, Quentin and Ross, for your help :-)

Best regards,
Trevor

Quoted 126 lines · Paul M. Bendixen

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 [email protected]
- 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

---
  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

README +1 -0
index 09f8691..85ab2ec 100644
@@ -45,6 +45,7 @@ Status of supported boards:
              rock-pi-e
              rock-pi-s
              rock64
+            soquartz (on model A base board)
 
      builds:
          32-bit:
conf/machine/include/soquartz.inc new file +15 -0
new file mode 100644
index 0000000..6714efc
@@ -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"
conf/machine/soquartz-model-a.conf new file +6 -0
new file mode 100644
index 0000000..b8be4ca
@@ -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

conf/machine/soquartz-model-a.conf new file +6 -0
+#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"
recipes-kernel/linux/linux-yocto_%.bbappend +1 -0
index 5528bab..56ec9d7 100644
@@ -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"

Signature · 1 line
2.43.0
#5 lore raw

Hi Trevor

Quoted 11 lines · On mandag den 18. november 2024 19.03.17 CET you wrote:

Hi Paul,

Thanks for your patch!

Are you using "git send-email ..." to send your patches? The patch itself appears to be base64 encoded. It looks fine in email readers, but using mutt to save the patch then try to apply it is running into issues.

I'll see if I can figure out the magic to decode (done) in a way that makes "git am ..." happy (not working).

I'm going to try sending using KMail now, does this help? (should I do another version?

Quoted 131 lines

Thanks, Quentin and Ross, for your help :-)

Best regards,
Trevor

Quoted 125 lines · Paul M. Bendixen

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 [email protected]
- 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

---

  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

README +1 -0
index 09f8691..85ab2ec 100644
@@ -45,6 +45,7 @@ Status of supported boards:
              rock-pi-e
              rock-pi-s
              rock64
 
+            soquartz (on model A base board)
 
      builds:
          32-bit:
conf/machine/include/soquartz.inc new file +15 -0
new file mode 100644
index 0000000..6714efc
@@ -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"
conf/machine/soquartz-model-a.conf new file +6 -0
new file mode 100644
index 0000000..b8be4ca
@@ -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_Feature s

conf/machine/soquartz-model-a.conf new file +5 -0
+
+require conf/machine/include/soquartz.inc
+
+KERNEL_DEVICETREE = "rockchip/rk3566-soquartz-model-a.dtb"
+UBOOT_MACHINE = "soquartz-model-a-rk3566_defconfig"
recipes-kernel/linux/linux-yocto_%.bbappend +0 -0
index 5528bab..56ec9d7 100644
@@ -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"
 
Quoted 7 lines
Quoted 7 lines
recipes-kernel/linux/linux-yocto_%.bbappend +1 -0
+COMPATIBLE_MACHINE:soquartz = "soquartz"
 

SRC_URI:append = "

file://rockchip-kmeta;type=kmeta;name=rockchip-kmeta;destsuffix=rockchip-k meta">
SRC_URI:append:nanopi-r4s = " file://nanopi-r4s.scc"

From 1eba8ca5a6c04301603da3367359444a2f3b6743 Mon Sep 17 00:00:00 2001
From: "Paul M. B. Bendixen" <[email protected]>
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 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 [email protected]
- 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

---
 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
README +1 -0
index 09f8691..85ab2ec 100644
@@ -45,6 +45,7 @@ Status of supported boards:
 			rock-pi-e
 			rock-pi-s
 			rock64
+			soquartz (on model A base board)
 
 	builds:
 		32-bit:
conf/machine/include/soquartz.inc new file +15 -0
new file mode 100644
index 0000000..6714efc
@@ -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"
conf/machine/soquartz-model-a.conf new file +12 -0
new file mode 100644
index 0000000..b8be4ca
@@ -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"
recipes-kernel/linux/linux-yocto_%.bbappend +1 -0
index 5528bab..56ec9d7 100644
@@ -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"
Signature · 1 line
2.43.0
#6 lore raw
In reply to Paul M. Bendixen
Quoted 45 lines · Paul M. Bendixen

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 [email protected]
- 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

Quoted 9 lines
---
  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

Added to meta-rockchip, master branch; thanks!