summaryrefslogtreecommitdiffstats
path: root/conf/machine/include
diff options
context:
space:
mode:
Diffstat (limited to 'conf/machine/include')
-rw-r--r--conf/machine/include/e5500-64b.inc2
-rw-r--r--conf/machine/include/e6500-64b.inc2
-rw-r--r--conf/machine/include/e6500.inc2
-rw-r--r--conf/machine/include/imx-base.inc346
-rw-r--r--conf/machine/include/imx8dxl-evk.inc6
-rw-r--r--conf/machine/include/imx8mm-evk.inc26
-rw-r--r--conf/machine/include/imx8mn-evk.inc26
-rw-r--r--conf/machine/include/imx8mp-evk.inc24
-rw-r--r--conf/machine/include/imx8x-mek.inc8
-rw-r--r--conf/machine/include/qoriq-base.inc10
-rw-r--r--conf/machine/include/utilities.inc2
11 files changed, 227 insertions, 227 deletions
diff --git a/conf/machine/include/e5500-64b.inc b/conf/machine/include/e5500-64b.inc
index 72b958cd..f384b34a 100644
--- a/conf/machine/include/e5500-64b.inc
+++ b/conf/machine/include/e5500-64b.inc
@@ -8,4 +8,4 @@ MACHINEOVERRIDES =. "e5500-64b:"
8 8
9require conf/multilib.conf 9require conf/multilib.conf
10MULTILIBS ?= "multilib:lib32" 10MULTILIBS ?= "multilib:lib32"
11DEFAULTTUNE_virtclass-multilib-lib32 ?= "ppce5500" 11DEFAULTTUNE:virtclass-multilib-lib32 ?= "ppce5500"
diff --git a/conf/machine/include/e6500-64b.inc b/conf/machine/include/e6500-64b.inc
index e0e04dbc..a94cb3b1 100644
--- a/conf/machine/include/e6500-64b.inc
+++ b/conf/machine/include/e6500-64b.inc
@@ -8,4 +8,4 @@ MACHINEOVERRIDES =. "e6500-64b:"
8 8
9require conf/multilib.conf 9require conf/multilib.conf
10MULTILIBS ?= "multilib:lib32" 10MULTILIBS ?= "multilib:lib32"
11DEFAULTTUNE_virtclass-multilib-lib32 ?= "ppce6500" 11DEFAULTTUNE:virtclass-multilib-lib32 ?= "ppce6500"
diff --git a/conf/machine/include/e6500.inc b/conf/machine/include/e6500.inc
index 8d773b6e..771fbe29 100644
--- a/conf/machine/include/e6500.inc
+++ b/conf/machine/include/e6500.inc
@@ -9,4 +9,4 @@ BUILD_64BIT_KERNEL = "1"
9 9
10require conf/multilib.conf 10require conf/multilib.conf
11MULTILIBS ?= "multilib:lib64" 11MULTILIBS ?= "multilib:lib64"
12DEFAULTTUNE_virtclass-multilib-lib64 ?= "ppc64e6500" 12DEFAULTTUNE:virtclass-multilib-lib64 ?= "ppc64e6500"
diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc
index f92a08af..b8bcecab 100644
--- a/conf/machine/include/imx-base.inc
+++ b/conf/machine/include/imx-base.inc
@@ -13,8 +13,8 @@ require conf/machine/include/utilities.inc
13IMX_DEFAULT_BSP ?= "mainline" 13IMX_DEFAULT_BSP ?= "mainline"
14 14
15# Those are SoC families we'd like to force the use of mainline BSP. 15# Those are SoC families we'd like to force the use of mainline BSP.
16IMX_DEFAULT_BSP_mxs ?= "mainline" 16IMX_DEFAULT_BSP:mxs ?= "mainline"
17IMX_DEFAULT_BSP_mx5 ?= "mainline" 17IMX_DEFAULT_BSP:mx5 ?= "mainline"
18 18
19MACHINEOVERRIDES =. "use-${IMX_DEFAULT_BSP}-bsp:" 19MACHINEOVERRIDES =. "use-${IMX_DEFAULT_BSP}-bsp:"
20 20
@@ -32,16 +32,16 @@ UBOOT_BINARY ?= "u-boot.${UBOOT_SUFFIX}"
32# ,----[ imx6qdlsabresd.conf ] 32# ,----[ imx6qdlsabresd.conf ]
33# | ### u-boot-fslc settings ### 33# | ### u-boot-fslc settings ###
34# | 34# |
35# | SPL_BINARY_pn-u-boot-fslc = "SPL" 35# | SPL_BINARY:pn-u-boot-fslc = "SPL"
36# | UBOOT_MACHINE_pn-u-boot-fslc ?= "mx6sabresd_defconfig" 36# | UBOOT_MACHINE:pn-u-boot-fslc ?= "mx6sabresd_defconfig"
37# | UBOOT_SUFFIX_pn-u-boot-fslc = "img" 37# | UBOOT_SUFFIX:pn-u-boot-fslc = "img"
38# | 38# |
39# | ### u-boot-imx settings ### 39# | ### u-boot-imx settings ###
40# | 40# |
41# | # The u-boot-imx does not provide unified functionality for DL/Q/QP SoC 41# | # The u-boot-imx does not provide unified functionality for DL/Q/QP SoC
42# | # variants. Change the defconfig to the targeted SoC variant. 42# | # variants. Change the defconfig to the targeted SoC variant.
43# | UBOOT_MACHINE_pn-u-boot-imx ?= "mx6qsabresd_defconfig" 43# | UBOOT_MACHINE:pn-u-boot-imx ?= "mx6qsabresd_defconfig"
44# | UBOOT_SUFFIX_pn-u-boot-imx = "imx" 44# | UBOOT_SUFFIX:pn-u-boot-imx = "imx"
45# `---- 45# `----
46# 46#
47# As result, the 'UBOOT_SUFFIX' is dynamically set based on the preferred U-Boot 47# As result, the 'UBOOT_SUFFIX' is dynamically set based on the preferred U-Boot
@@ -61,7 +61,7 @@ UBOOT_BINARY ?= "u-boot.${UBOOT_SUFFIX}"
61# | UBOOT_MACHINE = "mx53loco_config" 61# | UBOOT_MACHINE = "mx53loco_config"
62# `---- 62# `----
63IMX_DEFAULT_BOOTLOADER ??= "u-boot-fslc" 63IMX_DEFAULT_BOOTLOADER ??= "u-boot-fslc"
64UBOOT_SUFFIX ?= "${UBOOT_SUFFIX_pn-${IMX_DEFAULT_BOOTLOADER}}" 64UBOOT_SUFFIX ?= "${UBOOT_SUFFIX:pn-${IMX_DEFAULT_BOOTLOADER}}"
65 65
66# We need to export the original variable to allow it to be used when generating 66# We need to export the original variable to allow it to be used when generating
67# wic based images. 67# wic based images.
@@ -75,33 +75,33 @@ PREFERRED_PROVIDER_virtual/bootloader ??= "${IMX_DEFAULT_BOOTLOADER}"
75 75
76PREFERRED_PROVIDER_u-boot-mxsboot-native ??= "u-boot-fslc-mxsboot-native" 76PREFERRED_PROVIDER_u-boot-mxsboot-native ??= "u-boot-fslc-mxsboot-native"
77 77
78UBOOT_ENTRYPOINT_mxs = "0x40008000" 78UBOOT_ENTRYPOINT:mxs = "0x40008000"
79UBOOT_ENTRYPOINT_mx51 = "0x90008000" 79UBOOT_ENTRYPOINT:mx51 = "0x90008000"
80UBOOT_ENTRYPOINT_mx53 = "0x70008000" 80UBOOT_ENTRYPOINT:mx53 = "0x70008000"
81UBOOT_ENTRYPOINT_mx6 = "0x10008000" 81UBOOT_ENTRYPOINT:mx6 = "0x10008000"
82UBOOT_ENTRYPOINT_mx6sl = "0x80008000" 82UBOOT_ENTRYPOINT:mx6sl = "0x80008000"
83UBOOT_ENTRYPOINT_mx6sll = "0x80008000" 83UBOOT_ENTRYPOINT:mx6sll = "0x80008000"
84UBOOT_ENTRYPOINT_mx6sx = "0x80008000" 84UBOOT_ENTRYPOINT:mx6sx = "0x80008000"
85UBOOT_ENTRYPOINT_mx6ul = "0x80008000" 85UBOOT_ENTRYPOINT:mx6ul = "0x80008000"
86UBOOT_ENTRYPOINT_mx6ull = "0x80008000" 86UBOOT_ENTRYPOINT:mx6ull = "0x80008000"
87UBOOT_ENTRYPOINT_mx6ulz = "0x80008000" 87UBOOT_ENTRYPOINT:mx6ulz = "0x80008000"
88UBOOT_ENTRYPOINT_mx7 = "0x80008000" 88UBOOT_ENTRYPOINT:mx7 = "0x80008000"
89UBOOT_ENTRYPOINT_mx7ulp = "0x60008000" 89UBOOT_ENTRYPOINT:mx7ulp = "0x60008000"
90UBOOT_ENTRYPOINT_mx8m = "0x40480000" 90UBOOT_ENTRYPOINT:mx8m = "0x40480000"
91UBOOT_ENTRYPOINT_vf = "0x80008000" 91UBOOT_ENTRYPOINT:vf = "0x80008000"
92 92
93# Some derivates can utilize the boot container provided by U-Boot, 93# Some derivates can utilize the boot container provided by U-Boot,
94# below variable sets that those machines which have a imx-boot-container 94# below variable sets that those machines which have a imx-boot-container
95# in their MACHINEOVERRIDES can inherit a imx-boot-container class 95# in their MACHINEOVERRIDES can inherit a imx-boot-container class
96UBOOT_PROVIDES_BOOT_CONTAINER = "0" 96UBOOT_PROVIDES_BOOT_CONTAINER = "0"
97UBOOT_PROVIDES_BOOT_CONTAINER_imx-boot-container = "1" 97UBOOT_PROVIDES_BOOT_CONTAINER:imx-boot-container = "1"
98 98
99PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg" 99PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
100XSERVER_DRIVER = "xf86-video-fbdev" 100XSERVER_DRIVER = "xf86-video-fbdev"
101XSERVER_DRIVER_imxgpu2d = "xf86-video-imx-vivante" 101XSERVER_DRIVER:imxgpu2d = "xf86-video-imx-vivante"
102XSERVER_DRIVER_vf = "xf86-video-modesetting" 102XSERVER_DRIVER:vf = "xf86-video-modesetting"
103XSERVER_DRIVER_append_mx8 = " xf86-video-modesetting" 103XSERVER_DRIVER:append:mx8 = " xf86-video-modesetting"
104XSERVER_DRIVER_use-mainline-bsp = " \ 104XSERVER_DRIVER:use-mainline-bsp = " \
105 xf86-video-fbdev \ 105 xf86-video-fbdev \
106 xf86-video-modesetting \ 106 xf86-video-modesetting \
107 xserver-xorg-extension-glx \ 107 xserver-xorg-extension-glx \
@@ -118,41 +118,41 @@ MACHINE_EXTRA_RRECOMMENDS = "kernel-modules"
118# ARM_INSTRUCTION_SET = "thumb" 118# ARM_INSTRUCTION_SET = "thumb"
119# 119#
120# handled by software 120# handled by software
121# DEFAULTTUNE_mx6 ?= "cortexa9t-neon" 121# DEFAULTTUNE:mx6 ?= "cortexa9t-neon"
122# handled by hardware 122# handled by hardware
123DEFAULTTUNE_mx6 ?= "cortexa9thf-neon" 123DEFAULTTUNE:mx6 ?= "cortexa9thf-neon"
124DEFAULTTUNE_mx6ul ?= "cortexa7thf-neon" 124DEFAULTTUNE:mx6ul ?= "cortexa7thf-neon"
125DEFAULTTUNE_mx6ull ?= "cortexa7thf-neon" 125DEFAULTTUNE:mx6ull ?= "cortexa7thf-neon"
126DEFAULTTUNE_mx6ulz ?= "cortexa7thf-neon" 126DEFAULTTUNE:mx6ulz ?= "cortexa7thf-neon"
127DEFAULTTUNE_mx7 ?= "cortexa7thf-neon" 127DEFAULTTUNE:mx7 ?= "cortexa7thf-neon"
128DEFAULTTUNE_vf ?= "cortexa5thf-neon" 128DEFAULTTUNE:vf ?= "cortexa5thf-neon"
129 129
130DEFAULTTUNE_mx8m ?= "cortexa53-crypto" 130DEFAULTTUNE:mx8m ?= "cortexa53-crypto"
131DEFAULTTUNE_mx8qm ?= "cortexa72-cortexa53-crypto" 131DEFAULTTUNE:mx8qm ?= "cortexa72-cortexa53-crypto"
132DEFAULTTUNE_mx8qxp ?= "cortexa35-crypto" 132DEFAULTTUNE:mx8qxp ?= "cortexa35-crypto"
133 133
134INHERIT += "machine-overrides-extender" 134INHERIT += "machine-overrides-extender"
135 135
136MACHINEOVERRIDES_EXTENDER_mx25 = "use-mainline-bsp" 136MACHINEOVERRIDES_EXTENDER:mx25 = "use-mainline-bsp"
137MACHINEOVERRIDES_EXTENDER_mx6q = "imxfbdev:imxipu:imxvpu:imxgpu:imxgpu2d:imxgpu3d" 137MACHINEOVERRIDES_EXTENDER:mx6q = "imxfbdev:imxipu:imxvpu:imxgpu:imxgpu2d:imxgpu3d"
138MACHINEOVERRIDES_EXTENDER_mx6dl = "imxfbdev:imxpxp:imxipu:imxvpu:imxgpu:imxgpu2d:imxgpu3d:imxepdc" 138MACHINEOVERRIDES_EXTENDER:mx6dl = "imxfbdev:imxpxp:imxipu:imxvpu:imxgpu:imxgpu2d:imxgpu3d:imxepdc"
139MACHINEOVERRIDES_EXTENDER_mx6sx = "imxfbdev:imxpxp:imxgpu:imxgpu2d:imxgpu3d" 139MACHINEOVERRIDES_EXTENDER:mx6sx = "imxfbdev:imxpxp:imxgpu:imxgpu2d:imxgpu3d"
140MACHINEOVERRIDES_EXTENDER_mx6sl = "imxfbdev:imxpxp:imxgpu:imxgpu2d:imxepdc" 140MACHINEOVERRIDES_EXTENDER:mx6sl = "imxfbdev:imxpxp:imxgpu:imxgpu2d:imxepdc"
141MACHINEOVERRIDES_EXTENDER_mx6sll = "imxfbdev:imxpxp:imxepdc" 141MACHINEOVERRIDES_EXTENDER:mx6sll = "imxfbdev:imxpxp:imxepdc"
142MACHINEOVERRIDES_EXTENDER_mx6ul = "imxfbdev:imxpxp" 142MACHINEOVERRIDES_EXTENDER:mx6ul = "imxfbdev:imxpxp"
143MACHINEOVERRIDES_EXTENDER_mx6ull = "imxfbdev:imxpxp:imxepdc" 143MACHINEOVERRIDES_EXTENDER:mx6ull = "imxfbdev:imxpxp:imxepdc"
144MACHINEOVERRIDES_EXTENDER_mx6ulz = "imxfbdev:imxpxp:imxepdc" 144MACHINEOVERRIDES_EXTENDER:mx6ulz = "imxfbdev:imxpxp:imxepdc"
145MACHINEOVERRIDES_EXTENDER_mx7d = "imxfbdev:imxpxp:imxepdc" 145MACHINEOVERRIDES_EXTENDER:mx7d = "imxfbdev:imxpxp:imxepdc"
146MACHINEOVERRIDES_EXTENDER_mx7ulp = "imxfbdev:imxpxp:imxgpu:imxgpu2d:imxgpu3d" 146MACHINEOVERRIDES_EXTENDER:mx7ulp = "imxfbdev:imxpxp:imxgpu:imxgpu2d:imxgpu3d"
147MACHINEOVERRIDES_EXTENDER_mx8qm = "imxdrm:imxdpu:imxgpu:imxgpu2d:imxgpu3d" 147MACHINEOVERRIDES_EXTENDER:mx8qm = "imxdrm:imxdpu:imxgpu:imxgpu2d:imxgpu3d"
148MACHINEOVERRIDES_EXTENDER_mx8mm = "imxdrm:imxvpu:imxgpu:imxgpu2d:imxgpu3d" 148MACHINEOVERRIDES_EXTENDER:mx8mm = "imxdrm:imxvpu:imxgpu:imxgpu2d:imxgpu3d"
149MACHINEOVERRIDES_EXTENDER_mx8mn = "imxdrm:imxgpu:imxgpu3d" 149MACHINEOVERRIDES_EXTENDER:mx8mn = "imxdrm:imxgpu:imxgpu3d"
150MACHINEOVERRIDES_EXTENDER_mx8mp = "imxdrm:imxvpu:imxgpu:imxgpu2d:imxgpu3d" 150MACHINEOVERRIDES_EXTENDER:mx8mp = "imxdrm:imxvpu:imxgpu:imxgpu2d:imxgpu3d"
151MACHINEOVERRIDES_EXTENDER_mx8mq = "imxdrm:imxvpu:imxgpu:imxgpu3d" 151MACHINEOVERRIDES_EXTENDER:mx8mq = "imxdrm:imxvpu:imxgpu:imxgpu3d"
152MACHINEOVERRIDES_EXTENDER_mx8qxp = "imxdrm:imxdpu:imxgpu:imxgpu2d:imxgpu3d" 152MACHINEOVERRIDES_EXTENDER:mx8qxp = "imxdrm:imxdpu:imxgpu:imxgpu2d:imxgpu3d"
153MACHINEOVERRIDES_EXTENDER_mx8dxl = "imxfbdev" 153MACHINEOVERRIDES_EXTENDER:mx8dxl = "imxfbdev"
154 154
155MACHINEOVERRIDES_EXTENDER_FILTER_OUT_use-mainline-bsp = " \ 155MACHINEOVERRIDES_EXTENDER_FILTER_OUT:use-mainline-bsp = " \
156 imx \ 156 imx \
157 \ 157 \
158 mx6 \ 158 mx6 \
@@ -182,40 +182,40 @@ MACHINEOVERRIDES_EXTENDER_FILTER_OUT_use-mainline-bsp = " \
182 182
183# Sub-architecture support 183# Sub-architecture support
184MACHINE_SOCARCH_SUFFIX ?= "" 184MACHINE_SOCARCH_SUFFIX ?= ""
185MACHINE_SOCARCH_SUFFIX_mx6q = "-mx6qdl" 185MACHINE_SOCARCH_SUFFIX:mx6q = "-mx6qdl"
186MACHINE_SOCARCH_SUFFIX_mx6dl = "-mx6qdl" 186MACHINE_SOCARCH_SUFFIX:mx6dl = "-mx6qdl"
187MACHINE_SOCARCH_SUFFIX_mx6sx = "-mx6sx" 187MACHINE_SOCARCH_SUFFIX:mx6sx = "-mx6sx"
188MACHINE_SOCARCH_SUFFIX_mx6sl = "-mx6sl" 188MACHINE_SOCARCH_SUFFIX:mx6sl = "-mx6sl"
189MACHINE_SOCARCH_SUFFIX_mx6sll= "-mx6sll" 189MACHINE_SOCARCH_SUFFIX:mx6sll= "-mx6sll"
190MACHINE_SOCARCH_SUFFIX_mx7d = "-mx7d" 190MACHINE_SOCARCH_SUFFIX:mx7d = "-mx7d"
191MACHINE_SOCARCH_SUFFIX_mx7ulp = "-mx7ulp" 191MACHINE_SOCARCH_SUFFIX:mx7ulp = "-mx7ulp"
192MACHINE_SOCARCH_SUFFIX_vf60 = "-vf60" 192MACHINE_SOCARCH_SUFFIX:vf60 = "-vf60"
193MACHINE_SOCARCH_SUFFIX_vf50 = "-vf50" 193MACHINE_SOCARCH_SUFFIX:vf50 = "-vf50"
194MACHINE_SOCARCH_SUFFIX_mx6ul = "-mx6ul" 194MACHINE_SOCARCH_SUFFIX:mx6ul = "-mx6ul"
195MACHINE_SOCARCH_SUFFIX_mx6ull = "-mx6ul" 195MACHINE_SOCARCH_SUFFIX:mx6ull = "-mx6ul"
196MACHINE_SOCARCH_SUFFIX_mx6ulz = "-mx6ul" 196MACHINE_SOCARCH_SUFFIX:mx6ulz = "-mx6ul"
197MACHINE_SOCARCH_SUFFIX_mx8qm = "-mx8" 197MACHINE_SOCARCH_SUFFIX:mx8qm = "-mx8"
198MACHINE_SOCARCH_SUFFIX_mx8mm = "-mx8mm" 198MACHINE_SOCARCH_SUFFIX:mx8mm = "-mx8mm"
199MACHINE_SOCARCH_SUFFIX_mx8mn = "-mx8mn" 199MACHINE_SOCARCH_SUFFIX:mx8mn = "-mx8mn"
200MACHINE_SOCARCH_SUFFIX_mx8mp = "-mx8mp" 200MACHINE_SOCARCH_SUFFIX:mx8mp = "-mx8mp"
201MACHINE_SOCARCH_SUFFIX_mx8mq = "-mx8m" 201MACHINE_SOCARCH_SUFFIX:mx8mq = "-mx8m"
202MACHINE_SOCARCH_SUFFIX_mx8qxp = "-mx8" 202MACHINE_SOCARCH_SUFFIX:mx8qxp = "-mx8"
203MACHINE_SOCARCH_SUFFIX_mx8dxl = "-mx8dxl" 203MACHINE_SOCARCH_SUFFIX:mx8dxl = "-mx8dxl"
204MACHINE_SOCARCH_SUFFIX_use-mainline-bsp = "-imx" 204MACHINE_SOCARCH_SUFFIX:use-mainline-bsp = "-imx"
205 205
206MACHINE_ARCH_FILTER = "virtual/kernel" 206MACHINE_ARCH_FILTER = "virtual/kernel"
207MACHINE_SOCARCH_FILTER_append_imx = " \ 207MACHINE_SOCARCH_FILTER:append_imx = " \
208 alsa-lib \ 208 alsa-lib \
209 gstreamer1.0 \ 209 gstreamer1.0 \
210 weston \ 210 weston \
211" 211"
212MACHINE_SOCARCH_FILTER_append_imxvpu = " \ 212MACHINE_SOCARCH_FILTER:append:imxvpu = " \
213 imx-codec \ 213 imx-codec \
214 imx-vpuwrap \ 214 imx-vpuwrap \
215 libimxvpuapi \ 215 libimxvpuapi \
216 virtual/imxvpu \ 216 virtual/imxvpu \
217" 217"
218MACHINE_SOCARCH_FILTER_append_imxgpu = " \ 218MACHINE_SOCARCH_FILTER:append:imxgpu = " \
219 virtual/egl \ 219 virtual/egl \
220 virtual/mesa \ 220 virtual/mesa \
221 virtual/libopenvg \ 221 virtual/libopenvg \
@@ -225,15 +225,15 @@ MACHINE_SOCARCH_FILTER_append_imxgpu = " \
225 opencv \ 225 opencv \
226 pango \ 226 pango \
227" 227"
228MACHINE_SOCARCH_FILTER_append_imxgpu2d = " \ 228MACHINE_SOCARCH_FILTER:append:imxgpu2d = " \
229 virtual/libg2d \ 229 virtual/libg2d \
230" 230"
231MACHINE_SOCARCH_FILTER_append_imxgpu3d = " \ 231MACHINE_SOCARCH_FILTER:append:imxgpu3d = " \
232 virtual/libgl \ 232 virtual/libgl \
233 virtual/libgles1 \ 233 virtual/libgles1 \
234 virtual/libgles2 \ 234 virtual/libgles2 \
235" 235"
236MACHINE_SOCARCH_FILTER_append_use-mainline-bsp = " \ 236MACHINE_SOCARCH_FILTER:append:use-mainline-bsp = " \
237 virtual/egl \ 237 virtual/egl \
238 virtual/libopenvg \ 238 virtual/libopenvg \
239 virtual/libg2d \ 239 virtual/libg2d \
@@ -245,23 +245,23 @@ MACHINE_SOCARCH_FILTER_append_use-mainline-bsp = " \
245 pango \ 245 pango \
246 qtbase \ 246 qtbase \
247" 247"
248MACHINE_SOCARCH_FILTER_append_mx6q = " \ 248MACHINE_SOCARCH_FILTER:append:mx6q = " \
249 opencl-icd-loader \ 249 opencl-icd-loader \
250 opencl-clhpp \ 250 opencl-clhpp \
251 opencl-headers \ 251 opencl-headers \
252" 252"
253MACHINE_SOCARCH_FILTER_append_mx8 = " \ 253MACHINE_SOCARCH_FILTER:append:mx8 = " \
254 opencl-icd-loader \ 254 opencl-icd-loader \
255 opencl-clhpp \ 255 opencl-clhpp \
256 opencl-headers \ 256 opencl-headers \
257" 257"
258MACHINE_SOCARCH_FILTER_append_mx8qm = " \ 258MACHINE_SOCARCH_FILTER:append:mx8qm = " \
259 virtual/libopenvx \ 259 virtual/libopenvx \
260" 260"
261 261
262INHERIT += "fsl-dynamic-packagearch" 262INHERIT += "fsl-dynamic-packagearch"
263 263
264SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS_append = " \ 264SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS:append = " \
265 imx-gpu-viv->kernel-module-imx-gpu-viv \ 265 imx-gpu-viv->kernel-module-imx-gpu-viv \
266 libimxvpuapi->virtual/imxvpu \ 266 libimxvpuapi->virtual/imxvpu \
267 imx-vpuwrap->virtual/imxvpu \ 267 imx-vpuwrap->virtual/imxvpu \
@@ -271,44 +271,44 @@ SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS_append = " \
271 271
272# Firmware 272# Firmware
273MACHINE_FIRMWARE ?= "" 273MACHINE_FIRMWARE ?= ""
274MACHINE_FIRMWARE_append_mx25 = " firmware-imx-sdma-imx25" 274MACHINE_FIRMWARE:append:mx25 = " firmware-imx-sdma-imx25"
275MACHINE_FIRMWARE_append_mx27 = " firmware-imx-vpu-imx27" 275MACHINE_FIRMWARE:append_mx27 = " firmware-imx-vpu-imx27"
276MACHINE_FIRMWARE_append_mx7d = " linux-firmware-imx-sdma-imx7d firmware-imx-epdc" 276MACHINE_FIRMWARE:append:mx7d = " linux-firmware-imx-sdma-imx7d firmware-imx-epdc"
277MACHINE_FIRMWARE_append_mx6 = " linux-firmware-imx-sdma-imx6q" 277MACHINE_FIRMWARE:append:mx6 = " linux-firmware-imx-sdma-imx6q"
278MACHINE_FIRMWARE_append_mx6q = " firmware-imx-vpu-imx6q" 278MACHINE_FIRMWARE:append:mx6q = " firmware-imx-vpu-imx6q"
279MACHINE_FIRMWARE_append_mx6dl = " firmware-imx-vpu-imx6d firmware-imx-epdc" 279MACHINE_FIRMWARE:append:mx6dl = " firmware-imx-vpu-imx6d firmware-imx-epdc"
280MACHINE_FIRMWARE_append_mx6sl = " firmware-imx-epdc" 280MACHINE_FIRMWARE:append:mx6sl = " firmware-imx-epdc"
281MACHINE_FIRMWARE_append_mx6sll = " firmware-imx-epdc" 281MACHINE_FIRMWARE:append:mx6sll = " firmware-imx-epdc"
282MACHINE_FIRMWARE_append_mx6ull = " firmware-imx-epdc" 282MACHINE_FIRMWARE:append:mx6ull = " firmware-imx-epdc"
283MACHINE_FIRMWARE_append_mx53 = " firmware-imx-vpu-imx53 firmware-imx-sdma-imx53" 283MACHINE_FIRMWARE:append:mx53 = " firmware-imx-vpu-imx53 firmware-imx-sdma-imx53"
284MACHINE_FIRMWARE_append_mx51 = " firmware-imx-vpu-imx51 firmware-imx-sdma-imx51" 284MACHINE_FIRMWARE:append:mx51 = " firmware-imx-vpu-imx51 firmware-imx-sdma-imx51"
285MACHINE_FIRMWARE_append_mx8mm = " linux-firmware-imx-sdma-imx7d" 285MACHINE_FIRMWARE:append:mx8mm = " linux-firmware-imx-sdma-imx7d"
286MACHINE_FIRMWARE_append_mx8mn = " linux-firmware-imx-sdma-imx7d" 286MACHINE_FIRMWARE:append:mx8mn = " linux-firmware-imx-sdma-imx7d"
287MACHINE_FIRMWARE_append_mx8mp = " linux-firmware-imx-sdma-imx7d firmware-imx-easrc-imx8mn firmware-imx-xcvr-imx8mp firmware-sof-imx" 287MACHINE_FIRMWARE:append:mx8mp = " linux-firmware-imx-sdma-imx7d firmware-imx-easrc-imx8mn firmware-imx-xcvr-imx8mp firmware-sof-imx"
288MACHINE_FIRMWARE_append_mx8mq = " linux-firmware-imx-sdma-imx7d" 288MACHINE_FIRMWARE:append:mx8mq = " linux-firmware-imx-sdma-imx7d"
289MACHINE_FIRMWARE_append_mx8qm = " firmware-imx-vpu-imx8" 289MACHINE_FIRMWARE:append:mx8qm = " firmware-imx-vpu-imx8"
290MACHINE_FIRMWARE_append_mx8qxp = " firmware-imx-vpu-imx8" 290MACHINE_FIRMWARE:append:mx8qxp = " firmware-imx-vpu-imx8"
291MACHINE_FIRMWARE_append_use-mainline-bsp = " linux-firmware-imx-sdma-imx6q linux-firmware-imx-sdma-imx7d firmware-imx-vpu-imx6q firmware-imx-vpu-imx6d" 291MACHINE_FIRMWARE:append:use-mainline-bsp = " linux-firmware-imx-sdma-imx6q linux-firmware-imx-sdma-imx7d firmware-imx-vpu-imx6q firmware-imx-vpu-imx6d"
292 292
293MACHINE_EXTRA_RRECOMMENDS += "${MACHINE_FIRMWARE}" 293MACHINE_EXTRA_RRECOMMENDS += "${MACHINE_FIRMWARE}"
294 294
295# Extra audio support 295# Extra audio support
296IMX_ALSA_EXTRA = "" 296IMX_ALSA_EXTRA = ""
297IMX_ALSA_EXTRA_use-nxp-bsp = "imx-alsa-plugins" 297IMX_ALSA_EXTRA:use-nxp-bsp = "imx-alsa-plugins"
298MACHINE_EXTRA_RRECOMMENDS_append_mx6 = " ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', '${IMX_ALSA_EXTRA}', '', d)}" 298MACHINE_EXTRA_RRECOMMENDS:append:mx6 = " ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', '${IMX_ALSA_EXTRA}', '', d)}"
299MACHINE_EXTRA_RRECOMMENDS_append_mx7 = " ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', '${IMX_ALSA_EXTRA}', '', d)}" 299MACHINE_EXTRA_RRECOMMENDS:append:mx7 = " ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', '${IMX_ALSA_EXTRA}', '', d)}"
300MACHINE_EXTRA_RRECOMMENDS_append_mx8 = " ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', '${IMX_ALSA_EXTRA}', '', d)}" 300MACHINE_EXTRA_RRECOMMENDS:append:mx8 = " ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', '${IMX_ALSA_EXTRA}', '', d)}"
301 301
302# Extra Cypress Wi-Fi and BTW firmware (Murata) 302# Extra Cypress Wi-Fi and BTW firmware (Murata)
303MACHINE_FIRMWARE_append = " ${@bb.utils.contains('MACHINE_FEATURES', 'bcm4339', 'linux-firmware-bcm4339', '', d)}" 303MACHINE_FIRMWARE:append = " ${@bb.utils.contains('MACHINE_FEATURES', 'bcm4339', 'linux-firmware-bcm4339', '', d)}"
304MACHINE_FIRMWARE_append = " ${@bb.utils.contains('MACHINE_FEATURES', 'bcm43430', 'linux-firmware-bcm43430', '', d)}" 304MACHINE_FIRMWARE:append = " ${@bb.utils.contains('MACHINE_FEATURES', 'bcm43430', 'linux-firmware-bcm43430', '', d)}"
305MACHINE_FIRMWARE_append = " ${@bb.utils.contains('MACHINE_FEATURES', 'bcm43455', 'linux-firmware-bcm43455', '', d)}" 305MACHINE_FIRMWARE:append = " ${@bb.utils.contains('MACHINE_FEATURES', 'bcm43455', 'linux-firmware-bcm43455', '', d)}"
306MACHINE_FIRMWARE_append = " ${@bb.utils.contains('MACHINE_FEATURES', 'bcm4356', 'linux-firmware-bcm4356-pcie', '', d)}" 306MACHINE_FIRMWARE:append = " ${@bb.utils.contains('MACHINE_FEATURES', 'bcm4356', 'linux-firmware-bcm4356-pcie', '', d)}"
307MACHINE_FIRMWARE_append = " ${@bb.utils.contains('MACHINE_FEATURES', 'bcm4359', 'linux-firmware-bcm4359-pcie', '', d)}" 307MACHINE_FIRMWARE:append = " ${@bb.utils.contains('MACHINE_FEATURES', 'bcm4359', 'linux-firmware-bcm4359-pcie', '', d)}"
308 308
309# Extra QCA Wi-Fi & BTE driver and firmware 309# Extra QCA Wi-Fi & BTE driver and firmware
310MACHINE_EXTRA_RRECOMMENDS_append = " ${@bb.utils.contains('MACHINE_FEATURES', 'qca6174', 'packagegroup-fsl-qca6174', '', d)}" 310MACHINE_EXTRA_RRECOMMENDS:append = " ${@bb.utils.contains('MACHINE_FEATURES', 'qca6174', 'packagegroup-fsl-qca6174', '', d)}"
311MACHINE_EXTRA_RRECOMMENDS_append = " ${@bb.utils.contains('MACHINE_FEATURES', 'qca9377', 'packagegroup-fsl-qca9377', '', d)}" 311MACHINE_EXTRA_RRECOMMENDS:append = " ${@bb.utils.contains('MACHINE_FEATURES', 'qca9377', 'packagegroup-fsl-qca9377', '', d)}"
312 312
313# Extra udev rules 313# Extra udev rules
314MACHINE_EXTRA_RRECOMMENDS += "udev-rules-imx" 314MACHINE_EXTRA_RRECOMMENDS += "udev-rules-imx"
@@ -320,29 +320,29 @@ MACHINE_EXTRA_RRECOMMENDS += " \
320 320
321# GStreamer 1.0 plugins 321# GStreamer 1.0 plugins
322MACHINE_GSTREAMER_1_0_PLUGIN ?= "" 322MACHINE_GSTREAMER_1_0_PLUGIN ?= ""
323MACHINE_GSTREAMER_1_0_PLUGIN_mx6dl ?= "gstreamer1.0-plugins-imx-meta" 323MACHINE_GSTREAMER_1_0_PLUGIN:mx6dl ?= "gstreamer1.0-plugins-imx-meta"
324MACHINE_GSTREAMER_1_0_PLUGIN_mx6q ?= "gstreamer1.0-plugins-imx-meta" 324MACHINE_GSTREAMER_1_0_PLUGIN:mx6q ?= "gstreamer1.0-plugins-imx-meta"
325MACHINE_GSTREAMER_1_0_PLUGIN_mx6sl ?= "gstreamer1.0-plugins-imx-meta" 325MACHINE_GSTREAMER_1_0_PLUGIN:mx6sl ?= "gstreamer1.0-plugins-imx-meta"
326MACHINE_GSTREAMER_1_0_PLUGIN_mx6sx ?= "gstreamer1.0-plugins-imx-meta" 326MACHINE_GSTREAMER_1_0_PLUGIN:mx6sx ?= "gstreamer1.0-plugins-imx-meta"
327MACHINE_GSTREAMER_1_0_PLUGIN_mx6ul ?= "gstreamer1.0-plugins-imx-meta" 327MACHINE_GSTREAMER_1_0_PLUGIN:mx6ul ?= "gstreamer1.0-plugins-imx-meta"
328MACHINE_GSTREAMER_1_0_PLUGIN_mx6ull ?= "gstreamer1.0-plugins-imx-meta" 328MACHINE_GSTREAMER_1_0_PLUGIN:mx6ull ?= "gstreamer1.0-plugins-imx-meta"
329MACHINE_GSTREAMER_1_0_PLUGIN_mx7d ?= "gstreamer1.0-plugins-imx-meta" 329MACHINE_GSTREAMER_1_0_PLUGIN:mx7d ?= "gstreamer1.0-plugins-imx-meta"
330MACHINE_GSTREAMER_1_0_PLUGIN_mx8mm ?= "imx-gst1.0-plugin" 330MACHINE_GSTREAMER_1_0_PLUGIN:mx8mm ?= "imx-gst1.0-plugin"
331MACHINE_GSTREAMER_1_0_PLUGIN_mx8mn ?= "imx-gst1.0-plugin" 331MACHINE_GSTREAMER_1_0_PLUGIN:mx8mn ?= "imx-gst1.0-plugin"
332MACHINE_GSTREAMER_1_0_PLUGIN_mx8mp ?= "imx-gst1.0-plugin" 332MACHINE_GSTREAMER_1_0_PLUGIN:mx8mp ?= "imx-gst1.0-plugin"
333MACHINE_GSTREAMER_1_0_PLUGIN_mx8mq ?= "imx-gst1.0-plugin" 333MACHINE_GSTREAMER_1_0_PLUGIN:mx8mq ?= "imx-gst1.0-plugin"
334MACHINE_GSTREAMER_1_0_PLUGIN_mx8qm ?= "imx-gst1.0-plugin" 334MACHINE_GSTREAMER_1_0_PLUGIN:mx8qm ?= "imx-gst1.0-plugin"
335MACHINE_GSTREAMER_1_0_PLUGIN_mx8qxp ?= "imx-gst1.0-plugin" 335MACHINE_GSTREAMER_1_0_PLUGIN:mx8qxp ?= "imx-gst1.0-plugin"
336 336
337PREFERRED_VERSION_gstreamer1.0_mx8 ?= "1.16.2.imx" 337PREFERRED_VERSION_gstreamer1.0:mx8 ?= "1.16.2.imx"
338PREFERRED_VERSION_gstreamer1.0-plugins-base_mx8 ?= "1.16.2.imx" 338PREFERRED_VERSION_gstreamer1.0-plugins-base:mx8 ?= "1.16.2.imx"
339PREFERRED_VERSION_gstreamer1.0-plugins-good_mx8 ?= "1.16.3.imx" 339PREFERRED_VERSION_gstreamer1.0-plugins-good:mx8 ?= "1.16.3.imx"
340PREFERRED_VERSION_gstreamer1.0-plugins-bad_mx8 ?= "1.16.3.imx" 340PREFERRED_VERSION_gstreamer1.0-plugins-bad:mx8 ?= "1.16.3.imx"
341PREFERRED_VERSION_gstreamer1.0-libav_mx8 ?= "1.16.0" 341PREFERRED_VERSION_gstreamer1.0-libav:mx8 ?= "1.16.0"
342 342
343# Determines if the SoC has support for Vivante kernel driver 343# Determines if the SoC has support for Vivante kernel driver
344SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT = "0" 344SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT = "0"
345SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT_imxgpu = "1" 345SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT:imxgpu = "1"
346 346
347# Handle Vivante kernel driver setting: 347# Handle Vivante kernel driver setting:
348# 0 - machine does not have Vivante GPU driver support 348# 0 - machine does not have Vivante GPU driver support
@@ -361,53 +361,53 @@ PREFERRED_PROVIDER_virtual/libgles1_imxgpu3d ?= "imx-gpu-viv"
361PREFERRED_PROVIDER_virtual/libgles2_imxgpu3d ?= "imx-gpu-viv" 361PREFERRED_PROVIDER_virtual/libgles2_imxgpu3d ?= "imx-gpu-viv"
362PREFERRED_PROVIDER_virtual/libg2d ?= "imx-gpu-g2d" 362PREFERRED_PROVIDER_virtual/libg2d ?= "imx-gpu-g2d"
363PREFERRED_PROVIDER_virtual/libg2d_imxdpu ?= "imx-dpu-g2d" 363PREFERRED_PROVIDER_virtual/libg2d_imxdpu ?= "imx-dpu-g2d"
364PREFERRED_PROVIDER_opencl-clhpp_imxgpu ?= "imx-gpu-viv" 364PREFERRED_PROVIDER_opencl-clhpp:imxgpu ?= "imx-gpu-viv"
365PREFERRED_PROVIDER_opencl-headers_imxgpu ?= "imx-gpu-viv" 365PREFERRED_PROVIDER_opencl-headers:imxgpu ?= "imx-gpu-viv"
366PREFERRED_PROVIDER_opencl-icd-loader_imxgpu ?= "imx-gpu-viv" 366PREFERRED_PROVIDER_opencl-icd-loader:imxgpu ?= "imx-gpu-viv"
367 367
368PREFERRED_VERSION_weston_imx ?= "9.0.0.imx" 368PREFERRED_VERSION_weston_imx ?= "9.0.0.imx"
369PREFERRED_VERSION_weston_use-mainline-bsp = "" 369PREFERRED_VERSION_weston:use-mainline-bsp = ""
370 370
371PREFERRED_VERSION_wayland-protocols_mx6 ?= "1.20.imx" 371PREFERRED_VERSION_wayland-protocols:mx6 ?= "1.20.imx"
372PREFERRED_VERSION_wayland-protocols_mx7 ?= "1.20.imx" 372PREFERRED_VERSION_wayland-protocols:mx7 ?= "1.20.imx"
373PREFERRED_VERSION_wayland-protocols_mx8 ?= "1.20.imx" 373PREFERRED_VERSION_wayland-protocols:mx8 ?= "1.20.imx"
374 374
375# Use i.MX libdrm Version 375# Use i.MX libdrm Version
376PREFERRED_VERSION_libdrm_mx6 ?= "2.4.102.imx" 376PREFERRED_VERSION_libdrm:mx6 ?= "2.4.102.imx"
377PREFERRED_VERSION_libdrm_mx7 ?= "2.4.102.imx" 377PREFERRED_VERSION_libdrm:mx7 ?= "2.4.102.imx"
378PREFERRED_VERSION_libdrm_mx8 ?= "2.4.102.imx" 378PREFERRED_VERSION_libdrm:mx8 ?= "2.4.102.imx"
379 379
380# Use i.MX optee Version 380# Use i.MX optee Version
381PREFERRED_VERSION_optee-os_mx8 ?= "3.10.0.imx" 381PREFERRED_VERSION_optee-os:mx8 ?= "3.10.0.imx"
382PREFERRED_VERSION_optee-client_mx8 ?= "3.10.0.imx" 382PREFERRED_VERSION_optee-client:mx8 ?= "3.10.0.imx"
383PREFERRED_VERSION_optee-test_mx8 ?= "3.10.0.imx" 383PREFERRED_VERSION_optee-test:mx8 ?= "3.10.0.imx"
384 384
385#Use i.MX opencv Version for mx8 385#Use i.MX opencv Version for mx8
386PREFERRED_VERSION_opencv_mx8 ?= "4.5.2.imx" 386PREFERRED_VERSION_opencv:mx8 ?= "4.5.2.imx"
387 387
388# Handle default kernel 388# Handle default kernel
389IMX_DEFAULT_KERNEL = "linux-fslc-imx" 389IMX_DEFAULT_KERNEL = "linux-fslc-imx"
390IMX_DEFAULT_KERNEL_mxs = "linux-fslc" 390IMX_DEFAULT_KERNEL:mxs = "linux-fslc"
391IMX_DEFAULT_KERNEL_mx5 = "linux-fslc" 391IMX_DEFAULT_KERNEL:mx5 = "linux-fslc"
392IMX_DEFAULT_KERNEL_mx6 = "linux-fslc-imx" 392IMX_DEFAULT_KERNEL:mx6 = "linux-fslc-imx"
393IMX_DEFAULT_KERNEL_mx7 = "linux-fslc-imx" 393IMX_DEFAULT_KERNEL:mx7 = "linux-fslc-imx"
394IMX_DEFAULT_KERNEL_mx8 = "linux-fslc-imx" 394IMX_DEFAULT_KERNEL:mx8 = "linux-fslc-imx"
395IMX_DEFAULT_KERNEL_mx7ulp = "linux-fslc-imx" 395IMX_DEFAULT_KERNEL:mx7ulp = "linux-fslc-imx"
396IMX_DEFAULT_KERNEL_mx6sll = "linux-fslc-imx" 396IMX_DEFAULT_KERNEL:mx6sll = "linux-fslc-imx"
397IMX_DEFAULT_KERNEL_mx6ul = "linux-fslc-imx" 397IMX_DEFAULT_KERNEL:mx6ul = "linux-fslc-imx"
398IMX_DEFAULT_KERNEL_mx6ull = "linux-fslc-imx" 398IMX_DEFAULT_KERNEL:mx6ull = "linux-fslc-imx"
399IMX_DEFAULT_KERNEL_use-mainline-bsp = "linux-fslc" 399IMX_DEFAULT_KERNEL:use-mainline-bsp = "linux-fslc"
400 400
401PREFERRED_PROVIDER_virtual/kernel ??= "${IMX_DEFAULT_KERNEL}" 401PREFERRED_PROVIDER_virtual/kernel ??= "${IMX_DEFAULT_KERNEL}"
402 402
403SOC_DEFAULT_IMAGE_FSTYPES = "wic.bmap wic.gz" 403SOC_DEFAULT_IMAGE_FSTYPES = "wic.bmap wic.gz"
404SOC_DEFAULT_IMAGE_FSTYPES_mxs = "uboot-mxsboot-sdcard wic.bmap wic.gz" 404SOC_DEFAULT_IMAGE_FSTYPES:mxs = "uboot-mxsboot-sdcard wic.bmap wic.gz"
405 405
406# Do not update fstab file when using wic images 406# Do not update fstab file when using wic images
407WIC_CREATE_EXTRA_ARGS ?= "--no-fstab-update" 407WIC_CREATE_EXTRA_ARGS ?= "--no-fstab-update"
408 408
409OPTEE_BOOT_IMAGE = "uTee" 409OPTEE_BOOT_IMAGE = "uTee"
410OPTEE_BOOT_IMAGE_aarch64 = "" 410OPTEE_BOOT_IMAGE:aarch64 = ""
411 411
412IMAGE_FSTYPES ?= "${SOC_DEFAULT_IMAGE_FSTYPES}" 412IMAGE_FSTYPES ?= "${SOC_DEFAULT_IMAGE_FSTYPES}"
413 413
@@ -419,7 +419,7 @@ IMAGE_BOOT_FILES ?= " \
419 419
420### wic default support 420### wic default support
421OPTEE_WKS_FILE_DEPENDS = "optee-os" 421OPTEE_WKS_FILE_DEPENDS = "optee-os"
422OPTEE_WKS_FILE_DEPENDS_aarch64 = "" 422OPTEE_WKS_FILE_DEPENDS:aarch64 = ""
423 423
424WKS_FILE_DEPENDS ?= " \ 424WKS_FILE_DEPENDS ?= " \
425 virtual/bootloader \ 425 virtual/bootloader \
@@ -429,8 +429,8 @@ WKS_FILE_DEPENDS ?= " \
429 ${@bb.utils.contains('MACHINE_FEATURES', 'optee', '${OPTEE_WKS_FILE_DEPENDS}', '', d)} \ 429 ${@bb.utils.contains('MACHINE_FEATURES', 'optee', '${OPTEE_WKS_FILE_DEPENDS}', '', d)} \
430" 430"
431 431
432WKS_FILE_DEPENDS_append_mx8 = " imx-boot" 432WKS_FILE_DEPENDS:append:mx8 = " imx-boot"
433WKS_FILE_DEPENDS_append_mx8m = " imx-boot" 433WKS_FILE_DEPENDS:append:mx8m = " imx-boot"
434 434
435# We need to restrict the append so we don't add this for other i.MX SoC's. 435# We need to restrict the append so we don't add this for other i.MX SoC's.
436# Derivatives that are not yet adopted the usage of boot container provided 436# Derivatives that are not yet adopted the usage of boot container provided
@@ -444,15 +444,15 @@ WKS_FILE_DEPENDS_append_mx8m = " imx-boot"
444# deployment task extesion execution defined in imx-boot-container class. 444# deployment task extesion execution defined in imx-boot-container class.
445# For NXP BSP: rename is done in 'imx-boot' recipe at the execution of compile 445# For NXP BSP: rename is done in 'imx-boot' recipe at the execution of compile
446# task. 446# task.
447WKS_FILE_DEPENDS_append_use-mainline-bsp_aarch64 = " \ 447WKS_FILE_DEPENDS:append:use-mainline-bsp:aarch64 = " \
448 ${@oe.utils.ifelse(d.getVar('UBOOT_PROVIDES_BOOT_CONTAINER') == '0', 'imx-boot', '')} \ 448 ${@oe.utils.ifelse(d.getVar('UBOOT_PROVIDES_BOOT_CONTAINER') == '0', 'imx-boot', '')} \
449" 449"
450 450
451SOC_DEFAULT_WKS_FILE ?= "imx-uboot-bootpart.wks.in" 451SOC_DEFAULT_WKS_FILE ?= "imx-uboot-bootpart.wks.in"
452SOC_DEFAULT_WKS_FILE_mx8m ?= "imx-imx-boot-bootpart.wks.in" 452SOC_DEFAULT_WKS_FILE:mx8m ?= "imx-imx-boot-bootpart.wks.in"
453 453
454SOC_DEFAULT_WKS_FILE_mx8 ?= "imx-imx-boot-bootpart.wks.in" 454SOC_DEFAULT_WKS_FILE:mx8 ?= "imx-imx-boot-bootpart.wks.in"
455SOC_DEFAULT_WKS_FILE_mxs ?= "imx-uboot-mxs-bootpart.wks.in" 455SOC_DEFAULT_WKS_FILE:mxs ?= "imx-uboot-mxs-bootpart.wks.in"
456 456
457# Boot container built as a part of mainline U-Boot uses different WKS 457# Boot container built as a part of mainline U-Boot uses different WKS
458# file as the entire mx8m series, as U-Boot versions later than 2021.04 are 458# file as the entire mx8m series, as U-Boot versions later than 2021.04 are
@@ -462,19 +462,19 @@ SOC_DEFAULT_WKS_FILE_mxs ?= "imx-uboot-mxs-bootpart.wks.in"
462# replacement of imx-boot from NXP. 462# replacement of imx-boot from NXP.
463# Creation of those binary files is controlled by UBOOT_PROVIDES_BOOT_CONTAINER 463# Creation of those binary files is controlled by UBOOT_PROVIDES_BOOT_CONTAINER
464# variable defined above. 464# variable defined above.
465SOC_DEFAULT_WKS_FILE_imx-boot-container ?= "imx-boot-container-bootpart.wks.in" 465SOC_DEFAULT_WKS_FILE:imx-boot-container ?= "imx-boot-container-bootpart.wks.in"
466 466
467WKS_FILE ?= "${SOC_DEFAULT_WKS_FILE}" 467WKS_FILE ?= "${SOC_DEFAULT_WKS_FILE}"
468 468
469SERIAL_CONSOLES = "115200;ttymxc0" 469SERIAL_CONSOLES = "115200;ttymxc0"
470SERIAL_CONSOLES_mxs = "115200;ttyAMA0" 470SERIAL_CONSOLES:mxs = "115200;ttyAMA0"
471 471
472KERNEL_IMAGETYPE = "zImage" 472KERNEL_IMAGETYPE = "zImage"
473KERNEL_IMAGETYPE_aarch64 = "Image" 473KERNEL_IMAGETYPE:aarch64 = "Image"
474 474
475MACHINE_FEATURES = "usbgadget usbhost vfat alsa touchscreen" 475MACHINE_FEATURES = "usbgadget usbhost vfat alsa touchscreen"
476 476
477# Add the ability to specify _imx machines 477# Add the ability to specify _imx machines
478MACHINEOVERRIDES =. "imx:" 478MACHINEOVERRIDES =. "imx:"
479 479
480HOSTTOOLS_NONFATAL_append_mx8 = " sha384sum" 480HOSTTOOLS_NONFATAL:append:mx8 = " sha384sum"
diff --git a/conf/machine/include/imx8dxl-evk.inc b/conf/machine/include/imx8dxl-evk.inc
index 2868b4d6..0cc980e8 100644
--- a/conf/machine/include/imx8dxl-evk.inc
+++ b/conf/machine/include/imx8dxl-evk.inc
@@ -6,10 +6,10 @@ require conf/machine/include/tune-cortexa35.inc
6IMX_DEFAULT_BSP = "nxp" 6IMX_DEFAULT_BSP = "nxp"
7 7
8MACHINE_FEATURES += "pci bcm43455 bcm4356" 8MACHINE_FEATURES += "pci bcm43455 bcm4356"
9MACHINE_FEATURES_append_use-nxp-bsp = " bcm4359" 9MACHINE_FEATURES:append:use-nxp-bsp = " bcm4359"
10 10
11# Don't include kernels in standard images 11# Don't include kernels in standard images
12RDEPENDS_${KERNEL_PACKAGE_NAME}-base = "" 12RDEPENDS:${KERNEL_PACKAGE_NAME}-base = ""
13 13
14LOADADDR = "" 14LOADADDR = ""
15 15
@@ -23,7 +23,7 @@ USE_VT = "0"
23KERNEL_DEVICETREE = " \ 23KERNEL_DEVICETREE = " \
24 freescale/${KERNEL_DEVICETREE_BASENAME}.dtb \ 24 freescale/${KERNEL_DEVICETREE_BASENAME}.dtb \
25" 25"
26KERNEL_DEVICETREE_append_use-nxp-bsp = " \ 26KERNEL_DEVICETREE:append:use-nxp-bsp = " \
27 freescale/${KERNEL_DEVICETREE_BASENAME}-rpmsg.dtb \ 27 freescale/${KERNEL_DEVICETREE_BASENAME}-rpmsg.dtb \
28" 28"
29 29
diff --git a/conf/machine/include/imx8mm-evk.inc b/conf/machine/include/imx8mm-evk.inc
index f458c56d..1295de1d 100644
--- a/conf/machine/include/imx8mm-evk.inc
+++ b/conf/machine/include/imx8mm-evk.inc
@@ -11,19 +11,19 @@ MACHINE_FEATURES += "pci wifi bluetooth bcm43455 bcm4356"
11# and pin it to NXP BSP only 11# and pin it to NXP BSP only
12# OP-TEE is also applicable to NXP BSP, mainline BSP seems not to have 12# OP-TEE is also applicable to NXP BSP, mainline BSP seems not to have
13# a full support for it yet. 13# a full support for it yet.
14MACHINE_FEATURES_append_use-nxp-bsp = " optee jailhouse bcm4359 qca9377" 14MACHINE_FEATURES:append:use-nxp-bsp = " optee jailhouse bcm4359 qca9377"
15 15
16KERNEL_DEVICETREE = " \ 16KERNEL_DEVICETREE = " \
17 freescale/${KERNEL_DEVICETREE_BASENAME}.dtb \ 17 freescale/${KERNEL_DEVICETREE_BASENAME}.dtb \
18" 18"
19KERNEL_DEVICETREE_append_use-nxp-bsp = " \ 19KERNEL_DEVICETREE:append:use-nxp-bsp = " \
20 freescale/${KERNEL_DEVICETREE_BASENAME}-pcie-ep.dtb \ 20 freescale/${KERNEL_DEVICETREE_BASENAME}-pcie-ep.dtb \
21 freescale/${KERNEL_DEVICETREE_BASENAME}-rm67191.dtb \ 21 freescale/${KERNEL_DEVICETREE_BASENAME}-rm67191.dtb \
22" 22"
23UBOOT_DTB_NAME = "${KERNEL_DEVICETREE_BASENAME}.dtb" 23UBOOT_DTB_NAME = "${KERNEL_DEVICETREE_BASENAME}.dtb"
24 24
25IMX_DEFAULT_BOOTLOADER_use-nxp-bsp = "u-boot-imx" 25IMX_DEFAULT_BOOTLOADER:use-nxp-bsp = "u-boot-imx"
26IMX_DEFAULT_BOOTLOADER_use-mainline-bsp = "u-boot-fslc" 26IMX_DEFAULT_BOOTLOADER:use-mainline-bsp = "u-boot-fslc"
27 27
28UBOOT_SUFFIX = "bin" 28UBOOT_SUFFIX = "bin"
29 29
@@ -51,18 +51,18 @@ SERIAL_CONSOLES = "115200;ttymxc1"
51# to be used to define the boot process. 51# to be used to define the boot process.
52# We opt-in for Syslinux, since it is designated as a preferred 52# We opt-in for Syslinux, since it is designated as a preferred
53# distro boot mode according to the U-Boot documentation. 53# distro boot mode according to the U-Boot documentation.
54UBOOT_EXTLINUX_use-mainline-bsp = "1" 54UBOOT_EXTLINUX:use-mainline-bsp = "1"
55UBOOT_EXTLINUX_LABELS_use-mainline-bsp = "default" 55UBOOT_EXTLINUX_LABELS:use-mainline-bsp = "default"
56UBOOT_EXTLINUX_DEFAULT_LABEL_use-mainline-bsp = "i.MX8M Mini EVK" 56UBOOT_EXTLINUX_DEFAULT_LABEL:use-mainline-bsp = "i.MX8M Mini EVK"
57 57
58UBOOT_EXTLINUX_MENU_DESCRIPTION_default_use-mainline-bsp = "i.MX8M Mini EVK" 58UBOOT_EXTLINUX_MENU_DESCRIPTION_default:use-mainline-bsp = "i.MX8M Mini EVK"
59UBOOT_EXTLINUX_FDT_default_use-mainline-bsp = "../${KERNEL_DEVICETREE_BASENAME}.dtb" 59UBOOT_EXTLINUX_FDT_default:use-mainline-bsp = "../${KERNEL_DEVICETREE_BASENAME}.dtb"
60UBOOT_EXTLINUX_CONSOLE_default_use-mainline-bsp = "console=${console}" 60UBOOT_EXTLINUX_CONSOLE_default:use-mainline-bsp = "console=${console}"
61UBOOT_EXTLINUX_ROOT_default_use-mainline-bsp = "root=/dev/mmcblk1p2" 61UBOOT_EXTLINUX_ROOT_default:use-mainline-bsp = "root=/dev/mmcblk1p2"
62 62
63# Add extlinux.conf to the lis of files, which are deployed onto the 63# Add extlinux.conf to the lis of files, which are deployed onto the
64# boot partition 64# boot partition
65IMAGE_BOOT_FILES_append_use-mainline-bsp = " extlinux.conf;extlinux/extlinux.conf" 65IMAGE_BOOT_FILES:append:use-mainline-bsp = " extlinux.conf;extlinux/extlinux.conf"
66 66
67LOADADDR = "" 67LOADADDR = ""
68UBOOT_SUFFIX = "bin" 68UBOOT_SUFFIX = "bin"
@@ -73,4 +73,4 @@ OPTEE_BIN_EXT = "8mm"
73TEE_LOAD_ADDR = "0xbe000000" 73TEE_LOAD_ADDR = "0xbe000000"
74 74
75# Add additional firmware 75# Add additional firmware
76MACHINE_FIRMWARE_append = " linux-firmware-ath10k" 76MACHINE_FIRMWARE:append = " linux-firmware-ath10k"
diff --git a/conf/machine/include/imx8mn-evk.inc b/conf/machine/include/imx8mn-evk.inc
index a0e39857..41100400 100644
--- a/conf/machine/include/imx8mn-evk.inc
+++ b/conf/machine/include/imx8mn-evk.inc
@@ -8,12 +8,12 @@ MACHINE_FEATURES += "wifi bluetooth bcm43455 bcm4356"
8# NXP BSP can consume proprietary jailhouse and Broadcom drivers 8# NXP BSP can consume proprietary jailhouse and Broadcom drivers
9# OP-TEE is also applicable to NXP BSP, mainline BSP seems not to have 9# OP-TEE is also applicable to NXP BSP, mainline BSP seems not to have
10# a full support for it yet. 10# a full support for it yet.
11MACHINE_FEATURES_append_use-nxp-bsp = " optee jailhouse bcm4359" 11MACHINE_FEATURES:append:use-nxp-bsp = " optee jailhouse bcm4359"
12 12
13KERNEL_DEVICETREE = " \ 13KERNEL_DEVICETREE = " \
14 freescale/${KERNEL_DEVICETREE_BASENAME}.dtb \ 14 freescale/${KERNEL_DEVICETREE_BASENAME}.dtb \
15" 15"
16KERNEL_DEVICETREE_append_use-nxp-bsp = " \ 16KERNEL_DEVICETREE:append:use-nxp-bsp = " \
17 freescale/${KERNEL_DEVICETREE_BASENAME}-ak5558.dtb \ 17 freescale/${KERNEL_DEVICETREE_BASENAME}-ak5558.dtb \
18 freescale/${KERNEL_DEVICETREE_BASENAME}-inmate.dtb \ 18 freescale/${KERNEL_DEVICETREE_BASENAME}-inmate.dtb \
19 freescale/${KERNEL_DEVICETREE_BASENAME}-rm67191.dtb \ 19 freescale/${KERNEL_DEVICETREE_BASENAME}-rm67191.dtb \
@@ -22,8 +22,8 @@ KERNEL_DEVICETREE_append_use-nxp-bsp = " \
22" 22"
23UBOOT_DTB_NAME = "${KERNEL_DEVICETREE_BASENAME}.dtb" 23UBOOT_DTB_NAME = "${KERNEL_DEVICETREE_BASENAME}.dtb"
24 24
25IMX_DEFAULT_BOOTLOADER_use-nxp-bsp = "u-boot-imx" 25IMX_DEFAULT_BOOTLOADER:use-nxp-bsp = "u-boot-imx"
26IMX_DEFAULT_BOOTLOADER_use-mainline-bsp = "u-boot-fslc" 26IMX_DEFAULT_BOOTLOADER:use-mainline-bsp = "u-boot-fslc"
27 27
28UBOOT_SUFFIX = "bin" 28UBOOT_SUFFIX = "bin"
29 29
@@ -52,18 +52,18 @@ SERIAL_CONSOLES = "115200;ttymxc1"
52# to be used to define the boot process. 52# to be used to define the boot process.
53# We opt-in for Syslinux, since it is designated as a preferred 53# We opt-in for Syslinux, since it is designated as a preferred
54# distro boot mode according to the U-Boot documentation. 54# distro boot mode according to the U-Boot documentation.
55UBOOT_EXTLINUX_use-mainline-bsp = "1" 55UBOOT_EXTLINUX:use-mainline-bsp = "1"
56UBOOT_EXTLINUX_LABELS_use-mainline-bsp = "default" 56UBOOT_EXTLINUX_LABELS:use-mainline-bsp = "default"
57UBOOT_EXTLINUX_DEFAULT_LABEL_use-mainline-bsp = "i.MX8M Nano EVK" 57UBOOT_EXTLINUX_DEFAULT_LABEL:use-mainline-bsp = "i.MX8M Nano EVK"
58 58
59UBOOT_EXTLINUX_MENU_DESCRIPTION_default_use-mainline-bsp = "i.MX8M Nano EVK" 59UBOOT_EXTLINUX_MENU_DESCRIPTION_default:use-mainline-bsp = "i.MX8M Nano EVK"
60UBOOT_EXTLINUX_FDT_default_use-mainline-bsp = "../${KERNEL_DEVICETREE_BASENAME}.dtb" 60UBOOT_EXTLINUX_FDT_default:use-mainline-bsp = "../${KERNEL_DEVICETREE_BASENAME}.dtb"
61UBOOT_EXTLINUX_CONSOLE_default_use-mainline-bsp = "console=${console}" 61UBOOT_EXTLINUX_CONSOLE_default:use-mainline-bsp = "console=${console}"
62UBOOT_EXTLINUX_ROOT_default_use-mainline-bsp = "root=/dev/mmcblk1p2" 62UBOOT_EXTLINUX_ROOT_default:use-mainline-bsp = "root=/dev/mmcblk1p2"
63 63
64# Add extlinux.conf to the lis of files, which are deployed onto the 64# Add extlinux.conf to the lis of files, which are deployed onto the
65# boot partition 65# boot partition
66IMAGE_BOOT_FILES_append_use-mainline-bsp = " extlinux.conf;extlinux/extlinux.conf" 66IMAGE_BOOT_FILES:append:use-mainline-bsp = " extlinux.conf;extlinux/extlinux.conf"
67 67
68BOOT_SPACE = "65536" 68BOOT_SPACE = "65536"
69LOADADDR = "" 69LOADADDR = ""
@@ -79,4 +79,4 @@ OPTEE_BIN_EXT = "8mn"
79TEE_LOAD_ADDR = "0x56000000" 79TEE_LOAD_ADDR = "0x56000000"
80 80
81# Add additional firmware 81# Add additional firmware
82MACHINE_FIRMWARE_append = " linux-firmware-ath10k" 82MACHINE_FIRMWARE:append = " linux-firmware-ath10k"
diff --git a/conf/machine/include/imx8mp-evk.inc b/conf/machine/include/imx8mp-evk.inc
index d070831f..bc2c038f 100644
--- a/conf/machine/include/imx8mp-evk.inc
+++ b/conf/machine/include/imx8mp-evk.inc
@@ -8,7 +8,7 @@ MACHINE_FEATURES += "pci wifi bluetooth"
8# NXP BSP can consume proprietary jailhouse and Marvell drivers 8# NXP BSP can consume proprietary jailhouse and Marvell drivers
9# OP-TEE is also applicable to NXP BSP, mainline BSP seems not to have 9# OP-TEE is also applicable to NXP BSP, mainline BSP seems not to have
10# a full support for it yet. 10# a full support for it yet.
11MACHINE_FEATURES_append_use-nxp-bsp = " optee jailhouse mrvl8997" 11MACHINE_FEATURES:append:use-nxp-bsp = " optee jailhouse mrvl8997"
12 12
13# Mainline kernel contains only one DTB file for 13# Mainline kernel contains only one DTB file for
14# imx8mpevk machine 14# imx8mpevk machine
@@ -18,8 +18,8 @@ KERNEL_DEVICETREE = " \
18 18
19UBOOT_DTB_NAME = "${KERNEL_DEVICETREE_BASENAME}.dtb" 19UBOOT_DTB_NAME = "${KERNEL_DEVICETREE_BASENAME}.dtb"
20 20
21IMX_DEFAULT_BOOTLOADER_use-nxp-bsp = "u-boot-imx" 21IMX_DEFAULT_BOOTLOADER:use-nxp-bsp = "u-boot-imx"
22IMX_DEFAULT_BOOTLOADER_use-mainline-bsp = "u-boot-fslc" 22IMX_DEFAULT_BOOTLOADER:use-mainline-bsp = "u-boot-fslc"
23 23
24UBOOT_SUFFIX = "bin" 24UBOOT_SUFFIX = "bin"
25 25
@@ -50,18 +50,18 @@ SERIAL_CONSOLES = "115200;ttymxc1"
50# to be used to define the boot process. 50# to be used to define the boot process.
51# We opt-in for Syslinux, since it is designated as a preferred 51# We opt-in for Syslinux, since it is designated as a preferred
52# distro boot mode according to the U-Boot documentation. 52# distro boot mode according to the U-Boot documentation.
53UBOOT_EXTLINUX_use-mainline-bsp = "1" 53UBOOT_EXTLINUX:use-mainline-bsp = "1"
54UBOOT_EXTLINUX_LABELS_use-mainline-bsp = "default" 54UBOOT_EXTLINUX_LABELS:use-mainline-bsp = "default"
55UBOOT_EXTLINUX_DEFAULT_LABEL_use-mainline-bsp = "i.MX8M Plus EVK" 55UBOOT_EXTLINUX_DEFAULT_LABEL:use-mainline-bsp = "i.MX8M Plus EVK"
56 56
57UBOOT_EXTLINUX_MENU_DESCRIPTION_default_use-mainline-bsp = "i.MX8M Plus EVK" 57UBOOT_EXTLINUX_MENU_DESCRIPTION_default:use-mainline-bsp = "i.MX8M Plus EVK"
58UBOOT_EXTLINUX_FDT_default_use-mainline-bsp = "../${KERNEL_DEVICETREE_BASENAME}.dtb" 58UBOOT_EXTLINUX_FDT_default:use-mainline-bsp = "../${KERNEL_DEVICETREE_BASENAME}.dtb"
59UBOOT_EXTLINUX_CONSOLE_default_use-mainline-bsp = "console=${console}" 59UBOOT_EXTLINUX_CONSOLE_default:use-mainline-bsp = "console=${console}"
60UBOOT_EXTLINUX_ROOT_default_use-mainline-bsp = "root=/dev/mmcblk1p2" 60UBOOT_EXTLINUX_ROOT_default:use-mainline-bsp = "root=/dev/mmcblk1p2"
61 61
62# Add extlinux.conf to the lis of files, which are deployed onto the 62# Add extlinux.conf to the lis of files, which are deployed onto the
63# boot partition 63# boot partition
64IMAGE_BOOT_FILES_append_use-mainline-bsp = " extlinux.conf;extlinux/extlinux.conf" 64IMAGE_BOOT_FILES:append:use-mainline-bsp = " extlinux.conf;extlinux/extlinux.conf"
65 65
66LOADADDR = "" 66LOADADDR = ""
67UBOOT_SUFFIX = "bin" 67UBOOT_SUFFIX = "bin"
@@ -72,4 +72,4 @@ OPTEE_BIN_EXT = "8mp"
72TEE_LOAD_ADDR = "0x56000000" 72TEE_LOAD_ADDR = "0x56000000"
73 73
74# Add additional firmware 74# Add additional firmware
75MACHINE_FIRMWARE_append = " linux-firmware-ath10k" 75MACHINE_FIRMWARE:append = " linux-firmware-ath10k"
diff --git a/conf/machine/include/imx8x-mek.inc b/conf/machine/include/imx8x-mek.inc
index 55a28c87..0bc10b8e 100644
--- a/conf/machine/include/imx8x-mek.inc
+++ b/conf/machine/include/imx8x-mek.inc
@@ -6,10 +6,10 @@ require conf/machine/include/tune-cortexa35.inc
6IMX_DEFAULT_BSP = "nxp" 6IMX_DEFAULT_BSP = "nxp"
7 7
8MACHINE_FEATURES += "pci optee bcm43455 bcm4356" 8MACHINE_FEATURES += "pci optee bcm43455 bcm4356"
9MACHINE_FEATURES_append_use-nxp-bsp = " bcm4359" 9MACHINE_FEATURES:append:use-nxp-bsp = " bcm4359"
10 10
11# Don't include kernels in standard images 11# Don't include kernels in standard images
12RDEPENDS_${KERNEL_PACKAGE_NAME}-base = "" 12RDEPENDS:${KERNEL_PACKAGE_NAME}-base = ""
13 13
14LOADADDR = "" 14LOADADDR = ""
15 15
@@ -23,7 +23,7 @@ USE_VT = "0"
23KERNEL_DEVICETREE = " \ 23KERNEL_DEVICETREE = " \
24 freescale/${KERNEL_DEVICETREE_BASENAME}.dtb \ 24 freescale/${KERNEL_DEVICETREE_BASENAME}.dtb \
25" 25"
26KERNEL_DEVICETREE_append_use-nxp-bsp = " \ 26KERNEL_DEVICETREE:append:use-nxp-bsp = " \
27 freescale/${KERNEL_DEVICETREE_BASENAME}-dsi-rm67191.dtb \ 27 freescale/${KERNEL_DEVICETREE_BASENAME}-dsi-rm67191.dtb \
28 freescale/${KERNEL_DEVICETREE_BASENAME}-dsi-rm67191-rpmsg.dtb \ 28 freescale/${KERNEL_DEVICETREE_BASENAME}-dsi-rm67191-rpmsg.dtb \
29 freescale/${KERNEL_DEVICETREE_BASENAME}-dsp.dtb \ 29 freescale/${KERNEL_DEVICETREE_BASENAME}-dsp.dtb \
@@ -71,4 +71,4 @@ IMXBOOT_TARGETS = \
71BOARD_TYPE = "mek" 71BOARD_TYPE = "mek"
72 72
73# Add additional firmware 73# Add additional firmware
74MACHINE_FIRMWARE_append = " linux-firmware-ath10k" 74MACHINE_FIRMWARE:append = " linux-firmware-ath10k"
diff --git a/conf/machine/include/qoriq-base.inc b/conf/machine/include/qoriq-base.inc
index 0a42160f..0d8978e3 100644
--- a/conf/machine/include/qoriq-base.inc
+++ b/conf/machine/include/qoriq-base.inc
@@ -9,8 +9,8 @@ PREFERRED_PROVIDER_nativesdk-u-boot-mkimage ??= "nativesdk-u-boot-tools"
9PREFERRED_VERSION_testfloat = "2a" 9PREFERRED_VERSION_testfloat = "2a"
10 10
11SOC_DEFAULT_IMAGE_FSTYPES = "tar.gz" 11SOC_DEFAULT_IMAGE_FSTYPES = "tar.gz"
12SOC_DEFAULT_IMAGE_FSTYPES_append_ls1043a = " wic.bz2" 12SOC_DEFAULT_IMAGE_FSTYPES:append:ls1043a = " wic.bz2"
13SOC_DEFAULT_IMAGE_FSTYPES_append_ls1046a = " wic.bz2" 13SOC_DEFAULT_IMAGE_FSTYPES:append:ls1046a = " wic.bz2"
14IMAGE_FSTYPES ?= "${SOC_DEFAULT_IMAGE_FSTYPES}" 14IMAGE_FSTYPES ?= "${SOC_DEFAULT_IMAGE_FSTYPES}"
15 15
16# Composite Image Layout (in KBytes) 16# Composite Image Layout (in KBytes)
@@ -31,8 +31,8 @@ IMAGE_BOOT_FILES ?= " \
31" 31"
32 32
33SOC_DEFAULT_WKS_FILE ?= "" 33SOC_DEFAULT_WKS_FILE ?= ""
34SOC_DEFAULT_WKS_FILE_ls1043a ?= "ls104x-uboot-bootpart.wks.in" 34SOC_DEFAULT_WKS_FILE:ls1043a ?= "ls104x-uboot-bootpart.wks.in"
35SOC_DEFAULT_WKS_FILE_ls1046a ?= "ls104x-uboot-bootpart.wks.in" 35SOC_DEFAULT_WKS_FILE:ls1046a ?= "ls104x-uboot-bootpart.wks.in"
36 36
37WKS_FILE ?= "${SOC_DEFAULT_WKS_FILE}" 37WKS_FILE ?= "${SOC_DEFAULT_WKS_FILE}"
38 38
@@ -54,7 +54,7 @@ MACHINEOVERRIDES =. "use-${QORIQ_DEFAULT_BSP}-bsp:"
54 54
55# Sub-architecture support 55# Sub-architecture support
56MACHINE_SOCARCH_SUFFIX ?= "" 56MACHINE_SOCARCH_SUFFIX ?= ""
57MACHINE_SOCARCH_SUFFIX_qoriq = "-qoriq" 57MACHINE_SOCARCH_SUFFIX:qoriq = "-qoriq"
58 58
59MACHINE_ARCH_FILTER = "virtual/kernel" 59MACHINE_ARCH_FILTER = "virtual/kernel"
60 60
diff --git a/conf/machine/include/utilities.inc b/conf/machine/include/utilities.inc
index f11b588b..34ce7abc 100644
--- a/conf/machine/include/utilities.inc
+++ b/conf/machine/include/utilities.inc
@@ -23,6 +23,6 @@ def make_dtb_boot_files(d):
23 23
24def get_spl_binary(d): 24def get_spl_binary(d):
25 imx_default_bootloader = d.get('IMX_DEFAULT_BOOTLOADER') 25 imx_default_bootloader = d.get('IMX_DEFAULT_BOOTLOADER')
26 spl_binary = d.getVar("SPL_BINARY_pn-%s" % imx_default_bootloader) 26 spl_binary = d.getVar("SPL_BINARY:pn-%s" % imx_default_bootloader)
27 27
28 return spl_binary or "" 28 return spl_binary or ""