From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7268294704307896320 X-Received: by 2002:a05:600c:2301:b0:3fe:23ec:2494 with SMTP id 1-20020a05600c230100b003fe23ec2494mr2478982wmo.7.1692281734112; Thu, 17 Aug 2023 07:15:34 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:600c:4fd5:b0:3fe:259a:c89d with SMTP id o21-20020a05600c4fd500b003fe259ac89dls2131507wmq.1.-pod-prod-05-eu; Thu, 17 Aug 2023 07:15:32 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFqIhkuBARreV4J+NPCkIqsuhYhRY801rrHQWs6nSS8teIFKeBzpaJzBEB8iqAd69IDum5w X-Received: by 2002:a05:600c:2254:b0:3f7:3991:e12e with SMTP id a20-20020a05600c225400b003f73991e12emr4211411wmm.1.1692281732270; Thu, 17 Aug 2023 07:15:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692281732; cv=none; d=google.com; s=arc-20160816; b=xiRPyiqm+FX89WcwSDCitY3XEF0cXCtWCYAtkRr9NmTYRgtZZxKit3jaOW9BaQr1x+ WJOkwerpfUJRhi40XGuUC/WkG1vxuPiXU4B0peWqqfFSjINPjhFPksiomv/BtavEpYou 4SD+yt2IBlDjIFwf5ob4xpUqV4s3zvqJ7KFIk51RbtMKUnkyiVXBqrGEdFtDMnflE3AC B+MciIG7XoYiRv6rG98FVNTSeGgH4dFomePv35Mb14d6aMKfQIbDa2/1d6KQhgyJMwOT b8ZjGaWDgZzysEtd5MWmb8cQvA7gMZEc9M07yXCRMF84QxuyJdFheUpEoR+XDOTwg1r4 kEeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from; bh=y8WQO/eiHDG9oi0HzMbv1HQE5wa33BIJCF/M3EEnhho=; fh=FgGrhZwXL/RxwXGSKgVZF9jur0GIKKvqf1fffygc4qo=; b=USOqoLM9Gtu/ItFTvq6e7z9161yKDkKUDvZSdJyQKNUMvKqJpkYaeVomZkQhd/uXyk Jlmegs1xdzWxE09O18/JXnwpCMj7cNCvQ8swhyje/AW9VBO3AoY6RyiYqpAsxWXGFE++ x/AjHtGvgjSU22p2oVBFkj/IlHEY/F8tLPmju9qJFEEPX+aBLupjSKXONMG2d0cKZK62 GzcdnEOfUw6g+DVluNgyA5Xw558EZtL9bz4X4YilgRGAf2D8wLGzotkwgm610AuNk4HZ X+aR3MLUK0hyhCDd2zaGCs0Da33Ysgza3Eg7dGHJL4whu1hEcXBxMmOsI5hRUlQYSlO/ JYuw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de Return-Path: Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id r14-20020a05600c458e00b003fe275df1e1si215621wmo.0.2023.08.17.07.15.32 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 17 Aug 2023 07:15:32 -0700 (PDT) Received-SPF: pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de Received: from localhost.localdomain (r154-240-38-77-broadband.btv.lv [77.38.240.154] (may be forged)) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 37HEFUed020317 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 17 Aug 2023 16:15:31 +0200 From: Anton Mikanovich To: isar-users@googlegroups.com Cc: Anton Mikanovich Subject: [PATCH] meta-isar: Declare compatible machines Date: Thu, 17 Aug 2023 17:15:24 +0300 Message-Id: <20230817141524.1808562-1-amikan@ilbers.de> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=0.3 required=5.0 tests=ALL_TRUSTED,NUMERIC_HTTP_ADDR, URI_HEX autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-TUID: a2eT3gVlZXr7 Declare COMPATIBLE_MACHINE values for all machine-specific recipes. Signed-off-by: Anton Mikanovich --- 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