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..1465477 --- /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"