diff options
Diffstat (limited to 'recipes-bsp')
68 files changed, 2609 insertions, 448 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 @@ | |||
| 2 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" | 2 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" |
| 3 | 3 | ||
| 4 | PACKAGE_ARCH:imx-generic-bsp = "${MACHINE_ARCH}" | 4 | PACKAGE_ARCH:imx-generic-bsp = "${MACHINE_ARCH}" |
| 5 | PACKAGE_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 | } |
| 9849 | state.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 | ||
| 219 | pcm.asymed{ | 219 | pcm.asymed{ |
| 220 | type asym | 220 | type asym |
| 221 | playback.pcm "dmix_44100" | 221 | playback.pcm "dmix_48000" |
| 222 | capture.pcm "dsnoop_44100" | 222 | capture.pcm "dsnoop_48000" |
| 223 | } | 223 | } |
| 224 | 224 | ||
| 225 | pcm.dsp0{ | 225 | pcm.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 | ||
| 219 | pcm.asymed{ | 219 | pcm.asymed{ |
| 220 | type asym | 220 | type asym |
| 221 | playback.pcm "dmix_44100" | 221 | playback.pcm "dmix_48000" |
| 222 | capture.pcm "dsnoop_44100" | 222 | capture.pcm "dsnoop_48000" |
| 223 | } | 223 | } |
| 224 | 224 | ||
| 225 | pcm.dsp0{ | 225 | pcm.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.12.inc index d5ef5e75e..a025401e0 100644 --- a/recipes-bsp/atf/qoriq-atf-2.6.inc +++ b/recipes-bsp/atf/qoriq-atf-2.12.inc | |||
| @@ -3,10 +3,7 @@ DESCRIPTION = "ARM Trusted Firmware" | |||
| 3 | LICENSE = "BSD-3-Clause" | 3 | LICENSE = "BSD-3-Clause" |
| 4 | LIC_FILES_CHKSUM = "file://license.rst;md5=1dd070c98a281d18d9eefd938729b031" | 4 | LIC_FILES_CHKSUM = "file://license.rst;md5=1dd070c98a281d18d9eefd938729b031" |
| 5 | 5 | ||
| 6 | ATF_BRANCH ?= "lf_v2.6" | 6 | ATF_BRANCH ?= "lf_v2.12" |
| 7 | ATF_SRC ?= "git://github.com/nxp-qoriq/atf.git;protocol=https" | 7 | ATF_SRC ?= "git://github.com/nxp-qoriq/atf.git;protocol=https" |
| 8 | SRC_URI = "${ATF_SRC};branch=${ATF_BRANCH}" | 8 | SRC_URI = "${ATF_SRC};branch=${ATF_BRANCH}" |
| 9 | SRCREV = "616a4588f333522d50a55bedd2b9a90a51474a75" | 9 | SRCREV = "6ddd57019494cabfca5065368349109c37f2cc9f" |
| 10 | |||
| 11 | S = "${WORKDIR}/git" | ||
| 12 | |||
diff --git a/recipes-bsp/atf/qoriq-atf-tools_2.6.bb b/recipes-bsp/atf/qoriq-atf-tools_2.12.bb index 2c1db306c..2c1db306c 100644 --- a/recipes-bsp/atf/qoriq-atf-tools_2.6.bb +++ b/recipes-bsp/atf/qoriq-atf-tools_2.12.bb | |||
diff --git a/recipes-bsp/atf/qoriq-atf_2.6.bb b/recipes-bsp/atf/qoriq-atf_2.12.bb index 5ae2ed9d1..4eb7be9d3 100644 --- a/recipes-bsp/atf/qoriq-atf_2.6.bb +++ b/recipes-bsp/atf/qoriq-atf_2.12.bb | |||
| @@ -7,9 +7,8 @@ do_compile[depends] += "u-boot:do_deploy rcw:do_deploy uefi:do_deploy" | |||
| 7 | 7 | ||
| 8 | PV:append = "+${SRCPV}" | 8 | PV:append = "+${SRCPV}" |
| 9 | 9 | ||
| 10 | SRC_URI += "git://github.com/ARMmbed/mbedtls;protocol=https;nobranch=1;destsuffix=git/mbedtls;name=mbedtls \ | 10 | SRC_URI += "git://github.com/ARMmbed/mbedtls;protocol=https;nobranch=1;destsuffix=${S}/mbedtls;name=mbedtls \ |
| 11 | git://github.com/nxp/ddr-phy-binary;protocol=https;nobranch=1;destsuffix=git/ddr-phy-binary;name=ddr \ | 11 | git://github.com/nxp/ddr-phy-binary;protocol=https;nobranch=1;destsuffix=${S}/ddr-phy-binary;name=ddr \ |
| 12 | file://tf-a-tests-no-warn-rwx-segments.patch \ | ||
| 13 | " | 12 | " |
| 14 | SRCREV_mbedtls = "0795874acdf887290b2571b193cafd3c4041a708" | 13 | SRCREV_mbedtls = "0795874acdf887290b2571b193cafd3c4041a708" |
| 15 | SRCREV_ddr = "fbc036b88acb6c06ffed02c898cbae9856ec75ba" | 14 | SRCREV_ddr = "fbc036b88acb6c06ffed02c898cbae9856ec75ba" |
| @@ -51,8 +50,8 @@ FIP_DDR:lx2160a = "${@bb.utils.contains('DISTRO_FEATURES', 'secure', 'fip_ddr', | |||
| 51 | FIP_DDR:lx2162a = "${@bb.utils.contains('DISTRO_FEATURES', 'secure', 'fip_ddr', '', d)}" | 50 | FIP_DDR:lx2162a = "${@bb.utils.contains('DISTRO_FEATURES', 'secure', 'fip_ddr', '', d)}" |
| 52 | 51 | ||
| 53 | # requires CROSS_COMPILE set by hand as there is no configure script | 52 | # requires CROSS_COMPILE set by hand as there is no configure script |
| 54 | export CROSS_COMPILE="${TARGET_PREFIX}" | 53 | export CROSS_COMPILE = "${TARGET_PREFIX}" |
| 55 | export ARCH="arm64" | 54 | export ARCH = "arm64" |
| 56 | 55 | ||
| 57 | # Let the Makefile handle setting up the CFLAGS and LDFLAGS as it is | 56 | # Let the Makefile handle setting up the CFLAGS and LDFLAGS as it is |
| 58 | # a standalone application | 57 | # 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" |
| 8 | SRCREV = "4eb81a6797ef4e58bf7d9b2d58afb37a21c1f550" | 8 | SRCREV = "4eb81a6797ef4e58bf7d9b2d58afb37a21c1f550" |
| 9 | 9 | ||
| 10 | S = "${WORKDIR}/git" | ||
| 11 | EXTRA_OEMAKE = 'CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"' | 10 | EXTRA_OEMAKE = 'CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"' |
| 12 | 11 | ||
| 13 | do_install(){ | 12 | do_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 | |||
| 7 | SRC_URI = "git://github.com/nxp/ddr-phy-binary.git;nobranch=1;protocol=https" | 7 | SRC_URI = "git://github.com/nxp/ddr-phy-binary.git;nobranch=1;protocol=https" |
| 8 | SRCREV = "fbc036b88acb6c06ffed02c898cbae9856ec75ba" | 8 | SRCREV = "fbc036b88acb6c06ffed02c898cbae9856ec75ba" |
| 9 | 9 | ||
| 10 | S = "${WORKDIR}/git" | ||
| 11 | |||
| 12 | REGLEX = "lx2160a" | 10 | REGLEX = "lx2160a" |
| 13 | 11 | ||
| 14 | DEPENDS += "qoriq-atf-tools-native" | 12 | DEPENDS += "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 | ||
| 7 | SRC_URI = "${FSL_MIRROR}/firmware-imx-8.16.bin;fsl-eula=true" | 7 | SRC_URI = "${FSL_MIRROR}/firmware-imx-8.16.bin;fsl-eula=true" |
| 8 | 8 | ||
| 9 | SRC_URI[md5sum] = "9ed2923c0eb511c7fcf37dd607944124" | ||
| 10 | SRC_URI[sha256sum] = "65f829a9e2597bffc58a680aaefa638122144a083633d1ae09b3aec1d9f8ab84" | 9 | SRC_URI[sha256sum] = "65f829a9e2597bffc58a680aaefa638122144a083633d1ae09b3aec1d9f8ab84" |
| 11 | 10 | ||
| 12 | S = "${WORKDIR}/firmware-imx-8.16" | 11 | S = "${UNPACKDIR}/firmware-imx-8.16" |
| 13 | 12 | ||
| 14 | do_install () { | 13 | do_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 | ||
| 2 | SUMMARY = "NXP i.MX ELE firmware" | ||
| 3 | DESCRIPTION = "EdgeLock Enclave firmware for i.MX series SoCs" | ||
| 4 | SECTION = "base" | ||
| 5 | LICENSE = "Proprietary" | ||
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=44a8052c384584ba09077e85a3d1654f" | ||
| 7 | |||
| 8 | inherit fsl-eula-unpack use-imx-security-controller-firmware deploy | ||
| 9 | |||
| 10 | SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true" | ||
| 11 | SRC_URI[md5sum] = "f4df2005ec4555e9f177acbf62a7a969" | ||
| 12 | SRC_URI[sha256sum] = "3f69d6cf6ea448c5c2f87b6acdad1c5c2318616d246cc5047a523f2543fee408" | ||
| 13 | |||
| 14 | do_compile[noexec] = "1" | ||
| 15 | |||
| 16 | do_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 | |||
| 24 | do_deploy () { | ||
| 25 | # Deploy the related firmware to be package by imx-boot | ||
| 26 | install -m 0644 ${S}/${SECO_FIRMWARE_NAME} ${DEPLOYDIR} | ||
| 27 | } | ||
| 28 | addtask deploy after do_install before do_build | ||
| 29 | |||
| 30 | PACKAGES += "${PN}-ext" | ||
| 31 | |||
| 32 | ALLOW_EMPTY:${PN}-ext = "1" | ||
| 33 | |||
| 34 | FILES:${PN} += "${nonarch_base_libdir}/firmware/imx/ele/${SECO_FIRMWARE_NAME}" | ||
| 35 | FILES:${PN}-ext += "${nonarch_base_libdir}/firmware/imx/ele/${SECOEXT_FIRMWARE_NAME}" | ||
| 36 | |||
| 37 | RREPLACES:${PN} = "firmware-sentinel" | ||
| 38 | RPROVIDES:${PN} = "firmware-sentinel" | ||
| 39 | |||
| 40 | COMPATIBLE_MACHINE = "(mx8ulp-nxp-bsp|mx9-nxp-bsp)" | ||
diff --git a/recipes-bsp/firmware-imx/firmware-ele-imx_2.0.2.bb b/recipes-bsp/firmware-imx/firmware-ele-imx_2.0.2.bb new file mode 100644 index 000000000..f776e463d --- /dev/null +++ b/recipes-bsp/firmware-imx/firmware-ele-imx_2.0.2.bb | |||
| @@ -0,0 +1,42 @@ | |||
| 1 | # Copyright 2021-2025 NXP | ||
| 2 | SUMMARY = "NXP i.MX ELE firmware" | ||
| 3 | DESCRIPTION = "EdgeLock Secure Enclave firmware for i.MX series SoCs" | ||
| 4 | SECTION = "base" | ||
| 5 | LICENSE = "Proprietary" | ||
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=a93b654673e1bc8398ed1f30e0813359" | ||
| 7 | |||
| 8 | inherit fsl-eula-unpack use-imx-security-controller-firmware deploy | ||
| 9 | |||
| 10 | SRC_URI = "${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" | ||
| 11 | IMX_SRCREV_ABBREV = "89161a8" | ||
| 12 | SRC_URI[sha256sum] = "2d29f0a4de3662ba15f6a7d9069702d4eaed415d96a17f29d5b127f2c6fdd634" | ||
| 13 | |||
| 14 | S = "${UNPACKDIR}/${BP}-${IMX_SRCREV_ABBREV}" | ||
| 15 | |||
| 16 | do_compile[noexec] = "1" | ||
| 17 | |||
| 18 | do_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 | |||
| 26 | do_deploy () { | ||
| 27 | # Deploy the related firmware to be packaged by imx-boot | ||
| 28 | install -m 0644 ${S}/${SECO_FIRMWARE_NAME} ${DEPLOYDIR} | ||
| 29 | } | ||
| 30 | addtask deploy after do_install before do_build | ||
| 31 | |||
| 32 | PACKAGES += "${PN}-ext" | ||
| 33 | |||
| 34 | ALLOW_EMPTY:${PN}-ext = "1" | ||
| 35 | |||
| 36 | FILES:${PN} += "${nonarch_base_libdir}/firmware/imx/ele/${SECO_FIRMWARE_NAME}" | ||
| 37 | FILES:${PN}-ext += "${nonarch_base_libdir}/firmware/imx/ele/${SECOEXT_FIRMWARE_NAME}" | ||
| 38 | |||
| 39 | RREPLACES:${PN} = "firmware-sentinel" | ||
| 40 | RPROVIDES:${PN} = "firmware-sentinel" | ||
| 41 | |||
| 42 | COMPATIBLE_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. | ||
| 4 | SECTION = "base" | ||
| 5 | LICENSE = "Proprietary" | ||
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=44a8052c384584ba09077e85a3d1654f" | ||
| 7 | |||
| 8 | SRC_URI = " \ | ||
| 9 | ${FSL_MIRROR}/firmware-imx-${PV}.bin;fsl-eula=true \ | ||
| 10 | " | ||
| 11 | |||
| 12 | SRC_URI[md5sum] = "eb03efb3a8fb98d99ed1df88537e72f4" | ||
| 13 | SRC_URI[sha256sum] = "fe07633295dac3dd99f0ba4e07a7cde95bb24a29ca82b9a9b3f6026d29ae916a" | ||
| 14 | |||
| 15 | S = "${WORKDIR}/firmware-imx-${PV}" | ||
| 16 | |||
| 17 | inherit fsl-eula-unpack | ||
diff --git a/recipes-bsp/firmware-imx/firmware-imx-8.28.inc b/recipes-bsp/firmware-imx/firmware-imx-8.28.inc new file mode 100644 index 000000000..db8a78528 --- /dev/null +++ b/recipes-bsp/firmware-imx/firmware-imx-8.28.inc | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | # Copyright (C) 2012-2016 Freescale Semiconductor | ||
| 2 | # Copyright 2017-2025 NXP | ||
| 3 | # Copyright (C) 2018 O.S. Systems Software LTDA. | ||
| 4 | SECTION = "base" | ||
| 5 | LICENSE = "Proprietary" | ||
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=a93b654673e1bc8398ed1f30e0813359" | ||
| 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. | ||
| 10 | SRC_URI = "${FSL_MIRROR}/firmware-imx-${PV}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" | ||
| 11 | IMX_SRCREV_ABBREV = "994fa14" | ||
| 12 | SRC_URI[sha256sum] = "55996f340e87825685a00cd309901189066ec9545ee607734f942c3cde4d69dc" | ||
| 13 | |||
| 14 | S = "${UNPACKDIR}/firmware-imx-${PV}-${IMX_SRCREV_ABBREV}" | ||
| 15 | |||
| 16 | inherit fsl-eula-unpack | ||
diff --git a/recipes-bsp/firmware-imx/firmware-imx_8.23.bb b/recipes-bsp/firmware-imx/firmware-imx_8.28.bb index 0c935b92e..2cd449165 100644 --- a/recipes-bsp/firmware-imx/firmware-imx_8.23.bb +++ b/recipes-bsp/firmware-imx/firmware-imx_8.28.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-2025 NXP |
| 3 | # Copyright (C) 2018 O.S. Systems Software LTDA. | 3 | # Copyright (C) 2018 O.S. Systems Software LTDA. |
| 4 | SUMMARY = "Freescale i.MX firmware" | 4 | SUMMARY = "Freescale i.MX firmware" |
| 5 | DESCRIPTION = "Freescale i.MX firmware such as for the VPU" | 5 | DESCRIPTION = "Freescale i.MX firmware such as for the VPU" |
| 6 | 6 | ||
| 7 | require firmware-imx-${PV}.inc | 7 | require ${BP}.inc |
| 8 | 8 | ||
| 9 | PE = "1" | 9 | PE = "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..51e8b69e4 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-2025 NXP |
| 2 | 2 | ||
| 3 | SUMMARY = "Wi-Fi firmware redistributed by NXP" | 3 | SUMMARY = "Wi-Fi firmware redistributed by NXP" |
| 4 | DESCRIPTION = "Additional Wi-Fi firmware redistributed by NXP. Some \ | 4 | DESCRIPTION = "Additional Wi-Fi firmware redistributed by NXP. Some \ |
| @@ -7,18 +7,19 @@ should be preferred." | |||
| 7 | 7 | ||
| 8 | SECTION = "kernel" | 8 | SECTION = "kernel" |
| 9 | LICENSE = "Proprietary" | 9 | LICENSE = "Proprietary" |
| 10 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=44a8052c384584ba09077e85a3d1654f" | 10 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a93b654673e1bc8398ed1f30e0813359" |
| 11 | 11 | ||
| 12 | SRC_URI = "git://github.com/nxp-imx/imx-firmware.git;protocol=https;branch=${SRCBRANCH}" | 12 | SRC_URI = "git://github.com/nxp-imx/imx-firmware.git;protocol=https;branch=${SRCBRANCH}" |
| 13 | SRCBRANCH = "lf-6.6.3_1.0.0" | 13 | SRCBRANCH = "lf-6.12.20_2.0.0" |
| 14 | SRCREV = "2afa15e77f0b58eade42b4f59c9215339efcca66" | 14 | SRCREV = "d31ea8aaba67e188ba0071a90da0364e3946c83a" |
| 15 | 15 | ||
| 16 | S = "${WORKDIR}/git" | ||
| 17 | 16 | ||
| 18 | inherit allarch | 17 | inherit allarch |
| 19 | 18 | ||
| 20 | CLEANBROKEN = "1" | 19 | CLEANBROKEN = "1" |
| 21 | ALLOW_EMPTY:${PN} = "1" | 20 | ALLOW_EMPTY:${PN} = "1" |
| 21 | ALLOW_EMPTY:${PN}-all-sdio = "1" | ||
| 22 | ALLOW_EMPTY:${PN}-all-pcie = "1" | ||
| 22 | 23 | ||
| 23 | do_compile() { | 24 | do_compile() { |
| 24 | : | 25 | : |
| @@ -44,7 +45,16 @@ do_install() { | |||
| 44 | 45 | ||
| 45 | oe_runmake install INSTALLDIR=${D}${nonarch_base_libdir}/firmware/nxp | 46 | oe_runmake install INSTALLDIR=${D}${nonarch_base_libdir}/firmware/nxp |
| 46 | 47 | ||
| 48 | # Upstream SDIO8997 and IW416 driver firmwares are located on mrvl folder | ||
| 49 | install -d ${D}${nonarch_base_libdir}/firmware/mrvl | ||
| 50 | ln -frs ${D}${nonarch_base_libdir}/firmware/nxp/sdiouart8997_combo_v4.bin ${D}${nonarch_base_libdir}/firmware/mrvl/sdiouart8997_combo_v4.bin | ||
| 51 | ln -frs ${D}${nonarch_base_libdir}/firmware/nxp/sdiouartiw416_combo_v0.bin ${D}${nonarch_base_libdir}/firmware/mrvl/sdiouartiw416_combo_v0.bin | ||
| 47 | 52 | ||
| 53 | ln -frs ${D}${nonarch_base_libdir}/firmware/nxp/sd9098_wlan_v1.bin ${D}${nonarch_base_libdir}/firmware/nxp/sdio9098_wlan_v1.bin | ||
| 54 | ln -frs ${D}${nonarch_base_libdir}/firmware/nxp/sduart9098_combo_v1.bin ${D}${nonarch_base_libdir}/firmware/nxp/sdiouart9098_combo_v1.bin | ||
| 55 | ln -frs ${D}${nonarch_base_libdir}/firmware/nxp/sd8997_wlan_v4.bin ${D}${nonarch_base_libdir}/firmware/nxp/sdio8997_wlan_v4.bin | ||
| 56 | ln -frs ${D}${nonarch_base_libdir}/firmware/nxp/sduart8997_combo_v4.bin ${D}${nonarch_base_libdir}/firmware/nxp/sdiouart8997_combo_v4.bin | ||
| 57 | ln -frs ${D}${nonarch_base_libdir}/firmware/nxp/sduartiw416_combo.bin ${D}${nonarch_base_libdir}/firmware/nxp/sdiouartiw416_combo_v0.bin | ||
| 48 | } | 58 | } |
| 49 | 59 | ||
| 50 | PACKAGES =+ " \ | 60 | PACKAGES =+ " \ |
| @@ -58,7 +68,10 @@ PACKAGES =+ " \ | |||
| 58 | ${PN}-nxp9098-pcie \ | 68 | ${PN}-nxp9098-pcie \ |
| 59 | ${PN}-nxp9098-common \ | 69 | ${PN}-nxp9098-common \ |
| 60 | ${PN}-nxp9098-sdio \ | 70 | ${PN}-nxp9098-sdio \ |
| 71 | ${PN}-nxpaw693-pcie \ | ||
| 61 | ${PN}-nxpiw416-sdio \ | 72 | ${PN}-nxpiw416-sdio \ |
| 73 | ${PN}-nxpiw610-sdio \ | ||
| 74 | ${PN}-nxpiw610-usb \ | ||
| 62 | ${PN}-nxpiw612-sdio \ | 75 | ${PN}-nxpiw612-sdio \ |
| 63 | " | 76 | " |
| 64 | 77 | ||
| @@ -88,7 +101,7 @@ RCONFLICTS:${PN}-nxp8987-sdio = "linux-firmware-nxp8987-sdio" | |||
| 88 | FILES:${PN}-nxp8997-common = " \ | 101 | FILES:${PN}-nxp8997-common = " \ |
| 89 | ${nonarch_base_libdir}/firmware/nxp/ed_mac_ctrl_V3_8997.conf \ | 102 | ${nonarch_base_libdir}/firmware/nxp/ed_mac_ctrl_V3_8997.conf \ |
| 90 | ${nonarch_base_libdir}/firmware/nxp/txpwrlimit_cfg_8997.conf \ | 103 | ${nonarch_base_libdir}/firmware/nxp/txpwrlimit_cfg_8997.conf \ |
| 91 | ${nonarch_base_libdir}/firmware/nxp/uartuart8997_bt_v4.bin \ | 104 | ${nonarch_base_libdir}/firmware/nxp/uart8997_bt_v4.bin \ |
| 92 | " | 105 | " |
| 93 | RDEPENDS:${PN}-nxp8997-common += "${PN}-nxp-common" | 106 | RDEPENDS:${PN}-nxp8997-common += "${PN}-nxp-common" |
| 94 | RPROVIDES:${PN}-nxp8997-common = "linux-firmware-nxp8997-common" | 107 | RPROVIDES:${PN}-nxp8997-common = "linux-firmware-nxp8997-common" |
| @@ -104,7 +117,8 @@ RREPLACES:${PN}-nxp8997-pcie = "linux-firmware-nxp8997-pcie" | |||
| 104 | RCONFLICTS:${PN}-nxp8997-pcie = "linux-firmware-nxp8997-pcie" | 117 | RCONFLICTS:${PN}-nxp8997-pcie = "linux-firmware-nxp8997-pcie" |
| 105 | 118 | ||
| 106 | FILES:${PN}-nxp8997-sdio = " \ | 119 | FILES:${PN}-nxp8997-sdio = " \ |
| 107 | ${nonarch_base_libdir}/firmware/nxp/sdio*8997* \ | 120 | ${nonarch_base_libdir}/firmware/mrvl/sdiouart8997_combo_v4.bin \ |
| 121 | ${nonarch_base_libdir}/firmware/nxp/sd*8997* \ | ||
| 108 | " | 122 | " |
| 109 | RDEPENDS:${PN}-nxp8997-sdio += "${PN}-nxp8997-common" | 123 | RDEPENDS:${PN}-nxp8997-sdio += "${PN}-nxp8997-common" |
| 110 | RPROVIDES:${PN}-nxp8997-sdio = "linux-firmware-nxp8997-sdio" | 124 | RPROVIDES:${PN}-nxp8997-sdio = "linux-firmware-nxp8997-sdio" |
| @@ -114,7 +128,7 @@ RCONFLICTS:${PN}-nxp8997-sdio = "linux-firmware-nxp8997-sdio" | |||
| 114 | FILES:${PN}-nxp9098-common = " \ | 128 | FILES:${PN}-nxp9098-common = " \ |
| 115 | ${nonarch_base_libdir}/firmware/nxp/ed_mac_ctrl_V3_909x.conf \ | 129 | ${nonarch_base_libdir}/firmware/nxp/ed_mac_ctrl_V3_909x.conf \ |
| 116 | ${nonarch_base_libdir}/firmware/nxp/txpwrlimit_cfg_9098.conf \ | 130 | ${nonarch_base_libdir}/firmware/nxp/txpwrlimit_cfg_9098.conf \ |
| 117 | ${nonarch_base_libdir}/firmware/nxp/uartuart9098_bt_v1.bin \ | 131 | ${nonarch_base_libdir}/firmware/nxp/uart9098_bt_v1.bin \ |
| 118 | " | 132 | " |
| 119 | RDEPENDS:${PN}-nxp9098-common += "${PN}-nxp-common" | 133 | RDEPENDS:${PN}-nxp9098-common += "${PN}-nxp-common" |
| 120 | RPROVIDES:${PN}-nxp9098-common = "linux-firmware-nxp9098-common" | 134 | RPROVIDES:${PN}-nxp9098-common = "linux-firmware-nxp9098-common" |
| @@ -130,7 +144,7 @@ RREPLACES:${PN}-nxp9098-pcie = "linux-firmware-nxp9098-pcie" | |||
| 130 | RCONFLICTS:${PN}-nxp9098-pcie = "linux-firmware-nxp9098-pcie" | 144 | RCONFLICTS:${PN}-nxp9098-pcie = "linux-firmware-nxp9098-pcie" |
| 131 | 145 | ||
| 132 | FILES:${PN}-nxp9098-sdio = " \ | 146 | FILES:${PN}-nxp9098-sdio = " \ |
| 133 | ${nonarch_base_libdir}/firmware/nxp/sdio*9098* \ | 147 | ${nonarch_base_libdir}/firmware/nxp/sd*9098* \ |
| 134 | " | 148 | " |
| 135 | RDEPENDS:${PN}-nxp9098-sdio += "${PN}-nxp9098-common" | 149 | RDEPENDS:${PN}-nxp9098-sdio += "${PN}-nxp9098-common" |
| 136 | RPROVIDES:${PN}-nxp9098-sdio = "linux-firmware-nxp9098-sdio" | 150 | RPROVIDES:${PN}-nxp9098-sdio = "linux-firmware-nxp9098-sdio" |
| @@ -138,6 +152,7 @@ RREPLACES:${PN}-nxp9098-sdio = "linux-firmware-nxp9098-sdio" | |||
| 138 | RCONFLICTS:${PN}-nxp9098-sdio = "linux-firmware-nxp9098-sdio" | 152 | RCONFLICTS:${PN}-nxp9098-sdio = "linux-firmware-nxp9098-sdio" |
| 139 | 153 | ||
| 140 | FILES:${PN}-nxpiw416-sdio = " \ | 154 | FILES:${PN}-nxpiw416-sdio = " \ |
| 155 | ${nonarch_base_libdir}/firmware/mrvl/sdiouartiw416_combo_v0.bin \ | ||
| 141 | ${nonarch_base_libdir}/firmware/nxp/*iw416* \ | 156 | ${nonarch_base_libdir}/firmware/nxp/*iw416* \ |
| 142 | " | 157 | " |
| 143 | RDEPENDS:${PN}-nxpiw416-sdio += "${PN}-nxp-common" | 158 | RDEPENDS:${PN}-nxpiw416-sdio += "${PN}-nxp-common" |
| @@ -145,15 +160,56 @@ RPROVIDES:${PN}-nxpiw416-sdio = "linux-firmware-nxpiw416-sdio" | |||
| 145 | RREPLACES:${PN}-nxpiw416-sdio = "linux-firmware-nxpiw416-sdio" | 160 | RREPLACES:${PN}-nxpiw416-sdio = "linux-firmware-nxpiw416-sdio" |
| 146 | RCONFLICTS:${PN}-nxpiw416-sdio = "linux-firmware-nxpiw416-sdio" | 161 | RCONFLICTS:${PN}-nxpiw416-sdio = "linux-firmware-nxpiw416-sdio" |
| 147 | 162 | ||
| 163 | FILES:${PN}-nxpiw610-sdio += " \ | ||
| 164 | ${nonarch_base_libdir}/firmware/nxp/sd_iw610.bin.se \ | ||
| 165 | ${nonarch_base_libdir}/firmware/nxp/sduart_iw610.bin.se \ | ||
| 166 | ${nonarch_base_libdir}/firmware/nxp/sduartspi_iw610.bin.se \ | ||
| 167 | ${nonarch_base_libdir}/firmware/nxp/uart_iw610_bt.bin.se \ | ||
| 168 | ${nonarch_base_libdir}/firmware/nxp/uartspi_iw610.bin.se \ | ||
| 169 | " | ||
| 170 | RDEPENDS:${PN}-nxpiw610-sdio += "${PN}-nxp-common" | ||
| 171 | RPROVIDES:${PN}-nxpiw610-sdio = "linux-firmware-nxpiw610-sdio" | ||
| 172 | RREPLACES:${PN}-nxpiw610-sdio = "linux-firmware-nxpiw610-sdio" | ||
| 173 | RCONFLICTS:${PN}-nxpiw610-sdio = "linux-firmware-nxpiw610-sdio" | ||
| 174 | |||
| 175 | FILES:${PN}-nxpiw610-usb += " \ | ||
| 176 | ${nonarch_base_libdir}/firmware/nxp/usb*_iw610.bin.se \ | ||
| 177 | " | ||
| 178 | RDEPENDS:${PN}-nxpiw610-usb += "${PN}-nxp-common" | ||
| 179 | |||
| 148 | FILES:${PN}-nxpiw612-sdio = " \ | 180 | FILES:${PN}-nxpiw612-sdio = " \ |
| 149 | ${nonarch_base_libdir}/firmware/nxp/sduart_nw61x_v1.bin.se \ | 181 | ${nonarch_base_libdir}/firmware/nxp/sduart_nw61x_v1.bin.se \ |
| 150 | ${nonarch_base_libdir}/firmware/nxp/sd_w61x_v1.bin.se \ | 182 | ${nonarch_base_libdir}/firmware/nxp/sd_w61x_v1.bin.se \ |
| 151 | ${nonarch_base_libdir}/firmware/nxp/uartspi_n61x_v1.bin.se \ | 183 | ${nonarch_base_libdir}/firmware/nxp/uartspi_n61x_v1.bin.se \ |
| 152 | ${nonarch_base_libdir}/firmware/nxp/IW612_SD_RFTest/ \ | 184 | ${nonarch_base_libdir}/firmware/nxp/IW612_SD_RFTest/ \ |
| 185 | ${nonarch_base_libdir}/firmware/nxp/uartuart_n61x_v1.bin.se \ | ||
| 153 | " | 186 | " |
| 154 | RDEPENDS:${PN}-nxpiw612-sdio += "${PN}-nxp-common" | 187 | RDEPENDS:${PN}-nxpiw612-sdio += "${PN}-nxp-common" |
| 155 | RPROVIDES:${PN}-nxpiw612-sdio = "linux-firmware-nxpiw612-sdio" | 188 | RPROVIDES:${PN}-nxpiw612-sdio = "linux-firmware-nxpiw612-sdio" |
| 156 | RREPLACES:${PN}-nxpiw612-sdio = "linux-firmware-nxpiw612-sdio" | 189 | RREPLACES:${PN}-nxpiw612-sdio = "linux-firmware-nxpiw612-sdio" |
| 157 | RCONFLICTS:${PN}-nxpiw612-sdio = "linux-firmware-nxpiw612-sdio" | 190 | RCONFLICTS:${PN}-nxpiw612-sdio = "linux-firmware-nxpiw612-sdio" |
| 158 | 191 | ||
| 159 | COMPATIBLE_MACHINE = "(imx-generic-bsp)" | 192 | FILES:${PN}-nxpaw693-pcie += " \ |
| 193 | ${nonarch_base_libdir}/firmware/nxp/pcie*aw693* \ | ||
| 194 | ${nonarch_base_libdir}/firmware/nxp/uart*aw693* \ | ||
| 195 | " | ||
| 196 | RDEPENDS:${PN}-nxpaw693-pcie += "${PN}-nxp-common" | ||
| 197 | |||
| 198 | RDEPENDS:${PN}-all-sdio = " \ | ||
| 199 | ${PN}-nxp8801-sdio \ | ||
| 200 | ${PN}-nxp8987-sdio \ | ||
| 201 | ${PN}-nxp9098-sdio \ | ||
| 202 | ${PN}-nxpiw416-sdio \ | ||
| 203 | ${PN}-nxpiw610-sdio \ | ||
| 204 | ${PN}-nxpiw612-sdio \ | ||
| 205 | " | ||
| 206 | |||
| 207 | RDEPENDS:${PN}-all-pcie = " \ | ||
| 208 | ${PN}-nxp8997-pcie \ | ||
| 209 | ${PN}-nxp9098-pcie \ | ||
| 210 | ${PN}-nxpaw693-pcie \ | ||
| 211 | " | ||
| 212 | |||
| 213 | RDEPENDS:${PN}-all-usb = " \ | ||
| 214 | ${PN}-nxpiw610-usb \ | ||
| 215 | " | ||
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" | |||
| 8 | LIC_FILES_CHKSUM = "file://LICENCE;md5=0f00d99239d922ffd13cabef83b33444" | 8 | LIC_FILES_CHKSUM = "file://LICENCE;md5=0f00d99239d922ffd13cabef83b33444" |
| 9 | 9 | ||
| 10 | SRC_URI = "${FSL_MIRROR}/sof-imx-${PV}.tar.gz" | 10 | SRC_URI = "${FSL_MIRROR}/sof-imx-${PV}.tar.gz" |
| 11 | SRC_URI[md5sum] = "f7d277717b3f0dd17e8d341c1091d6b6" | ||
| 12 | SRC_URI[sha256sum] = "eb86c90aec92b3b376e7afca6aa5db4767b5d8868553595907ba37665329f16b" | 11 | SRC_URI[sha256sum] = "eb86c90aec92b3b376e7afca6aa5db4767b5d8868553595907ba37665329f16b" |
| 13 | 12 | ||
| 14 | S = "${WORKDIR}/sof-imx-${PV}" | 13 | S = "${UNPACKDIR}/sof-imx-${PV}" |
| 15 | 14 | ||
| 16 | inherit allarch | 15 | inherit 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.28.bb index 246198596..4c0d51c8a 100644 --- a/recipes-bsp/firmware-imx/imx-boot-firmware-files_8.23.bb +++ b/recipes-bsp/firmware-imx/imx-boot-firmware-files_8.28.bb | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | # Copyright (C) 2018-2023 NXP | 1 | # Copyright (C) 2018-2025 NXP |
| 2 | SUMMARY = "Freescale i.MX Firmware files used for boot" | 2 | SUMMARY = "Freescale i.MX Firmware files used for boot" |
| 3 | 3 | ||
| 4 | require firmware-imx-${PV}.inc | 4 | require 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" | |||
| 4 | SECTION = "BSP" | 4 | SECTION = "BSP" |
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=db4762b09b6bda63da103963e6e081de" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=db4762b09b6bda63da103963e6e081de" |
| 6 | 6 | ||
| 7 | SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true" | 7 | SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}.bin;fsl-eula=true" |
| 8 | 8 | ||
| 9 | S = "${WORKDIR}/${PN}-${PV}" | 9 | S = "${UNPACKDIR}/${PN}-${PV}" |
| 10 | 10 | ||
| 11 | inherit fsl-eula-unpack pkgconfig deploy | 11 | inherit fsl-eula-unpack pkgconfig deploy |
| 12 | 12 | ||
| 13 | SRC_URI[md5sum] = "65f28bd8ace3ce7116cb15685bfe1cd0" | ||
| 14 | SRC_URI[sha256sum] = "1df3a03d69feb38a450ee63abc7713d78cf6339988476e4c9f95ebbf63790f66" | 13 | SRC_URI[sha256sum] = "1df3a03d69feb38a450ee63abc7713d78cf6339988476e4c9f95ebbf63790f66" |
| 15 | 14 | ||
| 16 | do_configure[noexec] = "1" | 15 | do_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" | |||
| 8 | SRC_URI = "git://github.com/nxp-qoriq-yocto-sdk/fsl-tlu;protocol=https;nobranch=1" | 8 | SRC_URI = "git://github.com/nxp-qoriq-yocto-sdk/fsl-tlu;protocol=https;nobranch=1" |
| 9 | SRCREV = "8837cce3c86b30c0931c319e9e1a8ca622ae5354" | 9 | SRCREV = "8837cce3c86b30c0931c319e9e1a8ca622ae5354" |
| 10 | 10 | ||
| 11 | S = "${WORKDIR}/git" | ||
| 12 | |||
| 13 | do_install() { | 11 | do_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 @@ | |||
| 1 | From e82cafa7823cb2cad6ce933862b9ffdb880dba49 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Tom Hochstein <tom.hochstein@nxp.com> | ||
| 3 | Date: Tue, 10 Jun 2025 15:04:32 -0700 | ||
| 4 | Subject: [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 | |||
| 14 | Upstream-Status: Submitted [https://github.com/nxp-imx/imx-atf/pull/2] | ||
| 15 | Signed-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 | |||
| 20 | diff --git a/include/drivers/nxp/trdc/imx_trdc.h b/include/drivers/nxp/trdc/imx_trdc.h | ||
| 21 | index 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 | -- | ||
| 34 | 2.34.1 | ||
| 35 | |||
diff --git a/recipes-bsp/imx-atf/imx-atf_2.8.bb b/recipes-bsp/imx-atf/imx-atf_2.12.bb index 8bd6ad121..ba494594f 100644 --- a/recipes-bsp/imx-atf/imx-atf_2.8.bb +++ b/recipes-bsp/imx-atf/imx-atf_2.12.bb | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | # Copyright (C) 2017-2023 NXP | 1 | # Copyright (C) 2017-2025 NXP |
| 2 | 2 | ||
| 3 | DESCRIPTION = "i.MX ARM Trusted Firmware" | 3 | DESCRIPTION = "i.MX ARM Trusted Firmware" |
| 4 | SECTION = "BSP" | 4 | SECTION = "BSP" |
| @@ -7,11 +7,10 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/BSD-3-Clause;m | |||
| 7 | 7 | ||
| 8 | PV .= "+git${SRCPV}" | 8 | PV .= "+git${SRCPV}" |
| 9 | 9 | ||
| 10 | SRC_URI = "git://github.com/nxp-imx/imx-atf.git;protocol=https;branch=${SRCBRANCH}" | 10 | SRC_URI = "git://github.com/nxp-imx/imx-atf.git;protocol=https;branch=${SRCBRANCH} \ |
| 11 | SRCBRANCH = "lf_v2.8" | 11 | file://0001-imx93-trdc-Fix-header-guard.patch" |
| 12 | SRCREV = "8dbe28631802a51b3ec8179b2c5635b00393ad97" | 12 | SRCBRANCH = "lf_v2.12" |
| 13 | 13 | SRCREV = "6ddd57019494cabfca5065368349109c37f2cc9f" | |
| 14 | S = "${WORKDIR}/git" | ||
| 15 | 14 | ||
| 16 | inherit deploy | 15 | inherit deploy |
| 17 | 16 | ||
| @@ -34,7 +33,7 @@ LD[unexport] = "1" | |||
| 34 | 33 | ||
| 35 | # Baremetal, just need a compiler | 34 | # Baremetal, just need a compiler |
| 36 | INHIBIT_DEFAULT_DEPS = "1" | 35 | INHIBIT_DEFAULT_DEPS = "1" |
| 37 | DEPENDS = "virtual/${HOST_PREFIX}gcc" | 36 | DEPENDS = "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 |
| 40 | DEPENDS:append:toolchain-clang = " clang-cross-${TARGET_ARCH}" | 39 | DEPENDS: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 | ||
| 51 | EXTRA_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 | ||
| 52 | EXTRA_OEMAKE += 'LD="${HOST_PREFIX}ld.bfd"' | ||
| 52 | 53 | ||
| 53 | EXTRA_OEMAKE += 'CC="${@remove_options_tail(d.getVar('CC'))}"' | 54 | EXTRA_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 | " |
| 14 | SRCREV = "ff13a99a22aa73cca0e09a33c2ebb6a94ad698da" | 14 | SRCREV = "ff13a99a22aa73cca0e09a33c2ebb6a94ad698da" |
| 15 | S = "${WORKDIR}/git" | ||
| 16 | 15 | ||
| 17 | inherit autotools pkgconfig | 16 | inherit 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 @@ | |||
| 1 | From 24e317b5cdc2b78735dfa7d4b2776b587b7a193f Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Tom Hochstein <tom.hochstein@nxp.com> | ||
| 3 | Date: Thu, 12 Jun 2025 13:15:28 -0500 | ||
| 4 | Subject: [PATCH] Fix gcc 15 errors | ||
| 5 | |||
| 6 | Fixes HDMI and IPU headers c23 violations: | ||
| 7 | ``` | ||
| 8 | In file included from mxc_hdmi-cec.c:40: | ||
| 9 | hdmi-cec.h:54:23: error: 'bool' cannot be defined via 'typedef' | ||
| 10 | 54 | typedef unsigned char bool; | ||
| 11 | | ^~~~ | ||
| 12 | hdmi-cec.h:54:23: note: 'bool' is a keyword with '-std=c23' onwards | ||
| 13 | hdmi-cec.h:54:1: warning: useless type name in empty declaration | ||
| 14 | 54 | typedef unsigned char bool; | ||
| 15 | | ^~~~~~~ | ||
| 16 | ``` | ||
| 17 | |||
| 18 | Upstream-Status: Submitted | ||
| 19 | Signed-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 | |||
| 25 | diff --git a/hdmi-cec/hdmi-cec.h b/hdmi-cec/hdmi-cec.h | ||
| 26 | index 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 | */ | ||
| 38 | diff --git a/ipu/ipu.h b/ipu/ipu.h | ||
| 39 | index 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 | -- | ||
| 53 | 2.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..5cf1b5744 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 | ||
| 13 | PV = "5.9+${SRCPV}" | 13 | PV = "5.9+${SRCPV}" |
| 14 | 14 | ||
| 15 | SRC_URI = "git://github.com/nxp-imx/imx-lib.git;protocol=https;branch=${SRCBRANCH}" | 15 | SRC_URI = "git://github.com/nxp-imx/imx-lib.git;protocol=https;branch=${SRCBRANCH} \ |
| 16 | SRCBRANCH = "lf-6.6.3_1.0.0" | 16 | file://0001-Fix-gcc-15-errors.patch" |
| 17 | SRCBRANCH = "lf-6.12.20_2.0.0" | ||
| 17 | SRCREV = "8f124c3914d82019849fb697baeb730e4cb1b547" | 18 | SRCREV = "8f124c3914d82019849fb697baeb730e4cb1b547" |
| 18 | 19 | ||
| 19 | S = "${WORKDIR}/git" | ||
| 20 | |||
| 21 | inherit use-imx-headers | 20 | inherit use-imx-headers |
| 22 | 21 | ||
| 23 | PLATFORM:mx6q-nxp-bsp = "IMX6Q" | 22 | PLATFORM:mx6q-nxp-bsp = "IMX6Q" |
| @@ -32,7 +31,7 @@ PLATFORM:mx7ulp-nxp-bsp = "IMX7" | |||
| 32 | PLATFORM:mx8ulp-nxp-bsp = "IMX8ULP" | 31 | PLATFORM:mx8ulp-nxp-bsp = "IMX8ULP" |
| 33 | PLATFORM:mx9-nxp-bsp = "IMX8ULP" | 32 | PLATFORM:mx9-nxp-bsp = "IMX8ULP" |
| 34 | 33 | ||
| 35 | PARALLEL_MAKE="-j 1" | 34 | PARALLEL_MAKE = "-j 1" |
| 36 | EXTRA_OEMAKE = "" | 35 | EXTRA_OEMAKE = "" |
| 37 | 36 | ||
| 38 | do_compile () { | 37 | do_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 | ||
| 3 | require imx-mkimage_git.inc | 3 | require imx-mkimage_git.inc |
| 4 | 4 | ||
| @@ -7,7 +7,7 @@ LICENSE = "GPL-2.0-only" | |||
| 7 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0-only;md5=801f80980d171dd6425610833a22dbe6" | 7 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0-only;md5=801f80980d171dd6425610833a22dbe6" |
| 8 | SECTION = "BSP" | 8 | SECTION = "BSP" |
| 9 | 9 | ||
| 10 | inherit use-imx-security-controller-firmware uboot-sign | 10 | inherit use-imx-security-controller-firmware uboot-config |
| 11 | 11 | ||
| 12 | DEPENDS += " \ | 12 | DEPENDS += " \ |
| 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 |
| 19 | DEPENDS += "xxd-native" | 19 | DEPENDS += "xxd-native" |
| 20 | DEPENDS:append:mx8m-generic-bsp = " u-boot-mkimage-native dtc-native" | 20 | DEPENDS:append:mx8m-generic-bsp = " u-boot-mkimage-native dtc-native" |
| 21 | BOOT_NAME = "imx-boot" | 21 | DEPENDS:append:mx93-generic-bsp = " u-boot-mkimage-native dtc-native" |
| 22 | PROVIDES = "${BOOT_NAME}" | ||
| 23 | 22 | ||
| 24 | inherit deploy uuu_bootloader_tag | 23 | inherit deploy uuu_bootloader_tag |
| 25 | 24 | ||
| 26 | UUU_BOOTLOADER = "${BOOT_NAME}" | 25 | UUU_BOOTLOADER = "imx-boot" |
| 27 | UUU_BOOTLOADER_TAGGED = "${BOOT_NAME}-tagged" | ||
| 28 | UUU_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 |
| 31 | CFLAGS = "-O2 -Wall -std=c99 -I ${STAGING_INCDIR_NATIVE} -L ${STAGING_LIBDIR_NATIVE}" | 28 | CFLAGS = "-O2 -Wall -std=c99 -I ${STAGING_INCDIR_NATIVE} -L ${STAGING_LIBDIR_NATIVE}" |
| @@ -41,14 +38,20 @@ do_compile[depends] += " \ | |||
| 41 | 38 | ||
| 42 | SC_FIRMWARE_NAME ?= "scfw_tcm.bin" | 39 | SC_FIRMWARE_NAME ?= "scfw_tcm.bin" |
| 43 | 40 | ||
| 41 | OEI_ENABLE = "${@bb.utils.contains('DEPENDS', 'virtual/imx-oei', 'YES', 'NO', d)}" | ||
| 42 | OEI_NAME ?= "oei-${OEI_CORE}-*.bin" | ||
| 43 | |||
| 44 | ATF_MACHINE_NAME ?= "bl31-${ATF_PLATFORM}.bin" | 44 | ATF_MACHINE_NAME ?= "bl31-${ATF_PLATFORM}.bin" |
| 45 | ATF_MACHINE_NAME:append = "${@bb.utils.contains('MACHINE_FEATURES', 'optee', '-optee', '', d)}" | 45 | ATF_MACHINE_NAME:append = "${@bb.utils.contains('MACHINE_FEATURES', 'optee', '-optee', '', d)}" |
| 46 | 46 | ||
| 47 | BOOT_VARIANT ?= "" | ||
| 48 | |||
| 47 | TOOLS_NAME ?= "mkimage_imx8" | 49 | TOOLS_NAME ?= "mkimage_imx8" |
| 48 | 50 | ||
| 49 | IMX_BOOT_SOC_TARGET ?= "INVALID" | 51 | IMX_BOOT_SOC_TARGET ?= "INVALID" |
| 50 | 52 | ||
| 51 | DEPLOY_OPTEE = "${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'true', 'false', d)}" | 53 | DEPLOY_OPTEE = "${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'true', 'false', d)}" |
| 54 | DEPLOY_OPTEE_STMM = "${@bb.utils.contains('MACHINE_FEATURES', 'optee stmm', 'true', 'false', d)}" | ||
| 52 | 55 | ||
| 53 | IMXBOOT_TARGETS ?= \ | 56 | IMXBOOT_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 ?= \ | |||
| 58 | BOOT_STAGING = "${S}/${IMX_BOOT_SOC_TARGET}" | 61 | BOOT_STAGING = "${S}/${IMX_BOOT_SOC_TARGET}" |
| 59 | BOOT_STAGING:mx8m-generic-bsp = "${S}/iMX8M" | 62 | BOOT_STAGING:mx8m-generic-bsp = "${S}/iMX8M" |
| 60 | BOOT_STAGING:mx8dx-generic-bsp = "${S}/iMX8QX" | 63 | BOOT_STAGING:mx8dx-generic-bsp = "${S}/iMX8QX" |
| 61 | BOOT_STAGING:mx91p-generic-bsp = "${S}/iMX91" | 64 | BOOT_STAGING:mx91-generic-bsp = "${S}/iMX91" |
| 62 | BOOT_STAGING:mx93-generic-bsp = "${S}/iMX93" | 65 | BOOT_STAGING:mx93-generic-bsp = "${S}/iMX93" |
| 66 | BOOT_STAGING:mx95-generic-bsp = "${S}/iMX95" | ||
| 63 | 67 | ||
| 64 | SOC_FAMILY = "INVALID" | 68 | SOC_FAMILY = "INVALID" |
| 65 | SOC_FAMILY:mx8-generic-bsp = "mx8" | 69 | SOC_FAMILY:mx8-generic-bsp = "mx8" |
| 66 | SOC_FAMILY:mx8m-generic-bsp = "mx8m" | 70 | SOC_FAMILY:mx8m-generic-bsp = "mx8m" |
| 67 | SOC_FAMILY:mx8x-generic-bsp = "mx8x" | 71 | SOC_FAMILY:mx8x-generic-bsp = "mx8x" |
| 68 | SOC_FAMILY:mx8ulp-generic-bsp = "mx8ulp" | 72 | SOC_FAMILY:mx8ulp-generic-bsp = "mx8ulp" |
| 69 | SOC_FAMILY:mx91p-generic-bsp = "mx93" | 73 | SOC_FAMILY:mx91-generic-bsp = "mx91" |
| 70 | SOC_FAMILY:mx93-generic-bsp = "mx93" | 74 | SOC_FAMILY:mx93-generic-bsp = "mx93" |
| 75 | SOC_FAMILY:mx95-generic-bsp = "mx95" | ||
| 71 | 76 | ||
| 72 | REV_OPTION ?= "REV=${IMX_SOC_REV_UPPER}" | 77 | REV_OPTION ?= "REV=${IMX_SOC_REV_UPPER}" |
| 73 | 78 | ||
| 74 | do_uboot_assemble_fitimage:prepend:imx-generic-bsp() { | 79 | MKIMAGE_EXTRA_ARGS ?= "" |
| 75 | for config in ${UBOOT_MACHINE}; do | 80 | MKIMAGE_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)}" | ||
| 85 | MKIMAGE_EXTRA_ARGS:imx95-19x19-verdin ?= " \ | ||
| 86 | ${MKIMAGE_EXTRA_ARGS:mx95-nxp-bsp} \ | ||
| 87 | QSPI_HEADER=./scripts/fspi_header_133" | ||
| 88 | |||
| 89 | UBOOT_DTB_BINARY ?= "u-boot.dtb" | ||
| 79 | 90 | ||
| 80 | compile_mx8m() { | 91 | compile_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 | |||
| 107 | compile_mx8() { | 123 | compile_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 | ||
| 159 | compile_mx91() { | ||
| 160 | bbnote i.MX 91 boot binary build | ||
| 161 | compile_mx93 | ||
| 162 | } | ||
| 163 | |||
| 143 | compile_mx93() { | 164 | compile_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 | ||
| 180 | compile_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 | |||
| 159 | do_compile() { | 188 | do_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 | ||
| 332 | deploy_mx91() { | ||
| 333 | deploy_mx93 | ||
| 334 | } | ||
| 335 | |||
| 282 | deploy_mx93() { | 336 | deploy_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 | ||
| 351 | deploy_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 | |||
| 297 | do_deploy() { | 357 | do_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..a14d98241 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 | ||
| 3 | DEPENDS = "zlib-native openssl-native" | 3 | DEPENDS = "zlib-native openssl-native" |
| 4 | 4 | ||
| 5 | SRC_URI = "git://github.com/nxp-imx/imx-mkimage.git;protocol=https;branch=${SRCBRANCH} \ | 5 | SRC_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 | " |
| 8 | SRCBRANCH = "lf-6.6.3_1.0.0" | 8 | SRCBRANCH = "lf-6.12.20_2.0.0" |
| 9 | SRCREV = "cbb99377cc2bb8f7cf213794c030e1c60423ef1f" | 9 | SRCREV = "4c2e5b25232f5aa003976ddca9d1d2fb9667beb1" |
| 10 | |||
| 11 | S = "${WORKDIR}/git" | ||
| 12 | 10 | ||
| 13 | BOOT_TOOLS = "imx-boot-tools" | 11 | BOOT_TOOLS = "imx-boot-tools" |
| 14 | SYSROOT_DIRS += "/boot" | 12 | SYSROOT_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 | ||
| 4 | DESCRIPTION = "i.MX System Controller Firmware" | 4 | DESCRIPTION = "i.MX System Controller Firmware" |
| 5 | LICENSE = "Proprietary" | 5 | LICENSE = "Proprietary" |
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=5a0bf11f745e68024f37b4724a5364fe" | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=c0fb372b5d7f12181de23ef480f225f3" |
| 7 | SECTION = "BSP" | 7 | SECTION = "BSP" |
| 8 | 8 | ||
| 9 | inherit fsl-eula-unpack pkgconfig deploy | 9 | inherit fsl-eula-unpack pkgconfig deploy |
| 10 | 10 | ||
| 11 | SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}.bin;fsl-eula=true" | 11 | SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" |
| 12 | SRC_URI[sha256sum] = "392f1e5cdf1c8d7ed75409a2c46b00a332ace677f0e2700b587fe9ae800a1ff3" | ||
| 13 | IMX_SRCREV_ABBREV = "654907b" | ||
| 12 | 14 | ||
| 13 | SRC_URI[md5sum] = "d608eb2b3d312da1dbde55b8514c1e0f" | 15 | S = "${UNPACKDIR}/${BPN}-${PV}-${IMX_SRCREV_ABBREV}" |
| 14 | SRC_URI[sha256sum] = "1272ac5c31a88017ef548721f3acf930a7eda6ac73aa9f41b5f0cade9d5c0e5f" | ||
| 15 | 16 | ||
| 16 | BOARD_TYPE ?= "mek" | 17 | BOARD_TYPE ?= "mek" |
| 17 | SC_FIRMWARE_NAME ?= "INVALID" | 18 | SC_FIRMWARE_NAME ?= "INVALID" |
| @@ -24,6 +25,9 @@ symlink_name = "scfw_tcm.bin" | |||
| 24 | 25 | ||
| 25 | BOOT_TOOLS = "imx-boot-tools" | 26 | BOOT_TOOLS = "imx-boot-tools" |
| 26 | 27 | ||
| 28 | LDFLAGS:remove = "-fuse-ld=lld" | ||
| 29 | LDFLAGS:append = " -fuse-ld=bfd" | ||
| 30 | |||
| 27 | do_compile[noexec] = "1" | 31 | do_compile[noexec] = "1" |
| 28 | 32 | ||
| 29 | do_install[noexec] = "1" | 33 | do_install[noexec] = "1" |
| @@ -38,8 +42,4 @@ INHIBIT_PACKAGE_STRIP = "1" | |||
| 38 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" | 42 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" |
| 39 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 43 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
| 40 | 44 | ||
| 41 | LDFLAGS:remove = "-fuse-ld=lld" | ||
| 42 | |||
| 43 | DEBUG_PREFIX_MAP:remove = "-fcanon-prefix-map" | ||
| 44 | |||
| 45 | COMPATIBLE_MACHINE = "(mx8qm-generic-bsp|mx8qxp-generic-bsp|mx8dxl-generic-bsp|mx8dx-generic-bsp)" | 45 | COMPATIBLE_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 | ||
| 9 | DEPENDS = "zlib" | 9 | DEPENDS = "zlib" |
| 10 | 10 | ||
| 11 | SRCBRANCH = "imx_5.4.70_2.3.11" | 11 | SRCBRANCH = "lf-6.6.3_1.0.0" |
| 12 | SRC_URI = "git://github.com/NXP/imx-seco-libs.git;protocol=https;branch=${SRCBRANCH} \ | 12 | SRC_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" |
| 17 | SRCREV = "aa8d62900c41cc779c11fe4e6f58b40c3c9f82f0" | 17 | SRCREV = "273553f207425f773400be7a7f3a7c425d892d6f" |
| 18 | |||
| 19 | S = "${WORKDIR}/git" | ||
| 20 | 18 | ||
| 21 | TARGET_CC_ARCH += "${LDFLAGS}" | 19 | TARGET_CC_ARCH += "${LDFLAGS}" |
| 22 | 20 | ||
| 23 | do_install () { | 21 | do_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 | ||
| 27 | COMPATIBLE_MACHINE = "(mx8qm-nxp-bsp|mx8qxp-nxp-bsp|mx8dxl-nxp-bsp|mx8dx-nxp-bsp)" | 25 | COMPATIBLE_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 | ||
| 3 | SUMMARY = "NXP i.MX SECO firmware" | 3 | SUMMARY = "NXP i.MX SECO firmware" |
| 4 | DESCRIPTION = "Firmware for i.MX Security Controller Subsystem" | 4 | DESCRIPTION = "Firmware for i.MX Security Controller Subsystem" |
| 5 | SECTION = "base" | 5 | SECTION = "base" |
| 6 | LICENSE = "Proprietary" | 6 | LICENSE = "Proprietary" |
| 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=5a0bf11f745e68024f37b4724a5364fe" | 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=ca53281cc0caa7e320d4945a896fb837" |
| 8 | 8 | ||
| 9 | inherit fsl-eula-unpack use-imx-security-controller-firmware deploy | 9 | inherit fsl-eula-unpack use-imx-security-controller-firmware deploy |
| 10 | 10 | ||
| 11 | SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true" | 11 | SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" |
| 12 | 12 | ||
| 13 | SRC_URI[md5sum] = "b722a534c4d3cc90270e05eaa812514d" | 13 | SRC_URI[sha256sum] = "bd8dc01966076836aabff53f2463295294166595006e1db430db21b6ffa6b667" |
| 14 | SRC_URI[sha256sum] = "c3bd761f457e939035b01a0ab36e79064a2a1bc6c3cdb3cd847f7f38df0964df" | 14 | IMX_SRCREV_ABBREV = "0333596" |
| 15 | 15 | ||
| 16 | S = "${UNPACKDIR}/${BPN}-${PV}-${IMX_SRCREV_ABBREV}" | ||
| 16 | 17 | ||
| 17 | do_compile[noexec] = "1" | 18 | do_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 @@ | |||
| 1 | SUMMARY = "NXP i.MX Secure Enclave Userspace Library" | ||
| 2 | DESCRIPTION = "NXP i.MX Secure Enclave Userspace Library" | ||
| 3 | SECTION = "base" | ||
| 4 | |||
| 5 | LICENSE = "BSD-3-Clause" | ||
| 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=8636bd68fc00cc6a3809b7b58b45f982" | ||
| 7 | |||
| 8 | DEPENDS = "openssl" | ||
| 9 | |||
| 10 | inherit systemd | ||
| 11 | |||
| 12 | SRC_URI = "git://github.com/NXP/imx-secure-enclave.git;protocol=https;branch=lf-6.6.52_2.2.0" | ||
| 13 | SRCREV = "dffbb844e86f4a49058ffbb40548474059969c27" | ||
| 14 | |||
| 15 | PV = "lf-6.6.52_2.2.0" | ||
| 16 | |||
| 17 | EXTRA_OEMAKE += "PLAT=ele" | ||
| 18 | |||
| 19 | TARGET_CC_ARCH += "${LDFLAGS}" | ||
| 20 | |||
| 21 | do_install () { | ||
| 22 | oe_runmake DESTDIR=${D} install | ||
| 23 | rm -rf ${D}/usr/share | ||
| 24 | } | ||
| 25 | |||
| 26 | SYSTEMD_AUTO_ENABLE = "disable" | ||
| 27 | SYSTEMD_SERVICE:${PN} = "nvm_daemon.service" | ||
| 28 | |||
| 29 | COMPATIBLE_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..3dd6153a0 100644 --- a/recipes-bsp/imx-test/imx-test_git.bb +++ b/recipes-bsp/imx-test/imx-test_git.bb | |||
| @@ -14,16 +14,15 @@ DEPENDS:append:mx6-nxp-bsp = " imx-lib" | |||
| 14 | DEPENDS:append:mx7-nxp-bsp = " imx-lib" | 14 | DEPENDS:append:mx7-nxp-bsp = " imx-lib" |
| 15 | DEPENDS:append:mx8ulp-nxp-bsp = " imx-lib" | 15 | DEPENDS:append:mx8ulp-nxp-bsp = " imx-lib" |
| 16 | DEPENDS:append:mx93-nxp-bsp = " imx-lib" | 16 | DEPENDS:append:mx93-nxp-bsp = " imx-lib" |
| 17 | DEPENDS:append:mx943-nxp-bsp = " imx-lib" | ||
| 17 | 18 | ||
| 18 | PE = "1" | 19 | PE = "1" |
| 19 | PV = "7.0+${SRCPV}" | 20 | PV = "7.0+${SRCPV}" |
| 20 | 21 | ||
| 21 | SRC_URI = "git://github.com/nxp-imx/imx-test.git;protocol=https;branch=${SRCBRANCH} \ | 22 | SRC_URI = "git://github.com/nxp-imx/imx-test.git;protocol=https;branch=${SRCBRANCH} \ |
| 22 | file://memtool_profile" | 23 | file://memtool_profile" |
| 23 | SRCBRANCH = "lf-6.6.3_1.0.0" | 24 | SRCBRANCH = "lf-6.12.20_2.0.0" |
| 24 | SRCREV = "8a1fa37664a1e470cf86f1185c08e265e4602a9b" | 25 | SRCREV = "38f9cf1f08bb6fcdd6aaf9191e0b53f02e02537b" |
| 25 | |||
| 26 | S = "${WORKDIR}/git" | ||
| 27 | 26 | ||
| 28 | inherit module-base use-imx-headers | 27 | inherit module-base use-imx-headers |
| 29 | 28 | ||
| @@ -40,7 +39,9 @@ PLATFORM:mx7d-nxp-bsp = "IMX7D" | |||
| 40 | PLATFORM:mx7ulp-nxp-bsp = "IMX7D" | 39 | PLATFORM:mx7ulp-nxp-bsp = "IMX7D" |
| 41 | PLATFORM:mx8-nxp-bsp = "IMX8" | 40 | PLATFORM:mx8-nxp-bsp = "IMX8" |
| 42 | PLATFORM:mx8ulp-nxp-bsp = "IMX8ULP" | 41 | PLATFORM:mx8ulp-nxp-bsp = "IMX8ULP" |
| 42 | PLATFORM:mx91-nxp-bsp = "IMX8" | ||
| 43 | PLATFORM:mx93-nxp-bsp = "IMX8ULP" | 43 | PLATFORM:mx93-nxp-bsp = "IMX8ULP" |
| 44 | PLATFORM:mx943-nxp-bsp = "IMX8ULP" | ||
| 44 | PLATFORM:mx95-nxp-bsp = "IMX8" | 45 | PLATFORM:mx95-nxp-bsp = "IMX8" |
| 45 | 46 | ||
| 46 | PARALLEL_MAKE = "-j 1" | 47 | PARALLEL_MAKE = "-j 1" |
| @@ -73,11 +74,11 @@ do_install() { | |||
| 73 | PLATFORM=${PLATFORM} \ | 74 | PLATFORM=${PLATFORM} \ |
| 74 | install | 75 | install |
| 75 | 76 | ||
| 76 | if [ -e ${WORKDIR}/clocks.sh ]; then | 77 | if [ -e ${UNPACKDIR}/clocks.sh ]; then |
| 77 | install -m 755 ${WORKDIR}/clocks.sh ${D}/unit_tests/clocks.sh | 78 | install -m 755 ${UNPACKDIR}/clocks.sh ${D}/unit_tests/clocks.sh |
| 78 | fi | 79 | fi |
| 79 | install -d -m 0755 ${D}${ROOT_HOME}/ | 80 | install -d -m 0755 ${D}${ROOT_HOME}/ |
| 80 | install -m 0644 ${WORKDIR}/memtool_profile ${D}${ROOT_HOME}/.profile | 81 | install -m 0644 ${UNPACKDIR}/memtool_profile ${D}${ROOT_HOME}/.profile |
| 81 | } | 82 | } |
| 82 | 83 | ||
| 83 | FILES:${PN} += "/unit_tests ${ROOT_HOME}/.profile" | 84 | FILES:${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..54997ae37 100644 --- a/recipes-bsp/imx-uuc/imx-uuc_git.bb +++ b/recipes-bsp/imx-uuc/imx-uuc_git.bb | |||
| @@ -1,20 +1,20 @@ | |||
| 1 | # Copyright (C) 2016 Freescale Semiconductor | 1 | # Copyright (C) 2016 Freescale Semiconductor |
| 2 | # Copyright (C) 2017-2019,2024 NXP | 2 | # Copyright (C) 2017-2019,2024-2025 NXP |
| 3 | SUMMARY = "A Daemon wait for NXP mfgtools host's command" | 3 | SUMMARY = "A Daemon wait for NXP mfgtools host's command" |
| 4 | SECTION = "base" | 4 | SECTION = "base" |
| 5 | DEPENDS = "virtual/kernel dosfstools-native" | 5 | DEPENDS = "virtual/kernel dosfstools-native" |
| 6 | LICENSE = "GPL-2.0-only" | 6 | LICENSE = "GPL-2.0-only" |
| 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263" | 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263" |
| 8 | 8 | ||
| 9 | inherit autotools-brokensep | ||
| 10 | |||
| 11 | PR = "r1" | 9 | PR = "r1" |
| 12 | PV = "0.5.1+git${SRCPV}" | 10 | PV = "0.5.1+git${SRCPV}" |
| 13 | 11 | ||
| 14 | SRC_URI = "git://github.com/NXPmicro/imx-uuc.git;protocol=https;branch=master" | 12 | SRC_URI = "git://github.com/nxp-imx/imx-uuc.git;protocol=https;branch=master" |
| 15 | SRCREV = "9b4adc0cde346fbae743dc21fcf5115488307b83" | 13 | SRCREV = "25f65e10368aa07056f9536e88ed911ac7f38f99" |
| 16 | 14 | ||
| 17 | S = "${WORKDIR}/git" | 15 | do_install() { |
| 16 | oe_runmake 'DESTDIR=${D}' install | ||
| 17 | } | ||
| 18 | 18 | ||
| 19 | FILES:${PN} += "/linuxrc /fat" | 19 | FILES:${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 @@ | |||
| 1 | From e7f6097c9e7cb30f130502cc4804e1a1b01342de Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Max Krummenacher <max.krummenacher@toradex.com> | ||
| 3 | Date: Wed, 7 May 2025 16:13:38 +0000 | ||
| 4 | Subject: [PATCH] base_type.h: make header compatible with c23 | ||
| 5 | |||
| 6 | With C23 bool, true and false are built in keywords and cannot be | ||
| 7 | redefined. | ||
| 8 | |||
| 9 | Upstream-Status: Pending | ||
| 10 | Signed-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 | |||
| 15 | diff --git a/usr/include/hantro_VC8000E_enc/base_type.h b/usr/include/hantro_VC8000E_enc/base_type.h | ||
| 16 | index 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 | -- | ||
| 38 | 2.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 | ||
| 3 | DESCRIPTION = "i.MX VC8000E Encoder library" | 3 | DESCRIPTION = "i.MX VC8000E Encoder library" |
| 4 | LICENSE = "Proprietary" | 4 | LICENSE = "Proprietary" |
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=5a0bf11f745e68024f37b4724a5364fe" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=ca53281cc0caa7e320d4945a896fb837" |
| 6 | 6 | ||
| 7 | inherit fsl-eula-unpack | 7 | inherit fsl-eula-unpack |
| 8 | 8 | ||
| 9 | SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true" | 9 | SRC_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 | " | ||
| 13 | IMX_SRCREV_ABBREV = "c0244a1" | ||
| 10 | 14 | ||
| 11 | S = "${WORKDIR}/${BPN}-${PV}" | 15 | SRC_URI[sha256sum] = "713ba375f25490727fcc62bab5d5508f74de03204b4c153464b696b652c5c7df" |
| 12 | 16 | ||
| 13 | SRC_URI[md5sum] = "192b354d1c21836dc7338606e60b45ae" | 17 | S = "${UNPACKDIR}/${BP}-${IMX_SRCREV_ABBREV}" |
| 14 | SRC_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" | |||
| 6 | DEPENDS = "imx-vpu-hantro" | 6 | DEPENDS = "imx-vpu-hantro" |
| 7 | DEPENDS:append:mx8mp-nxp-bsp = " imx-vpu-hantro-vc" | 7 | DEPENDS:append:mx8mp-nxp-bsp = " imx-vpu-hantro-vc" |
| 8 | 8 | ||
| 9 | SRC_URI = "${FSL_MIRROR}/${BP}.tar.gz" | 9 | SRC_URI = "${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.tar.gz" |
| 10 | SRC_URI[md5sum] = "23997361dab3054e5a3757a15d33db16" | 10 | IMX_SRCREV_ABBREV = "3200e68" |
| 11 | SRC_URI[sha256sum] = "ac2b60fb754792eedcfdfc8cf59663cfeaedc402857eff13ac97a911d2c65801" | 11 | |
| 12 | SRC_URI[sha256sum] = "e7806a92d4a5ab51b76d9edef5175a95625c4ac3cab467fe1519bb0ce16e6535" | ||
| 13 | |||
| 14 | S = "${UNPACKDIR}/${BP}-${IMX_SRCREV_ABBREV}" | ||
| 12 | 15 | ||
| 13 | PLATFORM:mx8mm-nxp-bsp = "IMX8MM" | 16 | PLATFORM:mx8mm-nxp-bsp = "IMX8MM" |
| 14 | PLATFORM:mx8mq-nxp-bsp = "IMX8MQ" | 17 | PLATFORM: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 @@ | |||
| 1 | From e39a6602817e4221ae09ac3d520ca6a0d94814dc Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Max Krummenacher <max.krummenacher@toradex.com> | ||
| 3 | Date: Wed, 7 May 2025 16:13:38 +0000 | ||
| 4 | Subject: [PATCH] basetype.h: make header compatible with c23 | ||
| 5 | |||
| 6 | With C23 bool, true and false are built in keywords and cannot be | ||
| 7 | redefined. | ||
| 8 | |||
| 9 | Upstream-Status: Pending | ||
| 10 | Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> | ||
| 11 | --- | ||
| 12 | h1_encoder/software/inc/basetype.h | 4 ++++ | ||
| 13 | 1 file changed, 4 insertions(+) | ||
| 14 | |||
| 15 | diff --git a/h1_encoder/software/inc/basetype.h b/h1_encoder/software/inc/basetype.h | ||
| 16 | index 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 | -- | ||
| 37 | 2.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 @@ | |||
| 1 | From 0c5bdd12a6f3ba73e605656828bf429966a997ef Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Max Krummenacher <max.krummenacher@toradex.com> | ||
| 3 | Date: Wed, 7 May 2025 13:25:26 +0000 | ||
| 4 | Subject: [PATCH] test: md5: convert to ansi c | ||
| 5 | |||
| 6 | GCC 15 no longer likes this K&R style function declarations. | ||
| 7 | |||
| 8 | Upstream-Status: Pending | ||
| 9 | Signed-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 | |||
| 15 | diff --git a/decoder_sw/software/test/common/swhw/md5.c b/decoder_sw/software/test/common/swhw/md5.c | ||
| 16 | index 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 | |||
| 69 | diff --git a/decoder_sw/software/test/common/swhw/md5.h b/decoder_sw/software/test/common/swhw/md5.h | ||
| 70 | index 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 | -- | ||
| 89 | 2.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 | |||
| 3 | DESCRIPTION = "i.MX Hantro VPU library" | ||
| 4 | LICENSE = "Proprietary" | ||
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=ea25d099982d035af85d193c88a1b479" | ||
| 6 | |||
| 7 | PROVIDES = "virtual/imxvpu" | ||
| 8 | |||
| 9 | SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true" | ||
| 10 | SRC_URI[md5sum] = "81b4eb801349a0c198b7cc43eb8b6097" | ||
| 11 | SRC_URI[sha256sum] = "e868e12945b4f217e2e0511fdc2587875d6c9124e8673b67f1e7de367ff5012f" | ||
| 12 | |||
| 13 | inherit fsl-eula-unpack use-imx-headers | ||
| 14 | |||
| 15 | PARALLEL_MAKE="-j 1" | ||
| 16 | |||
| 17 | PLATFORM:mx8mm-nxp-bsp = "IMX8MM" | ||
| 18 | PLATFORM:mx8mq-nxp-bsp = "IMX8MQ" | ||
| 19 | PLATFORM:mx8mp-nxp-bsp = "IMX8MP" | ||
| 20 | |||
| 21 | EXTRA_OEMAKE = " \ | ||
| 22 | CROSS_COMPILE="${HOST_PREFIX}" \ | ||
| 23 | SDKTARGETSYSROOT="${STAGING_DIR_TARGET}" \ | ||
| 24 | PLATFORM="${PLATFORM}" \ | ||
| 25 | " | ||
| 26 | |||
| 27 | do_install () { | ||
| 28 | oe_runmake install DEST_DIR="${D}" | ||
| 29 | } | ||
| 30 | |||
| 31 | FILES:${PN} += "/unit_tests" | ||
| 32 | |||
| 33 | RDEPENDS:${PN} += "imx-vpu-hantro-daemon" | ||
| 34 | |||
| 35 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" | ||
| 36 | COMPATIBLE_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 | |||
| 3 | DESCRIPTION = "i.MX Hantro VPU library" | ||
| 4 | LICENSE = "Proprietary" | ||
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=c0fb372b5d7f12181de23ef480f225f3" | ||
| 6 | |||
| 7 | PROVIDES = "virtual/imxvpu" | ||
| 8 | |||
| 9 | SRC_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 | " | ||
| 14 | IMX_SRCREV_ABBREV = "194a305" | ||
| 15 | |||
| 16 | SRC_URI[sha256sum] = "0ef1fb5c6653c08f2d2812c72dedf3e8beb091dd5b3d70d6e26f41bac4ebffa7" | ||
| 17 | |||
| 18 | S = "${UNPACKDIR}/${BP}-${IMX_SRCREV_ABBREV}" | ||
| 19 | |||
| 20 | inherit fsl-eula-unpack use-imx-headers | ||
| 21 | |||
| 22 | PARALLEL_MAKE = "-j 1" | ||
| 23 | |||
| 24 | PLATFORM:mx8mm-nxp-bsp = "IMX8MM" | ||
| 25 | PLATFORM:mx8mq-nxp-bsp = "IMX8MQ" | ||
| 26 | PLATFORM: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 | |||
| 33 | CFLAGS += " -Wno-error=incompatible-pointer-types" | ||
| 34 | EXTRA_OEMAKE = " \ | ||
| 35 | CROSS_COMPILE="${HOST_PREFIX}" \ | ||
| 36 | SDKTARGETSYSROOT="${STAGING_DIR_TARGET}" \ | ||
| 37 | PLATFORM="${PLATFORM}" \ | ||
| 38 | " | ||
| 39 | |||
| 40 | do_install () { | ||
| 41 | oe_runmake install DEST_DIR="${D}" | ||
| 42 | } | ||
| 43 | |||
| 44 | FILES:${PN} += "/unit_tests" | ||
| 45 | |||
| 46 | RDEPENDS:${PN} += "imx-vpu-hantro-daemon" | ||
| 47 | |||
| 48 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" | ||
| 49 | COMPATIBLE_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" | |||
| 11 | PE = "1" | 11 | PE = "1" |
| 12 | 12 | ||
| 13 | SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true" | 13 | SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true" |
| 14 | SRC_URI[md5sum] = "6d6302189a6704874375afe62a65def0" | ||
| 15 | SRC_URI[sha256sum] = "87cb799a57df654db29403cb74a75ca5185a1517022d3a4a16b8d69056c36127" | 14 | SRC_URI[sha256sum] = "87cb799a57df654db29403cb74a75ca5185a1517022d3a4a16b8d69056c36127" |
| 16 | 15 | ||
| 17 | inherit fsl-eula-unpack use-imx-headers | 16 | inherit 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 | |||
| 7 | SRC_URI = "git://github.com/nxp/qoriq-firmware-inphi.git;nobranch=1;protocol=https" | 7 | SRC_URI = "git://github.com/nxp/qoriq-firmware-inphi.git;nobranch=1;protocol=https" |
| 8 | SRCREV = "f22e9ff3bfed8342da6efb699e473b11fbad5695" | 8 | SRCREV = "f22e9ff3bfed8342da6efb699e473b11fbad5695" |
| 9 | 9 | ||
| 10 | S = "${WORKDIR}/git" | ||
| 11 | |||
| 12 | do_install () { | 10 | do_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.2.bb index 0ab440748..012e1f2b7 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.2.bb | |||
| @@ -1,17 +1,23 @@ | |||
| 1 | # Copyright 2020-2023 NXP | 1 | # Copyright (C) 2020-2024 NXP |
| 2 | 2 | ||
| 3 | DESCRIPTION = "Basler camera binary drivers" | 3 | DESCRIPTION = "Basler camera binary drivers" |
| 4 | LICENSE = "Proprietary" | 4 | LICENSE = "Proprietary" |
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=2827219e81f28aba7c6a569f7c437fa7" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=a93b654673e1bc8398ed1f30e0813359" |
| 6 | |||
| 7 | IMX_SRCREV_ABBREV = "dd86758" | ||
| 6 | 8 | ||
| 7 | inherit fsl-eula-unpack | 9 | inherit fsl-eula-unpack |
| 8 | 10 | ||
| 9 | SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}.bin;fsl-eula=true" | 11 | SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" |
| 12 | |||
| 13 | SRC_URI[sha256sum] = "aa86adeb0c53c3306f7e1c004ffa78ebb7db3e9136c78759e4029b4b5e1b1a64" | ||
| 14 | |||
| 15 | S = "${UNPACKDIR}/${BPN}-${PV}-${IMX_SRCREV_ABBREV}" | ||
| 10 | 16 | ||
| 11 | SRC_URI[md5sum] = "31d716e1f40c248556e5a8e6b467ba71" | 17 | do_compile[noexec] = "1" |
| 12 | SRC_URI[sha256sum] = "ad3e98ee0c10f2b3e74af8923f44b8d5908e42eedbca12a702e35cee9328d8cf" | ||
| 13 | 18 | ||
| 14 | do_install() { | 19 | do_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 @@ | |||
| 1 | From 15aae364fb52df30e4a49e73e2048fdc633e6868 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Max Krummenacher <max.krummenacher@toradex.com> | ||
| 3 | Date: Sun, 8 Oct 2023 09:15:54 -0300 | ||
| 4 | Subject: [PATCH] cpp-netlib: parsers.ipp: add missing include | ||
| 5 | |||
| 6 | With 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 | |||
| 10 | Add 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 | |||
| 23 | Upstream-Status: Pending | ||
| 24 | |||
| 25 | Signed-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 | |||
| 30 | diff --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 | ||
| 31 | index 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 | -- | ||
| 43 | 2.35.3 | ||
| 44 | |||
diff --git a/recipes-bsp/isp-imx/isp-imx/0001-isp-imx-start_isp-don-t-report-error-if-no-camera-is.patch b/recipes-bsp/isp-imx/isp-imx/0001-isp-imx-start_isp-don-t-report-error-if-no-camera-is.patch new file mode 100644 index 000000000..617abde6f --- /dev/null +++ b/recipes-bsp/isp-imx/isp-imx/0001-isp-imx-start_isp-don-t-report-error-if-no-camera-is.patch | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | From d24c74528fefd1316f1633f0a7f1a5acea40454f Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Max Krummenacher <max.krummenacher@toradex.com> | ||
| 3 | Date: Thu, 19 Jan 2023 15:51:24 +0000 | ||
| 4 | Subject: [PATCH 1/5] isp-imx: start_isp: don't report error if no camera is | ||
| 5 | configured | ||
| 6 | |||
| 7 | The script currently returns '6' when no known camera is configured | ||
| 8 | in the device tree. The end result is that the systemd imx8-isp.service | ||
| 9 | goes to the failed state. | ||
| 10 | Return '0' in that case as obviously the device tree doesn't have a | ||
| 11 | camera configured and the service is not needed. | ||
| 12 | |||
| 13 | Upstream-Status: Pending | ||
| 14 | Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> | ||
| 15 | --- | ||
| 16 | imx/start_isp.sh | 2 +- | ||
| 17 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 18 | |||
| 19 | diff --git a/imx/start_isp.sh b/imx/start_isp.sh | ||
| 20 | index d544b4ca2a57..22e7783437d6 100755 | ||
| 21 | --- a/imx/start_isp.sh | ||
| 22 | +++ b/imx/start_isp.sh | ||
| 23 | @@ -72,5 +72,5 @@ elif [ $NR_DEVICE_TREE_OS08A20 -eq 2 ]; then | ||
| 24 | else | ||
| 25 | # no device tree found exit with code no device or address | ||
| 26 | echo "No device tree found for Basler camera or os08a20, check dtb file!" >&2 | ||
| 27 | - exit 6 | ||
| 28 | + exit 0 | ||
| 29 | fi | ||
| 30 | -- | ||
| 31 | 2.42.0 | ||
| 32 | |||
diff --git a/recipes-bsp/isp-imx/isp-imx/0002-appshell-cmake-bump-min-version-to-3.5.patch b/recipes-bsp/isp-imx/isp-imx/0002-appshell-cmake-bump-min-version-to-3.5.patch new file mode 100644 index 000000000..38b3b6b02 --- /dev/null +++ b/recipes-bsp/isp-imx/isp-imx/0002-appshell-cmake-bump-min-version-to-3.5.patch | |||
| @@ -0,0 +1,134 @@ | |||
| 1 | From 5b69b60bd4d0d5ed1474c6457561d48cdbabc778 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Max Krummenacher <max.krummenacher@toradex.com> | ||
| 3 | Date: Fri, 25 Jul 2025 09:19:58 +0000 | ||
| 4 | Subject: [PATCH 2/5] appshell: cmake: bump min version to 3.5 | ||
| 5 | |||
| 6 | CMake 4 no longer supports min version set to before 3.5 | ||
| 7 | |||
| 8 | | CMake Error at CMakeLists.txt:28 (cmake_minimum_required): | ||
| 9 | | Compatibility with CMake < 3.5 has been removed from CMake. | ||
| 10 | |||
| 11 | Upstream-Status: Pending | ||
| 12 | Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> | ||
| 13 | --- | ||
| 14 | appshell/CMakeLists.txt | 2 +- | ||
| 15 | appshell/display/CMakeLists.txt | 2 +- | ||
| 16 | appshell/display/wayland-client/CMakeLists.txt | 2 +- | ||
| 17 | appshell/v4l_drm_test/CMakeLists.txt | 2 +- | ||
| 18 | appshell/vvext/CMakeLists.txt | 2 +- | ||
| 19 | appshell/yuv/CMakeLists.txt | 2 +- | ||
| 20 | units/CMakeLists.txt | 2 +- | ||
| 21 | units/isi/CMakeLists.txt | 2 +- | ||
| 22 | units/isi/drv/OS08a20/CMakeLists.txt | 2 +- | ||
| 23 | units/isi/drv/OS08a20/calib/CMakeLists.txt | 2 +- | ||
| 24 | 10 files changed, 10 insertions(+), 10 deletions(-) | ||
| 25 | |||
| 26 | diff --git a/appshell/CMakeLists.txt b/appshell/CMakeLists.txt | ||
| 27 | index 22092ce975b5..cf14e254c812 100644 | ||
| 28 | --- a/appshell/CMakeLists.txt | ||
| 29 | +++ b/appshell/CMakeLists.txt | ||
| 30 | @@ -25,7 +25,7 @@ | ||
| 31 | # *****************************************************************************/ | ||
| 32 | |||
| 33 | |||
| 34 | -cmake_minimum_required(VERSION 3.1.0) | ||
| 35 | +cmake_minimum_required(VERSION 3.5.0) | ||
| 36 | project(ISP_APP_SHELL) | ||
| 37 | |||
| 38 | if(DEFINED QTLESS) | ||
| 39 | diff --git a/appshell/display/CMakeLists.txt b/appshell/display/CMakeLists.txt | ||
| 40 | index 491f086adf55..458a46b165b4 100755 | ||
| 41 | --- a/appshell/display/CMakeLists.txt | ||
| 42 | +++ b/appshell/display/CMakeLists.txt | ||
| 43 | @@ -1,4 +1,4 @@ | ||
| 44 | -cmake_minimum_required(VERSION 2.6) | ||
| 45 | +cmake_minimum_required(VERSION 3.6) | ||
| 46 | |||
| 47 | set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -fPIC") | ||
| 48 | |||
| 49 | diff --git a/appshell/display/wayland-client/CMakeLists.txt b/appshell/display/wayland-client/CMakeLists.txt | ||
| 50 | index 78247528b0e4..0639d79d8346 100644 | ||
| 51 | --- a/appshell/display/wayland-client/CMakeLists.txt | ||
| 52 | +++ b/appshell/display/wayland-client/CMakeLists.txt | ||
| 53 | @@ -1,4 +1,4 @@ | ||
| 54 | -cmake_minimum_required(VERSION 2.6) | ||
| 55 | +cmake_minimum_required(VERSION 3.6) | ||
| 56 | |||
| 57 | set(WAYLAND_XML_PRIFIX ${SDKTARGETSYSROOT}/usr/share/wayland-protocols) | ||
| 58 | set(GEN_INSTALL_PREFIX ${PROJECT_SOURCE_DIR}/display/wayland-client) | ||
| 59 | diff --git a/appshell/v4l_drm_test/CMakeLists.txt b/appshell/v4l_drm_test/CMakeLists.txt | ||
| 60 | index cf4685c84204..309e5d465e99 100755 | ||
| 61 | --- a/appshell/v4l_drm_test/CMakeLists.txt | ||
| 62 | +++ b/appshell/v4l_drm_test/CMakeLists.txt | ||
| 63 | @@ -1,4 +1,4 @@ | ||
| 64 | -cmake_minimum_required(VERSION 2.6) | ||
| 65 | +cmake_minimum_required(VERSION 3.5) | ||
| 66 | |||
| 67 | project(ISP_V4L_DRM_TEST) | ||
| 68 | set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") | ||
| 69 | diff --git a/appshell/vvext/CMakeLists.txt b/appshell/vvext/CMakeLists.txt | ||
| 70 | index a5d6c12929fa..63c1eb5f7073 100755 | ||
| 71 | --- a/appshell/vvext/CMakeLists.txt | ||
| 72 | +++ b/appshell/vvext/CMakeLists.txt | ||
| 73 | @@ -1,4 +1,4 @@ | ||
| 74 | -cmake_minimum_required(VERSION 2.6) | ||
| 75 | +cmake_minimum_required(VERSION 3.5) | ||
| 76 | |||
| 77 | project(ISP_V4L_DRM_TEST) | ||
| 78 | set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") | ||
| 79 | diff --git a/appshell/yuv/CMakeLists.txt b/appshell/yuv/CMakeLists.txt | ||
| 80 | index 131766fcb5d4..0f3591918e08 100755 | ||
| 81 | --- a/appshell/yuv/CMakeLists.txt | ||
| 82 | +++ b/appshell/yuv/CMakeLists.txt | ||
| 83 | @@ -1,4 +1,4 @@ | ||
| 84 | -cmake_minimum_required(VERSION 2.6) | ||
| 85 | +cmake_minimum_required(VERSION 3.5) | ||
| 86 | set (CMAKE_CXX_FLAGS_DEBUG "") | ||
| 87 | set (CMAKE_C_FLAGS_DEBUG "") | ||
| 88 | |||
| 89 | diff --git a/units/CMakeLists.txt b/units/CMakeLists.txt | ||
| 90 | index 37fa65ed4ea8..10abbef1c16c 100755 | ||
| 91 | --- a/units/CMakeLists.txt | ||
| 92 | +++ b/units/CMakeLists.txt | ||
| 93 | @@ -24,7 +24,7 @@ | ||
| 94 | # * | ||
| 95 | # *****************************************************************************/ | ||
| 96 | |||
| 97 | -cmake_minimum_required(VERSION 3.1.0) | ||
| 98 | +cmake_minimum_required(VERSION 3.5.0) | ||
| 99 | project(ISPcore_SW_STACK) | ||
| 100 | if( NOT DEFINED APPSHELL_TOP_COMPILE) | ||
| 101 | |||
| 102 | diff --git a/units/isi/CMakeLists.txt b/units/isi/CMakeLists.txt | ||
| 103 | index a91699b4a1a5..ea01aa7d9424 100755 | ||
| 104 | --- a/units/isi/CMakeLists.txt | ||
| 105 | +++ b/units/isi/CMakeLists.txt | ||
| 106 | @@ -1,4 +1,4 @@ | ||
| 107 | -cmake_minimum_required(VERSION 2.6) | ||
| 108 | +cmake_minimum_required(VERSION 3.5) | ||
| 109 | |||
| 110 | # define module name | ||
| 111 | set (module isi) | ||
| 112 | diff --git a/units/isi/drv/OS08a20/CMakeLists.txt b/units/isi/drv/OS08a20/CMakeLists.txt | ||
| 113 | index d27dc97f7945..12c6e9ef993a 100755 | ||
| 114 | --- a/units/isi/drv/OS08a20/CMakeLists.txt | ||
| 115 | +++ b/units/isi/drv/OS08a20/CMakeLists.txt | ||
| 116 | @@ -1,4 +1,4 @@ | ||
| 117 | -cmake_minimum_required(VERSION 2.6) | ||
| 118 | +cmake_minimum_required(VERSION 3.5) | ||
| 119 | |||
| 120 | # define module name & interface version | ||
| 121 | set (module os08a20) | ||
| 122 | diff --git a/units/isi/drv/OS08a20/calib/CMakeLists.txt b/units/isi/drv/OS08a20/calib/CMakeLists.txt | ||
| 123 | index b44b08248135..18119086b967 100755 | ||
| 124 | --- a/units/isi/drv/OS08a20/calib/CMakeLists.txt | ||
| 125 | +++ b/units/isi/drv/OS08a20/calib/CMakeLists.txt | ||
| 126 | @@ -1,4 +1,4 @@ | ||
| 127 | -cmake_minimum_required(VERSION 2.6) | ||
| 128 | +cmake_minimum_required(VERSION 3.5) | ||
| 129 | |||
| 130 | # use upper level module name | ||
| 131 | |||
| 132 | -- | ||
| 133 | 2.42.0 | ||
| 134 | |||
diff --git a/recipes-bsp/isp-imx/isp-imx/0003-appshell-cmake-drop-deprecated-use-of-target_link_li.patch b/recipes-bsp/isp-imx/isp-imx/0003-appshell-cmake-drop-deprecated-use-of-target_link_li.patch new file mode 100644 index 000000000..f11deb758 --- /dev/null +++ b/recipes-bsp/isp-imx/isp-imx/0003-appshell-cmake-drop-deprecated-use-of-target_link_li.patch | |||
| @@ -0,0 +1,37 @@ | |||
| 1 | From db07010535d47d7d7eaf3865d97dcec045e19930 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Max Krummenacher <max.krummenacher@toradex.com> | ||
| 3 | Date: Fri, 25 Jul 2025 09:57:22 +0000 | ||
| 4 | Subject: [PATCH 3/5] appshell: cmake: drop deprecated use of | ||
| 5 | target_link_libraries | ||
| 6 | |||
| 7 | Works around: | ||
| 8 | |||
| 9 | | CMake Error at display/CMakeLists.txt:48 (target_link_libraries): | ||
| 10 | | Cannot specify link libraries for target "wayland-client" which is not | ||
| 11 | | built by this project. | ||
| 12 | |||
| 13 | caused by CMake 4 deprecating https://cmake.org/cmake/help/v3.5/policy/CMP0016.html | ||
| 14 | |||
| 15 | CMP0016 states that the command is silently ignored, thus drop it. | ||
| 16 | |||
| 17 | Upstream-Status: Pending | ||
| 18 | Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> | ||
| 19 | --- | ||
| 20 | appshell/display/CMakeLists.txt | 1 - | ||
| 21 | 1 file changed, 1 deletion(-) | ||
| 22 | |||
| 23 | diff --git a/appshell/display/CMakeLists.txt b/appshell/display/CMakeLists.txt | ||
| 24 | index 458a46b165b4..160755312368 100755 | ||
| 25 | --- a/appshell/display/CMakeLists.txt | ||
| 26 | +++ b/appshell/display/CMakeLists.txt | ||
| 27 | @@ -43,7 +43,6 @@ if (WAYLAND_SUPPORT) | ||
| 28 | file(GLOB pub_headers *.h) | ||
| 29 | file(GLOB libsources *.cpp ./wayland-client/*.c) | ||
| 30 | include_directories(./wayland-client) | ||
| 31 | - target_link_libraries(wayland-client) | ||
| 32 | else (WAYLAND_SUPPORT) | ||
| 33 | file(GLOB pub_headers *.h) | ||
| 34 | file(GLOB libsources *.cpp) | ||
| 35 | -- | ||
| 36 | 2.42.0 | ||
| 37 | |||
diff --git a/recipes-bsp/isp-imx/isp-imx/0004-units-targets.cmake-fix-check-if-a-target-exists.patch b/recipes-bsp/isp-imx/isp-imx/0004-units-targets.cmake-fix-check-if-a-target-exists.patch new file mode 100644 index 000000000..087f24090 --- /dev/null +++ b/recipes-bsp/isp-imx/isp-imx/0004-units-targets.cmake-fix-check-if-a-target-exists.patch | |||
| @@ -0,0 +1,51 @@ | |||
| 1 | From d7e06f57c067e50d86369577b8dc3bccdde6fd40 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Max Krummenacher <max.krummenacher@toradex.com> | ||
| 3 | Date: Fri, 25 Jul 2025 10:44:40 +0000 | ||
| 4 | Subject: [PATCH 4/5] units/targets.cmake: fix check if a target exists | ||
| 5 | |||
| 6 | | CMake Error at units/targets.cmake:35 (get_target_property): | ||
| 7 | | get_target_property() called with non-existent target "lib". | ||
| 8 | |||
| 9 | Upstream-Status: Pending | ||
| 10 | Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> | ||
| 11 | --- | ||
| 12 | units/targets.cmake | 9 +++------ | ||
| 13 | 1 file changed, 3 insertions(+), 6 deletions(-) | ||
| 14 | |||
| 15 | diff --git a/units/targets.cmake b/units/targets.cmake | ||
| 16 | index 663a024d9129..d78dbf8b8a45 100755 | ||
| 17 | --- a/units/targets.cmake | ||
| 18 | +++ b/units/targets.cmake | ||
| 19 | @@ -32,8 +32,7 @@ add_dependencies(create_alldir ${module}_create_dir) | ||
| 20 | # Settings for target LIB | ||
| 21 | ############################################################################### | ||
| 22 | # check if lib target already exists and create it, this is to assure that only one target called lib will be generated | ||
| 23 | -get_target_property(LIB_TARGET lib TYPE) | ||
| 24 | -if(NOT LIB_TARGET) | ||
| 25 | +if(NOT TARGET lib) | ||
| 26 | add_custom_target(lib) | ||
| 27 | endif() | ||
| 28 | # the library itself is a dependency for the target lib | ||
| 29 | @@ -83,8 +82,7 @@ if(HAVE_PUBLIC_HEADERS) | ||
| 30 | endif() | ||
| 31 | |||
| 32 | # check if lib_install target already exists and create it | ||
| 33 | -get_target_property(LIB_INSTALL_TARGET lib_install TYPE) | ||
| 34 | -if(NOT LIB_INSTALL_TARGET) | ||
| 35 | +if(NOT TARGET lib_install) | ||
| 36 | add_custom_target(lib_install) | ||
| 37 | endif() | ||
| 38 | |||
| 39 | @@ -104,8 +102,7 @@ add_custom_target(${module}_copy_header | ||
| 40 | COMMENT "Copying Headers of ${module}") | ||
| 41 | |||
| 42 | # check if copy_header target already exists and create it | ||
| 43 | -get_target_property(COPY_HEADER_TARGET copy_header TYPE) | ||
| 44 | -if(NOT COPY_HEADER_TARGET) | ||
| 45 | +if(NOT TARGET copy_header) | ||
| 46 | add_custom_target(copy_header) | ||
| 47 | endif() | ||
| 48 | # if copy_header is selected, modulename_copy_header target must be created | ||
| 49 | -- | ||
| 50 | 2.42.0 | ||
| 51 | |||
diff --git a/recipes-bsp/isp-imx/isp-imx/0005-units-cmake-fix-use-of-add_dependencies.patch b/recipes-bsp/isp-imx/isp-imx/0005-units-cmake-fix-use-of-add_dependencies.patch new file mode 100644 index 000000000..f4b44ff47 --- /dev/null +++ b/recipes-bsp/isp-imx/isp-imx/0005-units-cmake-fix-use-of-add_dependencies.patch | |||
| @@ -0,0 +1,36 @@ | |||
| 1 | From 72d6160d1efc9df8bdee4e3dc9da67560f2206b4 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Max Krummenacher <max.krummenacher@toradex.com> | ||
| 3 | Date: Fri, 25 Jul 2025 10:52:52 +0000 | ||
| 4 | Subject: [PATCH 5/5] units: cmake: fix use of add_dependencies | ||
| 5 | |||
| 6 | With CMake 4 we get during configure: | ||
| 7 | |||
| 8 | | CMake Error at isp-imx/4.2.2.25.2/sources/isp-imx-4.2.2.25.2-3cac1fb: | ||
| 9 | | The dependency target "drv/OS08a20" of target "copy_shell_libs_isi" does | ||
| 10 | | not exist. | ||
| 11 | |||
| 12 | Comment out that the add_dependencies. The driver for OS08a20 is still | ||
| 13 | part of the built packages. | ||
| 14 | |||
| 15 | Upstream-Status: Pending | ||
| 16 | Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> | ||
| 17 | --- | ||
| 18 | units/isi/CMakeLists.txt | 2 +- | ||
| 19 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 20 | |||
| 21 | diff --git a/units/isi/CMakeLists.txt b/units/isi/CMakeLists.txt | ||
| 22 | index ea01aa7d9424..2f5c3d803e67 100755 | ||
| 23 | --- a/units/isi/CMakeLists.txt | ||
| 24 | +++ b/units/isi/CMakeLists.txt | ||
| 25 | @@ -93,7 +93,7 @@ add_custom_target(copy_shell_libs_${module} ALL | ||
| 26 | COMMAND ${CMAKE_COMMAND} -E copy ${UNITS_TOP_DIRECTORY}/isi/drv/*/*.cfg ${LIB_ROOT}/${CMAKE_BUILD_TYPE}/bin/ | ||
| 27 | COMMAND ${CMAKE_COMMAND} -E copy ${UNITS_TOP_DIRECTORY}/isi/drv/*.cfg ${LIB_ROOT}/${CMAKE_BUILD_TYPE}/bin/ | ||
| 28 | ) | ||
| 29 | -add_dependencies(copy_shell_libs_${module} drv/OS08a20) | ||
| 30 | +#add_dependencies(copy_shell_libs_${module} os08a20_shared) | ||
| 31 | |||
| 32 | endif (GENERATE_PARTITION_BUILD) | ||
| 33 | |||
| 34 | -- | ||
| 35 | 2.42.0 | ||
| 36 | |||
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 | |||
| 3 | DESCRIPTION = "i.MX Verisilicon Software ISP" | ||
| 4 | LICENSE = "Proprietary" | ||
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=2827219e81f28aba7c6a569f7c437fa7" | ||
| 6 | DEPENDS = "boost libdrm virtual/libg2d libtinyxml2 patchelf-native" | ||
| 7 | |||
| 8 | SRC_URI = " \ | ||
| 9 | ${FSL_MIRROR}/${BP}.bin;fsl-eula=true \ | ||
| 10 | file://0001-cpp-netlib-parsers.ipp-add-missing-include.patch \ | ||
| 11 | " | ||
| 12 | |||
| 13 | SRC_URI[sha256sum] = "34b23f5b9f0856a8f5722e339a7ad4ccf4d99614788598306ff8b20093c1e846" | ||
| 14 | |||
| 15 | inherit fsl-eula-unpack cmake systemd use-imx-headers | ||
| 16 | |||
| 17 | # Build the sub-folder appshell | ||
| 18 | OECMAKE_SOURCEPATH = "${S}/appshell" | ||
| 19 | |||
| 20 | # Use make instead of ninja | ||
| 21 | OECMAKE_GENERATOR = "Unix Makefiles" | ||
| 22 | |||
| 23 | # Workaround for linking issues seen with gold linker | ||
| 24 | LDFLAGS:append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}" | ||
| 25 | |||
| 26 | SYSTEMD_SERVICE:${PN} = "imx8-isp.service" | ||
| 27 | |||
| 28 | EXTRA_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 | |||
| 50 | do_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 | |||
| 56 | do_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. | ||
| 92 | FILES_SOLIBSDEV = "" | ||
| 93 | FILES:${PN} += "/opt ${libdir}/lib*${SOLIBSDEV}" | ||
| 94 | FILES:${PN}-dev += "${FILES_SOLIBS_VERSIONED}" | ||
| 95 | FILES_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 | |||
| 103 | RDEPENDS:${PN} = "libdrm" | ||
| 104 | |||
| 105 | COMPATIBLE_MACHINE = "(mx8mp-nxp-bsp)" | ||
diff --git a/recipes-bsp/isp-imx/isp-imx_4.2.2.25.2.bb b/recipes-bsp/isp-imx/isp-imx_4.2.2.25.2.bb new file mode 100644 index 000000000..445822528 --- /dev/null +++ b/recipes-bsp/isp-imx/isp-imx_4.2.2.25.2.bb | |||
| @@ -0,0 +1,102 @@ | |||
| 1 | # Copyright (C) 2020-2024 NXP | ||
| 2 | |||
| 3 | DESCRIPTION = "i.MX Verisilicon Software ISP" | ||
| 4 | LICENSE = "Proprietary" | ||
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=a93b654673e1bc8398ed1f30e0813359" | ||
| 6 | DEPENDS = "boost libdrm virtual/libg2d libtinyxml2 jsoncpp patchelf-native" | ||
| 7 | |||
| 8 | SRC_URI = " \ | ||
| 9 | ${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true \ | ||
| 10 | ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '${ISP_SYSTEMD_PATCH}', '', d)} \ | ||
| 11 | file://0002-appshell-cmake-bump-min-version-to-3.5.patch \ | ||
| 12 | file://0003-appshell-cmake-drop-deprecated-use-of-target_link_li.patch \ | ||
| 13 | file://0004-units-targets.cmake-fix-check-if-a-target-exists.patch \ | ||
| 14 | file://0005-units-cmake-fix-use-of-add_dependencies.patch \ | ||
| 15 | " | ||
| 16 | ISP_SYSTEMD_PATCH = "file://0001-isp-imx-start_isp-don-t-report-error-if-no-camera-is.patch" | ||
| 17 | |||
| 18 | IMX_SRCREV_ABBREV = "3cac1fb" | ||
| 19 | S = "${UNPACKDIR}/${BP}-${IMX_SRCREV_ABBREV}" | ||
| 20 | |||
| 21 | SRC_URI[sha256sum] = "8fa5094da6438505287f4dcc8033dad3057ab81bf98c858884f7c3a2e521b252" | ||
| 22 | |||
| 23 | inherit fsl-eula-unpack cmake pkgconfig systemd use-imx-headers | ||
| 24 | |||
| 25 | PACKAGECONFIG = "" | ||
| 26 | # Note: building with tuningext fails with boost 1.87. | ||
| 27 | # (update to 1.87 with walnascar) | ||
| 28 | PACKAGECONFIG[tuningext] = "-DTUNINGEXT=1,-DTUNINGEXT=0" | ||
| 29 | |||
| 30 | # Build the sub-folder appshell | ||
| 31 | OECMAKE_SOURCEPATH = "${S}/appshell" | ||
| 32 | |||
| 33 | # Use make instead of ninja | ||
| 34 | OECMAKE_GENERATOR = "Unix Makefiles" | ||
| 35 | |||
| 36 | # Workaround for linking issues seen with gold linker | ||
| 37 | LDFLAGS:append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}" | ||
| 38 | |||
| 39 | SYSTEMD_SERVICE:${PN} = "imx8-isp.service" | ||
| 40 | |||
| 41 | EXTRA_OECMAKE += " \ | ||
| 42 | -DSDKTARGETSYSROOT=${STAGING_DIR_HOST} \ | ||
| 43 | -DCMAKE_BUILD_TYPE=release \ | ||
| 44 | -DISP_VERSION=ISP8000NANO_V1802 \ | ||
| 45 | -DPLATFORM=ARM64 \ | ||
| 46 | -DQTLESS=1 \ | ||
| 47 | -DFULL_SRC_COMPILE=1 \ | ||
| 48 | -DWITH_DRM=1 \ | ||
| 49 | -DWITH_DWE=1 \ | ||
| 50 | -DSUBDEV_V4L2=1 \ | ||
| 51 | -DPARTITION_BUILD=0 \ | ||
| 52 | -D3A_SRC_BUILD=0 \ | ||
| 53 | -DIMX_G2D=ON \ | ||
| 54 | -Wno-dev \ | ||
| 55 | " | ||
| 56 | |||
| 57 | do_configure_disable:prepend () { | ||
| 58 | # FIXME: should be rebuild. | ||
| 59 | patchelf --replace-needed libjsoncpp.so.25 libjsoncpp.so.26 ${S}/mediacontrol/install/bin/isp_media_server | ||
| 60 | patchelf --replace-needed libjsoncpp.so.25 libjsoncpp.so.26 ${S}/mediacontrol/install/lib/libmedia_server.so | ||
| 61 | patchelf --replace-needed libjsoncpp.so.25 libjsoncpp.so.26 ${S}/tuningext/install/tuningext | ||
| 62 | |||
| 63 | # FIXME: Should be rebuild. | ||
| 64 | patchelf --replace-needed libtinyxml2.so.10 libtinyxml2.so.11 ${S}/appshell/shell_libs/ispcore/ARM64/libcam_device.so | ||
| 65 | } | ||
| 66 | |||
| 67 | do_install() { | ||
| 68 | # The Makefile unconditionally installs tuningext even if it is not built | ||
| 69 | if ${@bb.utils.contains('PACKAGECONFIG','tuningext','false','true',d)}; then | ||
| 70 | touch ${B}/generated/release/bin/tuningext | ||
| 71 | fi | ||
| 72 | |||
| 73 | oe_runmake -f ${S}/Makefile install INSTALL_DIR=${D} SOURCE_DIR=${S} | ||
| 74 | |||
| 75 | if ${@bb.utils.contains('PACKAGECONFIG','tuningext','false','true',d)}; then | ||
| 76 | rm ${D}/opt/imx8-isp/bin/tuningext | ||
| 77 | fi | ||
| 78 | |||
| 79 | if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then | ||
| 80 | install -d ${D}${systemd_system_unitdir} | ||
| 81 | install -m 0644 ${S}/imx/imx8-isp.service ${D}${systemd_system_unitdir} | ||
| 82 | fi | ||
| 83 | |||
| 84 | } | ||
| 85 | |||
| 86 | # The build contains a mix of versioned and unversioned libraries, so | ||
| 87 | # the default packaging configuration needs some modification so that | ||
| 88 | # unversioned .so libraries go to the main package and versioned .so | ||
| 89 | # symlinks go to -dev. | ||
| 90 | FILES_SOLIBSDEV = "" | ||
| 91 | FILES:${PN} += "/opt ${libdir}/lib*${SOLIBSDEV}" | ||
| 92 | FILES:${PN}-dev += "${FILES_SOLIBS_VERSIONED}" | ||
| 93 | FILES_SOLIBS_VERSIONED = " \ | ||
| 94 | ${libdir}/libcppnetlib-client-connections.so \ | ||
| 95 | ${libdir}/libcppnetlib-server-parsers.so \ | ||
| 96 | ${libdir}/libcppnetlib-uri.so \ | ||
| 97 | ${libdir}/libos08a20.so \ | ||
| 98 | " | ||
| 99 | |||
| 100 | RDEPENDS:${PN} = "libdrm" | ||
| 101 | |||
| 102 | COMPATIBLE_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 | |||
| 17 | S = "${WORKDIR}/git" | ||
| 18 | |||
| 19 | inherit pkgconfig waf use-imx-headers ptest | 16 | inherit pkgconfig waf use-imx-headers ptest |
| 20 | 17 | ||
| 21 | EXTRA_OECONF = "--imx-linux-headers-path=${STAGING_INCDIR_IMX} \ | 18 | EXTRA_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). |
| 63 | PACKAGECONFIG:append:mx8-nxp-bsp = " dma-heap-uncached" | 60 | PACKAGECONFIG:append:mx8-nxp-bsp = " dma-heap-uncached" |
| 64 | PACKAGECONFIG:append:mx8m-nxp-bsp = " dwl" | 61 | PACKAGECONFIG:append:mx8mq-nxp-bsp = " dwl" |
| 62 | PACKAGECONFIG:append:mx8mm-nxp-bsp = " dwl" | ||
| 63 | PACKAGECONFIG:append:mx8mp-nxp-bsp = " dwl" | ||
| 65 | 64 | ||
| 66 | HANTRO_CONF = "--hantro-headers-path=${STAGING_INCDIR}/hantro_dec --hantro-decoder-version=G2" | 65 | HANTRO_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. |
| 84 | do_install_ptest_base() { | 83 | do_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 | |||
| 7 | SRC_URI = "git://github.com/nxp/qoriq-firmware-cortina.git;nobranch=1;protocol=https" | 7 | SRC_URI = "git://github.com/nxp/qoriq-firmware-cortina.git;nobranch=1;protocol=https" |
| 8 | SRCREV = "9143c2a3adede595966583c00ca4edc99ec698cf" | 8 | SRCREV = "9143c2a3adede595966583c00ca4edc99ec698cf" |
| 9 | 9 | ||
| 10 | S = "${WORKDIR}/git" | ||
| 11 | |||
| 12 | do_install () { | 10 | do_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..2d09bbcc8 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" | |||
| 8 | inherit deploy | 8 | inherit deploy |
| 9 | 9 | ||
| 10 | SRC_URI = "git://github.com/nxp-qoriq/mc-utils;protocol=https;nobranch=1" | 10 | SRC_URI = "git://github.com/nxp-qoriq/mc-utils;protocol=https;nobranch=1" |
| 11 | SRCREV = "8efeeac253ff780cbf1382ff40e09436d65e220d" | 11 | SRCREV = "f5c4b2c9d2b1d5122a7d97f236894f87959b3831" |
| 12 | |||
| 13 | S = "${WORKDIR}/git" | ||
| 14 | 12 | ||
| 15 | MC_CFG ?= "" | 13 | MC_CFG ?= "" |
| 16 | MC_CFG:ls1088a = "ls1088a" | 14 | MC_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 | ||
| 14 | PV = "0.0.0+git${SRCPV}" | 14 | PV = "0.0.0+git${SRCPV}" |
| 15 | 15 | ||
| 16 | S = "${WORKDIR}/git" | ||
| 17 | |||
| 18 | inherit pkgconfig | 16 | inherit pkgconfig |
| 19 | 17 | ||
| 20 | do_compile() { | 18 | do_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 | |||
| 10 | SRC_URI = "git://github.com/NXP/qoriq-engine-pfe-bin.git;nobranch=1;protocol=https" | 10 | SRC_URI = "git://github.com/NXP/qoriq-engine-pfe-bin.git;nobranch=1;protocol=https" |
| 11 | SRCREV = "f55ee9f72090309bbb7ab71f48a498fc02909234" | 11 | SRCREV = "f55ee9f72090309bbb7ab71f48a498fc02909234" |
| 12 | 12 | ||
| 13 | S = "${WORKDIR}/git" | ||
| 14 | |||
| 15 | do_install () { | 13 | do_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 @@ | |||
| 1 | DESCRIPTION = "qe microcode binary" | 1 | DESCRIPTION = "qe microcode binary" |
| 2 | SECTION = "qe-ucode" | 2 | SECTION = "qe-ucode" |
| 3 | LICENSE = "NXP-Binary-EULA" | 3 | LICENSE = "NXP-Binary-EULA" |
| 4 | LIC_FILES_CHKSUM = "file://NXP-Binary-EULA;md5=c62f8109b4df15ca37ceeb5e4943626c" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c62f8109b4df15ca37ceeb5e4943626c" |
| 5 | 5 | ||
| 6 | inherit deploy | 6 | inherit deploy |
| 7 | 7 | ||
| 8 | SRC_URI = "git://github.com/NXP/qoriq-qe-ucode.git;nobranch=1;protocol=https" | 8 | SRC_URI = "git://github.com/NXP/qoriq-qe-ucode.git;nobranch=1;protocol=https" |
| 9 | SRCREV= "57401f6dff6507055558eaa6838116baa8a2fd46" | 9 | SRCREV = "c89d7843943fd3bd52aa5f1ff7a91200a2f7f63b" |
| 10 | |||
| 11 | S = "${WORKDIR}/git" | ||
| 12 | 10 | ||
| 13 | do_install () { | 11 | do_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..6a52861b0 100644 --- a/recipes-bsp/rcw/rcw_git.bb +++ b/recipes-bsp/rcw/rcw_git.bb | |||
| @@ -8,17 +8,15 @@ DEPENDS += "tcl-native" | |||
| 8 | inherit deploy siteinfo | 8 | inherit deploy siteinfo |
| 9 | 9 | ||
| 10 | SRC_URI = "git://github.com/nxp-qoriq/rcw;protocol=https;nobranch=1" | 10 | SRC_URI = "git://github.com/nxp-qoriq/rcw;protocol=https;nobranch=1" |
| 11 | SRCREV = "020dcf0645959afec6705f518e8350476891ef4f" | 11 | SRCREV = "45e69253690452656a4dfe933c4c9f55e1eb0f5f" |
| 12 | |||
| 13 | S = "${WORKDIR}/git" | ||
| 14 | 12 | ||
| 15 | export PYTHON = "${USRBINPATH}/python3" | 13 | export PYTHON = "${USRBINPATH}/python3" |
| 16 | 14 | ||
| 17 | M="${@d.getVar('MACHINE').replace('-64b','').replace('-32b','').replace('-${SITEINFO_ENDIANNESS}','')}" | 15 | M = "${@d.getVar('MACHINE').replace('-64b','').replace('-32b','').replace('-${SITEINFO_ENDIANNESS}','')}" |
| 18 | 16 | ||
| 19 | BOARD_TARGETS="${M}" | 17 | BOARD_TARGETS = "${M}" |
| 20 | BOARD_TARGETS:ls2088ardb="${M} ${M}_rev1.1" | 18 | BOARD_TARGETS:ls2088ardb = "${M} ${M}_rev1.1" |
| 21 | BOARD_TARGETS:ls1088ardb-pb="ls1088ardb" | 19 | BOARD_TARGETS:ls1088ardb-pb = "ls1088ardb" |
| 22 | BOARD_TARGETS:lx2160ardb = "${M} ${M}_rev2" | 20 | BOARD_TARGETS:lx2160ardb = "${M} ${M}_rev2" |
| 23 | BOARD_TARGETS:lx2160ardb-rev2 = "lx2160ardb_rev2" | 21 | BOARD_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 | ||
| 11 | SRC_URI = "git://github.com/Freescale/u-boot-fslc.git;branch=${SRCBRANCH};protocol=https" | 11 | SRC_URI = "git://github.com/Freescale/u-boot-fslc.git;branch=${SRCBRANCH};protocol=https" |
| 12 | 12 | ||
| 13 | SRCREV = "1a2bdc16b79a6f9c31829ede1bbf4063ccea6e54" | 13 | SRCREV = "aa4bc52d08c342df83e3c576e2c108d7c8816e0e" |
| 14 | SRCBRANCH = "2024.04+fslc" | 14 | SRCBRANCH = "2025.01+fslc" |
| 15 | 15 | ||
| 16 | PV = "2024.04+git${SRCPV}" | 16 | PV = "2025.01+fslc+git${SRCPV}" |
| 17 | CVE_PRODUCT = "denx:u-boot" | ||
| 17 | 18 | ||
| 18 | S = "${WORKDIR}/git" | ||
| 19 | B = "${WORKDIR}/build" | 19 | B = "${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 \ | |||
| 6 | was submitted for revision and it takes some time to become part of a stable \ | 6 | was submitted for revision and it takes some time to become part of a stable \ |
| 7 | version, or because it is not applicable for upstreaming." | 7 | version, or because it is not applicable for upstreaming." |
| 8 | 8 | ||
| 9 | inherit ${@oe.utils.ifelse(d.getVar('UBOOT_PROVIDES_BOOT_CONTAINER') == '1', 'imx-boot-container', '')} | ||
| 10 | |||
| 11 | DEPENDS += "bc-native dtc-native python3-setuptools-native gnutls-native" | 9 | DEPENDS += "bc-native dtc-native python3-setuptools-native gnutls-native" |
| 12 | 10 | ||
| 13 | PROVIDES += "u-boot u-boot-mfgtool" | 11 | PROVIDES += "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 | ||
| 22 | inherit ${@oe.utils.ifelse(d.getVar('UBOOT_PROVIDES_BOOT_CONTAINER') == '1', 'imx-boot-container', '')} | ||
| 23 | inherit uuu_bootloader_tag | ||
| 24 | |||
| 24 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 25 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
| 25 | COMPATIBLE_MACHINE = "(imx-generic-bsp)" | 26 | COMPATIBLE_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." | |||
| 3 | LICENSE = "GPL-2.0-or-later" | 3 | LICENSE = "GPL-2.0-or-later" |
| 4 | LIC_FILES_CHKSUM = "file://Licenses/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263" | 4 | LIC_FILES_CHKSUM = "file://Licenses/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263" |
| 5 | 5 | ||
| 6 | SRC_URI = "git://github.com/nxp-imx/uboot-imx.git;protocol=https;branch=${SRCBRANCH}" | 6 | SRC_URI = "${UBOOT_SRC};branch=${SRCBRANCH}" |
| 7 | SRCBRANCH = "lf_v2023.04" | 7 | UBOOT_SRC ?= "git://github.com/nxp-imx/uboot-imx.git;protocol=https" |
| 8 | LOCALVERSION ?= "-imx_v2023.04_6.6.3-1.0.0" | 8 | SRCBRANCH = "lf_v2024.04" |
| 9 | SRCREV = "f8a2983ec83afd43731d905b4ff0ffd57b57f2f0" | 9 | LOCALVERSION ?= "-${SRCBRANCH}" |
| 10 | SRCREV = "e3219a5a73445219df605d1492687918d488055c" | ||
| 10 | 11 | ||
| 11 | DEPENDS += " \ | 12 | DEPENDS += " \ |
| 12 | bc-native \ | 13 | bc-native \ |
| @@ -17,7 +18,6 @@ DEPENDS += " \ | |||
| 17 | xxd-native \ | 18 | xxd-native \ |
| 18 | " | 19 | " |
| 19 | 20 | ||
| 20 | S = "${WORKDIR}/git" | ||
| 21 | B = "${WORKDIR}/build" | 21 | B = "${WORKDIR}/build" |
| 22 | 22 | ||
| 23 | inherit fsl-u-boot-localversion | 23 | inherit 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..27c3555f4 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 | ||
| 5 | require recipes-bsp/u-boot/u-boot.inc | 5 | require recipes-bsp/u-boot/u-boot.inc |
| 6 | require u-boot-imx-common_${PV}.inc | 6 | require u-boot-imx-common_${PV}.inc |
| @@ -9,15 +9,12 @@ PROVIDES += "u-boot u-boot-mfgtool" | |||
| 9 | 9 | ||
| 10 | inherit uuu_bootloader_tag | 10 | inherit uuu_bootloader_tag |
| 11 | 11 | ||
| 12 | UUU_BOOTLOADER = "" | 12 | # The UUU tag goes on the boot partition. For 8+, the boot partition image |
| 13 | UUU_BOOTLOADER:mx6-generic-bsp = "${UBOOT_BINARY}" | 13 | # is imx-boot, so disable UUU-tagging here |
| 14 | UUU_BOOTLOADER:mx7-generic-bsp = "${UBOOT_BINARY}" | 14 | UUU_BOOTLOADER:mx8-generic-bsp = "" |
| 15 | UUU_BOOTLOADER_TAGGED = "" | 15 | UUU_BOOTLOADER:mx9-generic-bsp = "" |
| 16 | UUU_BOOTLOADER_TAGGED:mx6-generic-bsp = "u-boot-tagged.${UBOOT_SUFFIX}" | 16 | |
| 17 | UUU_BOOTLOADER_TAGGED:mx7-generic-bsp = "u-boot-tagged.${UBOOT_SUFFIX}" | 17 | TOOLCHAIN_OPTIONS:append = " -Wno-error=implicit-function-declaration" |
| 18 | UUU_BOOTLOADER_UNTAGGED = "" | ||
| 19 | UUU_BOOTLOADER_UNTAGGED:mx6-generic-bsp = "u-boot-untagged.${UBOOT_SUFFIX}" | ||
| 20 | UUU_BOOTLOADER_UNTAGGED:mx7-generic-bsp = "u-boot-untagged.${UBOOT_SUFFIX}" | ||
| 21 | 18 | ||
| 22 | do_deploy:append:mx8m-generic-bsp() { | 19 | do_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 |
| @@ -26,11 +23,13 @@ do_deploy:append:mx8m-generic-bsp() { | |||
| 26 | for config in ${UBOOT_MACHINE}; do | 23 | for config in ${UBOOT_MACHINE}; do |
| 27 | i=$(expr $i + 1); | 24 | i=$(expr $i + 1); |
| 28 | for type in ${UBOOT_CONFIG}; do | 25 | for type in ${UBOOT_CONFIG}; do |
| 26 | builddir="${config}-${type}" | ||
| 29 | j=$(expr $j + 1); | 27 | j=$(expr $j + 1); |
| 30 | if [ $j -eq $i ] | 28 | if [ $j -eq $i ] |
| 31 | then | 29 | then |
| 30 | builddir="${config}-${type}" | ||
| 32 | install -d ${DEPLOYDIR}/${BOOT_TOOLS} | 31 | install -d ${DEPLOYDIR}/${BOOT_TOOLS} |
| 33 | install -m 0644 ${B}/${config}/u-boot-nodtb.bin ${DEPLOYDIR}/${BOOT_TOOLS}/u-boot-nodtb.bin-${MACHINE}-${type} | 32 | install -m 0644 ${B}/${builddir}/u-boot-nodtb.bin ${DEPLOYDIR}/${BOOT_TOOLS}/u-boot-nodtb.bin-${MACHINE}-${type} |
| 34 | UBOOT_DTB_NAME_FLAGS="${type}:${UBOOT_DTB_NAME}" | 33 | UBOOT_DTB_NAME_FLAGS="${type}:${UBOOT_DTB_NAME}" |
| 35 | for key_value in ${UBOOT_DTB_NAME_FLAGS}; do | 34 | for key_value in ${UBOOT_DTB_NAME_FLAGS}; do |
| 36 | local type_key="${key_value%%:*}" | 35 | local type_key="${key_value%%:*}" |
| @@ -40,11 +39,11 @@ do_deploy:append:mx8m-generic-bsp() { | |||
| 40 | bbnote "UBOOT_CONFIG = $type, UBOOT_DTB_NAME = $dtb_name" | 39 | bbnote "UBOOT_CONFIG = $type, UBOOT_DTB_NAME = $dtb_name" |
| 41 | # There is only one ${dtb_name}, the first one. All the other are with the type appended | 40 | # There is only one ${dtb_name}, the first one. All the other are with the type appended |
| 42 | if [ ! -f "${DEPLOYDIR}/${BOOT_TOOLS}/${dtb_name}" ]; then | 41 | if [ ! -f "${DEPLOYDIR}/${BOOT_TOOLS}/${dtb_name}" ]; then |
| 43 | install -m 0644 ${B}/${config}/arch/arm/dts/${dtb_name} ${DEPLOYDIR}/${BOOT_TOOLS}/${dtb_name} | 42 | install -m 0644 ${B}/${builddir}/arch/arm/dts/${dtb_name} ${DEPLOYDIR}/${BOOT_TOOLS}/${dtb_name} |
| 44 | else | 43 | else |
| 45 | bbwarn "Use custom wks.in for $dtb_name = $type" | 44 | bbwarn "Use custom wks.in for $dtb_name = $type" |
| 46 | fi | 45 | fi |
| 47 | install -m 0644 ${B}/${config}/arch/arm/dts/${dtb_name} ${DEPLOYDIR}/${BOOT_TOOLS}/${dtb_name}-${type} | 46 | install -m 0644 ${B}/${builddir}/arch/arm/dts/${dtb_name} ${DEPLOYDIR}/${BOOT_TOOLS}/${dtb_name}-${type} |
| 48 | fi | 47 | fi |
| 49 | unset type_key | 48 | unset type_key |
| 50 | unset dtb_name | 49 | unset dtb_name |
| @@ -57,6 +56,14 @@ do_deploy:append:mx8m-generic-bsp() { | |||
| 57 | done | 56 | done |
| 58 | unset i | 57 | unset i |
| 59 | fi | 58 | fi |
| 59 | |||
| 60 | # Deploy CRT.* from u-boot for stmm | ||
| 61 | install -m 0644 ${S}/CRT.* ${DEPLOYDIR} | ||
| 62 | } | ||
| 63 | |||
| 64 | do_deploy:append:mx93-generic-bsp() { | ||
| 65 | # Deploy CRT.* from u-boot for stmm | ||
| 66 | install -m 0644 ${S}/CRT.* ${DEPLOYDIR} | ||
| 60 | } | 67 | } |
| 61 | 68 | ||
| 62 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 69 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
diff --git a/recipes-bsp/u-boot/u-boot-qoriq_2021.04.bb b/recipes-bsp/u-boot/u-boot-qoriq_2025.04.bb index c46eae331..be8433e47 100644 --- a/recipes-bsp/u-boot/u-boot-qoriq_2021.04.bb +++ b/recipes-bsp/u-boot/u-boot-qoriq_2025.04.bb | |||
| @@ -10,20 +10,23 @@ LIC_FILES_CHKSUM = " \ | |||
| 10 | file://Licenses/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | 10 | file://Licenses/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ |
| 11 | file://Licenses/bsd-2-clause.txt;md5=6a31f076f5773aabd8ff86191ad6fdd5 \ | 11 | file://Licenses/bsd-2-clause.txt;md5=6a31f076f5773aabd8ff86191ad6fdd5 \ |
| 12 | file://Licenses/bsd-3-clause.txt;md5=4a1190eac56a9db675d58ebe86eaf50c \ | 12 | file://Licenses/bsd-3-clause.txt;md5=4a1190eac56a9db675d58ebe86eaf50c \ |
| 13 | file://Licenses/lgpl-2.0.txt;md5=5f30f0716dfdd0d91eb439ebec522ec2 \ | 13 | file://Licenses/lgpl-2.0.txt;md5=4cf66a4984120007c9881cc871cf49db \ |
| 14 | file://Licenses/lgpl-2.1.txt;md5=4fbd65380cdd255951079008b364516c \ | 14 | file://Licenses/lgpl-2.1.txt;md5=4fbd65380cdd255951079008b364516c \ |
| 15 | " | 15 | " |
| 16 | 16 | ||
| 17 | SRC_URI = "git://github.com/nxp-qoriq/u-boot;protocol=https;nobranch=1" | 17 | PV:append = "+${SRCPV}" |
| 18 | SRCREV= "1c0116f3da250c5a52858c53efb8b38c0963f477" | ||
| 19 | 18 | ||
| 20 | S = "${WORKDIR}/git" | 19 | UBOOT_BRANCH ?= "lf_v2025.04" |
| 21 | B = "${WORKDIR}/build" | 20 | UBOOT_SRC ?= "git://github.com/nxp-qoriq/u-boot.git;protocol=https" |
| 21 | SRC_URI = "${UBOOT_SRC};branch=${UBOOT_BRANCH}" | ||
| 22 | SRCREV = "9383f8387dc76524524da69992db96c22195a57c" | ||
| 23 | |||
| 24 | B = "${UNPACKDIR}/build" | ||
| 22 | PV:append = "+fslgit" | 25 | PV:append = "+fslgit" |
| 23 | LOCALVERSION = "+fsl" | 26 | LOCALVERSION = "+fsl" |
| 24 | 27 | ||
| 25 | INHIBIT_DEFAULT_DEPS = "1" | 28 | INHIBIT_DEFAULT_DEPS = "1" |
| 26 | DEPENDS = "libgcc virtual/${TARGET_PREFIX}gcc bison-native bc-native swig-native python3-native python3-setuptools-native" | 29 | DEPENDS = "libgcc virtual/cross-cc bison-native bc-native gnutls-native swig-native python3-native" |
| 27 | DEPENDS:append:qoriq-arm64 = " dtc-native" | 30 | DEPENDS:append:qoriq-arm64 = " dtc-native" |
| 28 | DEPENDS:append:qoriq-arm = " dtc-native" | 31 | DEPENDS:append:qoriq-arm = " dtc-native" |
| 29 | DEPENDS:append:qoriq-ppc = " boot-format-native" | 32 | DEPENDS:append:qoriq-ppc = " boot-format-native" |
| @@ -40,7 +43,7 @@ python () { | |||
| 40 | raise bb.parse.SkipPackage("Building the u-boot for this arch requires multilib to be enabled") | 43 | raise bb.parse.SkipPackage("Building the u-boot for this arch requires multilib to be enabled") |
| 41 | sys_multilib = d.getVar('TARGET_VENDOR') + 'mllib32-linux' | 44 | sys_multilib = d.getVar('TARGET_VENDOR') + 'mllib32-linux' |
| 42 | sys_original = d.getVar('TARGET_VENDOR') + '-' + d.getVar('TARGET_OS') | 45 | sys_original = d.getVar('TARGET_VENDOR') + '-' + d.getVar('TARGET_OS') |
| 43 | workdir = d.getVar('WORKDIR') | 46 | workdir = d.getVar('UNPACKDIR') |
| 44 | d.setVar('DEPENDS:append', ' lib32-gcc-cross-powerpc lib32-libgcc') | 47 | d.setVar('DEPENDS:append', ' lib32-gcc-cross-powerpc lib32-libgcc') |
| 45 | d.setVar('PATH:append', ':' + d.getVar('STAGING_BINDIR_NATIVE') + '/powerpc' + sys_multilib) | 48 | d.setVar('PATH:append', ':' + d.getVar('STAGING_BINDIR_NATIVE') + '/powerpc' + sys_multilib) |
| 46 | d.setVar('TOOLCHAIN_OPTIONS', '--sysroot=' + workdir + '/lib32-recipe-sysroot') | 49 | d.setVar('TOOLCHAIN_OPTIONS', '--sysroot=' + workdir + '/lib32-recipe-sysroot') |
| @@ -50,7 +53,7 @@ python () { | |||
| 50 | raise bb.parse.SkipRecipe("Building the u-boot for this arch requires multilib to be enabled") | 53 | raise bb.parse.SkipRecipe("Building the u-boot for this arch requires multilib to be enabled") |
| 51 | sys_multilib = d.getVar('TARGET_VENDOR') + 'mllib64-linux' | 54 | sys_multilib = d.getVar('TARGET_VENDOR') + 'mllib64-linux' |
| 52 | sys_original = d.getVar('TARGET_VENDOR') + '-' + d.getVar('TARGET_OS') | 55 | sys_original = d.getVar('TARGET_VENDOR') + '-' + d.getVar('TARGET_OS') |
| 53 | workdir = d.getVar('WORKDIR') | 56 | workdir = d.getVar('UNPACKDIR') |
| 54 | d.setVar('DEPENDS:append', ' lib64-gcc-cross-aarch64 lib64-libgcc') | 57 | d.setVar('DEPENDS:append', ' lib64-gcc-cross-aarch64 lib64-libgcc') |
| 55 | d.setVar('PATH:append', ':' + d.getVar('STAGING_BINDIR_NATIVE') + '/aarch64' + sys_multilib) | 58 | d.setVar('PATH:append', ':' + d.getVar('STAGING_BINDIR_NATIVE') + '/aarch64' + sys_multilib) |
| 56 | d.setVar('TOOLCHAIN_OPTIONS', '--sysroot=' + workdir + '/lib64-recipe-sysroot') | 59 | d.setVar('TOOLCHAIN_OPTIONS', '--sysroot=' + workdir + '/lib64-recipe-sysroot') |
| @@ -80,8 +83,6 @@ do_compile:append:qoriq() { | |||
| 80 | boot_format ${STAGING_DATADIR_NATIVE}/boot_format/${BOOTFORMAT_CONFIG} \ | 83 | boot_format ${STAGING_DATADIR_NATIVE}/boot_format/${BOOTFORMAT_CONFIG} \ |
| 81 | ${config}/u-boot-${type}.${UBOOT_SUFFIX} -spi ${config}/u-boot.format.bin | 84 | ${config}/u-boot-${type}.${UBOOT_SUFFIX} -spi ${config}/u-boot.format.bin |
| 82 | cp ${config}/u-boot.format.bin ${config}/u-boot-${type}.${UBOOT_SUFFIX} | 85 | cp ${config}/u-boot.format.bin ${config}/u-boot-${type}.${UBOOT_SUFFIX} |
| 83 | elif [ "qspi" = "${type}" ];then | ||
| 84 | cp ${config}/${binary} ${config}/u-boot-${type}-${PV}-${PR}.${UBOOT_SUFFIX} | ||
| 85 | fi | 86 | fi |
| 86 | fi | 87 | fi |
| 87 | done | 88 | done |
| @@ -92,6 +93,48 @@ do_compile:append:qoriq() { | |||
| 92 | unset i | 93 | unset i |
| 93 | } | 94 | } |
| 94 | 95 | ||
| 96 | do_deploy:append:lx2162a () { | ||
| 97 | if [ -n "${UBOOT_CONFIG}" ] | ||
| 98 | then | ||
| 99 | for config in ${UBOOT_MACHINE}; do | ||
| 100 | i=$(expr $i + 1); | ||
| 101 | for type in ${UBOOT_CONFIG}; do | ||
| 102 | j=$(expr $j + 1); | ||
| 103 | if [ $j -eq $i ] | ||
| 104 | then | ||
| 105 | if [ "tfa-verified-boot" = "${type}" ];then | ||
| 106 | builddir="${config}-${type}" | ||
| 107 | install -m 644 ${B}/${builddir}/u-boot.dtb ${DEPLOYDIR}/u-boot.dtb | ||
| 108 | fi | ||
| 109 | fi | ||
| 110 | done | ||
| 111 | unset j | ||
| 112 | done | ||
| 113 | unset i | ||
| 114 | fi | ||
| 115 | } | ||
| 116 | |||
| 117 | do_deploy:append:ls102xa () { | ||
| 118 | if [ -n "${UBOOT_CONFIG}" ] | ||
| 119 | then | ||
| 120 | for config in ${UBOOT_MACHINE}; do | ||
| 121 | i=$(expr $i + 1); | ||
| 122 | for type in ${UBOOT_CONFIG}; do | ||
| 123 | j=$(expr $j + 1); | ||
| 124 | if [ $j -eq $i ] | ||
| 125 | then | ||
| 126 | if expr "$type" : sdcard;then | ||
| 127 | builddir="${config}-${type}" | ||
| 128 | install -m 644 ${B}/${builddir}/u-boot-dtb.bin ${DEPLOYDIR}/u-boot-dtb.${UBOOT_SUFFIX}-${type} | ||
| 129 | install -m 644 ${B}/${builddir}/spl/u-boot-spl.bin ${DEPLOYDIR}/u-boot-spl.${UBOOT_SUFFIX}-${type} | ||
| 130 | fi | ||
| 131 | fi | ||
| 132 | done | ||
| 133 | unset j | ||
| 134 | done | ||
| 135 | unset i | ||
| 136 | fi | ||
| 137 | } | ||
| 95 | 138 | ||
| 96 | PACKAGES += "${PN}-images" | 139 | PACKAGES += "${PN}-images" |
| 97 | FILES:${PN}-images += "/boot" | 140 | FILES:${PN}-images += "/boot" |
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" | |||
| 6 | inherit deploy | 6 | inherit deploy |
| 7 | 7 | ||
| 8 | SRC_URI = "git://github.com/NXP/qoriq-uefi-binary.git;nobranch=1;protocol=https" | 8 | SRC_URI = "git://github.com/NXP/qoriq-uefi-binary.git;nobranch=1;protocol=https" |
| 9 | SRCREV = "15deb924ff063007592ee647602dd454353f5aee" | 9 | SRCREV = "55789d536850e00c6f2284fb28eaf21712cd276b" |
| 10 | |||
| 11 | S = "${WORKDIR}/git" | ||
| 12 | 10 | ||
| 13 | do_install () { | 11 | do_install () { |
| 14 | if [ -d ${B}/${MACHINE} ]; then | 12 | if [ -d ${B}/${MACHINE} ]; then |
