diff mbox series

[meta-rockchip] add Quartz64-A

Message ID 20241218104557.45036-1-daniil.klimuk@3mdeb.com
State New
Headers show
Series [meta-rockchip] add Quartz64-A | expand

Commit Message

Danik Dec. 18, 2024, 10:45 a.m. UTC
Add Quartz64-A support.

Signed-off-by: Daniil Klimuk <daniil.klimuk@3mdeb.com>
---
 README                                      |  1 +
 conf/machine/quartz64-a.conf                | 13 +++++++++++++
 recipes-kernel/linux/linux-yocto_%.bbappend |  1 +
 3 files changed, 15 insertions(+)
 create mode 100644 conf/machine/quartz64-a.conf

Comments

Quentin Schulz Dec. 18, 2024, 1:04 p.m. UTC | #1
Hi Danik,

On 12/18/24 11:45 AM, Danik via lists.yoctoproject.org wrote:
> [You don't often get email from daniil.klimuk=3mdeb.com@lists.yoctoproject.org. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
> 
> Add Quartz64-A support.
> 
> Signed-off-by: Daniil Klimuk <daniil.klimuk@3mdeb.com>
> ---
>   README                                      |  1 +
>   conf/machine/quartz64-a.conf                | 13 +++++++++++++
>   recipes-kernel/linux/linux-yocto_%.bbappend |  1 +
>   3 files changed, 15 insertions(+)
>   create mode 100644 conf/machine/quartz64-a.conf
> 
> diff --git a/README b/README
> index 4c75ac9d574d..4c50786433d5 100644
> --- a/README
> +++ b/README
> @@ -47,6 +47,7 @@ Status of supported boards:
>                          rock-pi-s
>                          rock64
>                          soquartz (on model A base board)
> +                       quartz64-a

Please order alphabetically here, so before radxa-zero-3e.

Otherwise,

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>

Thanks!
Quentin
diff mbox series

Patch

diff --git a/README b/README
index 4c75ac9d574d..4c50786433d5 100644
--- a/README
+++ b/README
@@ -47,6 +47,7 @@  Status of supported boards:
 			rock-pi-s
 			rock64
 			soquartz (on model A base board)
+			quartz64-a
 
 	builds:
 		32-bit:
diff --git a/conf/machine/quartz64-a.conf b/conf/machine/quartz64-a.conf
new file mode 100644
index 000000000000..83190a10013d
--- /dev/null
+++ b/conf/machine/quartz64-a.conf
@@ -0,0 +1,13 @@ 
+#@TYPE: Machine
+#@NAME: Quartz64 Model A
+#@DESCRIPTION: The Quartz64 Model A is powered by a Rockchip RK3566 quad-core
+# ARM Cortex A55 64-Bit Processor with a Mali G-52 GPU. It comes equipped with
+# 2GB, 4GB or 8GB LPDDR4 system memory, and a 128Mb SPI boot flash.
+# https://pine64.org/devices/quartz64_model_a/
+
+require conf/machine/include/rk3566.inc
+
+KERNEL_DEVICETREE = "rockchip/rk3566-quartz64-a.dtb"
+MACHINE_EXTRA_RRECOMMENDS += "kernel-modules"
+
+UBOOT_MACHINE = "quartz64-a-rk3566_defconfig"
diff --git a/recipes-kernel/linux/linux-yocto_%.bbappend b/recipes-kernel/linux/linux-yocto_%.bbappend
index 91a9b8e0abcb..8b47503fa3fa 100644
--- a/recipes-kernel/linux/linux-yocto_%.bbappend
+++ b/recipes-kernel/linux/linux-yocto_%.bbappend
@@ -24,6 +24,7 @@  COMPATIBLE_MACHINE:rock-5a = "rock-5a"
 COMPATIBLE_MACHINE:rock-5b = "rock-5b"
 COMPATIBLE_MACHINE:soquartz = "soquartz"
 COMPATIBLE_MACHINE:radxa-cm3 = "radxa-cm3"
+COMPATIBLE_MACHINE:quartz64-a = "quartz64-a"
 
 SRC_URI:append = " file://rockchip-kmeta;type=kmeta;name=rockchip-kmeta;destsuffix=rockchip-kmeta"
 SRC_URI:append:nanopi-r4s = " file://nanopi-r4s.scc"