* [PATCH] meta-isar: Declare compatible machines
@ 2023-08-17 14:15 Anton Mikanovich
2023-08-17 14:17 ` Anton Mikanovich
2023-08-24 15:18 ` Uladzimir Bely
0 siblings, 2 replies; 5+ messages in thread
From: Anton Mikanovich @ 2023-08-17 14:15 UTC (permalink / raw)
To: isar-users; +Cc: Anton Mikanovich
Declare COMPATIBLE_MACHINE values for all machine-specific recipes.
Signed-off-by: Anton Mikanovich <amikan@ilbers.de>
---
meta-isar/recipes-bsp/bootconfig-rpi/bootconfig-rpi.bb | 2 ++
.../jh7110-u-boot-spl-image/jh7110-u-boot-spl-image_0.1.bb | 2 ++
.../jh7110-u-boot-spl-tool/jh7110-u-boot-spl-tool_0.1.bb | 2 ++
meta-isar/recipes-bsp/opensbi/opensbi-sifive-fu540_1.1.bb | 2 ++
.../opensbi/opensbi-starfive-visionfive2_1.2+20230310.bb | 2 ++
.../recipes-bsp/optee-client/optee-client-stm32mp15x_3.21.0.bb | 2 ++
.../optee-examples/optee-examples-stm32mp15x_3.21.0.bb | 2 ++
.../optee-ftpm/optee-ftpm-stm32mp15x_0~230316+git.bb | 2 ++
meta-isar/recipes-bsp/optee-os/optee-os-stm32mp15x_3.21.0.inc | 2 ++
.../trusted-firmware-a/trusted-firmware-a-stm32mp15x_2.4.bb | 2 ++
meta-isar/recipes-bsp/u-boot/u-boot-de0-nano-soc_2020.10.bb | 2 ++
.../u-boot-starfive-visionfive2_2022.01-rc4+VF2-2.11.5.bb | 2 ++
meta-isar/recipes-bsp/u-boot/u-boot-stm32mp15x_2020.10.bb | 2 ++
.../visionfive2-u-boot-firmware/visionfive2-u-boot-firmware.bb | 2 ++
meta-isar/recipes-kernel/linux/linux-phy_5.10.76-phy4.bb | 2 ++
.../recipes-kernel/linux/linux-starfive_5.15-visionfive2.bb | 2 ++
16 files changed, 32 insertions(+)
diff --git a/meta-isar/recipes-bsp/bootconfig-rpi/bootconfig-rpi.bb b/meta-isar/recipes-bsp/bootconfig-rpi/bootconfig-rpi.bb
index 9ca12878..91ae221d 100644
--- a/meta-isar/recipes-bsp/bootconfig-rpi/bootconfig-rpi.bb
+++ b/meta-isar/recipes-bsp/bootconfig-rpi/bootconfig-rpi.bb
@@ -26,3 +26,5 @@ do_install() {
install -v -m 644 ${WORKDIR}/cmdline.txt ${D}/boot/
fi
}
+
+COMPATIBLE_MACHINE = "rpi"
diff --git a/meta-isar/recipes-bsp/jh7110-u-boot-spl-image/jh7110-u-boot-spl-image_0.1.bb b/meta-isar/recipes-bsp/jh7110-u-boot-spl-image/jh7110-u-boot-spl-image_0.1.bb
index 08c53b51..a3258e42 100644
--- a/meta-isar/recipes-bsp/jh7110-u-boot-spl-image/jh7110-u-boot-spl-image_0.1.bb
+++ b/meta-isar/recipes-bsp/jh7110-u-boot-spl-image/jh7110-u-boot-spl-image_0.1.bb
@@ -28,3 +28,5 @@ do_deploy() {
addtask deploy after do_dpkg_build before do_build
do_deploy[dirs] = "${DEPLOY_DIR_IMAGE}"
+
+COMPATIBLE_MACHINE = "starfive-visionfive2"
diff --git a/meta-isar/recipes-bsp/jh7110-u-boot-spl-tool/jh7110-u-boot-spl-tool_0.1.bb b/meta-isar/recipes-bsp/jh7110-u-boot-spl-tool/jh7110-u-boot-spl-tool_0.1.bb
index 1835d474..fefcbf66 100644
--- a/meta-isar/recipes-bsp/jh7110-u-boot-spl-tool/jh7110-u-boot-spl-tool_0.1.bb
+++ b/meta-isar/recipes-bsp/jh7110-u-boot-spl-tool/jh7110-u-boot-spl-tool_0.1.bb
@@ -21,3 +21,5 @@ do_prepare_build(){
deb_debianize
echo "spl_tool usr/lib/jh7110-uboot-spl-tool" > ${S}/debian/${PN}.install
}
+
+COMPATIBLE_MACHINE = "starfive-visionfive2"
diff --git a/meta-isar/recipes-bsp/opensbi/opensbi-sifive-fu540_1.1.bb b/meta-isar/recipes-bsp/opensbi/opensbi-sifive-fu540_1.1.bb
index 92f75f2d..8902e13e 100644
--- a/meta-isar/recipes-bsp/opensbi/opensbi-sifive-fu540_1.1.bb
+++ b/meta-isar/recipes-bsp/opensbi/opensbi-sifive-fu540_1.1.bb
@@ -21,3 +21,5 @@ do_prepare_build() {
echo "build/platform/generic/firmware/fw_payload.bin /usr/lib/opensbi/sifive-fu540/" > ${S}/debian/install
}
+
+COMPATIBLE_MACHINE = "sifive-fu540"
diff --git a/meta-isar/recipes-bsp/opensbi/opensbi-starfive-visionfive2_1.2+20230310.bb b/meta-isar/recipes-bsp/opensbi/opensbi-starfive-visionfive2_1.2+20230310.bb
index 86be2932..f6d6905a 100644
--- a/meta-isar/recipes-bsp/opensbi/opensbi-starfive-visionfive2_1.2+20230310.bb
+++ b/meta-isar/recipes-bsp/opensbi/opensbi-starfive-visionfive2_1.2+20230310.bb
@@ -29,3 +29,5 @@ do_prepare_build() {
echo "build/platform/generic/firmware/fw_payload.bin /usr/lib/opensbi/starfive-visionfive2/" > ${S}/debian/install
}
+
+COMPATIBLE_MACHINE = "starfive-visionfive2"
diff --git a/meta-isar/recipes-bsp/optee-client/optee-client-stm32mp15x_3.21.0.bb b/meta-isar/recipes-bsp/optee-client/optee-client-stm32mp15x_3.21.0.bb
index d0e157f7..78815fc1 100644
--- a/meta-isar/recipes-bsp/optee-client/optee-client-stm32mp15x_3.21.0.bb
+++ b/meta-isar/recipes-bsp/optee-client/optee-client-stm32mp15x_3.21.0.bb
@@ -16,3 +16,5 @@ S = "${WORKDIR}/optee_client-${PV}"
# Use RPMB emulation
RPMB_EMU = "1"
+
+COMPATIBLE_MACHINE = "stm32mp15x"
diff --git a/meta-isar/recipes-bsp/optee-examples/optee-examples-stm32mp15x_3.21.0.bb b/meta-isar/recipes-bsp/optee-examples/optee-examples-stm32mp15x_3.21.0.bb
index e10654e8..8614a170 100644
--- a/meta-isar/recipes-bsp/optee-examples/optee-examples-stm32mp15x_3.21.0.bb
+++ b/meta-isar/recipes-bsp/optee-examples/optee-examples-stm32mp15x_3.21.0.bb
@@ -98,3 +98,5 @@ do_prepare_build() {
echo "secure_storage/host/optee_example_secure_storage /usr/lib/optee-os/${OPTEE_NAME}/ca" > \
${S}/debian/${PN}-secure-storage-host.install
}
+
+COMPATIBLE_MACHINE = "stm32mp15x"
diff --git a/meta-isar/recipes-bsp/optee-ftpm/optee-ftpm-stm32mp15x_0~230316+git.bb b/meta-isar/recipes-bsp/optee-ftpm/optee-ftpm-stm32mp15x_0~230316+git.bb
index c92620e1..53e2827c 100644
--- a/meta-isar/recipes-bsp/optee-ftpm/optee-ftpm-stm32mp15x_0~230316+git.bb
+++ b/meta-isar/recipes-bsp/optee-ftpm/optee-ftpm-stm32mp15x_0~230316+git.bb
@@ -30,3 +30,5 @@ do_prepare_build:append() {
rm -rf ${S}/external/wolfssl
cp -a ${S}/../wolfssl-${SRCREV-wolfssl} ${S}/external/wolfssl
}
+
+COMPATIBLE_MACHINE = "stm32mp15x"
diff --git a/meta-isar/recipes-bsp/optee-os/optee-os-stm32mp15x_3.21.0.inc b/meta-isar/recipes-bsp/optee-os/optee-os-stm32mp15x_3.21.0.inc
index cbf6974d..2f55f36f 100644
--- a/meta-isar/recipes-bsp/optee-os/optee-os-stm32mp15x_3.21.0.inc
+++ b/meta-isar/recipes-bsp/optee-os/optee-os-stm32mp15x_3.21.0.inc
@@ -16,3 +16,5 @@ OPTEE_EXTRA_BUILDARGS = " \
ARCH=arm CFG_EMBED_DTB_SOURCE_FILE=stm32mp157c-ev1.dts \
CFG_TEE_CORE_LOG_LEVEL=2"
OPTEE_BINARIES = "tee-header_v2.stm32 tee-pageable_v2.stm32 tee-pager_v2.stm32"
+
+COMPATIBLE_MACHINE = "stm32mp15x"
diff --git a/meta-isar/recipes-bsp/trusted-firmware-a/trusted-firmware-a-stm32mp15x_2.4.bb b/meta-isar/recipes-bsp/trusted-firmware-a/trusted-firmware-a-stm32mp15x_2.4.bb
index 254c83f8..4ae3d523 100644
--- a/meta-isar/recipes-bsp/trusted-firmware-a/trusted-firmware-a-stm32mp15x_2.4.bb
+++ b/meta-isar/recipes-bsp/trusted-firmware-a/trusted-firmware-a-stm32mp15x_2.4.bb
@@ -19,3 +19,5 @@ TF_A_EXTRA_BUILDARGS = " \
STM32MP_RAW_NAND=1 STM32MP_SPI_NAND=1 STM32MP_SPI_NOR=1 \
DTB_FILE_NAME=stm32mp157c-ev1.dtb"
TF_A_BINARIES = "release/tf-a-stm32mp157c-ev1.stm32"
+
+COMPATIBLE_MACHINE = "stm32mp15x"
diff --git a/meta-isar/recipes-bsp/u-boot/u-boot-de0-nano-soc_2020.10.bb b/meta-isar/recipes-bsp/u-boot/u-boot-de0-nano-soc_2020.10.bb
index dcb76c53..cd9369e5 100644
--- a/meta-isar/recipes-bsp/u-boot/u-boot-de0-nano-soc_2020.10.bb
+++ b/meta-isar/recipes-bsp/u-boot/u-boot-de0-nano-soc_2020.10.bb
@@ -7,3 +7,5 @@ require u-boot-${PV}.inc
# Just for testing purposes, distro package would be recent enough
U_BOOT_TOOLS_PACKAGE = "1"
+
+COMPATIBLE_MACHINE = "de0-nano-soc"
diff --git a/meta-isar/recipes-bsp/u-boot/u-boot-starfive-visionfive2_2022.01-rc4+VF2-2.11.5.bb b/meta-isar/recipes-bsp/u-boot/u-boot-starfive-visionfive2_2022.01-rc4+VF2-2.11.5.bb
index 0eeedc1a..82a4125b 100644
--- a/meta-isar/recipes-bsp/u-boot/u-boot-starfive-visionfive2_2022.01-rc4+VF2-2.11.5.bb
+++ b/meta-isar/recipes-bsp/u-boot/u-boot-starfive-visionfive2_2022.01-rc4+VF2-2.11.5.bb
@@ -29,3 +29,5 @@ do_prepare_build:append() {
echo "arch/riscv/dts/*.dtb usr/share/u-boot/${MACHINE}/" \
>> ${S}/debian/u-boot-${MACHINE}-dev.install
}
+
+COMPATIBLE_MACHINE = "starfive-visionfive2"
diff --git a/meta-isar/recipes-bsp/u-boot/u-boot-stm32mp15x_2020.10.bb b/meta-isar/recipes-bsp/u-boot/u-boot-stm32mp15x_2020.10.bb
index 39fceb2f..fddeb52f 100644
--- a/meta-isar/recipes-bsp/u-boot/u-boot-stm32mp15x_2020.10.bb
+++ b/meta-isar/recipes-bsp/u-boot/u-boot-stm32mp15x_2020.10.bb
@@ -8,3 +8,5 @@ require u-boot-${PV}.inc
SRC_URI += " \
file://0001-fdtdec-optionally-add-property-no-map-to-created-res.patch \
file://0002-optee-add-property-no-map-to-secure-reserved-memory.patch"
+
+COMPATIBLE_MACHINE = "stm32mp15x"
diff --git a/meta-isar/recipes-bsp/visionfive2-u-boot-firmware/visionfive2-u-boot-firmware.bb b/meta-isar/recipes-bsp/visionfive2-u-boot-firmware/visionfive2-u-boot-firmware.bb
index b2303968..4fe91b45 100644
--- a/meta-isar/recipes-bsp/visionfive2-u-boot-firmware/visionfive2-u-boot-firmware.bb
+++ b/meta-isar/recipes-bsp/visionfive2-u-boot-firmware/visionfive2-u-boot-firmware.bb
@@ -34,3 +34,5 @@ do_deploy() {
addtask deploy after do_dpkg_build before do_build
do_deploy[dirs] = "${DEPLOY_DIR_IMAGE}"
+
+COMPATIBLE_MACHINE = "starfive-visionfive2"
diff --git a/meta-isar/recipes-kernel/linux/linux-phy_5.10.76-phy4.bb b/meta-isar/recipes-kernel/linux/linux-phy_5.10.76-phy4.bb
index 2a391418..accb3c9a 100644
--- a/meta-isar/recipes-kernel/linux/linux-phy_5.10.76-phy4.bb
+++ b/meta-isar/recipes-kernel/linux/linux-phy_5.10.76-phy4.bb
@@ -12,3 +12,5 @@ KBUILD_DEPENDS:append = "lzop"
KERNEL_DEFCONFIG = "imx_v6_v7_defconfig"
LINUX_VERSION_EXTENSION = "-isar"
+
+COMPATIBLE_MACHINE = "phyboard-mira"
diff --git a/meta-isar/recipes-kernel/linux/linux-starfive_5.15-visionfive2.bb b/meta-isar/recipes-kernel/linux/linux-starfive_5.15-visionfive2.bb
index e0700989..e9e0bf4a 100644
--- a/meta-isar/recipes-kernel/linux/linux-starfive_5.15-visionfive2.bb
+++ b/meta-isar/recipes-kernel/linux/linux-starfive_5.15-visionfive2.bb
@@ -15,3 +15,5 @@ S = "${WORKDIR}/linux-visionfive-${PV}"
KERNEL_DEFCONFIG = "starfive_visionfive2_defconfig"
LINUX_VERSION_EXTENSION = "-isar"
+
+COMPATIBLE_MACHINE = "starfive-visionfive2"
--
2.34.1
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] meta-isar: Declare compatible machines
2023-08-17 14:15 [PATCH] meta-isar: Declare compatible machines Anton Mikanovich
@ 2023-08-17 14:17 ` Anton Mikanovich
2023-08-17 14:24 ` Jan Kiszka
2023-08-24 15:18 ` Uladzimir Bely
1 sibling, 1 reply; 5+ messages in thread
From: Anton Mikanovich @ 2023-08-17 14:17 UTC (permalink / raw)
To: isar-users, Claudius Heine
17/08/2023 17:15, Anton Mikanovich wrote:
> Declare COMPATIBLE_MACHINE values for all machine-specific recipes.
>
> Signed-off-by: Anton Mikanovich <amikan@ilbers.de>
This one is an improvement for '[PATCH 0/2] Integrate compatibiliy systems'
patchset and should be placed on top of it.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] meta-isar: Declare compatible machines
2023-08-17 14:17 ` Anton Mikanovich
@ 2023-08-17 14:24 ` Jan Kiszka
2023-08-17 14:33 ` Anton Mikanovich
0 siblings, 1 reply; 5+ messages in thread
From: Jan Kiszka @ 2023-08-17 14:24 UTC (permalink / raw)
To: Anton Mikanovich, isar-users, Claudius Heine
On 17.08.23 16:17, Anton Mikanovich wrote:
> 17/08/2023 17:15, Anton Mikanovich wrote:
>> Declare COMPATIBLE_MACHINE values for all machine-specific recipes.
>>
>> Signed-off-by: Anton Mikanovich <amikan@ilbers.de>
>
> This one is an improvement for '[PATCH 0/2] Integrate compatibiliy systems'
> patchset and should be placed on top of it.
>
I'm wondering if that could obsolete any PREFFERED_PROVIDER settings?
Jan
--
Siemens AG, Technology
Linux Expert Center
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] meta-isar: Declare compatible machines
2023-08-17 14:24 ` Jan Kiszka
@ 2023-08-17 14:33 ` Anton Mikanovich
0 siblings, 0 replies; 5+ messages in thread
From: Anton Mikanovich @ 2023-08-17 14:33 UTC (permalink / raw)
To: Jan Kiszka, isar-users, Claudius Heine
17/08/2023 17:24, Jan Kiszka wrote:
> I'm wondering if that could obsolete any PREFFERED_PROVIDER settings?
>
> Jan
>
Hello Jan,
It is possible that in some conditions PREFFERED_PROVIDER can be removed.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] meta-isar: Declare compatible machines
2023-08-17 14:15 [PATCH] meta-isar: Declare compatible machines Anton Mikanovich
2023-08-17 14:17 ` Anton Mikanovich
@ 2023-08-24 15:18 ` Uladzimir Bely
1 sibling, 0 replies; 5+ messages in thread
From: Uladzimir Bely @ 2023-08-24 15:18 UTC (permalink / raw)
To: Anton Mikanovich, isar-users
On Thu, 2023-08-17 at 17:15 +0300, Anton Mikanovich wrote:
> Declare COMPATIBLE_MACHINE values for all machine-specific recipes.
>
> Signed-off-by: Anton Mikanovich <amikan@ilbers.de>
> ---
> meta-isar/recipes-bsp/bootconfig-rpi/bootconfig-rpi.bb | 2
> ++
> .../jh7110-u-boot-spl-image/jh7110-u-boot-spl-image_0.1.bb | 2
> ++
> .../jh7110-u-boot-spl-tool/jh7110-u-boot-spl-tool_0.1.bb | 2
> ++
> meta-isar/recipes-bsp/opensbi/opensbi-sifive-fu540_1.1.bb | 2
> ++
> .../opensbi/opensbi-starfive-visionfive2_1.2+20230310.bb | 2
> ++
> .../recipes-bsp/optee-client/optee-client-stm32mp15x_3.21.0.bb | 2
> ++
> .../optee-examples/optee-examples-stm32mp15x_3.21.0.bb | 2
> ++
> .../optee-ftpm/optee-ftpm-stm32mp15x_0~230316+git.bb | 2
> ++
> meta-isar/recipes-bsp/optee-os/optee-os-stm32mp15x_3.21.0.inc | 2
> ++
> .../trusted-firmware-a/trusted-firmware-a-stm32mp15x_2.4.bb | 2
> ++
> meta-isar/recipes-bsp/u-boot/u-boot-de0-nano-soc_2020.10.bb | 2
> ++
> .../u-boot-starfive-visionfive2_2022.01-rc4+VF2-2.11.5.bb | 2
> ++
> meta-isar/recipes-bsp/u-boot/u-boot-stm32mp15x_2020.10.bb | 2
> ++
> .../visionfive2-u-boot-firmware/visionfive2-u-boot-firmware.bb | 2
> ++
> meta-isar/recipes-kernel/linux/linux-phy_5.10.76-phy4.bb | 2
> ++
> .../recipes-kernel/linux/linux-starfive_5.15-visionfive2.bb | 2
> ++
> 16 files changed, 32 insertions(+)
Applied to next.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-08-24 15:19 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-17 14:15 [PATCH] meta-isar: Declare compatible machines Anton Mikanovich
2023-08-17 14:17 ` Anton Mikanovich
2023-08-17 14:24 ` Jan Kiszka
2023-08-17 14:33 ` Anton Mikanovich
2023-08-24 15:18 ` Uladzimir Bely
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox