summaryrefslogtreecommitdiffstats
path: root/recipes-bsp
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-bsp')
-rw-r--r--recipes-bsp/alsa-state/alsa-state.bbappend1
-rwxr-xr-xrecipes-bsp/alsa-state/alsa-state/imx-generic-bsp/asound.state1461
-rw-r--r--recipes-bsp/alsa-state/alsa-state/imx-mainline-bsp/asound.conf4
-rw-r--r--recipes-bsp/alsa-state/alsa-state/imx-nxp-bsp/asound.conf4
l---------recipes-bsp/alsa-state/alsa-state/qoriq-generic-bsp1
l---------recipes-bsp/alsa-state/alsa-state/qoriq-mainline-bsp1
l---------recipes-bsp/alsa-state/alsa-state/qoriq-nxp-bsp1
-rw-r--r--recipes-bsp/atf/qoriq-atf-2.6.inc3
-rw-r--r--recipes-bsp/atf/qoriq-atf_2.6.bb4
-rw-r--r--recipes-bsp/boot-format/boot-format_git.bb1
-rw-r--r--recipes-bsp/ddr-phy/ddr-phy_git.bb2
-rw-r--r--recipes-bsp/dp-firmware-cadence/dp-firmware-cadence_22.04.bb3
-rw-r--r--recipes-bsp/firmware-imx/firmware-ele-imx_0.1.1.bb40
-rw-r--r--recipes-bsp/firmware-imx/firmware-ele-imx_2.0.1.bb42
-rw-r--r--recipes-bsp/firmware-imx/firmware-imx-8.23.inc17
-rw-r--r--recipes-bsp/firmware-imx/firmware-imx-8.27.inc16
-rw-r--r--recipes-bsp/firmware-imx/firmware-imx_8.27.bb (renamed from recipes-bsp/firmware-imx/firmware-imx_8.23.bb)14
-rw-r--r--recipes-bsp/firmware-imx/firmware-nxp-wifi_1.1.bb (renamed from recipes-bsp/firmware-imx/firmware-nxp-wifi_1.0.bb)58
-rw-r--r--recipes-bsp/firmware-imx/firmware-sof-imx_2.3.0.bb3
-rw-r--r--recipes-bsp/firmware-imx/imx-boot-firmware-files_8.27.bb (renamed from recipes-bsp/firmware-imx/imx-boot-firmware-files_8.23.bb)2
-rw-r--r--recipes-bsp/firmware-upower/firmware-upower_1.3.1.bb5
-rw-r--r--recipes-bsp/fsl-tlu/fsl-tlu_1.0.0.bb2
-rw-r--r--recipes-bsp/imx-atf/imx-atf/0001-imx93-trdc-Fix-header-guard.patch35
-rw-r--r--recipes-bsp/imx-atf/imx-atf_2.10.bb (renamed from recipes-bsp/imx-atf/imx-atf_2.8.bb)17
-rw-r--r--recipes-bsp/imx-kobs/imx-kobs_git.bb1
-rw-r--r--recipes-bsp/imx-lib/imx-lib/0001-Fix-gcc-15-errors.patch54
-rw-r--r--recipes-bsp/imx-lib/imx-lib_git.bb9
-rw-r--r--recipes-bsp/imx-mkimage/imx-boot_1.0.bb134
-rw-r--r--recipes-bsp/imx-mkimage/imx-mkimage_git.inc8
-rw-r--r--recipes-bsp/imx-sc-firmware/imx-sc-firmware_1.18.0.bb (renamed from recipes-bsp/imx-sc-firmware/imx-sc-firmware_1.15.0.bb)18
-rw-r--r--recipes-bsp/imx-seco/imx-seco-libs_git.bb8
-rw-r--r--recipes-bsp/imx-seco/imx-seco_5.9.4.1.bb (renamed from recipes-bsp/imx-seco/imx-seco_5.9.0.bb)11
-rw-r--r--recipes-bsp/imx-secure-enclave/imx-secure-enclave_git.bb29
-rw-r--r--recipes-bsp/imx-test/imx-test_git.bb13
-rw-r--r--recipes-bsp/imx-uuc/imx-uuc_git.bb8
-rw-r--r--recipes-bsp/imx-vpu-hantro-vc/imx-vpu-hantro-vc/0001-base_type.h-make-header-compatible-with-c23.patch39
-rw-r--r--recipes-bsp/imx-vpu-hantro-vc/imx-vpu-hantro-vc_1.10.1.bb (renamed from recipes-bsp/imx-vpu-hantro-vc/imx-vpu-hantro-vc_1.9.0.bb)13
-rw-r--r--recipes-bsp/imx-vpu-hantro/imx-vpu-hantro-daemon_1.5.0.bb (renamed from recipes-bsp/imx-vpu-hantro/imx-vpu-hantro-daemon_1.1.6.bb)9
-rw-r--r--recipes-bsp/imx-vpu-hantro/imx-vpu-hantro/0001-basetype.h-make-header-compatible-with-c23.patch38
-rw-r--r--recipes-bsp/imx-vpu-hantro/imx-vpu-hantro/0001-test-md5-convert-to-ansi-c.patch90
-rw-r--r--recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.28.0.bb36
-rw-r--r--recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.36.0.bb49
-rw-r--r--recipes-bsp/imx-vpu/imx-vpu_5.4.39.3.bb1
-rw-r--r--recipes-bsp/inphi/inphi_git.bb2
-rw-r--r--recipes-bsp/isp-imx/basler-camera_4.2.2.25.1.bb (renamed from recipes-bsp/isp-imx/basler-camera_4.2.2.24.0.bb)16
-rw-r--r--recipes-bsp/isp-imx/isp-imx/0001-cpp-netlib-parsers.ipp-add-missing-include.patch44
-rw-r--r--recipes-bsp/isp-imx/isp-imx_4.2.2.24.0.bb105
-rw-r--r--recipes-bsp/isp-imx/isp-imx_4.2.2.25.1.bb99
-rw-r--r--recipes-bsp/libimxdmabuffer/libimxdmabuffer_1.1.3.bb9
-rw-r--r--recipes-bsp/ls2-phy/ls2-phy_git.bb2
-rw-r--r--recipes-bsp/mc-utils/mc-utils_git.bb4
-rw-r--r--recipes-bsp/mxsldr/mxsldr_git.bb2
-rw-r--r--recipes-bsp/ppfe-firmware/ppfe-firmware_git.bb2
-rw-r--r--recipes-bsp/qe-ucode/qe-ucode_git.bb6
-rw-r--r--recipes-bsp/rcw/rcw_git.bb12
-rw-r--r--recipes-bsp/u-boot/u-boot-fslc-common_2025.01.inc (renamed from recipes-bsp/u-boot/u-boot-fslc-common_2024.04.inc)8
-rw-r--r--recipes-bsp/u-boot/u-boot-fslc-mxsboot_2025.01.bb (renamed from recipes-bsp/u-boot/u-boot-fslc-mxsboot_2024.04.bb)0
-rw-r--r--recipes-bsp/u-boot/u-boot-fslc_2025.01.bb (renamed from recipes-bsp/u-boot/u-boot-fslc_2024.04.bb)5
-rw-r--r--recipes-bsp/u-boot/u-boot-imx-common_2024.04.inc (renamed from recipes-bsp/u-boot/u-boot-imx-common_2023.04.inc)10
-rw-r--r--recipes-bsp/u-boot/u-boot-imx_2024.04.bb (renamed from recipes-bsp/u-boot/u-boot-imx_2023.04.bb)25
-rw-r--r--recipes-bsp/u-boot/u-boot-qoriq_2021.04.bb3
-rw-r--r--recipes-bsp/uefi/uefi_git.bb4
62 files changed, 2232 insertions, 431 deletions
diff --git a/recipes-bsp/alsa-state/alsa-state.bbappend b/recipes-bsp/alsa-state/alsa-state.bbappend
index b6194d76b..c31fb04be 100644
--- a/recipes-bsp/alsa-state/alsa-state.bbappend
+++ b/recipes-bsp/alsa-state/alsa-state.bbappend
@@ -2,3 +2,4 @@
2FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" 2FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
3 3
4PACKAGE_ARCH:imx-generic-bsp = "${MACHINE_ARCH}" 4PACKAGE_ARCH:imx-generic-bsp = "${MACHINE_ARCH}"
5PACKAGE_ARCH:qoriq-generic-bsp = "${MACHINE_ARCH}"
diff --git a/recipes-bsp/alsa-state/alsa-state/imx-generic-bsp/asound.state b/recipes-bsp/alsa-state/alsa-state/imx-generic-bsp/asound.state
index ace734df4..bf97f7d2f 100755
--- a/recipes-bsp/alsa-state/alsa-state/imx-generic-bsp/asound.state
+++ b/recipes-bsp/alsa-state/alsa-state/imx-generic-bsp/asound.state
@@ -1375,7 +1375,7 @@ state.wm8962audio {
1375 control.117 { 1375 control.117 {
1376 iface MIXER 1376 iface MIXER
1377 name 'INPGAR IN2R Switch' 1377 name 'INPGAR IN2R Switch'
1378 value false 1378 value true
1379 comment { 1379 comment {
1380 access 'read write' 1380 access 'read write'
1381 type BOOLEAN 1381 type BOOLEAN
@@ -1405,7 +1405,7 @@ state.wm8962audio {
1405 control.120 { 1405 control.120 {
1406 iface MIXER 1406 iface MIXER
1407 name 'INPGAL IN1L Switch' 1407 name 'INPGAL IN1L Switch'
1408 value true 1408 value false
1409 comment { 1409 comment {
1410 access 'read write' 1410 access 'read write'
1411 type BOOLEAN 1411 type BOOLEAN
@@ -1425,7 +1425,7 @@ state.wm8962audio {
1425 control.122 { 1425 control.122 {
1426 iface MIXER 1426 iface MIXER
1427 name 'INPGAL IN3L Switch' 1427 name 'INPGAL IN3L Switch'
1428 value false 1428 value true
1429 comment { 1429 comment {
1430 access 'read write' 1430 access 'read write'
1431 type BOOLEAN 1431 type BOOLEAN
@@ -9846,3 +9846,1458 @@ state.wm8960audio4 {
9846 } 9846 }
9847 } 9847 }
9848} 9848}
9849state.sofwm8962audio {
9850 control.1 {
9851 iface MIXER
9852 name 'Input Mixer Switch'
9853 value.0 true
9854 value.1 true
9855 comment {
9856 access 'read write'
9857 type BOOLEAN
9858 count 2
9859 }
9860 }
9861 control.2 {
9862 iface MIXER
9863 name 'MIXINL IN2L Volume'
9864 value 5
9865 comment {
9866 access 'read write'
9867 type INTEGER
9868 count 1
9869 range '0 - 7'
9870 dbmin -1500
9871 dbmax 600
9872 dbvalue.0 0
9873 }
9874 }
9875 control.3 {
9876 iface MIXER
9877 name 'MIXINL PGA Volume'
9878 value 0
9879 comment {
9880 access 'read write'
9881 type INTEGER
9882 count 1
9883 range '0 - 7'
9884 dbmin 0
9885 dbmax 3000
9886 dbvalue.0 0
9887 }
9888 }
9889 control.4 {
9890 iface MIXER
9891 name 'MIXINL IN3L Volume'
9892 value 5
9893 comment {
9894 access 'read write'
9895 type INTEGER
9896 count 1
9897 range '0 - 7'
9898 dbmin -1500
9899 dbmax 600
9900 dbvalue.0 0
9901 }
9902 }
9903 control.5 {
9904 iface MIXER
9905 name 'MIXINR IN2R Volume'
9906 value 5
9907 comment {
9908 access 'read write'
9909 type INTEGER
9910 count 1
9911 range '0 - 7'
9912 dbmin -1500
9913 dbmax 600
9914 dbvalue.0 0
9915 }
9916 }
9917 control.6 {
9918 iface MIXER
9919 name 'MIXINR PGA Volume'
9920 value 0
9921 comment {
9922 access 'read write'
9923 type INTEGER
9924 count 1
9925 range '0 - 7'
9926 dbmin 0
9927 dbmax 3000
9928 dbvalue.0 0
9929 }
9930 }
9931 control.7 {
9932 iface MIXER
9933 name 'MIXINR IN3R Volume'
9934 value 7
9935 comment {
9936 access 'read write'
9937 type INTEGER
9938 count 1
9939 range '0 - 7'
9940 dbmin -1500
9941 dbmax 600
9942 dbvalue.0 600
9943 }
9944 }
9945 control.8 {
9946 iface MIXER
9947 name 'Digital Capture Volume'
9948 value.0 108
9949 value.1 108
9950 comment {
9951 access 'read write'
9952 type INTEGER
9953 count 2
9954 range '0 - 127'
9955 dbmin -9999999
9956 dbmax 2325
9957 dbvalue.0 900
9958 dbvalue.1 900
9959 }
9960 }
9961 control.9 {
9962 iface MIXER
9963 name 'Capture Volume'
9964 value.0 40
9965 value.1 40
9966 comment {
9967 access 'read write'
9968 type INTEGER
9969 count 2
9970 range '0 - 63'
9971 dbmin -2325
9972 dbmax 2400
9973 dbvalue.0 675
9974 dbvalue.1 675
9975 }
9976 }
9977 control.10 {
9978 iface MIXER
9979 name 'Capture Switch'
9980 value.0 true
9981 value.1 true
9982 comment {
9983 access 'read write'
9984 type BOOLEAN
9985 count 2
9986 }
9987 }
9988 control.11 {
9989 iface MIXER
9990 name 'Capture ZC Switch'
9991 value.0 true
9992 value.1 true
9993 comment {
9994 access 'read write'
9995 type BOOLEAN
9996 count 2
9997 }
9998 }
9999 control.12 {
10000 iface MIXER
10001 name 'Capture HPF Switch'
10002 value true
10003 comment {
10004 access 'read write'
10005 type BOOLEAN
10006 count 1
10007 }
10008 }
10009 control.13 {
10010 iface MIXER
10011 name 'Capture HPF Mode'
10012 value Hi-fi
10013 comment {
10014 access 'read write'
10015 type ENUMERATED
10016 count 1
10017 item.0 Hi-fi
10018 item.1 Application
10019 }
10020 }
10021 control.14 {
10022 iface MIXER
10023 name 'Capture HPF Cutoff'
10024 value 0
10025 comment {
10026 access 'read write'
10027 type INTEGER
10028 count 1
10029 range '0 - 7'
10030 }
10031 }
10032 control.15 {
10033 iface MIXER
10034 name 'Capture LHPF Switch'
10035 value false
10036 comment {
10037 access 'read write'
10038 type BOOLEAN
10039 count 1
10040 }
10041 }
10042 control.16 {
10043 iface MIXER
10044 name 'Capture LHPF Mode'
10045 value LPF
10046 comment {
10047 access 'read write'
10048 type ENUMERATED
10049 count 1
10050 item.0 LPF
10051 item.1 HPF
10052 }
10053 }
10054 control.17 {
10055 iface MIXER
10056 name 'Sidetone Volume'
10057 value.0 0
10058 value.1 0
10059 comment {
10060 access 'read write'
10061 type INTEGER
10062 count 2
10063 range '0 - 12'
10064 dbmin -3600
10065 dbmax 0
10066 dbvalue.0 -3600
10067 dbvalue.1 -3600
10068 }
10069 }
10070 control.18 {
10071 iface MIXER
10072 name 'Digital Playback Volume'
10073 value.0 96
10074 value.1 96
10075 comment {
10076 access 'read write'
10077 type INTEGER
10078 count 2
10079 range '0 - 127'
10080 dbmin -9999999
10081 dbmax 2325
10082 dbvalue.0 0
10083 dbvalue.1 0
10084 }
10085 }
10086 control.19 {
10087 iface MIXER
10088 name 'DAC High Performance Switch'
10089 value false
10090 comment {
10091 access 'read write'
10092 type BOOLEAN
10093 count 1
10094 }
10095 }
10096 control.20 {
10097 iface MIXER
10098 name 'DAC L/R Swap Switch'
10099 value false
10100 comment {
10101 access 'read write'
10102 type BOOLEAN
10103 count 1
10104 }
10105 }
10106 control.21 {
10107 iface MIXER
10108 name 'ADC L/R Swap Switch'
10109 value false
10110 comment {
10111 access 'read write'
10112 type BOOLEAN
10113 count 1
10114 }
10115 }
10116 control.22 {
10117 iface MIXER
10118 name 'ADC High Performance Switch'
10119 value true
10120 comment {
10121 access 'read write'
10122 type BOOLEAN
10123 count 1
10124 }
10125 }
10126 control.23 {
10127 iface MIXER
10128 name 'Beep Volume'
10129 value 0
10130 comment {
10131 access 'read write'
10132 type INTEGER
10133 count 1
10134 range '0 - 15'
10135 dbmin -9999999
10136 dbmax -600
10137 dbvalue.0 -9999999
10138 }
10139 }
10140 control.24 {
10141 iface MIXER
10142 name 'Headphone Volume'
10143 value.0 93
10144 value.1 93
10145 comment {
10146 access 'read write'
10147 type INTEGER
10148 count 2
10149 range '0 - 127'
10150 dbmin -9999999
10151 dbmax 600
10152 dbvalue.0 -2800
10153 dbvalue.1 -2800
10154 }
10155 }
10156 control.25 {
10157 iface MIXER
10158 name 'Headphone Switch'
10159 value.0 true
10160 value.1 true
10161 comment {
10162 access 'read write'
10163 type BOOLEAN
10164 count 2
10165 }
10166 }
10167 control.26 {
10168 iface MIXER
10169 name 'Headphone ZC Switch'
10170 value.0 false
10171 value.1 false
10172 comment {
10173 access 'read write'
10174 type BOOLEAN
10175 count 2
10176 }
10177 }
10178 control.27 {
10179 iface MIXER
10180 name 'Headphone Aux Volume'
10181 value.0 7
10182 value.1 7
10183 comment {
10184 access 'read write'
10185 type INTEGER
10186 count 2
10187 range '0 - 7'
10188 dbmin -700
10189 dbmax 0
10190 dbvalue.0 0
10191 dbvalue.1 0
10192 }
10193 }
10194 control.28 {
10195 iface MIXER
10196 name 'Headphone Mixer Switch'
10197 value.0 false
10198 value.1 false
10199 comment {
10200 access 'read write'
10201 type BOOLEAN
10202 count 2
10203 }
10204 }
10205 control.29 {
10206 iface MIXER
10207 name 'HPMIXL IN4L Volume'
10208 value 7
10209 comment {
10210 access 'read write'
10211 type INTEGER
10212 count 1
10213 range '0 - 7'
10214 dbmin -1500
10215 dbmax 600
10216 dbvalue.0 600
10217 }
10218 }
10219 control.30 {
10220 iface MIXER
10221 name 'HPMIXL IN4R Volume'
10222 value 7
10223 comment {
10224 access 'read write'
10225 type INTEGER
10226 count 1
10227 range '0 - 7'
10228 dbmin -1500
10229 dbmax 600
10230 dbvalue.0 600
10231 }
10232 }
10233 control.31 {
10234 iface MIXER
10235 name 'HPMIXL MIXINL Volume'
10236 value 1
10237 comment {
10238 access 'read write'
10239 type INTEGER
10240 count 1
10241 range '0 - 1'
10242 dbmin -600
10243 dbmax 0
10244 dbvalue.0 0
10245 }
10246 }
10247 control.32 {
10248 iface MIXER
10249 name 'HPMIXL MIXINR Volume'
10250 value 1
10251 comment {
10252 access 'read write'
10253 type INTEGER
10254 count 1
10255 range '0 - 1'
10256 dbmin -600
10257 dbmax 0
10258 dbvalue.0 0
10259 }
10260 }
10261 control.33 {
10262 iface MIXER
10263 name 'HPMIXR IN4L Volume'
10264 value 7
10265 comment {
10266 access 'read write'
10267 type INTEGER
10268 count 1
10269 range '0 - 7'
10270 dbmin -1500
10271 dbmax 600
10272 dbvalue.0 600
10273 }
10274 }
10275 control.34 {
10276 iface MIXER
10277 name 'HPMIXR IN4R Volume'
10278 value 7
10279 comment {
10280 access 'read write'
10281 type INTEGER
10282 count 1
10283 range '0 - 7'
10284 dbmin -1500
10285 dbmax 600
10286 dbvalue.0 600
10287 }
10288 }
10289 control.35 {
10290 iface MIXER
10291 name 'HPMIXR MIXINL Volume'
10292 value 1
10293 comment {
10294 access 'read write'
10295 type INTEGER
10296 count 1
10297 range '0 - 1'
10298 dbmin -600
10299 dbmax 0
10300 dbvalue.0 0
10301 }
10302 }
10303 control.36 {
10304 iface MIXER
10305 name 'HPMIXR MIXINR Volume'
10306 value 1
10307 comment {
10308 access 'read write'
10309 type INTEGER
10310 count 1
10311 range '0 - 1'
10312 dbmin -600
10313 dbmax 0
10314 dbvalue.0 0
10315 }
10316 }
10317 control.37 {
10318 iface MIXER
10319 name 'Speaker Boost Volume'
10320 value 3
10321 comment {
10322 access 'read write'
10323 type INTEGER
10324 count 1
10325 range '0 - 7'
10326 dbmin 0
10327 dbmax 1200
10328 dbvalue.0 450
10329 }
10330 }
10331 control.38 {
10332 iface MIXER
10333 name 'EQ Switch'
10334 value false
10335 comment {
10336 access 'read write'
10337 type BOOLEAN
10338 count 1
10339 }
10340 }
10341 control.39 {
10342 iface MIXER
10343 name 'EQ1 Volume'
10344 value.0 12
10345 value.1 12
10346 comment {
10347 access 'read write'
10348 type INTEGER
10349 count 2
10350 range '0 - 31'
10351 dbmin -1200
10352 dbmax 1900
10353 dbvalue.0 0
10354 dbvalue.1 0
10355 }
10356 }
10357 control.40 {
10358 iface MIXER
10359 name 'EQ2 Volume'
10360 value.0 12
10361 value.1 12
10362 comment {
10363 access 'read write'
10364 type INTEGER
10365 count 2
10366 range '0 - 31'
10367 dbmin -1200
10368 dbmax 1900
10369 dbvalue.0 0
10370 dbvalue.1 0
10371 }
10372 }
10373 control.41 {
10374 iface MIXER
10375 name 'EQ3 Volume'
10376 value.0 12
10377 value.1 12
10378 comment {
10379 access 'read write'
10380 type INTEGER
10381 count 2
10382 range '0 - 31'
10383 dbmin -1200
10384 dbmax 1900
10385 dbvalue.0 0
10386 dbvalue.1 0
10387 }
10388 }
10389 control.42 {
10390 iface MIXER
10391 name 'EQ4 Volume'
10392 value.0 12
10393 value.1 12
10394 comment {
10395 access 'read write'
10396 type INTEGER
10397 count 2
10398 range '0 - 31'
10399 dbmin -1200
10400 dbmax 1900
10401 dbvalue.0 0
10402 dbvalue.1 0
10403 }
10404 }
10405 control.43 {
10406 iface MIXER
10407 name 'EQ5 Volume'
10408 value.0 12
10409 value.1 12
10410 comment {
10411 access 'read write'
10412 type INTEGER
10413 count 2
10414 range '0 - 31'
10415 dbmin -1200
10416 dbmax 1900
10417 dbvalue.0 0
10418 dbvalue.1 0
10419 }
10420 }
10421 control.44 {
10422 iface MIXER
10423 name 'EQL Coefficients'
10424 value '0fca040000d81eb5f1450b7501c51c58f3730a540558168ef82907ad1103056405594000'
10425 comment {
10426 access 'read write'
10427 type BYTES
10428 count 36
10429 }
10430 }
10431 control.45 {
10432 iface MIXER
10433 name 'EQR Coefficients'
10434 value '0fca040000d81eb5f1450b7501c51c58f3730a540558168ef82907ad1103056405594000'
10435 comment {
10436 access 'read write'
10437 type BYTES
10438 count 36
10439 }
10440 }
10441 control.46 {
10442 iface MIXER
10443 name '3D Switch'
10444 value false
10445 comment {
10446 access 'read write'
10447 type BOOLEAN
10448 count 1
10449 }
10450 }
10451 control.47 {
10452 iface MIXER
10453 name '3D Coefficients'
10454 value '0040000000000000'
10455 comment {
10456 access 'read write'
10457 type BYTES
10458 count 8
10459 }
10460 }
10461 control.48 {
10462 iface MIXER
10463 name 'DF1 Switch'
10464 value false
10465 comment {
10466 access 'read write'
10467 type BOOLEAN
10468 count 1
10469 }
10470 }
10471 control.49 {
10472 iface MIXER
10473 name 'DF1 Coefficients'
10474 value '0000000000000000000000000000'
10475 comment {
10476 access 'read write'
10477 type BYTES
10478 count 14
10479 }
10480 }
10481 control.50 {
10482 iface MIXER
10483 name 'DRC Switch'
10484 value false
10485 comment {
10486 access 'read write'
10487 type BOOLEAN
10488 count 1
10489 }
10490 }
10491 control.51 {
10492 iface MIXER
10493 name 'DRC Coefficients'
10494 value '000c0925000000000000'
10495 comment {
10496 access 'read write'
10497 type BYTES
10498 count 10
10499 }
10500 }
10501 control.52 {
10502 iface MIXER
10503 name 'VSS Switch'
10504 value false
10505 comment {
10506 access 'read write'
10507 type BOOLEAN
10508 count 1
10509 }
10510 }
10511 control.53 {
10512 iface MIXER
10513 name 'VSS Coefficients'
10514 value '008c020000350700003a4100008b7d00003a4100008cfee800780000003fb260002d18180020000000f1834000fb830000eeaec000fbac4000f17f8000f43b4000f5fb0000ea10c000fcc58000e275c00004b48000d4f9800004914000d8a48000023dc000cf7a8000dc060000f2dac000baf340000a7940001c068000fd2d00001ce840000ddc4000fc9d000009558000fe7e80000eab4000f99880000987c000fd2c400009480000035f400000870000fae4c000000b400004e18000011f4000f8b00000fbcbc00004f3800007df4000ff070000efd70000fbaf4000108a80001107c000e0080000d276000020cf400030234000fd69c0002835000006330000d9f6c000f33340000f420000040c8000fb3f8000f757c0000354000000c6c0000312c000fd8580'
10515 comment {
10516 access 'read write'
10517 type BYTES
10518 count 296
10519 }
10520 }
10521 control.54 {
10522 iface MIXER
10523 name 'HPF1 Switch'
10524 value false
10525 comment {
10526 access 'read write'
10527 type BOOLEAN
10528 count 1
10529 }
10530 }
10531 control.55 {
10532 iface MIXER
10533 name 'HPF2 Switch'
10534 value false
10535 comment {
10536 access 'read write'
10537 type BOOLEAN
10538 count 1
10539 }
10540 }
10541 control.56 {
10542 iface MIXER
10543 name 'HPF Coefficients'
10544 value '0000'
10545 comment {
10546 access 'read write'
10547 type BYTES
10548 count 2
10549 }
10550 }
10551 control.57 {
10552 iface MIXER
10553 name 'HD Bass Switch'
10554 value false
10555 comment {
10556 access 'read write'
10557 type BOOLEAN
10558 count 1
10559 }
10560 }
10561 control.58 {
10562 iface MIXER
10563 name 'HD Bass Coefficients'
10564 value '0002bd12007c586c00538121003f8bd80032f52d0065ac8c006be08700721483007214830043352500066a4a0043607900080000000100000059999a'
10565 comment {
10566 access 'read write'
10567 type BYTES
10568 count 60
10569 }
10570 }
10571 control.59 {
10572 iface MIXER
10573 name 'ALC Switch'
10574 value.0 false
10575 value.1 false
10576 comment {
10577 access 'read write'
10578 type BOOLEAN
10579 count 2
10580 }
10581 }
10582 control.60 {
10583 iface MIXER
10584 name ALC1
10585 value '007b'
10586 comment {
10587 access 'read write'
10588 type BYTES
10589 count 2
10590 }
10591 }
10592 control.61 {
10593 iface MIXER
10594 name ALC2
10595 value '0000'
10596 comment {
10597 access 'read write'
10598 type BYTES
10599 count 2
10600 }
10601 }
10602 control.62 {
10603 iface MIXER
10604 name ALC3
10605 value '1c32'
10606 comment {
10607 access 'read write'
10608 type BYTES
10609 count 2
10610 }
10611 }
10612 control.63 {
10613 iface MIXER
10614 name 'Noise Gate'
10615 value '3200'
10616 comment {
10617 access 'read write'
10618 type BYTES
10619 count 2
10620 }
10621 }
10622 control.64 {
10623 iface MIXER
10624 name 'Speaker Volume'
10625 value.0 114
10626 value.1 114
10627 comment {
10628 access 'read write'
10629 type INTEGER
10630 count 2
10631 range '0 - 127'
10632 dbmin -9999999
10633 dbmax 600
10634 dbvalue.0 -700
10635 dbvalue.1 -700
10636 }
10637 }
10638 control.65 {
10639 iface MIXER
10640 name 'Speaker Switch'
10641 value.0 true
10642 value.1 true
10643 comment {
10644 access 'read write'
10645 type BOOLEAN
10646 count 2
10647 }
10648 }
10649 control.66 {
10650 iface MIXER
10651 name 'Speaker ZC Switch'
10652 value.0 false
10653 value.1 false
10654 comment {
10655 access 'read write'
10656 type BOOLEAN
10657 count 2
10658 }
10659 }
10660 control.67 {
10661 iface MIXER
10662 name 'Speaker Mixer Switch'
10663 value.0 false
10664 value.1 false
10665 comment {
10666 access 'read write'
10667 type BOOLEAN
10668 count 2
10669 }
10670 }
10671 control.68 {
10672 iface MIXER
10673 name 'SPKOUTL Mixer IN4L Volume'
10674 value 7
10675 comment {
10676 access 'read write'
10677 type INTEGER
10678 count 1
10679 range '0 - 7'
10680 dbmin -1500
10681 dbmax 600
10682 dbvalue.0 600
10683 }
10684 }
10685 control.69 {
10686 iface MIXER
10687 name 'SPKOUTL Mixer IN4R Volume'
10688 value 7
10689 comment {
10690 access 'read write'
10691 type INTEGER
10692 count 1
10693 range '0 - 7'
10694 dbmin -1500
10695 dbmax 600
10696 dbvalue.0 600
10697 }
10698 }
10699 control.70 {
10700 iface MIXER
10701 name 'SPKOUTL Mixer MIXINL Volume'
10702 value 1
10703 comment {
10704 access 'read write'
10705 type INTEGER
10706 count 1
10707 range '0 - 1'
10708 dbmin -600
10709 dbmax 0
10710 dbvalue.0 0
10711 }
10712 }
10713 control.71 {
10714 iface MIXER
10715 name 'SPKOUTL Mixer MIXINR Volume'
10716 value 1
10717 comment {
10718 access 'read write'
10719 type INTEGER
10720 count 1
10721 range '0 - 1'
10722 dbmin -600
10723 dbmax 0
10724 dbvalue.0 0
10725 }
10726 }
10727 control.72 {
10728 iface MIXER
10729 name 'SPKOUTL Mixer DACL Volume'
10730 value 0
10731 comment {
10732 access 'read write'
10733 type INTEGER
10734 count 1
10735 range '0 - 1'
10736 dbmin -600
10737 dbmax 0
10738 dbvalue.0 -600
10739 }
10740 }
10741 control.73 {
10742 iface MIXER
10743 name 'SPKOUTL Mixer DACR Volume'
10744 value 0
10745 comment {
10746 access 'read write'
10747 type INTEGER
10748 count 1
10749 range '0 - 1'
10750 dbmin -600
10751 dbmax 0
10752 dbvalue.0 -600
10753 }
10754 }
10755 control.74 {
10756 iface MIXER
10757 name 'SPKOUTR Mixer IN4L Volume'
10758 value 7
10759 comment {
10760 access 'read write'
10761 type INTEGER
10762 count 1
10763 range '0 - 7'
10764 dbmin -1500
10765 dbmax 600
10766 dbvalue.0 600
10767 }
10768 }
10769 control.75 {
10770 iface MIXER
10771 name 'SPKOUTR Mixer IN4R Volume'
10772 value 7
10773 comment {
10774 access 'read write'
10775 type INTEGER
10776 count 1
10777 range '0 - 7'
10778 dbmin -1500
10779 dbmax 600
10780 dbvalue.0 600
10781 }
10782 }
10783 control.76 {
10784 iface MIXER
10785 name 'SPKOUTR Mixer MIXINL Volume'
10786 value 1
10787 comment {
10788 access 'read write'
10789 type INTEGER
10790 count 1
10791 range '0 - 1'
10792 dbmin -600
10793 dbmax 0
10794 dbvalue.0 0
10795 }
10796 }
10797 control.77 {
10798 iface MIXER
10799 name 'SPKOUTR Mixer MIXINR Volume'
10800 value 1
10801 comment {
10802 access 'read write'
10803 type INTEGER
10804 count 1
10805 range '0 - 1'
10806 dbmin -600
10807 dbmax 0
10808 dbvalue.0 0
10809 }
10810 }
10811 control.78 {
10812 iface MIXER
10813 name 'SPKOUTR Mixer DACL Volume'
10814 value 0
10815 comment {
10816 access 'read write'
10817 type INTEGER
10818 count 1
10819 range '0 - 1'
10820 dbmin -600
10821 dbmax 0
10822 dbvalue.0 -600
10823 }
10824 }
10825 control.79 {
10826 iface MIXER
10827 name 'SPKOUTR Mixer DACR Volume'
10828 value 0
10829 comment {
10830 access 'read write'
10831 type INTEGER
10832 count 1
10833 range '0 - 1'
10834 dbmin -600
10835 dbmax 0
10836 dbvalue.0 -600
10837 }
10838 }
10839 control.80 {
10840 iface MIXER
10841 name 'SPKOUTR PGA'
10842 value DAC
10843 comment {
10844 access 'read write'
10845 type ENUMERATED
10846 count 1
10847 item.0 DAC
10848 item.1 Mixer
10849 }
10850 }
10851 control.81 {
10852 iface MIXER
10853 name 'SPKOUTL PGA'
10854 value DAC
10855 comment {
10856 access 'read write'
10857 type ENUMERATED
10858 count 1
10859 item.0 DAC
10860 item.1 Mixer
10861 }
10862 }
10863 control.82 {
10864 iface MIXER
10865 name 'SPKOUTR Mixer DACL Switch'
10866 value false
10867 comment {
10868 access 'read write'
10869 type BOOLEAN
10870 count 1
10871 }
10872 }
10873 control.83 {
10874 iface MIXER
10875 name 'SPKOUTR Mixer DACR Switch'
10876 value false
10877 comment {
10878 access 'read write'
10879 type BOOLEAN
10880 count 1
10881 }
10882 }
10883 control.84 {
10884 iface MIXER
10885 name 'SPKOUTR Mixer MIXINL Switch'
10886 value false
10887 comment {
10888 access 'read write'
10889 type BOOLEAN
10890 count 1
10891 }
10892 }
10893 control.85 {
10894 iface MIXER
10895 name 'SPKOUTR Mixer MIXINR Switch'
10896 value false
10897 comment {
10898 access 'read write'
10899 type BOOLEAN
10900 count 1
10901 }
10902 }
10903 control.86 {
10904 iface MIXER
10905 name 'SPKOUTR Mixer IN4L Switch'
10906 value false
10907 comment {
10908 access 'read write'
10909 type BOOLEAN
10910 count 1
10911 }
10912 }
10913 control.87 {
10914 iface MIXER
10915 name 'SPKOUTR Mixer IN4R Switch'
10916 value false
10917 comment {
10918 access 'read write'
10919 type BOOLEAN
10920 count 1
10921 }
10922 }
10923 control.88 {
10924 iface MIXER
10925 name 'SPKOUTL Mixer DACL Switch'
10926 value false
10927 comment {
10928 access 'read write'
10929 type BOOLEAN
10930 count 1
10931 }
10932 }
10933 control.89 {
10934 iface MIXER
10935 name 'SPKOUTL Mixer DACR Switch'
10936 value false
10937 comment {
10938 access 'read write'
10939 type BOOLEAN
10940 count 1
10941 }
10942 }
10943 control.90 {
10944 iface MIXER
10945 name 'SPKOUTL Mixer MIXINL Switch'
10946 value false
10947 comment {
10948 access 'read write'
10949 type BOOLEAN
10950 count 1
10951 }
10952 }
10953 control.91 {
10954 iface MIXER
10955 name 'SPKOUTL Mixer MIXINR Switch'
10956 value false
10957 comment {
10958 access 'read write'
10959 type BOOLEAN
10960 count 1
10961 }
10962 }
10963 control.92 {
10964 iface MIXER
10965 name 'SPKOUTL Mixer IN4L Switch'
10966 value false
10967 comment {
10968 access 'read write'
10969 type BOOLEAN
10970 count 1
10971 }
10972 }
10973 control.93 {
10974 iface MIXER
10975 name 'SPKOUTL Mixer IN4R Switch'
10976 value false
10977 comment {
10978 access 'read write'
10979 type BOOLEAN
10980 count 1
10981 }
10982 }
10983 control.94 {
10984 iface MIXER
10985 name 'HPOUTR PGA'
10986 value DAC
10987 comment {
10988 access 'read write'
10989 type ENUMERATED
10990 count 1
10991 item.0 DAC
10992 item.1 Mixer
10993 }
10994 }
10995 control.95 {
10996 iface MIXER
10997 name 'HPOUTL PGA'
10998 value DAC
10999 comment {
11000 access 'read write'
11001 type ENUMERATED
11002 count 1
11003 item.0 DAC
11004 item.1 Mixer
11005 }
11006 }
11007 control.96 {
11008 iface MIXER
11009 name 'HPMIXR DACL Switch'
11010 value false
11011 comment {
11012 access 'read write'
11013 type BOOLEAN
11014 count 1
11015 }
11016 }
11017 control.97 {
11018 iface MIXER
11019 name 'HPMIXR DACR Switch'
11020 value false
11021 comment {
11022 access 'read write'
11023 type BOOLEAN
11024 count 1
11025 }
11026 }
11027 control.98 {
11028 iface MIXER
11029 name 'HPMIXR MIXINL Switch'
11030 value false
11031 comment {
11032 access 'read write'
11033 type BOOLEAN
11034 count 1
11035 }
11036 }
11037 control.99 {
11038 iface MIXER
11039 name 'HPMIXR MIXINR Switch'
11040 value false
11041 comment {
11042 access 'read write'
11043 type BOOLEAN
11044 count 1
11045 }
11046 }
11047 control.100 {
11048 iface MIXER
11049 name 'HPMIXR IN4L Switch'
11050 value false
11051 comment {
11052 access 'read write'
11053 type BOOLEAN
11054 count 1
11055 }
11056 }
11057 control.101 {
11058 iface MIXER
11059 name 'HPMIXR IN4R Switch'
11060 value false
11061 comment {
11062 access 'read write'
11063 type BOOLEAN
11064 count 1
11065 }
11066 }
11067 control.102 {
11068 iface MIXER
11069 name 'HPMIXL DACL Switch'
11070 value false
11071 comment {
11072 access 'read write'
11073 type BOOLEAN
11074 count 1
11075 }
11076 }
11077 control.103 {
11078 iface MIXER
11079 name 'HPMIXL DACR Switch'
11080 value false
11081 comment {
11082 access 'read write'
11083 type BOOLEAN
11084 count 1
11085 }
11086 }
11087 control.104 {
11088 iface MIXER
11089 name 'HPMIXL MIXINL Switch'
11090 value false
11091 comment {
11092 access 'read write'
11093 type BOOLEAN
11094 count 1
11095 }
11096 }
11097 control.105 {
11098 iface MIXER
11099 name 'HPMIXL MIXINR Switch'
11100 value false
11101 comment {
11102 access 'read write'
11103 type BOOLEAN
11104 count 1
11105 }
11106 }
11107 control.106 {
11108 iface MIXER
11109 name 'HPMIXL IN4L Switch'
11110 value false
11111 comment {
11112 access 'read write'
11113 type BOOLEAN
11114 count 1
11115 }
11116 }
11117 control.107 {
11118 iface MIXER
11119 name 'HPMIXL IN4R Switch'
11120 value false
11121 comment {
11122 access 'read write'
11123 type BOOLEAN
11124 count 1
11125 }
11126 }
11127 control.108 {
11128 iface MIXER
11129 name STR
11130 value None
11131 comment {
11132 access 'read write'
11133 type ENUMERATED
11134 count 1
11135 item.0 None
11136 item.1 Left
11137 item.2 Right
11138 }
11139 }
11140 control.109 {
11141 iface MIXER
11142 name STL
11143 value None
11144 comment {
11145 access 'read write'
11146 type ENUMERATED
11147 count 1
11148 item.0 None
11149 item.1 Left
11150 item.2 Right
11151 }
11152 }
11153 control.110 {
11154 iface MIXER
11155 name 'MIXINR IN2R Switch'
11156 value false
11157 comment {
11158 access 'read write'
11159 type BOOLEAN
11160 count 1
11161 }
11162 }
11163 control.111 {
11164 iface MIXER
11165 name 'MIXINR IN3R Switch'
11166 value true
11167 comment {
11168 access 'read write'
11169 type BOOLEAN
11170 count 1
11171 }
11172 }
11173 control.112 {
11174 iface MIXER
11175 name 'MIXINR PGA Switch'
11176 value true
11177 comment {
11178 access 'read write'
11179 type BOOLEAN
11180 count 1
11181 }
11182 }
11183 control.113 {
11184 iface MIXER
11185 name 'MIXINL IN2L Switch'
11186 value false
11187 comment {
11188 access 'read write'
11189 type BOOLEAN
11190 count 1
11191 }
11192 }
11193 control.114 {
11194 iface MIXER
11195 name 'MIXINL IN3L Switch'
11196 value false
11197 comment {
11198 access 'read write'
11199 type BOOLEAN
11200 count 1
11201 }
11202 }
11203 control.115 {
11204 iface MIXER
11205 name 'MIXINL PGA Switch'
11206 value true
11207 comment {
11208 access 'read write'
11209 type BOOLEAN
11210 count 1
11211 }
11212 }
11213 control.116 {
11214 iface MIXER
11215 name 'INPGAR IN1R Switch'
11216 value false
11217 comment {
11218 access 'read write'
11219 type BOOLEAN
11220 count 1
11221 }
11222 }
11223 control.117 {
11224 iface MIXER
11225 name 'INPGAR IN2R Switch'
11226 value true
11227 comment {
11228 access 'read write'
11229 type BOOLEAN
11230 count 1
11231 }
11232 }
11233 control.118 {
11234 iface MIXER
11235 name 'INPGAR IN3R Switch'
11236 value true
11237 comment {
11238 access 'read write'
11239 type BOOLEAN
11240 count 1
11241 }
11242 }
11243 control.119 {
11244 iface MIXER
11245 name 'INPGAR IN4R Switch'
11246 value false
11247 comment {
11248 access 'read write'
11249 type BOOLEAN
11250 count 1
11251 }
11252 }
11253 control.120 {
11254 iface MIXER
11255 name 'INPGAL IN1L Switch'
11256 value false
11257 comment {
11258 access 'read write'
11259 type BOOLEAN
11260 count 1
11261 }
11262 }
11263 control.121 {
11264 iface MIXER
11265 name 'INPGAL IN2L Switch'
11266 value false
11267 comment {
11268 access 'read write'
11269 type BOOLEAN
11270 count 1
11271 }
11272 }
11273 control.122 {
11274 iface MIXER
11275 name 'INPGAL IN3L Switch'
11276 value true
11277 comment {
11278 access 'read write'
11279 type BOOLEAN
11280 count 1
11281 }
11282 }
11283 control.123 {
11284 iface MIXER
11285 name 'INPGAL IN4L Switch'
11286 value false
11287 comment {
11288 access 'read write'
11289 type BOOLEAN
11290 count 1
11291 }
11292 }
11293 control.124 {
11294 iface CARD
11295 name 'Headphone Jack'
11296 value true
11297 comment {
11298 access read
11299 type BOOLEAN
11300 count 1
11301 }
11302 }
11303}
diff --git a/recipes-bsp/alsa-state/alsa-state/imx-mainline-bsp/asound.conf b/recipes-bsp/alsa-state/alsa-state/imx-mainline-bsp/asound.conf
index c511018e9..5ed3bdd92 100644
--- a/recipes-bsp/alsa-state/alsa-state/imx-mainline-bsp/asound.conf
+++ b/recipes-bsp/alsa-state/alsa-state/imx-mainline-bsp/asound.conf
@@ -218,8 +218,8 @@ rate 8000
218 218
219pcm.asymed{ 219pcm.asymed{
220type asym 220type asym
221playback.pcm "dmix_44100" 221playback.pcm "dmix_48000"
222capture.pcm "dsnoop_44100" 222capture.pcm "dsnoop_48000"
223} 223}
224 224
225pcm.dsp0{ 225pcm.dsp0{
diff --git a/recipes-bsp/alsa-state/alsa-state/imx-nxp-bsp/asound.conf b/recipes-bsp/alsa-state/alsa-state/imx-nxp-bsp/asound.conf
index 0084f4a0b..f5918669b 100644
--- a/recipes-bsp/alsa-state/alsa-state/imx-nxp-bsp/asound.conf
+++ b/recipes-bsp/alsa-state/alsa-state/imx-nxp-bsp/asound.conf
@@ -218,8 +218,8 @@ rate 8000
218 218
219pcm.asymed{ 219pcm.asymed{
220type asym 220type asym
221playback.pcm "dmix_44100" 221playback.pcm "dmix_48000"
222capture.pcm "dsnoop_44100" 222capture.pcm "dsnoop_48000"
223} 223}
224 224
225pcm.dsp0{ 225pcm.dsp0{
diff --git a/recipes-bsp/alsa-state/alsa-state/qoriq-generic-bsp b/recipes-bsp/alsa-state/alsa-state/qoriq-generic-bsp
new file mode 120000
index 000000000..febb30e2c
--- /dev/null
+++ b/recipes-bsp/alsa-state/alsa-state/qoriq-generic-bsp
@@ -0,0 +1 @@
imx-generic-bsp \ No newline at end of file
diff --git a/recipes-bsp/alsa-state/alsa-state/qoriq-mainline-bsp b/recipes-bsp/alsa-state/alsa-state/qoriq-mainline-bsp
new file mode 120000
index 000000000..b43cbb34c
--- /dev/null
+++ b/recipes-bsp/alsa-state/alsa-state/qoriq-mainline-bsp
@@ -0,0 +1 @@
imx-mainline-bsp \ No newline at end of file
diff --git a/recipes-bsp/alsa-state/alsa-state/qoriq-nxp-bsp b/recipes-bsp/alsa-state/alsa-state/qoriq-nxp-bsp
new file mode 120000
index 000000000..022b2509e
--- /dev/null
+++ b/recipes-bsp/alsa-state/alsa-state/qoriq-nxp-bsp
@@ -0,0 +1 @@
imx-nxp-bsp \ No newline at end of file
diff --git a/recipes-bsp/atf/qoriq-atf-2.6.inc b/recipes-bsp/atf/qoriq-atf-2.6.inc
index d5ef5e75e..7a752ee93 100644
--- a/recipes-bsp/atf/qoriq-atf-2.6.inc
+++ b/recipes-bsp/atf/qoriq-atf-2.6.inc
@@ -7,6 +7,3 @@ ATF_BRANCH ?= "lf_v2.6"
7ATF_SRC ?= "git://github.com/nxp-qoriq/atf.git;protocol=https" 7ATF_SRC ?= "git://github.com/nxp-qoriq/atf.git;protocol=https"
8SRC_URI = "${ATF_SRC};branch=${ATF_BRANCH}" 8SRC_URI = "${ATF_SRC};branch=${ATF_BRANCH}"
9SRCREV = "616a4588f333522d50a55bedd2b9a90a51474a75" 9SRCREV = "616a4588f333522d50a55bedd2b9a90a51474a75"
10
11S = "${WORKDIR}/git"
12
diff --git a/recipes-bsp/atf/qoriq-atf_2.6.bb b/recipes-bsp/atf/qoriq-atf_2.6.bb
index 5ae2ed9d1..9f2b0e47a 100644
--- a/recipes-bsp/atf/qoriq-atf_2.6.bb
+++ b/recipes-bsp/atf/qoriq-atf_2.6.bb
@@ -51,8 +51,8 @@ FIP_DDR:lx2160a = "${@bb.utils.contains('DISTRO_FEATURES', 'secure', 'fip_ddr',
51FIP_DDR:lx2162a = "${@bb.utils.contains('DISTRO_FEATURES', 'secure', 'fip_ddr', '', d)}" 51FIP_DDR:lx2162a = "${@bb.utils.contains('DISTRO_FEATURES', 'secure', 'fip_ddr', '', d)}"
52 52
53# requires CROSS_COMPILE set by hand as there is no configure script 53# requires CROSS_COMPILE set by hand as there is no configure script
54export CROSS_COMPILE="${TARGET_PREFIX}" 54export CROSS_COMPILE = "${TARGET_PREFIX}"
55export ARCH="arm64" 55export ARCH = "arm64"
56 56
57# Let the Makefile handle setting up the CFLAGS and LDFLAGS as it is 57# Let the Makefile handle setting up the CFLAGS and LDFLAGS as it is
58# a standalone application 58# a standalone application
diff --git a/recipes-bsp/boot-format/boot-format_git.bb b/recipes-bsp/boot-format/boot-format_git.bb
index 0916b45ba..6b53e228f 100644
--- a/recipes-bsp/boot-format/boot-format_git.bb
+++ b/recipes-bsp/boot-format/boot-format_git.bb
@@ -7,7 +7,6 @@ SRC_URI = "git://github.com/nxp-qoriq-yocto-sdk/boot-format;protocol=https;nobra
7 file://flags.patch" 7 file://flags.patch"
8SRCREV = "4eb81a6797ef4e58bf7d9b2d58afb37a21c1f550" 8SRCREV = "4eb81a6797ef4e58bf7d9b2d58afb37a21c1f550"
9 9
10S = "${WORKDIR}/git"
11EXTRA_OEMAKE = 'CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"' 10EXTRA_OEMAKE = 'CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"'
12 11
13do_install(){ 12do_install(){
diff --git a/recipes-bsp/ddr-phy/ddr-phy_git.bb b/recipes-bsp/ddr-phy/ddr-phy_git.bb
index 8ea92502f..5cfeb935e 100644
--- a/recipes-bsp/ddr-phy/ddr-phy_git.bb
+++ b/recipes-bsp/ddr-phy/ddr-phy_git.bb
@@ -7,8 +7,6 @@ inherit deploy
7SRC_URI = "git://github.com/nxp/ddr-phy-binary.git;nobranch=1;protocol=https" 7SRC_URI = "git://github.com/nxp/ddr-phy-binary.git;nobranch=1;protocol=https"
8SRCREV = "fbc036b88acb6c06ffed02c898cbae9856ec75ba" 8SRCREV = "fbc036b88acb6c06ffed02c898cbae9856ec75ba"
9 9
10S = "${WORKDIR}/git"
11
12REGLEX = "lx2160a" 10REGLEX = "lx2160a"
13 11
14DEPENDS += "qoriq-atf-tools-native" 12DEPENDS += "qoriq-atf-tools-native"
diff --git a/recipes-bsp/dp-firmware-cadence/dp-firmware-cadence_22.04.bb b/recipes-bsp/dp-firmware-cadence/dp-firmware-cadence_22.04.bb
index 5cf543ab7..79fff49e6 100644
--- a/recipes-bsp/dp-firmware-cadence/dp-firmware-cadence_22.04.bb
+++ b/recipes-bsp/dp-firmware-cadence/dp-firmware-cadence_22.04.bb
@@ -6,10 +6,9 @@ inherit deploy fsl-eula-unpack
6 6
7SRC_URI = "${FSL_MIRROR}/firmware-imx-8.16.bin;fsl-eula=true" 7SRC_URI = "${FSL_MIRROR}/firmware-imx-8.16.bin;fsl-eula=true"
8 8
9SRC_URI[md5sum] = "9ed2923c0eb511c7fcf37dd607944124"
10SRC_URI[sha256sum] = "65f829a9e2597bffc58a680aaefa638122144a083633d1ae09b3aec1d9f8ab84" 9SRC_URI[sha256sum] = "65f829a9e2597bffc58a680aaefa638122144a083633d1ae09b3aec1d9f8ab84"
11 10
12S = "${WORKDIR}/firmware-imx-8.16" 11S = "${UNPACKDIR}/firmware-imx-8.16"
13 12
14do_install () { 13do_install () {
15 install -d ${D}/boot 14 install -d ${D}/boot
diff --git a/recipes-bsp/firmware-imx/firmware-ele-imx_0.1.1.bb b/recipes-bsp/firmware-imx/firmware-ele-imx_0.1.1.bb
deleted file mode 100644
index 70252c01c..000000000
--- a/recipes-bsp/firmware-imx/firmware-ele-imx_0.1.1.bb
+++ /dev/null
@@ -1,40 +0,0 @@
1# Copyright 2021-2023 NXP
2SUMMARY = "NXP i.MX ELE firmware"
3DESCRIPTION = "EdgeLock Enclave firmware for i.MX series SoCs"
4SECTION = "base"
5LICENSE = "Proprietary"
6LIC_FILES_CHKSUM = "file://COPYING;md5=44a8052c384584ba09077e85a3d1654f"
7
8inherit fsl-eula-unpack use-imx-security-controller-firmware deploy
9
10SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true"
11SRC_URI[md5sum] = "f4df2005ec4555e9f177acbf62a7a969"
12SRC_URI[sha256sum] = "3f69d6cf6ea448c5c2f87b6acdad1c5c2318616d246cc5047a523f2543fee408"
13
14do_compile[noexec] = "1"
15
16do_install() {
17 install -d ${D}${nonarch_base_libdir}/firmware/imx/ele
18 install -m 0644 ${S}/${SECO_FIRMWARE_NAME} ${D}${nonarch_base_libdir}/firmware/imx/ele
19 if [ -e ${S}/${SECOEXT_FIRMWARE_NAME} ]; then
20 install -m 0644 ${S}/${SECOEXT_FIRMWARE_NAME} ${D}${nonarch_base_libdir}/firmware/imx/ele
21 fi
22}
23
24do_deploy () {
25 # Deploy the related firmware to be package by imx-boot
26 install -m 0644 ${S}/${SECO_FIRMWARE_NAME} ${DEPLOYDIR}
27}
28addtask deploy after do_install before do_build
29
30PACKAGES += "${PN}-ext"
31
32ALLOW_EMPTY:${PN}-ext = "1"
33
34FILES:${PN} += "${nonarch_base_libdir}/firmware/imx/ele/${SECO_FIRMWARE_NAME}"
35FILES:${PN}-ext += "${nonarch_base_libdir}/firmware/imx/ele/${SECOEXT_FIRMWARE_NAME}"
36
37RREPLACES:${PN} = "firmware-sentinel"
38RPROVIDES:${PN} = "firmware-sentinel"
39
40COMPATIBLE_MACHINE = "(mx8ulp-nxp-bsp|mx9-nxp-bsp)"
diff --git a/recipes-bsp/firmware-imx/firmware-ele-imx_2.0.1.bb b/recipes-bsp/firmware-imx/firmware-ele-imx_2.0.1.bb
new file mode 100644
index 000000000..b785613a1
--- /dev/null
+++ b/recipes-bsp/firmware-imx/firmware-ele-imx_2.0.1.bb
@@ -0,0 +1,42 @@
1# Copyright 2021-2025 NXP
2SUMMARY = "NXP i.MX ELE firmware"
3DESCRIPTION = "EdgeLock Secure Enclave firmware for i.MX series SoCs"
4SECTION = "base"
5LICENSE = "Proprietary"
6LIC_FILES_CHKSUM = "file://COPYING;md5=c0fb372b5d7f12181de23ef480f225f3"
7
8inherit fsl-eula-unpack use-imx-security-controller-firmware deploy
9
10SRC_URI = "${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true"
11IMX_SRCREV_ABBREV = "19b6ee2"
12SRC_URI[sha256sum] = "14ad172ed70d2f16decca4b55e508dad32923390a298f10a598e8bc7778b6b66"
13
14S = "${UNPACKDIR}/${BP}-${IMX_SRCREV_ABBREV}"
15
16do_compile[noexec] = "1"
17
18do_install() {
19 install -d ${D}${nonarch_base_libdir}/firmware/imx/ele
20 install -m 0644 ${S}/${SECO_FIRMWARE_NAME} ${D}${nonarch_base_libdir}/firmware/imx/ele
21 if [ -e ${S}/${SECOEXT_FIRMWARE_NAME} ]; then
22 install -m 0644 ${S}/${SECOEXT_FIRMWARE_NAME} ${D}${nonarch_base_libdir}/firmware/imx/ele
23 fi
24}
25
26do_deploy () {
27 # Deploy the related firmware to be package by imx-boot
28 install -m 0644 ${S}/${SECO_FIRMWARE_NAME} ${DEPLOYDIR}
29}
30addtask deploy after do_install before do_build
31
32PACKAGES += "${PN}-ext"
33
34ALLOW_EMPTY:${PN}-ext = "1"
35
36FILES:${PN} += "${nonarch_base_libdir}/firmware/imx/ele/${SECO_FIRMWARE_NAME}"
37FILES:${PN}-ext += "${nonarch_base_libdir}/firmware/imx/ele/${SECOEXT_FIRMWARE_NAME}"
38
39RREPLACES:${PN} = "firmware-sentinel"
40RPROVIDES:${PN} = "firmware-sentinel"
41
42COMPATIBLE_MACHINE = "(mx8ulp-generic-bsp|mx9-generic-bsp)"
diff --git a/recipes-bsp/firmware-imx/firmware-imx-8.23.inc b/recipes-bsp/firmware-imx/firmware-imx-8.23.inc
deleted file mode 100644
index bd471f777..000000000
--- a/recipes-bsp/firmware-imx/firmware-imx-8.23.inc
+++ /dev/null
@@ -1,17 +0,0 @@
1# Copyright (C) 2012-2016 Freescale Semiconductor
2# Copyright 2017-2022 NXP
3# Copyright (C) 2018 O.S. Systems Software LTDA.
4SECTION = "base"
5LICENSE = "Proprietary"
6LIC_FILES_CHKSUM = "file://COPYING;md5=44a8052c384584ba09077e85a3d1654f"
7
8SRC_URI = " \
9 ${FSL_MIRROR}/firmware-imx-${PV}.bin;fsl-eula=true \
10"
11
12SRC_URI[md5sum] = "eb03efb3a8fb98d99ed1df88537e72f4"
13SRC_URI[sha256sum] = "fe07633295dac3dd99f0ba4e07a7cde95bb24a29ca82b9a9b3f6026d29ae916a"
14
15S = "${WORKDIR}/firmware-imx-${PV}"
16
17inherit fsl-eula-unpack
diff --git a/recipes-bsp/firmware-imx/firmware-imx-8.27.inc b/recipes-bsp/firmware-imx/firmware-imx-8.27.inc
new file mode 100644
index 000000000..20a66a1e3
--- /dev/null
+++ b/recipes-bsp/firmware-imx/firmware-imx-8.27.inc
@@ -0,0 +1,16 @@
1# Copyright (C) 2012-2016 Freescale Semiconductor
2# Copyright 2017-2024 NXP
3# Copyright (C) 2018 O.S. Systems Software LTDA.
4SECTION = "base"
5LICENSE = "Proprietary"
6LIC_FILES_CHKSUM = "file://COPYING;md5=c0fb372b5d7f12181de23ef480f225f3"
7
8# Note: This .inc file is used from differently named recipes, so the package
9# name must be hard-coded, i.e., ${BPN} cannot be used.
10SRC_URI = "${FSL_MIRROR}/firmware-imx-${PV}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true"
11IMX_SRCREV_ABBREV = "5af0ceb"
12SRC_URI[sha256sum] = "61f925e606ab020b1a36f3f7f7e459c6847f5b9dbc79421f9ef86e8fc124eb2f"
13
14S = "${UNPACKDIR}/firmware-imx-${PV}-${IMX_SRCREV_ABBREV}"
15
16inherit fsl-eula-unpack
diff --git a/recipes-bsp/firmware-imx/firmware-imx_8.23.bb b/recipes-bsp/firmware-imx/firmware-imx_8.27.bb
index 0c935b92e..7bac8106d 100644
--- a/recipes-bsp/firmware-imx/firmware-imx_8.23.bb
+++ b/recipes-bsp/firmware-imx/firmware-imx_8.27.bb
@@ -1,10 +1,10 @@
1# Copyright (C) 2012-2016 Freescale Semiconductor 1# Copyright (C) 2012-2016 Freescale Semiconductor
2# Copyright 2017-2021,2023 NXP 2# Copyright 2017-2021,2024 NXP
3# Copyright (C) 2018 O.S. Systems Software LTDA. 3# Copyright (C) 2018 O.S. Systems Software LTDA.
4SUMMARY = "Freescale i.MX firmware" 4SUMMARY = "Freescale i.MX firmware"
5DESCRIPTION = "Freescale i.MX firmware such as for the VPU" 5DESCRIPTION = "Freescale i.MX firmware such as for the VPU"
6 6
7require firmware-imx-${PV}.inc 7require ${BP}.inc
8 8
9PE = "1" 9PE = "1"
10 10
@@ -102,14 +102,14 @@ python populate_packages:prepend() {
102 102
103 103
104 easrcdir = bb.data.expand('${nonarch_base_libdir}/firmware/imx/easrc', d) 104 easrcdir = bb.data.expand('${nonarch_base_libdir}/firmware/imx/easrc', d)
105 do_split_packages(d, easrcdir, '^easrc-([^_]*).*\.bin', 105 do_split_packages(d, easrcdir, r'^easrc-([^_]*).*\.bin',
106 output_pattern='firmware-imx-easrc-%s', 106 output_pattern='firmware-imx-easrc-%s',
107 description='Freescale IMX EASRC Firmware [%s]', 107 description='Freescale IMX EASRC Firmware [%s]',
108 extra_depends='', 108 extra_depends='',
109 prepend=True) 109 prepend=True)
110 110
111 vpudir = bb.data.expand('${nonarch_base_libdir}/firmware/vpu', d) 111 vpudir = bb.data.expand('${nonarch_base_libdir}/firmware/vpu', d)
112 do_split_packages(d, vpudir, '^vpu_fw_([^_]*).*\.bin', 112 do_split_packages(d, vpudir, r'^vpu_fw_([^_]*).*\.bin',
113 output_pattern='firmware-imx-vpu-%s', 113 output_pattern='firmware-imx-vpu-%s',
114 description='Freescale IMX VPU Firmware [%s]', 114 description='Freescale IMX VPU Firmware [%s]',
115 hook=coda_vpu_links, 115 hook=coda_vpu_links,
@@ -117,21 +117,21 @@ python populate_packages:prepend() {
117 prepend=True) 117 prepend=True)
118 118
119 sdmadir = bb.data.expand('${nonarch_base_libdir}/firmware/imx/sdma', d) 119 sdmadir = bb.data.expand('${nonarch_base_libdir}/firmware/imx/sdma', d)
120 do_split_packages(d, sdmadir, '^sdma-([^-]*).*\.bin', 120 do_split_packages(d, sdmadir, r'^sdma-([^-]*).*\.bin',
121 output_pattern='firmware-imx-sdma-%s', 121 output_pattern='firmware-imx-sdma-%s',
122 description='Freescale IMX SDMA Firmware [%s]', 122 description='Freescale IMX SDMA Firmware [%s]',
123 extra_depends='', 123 extra_depends='',
124 prepend=True) 124 prepend=True)
125 125
126 xcvrdir = bb.data.expand('${nonarch_base_libdir}/firmware/imx/xcvr', d) 126 xcvrdir = bb.data.expand('${nonarch_base_libdir}/firmware/imx/xcvr', d)
127 do_split_packages(d, xcvrdir, '^xcvr-([^_]*).*\.bin', 127 do_split_packages(d, xcvrdir, r'^xcvr-([^_]*).*\.bin',
128 output_pattern='firmware-imx-xcvr-%s', 128 output_pattern='firmware-imx-xcvr-%s',
129 description='Freescale IMX XCVR Firmware [%s]', 129 description='Freescale IMX XCVR Firmware [%s]',
130 extra_depends='', 130 extra_depends='',
131 prepend=True) 131 prepend=True)
132 132
133 xuvidir = bb.data.expand('${nonarch_base_libdir}/firmware/imx/xuvi', d) 133 xuvidir = bb.data.expand('${nonarch_base_libdir}/firmware/imx/xuvi', d)
134 do_split_packages(d, xuvidir, '^vpu_fw_([^_]*).*\.bin', 134 do_split_packages(d, xuvidir, r'^vpu_fw_([^_]*).*\.bin',
135 output_pattern='firmware-imx-xuvi-%s', 135 output_pattern='firmware-imx-xuvi-%s',
136 description='Freescale IMX XUVI Firmware [%s]', 136 description='Freescale IMX XUVI Firmware [%s]',
137 extra_depends='', 137 extra_depends='',
diff --git a/recipes-bsp/firmware-imx/firmware-nxp-wifi_1.0.bb b/recipes-bsp/firmware-imx/firmware-nxp-wifi_1.1.bb
index d28b23821..59ce30d03 100644
--- a/recipes-bsp/firmware-imx/firmware-nxp-wifi_1.0.bb
+++ b/recipes-bsp/firmware-imx/firmware-nxp-wifi_1.1.bb
@@ -1,4 +1,4 @@
1# Copyright 2020-2023 NXP 1# Copyright 2020-2024 NXP
2 2
3SUMMARY = "Wi-Fi firmware redistributed by NXP" 3SUMMARY = "Wi-Fi firmware redistributed by NXP"
4DESCRIPTION = "Additional Wi-Fi firmware redistributed by NXP. Some \ 4DESCRIPTION = "Additional Wi-Fi firmware redistributed by NXP. Some \
@@ -7,18 +7,18 @@ should be preferred."
7 7
8SECTION = "kernel" 8SECTION = "kernel"
9LICENSE = "Proprietary" 9LICENSE = "Proprietary"
10LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=44a8052c384584ba09077e85a3d1654f" 10LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=c0fb372b5d7f12181de23ef480f225f3"
11 11
12SRC_URI = "git://github.com/nxp-imx/imx-firmware.git;protocol=https;branch=${SRCBRANCH}" 12SRC_URI = "git://github.com/nxp-imx/imx-firmware.git;protocol=https;branch=${SRCBRANCH}"
13SRCBRANCH = "lf-6.6.3_1.0.0" 13SRCBRANCH = "lf-6.12.3_1.0.0"
14SRCREV = "2afa15e77f0b58eade42b4f59c9215339efcca66" 14SRCREV = "eef7ef94bc44cacd3b068f66658ef33391547daa"
15
16S = "${WORKDIR}/git"
17 15
18inherit allarch 16inherit allarch
19 17
20CLEANBROKEN = "1" 18CLEANBROKEN = "1"
21ALLOW_EMPTY:${PN} = "1" 19ALLOW_EMPTY:${PN} = "1"
20ALLOW_EMPTY:${PN}-all-sdio = "1"
21ALLOW_EMPTY:${PN}-all-pcie = "1"
22 22
23do_compile() { 23do_compile() {
24 : 24 :
@@ -44,7 +44,16 @@ do_install() {
44 44
45 oe_runmake install INSTALLDIR=${D}${nonarch_base_libdir}/firmware/nxp 45 oe_runmake install INSTALLDIR=${D}${nonarch_base_libdir}/firmware/nxp
46 46
47 # Upstream SDIO8997 and IW416 driver firmwares are located on mrvl folder
48 install -d ${D}${nonarch_base_libdir}/firmware/mrvl
49 ln -frs ${D}${nonarch_base_libdir}/firmware/nxp/sdiouart8997_combo_v4.bin ${D}${nonarch_base_libdir}/firmware/mrvl/sdiouart8997_combo_v4.bin
50 ln -frs ${D}${nonarch_base_libdir}/firmware/nxp/sdiouartiw416_combo_v0.bin ${D}${nonarch_base_libdir}/firmware/mrvl/sdiouartiw416_combo_v0.bin
47 51
52 ln -frs ${D}${nonarch_base_libdir}/firmware/nxp/sd9098_wlan_v1.bin ${D}${nonarch_base_libdir}/firmware/nxp/sdio9098_wlan_v1.bin
53 ln -frs ${D}${nonarch_base_libdir}/firmware/nxp/sduart9098_combo_v1.bin ${D}${nonarch_base_libdir}/firmware/nxp/sdiouart9098_combo_v1.bin
54 ln -frs ${D}${nonarch_base_libdir}/firmware/nxp/sd8997_wlan_v4.bin ${D}${nonarch_base_libdir}/firmware/nxp/sdio8997_wlan_v4.bin
55 ln -frs ${D}${nonarch_base_libdir}/firmware/nxp/sduart8997_combo_v4.bin ${D}${nonarch_base_libdir}/firmware/nxp/sdiouart8997_combo_v4.bin
56 ln -frs ${D}${nonarch_base_libdir}/firmware/nxp/sduartiw416_combo.bin ${D}${nonarch_base_libdir}/firmware/nxp/sdiouartiw416_combo_v0.bin
48} 57}
49 58
50PACKAGES =+ " \ 59PACKAGES =+ " \
@@ -59,6 +68,7 @@ PACKAGES =+ " \
59 ${PN}-nxp9098-common \ 68 ${PN}-nxp9098-common \
60 ${PN}-nxp9098-sdio \ 69 ${PN}-nxp9098-sdio \
61 ${PN}-nxpiw416-sdio \ 70 ${PN}-nxpiw416-sdio \
71 ${PN}-nxpiw610-sdio \
62 ${PN}-nxpiw612-sdio \ 72 ${PN}-nxpiw612-sdio \
63" 73"
64 74
@@ -88,7 +98,7 @@ RCONFLICTS:${PN}-nxp8987-sdio = "linux-firmware-nxp8987-sdio"
88FILES:${PN}-nxp8997-common = " \ 98FILES:${PN}-nxp8997-common = " \
89 ${nonarch_base_libdir}/firmware/nxp/ed_mac_ctrl_V3_8997.conf \ 99 ${nonarch_base_libdir}/firmware/nxp/ed_mac_ctrl_V3_8997.conf \
90 ${nonarch_base_libdir}/firmware/nxp/txpwrlimit_cfg_8997.conf \ 100 ${nonarch_base_libdir}/firmware/nxp/txpwrlimit_cfg_8997.conf \
91 ${nonarch_base_libdir}/firmware/nxp/uartuart8997_bt_v4.bin \ 101 ${nonarch_base_libdir}/firmware/nxp/uart8997_bt_v4.bin \
92" 102"
93RDEPENDS:${PN}-nxp8997-common += "${PN}-nxp-common" 103RDEPENDS:${PN}-nxp8997-common += "${PN}-nxp-common"
94RPROVIDES:${PN}-nxp8997-common = "linux-firmware-nxp8997-common" 104RPROVIDES:${PN}-nxp8997-common = "linux-firmware-nxp8997-common"
@@ -104,7 +114,8 @@ RREPLACES:${PN}-nxp8997-pcie = "linux-firmware-nxp8997-pcie"
104RCONFLICTS:${PN}-nxp8997-pcie = "linux-firmware-nxp8997-pcie" 114RCONFLICTS:${PN}-nxp8997-pcie = "linux-firmware-nxp8997-pcie"
105 115
106FILES:${PN}-nxp8997-sdio = " \ 116FILES:${PN}-nxp8997-sdio = " \
107 ${nonarch_base_libdir}/firmware/nxp/sdio*8997* \ 117 ${nonarch_base_libdir}/firmware/mrvl/sdiouart8997_combo_v4.bin \
118 ${nonarch_base_libdir}/firmware/nxp/sd*8997* \
108" 119"
109RDEPENDS:${PN}-nxp8997-sdio += "${PN}-nxp8997-common" 120RDEPENDS:${PN}-nxp8997-sdio += "${PN}-nxp8997-common"
110RPROVIDES:${PN}-nxp8997-sdio = "linux-firmware-nxp8997-sdio" 121RPROVIDES:${PN}-nxp8997-sdio = "linux-firmware-nxp8997-sdio"
@@ -114,7 +125,7 @@ RCONFLICTS:${PN}-nxp8997-sdio = "linux-firmware-nxp8997-sdio"
114FILES:${PN}-nxp9098-common = " \ 125FILES:${PN}-nxp9098-common = " \
115 ${nonarch_base_libdir}/firmware/nxp/ed_mac_ctrl_V3_909x.conf \ 126 ${nonarch_base_libdir}/firmware/nxp/ed_mac_ctrl_V3_909x.conf \
116 ${nonarch_base_libdir}/firmware/nxp/txpwrlimit_cfg_9098.conf \ 127 ${nonarch_base_libdir}/firmware/nxp/txpwrlimit_cfg_9098.conf \
117 ${nonarch_base_libdir}/firmware/nxp/uartuart9098_bt_v1.bin \ 128 ${nonarch_base_libdir}/firmware/nxp/uart9098_bt_v1.bin \
118" 129"
119RDEPENDS:${PN}-nxp9098-common += "${PN}-nxp-common" 130RDEPENDS:${PN}-nxp9098-common += "${PN}-nxp-common"
120RPROVIDES:${PN}-nxp9098-common = "linux-firmware-nxp9098-common" 131RPROVIDES:${PN}-nxp9098-common = "linux-firmware-nxp9098-common"
@@ -130,7 +141,7 @@ RREPLACES:${PN}-nxp9098-pcie = "linux-firmware-nxp9098-pcie"
130RCONFLICTS:${PN}-nxp9098-pcie = "linux-firmware-nxp9098-pcie" 141RCONFLICTS:${PN}-nxp9098-pcie = "linux-firmware-nxp9098-pcie"
131 142
132FILES:${PN}-nxp9098-sdio = " \ 143FILES:${PN}-nxp9098-sdio = " \
133 ${nonarch_base_libdir}/firmware/nxp/sdio*9098* \ 144 ${nonarch_base_libdir}/firmware/nxp/sd*9098* \
134" 145"
135RDEPENDS:${PN}-nxp9098-sdio += "${PN}-nxp9098-common" 146RDEPENDS:${PN}-nxp9098-sdio += "${PN}-nxp9098-common"
136RPROVIDES:${PN}-nxp9098-sdio = "linux-firmware-nxp9098-sdio" 147RPROVIDES:${PN}-nxp9098-sdio = "linux-firmware-nxp9098-sdio"
@@ -138,6 +149,7 @@ RREPLACES:${PN}-nxp9098-sdio = "linux-firmware-nxp9098-sdio"
138RCONFLICTS:${PN}-nxp9098-sdio = "linux-firmware-nxp9098-sdio" 149RCONFLICTS:${PN}-nxp9098-sdio = "linux-firmware-nxp9098-sdio"
139 150
140FILES:${PN}-nxpiw416-sdio = " \ 151FILES:${PN}-nxpiw416-sdio = " \
152 ${nonarch_base_libdir}/firmware/mrvl/sdiouartiw416_combo_v0.bin \
141 ${nonarch_base_libdir}/firmware/nxp/*iw416* \ 153 ${nonarch_base_libdir}/firmware/nxp/*iw416* \
142" 154"
143RDEPENDS:${PN}-nxpiw416-sdio += "${PN}-nxp-common" 155RDEPENDS:${PN}-nxpiw416-sdio += "${PN}-nxp-common"
@@ -145,15 +157,39 @@ RPROVIDES:${PN}-nxpiw416-sdio = "linux-firmware-nxpiw416-sdio"
145RREPLACES:${PN}-nxpiw416-sdio = "linux-firmware-nxpiw416-sdio" 157RREPLACES:${PN}-nxpiw416-sdio = "linux-firmware-nxpiw416-sdio"
146RCONFLICTS:${PN}-nxpiw416-sdio = "linux-firmware-nxpiw416-sdio" 158RCONFLICTS:${PN}-nxpiw416-sdio = "linux-firmware-nxpiw416-sdio"
147 159
160FILES:${PN}-nxpiw610-sdio += " \
161 ${nonarch_base_libdir}/firmware/nxp/sd_iw610.bin.se \
162 ${nonarch_base_libdir}/firmware/nxp/sduart_iw610.bin.se \
163 ${nonarch_base_libdir}/firmware/nxp/uart_iw610_bt.bin.se \
164 ${nonarch_base_libdir}/firmware/nxp/uartspi_iw610.bin.se \
165"
166RDEPENDS:${PN}-nxpiw610-sdio += "${PN}-nxp-common"
167RPROVIDES:${PN}-nxpiw610-sdio = "linux-firmware-nxpiw610-sdio"
168RREPLACES:${PN}-nxpiw610-sdio = "linux-firmware-nxpiw610-sdio"
169RCONFLICTS:${PN}-nxpiw610-sdio = "linux-firmware-nxpiw610-sdio"
170
148FILES:${PN}-nxpiw612-sdio = " \ 171FILES:${PN}-nxpiw612-sdio = " \
149 ${nonarch_base_libdir}/firmware/nxp/sduart_nw61x_v1.bin.se \ 172 ${nonarch_base_libdir}/firmware/nxp/sduart_nw61x_v1.bin.se \
150 ${nonarch_base_libdir}/firmware/nxp/sd_w61x_v1.bin.se \ 173 ${nonarch_base_libdir}/firmware/nxp/sd_w61x_v1.bin.se \
151 ${nonarch_base_libdir}/firmware/nxp/uartspi_n61x_v1.bin.se \ 174 ${nonarch_base_libdir}/firmware/nxp/uartspi_n61x_v1.bin.se \
152 ${nonarch_base_libdir}/firmware/nxp/IW612_SD_RFTest/ \ 175 ${nonarch_base_libdir}/firmware/nxp/IW612_SD_RFTest/ \
176 ${nonarch_base_libdir}/firmware/nxp/uartuart_n61x_v1.bin.se \
153" 177"
154RDEPENDS:${PN}-nxpiw612-sdio += "${PN}-nxp-common" 178RDEPENDS:${PN}-nxpiw612-sdio += "${PN}-nxp-common"
155RPROVIDES:${PN}-nxpiw612-sdio = "linux-firmware-nxpiw612-sdio" 179RPROVIDES:${PN}-nxpiw612-sdio = "linux-firmware-nxpiw612-sdio"
156RREPLACES:${PN}-nxpiw612-sdio = "linux-firmware-nxpiw612-sdio" 180RREPLACES:${PN}-nxpiw612-sdio = "linux-firmware-nxpiw612-sdio"
157RCONFLICTS:${PN}-nxpiw612-sdio = "linux-firmware-nxpiw612-sdio" 181RCONFLICTS:${PN}-nxpiw612-sdio = "linux-firmware-nxpiw612-sdio"
158 182
159COMPATIBLE_MACHINE = "(imx-generic-bsp)" 183RDEPENDS:${PN}-all-sdio = " \
184 ${PN}-nxp8801-sdio \
185 ${PN}-nxp8987-sdio \
186 ${PN}-nxp9098-sdio \
187 ${PN}-nxpiw416-sdio \
188 ${PN}-nxpiw610-sdio \
189 ${PN}-nxpiw612-sdio \
190"
191
192RDEPENDS:${PN}-all-pcie = " \
193 ${PN}-nxp8997-pcie \
194 ${PN}-nxp9098-pcie \
195"
diff --git a/recipes-bsp/firmware-imx/firmware-sof-imx_2.3.0.bb b/recipes-bsp/firmware-imx/firmware-sof-imx_2.3.0.bb
index 9778bd1cf..7c5022761 100644
--- a/recipes-bsp/firmware-imx/firmware-sof-imx_2.3.0.bb
+++ b/recipes-bsp/firmware-imx/firmware-sof-imx_2.3.0.bb
@@ -8,10 +8,9 @@ LICENSE = "BSD-3-Clause"
8LIC_FILES_CHKSUM = "file://LICENCE;md5=0f00d99239d922ffd13cabef83b33444" 8LIC_FILES_CHKSUM = "file://LICENCE;md5=0f00d99239d922ffd13cabef83b33444"
9 9
10SRC_URI = "${FSL_MIRROR}/sof-imx-${PV}.tar.gz" 10SRC_URI = "${FSL_MIRROR}/sof-imx-${PV}.tar.gz"
11SRC_URI[md5sum] = "f7d277717b3f0dd17e8d341c1091d6b6"
12SRC_URI[sha256sum] = "eb86c90aec92b3b376e7afca6aa5db4767b5d8868553595907ba37665329f16b" 11SRC_URI[sha256sum] = "eb86c90aec92b3b376e7afca6aa5db4767b5d8868553595907ba37665329f16b"
13 12
14S = "${WORKDIR}/sof-imx-${PV}" 13S = "${UNPACKDIR}/sof-imx-${PV}"
15 14
16inherit allarch 15inherit allarch
17 16
diff --git a/recipes-bsp/firmware-imx/imx-boot-firmware-files_8.23.bb b/recipes-bsp/firmware-imx/imx-boot-firmware-files_8.27.bb
index 246198596..c35e31e07 100644
--- a/recipes-bsp/firmware-imx/imx-boot-firmware-files_8.23.bb
+++ b/recipes-bsp/firmware-imx/imx-boot-firmware-files_8.27.bb
@@ -1,4 +1,4 @@
1# Copyright (C) 2018-2023 NXP 1# Copyright (C) 2018-2024 NXP
2SUMMARY = "Freescale i.MX Firmware files used for boot" 2SUMMARY = "Freescale i.MX Firmware files used for boot"
3 3
4require firmware-imx-${PV}.inc 4require firmware-imx-${PV}.inc
diff --git a/recipes-bsp/firmware-upower/firmware-upower_1.3.1.bb b/recipes-bsp/firmware-upower/firmware-upower_1.3.1.bb
index 3a7660f86..2b5a9f50d 100644
--- a/recipes-bsp/firmware-upower/firmware-upower_1.3.1.bb
+++ b/recipes-bsp/firmware-upower/firmware-upower_1.3.1.bb
@@ -4,13 +4,12 @@ LICENSE = "Proprietary"
4SECTION = "BSP" 4SECTION = "BSP"
5LIC_FILES_CHKSUM = "file://COPYING;md5=db4762b09b6bda63da103963e6e081de" 5LIC_FILES_CHKSUM = "file://COPYING;md5=db4762b09b6bda63da103963e6e081de"
6 6
7SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true" 7SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}.bin;fsl-eula=true"
8 8
9S = "${WORKDIR}/${PN}-${PV}" 9S = "${UNPACKDIR}/${PN}-${PV}"
10 10
11inherit fsl-eula-unpack pkgconfig deploy 11inherit fsl-eula-unpack pkgconfig deploy
12 12
13SRC_URI[md5sum] = "65f28bd8ace3ce7116cb15685bfe1cd0"
14SRC_URI[sha256sum] = "1df3a03d69feb38a450ee63abc7713d78cf6339988476e4c9f95ebbf63790f66" 13SRC_URI[sha256sum] = "1df3a03d69feb38a450ee63abc7713d78cf6339988476e4c9f95ebbf63790f66"
15 14
16do_configure[noexec] = "1" 15do_configure[noexec] = "1"
diff --git a/recipes-bsp/fsl-tlu/fsl-tlu_1.0.0.bb b/recipes-bsp/fsl-tlu/fsl-tlu_1.0.0.bb
index 3883c0246..260b01001 100644
--- a/recipes-bsp/fsl-tlu/fsl-tlu_1.0.0.bb
+++ b/recipes-bsp/fsl-tlu/fsl-tlu_1.0.0.bb
@@ -8,8 +8,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=8a71d0475d08eee76d8b6d0c6dbec543"
8SRC_URI = "git://github.com/nxp-qoriq-yocto-sdk/fsl-tlu;protocol=https;nobranch=1" 8SRC_URI = "git://github.com/nxp-qoriq-yocto-sdk/fsl-tlu;protocol=https;nobranch=1"
9SRCREV = "8837cce3c86b30c0931c319e9e1a8ca622ae5354" 9SRCREV = "8837cce3c86b30c0931c319e9e1a8ca622ae5354"
10 10
11S = "${WORKDIR}/git"
12
13do_install() { 11do_install() {
14 install -d ${D}${sbindir}/fsl_tlu 12 install -d ${D}${sbindir}/fsl_tlu
15 find . -type f -exec cp {} ${D}${sbindir}/fsl_tlu/ \; 13 find . -type f -exec cp {} ${D}${sbindir}/fsl_tlu/ \;
diff --git a/recipes-bsp/imx-atf/imx-atf/0001-imx93-trdc-Fix-header-guard.patch b/recipes-bsp/imx-atf/imx-atf/0001-imx93-trdc-Fix-header-guard.patch
new file mode 100644
index 000000000..f475cf334
--- /dev/null
+++ b/recipes-bsp/imx-atf/imx-atf/0001-imx93-trdc-Fix-header-guard.patch
@@ -0,0 +1,35 @@
1From e82cafa7823cb2cad6ce933862b9ffdb880dba49 Mon Sep 17 00:00:00 2001
2From: Tom Hochstein <tom.hochstein@nxp.com>
3Date: Tue, 10 Jun 2025 15:04:32 -0700
4Subject: [PATCH] imx93: trdc: Fix header guard
5
6```
7| In file included from drivers/nxp/trdc/imx_trdc.c:13:
8| include/drivers/nxp/trdc/imx_trdc.h:7: error: header guard 'IMX_TRDC_H' followed by '#define' of a different macro [-Werror=header-guard]
9| 7 | #ifndef IMX_TRDC_H
10| include/drivers/nxp/trdc/imx_trdc.h:8: note: 'IMX_XRDC_H' is defined here; did you mean 'IMX_TRDC_H'?
11| 8 | #define IMX_XRDC_H
12```
13
14Upstream-Status: Submitted [https://github.com/nxp-imx/imx-atf/pull/2]
15Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
16---
17 include/drivers/nxp/trdc/imx_trdc.h | 2 +-
18 1 file changed, 1 insertion(+), 1 deletion(-)
19
20diff --git a/include/drivers/nxp/trdc/imx_trdc.h b/include/drivers/nxp/trdc/imx_trdc.h
21index 7a6200c8d..8c759c65d 100644
22--- a/include/drivers/nxp/trdc/imx_trdc.h
23+++ b/include/drivers/nxp/trdc/imx_trdc.h
24@@ -5,7 +5,7 @@
25 */
26
27 #ifndef IMX_TRDC_H
28-#define IMX_XRDC_H
29+#define IMX_TRDC_H
30
31 #define MBC_BLK_ALL U(255)
32 #define MRC_REG_ALL U(16)
33--
342.34.1
35
diff --git a/recipes-bsp/imx-atf/imx-atf_2.8.bb b/recipes-bsp/imx-atf/imx-atf_2.10.bb
index 8bd6ad121..7448c28c5 100644
--- a/recipes-bsp/imx-atf/imx-atf_2.8.bb
+++ b/recipes-bsp/imx-atf/imx-atf_2.10.bb
@@ -1,4 +1,4 @@
1# Copyright (C) 2017-2023 NXP 1# Copyright (C) 2017-2024 NXP
2 2
3DESCRIPTION = "i.MX ARM Trusted Firmware" 3DESCRIPTION = "i.MX ARM Trusted Firmware"
4SECTION = "BSP" 4SECTION = "BSP"
@@ -7,11 +7,10 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/BSD-3-Clause;m
7 7
8PV .= "+git${SRCPV}" 8PV .= "+git${SRCPV}"
9 9
10SRC_URI = "git://github.com/nxp-imx/imx-atf.git;protocol=https;branch=${SRCBRANCH}" 10SRC_URI = "git://github.com/nxp-imx/imx-atf.git;protocol=https;branch=${SRCBRANCH} \
11SRCBRANCH = "lf_v2.8" 11 file://0001-imx93-trdc-Fix-header-guard.patch"
12SRCREV = "8dbe28631802a51b3ec8179b2c5635b00393ad97" 12SRCBRANCH = "lf_v2.10"
13 13SRCREV = "78a14c75a06dea39036c44ae0f9d23acc7bcaef2"
14S = "${WORKDIR}/git"
15 14
16inherit deploy 15inherit deploy
17 16
@@ -34,7 +33,7 @@ LD[unexport] = "1"
34 33
35# Baremetal, just need a compiler 34# Baremetal, just need a compiler
36INHIBIT_DEFAULT_DEPS = "1" 35INHIBIT_DEFAULT_DEPS = "1"
37DEPENDS = "virtual/${HOST_PREFIX}gcc" 36DEPENDS = "virtual/cross-cc"
38 37
39# Bring in clang compiler if using clang as default 38# Bring in clang compiler if using clang as default
40DEPENDS:append:toolchain-clang = " clang-cross-${TARGET_ARCH}" 39DEPENDS:append:toolchain-clang = " clang-cross-${TARGET_ARCH}"
@@ -48,7 +47,9 @@ def remove_options_tail (in_string):
48 from itertools import takewhile 47 from itertools import takewhile
49 return ' '.join(takewhile(lambda x: not x.startswith('-'), in_string.split(' '))) 48 return ' '.join(takewhile(lambda x: not x.startswith('-'), in_string.split(' ')))
50 49
51EXTRA_OEMAKE += 'LD="${@remove_options_tail(d.getVar('LD'))}.bfd"' 50# LD can have linker suffix in its name e.g. aarch64-yoe-linux-ld.lld so we need to
51# drop .lld as well along with options from LD
52EXTRA_OEMAKE += 'LD="${HOST_PREFIX}ld.bfd"'
52 53
53EXTRA_OEMAKE += 'CC="${@remove_options_tail(d.getVar('CC'))}"' 54EXTRA_OEMAKE += 'CC="${@remove_options_tail(d.getVar('CC'))}"'
54 55
diff --git a/recipes-bsp/imx-kobs/imx-kobs_git.bb b/recipes-bsp/imx-kobs/imx-kobs_git.bb
index bdb02475a..4f0ed79a1 100644
--- a/recipes-bsp/imx-kobs/imx-kobs_git.bb
+++ b/recipes-bsp/imx-kobs/imx-kobs_git.bb
@@ -12,7 +12,6 @@ SRC_URI = "git://github.com/NXPmicro/imx-kobs.git;protocol=https;branch=master \
12 file://0001-Add-missing-includes-as-pointed-out-by-musl.patch \ 12 file://0001-Add-missing-includes-as-pointed-out-by-musl.patch \
13" 13"
14SRCREV = "ff13a99a22aa73cca0e09a33c2ebb6a94ad698da" 14SRCREV = "ff13a99a22aa73cca0e09a33c2ebb6a94ad698da"
15S = "${WORKDIR}/git"
16 15
17inherit autotools pkgconfig 16inherit autotools pkgconfig
18 17
diff --git a/recipes-bsp/imx-lib/imx-lib/0001-Fix-gcc-15-errors.patch b/recipes-bsp/imx-lib/imx-lib/0001-Fix-gcc-15-errors.patch
new file mode 100644
index 000000000..964658fce
--- /dev/null
+++ b/recipes-bsp/imx-lib/imx-lib/0001-Fix-gcc-15-errors.patch
@@ -0,0 +1,54 @@
1From 24e317b5cdc2b78735dfa7d4b2776b587b7a193f Mon Sep 17 00:00:00 2001
2From: Tom Hochstein <tom.hochstein@nxp.com>
3Date: Thu, 12 Jun 2025 13:15:28 -0500
4Subject: [PATCH] Fix gcc 15 errors
5
6Fixes HDMI and IPU headers c23 violations:
7```
8In file included from mxc_hdmi-cec.c:40:
9hdmi-cec.h:54:23: error: 'bool' cannot be defined via 'typedef'
10 54 | typedef unsigned char bool;
11 | ^~~~
12hdmi-cec.h:54:23: note: 'bool' is a keyword with '-std=c23' onwards
13hdmi-cec.h:54:1: warning: useless type name in empty declaration
14 54 | typedef unsigned char bool;
15 | ^~~~~~~
16```
17
18Upstream-Status: Submitted
19Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
20---
21 hdmi-cec/hdmi-cec.h | 2 --
22 ipu/ipu.h | 3 ---
23 2 files changed, 5 deletions(-)
24
25diff --git a/hdmi-cec/hdmi-cec.h b/hdmi-cec/hdmi-cec.h
26index 7d466c5..2b66208 100644
27--- a/hdmi-cec/hdmi-cec.h
28+++ b/hdmi-cec/hdmi-cec.h
29@@ -51,8 +51,6 @@
30 #define false 0
31 #endif
32
33-typedef unsigned char bool;
34-
35 /*!
36 * Enumeration of device type.
37 */
38diff --git a/ipu/ipu.h b/ipu/ipu.h
39index 278385c..1a55875 100644
40--- a/ipu/ipu.h
41+++ b/ipu/ipu.h
42@@ -30,9 +30,6 @@
43 #ifdef __KERNEL__
44 #include <linux/interrupt.h>
45 #else
46-#ifndef __cplusplus
47-typedef unsigned char bool;
48-#endif
49 #define irqreturn_t int
50 #define dma_addr_t int
51 #define u32 unsigned int
52--
532.34.1
54
diff --git a/recipes-bsp/imx-lib/imx-lib_git.bb b/recipes-bsp/imx-lib/imx-lib_git.bb
index d06ccfa10..a5df492d2 100644
--- a/recipes-bsp/imx-lib/imx-lib_git.bb
+++ b/recipes-bsp/imx-lib/imx-lib_git.bb
@@ -12,12 +12,11 @@ PE = "1"
12 12
13PV = "5.9+${SRCPV}" 13PV = "5.9+${SRCPV}"
14 14
15SRC_URI = "git://github.com/nxp-imx/imx-lib.git;protocol=https;branch=${SRCBRANCH}" 15SRC_URI = "git://github.com/nxp-imx/imx-lib.git;protocol=https;branch=${SRCBRANCH} \
16SRCBRANCH = "lf-6.6.3_1.0.0" 16 file://0001-Fix-gcc-15-errors.patch"
17SRCBRANCH = "lf-6.12.3_1.0.0"
17SRCREV = "8f124c3914d82019849fb697baeb730e4cb1b547" 18SRCREV = "8f124c3914d82019849fb697baeb730e4cb1b547"
18 19
19S = "${WORKDIR}/git"
20
21inherit use-imx-headers 20inherit use-imx-headers
22 21
23PLATFORM:mx6q-nxp-bsp = "IMX6Q" 22PLATFORM:mx6q-nxp-bsp = "IMX6Q"
@@ -32,7 +31,7 @@ PLATFORM:mx7ulp-nxp-bsp = "IMX7"
32PLATFORM:mx8ulp-nxp-bsp = "IMX8ULP" 31PLATFORM:mx8ulp-nxp-bsp = "IMX8ULP"
33PLATFORM:mx9-nxp-bsp = "IMX8ULP" 32PLATFORM:mx9-nxp-bsp = "IMX8ULP"
34 33
35PARALLEL_MAKE="-j 1" 34PARALLEL_MAKE = "-j 1"
36EXTRA_OEMAKE = "" 35EXTRA_OEMAKE = ""
37 36
38do_compile () { 37do_compile () {
diff --git a/recipes-bsp/imx-mkimage/imx-boot_1.0.bb b/recipes-bsp/imx-mkimage/imx-boot_1.0.bb
index 7792b27bd..6b027eb75 100644
--- a/recipes-bsp/imx-mkimage/imx-boot_1.0.bb
+++ b/recipes-bsp/imx-mkimage/imx-boot_1.0.bb
@@ -1,4 +1,4 @@
1# Copyright (C) 2017-2020 NXP 1# Copyright (C) 2017-2024 NXP
2 2
3require imx-mkimage_git.inc 3require imx-mkimage_git.inc
4 4
@@ -7,7 +7,7 @@ LICENSE = "GPL-2.0-only"
7LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0-only;md5=801f80980d171dd6425610833a22dbe6" 7LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0-only;md5=801f80980d171dd6425610833a22dbe6"
8SECTION = "BSP" 8SECTION = "BSP"
9 9
10inherit use-imx-security-controller-firmware uboot-sign 10inherit use-imx-security-controller-firmware uboot-config
11 11
12DEPENDS += " \ 12DEPENDS += " \
13 u-boot \ 13 u-boot \
@@ -18,14 +18,11 @@ DEPENDS += " \
18# xxd is a dependency of fspi_packer.sh 18# xxd is a dependency of fspi_packer.sh
19DEPENDS += "xxd-native" 19DEPENDS += "xxd-native"
20DEPENDS:append:mx8m-generic-bsp = " u-boot-mkimage-native dtc-native" 20DEPENDS:append:mx8m-generic-bsp = " u-boot-mkimage-native dtc-native"
21BOOT_NAME = "imx-boot" 21DEPENDS:append:mx93-generic-bsp = " u-boot-mkimage-native dtc-native"
22PROVIDES = "${BOOT_NAME}"
23 22
24inherit deploy uuu_bootloader_tag 23inherit deploy uuu_bootloader_tag
25 24
26UUU_BOOTLOADER = "${BOOT_NAME}" 25UUU_BOOTLOADER = "imx-boot"
27UUU_BOOTLOADER_TAGGED = "${BOOT_NAME}-tagged"
28UUU_BOOTLOADER_UNTAGGED = "${BOOT_NAME}-untagged"
29 26
30# Add CFLAGS with native INCDIR & LIBDIR for imx-mkimage build 27# Add CFLAGS with native INCDIR & LIBDIR for imx-mkimage build
31CFLAGS = "-O2 -Wall -std=c99 -I ${STAGING_INCDIR_NATIVE} -L ${STAGING_LIBDIR_NATIVE}" 28CFLAGS = "-O2 -Wall -std=c99 -I ${STAGING_INCDIR_NATIVE} -L ${STAGING_LIBDIR_NATIVE}"
@@ -41,14 +38,20 @@ do_compile[depends] += " \
41 38
42SC_FIRMWARE_NAME ?= "scfw_tcm.bin" 39SC_FIRMWARE_NAME ?= "scfw_tcm.bin"
43 40
41OEI_ENABLE = "${@bb.utils.contains('DEPENDS', 'virtual/imx-oei', 'YES', 'NO', d)}"
42OEI_NAME ?= "oei-${OEI_CORE}-*.bin"
43
44ATF_MACHINE_NAME ?= "bl31-${ATF_PLATFORM}.bin" 44ATF_MACHINE_NAME ?= "bl31-${ATF_PLATFORM}.bin"
45ATF_MACHINE_NAME:append = "${@bb.utils.contains('MACHINE_FEATURES', 'optee', '-optee', '', d)}" 45ATF_MACHINE_NAME:append = "${@bb.utils.contains('MACHINE_FEATURES', 'optee', '-optee', '', d)}"
46 46
47BOOT_VARIANT ?= ""
48
47TOOLS_NAME ?= "mkimage_imx8" 49TOOLS_NAME ?= "mkimage_imx8"
48 50
49IMX_BOOT_SOC_TARGET ?= "INVALID" 51IMX_BOOT_SOC_TARGET ?= "INVALID"
50 52
51DEPLOY_OPTEE = "${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'true', 'false', d)}" 53DEPLOY_OPTEE = "${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'true', 'false', d)}"
54DEPLOY_OPTEE_STMM = "${@bb.utils.contains('MACHINE_FEATURES', 'optee stmm', 'true', 'false', d)}"
52 55
53IMXBOOT_TARGETS ?= \ 56IMXBOOT_TARGETS ?= \
54 "${@bb.utils.contains('UBOOT_CONFIG', 'fspi', 'flash_flexspi', \ 57 "${@bb.utils.contains('UBOOT_CONFIG', 'fspi', 'flash_flexspi', \
@@ -58,24 +61,32 @@ IMXBOOT_TARGETS ?= \
58BOOT_STAGING = "${S}/${IMX_BOOT_SOC_TARGET}" 61BOOT_STAGING = "${S}/${IMX_BOOT_SOC_TARGET}"
59BOOT_STAGING:mx8m-generic-bsp = "${S}/iMX8M" 62BOOT_STAGING:mx8m-generic-bsp = "${S}/iMX8M"
60BOOT_STAGING:mx8dx-generic-bsp = "${S}/iMX8QX" 63BOOT_STAGING:mx8dx-generic-bsp = "${S}/iMX8QX"
61BOOT_STAGING:mx91p-generic-bsp = "${S}/iMX91" 64BOOT_STAGING:mx91-generic-bsp = "${S}/iMX91"
62BOOT_STAGING:mx93-generic-bsp = "${S}/iMX93" 65BOOT_STAGING:mx93-generic-bsp = "${S}/iMX93"
66BOOT_STAGING:mx95-generic-bsp = "${S}/iMX95"
63 67
64SOC_FAMILY = "INVALID" 68SOC_FAMILY = "INVALID"
65SOC_FAMILY:mx8-generic-bsp = "mx8" 69SOC_FAMILY:mx8-generic-bsp = "mx8"
66SOC_FAMILY:mx8m-generic-bsp = "mx8m" 70SOC_FAMILY:mx8m-generic-bsp = "mx8m"
67SOC_FAMILY:mx8x-generic-bsp = "mx8x" 71SOC_FAMILY:mx8x-generic-bsp = "mx8x"
68SOC_FAMILY:mx8ulp-generic-bsp = "mx8ulp" 72SOC_FAMILY:mx8ulp-generic-bsp = "mx8ulp"
69SOC_FAMILY:mx91p-generic-bsp = "mx93" 73SOC_FAMILY:mx91-generic-bsp = "mx91"
70SOC_FAMILY:mx93-generic-bsp = "mx93" 74SOC_FAMILY:mx93-generic-bsp = "mx93"
75SOC_FAMILY:mx95-generic-bsp = "mx95"
71 76
72REV_OPTION ?= "REV=${IMX_SOC_REV_UPPER}" 77REV_OPTION ?= "REV=${IMX_SOC_REV_UPPER}"
73 78
74do_uboot_assemble_fitimage:prepend:imx-generic-bsp() { 79MKIMAGE_EXTRA_ARGS ?= ""
75 for config in ${UBOOT_MACHINE}; do 80MKIMAGE_EXTRA_ARGS:mx95-nxp-bsp ?= " \
76 mkdir -p ${B}/${config} 81 OEI=${OEI_ENABLE} \
77 done 82 LPDDR_TYPE=${DDR_TYPE} \
78} 83 ${@'LPDDR_FW_VERSION='+d.getVar('LPDDR_FW_VERSION') if d.getVar('LPDDR_FW_VERSION') else ''} \
84 ${@bb.utils.contains('SYSTEM_MANAGER_CONFIG', 'mx95alt', 'MSEL=1', '', d)}"
85MKIMAGE_EXTRA_ARGS:imx95-19x19-verdin ?= " \
86 ${MKIMAGE_EXTRA_ARGS:mx95-nxp-bsp} \
87 QSPI_HEADER=./scripts/fspi_header_133"
88
89UBOOT_DTB_BINARY ?= "u-boot.dtb"
79 90
80compile_mx8m() { 91compile_mx8m() {
81 bbnote 8MQ/8MM/8MN/8MP boot binary build 92 bbnote 8MQ/8MM/8MN/8MP boot binary build
@@ -91,9 +102,13 @@ compile_mx8m() {
91 102
92 if [ "x${UBOOT_SIGN_ENABLE}" = "x1" ] ; then 103 if [ "x${UBOOT_SIGN_ENABLE}" = "x1" ] ; then
93 # Use DTB binary patched with signature node 104 # Use DTB binary patched with signature node
94 cp ${DEPLOY_DIR_IMAGE}/${UBOOT_DTB_BINARY} ${BOOT_STAGING}/${UBOOT_DTB_NAME_EXTRA} 105 cp ${DEPLOY_DIR_IMAGE}/${UBOOT_DTB_BINARY} ${BOOT_STAGING}/${UBOOT_DTB_NAME_EXTRA}
95 else 106 else
96 cp ${DEPLOY_DIR_IMAGE}/${BOOT_TOOLS}/${UBOOT_DTB_NAME_EXTRA} ${BOOT_STAGING} 107 cp ${DEPLOY_DIR_IMAGE}/${BOOT_TOOLS}/${UBOOT_DTB_NAME_EXTRA} \
108 ${BOOT_STAGING}
109 fi
110 if [ "${UBOOT_DTB_NAME_EXTRA}" != "${UBOOT_DTB_NAME}" ] ; then
111 ln -sf ${UBOOT_DTB_NAME_EXTRA} ${BOOT_STAGING}/${UBOOT_DTB_NAME}
97 fi 112 fi
98 113
99 cp ${DEPLOY_DIR_IMAGE}/${BOOT_TOOLS}/u-boot-nodtb.bin-${MACHINE}-${UBOOT_CONFIG_EXTRA} \ 114 cp ${DEPLOY_DIR_IMAGE}/${BOOT_TOOLS}/u-boot-nodtb.bin-${MACHINE}-${UBOOT_CONFIG_EXTRA} \
@@ -101,9 +116,10 @@ compile_mx8m() {
101 116
102 cp ${DEPLOY_DIR_IMAGE}/${ATF_MACHINE_NAME} ${BOOT_STAGING}/bl31.bin 117 cp ${DEPLOY_DIR_IMAGE}/${ATF_MACHINE_NAME} ${BOOT_STAGING}/bl31.bin
103 118
104 cp ${DEPLOY_DIR_IMAGE}/${UBOOT_NAME_EXTRA} ${BOOT_STAGING}/u-boot.bin 119 cp ${DEPLOY_DIR_IMAGE}/${UBOOT_NAME_EXTRA} ${BOOT_STAGING}/u-boot.bin
105 120
106} 121}
122
107compile_mx8() { 123compile_mx8() {
108 bbnote 8QM boot binary build 124 bbnote 8QM boot binary build
109 cp ${DEPLOY_DIR_IMAGE}/${BOOT_TOOLS}/${SC_FIRMWARE_NAME} ${BOOT_STAGING}/scfw_tcm.bin 125 cp ${DEPLOY_DIR_IMAGE}/${BOOT_TOOLS}/${SC_FIRMWARE_NAME} ${BOOT_STAGING}/scfw_tcm.bin
@@ -140,6 +156,11 @@ compile_mx8ulp() {
140 fi 156 fi
141} 157}
142 158
159compile_mx91() {
160 bbnote i.MX 91 boot binary build
161 compile_mx93
162}
163
143compile_mx93() { 164compile_mx93() {
144 bbnote i.MX 93 boot binary build 165 bbnote i.MX 93 boot binary build
145 for ddr_firmware in ${DDR_FIRMWARE_NAME}; do 166 for ddr_firmware in ${DDR_FIRMWARE_NAME}; do
@@ -156,13 +177,30 @@ compile_mx93() {
156 fi 177 fi
157} 178}
158 179
180compile_mx95() {
181 bbnote i.MX 95 boot binary build
182 compile_mx93
183
184 cp ${DEPLOY_DIR_IMAGE}/${SYSTEM_MANAGER_FIRMWARE_NAME}.bin \
185 ${BOOT_STAGING}/${SYSTEM_MANAGER_FIRMWARE_BASENAME}.bin
186}
187
159do_compile() { 188do_compile() {
160 # mkimage for i.MX8 189 # mkimage for i.MX8
161 # Copy TEE binary to SoC target folder to mkimage 190 # Copy TEE binary to SoC target folder to mkimage
162 if ${DEPLOY_OPTEE}; then 191 if ${DEPLOY_OPTEE}; then
163 cp ${DEPLOY_DIR_IMAGE}/tee.bin ${BOOT_STAGING} 192 cp ${DEPLOY_DIR_IMAGE}/tee.bin ${BOOT_STAGING}
193 if ${DEPLOY_OPTEE_STMM}; then
194 # Copy tee.bin to tee.bin-stmm
195 cp ${DEPLOY_DIR_IMAGE}/tee.bin ${BOOT_STAGING}/tee.bin-stmm
196 fi
164 fi 197 fi
165 for type in ${UBOOT_CONFIG}; do 198 # Copy OEI firmware to SoC target folder to mkimage
199 if [ "${OEI_ENABLE}" = "YES" ]; then
200 cp ${DEPLOY_DIR_IMAGE}/${OEI_NAME} ${BOOT_STAGING}
201 fi
202
203 for type in ${UBOOT_CONFIG}; do
166 if [ "${@d.getVarFlags('UBOOT_DTB_NAME')}" = "None" ]; then 204 if [ "${@d.getVarFlags('UBOOT_DTB_NAME')}" = "None" ]; then
167 UBOOT_DTB_NAME_FLAGS="${type}:${UBOOT_DTB_NAME}" 205 UBOOT_DTB_NAME_FLAGS="${type}:${UBOOT_DTB_NAME}"
168 else 206 else
@@ -185,18 +223,30 @@ do_compile() {
185 UBOOT_DTB_NAME_EXTRA="${dtb_name}" 223 UBOOT_DTB_NAME_EXTRA="${dtb_name}"
186 fi 224 fi
187 UBOOT_NAME_EXTRA="u-boot-${MACHINE}.bin-${UBOOT_CONFIG_EXTRA}" 225 UBOOT_NAME_EXTRA="u-boot-${MACHINE}.bin-${UBOOT_CONFIG_EXTRA}"
188 BOOT_CONFIG_MACHINE_EXTRA="${BOOT_NAME}-${MACHINE}-${UBOOT_CONFIG_EXTRA}.bin" 226 BOOT_CONFIG_MACHINE_EXTRA="imx-boot${BOOT_VARIANT}-${MACHINE}-${UBOOT_CONFIG_EXTRA}.bin"
189 227
190 for target in ${IMXBOOT_TARGETS}; do 228 for target in ${IMXBOOT_TARGETS}; do
191 compile_${SOC_FAMILY} 229 compile_${SOC_FAMILY}
192 if [ "$target" = "flash_linux_m4_no_v2x" ]; then 230 case $target in
231 *no_v2x)
193 # Special target build for i.MX 8DXL with V2X off 232 # Special target build for i.MX 8DXL with V2X off
194 bbnote "building ${IMX_BOOT_SOC_TARGET} - ${REV_OPTION} V2X=NO ${target}" 233 bbnote "building ${IMX_BOOT_SOC_TARGET} - ${REV_OPTION} V2X=NO ${target}"
195 make SOC=${IMX_BOOT_SOC_TARGET} ${REV_OPTION} V2X=NO dtbs=${UBOOT_DTB_NAME_EXTRA} flash_linux_m4 234 make SOC=${IMX_BOOT_SOC_TARGET} ${REV_OPTION} V2X=NO dtbs=${UBOOT_DTB_NAME_EXTRA} flash_linux_m4
196 else 235 ;;
197 bbnote "building ${IMX_BOOT_SOC_TARGET} - ${REV_OPTION} ${target}" 236 *stmm_capsule)
198 make SOC=${IMX_BOOT_SOC_TARGET} ${REV_OPTION} dtbs=${UBOOT_DTB_NAME_EXTRA} ${target} 237 # target for flash_evk_stmm_capsule or
199 fi 238 # flash_singleboot_stmm_capsule
239 cp ${RECIPE_SYSROOT_NATIVE}/${bindir}/mkeficapsule ${BOOT_STAGING}
240 bbnote "building ${IMX_BOOT_SOC_TARGET} - TEE=tee.bin-stmm ${target}"
241 cp ${DEPLOY_DIR_IMAGE}/CRT.* ${BOOT_STAGING}
242 make SOC=${IMX_BOOT_SOC_TARGET} TEE=tee.bin-stmm dtbs=${UBOOT_DTB_NAME} ${REV_OPTION} ${target}
243 ;;
244 *)
245 bbnote "building ${IMX_BOOT_SOC_TARGET} - ${REV_OPTION} ${MKIMAGE_EXTRA_ARGS} ${target}"
246 make SOC=${IMX_BOOT_SOC_TARGET} ${REV_OPTION} ${MKIMAGE_EXTRA_ARGS} dtbs=${UBOOT_DTB_NAME} ${target}
247 ;;
248 esac
249
200 if [ -e "${BOOT_STAGING}/flash.bin" ]; then 250 if [ -e "${BOOT_STAGING}/flash.bin" ]; then
201 cp ${BOOT_STAGING}/flash.bin ${S}/${BOOT_CONFIG_MACHINE_EXTRA}-${target} 251 cp ${BOOT_STAGING}/flash.bin ${S}/${BOOT_CONFIG_MACHINE_EXTRA}-${target}
202 fi 252 fi
@@ -224,7 +274,7 @@ do_install () {
224 bbnote "UBOOT_CONFIG = $type" 274 bbnote "UBOOT_CONFIG = $type"
225 275
226 UBOOT_CONFIG_EXTRA="$type" 276 UBOOT_CONFIG_EXTRA="$type"
227 BOOT_CONFIG_MACHINE_EXTRA="${BOOT_NAME}-${MACHINE}-${UBOOT_CONFIG_EXTRA}.bin" 277 BOOT_CONFIG_MACHINE_EXTRA="imx-boot${BOOT_VARIANT}-${MACHINE}-${UBOOT_CONFIG_EXTRA}.bin"
228 278
229 for target in ${IMXBOOT_TARGETS}; do 279 for target in ${IMXBOOT_TARGETS}; do
230 install -m 0644 ${S}/${BOOT_CONFIG_MACHINE_EXTRA}-${target} ${D}/boot/ 280 install -m 0644 ${S}/${BOOT_CONFIG_MACHINE_EXTRA}-${target} ${D}/boot/
@@ -279,6 +329,10 @@ deploy_mx8ulp() {
279 fi 329 fi
280} 330}
281 331
332deploy_mx91() {
333 deploy_mx93
334}
335
282deploy_mx93() { 336deploy_mx93() {
283 install -d ${DEPLOYDIR}/${BOOT_TOOLS} 337 install -d ${DEPLOYDIR}/${BOOT_TOOLS}
284 338
@@ -294,6 +348,12 @@ deploy_mx93() {
294 fi 348 fi
295} 349}
296 350
351deploy_mx95() {
352 deploy_mx93
353 install -m 0644 ${BOOT_STAGING}/${SYSTEM_MANAGER_FIRMWARE_BASENAME}.bin \
354 ${DEPLOYDIR}/${BOOT_TOOLS}/${SYSTEM_MANAGER_FIRMWARE_NAME}.bin
355}
356
297do_deploy() { 357do_deploy() {
298 deploy_${SOC_FAMILY} 358 deploy_${SOC_FAMILY}
299 359
@@ -301,13 +361,27 @@ do_deploy() {
301 if ${DEPLOY_OPTEE}; then 361 if ${DEPLOY_OPTEE}; then
302 install -m 0644 ${DEPLOY_DIR_IMAGE}/tee.bin ${DEPLOYDIR}/${BOOT_TOOLS} 362 install -m 0644 ${DEPLOY_DIR_IMAGE}/tee.bin ${DEPLOYDIR}/${BOOT_TOOLS}
303 fi 363 fi
364
365 # copy oei to deploy path
366 if [ "${OEI_ENABLE}" = "YES" ]; then
367 install -m 0644 ${BOOT_STAGING}/${OEI_NAME} ${DEPLOYDIR}/${BOOT_TOOLS}
368 fi
369
304 # copy makefile (soc.mak) for reference 370 # copy makefile (soc.mak) for reference
305 install -m 0644 ${BOOT_STAGING}/soc.mak ${DEPLOYDIR}/${BOOT_TOOLS} 371 install -m 0644 ${BOOT_STAGING}/soc.mak ${DEPLOYDIR}/${BOOT_TOOLS}
306 372
373 # copy stmm files to deploy path
374 if ${DEPLOY_OPTEE_STMM}; then
375 install -m 0644 ${BOOT_STAGING}/tee.bin-stmm ${DEPLOYDIR}/${BOOT_TOOLS}
376 install -m 0644 ${BOOT_STAGING}/capsule1.bin ${DEPLOYDIR}/${BOOT_TOOLS}
377 install -m 0644 ${BOOT_STAGING}/CRT.* ${DEPLOYDIR}/${BOOT_TOOLS}
378 install -m 0755 ${BOOT_STAGING}/mkeficapsule ${DEPLOYDIR}/${BOOT_TOOLS}
379 fi
380
307 for type in ${UBOOT_CONFIG}; do 381 for type in ${UBOOT_CONFIG}; do
308 UBOOT_CONFIG_EXTRA="$type" 382 UBOOT_CONFIG_EXTRA="$type"
309 UBOOT_NAME_EXTRA="u-boot-${MACHINE}.bin-${UBOOT_CONFIG_EXTRA}" 383 UBOOT_NAME_EXTRA="u-boot-${MACHINE}.bin-${UBOOT_CONFIG_EXTRA}"
310 BOOT_CONFIG_MACHINE_EXTRA="${BOOT_NAME}-${MACHINE}-${UBOOT_CONFIG_EXTRA}.bin" 384 BOOT_CONFIG_MACHINE_EXTRA="imx-boot${BOOT_VARIANT}-${MACHINE}-${UBOOT_CONFIG_EXTRA}.bin"
311 385
312 if [ -e ${DEPLOY_DIR_IMAGE}/u-boot-spl.bin-${MACHINE}-${UBOOT_CONFIG_EXTRA} ] ; then 386 if [ -e ${DEPLOY_DIR_IMAGE}/u-boot-spl.bin-${MACHINE}-${UBOOT_CONFIG_EXTRA} ] ; then
313 install -m 0644 ${DEPLOY_DIR_IMAGE}/u-boot-spl.bin-${MACHINE}-${UBOOT_CONFIG_EXTRA} \ 387 install -m 0644 ${DEPLOY_DIR_IMAGE}/u-boot-spl.bin-${MACHINE}-${UBOOT_CONFIG_EXTRA} \
@@ -326,9 +400,9 @@ do_deploy() {
326 install -m 0644 ${S}/${BOOT_CONFIG_MACHINE_EXTRA}-${target} ${DEPLOYDIR} 400 install -m 0644 ${S}/${BOOT_CONFIG_MACHINE_EXTRA}-${target} ${DEPLOYDIR}
327 done 401 done
328 402
329 # The first UBOOT_CONFIG listed will be the ${BOOT_NAME} binary 403 # The first UBOOT_CONFIG listed will be the imx-boot binary
330 if [ ! -f "${DEPLOYDIR}/${UUU_BOOTLOADER}" ]; then 404 if [ ! -f "${DEPLOYDIR}/imx-boot" ]; then
331 ln -sf ${BOOT_CONFIG_MACHINE_EXTRA}-${IMAGE_IMXBOOT_TARGET} ${DEPLOYDIR}/${BOOT_NAME} 405 ln -sf ${BOOT_CONFIG_MACHINE_EXTRA}-${IMAGE_IMXBOOT_TARGET} ${DEPLOYDIR}/imx-boot
332 else 406 else
333 bbwarn "Use custom wks.in for $UBOOT_CONFIG = $type" 407 bbwarn "Use custom wks.in for $UBOOT_CONFIG = $type"
334 fi 408 fi
diff --git a/recipes-bsp/imx-mkimage/imx-mkimage_git.inc b/recipes-bsp/imx-mkimage/imx-mkimage_git.inc
index fb3df750a..3389b5b5e 100644
--- a/recipes-bsp/imx-mkimage/imx-mkimage_git.inc
+++ b/recipes-bsp/imx-mkimage/imx-mkimage_git.inc
@@ -1,14 +1,12 @@
1# Copyright 2017-2022 NXP 1# Copyright 2017-2025 NXP
2 2
3DEPENDS = "zlib-native openssl-native" 3DEPENDS = "zlib-native openssl-native"
4 4
5SRC_URI = "git://github.com/nxp-imx/imx-mkimage.git;protocol=https;branch=${SRCBRANCH} \ 5SRC_URI = "git://github.com/nxp-imx/imx-mkimage.git;protocol=https;branch=${SRCBRANCH} \
6 file://0001-iMX8M-soc.mak-use-native-mkimage-from-sysroot.patch \ 6 file://0001-iMX8M-soc.mak-use-native-mkimage-from-sysroot.patch \
7" 7"
8SRCBRANCH = "lf-6.6.3_1.0.0" 8SRCBRANCH = "lf-6.12.3_1.0.0"
9SRCREV = "cbb99377cc2bb8f7cf213794c030e1c60423ef1f" 9SRCREV = "9e60b1f7a87a6397cf8db10e07293075f489e974"
10
11S = "${WORKDIR}/git"
12 10
13BOOT_TOOLS = "imx-boot-tools" 11BOOT_TOOLS = "imx-boot-tools"
14SYSROOT_DIRS += "/boot" 12SYSROOT_DIRS += "/boot"
diff --git a/recipes-bsp/imx-sc-firmware/imx-sc-firmware_1.15.0.bb b/recipes-bsp/imx-sc-firmware/imx-sc-firmware_1.18.0.bb
index 7dc2e593e..42e8f6e19 100644
--- a/recipes-bsp/imx-sc-firmware/imx-sc-firmware_1.15.0.bb
+++ b/recipes-bsp/imx-sc-firmware/imx-sc-firmware_1.18.0.bb
@@ -1,17 +1,18 @@
1# Copyright (C) 2016 Freescale Semiconductor 1# Copyright (C) 2016 Freescale Semiconductor
2# Copyright 2017-2022 NXP 2# Copyright (C) 2017-2024 NXP
3 3
4DESCRIPTION = "i.MX System Controller Firmware" 4DESCRIPTION = "i.MX System Controller Firmware"
5LICENSE = "Proprietary" 5LICENSE = "Proprietary"
6LIC_FILES_CHKSUM = "file://COPYING;md5=5a0bf11f745e68024f37b4724a5364fe" 6LIC_FILES_CHKSUM = "file://COPYING;md5=c0fb372b5d7f12181de23ef480f225f3"
7SECTION = "BSP" 7SECTION = "BSP"
8 8
9inherit fsl-eula-unpack pkgconfig deploy 9inherit fsl-eula-unpack pkgconfig deploy
10 10
11SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}.bin;fsl-eula=true" 11SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true"
12SRC_URI[sha256sum] = "392f1e5cdf1c8d7ed75409a2c46b00a332ace677f0e2700b587fe9ae800a1ff3"
13IMX_SRCREV_ABBREV = "654907b"
12 14
13SRC_URI[md5sum] = "d608eb2b3d312da1dbde55b8514c1e0f" 15S = "${UNPACKDIR}/${BPN}-${PV}-${IMX_SRCREV_ABBREV}"
14SRC_URI[sha256sum] = "1272ac5c31a88017ef548721f3acf930a7eda6ac73aa9f41b5f0cade9d5c0e5f"
15 16
16BOARD_TYPE ?= "mek" 17BOARD_TYPE ?= "mek"
17SC_FIRMWARE_NAME ?= "INVALID" 18SC_FIRMWARE_NAME ?= "INVALID"
@@ -24,6 +25,9 @@ symlink_name = "scfw_tcm.bin"
24 25
25BOOT_TOOLS = "imx-boot-tools" 26BOOT_TOOLS = "imx-boot-tools"
26 27
28LDFLAGS:remove = "-fuse-ld=lld"
29LDFLAGS:append = " -fuse-ld=bfd"
30
27do_compile[noexec] = "1" 31do_compile[noexec] = "1"
28 32
29do_install[noexec] = "1" 33do_install[noexec] = "1"
@@ -38,8 +42,4 @@ INHIBIT_PACKAGE_STRIP = "1"
38INHIBIT_PACKAGE_DEBUG_SPLIT = "1" 42INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
39PACKAGE_ARCH = "${MACHINE_ARCH}" 43PACKAGE_ARCH = "${MACHINE_ARCH}"
40 44
41LDFLAGS:remove = "-fuse-ld=lld"
42
43DEBUG_PREFIX_MAP:remove = "-fcanon-prefix-map"
44
45COMPATIBLE_MACHINE = "(mx8qm-generic-bsp|mx8qxp-generic-bsp|mx8dxl-generic-bsp|mx8dx-generic-bsp)" 45COMPATIBLE_MACHINE = "(mx8qm-generic-bsp|mx8qxp-generic-bsp|mx8dxl-generic-bsp|mx8dx-generic-bsp)"
diff --git a/recipes-bsp/imx-seco/imx-seco-libs_git.bb b/recipes-bsp/imx-seco/imx-seco-libs_git.bb
index b0296e977..fe366aacb 100644
--- a/recipes-bsp/imx-seco/imx-seco-libs_git.bb
+++ b/recipes-bsp/imx-seco/imx-seco-libs_git.bb
@@ -8,20 +8,18 @@ LIC_FILES_CHKSUM = "file://EULA.txt;md5=d3c315c6eaa43e07d8c130dc3a04a011"
8 8
9DEPENDS = "zlib" 9DEPENDS = "zlib"
10 10
11SRCBRANCH = "imx_5.4.70_2.3.11" 11SRCBRANCH = "lf-6.6.3_1.0.0"
12SRC_URI = "git://github.com/NXP/imx-seco-libs.git;protocol=https;branch=${SRCBRANCH} \ 12SRC_URI = "git://github.com/NXP/imx-seco-libs.git;protocol=https;branch=${SRCBRANCH} \
13 file://0001-Makefile-Fix-LIBDIR-for-multilib.patch \ 13 file://0001-Makefile-Fix-LIBDIR-for-multilib.patch \
14 file://0002-Makefile-Fix-install-to-clear-host-user-contaminated.patch \ 14 file://0002-Makefile-Fix-install-to-clear-host-user-contaminated.patch \
15 file://0001-add-v2x_test-to-the-installed-binaries.patch \ 15 file://0001-add-v2x_test-to-the-installed-binaries.patch \
16 file://0001-Fix-return-value-of-void-functions.patch" 16 file://0001-Fix-return-value-of-void-functions.patch"
17SRCREV = "aa8d62900c41cc779c11fe4e6f58b40c3c9f82f0" 17SRCREV = "273553f207425f773400be7a7f3a7c425d892d6f"
18
19S = "${WORKDIR}/git"
20 18
21TARGET_CC_ARCH += "${LDFLAGS}" 19TARGET_CC_ARCH += "${LDFLAGS}"
22 20
23do_install () { 21do_install () {
24 oe_runmake DESTDIR=${D} BINDIR=${bindir} LIBDIR=${libdir} install 22 oe_runmake DESTDIR=${D} BINDIR=${bindir} LIBDIR=${libdir} install
25} 23}
26 24
27COMPATIBLE_MACHINE = "(mx8qm-nxp-bsp|mx8qxp-nxp-bsp|mx8dxl-nxp-bsp|mx8dx-nxp-bsp)" 25COMPATIBLE_MACHINE = "(mx8qm-nxp-bsp|mx8qxp-nxp-bsp|mx8dxl-nxp-bsp|mx8dx-nxp-bsp)"
diff --git a/recipes-bsp/imx-seco/imx-seco_5.9.0.bb b/recipes-bsp/imx-seco/imx-seco_5.9.4.1.bb
index f7dadea57..2710297d6 100644
--- a/recipes-bsp/imx-seco/imx-seco_5.9.0.bb
+++ b/recipes-bsp/imx-seco/imx-seco_5.9.4.1.bb
@@ -1,18 +1,19 @@
1# Copyright 2019-2022 NXP 1# Copyright 2019-2024 NXP
2 2
3SUMMARY = "NXP i.MX SECO firmware" 3SUMMARY = "NXP i.MX SECO firmware"
4DESCRIPTION = "Firmware for i.MX Security Controller Subsystem" 4DESCRIPTION = "Firmware for i.MX Security Controller Subsystem"
5SECTION = "base" 5SECTION = "base"
6LICENSE = "Proprietary" 6LICENSE = "Proprietary"
7LIC_FILES_CHKSUM = "file://COPYING;md5=5a0bf11f745e68024f37b4724a5364fe" 7LIC_FILES_CHKSUM = "file://COPYING;md5=ca53281cc0caa7e320d4945a896fb837"
8 8
9inherit fsl-eula-unpack use-imx-security-controller-firmware deploy 9inherit fsl-eula-unpack use-imx-security-controller-firmware deploy
10 10
11SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true" 11SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true"
12 12
13SRC_URI[md5sum] = "b722a534c4d3cc90270e05eaa812514d" 13SRC_URI[sha256sum] = "bd8dc01966076836aabff53f2463295294166595006e1db430db21b6ffa6b667"
14SRC_URI[sha256sum] = "c3bd761f457e939035b01a0ab36e79064a2a1bc6c3cdb3cd847f7f38df0964df" 14IMX_SRCREV_ABBREV = "0333596"
15 15
16S = "${UNPACKDIR}/${BPN}-${PV}-${IMX_SRCREV_ABBREV}"
16 17
17do_compile[noexec] = "1" 18do_compile[noexec] = "1"
18 19
diff --git a/recipes-bsp/imx-secure-enclave/imx-secure-enclave_git.bb b/recipes-bsp/imx-secure-enclave/imx-secure-enclave_git.bb
new file mode 100644
index 000000000..525824f79
--- /dev/null
+++ b/recipes-bsp/imx-secure-enclave/imx-secure-enclave_git.bb
@@ -0,0 +1,29 @@
1SUMMARY = "NXP i.MX Secure Enclave Userspace Library"
2DESCRIPTION = "NXP i.MX Secure Enclave Userspace Library"
3SECTION = "base"
4
5LICENSE = "BSD-3-Clause"
6LIC_FILES_CHKSUM = "file://LICENSE;md5=8636bd68fc00cc6a3809b7b58b45f982"
7
8DEPENDS = "openssl"
9
10inherit systemd
11
12SRC_URI = "git://github.com/NXP/imx-secure-enclave.git;protocol=https;branch=lf-6.6.52_2.2.0"
13SRCREV = "dffbb844e86f4a49058ffbb40548474059969c27"
14
15PV = "lf-6.6.52_2.2.0"
16
17EXTRA_OEMAKE += "PLAT=ele"
18
19TARGET_CC_ARCH += "${LDFLAGS}"
20
21do_install () {
22 oe_runmake DESTDIR=${D} install
23 rm -rf ${D}/usr/share
24}
25
26SYSTEMD_AUTO_ENABLE = "disable"
27SYSTEMD_SERVICE:${PN} = "nvm_daemon.service"
28
29COMPATIBLE_MACHINE = "(mx8ulp-nxp-bsp|mx9-nxp-bsp)"
diff --git a/recipes-bsp/imx-test/imx-test_git.bb b/recipes-bsp/imx-test/imx-test_git.bb
index 930cdf949..46a00d4fc 100644
--- a/recipes-bsp/imx-test/imx-test_git.bb
+++ b/recipes-bsp/imx-test/imx-test_git.bb
@@ -20,10 +20,8 @@ PV = "7.0+${SRCPV}"
20 20
21SRC_URI = "git://github.com/nxp-imx/imx-test.git;protocol=https;branch=${SRCBRANCH} \ 21SRC_URI = "git://github.com/nxp-imx/imx-test.git;protocol=https;branch=${SRCBRANCH} \
22 file://memtool_profile" 22 file://memtool_profile"
23SRCBRANCH = "lf-6.6.3_1.0.0" 23SRCBRANCH = "lf-6.12.3_1.0.0"
24SRCREV = "8a1fa37664a1e470cf86f1185c08e265e4602a9b" 24SRCREV = "92a497313016bfa536d561e13fcbad2d273ded4c"
25
26S = "${WORKDIR}/git"
27 25
28inherit module-base use-imx-headers 26inherit module-base use-imx-headers
29 27
@@ -40,6 +38,7 @@ PLATFORM:mx7d-nxp-bsp = "IMX7D"
40PLATFORM:mx7ulp-nxp-bsp = "IMX7D" 38PLATFORM:mx7ulp-nxp-bsp = "IMX7D"
41PLATFORM:mx8-nxp-bsp = "IMX8" 39PLATFORM:mx8-nxp-bsp = "IMX8"
42PLATFORM:mx8ulp-nxp-bsp = "IMX8ULP" 40PLATFORM:mx8ulp-nxp-bsp = "IMX8ULP"
41PLATFORM:mx91-nxp-bsp = "IMX8"
43PLATFORM:mx93-nxp-bsp = "IMX8ULP" 42PLATFORM:mx93-nxp-bsp = "IMX8ULP"
44PLATFORM:mx95-nxp-bsp = "IMX8" 43PLATFORM:mx95-nxp-bsp = "IMX8"
45 44
@@ -73,11 +72,11 @@ do_install() {
73 PLATFORM=${PLATFORM} \ 72 PLATFORM=${PLATFORM} \
74 install 73 install
75 74
76 if [ -e ${WORKDIR}/clocks.sh ]; then 75 if [ -e ${UNPACKDIR}/clocks.sh ]; then
77 install -m 755 ${WORKDIR}/clocks.sh ${D}/unit_tests/clocks.sh 76 install -m 755 ${UNPACKDIR}/clocks.sh ${D}/unit_tests/clocks.sh
78 fi 77 fi
79 install -d -m 0755 ${D}${ROOT_HOME}/ 78 install -d -m 0755 ${D}${ROOT_HOME}/
80 install -m 0644 ${WORKDIR}/memtool_profile ${D}${ROOT_HOME}/.profile 79 install -m 0644 ${UNPACKDIR}/memtool_profile ${D}${ROOT_HOME}/.profile
81} 80}
82 81
83FILES:${PN} += "/unit_tests ${ROOT_HOME}/.profile" 82FILES:${PN} += "/unit_tests ${ROOT_HOME}/.profile"
diff --git a/recipes-bsp/imx-uuc/imx-uuc_git.bb b/recipes-bsp/imx-uuc/imx-uuc_git.bb
index 49fc15581..d373e27e3 100644
--- a/recipes-bsp/imx-uuc/imx-uuc_git.bb
+++ b/recipes-bsp/imx-uuc/imx-uuc_git.bb
@@ -6,15 +6,15 @@ DEPENDS = "virtual/kernel dosfstools-native"
6LICENSE = "GPL-2.0-only" 6LICENSE = "GPL-2.0-only"
7LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263" 7LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263"
8 8
9inherit autotools-brokensep
10
11PR = "r1" 9PR = "r1"
12PV = "0.5.1+git${SRCPV}" 10PV = "0.5.1+git${SRCPV}"
13 11
14SRC_URI = "git://github.com/NXPmicro/imx-uuc.git;protocol=https;branch=master" 12SRC_URI = "git://github.com/NXPmicro/imx-uuc.git;protocol=https;branch=master"
15SRCREV = "9b4adc0cde346fbae743dc21fcf5115488307b83" 13SRCREV = "25f65e10368aa07056f9536e88ed911ac7f38f99"
16 14
17S = "${WORKDIR}/git" 15do_install() {
16 oe_runmake 'DESTDIR=${D}' install
17}
18 18
19FILES:${PN} += "/linuxrc /fat" 19FILES:${PN} += "/linuxrc /fat"
20 20
diff --git a/recipes-bsp/imx-vpu-hantro-vc/imx-vpu-hantro-vc/0001-base_type.h-make-header-compatible-with-c23.patch b/recipes-bsp/imx-vpu-hantro-vc/imx-vpu-hantro-vc/0001-base_type.h-make-header-compatible-with-c23.patch
new file mode 100644
index 000000000..8d017ab71
--- /dev/null
+++ b/recipes-bsp/imx-vpu-hantro-vc/imx-vpu-hantro-vc/0001-base_type.h-make-header-compatible-with-c23.patch
@@ -0,0 +1,39 @@
1From e7f6097c9e7cb30f130502cc4804e1a1b01342de Mon Sep 17 00:00:00 2001
2From: Max Krummenacher <max.krummenacher@toradex.com>
3Date: Wed, 7 May 2025 16:13:38 +0000
4Subject: [PATCH] base_type.h: make header compatible with c23
5
6With C23 bool, true and false are built in keywords and cannot be
7redefined.
8
9Upstream-Status: Pending
10Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
11---
12 usr/include/hantro_VC8000E_enc/base_type.h | 4 ++++
13 1 file changed, 4 insertions(+)
14
15diff --git a/usr/include/hantro_VC8000E_enc/base_type.h b/usr/include/hantro_VC8000E_enc/base_type.h
16index 282fc81b8eba..af4212eed2bd 100755
17--- a/usr/include/hantro_VC8000E_enc/base_type.h
18+++ b/usr/include/hantro_VC8000E_enc/base_type.h
19@@ -67,6 +67,9 @@ typedef unsigned int UInt;
20 #define HANTRO_FALSE 0
21 #define HANTRO_TRUE 1
22
23+#if defined __STDC_VERSION__ && __STDC_VERSION__ > 201710L
24+/* bool, true and false are keywords. */
25+#else
26 #ifndef bool
27 typedef enum
28 {
29@@ -74,6 +77,7 @@ typedef enum
30 true = HANTRO_TRUE
31 } bool;
32 #endif
33+#endif
34
35 enum
36 {
37--
382.42.0
39
diff --git a/recipes-bsp/imx-vpu-hantro-vc/imx-vpu-hantro-vc_1.9.0.bb b/recipes-bsp/imx-vpu-hantro-vc/imx-vpu-hantro-vc_1.10.1.bb
index 26ebf1816..68c2a4979 100644
--- a/recipes-bsp/imx-vpu-hantro-vc/imx-vpu-hantro-vc_1.9.0.bb
+++ b/recipes-bsp/imx-vpu-hantro-vc/imx-vpu-hantro-vc_1.10.1.bb
@@ -2,16 +2,19 @@
2 2
3DESCRIPTION = "i.MX VC8000E Encoder library" 3DESCRIPTION = "i.MX VC8000E Encoder library"
4LICENSE = "Proprietary" 4LICENSE = "Proprietary"
5LIC_FILES_CHKSUM = "file://COPYING;md5=5a0bf11f745e68024f37b4724a5364fe" 5LIC_FILES_CHKSUM = "file://COPYING;md5=ca53281cc0caa7e320d4945a896fb837"
6 6
7inherit fsl-eula-unpack 7inherit fsl-eula-unpack
8 8
9SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true" 9SRC_URI = " \
10 ${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true \
11 file://0001-base_type.h-make-header-compatible-with-c23.patch \
12"
13IMX_SRCREV_ABBREV = "c0244a1"
10 14
11S = "${WORKDIR}/${BPN}-${PV}" 15SRC_URI[sha256sum] = "713ba375f25490727fcc62bab5d5508f74de03204b4c153464b696b652c5c7df"
12 16
13SRC_URI[md5sum] = "192b354d1c21836dc7338606e60b45ae" 17S = "${UNPACKDIR}/${BP}-${IMX_SRCREV_ABBREV}"
14SRC_URI[sha256sum] = "62b5ba3c4aab21d0d4be3eee9b204a9bb50b83b6140ee1a3b27c648809bdfbaa"
15 18
16# SCR is the location and name of the Software Content Register file 19# SCR is the location and name of the Software Content Register file
17# relative to ${D}${D_SUBDIR}. 20# relative to ${D}${D_SUBDIR}.
diff --git a/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro-daemon_1.1.6.bb b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro-daemon_1.5.0.bb
index f603190be..940b9fa41 100644
--- a/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro-daemon_1.1.6.bb
+++ b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro-daemon_1.5.0.bb
@@ -6,9 +6,12 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=cd8bc2a79509c22fc9c1782a151210b1"
6DEPENDS = "imx-vpu-hantro" 6DEPENDS = "imx-vpu-hantro"
7DEPENDS:append:mx8mp-nxp-bsp = " imx-vpu-hantro-vc" 7DEPENDS:append:mx8mp-nxp-bsp = " imx-vpu-hantro-vc"
8 8
9SRC_URI = "${FSL_MIRROR}/${BP}.tar.gz" 9SRC_URI = "${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.tar.gz"
10SRC_URI[md5sum] = "23997361dab3054e5a3757a15d33db16" 10IMX_SRCREV_ABBREV = "3200e68"
11SRC_URI[sha256sum] = "ac2b60fb754792eedcfdfc8cf59663cfeaedc402857eff13ac97a911d2c65801" 11
12SRC_URI[sha256sum] = "e7806a92d4a5ab51b76d9edef5175a95625c4ac3cab467fe1519bb0ce16e6535"
13
14S = "${UNPACKDIR}/${BP}-${IMX_SRCREV_ABBREV}"
12 15
13PLATFORM:mx8mm-nxp-bsp = "IMX8MM" 16PLATFORM:mx8mm-nxp-bsp = "IMX8MM"
14PLATFORM:mx8mq-nxp-bsp = "IMX8MQ" 17PLATFORM:mx8mq-nxp-bsp = "IMX8MQ"
diff --git a/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro/0001-basetype.h-make-header-compatible-with-c23.patch b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro/0001-basetype.h-make-header-compatible-with-c23.patch
new file mode 100644
index 000000000..bbfec172a
--- /dev/null
+++ b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro/0001-basetype.h-make-header-compatible-with-c23.patch
@@ -0,0 +1,38 @@
1From e39a6602817e4221ae09ac3d520ca6a0d94814dc Mon Sep 17 00:00:00 2001
2From: Max Krummenacher <max.krummenacher@toradex.com>
3Date: Wed, 7 May 2025 16:13:38 +0000
4Subject: [PATCH] basetype.h: make header compatible with c23
5
6With C23 bool, true and false are built in keywords and cannot be
7redefined.
8
9Upstream-Status: Pending
10Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
11---
12 h1_encoder/software/inc/basetype.h | 4 ++++
13 1 file changed, 4 insertions(+)
14
15diff --git a/h1_encoder/software/inc/basetype.h b/h1_encoder/software/inc/basetype.h
16index 55e46a195b3b..6655ec54481b 100755
17--- a/h1_encoder/software/inc/basetype.h
18+++ b/h1_encoder/software/inc/basetype.h
19@@ -66,12 +66,16 @@ typedef size_t ptr_t;
20 #define PRT_PTR "x"
21 #endif
22
23+#if defined __STDC_VERSION__ && __STDC_VERSION__ > 201710L
24+/* bool, true and false are keywords. */
25+#else
26 #ifndef __cplusplus
27 typedef enum {
28 false = 0,
29 true = 1
30 } bool;
31 #endif
32+#endif
33
34 #else /* __symbian__ or __win__ or whatever, customize it to suit well */
35
36--
372.42.0
38
diff --git a/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro/0001-test-md5-convert-to-ansi-c.patch b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro/0001-test-md5-convert-to-ansi-c.patch
new file mode 100644
index 000000000..da1af2b9c
--- /dev/null
+++ b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro/0001-test-md5-convert-to-ansi-c.patch
@@ -0,0 +1,90 @@
1From 0c5bdd12a6f3ba73e605656828bf429966a997ef Mon Sep 17 00:00:00 2001
2From: Max Krummenacher <max.krummenacher@toradex.com>
3Date: Wed, 7 May 2025 13:25:26 +0000
4Subject: [PATCH] test: md5: convert to ansi c
5
6GCC 15 no longer likes this K&R style function declarations.
7
8Upstream-Status: Pending
9Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
10---
11 decoder_sw/software/test/common/swhw/md5.c | 15 +++++----------
12 decoder_sw/software/test/common/swhw/md5.h | 8 ++++----
13 2 files changed, 9 insertions(+), 14 deletions(-)
14
15diff --git a/decoder_sw/software/test/common/swhw/md5.c b/decoder_sw/software/test/common/swhw/md5.c
16index c3334bf751fd..20014fbdf268 100755
17--- a/decoder_sw/software/test/common/swhw/md5.c
18+++ b/decoder_sw/software/test/common/swhw/md5.c
19@@ -42,8 +42,7 @@
20 /*
21 * Note: this code is harmless on little-endian machines.
22 */
23-void ByteReverse(buf, longs) unsigned char *buf;
24-unsigned longs;
25+void ByteReverse(unsigned char *buf, unsigned longs)
26 {
27 uint32 t;
28 do {
29@@ -59,7 +58,7 @@ unsigned longs;
30 * Start MD5 accumulation. Set bit count to 0 and buffer to mysterious
31 * initialization constants.
32 */
33-void MD5Init(ctx) struct MD5Context *ctx;
34+void MD5Init(struct MD5Context *ctx)
35 {
36 ctx->buf[0] = 0x67452301;
37 ctx->buf[1] = 0xefcdab89;
38@@ -74,9 +73,7 @@ void MD5Init(ctx) struct MD5Context *ctx;
39 * Update context to reflect the concatenation of another buffer full
40 * of bytes.
41 */
42-void MD5Update(ctx, buf, len) struct MD5Context *ctx;
43-unsigned char *buf;
44-unsigned len;
45+void MD5Update(struct MD5Context *ctx, unsigned char *buf, unsigned len)
46 {
47 uint32 t;
48
49@@ -124,8 +121,7 @@ unsigned len;
50 * Final wrapup - pad to 64-byte boundary with the bit pattern
51 * 1 0* (64-bit count of bits processed, MSB-first)
52 */
53-void MD5Final(digest, ctx) unsigned char digest[16];
54-struct MD5Context *ctx;
55+void MD5Final(unsigned char digest[16], struct MD5Context *ctx)
56 {
57 unsigned count;
58 unsigned char *p;
59@@ -186,8 +182,7 @@ struct MD5Context *ctx;
60 * reflect the addition of 16 longwords of new data. MD5Update blocks
61 * the data and converts bytes into longwords for this routine.
62 */
63-void MD5Transform(buf, in) uint32 buf[4];
64-uint32 in[16];
65+void MD5Transform(uint32 buf[4], uint32 in[16])
66 {
67 register uint32 a, b, c, d;
68
69diff --git a/decoder_sw/software/test/common/swhw/md5.h b/decoder_sw/software/test/common/swhw/md5.h
70index 516400236606..c1d773093b66 100755
71--- a/decoder_sw/software/test/common/swhw/md5.h
72+++ b/decoder_sw/software/test/common/swhw/md5.h
73@@ -76,10 +76,10 @@ struct MD5Context {
74 unsigned char in[64];
75 };
76
77-extern void MD5Init();
78-extern void MD5Update();
79-extern void MD5Final();
80-extern void MD5Transform();
81+extern void MD5Init(struct MD5Context *ctx);
82+extern void MD5Update(struct MD5Context *ctx, unsigned char *buf, unsigned len);
83+extern void MD5Final(unsigned char digest[16], struct MD5Context *ctx);
84+extern void MD5Transform(uint32 buf[4], uint32 in[16]);
85
86 /*
87 * This is needed to make RSAREF happy on some MS-DOS compilers.
88--
892.42.0
90
diff --git a/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.28.0.bb b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.28.0.bb
deleted file mode 100644
index 0757a7fb5..000000000
--- a/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.28.0.bb
+++ /dev/null
@@ -1,36 +0,0 @@
1# Copyright (C) 2017-2020 NXP
2
3DESCRIPTION = "i.MX Hantro VPU library"
4LICENSE = "Proprietary"
5LIC_FILES_CHKSUM = "file://COPYING;md5=ea25d099982d035af85d193c88a1b479"
6
7PROVIDES = "virtual/imxvpu"
8
9SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true"
10SRC_URI[md5sum] = "81b4eb801349a0c198b7cc43eb8b6097"
11SRC_URI[sha256sum] = "e868e12945b4f217e2e0511fdc2587875d6c9124e8673b67f1e7de367ff5012f"
12
13inherit fsl-eula-unpack use-imx-headers
14
15PARALLEL_MAKE="-j 1"
16
17PLATFORM:mx8mm-nxp-bsp = "IMX8MM"
18PLATFORM:mx8mq-nxp-bsp = "IMX8MQ"
19PLATFORM:mx8mp-nxp-bsp = "IMX8MP"
20
21EXTRA_OEMAKE = " \
22 CROSS_COMPILE="${HOST_PREFIX}" \
23 SDKTARGETSYSROOT="${STAGING_DIR_TARGET}" \
24 PLATFORM="${PLATFORM}" \
25"
26
27do_install () {
28 oe_runmake install DEST_DIR="${D}"
29}
30
31FILES:${PN} += "/unit_tests"
32
33RDEPENDS:${PN} += "imx-vpu-hantro-daemon"
34
35PACKAGE_ARCH = "${MACHINE_SOCARCH}"
36COMPATIBLE_MACHINE = "(mx8mq-nxp-bsp|mx8mm-nxp-bsp|mx8mp-nxp-bsp)"
diff --git a/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.36.0.bb b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.36.0.bb
new file mode 100644
index 000000000..d766e0191
--- /dev/null
+++ b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.36.0.bb
@@ -0,0 +1,49 @@
1# Copyright (C) 2017-2020 NXP
2
3DESCRIPTION = "i.MX Hantro VPU library"
4LICENSE = "Proprietary"
5LIC_FILES_CHKSUM = "file://COPYING;md5=c0fb372b5d7f12181de23ef480f225f3"
6
7PROVIDES = "virtual/imxvpu"
8
9SRC_URI = " \
10 ${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true \
11 file://0001-test-md5-convert-to-ansi-c.patch \
12 file://0001-basetype.h-make-header-compatible-with-c23.patch \
13"
14IMX_SRCREV_ABBREV = "194a305"
15
16SRC_URI[sha256sum] = "0ef1fb5c6653c08f2d2812c72dedf3e8beb091dd5b3d70d6e26f41bac4ebffa7"
17
18S = "${UNPACKDIR}/${BP}-${IMX_SRCREV_ABBREV}"
19
20inherit fsl-eula-unpack use-imx-headers
21
22PARALLEL_MAKE = "-j 1"
23
24PLATFORM:mx8mm-nxp-bsp = "IMX8MM"
25PLATFORM:mx8mq-nxp-bsp = "IMX8MQ"
26PLATFORM:mx8mp-nxp-bsp = "IMX8MP"
27
28#| ../../source/h264high/h264decapi.c:1803:22: error: assignment to 'const u8 *' {aka 'const unsigned char *'} from incompatible pointer type 'u32 *' {aka 'unsigned int *'} [-Wincompatible-pointer-types]
29#| 1803 | ref_data = ref.virtual_address;
30#| ../../source/h264high/h264decapi.c:2086:22: error: assignment to 'const u8 *' {aka 'const unsigned char *'} from incompatible pointer type 'u32 *' {aka 'unsigned int *'} [-Wincompatible-pointer-types]
31#| 2086 | ref_data = ref.virtual_address;
32
33CFLAGS += " -Wno-error=incompatible-pointer-types"
34EXTRA_OEMAKE = " \
35 CROSS_COMPILE="${HOST_PREFIX}" \
36 SDKTARGETSYSROOT="${STAGING_DIR_TARGET}" \
37 PLATFORM="${PLATFORM}" \
38"
39
40do_install () {
41 oe_runmake install DEST_DIR="${D}"
42}
43
44FILES:${PN} += "/unit_tests"
45
46RDEPENDS:${PN} += "imx-vpu-hantro-daemon"
47
48PACKAGE_ARCH = "${MACHINE_SOCARCH}"
49COMPATIBLE_MACHINE = "(mx8mq-nxp-bsp|mx8mm-nxp-bsp|mx8mp-nxp-bsp)"
diff --git a/recipes-bsp/imx-vpu/imx-vpu_5.4.39.3.bb b/recipes-bsp/imx-vpu/imx-vpu_5.4.39.3.bb
index 553f39930..fc90cdab7 100644
--- a/recipes-bsp/imx-vpu/imx-vpu_5.4.39.3.bb
+++ b/recipes-bsp/imx-vpu/imx-vpu_5.4.39.3.bb
@@ -11,7 +11,6 @@ PROVIDES = "virtual/imxvpu"
11PE = "1" 11PE = "1"
12 12
13SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true" 13SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true"
14SRC_URI[md5sum] = "6d6302189a6704874375afe62a65def0"
15SRC_URI[sha256sum] = "87cb799a57df654db29403cb74a75ca5185a1517022d3a4a16b8d69056c36127" 14SRC_URI[sha256sum] = "87cb799a57df654db29403cb74a75ca5185a1517022d3a4a16b8d69056c36127"
16 15
17inherit fsl-eula-unpack use-imx-headers 16inherit fsl-eula-unpack use-imx-headers
diff --git a/recipes-bsp/inphi/inphi_git.bb b/recipes-bsp/inphi/inphi_git.bb
index 4deacb581..5c2e4197f 100644
--- a/recipes-bsp/inphi/inphi_git.bb
+++ b/recipes-bsp/inphi/inphi_git.bb
@@ -7,8 +7,6 @@ inherit deploy
7SRC_URI = "git://github.com/nxp/qoriq-firmware-inphi.git;nobranch=1;protocol=https" 7SRC_URI = "git://github.com/nxp/qoriq-firmware-inphi.git;nobranch=1;protocol=https"
8SRCREV = "f22e9ff3bfed8342da6efb699e473b11fbad5695" 8SRCREV = "f22e9ff3bfed8342da6efb699e473b11fbad5695"
9 9
10S = "${WORKDIR}/git"
11
12do_install () { 10do_install () {
13 install -d ${D}/boot 11 install -d ${D}/boot
14 cp -fr ${S}/in112525-phy-ucode.txt ${D}/boot 12 cp -fr ${S}/in112525-phy-ucode.txt ${D}/boot
diff --git a/recipes-bsp/isp-imx/basler-camera_4.2.2.24.0.bb b/recipes-bsp/isp-imx/basler-camera_4.2.2.25.1.bb
index 0ab440748..aebb28bb7 100644
--- a/recipes-bsp/isp-imx/basler-camera_4.2.2.24.0.bb
+++ b/recipes-bsp/isp-imx/basler-camera_4.2.2.25.1.bb
@@ -1,17 +1,23 @@
1# Copyright 2020-2023 NXP 1# Copyright (C) 2020-2024 NXP
2 2
3DESCRIPTION = "Basler camera binary drivers" 3DESCRIPTION = "Basler camera binary drivers"
4LICENSE = "Proprietary" 4LICENSE = "Proprietary"
5LIC_FILES_CHKSUM = "file://COPYING;md5=2827219e81f28aba7c6a569f7c437fa7" 5LIC_FILES_CHKSUM = "file://COPYING;md5=c0fb372b5d7f12181de23ef480f225f3"
6
7IMX_SRCREV_ABBREV = "d1f506a"
6 8
7inherit fsl-eula-unpack 9inherit fsl-eula-unpack
8 10
9SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}.bin;fsl-eula=true" 11SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true"
12
13SRC_URI[sha256sum] = "49d1b3691d18e2ba5f43a6e2c59ac16767b6e077a118cafec7f51293d6bf30f3"
14
15S = "${UNPACKDIR}/${BPN}-${PV}-${IMX_SRCREV_ABBREV}"
10 16
11SRC_URI[md5sum] = "31d716e1f40c248556e5a8e6b467ba71" 17do_compile[noexec] = "1"
12SRC_URI[sha256sum] = "ad3e98ee0c10f2b3e74af8923f44b8d5908e42eedbca12a702e35cee9328d8cf"
13 18
14do_install() { 19do_install() {
20 oe_runmake install INSTALL_DIR=${D}
15 dest_dir=${D}/opt/imx8-isp/bin 21 dest_dir=${D}/opt/imx8-isp/bin
16 install -d ${D}/${libdir} 22 install -d ${D}/${libdir}
17 install -d $dest_dir 23 install -d $dest_dir
diff --git a/recipes-bsp/isp-imx/isp-imx/0001-cpp-netlib-parsers.ipp-add-missing-include.patch b/recipes-bsp/isp-imx/isp-imx/0001-cpp-netlib-parsers.ipp-add-missing-include.patch
deleted file mode 100644
index 3f04000cf..000000000
--- a/recipes-bsp/isp-imx/isp-imx/0001-cpp-netlib-parsers.ipp-add-missing-include.patch
+++ /dev/null
@@ -1,44 +0,0 @@
1From 15aae364fb52df30e4a49e73e2048fdc633e6868 Mon Sep 17 00:00:00 2001
2From: Max Krummenacher <max.krummenacher@toradex.com>
3Date: Sun, 8 Oct 2023 09:15:54 -0300
4Subject: [PATCH] cpp-netlib: parsers.ipp: add missing include
5
6With the update to boost from 1.82.0 -> 1.83.0 we now get compiler errors:
7
8| .../isp-imx/4.2.2.22.0/isp-imx-4.2.2.22.0/utils3rd/3rd/cpp-netlib/boost/network/protocol/http/server/impl/parsers.ipp:58:3: error: 'u8_to_u32_iterator' was not declared in this scope
9
10Add the missing explicit include. Before the file was indirectly included from qi.hpp:
11
12| In file included from .../isp-imx/4.2.2.22.0/recipe-sysroot/usr/include/boost/regex/pending/unicode_iterator.hpp:27,
13| from .../isp-imx/4.2.2.22.0/recipe-sysroot/usr/include/boost/spirit/home/support/utf8.hpp:15,
14| from .../isp-imx/4.2.2.22.0/recipe-sysroot/usr/include/boost/spirit/home/support/info.hpp:17,
15| from .../isp-imx/4.2.2.22.0/recipe-sysroot/usr/include/boost/spirit/home/qi/domain.hpp:16,
16| from .../isp-imx/4.2.2.22.0/recipe-sysroot/usr/include/boost/spirit/home/qi/meta_compiler.hpp:15,
17| from .../isp-imx/4.2.2.22.0/recipe-sysroot/usr/include/boost/spirit/home/qi/action/action.hpp:14,
18| from .../isp-imx/4.2.2.22.0/recipe-sysroot/usr/include/boost/spirit/home/qi/action.hpp:14,
19| from .../isp-imx/4.2.2.22.0/recipe-sysroot/usr/include/boost/spirit/home/qi.hpp:14,
20| from .../isp-imx/4.2.2.22.0/recipe-sysroot/usr/include/boost/spirit/include/qi.hpp:16,
21| from .../isp-imx/4.2.2.22.0/isp-imx-4.2.2.22.0/utils3rd/3rd/cpp-netlib/boost/network/protocol/http/server/impl/parsers.ipp:5,
22
23Upstream-Status: Pending
24
25Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
26---
27 .../boost/network/protocol/http/server/impl/parsers.ipp | 1 +
28 1 file changed, 1 insertion(+)
29
30diff --git a/utils3rd/3rd/cpp-netlib/boost/network/protocol/http/server/impl/parsers.ipp b/utils3rd/3rd/cpp-netlib/boost/network/protocol/http/server/impl/parsers.ipp
31index c31e60e..2b83fbe 100755
32--- a/utils3rd/3rd/cpp-netlib/boost/network/protocol/http/server/impl/parsers.ipp
33+++ b/utils3rd/3rd/cpp-netlib/boost/network/protocol/http/server/impl/parsers.ipp
34@@ -13,6 +13,7 @@
35 #include <tuple>
36 #include <boost/fusion/include/std_tuple.hpp>
37 #include <boost/network/protocol/http/message/header.hpp>
38+#include <boost/regex/pending/unicode_iterator.hpp>
39
40 #ifdef BOOST_NETWORK_NO_LIB
41 #ifndef BOOST_NETWORK_INLINE
42--
432.35.3
44
diff --git a/recipes-bsp/isp-imx/isp-imx_4.2.2.24.0.bb b/recipes-bsp/isp-imx/isp-imx_4.2.2.24.0.bb
deleted file mode 100644
index 9e0f02656..000000000
--- a/recipes-bsp/isp-imx/isp-imx_4.2.2.24.0.bb
+++ /dev/null
@@ -1,105 +0,0 @@
1# Copyright 2020-2023 NXP
2
3DESCRIPTION = "i.MX Verisilicon Software ISP"
4LICENSE = "Proprietary"
5LIC_FILES_CHKSUM = "file://COPYING;md5=2827219e81f28aba7c6a569f7c437fa7"
6DEPENDS = "boost libdrm virtual/libg2d libtinyxml2 patchelf-native"
7
8SRC_URI = " \
9 ${FSL_MIRROR}/${BP}.bin;fsl-eula=true \
10 file://0001-cpp-netlib-parsers.ipp-add-missing-include.patch \
11"
12
13SRC_URI[sha256sum] = "34b23f5b9f0856a8f5722e339a7ad4ccf4d99614788598306ff8b20093c1e846"
14
15inherit fsl-eula-unpack cmake systemd use-imx-headers
16
17# Build the sub-folder appshell
18OECMAKE_SOURCEPATH = "${S}/appshell"
19
20# Use make instead of ninja
21OECMAKE_GENERATOR = "Unix Makefiles"
22
23# Workaround for linking issues seen with gold linker
24LDFLAGS:append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}"
25
26SYSTEMD_SERVICE:${PN} = "imx8-isp.service"
27
28EXTRA_OECMAKE += " \
29 -DSDKTARGETSYSROOT=${STAGING_DIR_HOST} \
30 -DCMAKE_BUILD_TYPE=release \
31 -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON \
32 -DCMAKE_INSTALL_LIBDIR=${libdir} \
33 -DISP_VERSION=ISP8000NANO_V1802 \
34 -DPLATFORM=ARM64 \
35 -DAPPMODE=V4L2 \
36 -DTUNINGEXT=1 \
37 -DQTLESS=1 \
38 -DFULL_SRC_COMPILE=1 \
39 -DWITH_DRM=1 \
40 -DWITH_DWE=1 \
41 -DSERVER_LESS=1 \
42 -DSUBDEV_V4L2=1 \
43 -DENABLE_IRQ=1 \
44 -DPARTITION_BUILD=0 \
45 -D3A_SRC_BUILD=0 \
46 -DIMX_G2D=ON \
47 -Wno-dev \
48"
49
50do_configure:prepend () {
51 # FIXME: Should be rebuild.
52 patchelf --replace-needed libtinyxml2.so.9 libtinyxml2.so.10 ${S}/units/cam_device/proprietories/lib/libcam_device.so
53 patchelf --replace-needed libtinyxml2.so.9 libtinyxml2.so.10 ${S}/mediacontrol/lib/arm-64/fpga/libcam_device.so
54}
55
56do_install() {
57 # FIXME: provided by the basler-camera package, do not install them here additionally
58 rm -f ${S}/dewarp/dewarp_config//daA3840_30mc*.json
59
60 install -d ${D}/${libdir}
61 install -d ${D}/${includedir}
62 install -d ${D}/opt/imx8-isp/bin
63 install -d ${D}/opt/imx8-isp/bin/dewarp_config
64
65 cp -r ${B}/generated/release/bin/*_test ${D}/opt/imx8-isp/bin
66 cp -r ${B}/generated/release/bin/*.xml ${D}/opt/imx8-isp/bin
67 cp -r ${B}/generated/release/bin/*.drv ${D}/opt/imx8-isp/bin
68 cp -r ${B}/generated/release/bin/tuningext ${D}/opt/imx8-isp/bin
69 cp -r ${B}/generated/release/bin/isp_media_server ${D}/opt/imx8-isp/bin
70 cp -r ${B}/generated/release/bin/vvext ${D}/opt/imx8-isp/bin
71
72 cp -r ${B}/generated/release/lib/*.so* ${D}/${libdir}
73 cp -r ${B}/generated/release/include/* ${D}/${includedir}
74
75 cp -r ${S}/dewarp/dewarp_config/ ${D}/opt/imx8-isp/bin
76 cp ${S}/imx/run.sh ${D}/opt/imx8-isp/bin
77 cp ${S}/imx/start_isp.sh ${D}/opt/imx8-isp/bin
78
79 chmod +x ${D}/opt/imx8-isp/bin/run.sh
80 chmod +x ${D}/opt/imx8-isp/bin/start_isp.sh
81
82 if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
83 install -d ${D}${systemd_system_unitdir}
84 install -m 0644 ${S}/imx/imx8-isp.service ${D}${systemd_system_unitdir}
85 fi
86}
87
88# The build contains a mix of versioned and unversioned libraries, so
89# the default packaging configuration needs some modification so that
90# unversioned .so libraries go to the main package and versioned .so
91# symlinks go to -dev.
92FILES_SOLIBSDEV = ""
93FILES:${PN} += "/opt ${libdir}/lib*${SOLIBSDEV}"
94FILES:${PN}-dev += "${FILES_SOLIBS_VERSIONED}"
95FILES_SOLIBS_VERSIONED = " \
96 ${libdir}/libcppnetlib-client-connections.so \
97 ${libdir}/libcppnetlib-server-parsers.so \
98 ${libdir}/libcppnetlib-uri.so \
99 ${libdir}/libjsoncpp.so \
100 ${libdir}/libos08a20.so \
101"
102
103RDEPENDS:${PN} = "libdrm"
104
105COMPATIBLE_MACHINE = "(mx8mp-nxp-bsp)"
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.1.bb
new file mode 100644
index 000000000..28ab57b74
--- /dev/null
+++ b/recipes-bsp/isp-imx/isp-imx_4.2.2.25.1.bb
@@ -0,0 +1,99 @@
1# Copyright (C) 2020-2024 NXP
2
3DESCRIPTION = "i.MX Verisilicon Software ISP"
4LICENSE = "Proprietary"
5LIC_FILES_CHKSUM = "file://COPYING;md5=c0fb372b5d7f12181de23ef480f225f3"
6DEPENDS = "boost libdrm virtual/libg2d libtinyxml2 jsoncpp patchelf-native"
7
8SRC_URI = " \
9 ${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true \
10"
11IMX_SRCREV_ABBREV = "327f21d"
12S = "${UNPACKDIR}/${BP}-${IMX_SRCREV_ABBREV}"
13
14SRC_URI[sha256sum] = "f57c6fe1c2dd1c8e5991a625d0b3a1dbfdfe6d39a1a116a904d543faa0f4f6f0"
15
16inherit fsl-eula-unpack cmake systemd use-imx-headers
17
18PACKAGECONFIG = ""
19# Note: building with tuningext fails with boost 1.87.
20# (update to 1.87 with walnascar)
21PACKAGECONFIG[tuningext] = "-DTUNINGEXT=1,-DTUNINGEXT=0"
22
23# Build the sub-folder appshell
24OECMAKE_SOURCEPATH = "${S}/appshell"
25
26# Use make instead of ninja
27OECMAKE_GENERATOR = "Unix Makefiles"
28
29# Workaround for linking issues seen with gold linker
30LDFLAGS:append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}"
31
32SYSTEMD_SERVICE:${PN} = "imx8-isp.service"
33
34EXTRA_OECMAKE += " \
35 -DSDKTARGETSYSROOT=${STAGING_DIR_HOST} \
36 -DCMAKE_BUILD_TYPE=release \
37 -DISP_VERSION=ISP8000NANO_V1802 \
38 -DPLATFORM=ARM64 \
39 -DTUNINGEXT=1 \
40 -DQTLESS=1 \
41 -DFULL_SRC_COMPILE=1 \
42 -DWITH_DRM=1 \
43 -DWITH_DWE=1 \
44 -DSUBDEV_V4L2=1 \
45 -DPARTITION_BUILD=0 \
46 -D3A_SRC_BUILD=0 \
47 -DIMX_G2D=ON \
48 -Wno-dev \
49"
50
51do_configure:prepend () {
52 # FIXME: should be rebuild.
53 patchelf --replace-needed libjsoncpp.so.25 libjsoncpp.so.26 ${S}/mediacontrol/install/bin/isp_media_server
54 patchelf --replace-needed libjsoncpp.so.25 libjsoncpp.so.26 ${S}/mediacontrol/install/lib/libmedia_server.so
55 patchelf --replace-needed libjsoncpp.so.25 libjsoncpp.so.26 ${S}/tuningext/install/tuningext
56
57 # FIXME: Should be rebuild.
58 patchelf --replace-needed libtinyxml2.so.10 libtinyxml2.so.11 ${S}/appshell/shell_libs/ispcore/ARM64/libcam_device.so
59}
60
61do_install() {
62 # FIXME: provided by the basler-camera package, do not install them here additionally
63 rm -f ${S}/dewarp/dewarp_config//daA3840_30mc*.json
64
65 # The Makefile unconditionally installs tuningext even if it is not built
66 if ${@bb.utils.contains('PACKAGECONFIG','tuningext','false','true',d)}; then
67 touch ${B}/generated/release/bin/tuningext
68 fi
69
70 oe_runmake -f ${S}/Makefile install INSTALL_DIR=${D} SOURCE_DIR=${S}
71
72 if ${@bb.utils.contains('PACKAGECONFIG','tuningext','false','true',d)}; then
73 rm ${D}/opt/imx8-isp/bin/tuningext
74 fi
75
76 if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
77 install -d ${D}${systemd_system_unitdir}
78 install -m 0644 ${S}/imx/imx8-isp.service ${D}${systemd_system_unitdir}
79 fi
80
81}
82
83# The build contains a mix of versioned and unversioned libraries, so
84# the default packaging configuration needs some modification so that
85# unversioned .so libraries go to the main package and versioned .so
86# symlinks go to -dev.
87FILES_SOLIBSDEV = ""
88FILES:${PN} += "/opt ${libdir}/lib*${SOLIBSDEV}"
89FILES:${PN}-dev += "${FILES_SOLIBS_VERSIONED}"
90FILES_SOLIBS_VERSIONED = " \
91 ${libdir}/libcppnetlib-client-connections.so \
92 ${libdir}/libcppnetlib-server-parsers.so \
93 ${libdir}/libcppnetlib-uri.so \
94 ${libdir}/libos08a20.so \
95"
96
97RDEPENDS:${PN} = "libdrm"
98
99COMPATIBLE_MACHINE = "(mx8mp-nxp-bsp)"
diff --git a/recipes-bsp/libimxdmabuffer/libimxdmabuffer_1.1.3.bb b/recipes-bsp/libimxdmabuffer/libimxdmabuffer_1.1.3.bb
index b160c31db..b1cd3d863 100644
--- a/recipes-bsp/libimxdmabuffer/libimxdmabuffer_1.1.3.bb
+++ b/recipes-bsp/libimxdmabuffer/libimxdmabuffer_1.1.3.bb
@@ -13,9 +13,6 @@ SRC_URI = "git://github.com/Freescale/libimxdmabuffer.git;branch=${SRCBRANCH};pr
13 file://run-ptest \ 13 file://run-ptest \
14 " 14 "
15 15
16
17S = "${WORKDIR}/git"
18
19inherit pkgconfig waf use-imx-headers ptest 16inherit pkgconfig waf use-imx-headers ptest
20 17
21EXTRA_OECONF = "--imx-linux-headers-path=${STAGING_INCDIR_IMX} \ 18EXTRA_OECONF = "--imx-linux-headers-path=${STAGING_INCDIR_IMX} \
@@ -61,7 +58,9 @@ PACKAGECONFIG:append:imxpxp = " pxp"
61# former is not available pre-5.6. Out of the dma-heaps, we 58# former is not available pre-5.6. Out of the dma-heaps, we
62# pick the uncached one by default (see above). 59# pick the uncached one by default (see above).
63PACKAGECONFIG:append:mx8-nxp-bsp = " dma-heap-uncached" 60PACKAGECONFIG:append:mx8-nxp-bsp = " dma-heap-uncached"
64PACKAGECONFIG:append:mx8m-nxp-bsp = " dwl" 61PACKAGECONFIG:append:mx8mq-nxp-bsp = " dwl"
62PACKAGECONFIG:append:mx8mm-nxp-bsp = " dwl"
63PACKAGECONFIG:append:mx8mp-nxp-bsp = " dwl"
65 64
66HANTRO_CONF = "--hantro-headers-path=${STAGING_INCDIR}/hantro_dec --hantro-decoder-version=G2" 65HANTRO_CONF = "--hantro-headers-path=${STAGING_INCDIR}/hantro_dec --hantro-decoder-version=G2"
67 66
@@ -82,7 +81,7 @@ PACKAGECONFIG[dma-heap-uncached] = "--with-dma-heap-allocator=yes ${UNCACHED_DMA
82# Using do_install_ptest_base instead of do_install_ptest, since 81# Using do_install_ptest_base instead of do_install_ptest, since
83# the default do_install_ptest_base is hardcoded to expect Makefiles. 82# the default do_install_ptest_base is hardcoded to expect Makefiles.
84do_install_ptest_base() { 83do_install_ptest_base() {
85 install -D ${WORKDIR}/run-ptest ${D}${PTEST_PATH}/run-ptest 84 install -D ${UNPACKDIR}/run-ptest ${D}${PTEST_PATH}/run-ptest
86 install -m 0755 ${B}/test-alloc ${D}${PTEST_PATH} 85 install -m 0755 ${B}/test-alloc ${D}${PTEST_PATH}
87} 86}
88 87
diff --git a/recipes-bsp/ls2-phy/ls2-phy_git.bb b/recipes-bsp/ls2-phy/ls2-phy_git.bb
index c13a05a19..60ab5e183 100644
--- a/recipes-bsp/ls2-phy/ls2-phy_git.bb
+++ b/recipes-bsp/ls2-phy/ls2-phy_git.bb
@@ -7,8 +7,6 @@ inherit deploy
7SRC_URI = "git://github.com/nxp/qoriq-firmware-cortina.git;nobranch=1;protocol=https" 7SRC_URI = "git://github.com/nxp/qoriq-firmware-cortina.git;nobranch=1;protocol=https"
8SRCREV = "9143c2a3adede595966583c00ca4edc99ec698cf" 8SRCREV = "9143c2a3adede595966583c00ca4edc99ec698cf"
9 9
10S = "${WORKDIR}/git"
11
12do_install () { 10do_install () {
13 install -d ${D}/boot 11 install -d ${D}/boot
14 cp -fr ${S}/* ${D}/boot 12 cp -fr ${S}/* ${D}/boot
diff --git a/recipes-bsp/mc-utils/mc-utils_git.bb b/recipes-bsp/mc-utils/mc-utils_git.bb
index 568096c44..9e9f8d409 100644
--- a/recipes-bsp/mc-utils/mc-utils_git.bb
+++ b/recipes-bsp/mc-utils/mc-utils_git.bb
@@ -8,9 +8,7 @@ DEPENDS += "dtc-native"
8inherit deploy 8inherit deploy
9 9
10SRC_URI = "git://github.com/nxp-qoriq/mc-utils;protocol=https;nobranch=1" 10SRC_URI = "git://github.com/nxp-qoriq/mc-utils;protocol=https;nobranch=1"
11SRCREV = "8efeeac253ff780cbf1382ff40e09436d65e220d" 11SRCREV = "5ccc2688b72c4a05119a393cbe3573b5f81d10bc"
12
13S = "${WORKDIR}/git"
14 12
15MC_CFG ?= "" 13MC_CFG ?= ""
16MC_CFG:ls1088a = "ls1088a" 14MC_CFG:ls1088a = "ls1088a"
diff --git a/recipes-bsp/mxsldr/mxsldr_git.bb b/recipes-bsp/mxsldr/mxsldr_git.bb
index 17da814f8..9fc6338c4 100644
--- a/recipes-bsp/mxsldr/mxsldr_git.bb
+++ b/recipes-bsp/mxsldr/mxsldr_git.bb
@@ -13,8 +13,6 @@ SRC_URI = "git://git.denx.de/mxsldr.git;branch=master \
13 13
14PV = "0.0.0+git${SRCPV}" 14PV = "0.0.0+git${SRCPV}"
15 15
16S = "${WORKDIR}/git"
17
18inherit pkgconfig 16inherit pkgconfig
19 17
20do_compile() { 18do_compile() {
diff --git a/recipes-bsp/ppfe-firmware/ppfe-firmware_git.bb b/recipes-bsp/ppfe-firmware/ppfe-firmware_git.bb
index bb542e8c0..ddbb2031c 100644
--- a/recipes-bsp/ppfe-firmware/ppfe-firmware_git.bb
+++ b/recipes-bsp/ppfe-firmware/ppfe-firmware_git.bb
@@ -10,8 +10,6 @@ inherit deploy
10SRC_URI = "git://github.com/NXP/qoriq-engine-pfe-bin.git;nobranch=1;protocol=https" 10SRC_URI = "git://github.com/NXP/qoriq-engine-pfe-bin.git;nobranch=1;protocol=https"
11SRCREV = "f55ee9f72090309bbb7ab71f48a498fc02909234" 11SRCREV = "f55ee9f72090309bbb7ab71f48a498fc02909234"
12 12
13S = "${WORKDIR}/git"
14
15do_install () { 13do_install () {
16 install -d ${D}${nonarch_base_libdir}/firmware 14 install -d ${D}${nonarch_base_libdir}/firmware
17 install -d ${D}/boot/engine-pfe-bin 15 install -d ${D}/boot/engine-pfe-bin
diff --git a/recipes-bsp/qe-ucode/qe-ucode_git.bb b/recipes-bsp/qe-ucode/qe-ucode_git.bb
index 33648d1e2..582fb1e46 100644
--- a/recipes-bsp/qe-ucode/qe-ucode_git.bb
+++ b/recipes-bsp/qe-ucode/qe-ucode_git.bb
@@ -1,14 +1,12 @@
1DESCRIPTION = "qe microcode binary" 1DESCRIPTION = "qe microcode binary"
2SECTION = "qe-ucode" 2SECTION = "qe-ucode"
3LICENSE = "NXP-Binary-EULA" 3LICENSE = "NXP-Binary-EULA"
4LIC_FILES_CHKSUM = "file://NXP-Binary-EULA;md5=c62f8109b4df15ca37ceeb5e4943626c" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=c62f8109b4df15ca37ceeb5e4943626c"
5 5
6inherit deploy 6inherit deploy
7 7
8SRC_URI = "git://github.com/NXP/qoriq-qe-ucode.git;nobranch=1;protocol=https" 8SRC_URI = "git://github.com/NXP/qoriq-qe-ucode.git;nobranch=1;protocol=https"
9SRCREV= "57401f6dff6507055558eaa6838116baa8a2fd46" 9SRCREV = "c89d7843943fd3bd52aa5f1ff7a91200a2f7f63b"
10
11S = "${WORKDIR}/git"
12 10
13do_install () { 11do_install () {
14 install -d ${D}/boot 12 install -d ${D}/boot
diff --git a/recipes-bsp/rcw/rcw_git.bb b/recipes-bsp/rcw/rcw_git.bb
index 5721313b2..b73dd9753 100644
--- a/recipes-bsp/rcw/rcw_git.bb
+++ b/recipes-bsp/rcw/rcw_git.bb
@@ -8,17 +8,15 @@ DEPENDS += "tcl-native"
8inherit deploy siteinfo 8inherit deploy siteinfo
9 9
10SRC_URI = "git://github.com/nxp-qoriq/rcw;protocol=https;nobranch=1" 10SRC_URI = "git://github.com/nxp-qoriq/rcw;protocol=https;nobranch=1"
11SRCREV = "020dcf0645959afec6705f518e8350476891ef4f" 11SRCREV = "64abe70cf0abab053c37db460c12e367e6adf7a4"
12
13S = "${WORKDIR}/git"
14 12
15export PYTHON = "${USRBINPATH}/python3" 13export PYTHON = "${USRBINPATH}/python3"
16 14
17M="${@d.getVar('MACHINE').replace('-64b','').replace('-32b','').replace('-${SITEINFO_ENDIANNESS}','')}" 15M = "${@d.getVar('MACHINE').replace('-64b','').replace('-32b','').replace('-${SITEINFO_ENDIANNESS}','')}"
18 16
19BOARD_TARGETS="${M}" 17BOARD_TARGETS = "${M}"
20BOARD_TARGETS:ls2088ardb="${M} ${M}_rev1.1" 18BOARD_TARGETS:ls2088ardb = "${M} ${M}_rev1.1"
21BOARD_TARGETS:ls1088ardb-pb="ls1088ardb" 19BOARD_TARGETS:ls1088ardb-pb = "ls1088ardb"
22BOARD_TARGETS:lx2160ardb = "${M} ${M}_rev2" 20BOARD_TARGETS:lx2160ardb = "${M} ${M}_rev2"
23BOARD_TARGETS:lx2160ardb-rev2 = "lx2160ardb_rev2" 21BOARD_TARGETS:lx2160ardb-rev2 = "lx2160ardb_rev2"
24 22
diff --git a/recipes-bsp/u-boot/u-boot-fslc-common_2024.04.inc b/recipes-bsp/u-boot/u-boot-fslc-common_2025.01.inc
index b270dfd74..9cc6b958d 100644
--- a/recipes-bsp/u-boot/u-boot-fslc-common_2024.04.inc
+++ b/recipes-bsp/u-boot/u-boot-fslc-common_2025.01.inc
@@ -10,10 +10,10 @@ DEPENDS += "flex-native bison-native"
10 10
11SRC_URI = "git://github.com/Freescale/u-boot-fslc.git;branch=${SRCBRANCH};protocol=https" 11SRC_URI = "git://github.com/Freescale/u-boot-fslc.git;branch=${SRCBRANCH};protocol=https"
12 12
13SRCREV = "1a2bdc16b79a6f9c31829ede1bbf4063ccea6e54" 13SRCREV = "aa4bc52d08c342df83e3c576e2c108d7c8816e0e"
14SRCBRANCH = "2024.04+fslc" 14SRCBRANCH = "2025.01+fslc"
15 15
16PV = "2024.04+git${SRCPV}" 16PV = "2025.01+fslc+git${SRCPV}"
17CVE_PRODUCT = "denx:u-boot"
17 18
18S = "${WORKDIR}/git"
19B = "${WORKDIR}/build" 19B = "${WORKDIR}/build"
diff --git a/recipes-bsp/u-boot/u-boot-fslc-mxsboot_2024.04.bb b/recipes-bsp/u-boot/u-boot-fslc-mxsboot_2025.01.bb
index b7e4ca760..b7e4ca760 100644
--- a/recipes-bsp/u-boot/u-boot-fslc-mxsboot_2024.04.bb
+++ b/recipes-bsp/u-boot/u-boot-fslc-mxsboot_2025.01.bb
diff --git a/recipes-bsp/u-boot/u-boot-fslc_2024.04.bb b/recipes-bsp/u-boot/u-boot-fslc_2025.01.bb
index eba8876aa..4dc698219 100644
--- a/recipes-bsp/u-boot/u-boot-fslc_2024.04.bb
+++ b/recipes-bsp/u-boot/u-boot-fslc_2025.01.bb
@@ -6,8 +6,6 @@ order to provide support for some backported features and fixes, or because it \
6was submitted for revision and it takes some time to become part of a stable \ 6was submitted for revision and it takes some time to become part of a stable \
7version, or because it is not applicable for upstreaming." 7version, or because it is not applicable for upstreaming."
8 8
9inherit ${@oe.utils.ifelse(d.getVar('UBOOT_PROVIDES_BOOT_CONTAINER') == '1', 'imx-boot-container', '')}
10
11DEPENDS += "bc-native dtc-native python3-setuptools-native gnutls-native" 9DEPENDS += "bc-native dtc-native python3-setuptools-native gnutls-native"
12 10
13PROVIDES += "u-boot u-boot-mfgtool" 11PROVIDES += "u-boot u-boot-mfgtool"
@@ -21,5 +19,8 @@ EXTRA_OEMAKE += 'HOSTCC="${BUILD_CC} ${BUILD_CPPFLAGS}" \
21 HOSTLDFLAGS="${BUILD_LDFLAGS}" \ 19 HOSTLDFLAGS="${BUILD_LDFLAGS}" \
22 HOSTSTRIP=true' 20 HOSTSTRIP=true'
23 21
22inherit ${@oe.utils.ifelse(d.getVar('UBOOT_PROVIDES_BOOT_CONTAINER') == '1', 'imx-boot-container', '')}
23inherit uuu_bootloader_tag
24
24PACKAGE_ARCH = "${MACHINE_ARCH}" 25PACKAGE_ARCH = "${MACHINE_ARCH}"
25COMPATIBLE_MACHINE = "(imx-generic-bsp)" 26COMPATIBLE_MACHINE = "(imx-generic-bsp)"
diff --git a/recipes-bsp/u-boot/u-boot-imx-common_2023.04.inc b/recipes-bsp/u-boot/u-boot-imx-common_2024.04.inc
index e23235627..9640ba1de 100644
--- a/recipes-bsp/u-boot/u-boot-imx-common_2023.04.inc
+++ b/recipes-bsp/u-boot/u-boot-imx-common_2024.04.inc
@@ -3,10 +3,11 @@ DESCRIPTION = "i.MX U-Boot suppporting i.MX reference boards."
3LICENSE = "GPL-2.0-or-later" 3LICENSE = "GPL-2.0-or-later"
4LIC_FILES_CHKSUM = "file://Licenses/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263" 4LIC_FILES_CHKSUM = "file://Licenses/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263"
5 5
6SRC_URI = "git://github.com/nxp-imx/uboot-imx.git;protocol=https;branch=${SRCBRANCH}" 6SRC_URI = "${UBOOT_SRC};branch=${SRCBRANCH}"
7SRCBRANCH = "lf_v2023.04" 7UBOOT_SRC ?= "git://github.com/nxp-imx/uboot-imx.git;protocol=https"
8LOCALVERSION ?= "-imx_v2023.04_6.6.3-1.0.0" 8SRCBRANCH = "lf_v2024.04"
9SRCREV = "f8a2983ec83afd43731d905b4ff0ffd57b57f2f0" 9LOCALVERSION ?= "-${SRCBRANCH}"
10SRCREV = "e3219a5a73445219df605d1492687918d488055c"
10 11
11DEPENDS += " \ 12DEPENDS += " \
12 bc-native \ 13 bc-native \
@@ -17,7 +18,6 @@ DEPENDS += " \
17 xxd-native \ 18 xxd-native \
18" 19"
19 20
20S = "${WORKDIR}/git"
21B = "${WORKDIR}/build" 21B = "${WORKDIR}/build"
22 22
23inherit fsl-u-boot-localversion 23inherit fsl-u-boot-localversion
diff --git a/recipes-bsp/u-boot/u-boot-imx_2023.04.bb b/recipes-bsp/u-boot/u-boot-imx_2024.04.bb
index 0e7c467b9..695987801 100644
--- a/recipes-bsp/u-boot/u-boot-imx_2023.04.bb
+++ b/recipes-bsp/u-boot/u-boot-imx_2024.04.bb
@@ -1,6 +1,6 @@
1# Copyright (C) 2013-2016 Freescale Semiconductor 1# Copyright (C) 2013-2016 Freescale Semiconductor
2# Copyright 2018 (C) O.S. Systems Software LTDA. 2# Copyright 2018 (C) O.S. Systems Software LTDA.
3# Copyright (C) 2017-2023 NXP 3# Copyright 2017-2024 NXP
4 4
5require recipes-bsp/u-boot/u-boot.inc 5require recipes-bsp/u-boot/u-boot.inc
6require u-boot-imx-common_${PV}.inc 6require u-boot-imx-common_${PV}.inc
@@ -9,15 +9,12 @@ PROVIDES += "u-boot u-boot-mfgtool"
9 9
10inherit uuu_bootloader_tag 10inherit uuu_bootloader_tag
11 11
12UUU_BOOTLOADER = "" 12# The UUU tag goes on the boot partition. For 8+, the boot partition image
13UUU_BOOTLOADER:mx6-generic-bsp = "${UBOOT_BINARY}" 13# is imx-boot, so disable UUU-tagging here
14UUU_BOOTLOADER:mx7-generic-bsp = "${UBOOT_BINARY}" 14UUU_BOOTLOADER:mx8-generic-bsp = ""
15UUU_BOOTLOADER_TAGGED = "" 15UUU_BOOTLOADER:mx9-generic-bsp = ""
16UUU_BOOTLOADER_TAGGED:mx6-generic-bsp = "u-boot-tagged.${UBOOT_SUFFIX}" 16
17UUU_BOOTLOADER_TAGGED:mx7-generic-bsp = "u-boot-tagged.${UBOOT_SUFFIX}" 17TOOLCHAIN_OPTIONS:append = " -Wno-error=implicit-function-declaration"
18UUU_BOOTLOADER_UNTAGGED = ""
19UUU_BOOTLOADER_UNTAGGED:mx6-generic-bsp = "u-boot-untagged.${UBOOT_SUFFIX}"
20UUU_BOOTLOADER_UNTAGGED:mx7-generic-bsp = "u-boot-untagged.${UBOOT_SUFFIX}"
21 18
22do_deploy:append:mx8m-generic-bsp() { 19do_deploy:append:mx8m-generic-bsp() {
23 # Deploy u-boot-nodtb.bin and fsl-imx8m*-XX.dtb for mkimage to generate boot binary 20 # Deploy u-boot-nodtb.bin and fsl-imx8m*-XX.dtb for mkimage to generate boot binary
@@ -57,6 +54,14 @@ do_deploy:append:mx8m-generic-bsp() {
57 done 54 done
58 unset i 55 unset i
59 fi 56 fi
57
58 # Deploy CRT.* from u-boot for stmm
59 install -m 0644 ${S}/CRT.* ${DEPLOYDIR}
60}
61
62do_deploy:append:mx93-generic-bsp() {
63 # Deploy CRT.* from u-boot for stmm
64 install -m 0644 ${S}/CRT.* ${DEPLOYDIR}
60} 65}
61 66
62PACKAGE_ARCH = "${MACHINE_ARCH}" 67PACKAGE_ARCH = "${MACHINE_ARCH}"
diff --git a/recipes-bsp/u-boot/u-boot-qoriq_2021.04.bb b/recipes-bsp/u-boot/u-boot-qoriq_2021.04.bb
index c46eae331..c765cd2d7 100644
--- a/recipes-bsp/u-boot/u-boot-qoriq_2021.04.bb
+++ b/recipes-bsp/u-boot/u-boot-qoriq_2021.04.bb
@@ -15,9 +15,8 @@ LIC_FILES_CHKSUM = " \
15" 15"
16 16
17SRC_URI = "git://github.com/nxp-qoriq/u-boot;protocol=https;nobranch=1" 17SRC_URI = "git://github.com/nxp-qoriq/u-boot;protocol=https;nobranch=1"
18SRCREV= "1c0116f3da250c5a52858c53efb8b38c0963f477" 18SRCREV = "1c0116f3da250c5a52858c53efb8b38c0963f477"
19 19
20S = "${WORKDIR}/git"
21B = "${WORKDIR}/build" 20B = "${WORKDIR}/build"
22PV:append = "+fslgit" 21PV:append = "+fslgit"
23LOCALVERSION = "+fsl" 22LOCALVERSION = "+fsl"
diff --git a/recipes-bsp/uefi/uefi_git.bb b/recipes-bsp/uefi/uefi_git.bb
index b001a325c..c0222a817 100644
--- a/recipes-bsp/uefi/uefi_git.bb
+++ b/recipes-bsp/uefi/uefi_git.bb
@@ -6,9 +6,7 @@ LIC_FILES_CHKSUM = "file://NXP-Binary-EULA;md5=343ec8f06efc37467a6de53686fa6315"
6inherit deploy 6inherit deploy
7 7
8SRC_URI = "git://github.com/NXP/qoriq-uefi-binary.git;nobranch=1;protocol=https" 8SRC_URI = "git://github.com/NXP/qoriq-uefi-binary.git;nobranch=1;protocol=https"
9SRCREV = "15deb924ff063007592ee647602dd454353f5aee" 9SRCREV = "55789d536850e00c6f2284fb28eaf21712cd276b"
10
11S = "${WORKDIR}/git"
12 10
13do_install () { 11do_install () {
14 if [ -d ${B}/${MACHINE} ]; then 12 if [ -d ${B}/${MACHINE} ]; then