summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2025-07-27 18:28:40 -0300
committerGitHub <noreply@github.com>2025-07-27 18:28:40 -0300
commit67eb12e4d285f76da78fffe79845917043d506e7 (patch)
treef81ab4202090e7ff633eb8d71e871bcbde914861
parent3795a8155a619b07d919ce6f81f2c22a2ab6af34 (diff)
parent234d1e0c9f82d58a52a9fab4defc368d04c490c3 (diff)
downloadmeta-freescale-67eb12e4d285f76da78fffe79845917043d506e7.tar.gz
Merge pull request #2321 from MaxKrummenacher/master
isp-imx update to 4.2.2.25.2 and fix build error after CMake update
-rw-r--r--EULA44
-rw-r--r--LICENSE4
-rw-r--r--classes/fsl-eula-unpack.bbclass6
-rw-r--r--recipes-bsp/isp-imx/basler-camera_4.2.2.25.2.bb (renamed from recipes-bsp/isp-imx/basler-camera_4.2.2.25.1.bb)6
-rw-r--r--recipes-bsp/isp-imx/isp-imx/0001-isp-imx-start_isp-don-t-report-error-if-no-camera-is.patch11
-rw-r--r--recipes-bsp/isp-imx/isp-imx/0002-appshell-cmake-bump-min-version-to-3.5.patch134
-rw-r--r--recipes-bsp/isp-imx/isp-imx/0003-appshell-cmake-drop-deprecated-use-of-target_link_li.patch37
-rw-r--r--recipes-bsp/isp-imx/isp-imx/0004-units-targets.cmake-fix-check-if-a-target-exists.patch51
-rw-r--r--recipes-bsp/isp-imx/isp-imx/0005-units-cmake-fix-use-of-add_dependencies.patch36
-rw-r--r--recipes-bsp/isp-imx/isp-imx_4.2.2.25.2.bb (renamed from recipes-bsp/isp-imx/isp-imx_4.2.2.25.1.bb)18
10 files changed, 315 insertions, 32 deletions
diff --git a/EULA b/EULA
index 5f5cc2f96..5a03801a9 100644
--- a/EULA
+++ b/EULA
@@ -1,4 +1,4 @@
1LA_OPT_NXP_Software_License v58 November 2024 1LA_OPT_NXP_Software_License v62 May 2025
2IMPORTANT. Read the following NXP Software License Agreement ("Agreement") 2IMPORTANT. Read the following NXP Software License Agreement ("Agreement")
3completely. By selecting the "I Accept" button at the end of this page, or by 3completely. By selecting the "I Accept" button at the end of this page, or by
4downloading, installing, or using the Licensed Software, you indicate that you 4downloading, installing, or using the Licensed Software, you indicate that you
@@ -157,6 +157,8 @@ of the Licensed Software to anyone other than NXP. You may advise NXP of any
157results obtained from your use of the Licensed Software, including any problems 157results obtained from your use of the Licensed Software, including any problems
158or suggested improvements thereof, and NXP retains the right to use such 158or suggested improvements thereof, and NXP retains the right to use such
159results and related information in any manner it deems appropriate. 159results and related information in any manner it deems appropriate.
1603.9. Licensee may not use the Licensed Software as data or training
161input to any artificial intelligence models or machine learning algorithms.
1604. OPEN SOURCE. Open source software included in the Licensed 1624. OPEN SOURCE. Open source software included in the Licensed
161Software is not licensed under the terms of this Agreement but is instead 163Software is not licensed under the terms of this Agreement but is instead
162licensed under the terms of the applicable open source license(s), such as the 164licensed under the terms of the applicable open source license(s), such as the
@@ -222,9 +224,10 @@ to you.
222disclaims any warranty for the Licensed Software. The Licensed Software is 224disclaims any warranty for the Licensed Software. The Licensed Software is
223provided "AS IS", without warranty of any kind, either express or implied, 225provided "AS IS", without warranty of any kind, either express or implied,
224including without limitation the implied warranties of merchantability, fitness 226including without limitation the implied warranties of merchantability, fitness
225for a particular purpose, or non-infringement. You assume the entire risk 227for a particular purpose, non-infringement, or any warranty that the Licensed
226arising out of the use or performance of the licensed software, or any systems 228Software is free from vulnerabilities. You assume the entire risk arising out
227you design using the licensed software (if any). 229of the use or performance of the licensed software, or any systems you design
230using the licensed software (if any).
22810. INDEMNITY. You agree to fully defend and indemnify NXP from all 23110. INDEMNITY. You agree to fully defend and indemnify NXP from all
229claims, liabilities, and costs (including reasonable attorney’s fees) related 232claims, liabilities, and costs (including reasonable attorney’s fees) related
230to (1) your use (including your subcontractor’s or distributee’s use, if 233to (1) your use (including your subcontractor’s or distributee’s use, if
@@ -242,6 +245,7 @@ COSTS, DAMAGES, CLAIMS, OR LOSSES WHATSOEVER ARISING OUT OF OR IN CONNECTION
242WITH THIS AGREEMENT OR PRODUCT(S) SUPPLIED UNDER THIS AGREEMENT IS LIMITED TO 245WITH THIS AGREEMENT OR PRODUCT(S) SUPPLIED UNDER THIS AGREEMENT IS LIMITED TO
243THE AGGREGATE AMOUNT PAID BY YOU TO NXP IN CONNECTION WITH THE LICENSED 246THE AGGREGATE AMOUNT PAID BY YOU TO NXP IN CONNECTION WITH THE LICENSED
244SOFTWARE PROVIDED UNDER THIS AGREEMENT TO WHICH LOSSES OR DAMAGES ARE CLAIMED. 247SOFTWARE PROVIDED UNDER THIS AGREEMENT TO WHICH LOSSES OR DAMAGES ARE CLAIMED.
248
24512. EXPORT COMPLIANCE. 24912. EXPORT COMPLIANCE.
24612.1 Each party shall comply with all applicable export and import control 25012.1 Each party shall comply with all applicable export and import control
247laws and regulations including but not limited to the US Export Administration 251laws and regulations including but not limited to the US Export Administration
@@ -259,7 +263,7 @@ without obtaining prior written authorization from the applicable competent
259government authorities to the extent required by those laws. 263government authorities to the extent required by those laws.
26012.2 Prohibition of Export to Russian Federation 26412.2 Prohibition of Export to Russian Federation
261 265
262(a) With respect to activitit that falls under the scope of Article 12g, 266(a) With respect to activity that falls under the scope of Article 12g,
26312ga of Council Regulation (EU) No 833/2014, or Council Regulation (EU) No 26712ga of Council Regulation (EU) No 833/2014, or Council Regulation (EU) No
264765/2006 (as the case requires), you (a) will not sell, export or re-export, 268765/2006 (as the case requires), you (a) will not sell, export or re-export,
265directly or indirectly any item, and (b) will not sell, license or sublicense 269directly or indirectly any item, and (b) will not sell, license or sublicense
@@ -572,7 +576,7 @@ provide Fraunhofer your name and contact information.
572 576
573Future Technology Devices International Ltd.: Future Technology Devices 577Future Technology Devices International Ltd.: Future Technology Devices
574International software must be used consistent with the terms found here: 578International software must be used consistent with the terms found here:
575http://www.ftdichip.com/Drivers/FTDriverLicenceTerms.htm 579https://ftdichip.com/driver-licence-terms-details/
576 580
577Global Locate (Broadcom Corporation): Use of Global Locate, Inc. software is 581Global Locate (Broadcom Corporation): Use of Global Locate, Inc. software is
578limited to evaluation and demonstration only. Permitted distributions must be 582limited to evaluation and demonstration only. Permitted distributions must be
@@ -633,10 +637,17 @@ Licensed Software includes proprietary software of MindTree in source code
633format, Licensee may make modifications and create derivative works only to the 637format, Licensee may make modifications and create derivative works only to the
634extent necessary for debugging of the Licensed Software. 638extent necessary for debugging of the Licensed Software.
635 639
636MM SOLUTIONS AD: Use of MM SOLUTIONS AEC (Auto Exposure Control) and AWB (Auto 640MM SOLUTIONS EAD: Use of the following MM SOLUTIONS software is limited to use
637White Balance) software is limited to demonstration, testing, and evaluation 641in conjuncture with NXP Products that have the Imaging Subsystem Processor
638only. In no event may Licensee distribute or sublicense the MM SOLUTIONS 642(ISP) enabled (fusing configuration), as indicated in the applicable data
639software. Further rights must be obtained directly from MM SOLUTIONS. 643sheet: (i) MMS Tuning Tool; (ii) Camera Development Kit (uGuzzi); (iii) and
644additional Camera Software. For the purposes of this Agreement, “Camera
645Software” means: (a) AEC (Auto Exposure Control); (b) AWB (Auto White
646Balance), (c) Auto Focus; (d) Wide Dynamic Range; (e) LED Flicker Mitigation;
647and (f) Multi-Camera Harmonization. In no event may Licensee distribute or
648sublicense the MM SOLUTIONS software, unless otherwise licensed to do so by
649issuance of the distribution rights under Section 2.3 of the Agreement. Any
650further rights must be obtained directly from MM SOLUTIONS directly.
640 651
641MPEG LA: Use of MPEG LA audio or video codec technology is limited to 652MPEG LA: Use of MPEG LA audio or video codec technology is limited to
642evaluation and demonstration only. Permitted distributions must be similarly 653evaluation and demonstration only. Permitted distributions must be similarly
@@ -647,10 +658,19 @@ Licensee under any circumstance, even by a signed written amendment to this
647Agreement. 658Agreement.
648 659
649NXP Voice Software: VoiceSpot, VoiceSeeker (including AEC), VIT Speech to 660NXP Voice Software: VoiceSpot, VoiceSeeker (including AEC), VIT Speech to
650Intent, and Conversa may be used for evaluation or demonstration purposes only. 661Intent, and Conversa are subject to the terms of Section 2.2 only. Any
651Any commercial distribution rights are subject to a separate royalty agreement 662commercial distribution rights are subject to a separate royalty agreement
652obtained from NXP. 663obtained from NXP.
653 664
665Together with the voice communication algorithm Conversa Licensee may get a
666tuning tool from DevExpress and/or Lightning Chart in form of certain libraries
667noted as ([name].dll) (“Tool”). Conversa as well as the Tool may only be
668used by Licensee internally during testing, evaluation or product development
669solely for tuning purposes of Licensee’s products in connection with
670Conversa. Any use of Conversa or the Tool outside the scope of this license is
671strictly prohibited, distributing the Libraries in any form. Licensee may use
672Conversa in connection with its products only following the execution of a
673separate royalty agreement with NXP.
654NXP Wireless Charging Library: License to the Software is limited to use in 674NXP Wireless Charging Library: License to the Software is limited to use in
655inductive coupling or wireless charging applications 675inductive coupling or wireless charging applications
656 676
diff --git a/LICENSE b/LICENSE
index b69284ffb..8d4e35462 100644
--- a/LICENSE
+++ b/LICENSE
@@ -32,8 +32,8 @@ This file lists all licenses used by recipes in the meta-freescale layer.
32./recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.36.0.bb: LICENSE = "Proprietary" 32./recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.36.0.bb: LICENSE = "Proprietary"
33./recipes-bsp/imx-vpu/imx-vpu_5.4.39.3.bb: LICENSE = "Proprietary" 33./recipes-bsp/imx-vpu/imx-vpu_5.4.39.3.bb: LICENSE = "Proprietary"
34./recipes-bsp/inphi/inphi_git.bb: LICENSE = "NXP-Binary-EULA" 34./recipes-bsp/inphi/inphi_git.bb: LICENSE = "NXP-Binary-EULA"
35./recipes-bsp/isp-imx/basler-camera_4.2.2.25.1.bb: LICENSE = "Proprietary" 35./recipes-bsp/isp-imx/basler-camera_4.2.2.25.2.bb: LICENSE = "Proprietary"
36./recipes-bsp/isp-imx/isp-imx_4.2.2.25.1.bb: LICENSE = "Proprietary" 36./recipes-bsp/isp-imx/isp-imx_4.2.2.25.2.bb: LICENSE = "Proprietary"
37./recipes-bsp/libimxdmabuffer/libimxdmabuffer_1.1.3.bb: LICENSE = "LGPL-2.1-only" 37./recipes-bsp/libimxdmabuffer/libimxdmabuffer_1.1.3.bb: LICENSE = "LGPL-2.1-only"
38./recipes-bsp/ls2-phy/ls2-phy_git.bb: LICENSE = "NXP-Binary-EULA" 38./recipes-bsp/ls2-phy/ls2-phy_git.bb: LICENSE = "NXP-Binary-EULA"
39./recipes-bsp/mc-utils/mc-utils_git.bb: LICENSE = "BSD-3-Clause" 39./recipes-bsp/mc-utils/mc-utils_git.bb: LICENSE = "BSD-3-Clause"
diff --git a/classes/fsl-eula-unpack.bbclass b/classes/fsl-eula-unpack.bbclass
index 54b25b3ac..f8861cd14 100644
--- a/classes/fsl-eula-unpack.bbclass
+++ b/classes/fsl-eula-unpack.bbclass
@@ -62,6 +62,8 @@ FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V53 = "44a8052c384584ba09077e85
62FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V56 = "10c0fda810c63b052409b15a5445671a" 62FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V56 = "10c0fda810c63b052409b15a5445671a"
63FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V57 = "ca53281cc0caa7e320d4945a896fb837" 63FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V57 = "ca53281cc0caa7e320d4945a896fb837"
64FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V58 = "c0fb372b5d7f12181de23ef480f225f3" 64FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V58 = "c0fb372b5d7f12181de23ef480f225f3"
65FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V60 = "cf2070b16b9d4acf60a98e8cbc32a25a"
66FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V62 = "a93b654673e1bc8398ed1f30e0813359"
65 67
66FSL_EULA_FILE_MD5SUMS = " \ 68FSL_EULA_FILE_MD5SUMS = " \
67 ${FSL_EULA_FILE_MD5SUM_LA_OPT_BASE_LICENSE_V8} \ 69 ${FSL_EULA_FILE_MD5SUM_LA_OPT_BASE_LICENSE_V8} \
@@ -120,11 +122,13 @@ FSL_EULA_FILE_MD5SUMS = " \
120 ${FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V56} \ 122 ${FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V56} \
121 ${FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V57} \ 123 ${FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V57} \
122 ${FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V58} \ 124 ${FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V58} \
125 ${FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V60} \
126 ${FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V62} \
123" 127"
124 128
125# The checksum for the EULA in the layer 129# The checksum for the EULA in the layer
126FSL_EULA_FILE_MD5SUM ?= \ 130FSL_EULA_FILE_MD5SUM ?= \
127 "${FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V58}" 131 "${FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V62}"
128 132
129LIC_FILES_CHKSUM_LAYER ?= "file://${FSL_EULA_FILE};md5=${FSL_EULA_FILE_MD5SUM}" 133LIC_FILES_CHKSUM_LAYER ?= "file://${FSL_EULA_FILE};md5=${FSL_EULA_FILE_MD5SUM}"
130LIC_FILES_CHKSUM_LAYER[vardepsexclude] += "FSL_EULA_FILE" 134LIC_FILES_CHKSUM_LAYER[vardepsexclude] += "FSL_EULA_FILE"
diff --git a/recipes-bsp/isp-imx/basler-camera_4.2.2.25.1.bb b/recipes-bsp/isp-imx/basler-camera_4.2.2.25.2.bb
index aebb28bb7..012e1f2b7 100644
--- a/recipes-bsp/isp-imx/basler-camera_4.2.2.25.1.bb
+++ b/recipes-bsp/isp-imx/basler-camera_4.2.2.25.2.bb
@@ -2,15 +2,15 @@
2 2
3DESCRIPTION = "Basler camera binary drivers" 3DESCRIPTION = "Basler camera binary drivers"
4LICENSE = "Proprietary" 4LICENSE = "Proprietary"
5LIC_FILES_CHKSUM = "file://COPYING;md5=c0fb372b5d7f12181de23ef480f225f3" 5LIC_FILES_CHKSUM = "file://COPYING;md5=a93b654673e1bc8398ed1f30e0813359"
6 6
7IMX_SRCREV_ABBREV = "d1f506a" 7IMX_SRCREV_ABBREV = "dd86758"
8 8
9inherit fsl-eula-unpack 9inherit fsl-eula-unpack
10 10
11SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" 11SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true"
12 12
13SRC_URI[sha256sum] = "49d1b3691d18e2ba5f43a6e2c59ac16767b6e077a118cafec7f51293d6bf30f3" 13SRC_URI[sha256sum] = "aa86adeb0c53c3306f7e1c004ffa78ebb7db3e9136c78759e4029b4b5e1b1a64"
14 14
15S = "${UNPACKDIR}/${BPN}-${PV}-${IMX_SRCREV_ABBREV}" 15S = "${UNPACKDIR}/${BPN}-${PV}-${IMX_SRCREV_ABBREV}"
16 16
diff --git a/recipes-bsp/isp-imx/isp-imx/0001-isp-imx-start_isp-don-t-report-error-if-no-camera-is.patch b/recipes-bsp/isp-imx/isp-imx/0001-isp-imx-start_isp-don-t-report-error-if-no-camera-is.patch
index 930119261..617abde6f 100644
--- a/recipes-bsp/isp-imx/isp-imx/0001-isp-imx-start_isp-don-t-report-error-if-no-camera-is.patch
+++ b/recipes-bsp/isp-imx/isp-imx/0001-isp-imx-start_isp-don-t-report-error-if-no-camera-is.patch
@@ -1,7 +1,7 @@
1From 3443f18dc9ab8950071d6299c7a5da86055f3318 Mon Sep 17 00:00:00 2001 1From d24c74528fefd1316f1633f0a7f1a5acea40454f Mon Sep 17 00:00:00 2001
2From: Max Krummenacher <max.krummenacher@toradex.com> 2From: Max Krummenacher <max.krummenacher@toradex.com>
3Date: Thu, 19 Jan 2023 15:51:24 +0000 3Date: Thu, 19 Jan 2023 15:51:24 +0000
4Subject: [PATCH] isp-imx: start_isp: don't report error if no camera is 4Subject: [PATCH 1/5] isp-imx: start_isp: don't report error if no camera is
5 configured 5 configured
6 6
7The script currently returns '6' when no known camera is configured 7The script currently returns '6' when no known camera is configured
@@ -17,10 +17,10 @@ Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
17 1 file changed, 1 insertion(+), 1 deletion(-) 17 1 file changed, 1 insertion(+), 1 deletion(-)
18 18
19diff --git a/imx/start_isp.sh b/imx/start_isp.sh 19diff --git a/imx/start_isp.sh b/imx/start_isp.sh
20index 95cbc19..d603f8f 100755 20index d544b4ca2a57..22e7783437d6 100755
21--- a/imx/start_isp.sh 21--- a/imx/start_isp.sh
22+++ b/imx/start_isp.sh 22+++ b/imx/start_isp.sh
23@@ -74,5 +74,5 @@ elif [ $NR_DEVICE_TREE_OS08A20 -eq 2 ]; then 23@@ -72,5 +72,5 @@ elif [ $NR_DEVICE_TREE_OS08A20 -eq 2 ]; then
24 else 24 else
25 # no device tree found exit with code no device or address 25 # no device tree found exit with code no device or address
26 echo "No device tree found for Basler camera or os08a20, check dtb file!" >&2 26 echo "No device tree found for Basler camera or os08a20, check dtb file!" >&2
@@ -28,4 +28,5 @@ index 95cbc19..d603f8f 100755
28+ exit 0 28+ exit 0
29 fi 29 fi
30-- 30--
312.35.3 312.42.0
32
diff --git a/recipes-bsp/isp-imx/isp-imx/0002-appshell-cmake-bump-min-version-to-3.5.patch b/recipes-bsp/isp-imx/isp-imx/0002-appshell-cmake-bump-min-version-to-3.5.patch
new file mode 100644
index 000000000..38b3b6b02
--- /dev/null
+++ b/recipes-bsp/isp-imx/isp-imx/0002-appshell-cmake-bump-min-version-to-3.5.patch
@@ -0,0 +1,134 @@
1From 5b69b60bd4d0d5ed1474c6457561d48cdbabc778 Mon Sep 17 00:00:00 2001
2From: Max Krummenacher <max.krummenacher@toradex.com>
3Date: Fri, 25 Jul 2025 09:19:58 +0000
4Subject: [PATCH 2/5] appshell: cmake: bump min version to 3.5
5
6CMake 4 no longer supports min version set to before 3.5
7
8| CMake Error at CMakeLists.txt:28 (cmake_minimum_required):
9| Compatibility with CMake < 3.5 has been removed from CMake.
10
11Upstream-Status: Pending
12Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
13---
14 appshell/CMakeLists.txt | 2 +-
15 appshell/display/CMakeLists.txt | 2 +-
16 appshell/display/wayland-client/CMakeLists.txt | 2 +-
17 appshell/v4l_drm_test/CMakeLists.txt | 2 +-
18 appshell/vvext/CMakeLists.txt | 2 +-
19 appshell/yuv/CMakeLists.txt | 2 +-
20 units/CMakeLists.txt | 2 +-
21 units/isi/CMakeLists.txt | 2 +-
22 units/isi/drv/OS08a20/CMakeLists.txt | 2 +-
23 units/isi/drv/OS08a20/calib/CMakeLists.txt | 2 +-
24 10 files changed, 10 insertions(+), 10 deletions(-)
25
26diff --git a/appshell/CMakeLists.txt b/appshell/CMakeLists.txt
27index 22092ce975b5..cf14e254c812 100644
28--- a/appshell/CMakeLists.txt
29+++ b/appshell/CMakeLists.txt
30@@ -25,7 +25,7 @@
31 # *****************************************************************************/
32
33
34-cmake_minimum_required(VERSION 3.1.0)
35+cmake_minimum_required(VERSION 3.5.0)
36 project(ISP_APP_SHELL)
37
38 if(DEFINED QTLESS)
39diff --git a/appshell/display/CMakeLists.txt b/appshell/display/CMakeLists.txt
40index 491f086adf55..458a46b165b4 100755
41--- a/appshell/display/CMakeLists.txt
42+++ b/appshell/display/CMakeLists.txt
43@@ -1,4 +1,4 @@
44-cmake_minimum_required(VERSION 2.6)
45+cmake_minimum_required(VERSION 3.6)
46
47 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -fPIC")
48
49diff --git a/appshell/display/wayland-client/CMakeLists.txt b/appshell/display/wayland-client/CMakeLists.txt
50index 78247528b0e4..0639d79d8346 100644
51--- a/appshell/display/wayland-client/CMakeLists.txt
52+++ b/appshell/display/wayland-client/CMakeLists.txt
53@@ -1,4 +1,4 @@
54-cmake_minimum_required(VERSION 2.6)
55+cmake_minimum_required(VERSION 3.6)
56
57 set(WAYLAND_XML_PRIFIX ${SDKTARGETSYSROOT}/usr/share/wayland-protocols)
58 set(GEN_INSTALL_PREFIX ${PROJECT_SOURCE_DIR}/display/wayland-client)
59diff --git a/appshell/v4l_drm_test/CMakeLists.txt b/appshell/v4l_drm_test/CMakeLists.txt
60index cf4685c84204..309e5d465e99 100755
61--- a/appshell/v4l_drm_test/CMakeLists.txt
62+++ b/appshell/v4l_drm_test/CMakeLists.txt
63@@ -1,4 +1,4 @@
64-cmake_minimum_required(VERSION 2.6)
65+cmake_minimum_required(VERSION 3.5)
66
67 project(ISP_V4L_DRM_TEST)
68 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
69diff --git a/appshell/vvext/CMakeLists.txt b/appshell/vvext/CMakeLists.txt
70index a5d6c12929fa..63c1eb5f7073 100755
71--- a/appshell/vvext/CMakeLists.txt
72+++ b/appshell/vvext/CMakeLists.txt
73@@ -1,4 +1,4 @@
74-cmake_minimum_required(VERSION 2.6)
75+cmake_minimum_required(VERSION 3.5)
76
77 project(ISP_V4L_DRM_TEST)
78 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
79diff --git a/appshell/yuv/CMakeLists.txt b/appshell/yuv/CMakeLists.txt
80index 131766fcb5d4..0f3591918e08 100755
81--- a/appshell/yuv/CMakeLists.txt
82+++ b/appshell/yuv/CMakeLists.txt
83@@ -1,4 +1,4 @@
84-cmake_minimum_required(VERSION 2.6)
85+cmake_minimum_required(VERSION 3.5)
86 set (CMAKE_CXX_FLAGS_DEBUG "")
87 set (CMAKE_C_FLAGS_DEBUG "")
88
89diff --git a/units/CMakeLists.txt b/units/CMakeLists.txt
90index 37fa65ed4ea8..10abbef1c16c 100755
91--- a/units/CMakeLists.txt
92+++ b/units/CMakeLists.txt
93@@ -24,7 +24,7 @@
94 # *
95 # *****************************************************************************/
96
97-cmake_minimum_required(VERSION 3.1.0)
98+cmake_minimum_required(VERSION 3.5.0)
99 project(ISPcore_SW_STACK)
100 if( NOT DEFINED APPSHELL_TOP_COMPILE)
101
102diff --git a/units/isi/CMakeLists.txt b/units/isi/CMakeLists.txt
103index a91699b4a1a5..ea01aa7d9424 100755
104--- a/units/isi/CMakeLists.txt
105+++ b/units/isi/CMakeLists.txt
106@@ -1,4 +1,4 @@
107-cmake_minimum_required(VERSION 2.6)
108+cmake_minimum_required(VERSION 3.5)
109
110 # define module name
111 set (module isi)
112diff --git a/units/isi/drv/OS08a20/CMakeLists.txt b/units/isi/drv/OS08a20/CMakeLists.txt
113index d27dc97f7945..12c6e9ef993a 100755
114--- a/units/isi/drv/OS08a20/CMakeLists.txt
115+++ b/units/isi/drv/OS08a20/CMakeLists.txt
116@@ -1,4 +1,4 @@
117-cmake_minimum_required(VERSION 2.6)
118+cmake_minimum_required(VERSION 3.5)
119
120 # define module name & interface version
121 set (module os08a20)
122diff --git a/units/isi/drv/OS08a20/calib/CMakeLists.txt b/units/isi/drv/OS08a20/calib/CMakeLists.txt
123index b44b08248135..18119086b967 100755
124--- a/units/isi/drv/OS08a20/calib/CMakeLists.txt
125+++ b/units/isi/drv/OS08a20/calib/CMakeLists.txt
126@@ -1,4 +1,4 @@
127-cmake_minimum_required(VERSION 2.6)
128+cmake_minimum_required(VERSION 3.5)
129
130 # use upper level module name
131
132--
1332.42.0
134
diff --git a/recipes-bsp/isp-imx/isp-imx/0003-appshell-cmake-drop-deprecated-use-of-target_link_li.patch b/recipes-bsp/isp-imx/isp-imx/0003-appshell-cmake-drop-deprecated-use-of-target_link_li.patch
new file mode 100644
index 000000000..f11deb758
--- /dev/null
+++ b/recipes-bsp/isp-imx/isp-imx/0003-appshell-cmake-drop-deprecated-use-of-target_link_li.patch
@@ -0,0 +1,37 @@
1From db07010535d47d7d7eaf3865d97dcec045e19930 Mon Sep 17 00:00:00 2001
2From: Max Krummenacher <max.krummenacher@toradex.com>
3Date: Fri, 25 Jul 2025 09:57:22 +0000
4Subject: [PATCH 3/5] appshell: cmake: drop deprecated use of
5 target_link_libraries
6
7Works around:
8
9| CMake Error at display/CMakeLists.txt:48 (target_link_libraries):
10| Cannot specify link libraries for target "wayland-client" which is not
11| built by this project.
12
13caused by CMake 4 deprecating https://cmake.org/cmake/help/v3.5/policy/CMP0016.html
14
15CMP0016 states that the command is silently ignored, thus drop it.
16
17Upstream-Status: Pending
18Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
19---
20 appshell/display/CMakeLists.txt | 1 -
21 1 file changed, 1 deletion(-)
22
23diff --git a/appshell/display/CMakeLists.txt b/appshell/display/CMakeLists.txt
24index 458a46b165b4..160755312368 100755
25--- a/appshell/display/CMakeLists.txt
26+++ b/appshell/display/CMakeLists.txt
27@@ -43,7 +43,6 @@ if (WAYLAND_SUPPORT)
28 file(GLOB pub_headers *.h)
29 file(GLOB libsources *.cpp ./wayland-client/*.c)
30 include_directories(./wayland-client)
31- target_link_libraries(wayland-client)
32 else (WAYLAND_SUPPORT)
33 file(GLOB pub_headers *.h)
34 file(GLOB libsources *.cpp)
35--
362.42.0
37
diff --git a/recipes-bsp/isp-imx/isp-imx/0004-units-targets.cmake-fix-check-if-a-target-exists.patch b/recipes-bsp/isp-imx/isp-imx/0004-units-targets.cmake-fix-check-if-a-target-exists.patch
new file mode 100644
index 000000000..087f24090
--- /dev/null
+++ b/recipes-bsp/isp-imx/isp-imx/0004-units-targets.cmake-fix-check-if-a-target-exists.patch
@@ -0,0 +1,51 @@
1From d7e06f57c067e50d86369577b8dc3bccdde6fd40 Mon Sep 17 00:00:00 2001
2From: Max Krummenacher <max.krummenacher@toradex.com>
3Date: Fri, 25 Jul 2025 10:44:40 +0000
4Subject: [PATCH 4/5] units/targets.cmake: fix check if a target exists
5
6| CMake Error at units/targets.cmake:35 (get_target_property):
7| get_target_property() called with non-existent target "lib".
8
9Upstream-Status: Pending
10Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
11---
12 units/targets.cmake | 9 +++------
13 1 file changed, 3 insertions(+), 6 deletions(-)
14
15diff --git a/units/targets.cmake b/units/targets.cmake
16index 663a024d9129..d78dbf8b8a45 100755
17--- a/units/targets.cmake
18+++ b/units/targets.cmake
19@@ -32,8 +32,7 @@ add_dependencies(create_alldir ${module}_create_dir)
20 # Settings for target LIB
21 ###############################################################################
22 # check if lib target already exists and create it, this is to assure that only one target called lib will be generated
23-get_target_property(LIB_TARGET lib TYPE)
24-if(NOT LIB_TARGET)
25+if(NOT TARGET lib)
26 add_custom_target(lib)
27 endif()
28 # the library itself is a dependency for the target lib
29@@ -83,8 +82,7 @@ if(HAVE_PUBLIC_HEADERS)
30 endif()
31
32 # check if lib_install target already exists and create it
33-get_target_property(LIB_INSTALL_TARGET lib_install TYPE)
34-if(NOT LIB_INSTALL_TARGET)
35+if(NOT TARGET lib_install)
36 add_custom_target(lib_install)
37 endif()
38
39@@ -104,8 +102,7 @@ add_custom_target(${module}_copy_header
40 COMMENT "Copying Headers of ${module}")
41
42 # check if copy_header target already exists and create it
43-get_target_property(COPY_HEADER_TARGET copy_header TYPE)
44-if(NOT COPY_HEADER_TARGET)
45+if(NOT TARGET copy_header)
46 add_custom_target(copy_header)
47 endif()
48 # if copy_header is selected, modulename_copy_header target must be created
49--
502.42.0
51
diff --git a/recipes-bsp/isp-imx/isp-imx/0005-units-cmake-fix-use-of-add_dependencies.patch b/recipes-bsp/isp-imx/isp-imx/0005-units-cmake-fix-use-of-add_dependencies.patch
new file mode 100644
index 000000000..f4b44ff47
--- /dev/null
+++ b/recipes-bsp/isp-imx/isp-imx/0005-units-cmake-fix-use-of-add_dependencies.patch
@@ -0,0 +1,36 @@
1From 72d6160d1efc9df8bdee4e3dc9da67560f2206b4 Mon Sep 17 00:00:00 2001
2From: Max Krummenacher <max.krummenacher@toradex.com>
3Date: Fri, 25 Jul 2025 10:52:52 +0000
4Subject: [PATCH 5/5] units: cmake: fix use of add_dependencies
5
6With CMake 4 we get during configure:
7
8| CMake Error at isp-imx/4.2.2.25.2/sources/isp-imx-4.2.2.25.2-3cac1fb:
9| The dependency target "drv/OS08a20" of target "copy_shell_libs_isi" does
10| not exist.
11
12Comment out that the add_dependencies. The driver for OS08a20 is still
13part of the built packages.
14
15Upstream-Status: Pending
16Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
17---
18 units/isi/CMakeLists.txt | 2 +-
19 1 file changed, 1 insertion(+), 1 deletion(-)
20
21diff --git a/units/isi/CMakeLists.txt b/units/isi/CMakeLists.txt
22index ea01aa7d9424..2f5c3d803e67 100755
23--- a/units/isi/CMakeLists.txt
24+++ b/units/isi/CMakeLists.txt
25@@ -93,7 +93,7 @@ add_custom_target(copy_shell_libs_${module} ALL
26 COMMAND ${CMAKE_COMMAND} -E copy ${UNITS_TOP_DIRECTORY}/isi/drv/*/*.cfg ${LIB_ROOT}/${CMAKE_BUILD_TYPE}/bin/
27 COMMAND ${CMAKE_COMMAND} -E copy ${UNITS_TOP_DIRECTORY}/isi/drv/*.cfg ${LIB_ROOT}/${CMAKE_BUILD_TYPE}/bin/
28 )
29-add_dependencies(copy_shell_libs_${module} drv/OS08a20)
30+#add_dependencies(copy_shell_libs_${module} os08a20_shared)
31
32 endif (GENERATE_PARTITION_BUILD)
33
34--
352.42.0
36
diff --git a/recipes-bsp/isp-imx/isp-imx_4.2.2.25.1.bb b/recipes-bsp/isp-imx/isp-imx_4.2.2.25.2.bb
index e8219de58..445822528 100644
--- a/recipes-bsp/isp-imx/isp-imx_4.2.2.25.1.bb
+++ b/recipes-bsp/isp-imx/isp-imx_4.2.2.25.2.bb
@@ -2,21 +2,25 @@
2 2
3DESCRIPTION = "i.MX Verisilicon Software ISP" 3DESCRIPTION = "i.MX Verisilicon Software ISP"
4LICENSE = "Proprietary" 4LICENSE = "Proprietary"
5LIC_FILES_CHKSUM = "file://COPYING;md5=c0fb372b5d7f12181de23ef480f225f3" 5LIC_FILES_CHKSUM = "file://COPYING;md5=a93b654673e1bc8398ed1f30e0813359"
6DEPENDS = "boost libdrm virtual/libg2d libtinyxml2 jsoncpp patchelf-native" 6DEPENDS = "boost libdrm virtual/libg2d libtinyxml2 jsoncpp patchelf-native"
7 7
8SRC_URI = " \ 8SRC_URI = " \
9 ${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true \ 9 ${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true \
10 ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '${ISP_SYSTEMD_PATCH}', '', d)} \ 10 ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '${ISP_SYSTEMD_PATCH}', '', d)} \
11 file://0002-appshell-cmake-bump-min-version-to-3.5.patch \
12 file://0003-appshell-cmake-drop-deprecated-use-of-target_link_li.patch \
13 file://0004-units-targets.cmake-fix-check-if-a-target-exists.patch \
14 file://0005-units-cmake-fix-use-of-add_dependencies.patch \
11" 15"
12ISP_SYSTEMD_PATCH = "file://0001-isp-imx-start_isp-don-t-report-error-if-no-camera-is.patch" 16ISP_SYSTEMD_PATCH = "file://0001-isp-imx-start_isp-don-t-report-error-if-no-camera-is.patch"
13 17
14IMX_SRCREV_ABBREV = "327f21d" 18IMX_SRCREV_ABBREV = "3cac1fb"
15S = "${UNPACKDIR}/${BP}-${IMX_SRCREV_ABBREV}" 19S = "${UNPACKDIR}/${BP}-${IMX_SRCREV_ABBREV}"
16 20
17SRC_URI[sha256sum] = "f57c6fe1c2dd1c8e5991a625d0b3a1dbfdfe6d39a1a116a904d543faa0f4f6f0" 21SRC_URI[sha256sum] = "8fa5094da6438505287f4dcc8033dad3057ab81bf98c858884f7c3a2e521b252"
18 22
19inherit fsl-eula-unpack cmake systemd use-imx-headers 23inherit fsl-eula-unpack cmake pkgconfig systemd use-imx-headers
20 24
21PACKAGECONFIG = "" 25PACKAGECONFIG = ""
22# Note: building with tuningext fails with boost 1.87. 26# Note: building with tuningext fails with boost 1.87.
@@ -39,7 +43,6 @@ EXTRA_OECMAKE += " \
39 -DCMAKE_BUILD_TYPE=release \ 43 -DCMAKE_BUILD_TYPE=release \
40 -DISP_VERSION=ISP8000NANO_V1802 \ 44 -DISP_VERSION=ISP8000NANO_V1802 \
41 -DPLATFORM=ARM64 \ 45 -DPLATFORM=ARM64 \
42 -DTUNINGEXT=1 \
43 -DQTLESS=1 \ 46 -DQTLESS=1 \
44 -DFULL_SRC_COMPILE=1 \ 47 -DFULL_SRC_COMPILE=1 \
45 -DWITH_DRM=1 \ 48 -DWITH_DRM=1 \
@@ -51,7 +54,7 @@ EXTRA_OECMAKE += " \
51 -Wno-dev \ 54 -Wno-dev \
52" 55"
53 56
54do_configure:prepend () { 57do_configure_disable:prepend () {
55 # FIXME: should be rebuild. 58 # FIXME: should be rebuild.
56 patchelf --replace-needed libjsoncpp.so.25 libjsoncpp.so.26 ${S}/mediacontrol/install/bin/isp_media_server 59 patchelf --replace-needed libjsoncpp.so.25 libjsoncpp.so.26 ${S}/mediacontrol/install/bin/isp_media_server
57 patchelf --replace-needed libjsoncpp.so.25 libjsoncpp.so.26 ${S}/mediacontrol/install/lib/libmedia_server.so 60 patchelf --replace-needed libjsoncpp.so.25 libjsoncpp.so.26 ${S}/mediacontrol/install/lib/libmedia_server.so
@@ -62,9 +65,6 @@ do_configure:prepend () {
62} 65}
63 66
64do_install() { 67do_install() {
65 # FIXME: provided by the basler-camera package, do not install them here additionally
66 rm -f ${S}/dewarp/dewarp_config//daA3840_30mc*.json
67
68 # The Makefile unconditionally installs tuningext even if it is not built 68 # The Makefile unconditionally installs tuningext even if it is not built
69 if ${@bb.utils.contains('PACKAGECONFIG','tuningext','false','true',d)}; then 69 if ${@bb.utils.contains('PACKAGECONFIG','tuningext','false','true',d)}; then
70 touch ${B}/generated/release/bin/tuningext 70 touch ${B}/generated/release/bin/tuningext