diff options
Diffstat (limited to 'conf/machine/include/imx-base.inc')
| -rw-r--r-- | conf/machine/include/imx-base.inc | 346 |
1 files changed, 173 insertions, 173 deletions
diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc index f92a08af1..b8bcecab7 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 | |||
| 13 | IMX_DEFAULT_BSP ?= "mainline" | 13 | IMX_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. |
| 16 | IMX_DEFAULT_BSP_mxs ?= "mainline" | 16 | IMX_DEFAULT_BSP:mxs ?= "mainline" |
| 17 | IMX_DEFAULT_BSP_mx5 ?= "mainline" | 17 | IMX_DEFAULT_BSP:mx5 ?= "mainline" |
| 18 | 18 | ||
| 19 | MACHINEOVERRIDES =. "use-${IMX_DEFAULT_BSP}-bsp:" | 19 | MACHINEOVERRIDES =. "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 | # `---- |
| 63 | IMX_DEFAULT_BOOTLOADER ??= "u-boot-fslc" | 63 | IMX_DEFAULT_BOOTLOADER ??= "u-boot-fslc" |
| 64 | UBOOT_SUFFIX ?= "${UBOOT_SUFFIX_pn-${IMX_DEFAULT_BOOTLOADER}}" | 64 | UBOOT_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 | ||
| 76 | PREFERRED_PROVIDER_u-boot-mxsboot-native ??= "u-boot-fslc-mxsboot-native" | 76 | PREFERRED_PROVIDER_u-boot-mxsboot-native ??= "u-boot-fslc-mxsboot-native" |
| 77 | 77 | ||
| 78 | UBOOT_ENTRYPOINT_mxs = "0x40008000" | 78 | UBOOT_ENTRYPOINT:mxs = "0x40008000" |
| 79 | UBOOT_ENTRYPOINT_mx51 = "0x90008000" | 79 | UBOOT_ENTRYPOINT:mx51 = "0x90008000" |
| 80 | UBOOT_ENTRYPOINT_mx53 = "0x70008000" | 80 | UBOOT_ENTRYPOINT:mx53 = "0x70008000" |
| 81 | UBOOT_ENTRYPOINT_mx6 = "0x10008000" | 81 | UBOOT_ENTRYPOINT:mx6 = "0x10008000" |
| 82 | UBOOT_ENTRYPOINT_mx6sl = "0x80008000" | 82 | UBOOT_ENTRYPOINT:mx6sl = "0x80008000" |
| 83 | UBOOT_ENTRYPOINT_mx6sll = "0x80008000" | 83 | UBOOT_ENTRYPOINT:mx6sll = "0x80008000" |
| 84 | UBOOT_ENTRYPOINT_mx6sx = "0x80008000" | 84 | UBOOT_ENTRYPOINT:mx6sx = "0x80008000" |
| 85 | UBOOT_ENTRYPOINT_mx6ul = "0x80008000" | 85 | UBOOT_ENTRYPOINT:mx6ul = "0x80008000" |
| 86 | UBOOT_ENTRYPOINT_mx6ull = "0x80008000" | 86 | UBOOT_ENTRYPOINT:mx6ull = "0x80008000" |
| 87 | UBOOT_ENTRYPOINT_mx6ulz = "0x80008000" | 87 | UBOOT_ENTRYPOINT:mx6ulz = "0x80008000" |
| 88 | UBOOT_ENTRYPOINT_mx7 = "0x80008000" | 88 | UBOOT_ENTRYPOINT:mx7 = "0x80008000" |
| 89 | UBOOT_ENTRYPOINT_mx7ulp = "0x60008000" | 89 | UBOOT_ENTRYPOINT:mx7ulp = "0x60008000" |
| 90 | UBOOT_ENTRYPOINT_mx8m = "0x40480000" | 90 | UBOOT_ENTRYPOINT:mx8m = "0x40480000" |
| 91 | UBOOT_ENTRYPOINT_vf = "0x80008000" | 91 | UBOOT_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 |
| 96 | UBOOT_PROVIDES_BOOT_CONTAINER = "0" | 96 | UBOOT_PROVIDES_BOOT_CONTAINER = "0" |
| 97 | UBOOT_PROVIDES_BOOT_CONTAINER_imx-boot-container = "1" | 97 | UBOOT_PROVIDES_BOOT_CONTAINER:imx-boot-container = "1" |
| 98 | 98 | ||
| 99 | PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg" | 99 | PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg" |
| 100 | XSERVER_DRIVER = "xf86-video-fbdev" | 100 | XSERVER_DRIVER = "xf86-video-fbdev" |
| 101 | XSERVER_DRIVER_imxgpu2d = "xf86-video-imx-vivante" | 101 | XSERVER_DRIVER:imxgpu2d = "xf86-video-imx-vivante" |
| 102 | XSERVER_DRIVER_vf = "xf86-video-modesetting" | 102 | XSERVER_DRIVER:vf = "xf86-video-modesetting" |
| 103 | XSERVER_DRIVER_append_mx8 = " xf86-video-modesetting" | 103 | XSERVER_DRIVER:append:mx8 = " xf86-video-modesetting" |
| 104 | XSERVER_DRIVER_use-mainline-bsp = " \ | 104 | XSERVER_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 |
| 123 | DEFAULTTUNE_mx6 ?= "cortexa9thf-neon" | 123 | DEFAULTTUNE:mx6 ?= "cortexa9thf-neon" |
| 124 | DEFAULTTUNE_mx6ul ?= "cortexa7thf-neon" | 124 | DEFAULTTUNE:mx6ul ?= "cortexa7thf-neon" |
| 125 | DEFAULTTUNE_mx6ull ?= "cortexa7thf-neon" | 125 | DEFAULTTUNE:mx6ull ?= "cortexa7thf-neon" |
| 126 | DEFAULTTUNE_mx6ulz ?= "cortexa7thf-neon" | 126 | DEFAULTTUNE:mx6ulz ?= "cortexa7thf-neon" |
| 127 | DEFAULTTUNE_mx7 ?= "cortexa7thf-neon" | 127 | DEFAULTTUNE:mx7 ?= "cortexa7thf-neon" |
| 128 | DEFAULTTUNE_vf ?= "cortexa5thf-neon" | 128 | DEFAULTTUNE:vf ?= "cortexa5thf-neon" |
| 129 | 129 | ||
| 130 | DEFAULTTUNE_mx8m ?= "cortexa53-crypto" | 130 | DEFAULTTUNE:mx8m ?= "cortexa53-crypto" |
| 131 | DEFAULTTUNE_mx8qm ?= "cortexa72-cortexa53-crypto" | 131 | DEFAULTTUNE:mx8qm ?= "cortexa72-cortexa53-crypto" |
| 132 | DEFAULTTUNE_mx8qxp ?= "cortexa35-crypto" | 132 | DEFAULTTUNE:mx8qxp ?= "cortexa35-crypto" |
| 133 | 133 | ||
| 134 | INHERIT += "machine-overrides-extender" | 134 | INHERIT += "machine-overrides-extender" |
| 135 | 135 | ||
| 136 | MACHINEOVERRIDES_EXTENDER_mx25 = "use-mainline-bsp" | 136 | MACHINEOVERRIDES_EXTENDER:mx25 = "use-mainline-bsp" |
| 137 | MACHINEOVERRIDES_EXTENDER_mx6q = "imxfbdev:imxipu:imxvpu:imxgpu:imxgpu2d:imxgpu3d" | 137 | MACHINEOVERRIDES_EXTENDER:mx6q = "imxfbdev:imxipu:imxvpu:imxgpu:imxgpu2d:imxgpu3d" |
| 138 | MACHINEOVERRIDES_EXTENDER_mx6dl = "imxfbdev:imxpxp:imxipu:imxvpu:imxgpu:imxgpu2d:imxgpu3d:imxepdc" | 138 | MACHINEOVERRIDES_EXTENDER:mx6dl = "imxfbdev:imxpxp:imxipu:imxvpu:imxgpu:imxgpu2d:imxgpu3d:imxepdc" |
| 139 | MACHINEOVERRIDES_EXTENDER_mx6sx = "imxfbdev:imxpxp:imxgpu:imxgpu2d:imxgpu3d" | 139 | MACHINEOVERRIDES_EXTENDER:mx6sx = "imxfbdev:imxpxp:imxgpu:imxgpu2d:imxgpu3d" |
| 140 | MACHINEOVERRIDES_EXTENDER_mx6sl = "imxfbdev:imxpxp:imxgpu:imxgpu2d:imxepdc" | 140 | MACHINEOVERRIDES_EXTENDER:mx6sl = "imxfbdev:imxpxp:imxgpu:imxgpu2d:imxepdc" |
| 141 | MACHINEOVERRIDES_EXTENDER_mx6sll = "imxfbdev:imxpxp:imxepdc" | 141 | MACHINEOVERRIDES_EXTENDER:mx6sll = "imxfbdev:imxpxp:imxepdc" |
| 142 | MACHINEOVERRIDES_EXTENDER_mx6ul = "imxfbdev:imxpxp" | 142 | MACHINEOVERRIDES_EXTENDER:mx6ul = "imxfbdev:imxpxp" |
| 143 | MACHINEOVERRIDES_EXTENDER_mx6ull = "imxfbdev:imxpxp:imxepdc" | 143 | MACHINEOVERRIDES_EXTENDER:mx6ull = "imxfbdev:imxpxp:imxepdc" |
| 144 | MACHINEOVERRIDES_EXTENDER_mx6ulz = "imxfbdev:imxpxp:imxepdc" | 144 | MACHINEOVERRIDES_EXTENDER:mx6ulz = "imxfbdev:imxpxp:imxepdc" |
| 145 | MACHINEOVERRIDES_EXTENDER_mx7d = "imxfbdev:imxpxp:imxepdc" | 145 | MACHINEOVERRIDES_EXTENDER:mx7d = "imxfbdev:imxpxp:imxepdc" |
| 146 | MACHINEOVERRIDES_EXTENDER_mx7ulp = "imxfbdev:imxpxp:imxgpu:imxgpu2d:imxgpu3d" | 146 | MACHINEOVERRIDES_EXTENDER:mx7ulp = "imxfbdev:imxpxp:imxgpu:imxgpu2d:imxgpu3d" |
| 147 | MACHINEOVERRIDES_EXTENDER_mx8qm = "imxdrm:imxdpu:imxgpu:imxgpu2d:imxgpu3d" | 147 | MACHINEOVERRIDES_EXTENDER:mx8qm = "imxdrm:imxdpu:imxgpu:imxgpu2d:imxgpu3d" |
| 148 | MACHINEOVERRIDES_EXTENDER_mx8mm = "imxdrm:imxvpu:imxgpu:imxgpu2d:imxgpu3d" | 148 | MACHINEOVERRIDES_EXTENDER:mx8mm = "imxdrm:imxvpu:imxgpu:imxgpu2d:imxgpu3d" |
| 149 | MACHINEOVERRIDES_EXTENDER_mx8mn = "imxdrm:imxgpu:imxgpu3d" | 149 | MACHINEOVERRIDES_EXTENDER:mx8mn = "imxdrm:imxgpu:imxgpu3d" |
| 150 | MACHINEOVERRIDES_EXTENDER_mx8mp = "imxdrm:imxvpu:imxgpu:imxgpu2d:imxgpu3d" | 150 | MACHINEOVERRIDES_EXTENDER:mx8mp = "imxdrm:imxvpu:imxgpu:imxgpu2d:imxgpu3d" |
| 151 | MACHINEOVERRIDES_EXTENDER_mx8mq = "imxdrm:imxvpu:imxgpu:imxgpu3d" | 151 | MACHINEOVERRIDES_EXTENDER:mx8mq = "imxdrm:imxvpu:imxgpu:imxgpu3d" |
| 152 | MACHINEOVERRIDES_EXTENDER_mx8qxp = "imxdrm:imxdpu:imxgpu:imxgpu2d:imxgpu3d" | 152 | MACHINEOVERRIDES_EXTENDER:mx8qxp = "imxdrm:imxdpu:imxgpu:imxgpu2d:imxgpu3d" |
| 153 | MACHINEOVERRIDES_EXTENDER_mx8dxl = "imxfbdev" | 153 | MACHINEOVERRIDES_EXTENDER:mx8dxl = "imxfbdev" |
| 154 | 154 | ||
| 155 | MACHINEOVERRIDES_EXTENDER_FILTER_OUT_use-mainline-bsp = " \ | 155 | MACHINEOVERRIDES_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 |
| 184 | MACHINE_SOCARCH_SUFFIX ?= "" | 184 | MACHINE_SOCARCH_SUFFIX ?= "" |
| 185 | MACHINE_SOCARCH_SUFFIX_mx6q = "-mx6qdl" | 185 | MACHINE_SOCARCH_SUFFIX:mx6q = "-mx6qdl" |
| 186 | MACHINE_SOCARCH_SUFFIX_mx6dl = "-mx6qdl" | 186 | MACHINE_SOCARCH_SUFFIX:mx6dl = "-mx6qdl" |
| 187 | MACHINE_SOCARCH_SUFFIX_mx6sx = "-mx6sx" | 187 | MACHINE_SOCARCH_SUFFIX:mx6sx = "-mx6sx" |
| 188 | MACHINE_SOCARCH_SUFFIX_mx6sl = "-mx6sl" | 188 | MACHINE_SOCARCH_SUFFIX:mx6sl = "-mx6sl" |
| 189 | MACHINE_SOCARCH_SUFFIX_mx6sll= "-mx6sll" | 189 | MACHINE_SOCARCH_SUFFIX:mx6sll= "-mx6sll" |
| 190 | MACHINE_SOCARCH_SUFFIX_mx7d = "-mx7d" | 190 | MACHINE_SOCARCH_SUFFIX:mx7d = "-mx7d" |
| 191 | MACHINE_SOCARCH_SUFFIX_mx7ulp = "-mx7ulp" | 191 | MACHINE_SOCARCH_SUFFIX:mx7ulp = "-mx7ulp" |
| 192 | MACHINE_SOCARCH_SUFFIX_vf60 = "-vf60" | 192 | MACHINE_SOCARCH_SUFFIX:vf60 = "-vf60" |
| 193 | MACHINE_SOCARCH_SUFFIX_vf50 = "-vf50" | 193 | MACHINE_SOCARCH_SUFFIX:vf50 = "-vf50" |
| 194 | MACHINE_SOCARCH_SUFFIX_mx6ul = "-mx6ul" | 194 | MACHINE_SOCARCH_SUFFIX:mx6ul = "-mx6ul" |
| 195 | MACHINE_SOCARCH_SUFFIX_mx6ull = "-mx6ul" | 195 | MACHINE_SOCARCH_SUFFIX:mx6ull = "-mx6ul" |
| 196 | MACHINE_SOCARCH_SUFFIX_mx6ulz = "-mx6ul" | 196 | MACHINE_SOCARCH_SUFFIX:mx6ulz = "-mx6ul" |
| 197 | MACHINE_SOCARCH_SUFFIX_mx8qm = "-mx8" | 197 | MACHINE_SOCARCH_SUFFIX:mx8qm = "-mx8" |
| 198 | MACHINE_SOCARCH_SUFFIX_mx8mm = "-mx8mm" | 198 | MACHINE_SOCARCH_SUFFIX:mx8mm = "-mx8mm" |
| 199 | MACHINE_SOCARCH_SUFFIX_mx8mn = "-mx8mn" | 199 | MACHINE_SOCARCH_SUFFIX:mx8mn = "-mx8mn" |
| 200 | MACHINE_SOCARCH_SUFFIX_mx8mp = "-mx8mp" | 200 | MACHINE_SOCARCH_SUFFIX:mx8mp = "-mx8mp" |
| 201 | MACHINE_SOCARCH_SUFFIX_mx8mq = "-mx8m" | 201 | MACHINE_SOCARCH_SUFFIX:mx8mq = "-mx8m" |
| 202 | MACHINE_SOCARCH_SUFFIX_mx8qxp = "-mx8" | 202 | MACHINE_SOCARCH_SUFFIX:mx8qxp = "-mx8" |
| 203 | MACHINE_SOCARCH_SUFFIX_mx8dxl = "-mx8dxl" | 203 | MACHINE_SOCARCH_SUFFIX:mx8dxl = "-mx8dxl" |
| 204 | MACHINE_SOCARCH_SUFFIX_use-mainline-bsp = "-imx" | 204 | MACHINE_SOCARCH_SUFFIX:use-mainline-bsp = "-imx" |
| 205 | 205 | ||
| 206 | MACHINE_ARCH_FILTER = "virtual/kernel" | 206 | MACHINE_ARCH_FILTER = "virtual/kernel" |
| 207 | MACHINE_SOCARCH_FILTER_append_imx = " \ | 207 | MACHINE_SOCARCH_FILTER:append_imx = " \ |
| 208 | alsa-lib \ | 208 | alsa-lib \ |
| 209 | gstreamer1.0 \ | 209 | gstreamer1.0 \ |
| 210 | weston \ | 210 | weston \ |
| 211 | " | 211 | " |
| 212 | MACHINE_SOCARCH_FILTER_append_imxvpu = " \ | 212 | MACHINE_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 | " |
| 218 | MACHINE_SOCARCH_FILTER_append_imxgpu = " \ | 218 | MACHINE_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 | " |
| 228 | MACHINE_SOCARCH_FILTER_append_imxgpu2d = " \ | 228 | MACHINE_SOCARCH_FILTER:append:imxgpu2d = " \ |
| 229 | virtual/libg2d \ | 229 | virtual/libg2d \ |
| 230 | " | 230 | " |
| 231 | MACHINE_SOCARCH_FILTER_append_imxgpu3d = " \ | 231 | MACHINE_SOCARCH_FILTER:append:imxgpu3d = " \ |
| 232 | virtual/libgl \ | 232 | virtual/libgl \ |
| 233 | virtual/libgles1 \ | 233 | virtual/libgles1 \ |
| 234 | virtual/libgles2 \ | 234 | virtual/libgles2 \ |
| 235 | " | 235 | " |
| 236 | MACHINE_SOCARCH_FILTER_append_use-mainline-bsp = " \ | 236 | MACHINE_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 | " |
| 248 | MACHINE_SOCARCH_FILTER_append_mx6q = " \ | 248 | MACHINE_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 | " |
| 253 | MACHINE_SOCARCH_FILTER_append_mx8 = " \ | 253 | MACHINE_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 | " |
| 258 | MACHINE_SOCARCH_FILTER_append_mx8qm = " \ | 258 | MACHINE_SOCARCH_FILTER:append:mx8qm = " \ |
| 259 | virtual/libopenvx \ | 259 | virtual/libopenvx \ |
| 260 | " | 260 | " |
| 261 | 261 | ||
| 262 | INHERIT += "fsl-dynamic-packagearch" | 262 | INHERIT += "fsl-dynamic-packagearch" |
| 263 | 263 | ||
| 264 | SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS_append = " \ | 264 | SIGGEN_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 |
| 273 | MACHINE_FIRMWARE ?= "" | 273 | MACHINE_FIRMWARE ?= "" |
| 274 | MACHINE_FIRMWARE_append_mx25 = " firmware-imx-sdma-imx25" | 274 | MACHINE_FIRMWARE:append:mx25 = " firmware-imx-sdma-imx25" |
| 275 | MACHINE_FIRMWARE_append_mx27 = " firmware-imx-vpu-imx27" | 275 | MACHINE_FIRMWARE:append_mx27 = " firmware-imx-vpu-imx27" |
| 276 | MACHINE_FIRMWARE_append_mx7d = " linux-firmware-imx-sdma-imx7d firmware-imx-epdc" | 276 | MACHINE_FIRMWARE:append:mx7d = " linux-firmware-imx-sdma-imx7d firmware-imx-epdc" |
| 277 | MACHINE_FIRMWARE_append_mx6 = " linux-firmware-imx-sdma-imx6q" | 277 | MACHINE_FIRMWARE:append:mx6 = " linux-firmware-imx-sdma-imx6q" |
| 278 | MACHINE_FIRMWARE_append_mx6q = " firmware-imx-vpu-imx6q" | 278 | MACHINE_FIRMWARE:append:mx6q = " firmware-imx-vpu-imx6q" |
| 279 | MACHINE_FIRMWARE_append_mx6dl = " firmware-imx-vpu-imx6d firmware-imx-epdc" | 279 | MACHINE_FIRMWARE:append:mx6dl = " firmware-imx-vpu-imx6d firmware-imx-epdc" |
| 280 | MACHINE_FIRMWARE_append_mx6sl = " firmware-imx-epdc" | 280 | MACHINE_FIRMWARE:append:mx6sl = " firmware-imx-epdc" |
| 281 | MACHINE_FIRMWARE_append_mx6sll = " firmware-imx-epdc" | 281 | MACHINE_FIRMWARE:append:mx6sll = " firmware-imx-epdc" |
| 282 | MACHINE_FIRMWARE_append_mx6ull = " firmware-imx-epdc" | 282 | MACHINE_FIRMWARE:append:mx6ull = " firmware-imx-epdc" |
| 283 | MACHINE_FIRMWARE_append_mx53 = " firmware-imx-vpu-imx53 firmware-imx-sdma-imx53" | 283 | MACHINE_FIRMWARE:append:mx53 = " firmware-imx-vpu-imx53 firmware-imx-sdma-imx53" |
| 284 | MACHINE_FIRMWARE_append_mx51 = " firmware-imx-vpu-imx51 firmware-imx-sdma-imx51" | 284 | MACHINE_FIRMWARE:append:mx51 = " firmware-imx-vpu-imx51 firmware-imx-sdma-imx51" |
| 285 | MACHINE_FIRMWARE_append_mx8mm = " linux-firmware-imx-sdma-imx7d" | 285 | MACHINE_FIRMWARE:append:mx8mm = " linux-firmware-imx-sdma-imx7d" |
| 286 | MACHINE_FIRMWARE_append_mx8mn = " linux-firmware-imx-sdma-imx7d" | 286 | MACHINE_FIRMWARE:append:mx8mn = " linux-firmware-imx-sdma-imx7d" |
| 287 | MACHINE_FIRMWARE_append_mx8mp = " linux-firmware-imx-sdma-imx7d firmware-imx-easrc-imx8mn firmware-imx-xcvr-imx8mp firmware-sof-imx" | 287 | MACHINE_FIRMWARE:append:mx8mp = " linux-firmware-imx-sdma-imx7d firmware-imx-easrc-imx8mn firmware-imx-xcvr-imx8mp firmware-sof-imx" |
| 288 | MACHINE_FIRMWARE_append_mx8mq = " linux-firmware-imx-sdma-imx7d" | 288 | MACHINE_FIRMWARE:append:mx8mq = " linux-firmware-imx-sdma-imx7d" |
| 289 | MACHINE_FIRMWARE_append_mx8qm = " firmware-imx-vpu-imx8" | 289 | MACHINE_FIRMWARE:append:mx8qm = " firmware-imx-vpu-imx8" |
| 290 | MACHINE_FIRMWARE_append_mx8qxp = " firmware-imx-vpu-imx8" | 290 | MACHINE_FIRMWARE:append:mx8qxp = " firmware-imx-vpu-imx8" |
| 291 | MACHINE_FIRMWARE_append_use-mainline-bsp = " linux-firmware-imx-sdma-imx6q linux-firmware-imx-sdma-imx7d firmware-imx-vpu-imx6q firmware-imx-vpu-imx6d" | 291 | MACHINE_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 | ||
| 293 | MACHINE_EXTRA_RRECOMMENDS += "${MACHINE_FIRMWARE}" | 293 | MACHINE_EXTRA_RRECOMMENDS += "${MACHINE_FIRMWARE}" |
| 294 | 294 | ||
| 295 | # Extra audio support | 295 | # Extra audio support |
| 296 | IMX_ALSA_EXTRA = "" | 296 | IMX_ALSA_EXTRA = "" |
| 297 | IMX_ALSA_EXTRA_use-nxp-bsp = "imx-alsa-plugins" | 297 | IMX_ALSA_EXTRA:use-nxp-bsp = "imx-alsa-plugins" |
| 298 | MACHINE_EXTRA_RRECOMMENDS_append_mx6 = " ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', '${IMX_ALSA_EXTRA}', '', d)}" | 298 | MACHINE_EXTRA_RRECOMMENDS:append:mx6 = " ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', '${IMX_ALSA_EXTRA}', '', d)}" |
| 299 | MACHINE_EXTRA_RRECOMMENDS_append_mx7 = " ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', '${IMX_ALSA_EXTRA}', '', d)}" | 299 | MACHINE_EXTRA_RRECOMMENDS:append:mx7 = " ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', '${IMX_ALSA_EXTRA}', '', d)}" |
| 300 | MACHINE_EXTRA_RRECOMMENDS_append_mx8 = " ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', '${IMX_ALSA_EXTRA}', '', d)}" | 300 | MACHINE_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) |
| 303 | MACHINE_FIRMWARE_append = " ${@bb.utils.contains('MACHINE_FEATURES', 'bcm4339', 'linux-firmware-bcm4339', '', d)}" | 303 | MACHINE_FIRMWARE:append = " ${@bb.utils.contains('MACHINE_FEATURES', 'bcm4339', 'linux-firmware-bcm4339', '', d)}" |
| 304 | MACHINE_FIRMWARE_append = " ${@bb.utils.contains('MACHINE_FEATURES', 'bcm43430', 'linux-firmware-bcm43430', '', d)}" | 304 | MACHINE_FIRMWARE:append = " ${@bb.utils.contains('MACHINE_FEATURES', 'bcm43430', 'linux-firmware-bcm43430', '', d)}" |
| 305 | MACHINE_FIRMWARE_append = " ${@bb.utils.contains('MACHINE_FEATURES', 'bcm43455', 'linux-firmware-bcm43455', '', d)}" | 305 | MACHINE_FIRMWARE:append = " ${@bb.utils.contains('MACHINE_FEATURES', 'bcm43455', 'linux-firmware-bcm43455', '', d)}" |
| 306 | MACHINE_FIRMWARE_append = " ${@bb.utils.contains('MACHINE_FEATURES', 'bcm4356', 'linux-firmware-bcm4356-pcie', '', d)}" | 306 | MACHINE_FIRMWARE:append = " ${@bb.utils.contains('MACHINE_FEATURES', 'bcm4356', 'linux-firmware-bcm4356-pcie', '', d)}" |
| 307 | MACHINE_FIRMWARE_append = " ${@bb.utils.contains('MACHINE_FEATURES', 'bcm4359', 'linux-firmware-bcm4359-pcie', '', d)}" | 307 | MACHINE_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 |
| 310 | MACHINE_EXTRA_RRECOMMENDS_append = " ${@bb.utils.contains('MACHINE_FEATURES', 'qca6174', 'packagegroup-fsl-qca6174', '', d)}" | 310 | MACHINE_EXTRA_RRECOMMENDS:append = " ${@bb.utils.contains('MACHINE_FEATURES', 'qca6174', 'packagegroup-fsl-qca6174', '', d)}" |
| 311 | MACHINE_EXTRA_RRECOMMENDS_append = " ${@bb.utils.contains('MACHINE_FEATURES', 'qca9377', 'packagegroup-fsl-qca9377', '', d)}" | 311 | MACHINE_EXTRA_RRECOMMENDS:append = " ${@bb.utils.contains('MACHINE_FEATURES', 'qca9377', 'packagegroup-fsl-qca9377', '', d)}" |
| 312 | 312 | ||
| 313 | # Extra udev rules | 313 | # Extra udev rules |
| 314 | MACHINE_EXTRA_RRECOMMENDS += "udev-rules-imx" | 314 | MACHINE_EXTRA_RRECOMMENDS += "udev-rules-imx" |
| @@ -320,29 +320,29 @@ MACHINE_EXTRA_RRECOMMENDS += " \ | |||
| 320 | 320 | ||
| 321 | # GStreamer 1.0 plugins | 321 | # GStreamer 1.0 plugins |
| 322 | MACHINE_GSTREAMER_1_0_PLUGIN ?= "" | 322 | MACHINE_GSTREAMER_1_0_PLUGIN ?= "" |
| 323 | MACHINE_GSTREAMER_1_0_PLUGIN_mx6dl ?= "gstreamer1.0-plugins-imx-meta" | 323 | MACHINE_GSTREAMER_1_0_PLUGIN:mx6dl ?= "gstreamer1.0-plugins-imx-meta" |
| 324 | MACHINE_GSTREAMER_1_0_PLUGIN_mx6q ?= "gstreamer1.0-plugins-imx-meta" | 324 | MACHINE_GSTREAMER_1_0_PLUGIN:mx6q ?= "gstreamer1.0-plugins-imx-meta" |
| 325 | MACHINE_GSTREAMER_1_0_PLUGIN_mx6sl ?= "gstreamer1.0-plugins-imx-meta" | 325 | MACHINE_GSTREAMER_1_0_PLUGIN:mx6sl ?= "gstreamer1.0-plugins-imx-meta" |
| 326 | MACHINE_GSTREAMER_1_0_PLUGIN_mx6sx ?= "gstreamer1.0-plugins-imx-meta" | 326 | MACHINE_GSTREAMER_1_0_PLUGIN:mx6sx ?= "gstreamer1.0-plugins-imx-meta" |
| 327 | MACHINE_GSTREAMER_1_0_PLUGIN_mx6ul ?= "gstreamer1.0-plugins-imx-meta" | 327 | MACHINE_GSTREAMER_1_0_PLUGIN:mx6ul ?= "gstreamer1.0-plugins-imx-meta" |
| 328 | MACHINE_GSTREAMER_1_0_PLUGIN_mx6ull ?= "gstreamer1.0-plugins-imx-meta" | 328 | MACHINE_GSTREAMER_1_0_PLUGIN:mx6ull ?= "gstreamer1.0-plugins-imx-meta" |
| 329 | MACHINE_GSTREAMER_1_0_PLUGIN_mx7d ?= "gstreamer1.0-plugins-imx-meta" | 329 | MACHINE_GSTREAMER_1_0_PLUGIN:mx7d ?= "gstreamer1.0-plugins-imx-meta" |
| 330 | MACHINE_GSTREAMER_1_0_PLUGIN_mx8mm ?= "imx-gst1.0-plugin" | 330 | MACHINE_GSTREAMER_1_0_PLUGIN:mx8mm ?= "imx-gst1.0-plugin" |
| 331 | MACHINE_GSTREAMER_1_0_PLUGIN_mx8mn ?= "imx-gst1.0-plugin" | 331 | MACHINE_GSTREAMER_1_0_PLUGIN:mx8mn ?= "imx-gst1.0-plugin" |
| 332 | MACHINE_GSTREAMER_1_0_PLUGIN_mx8mp ?= "imx-gst1.0-plugin" | 332 | MACHINE_GSTREAMER_1_0_PLUGIN:mx8mp ?= "imx-gst1.0-plugin" |
| 333 | MACHINE_GSTREAMER_1_0_PLUGIN_mx8mq ?= "imx-gst1.0-plugin" | 333 | MACHINE_GSTREAMER_1_0_PLUGIN:mx8mq ?= "imx-gst1.0-plugin" |
| 334 | MACHINE_GSTREAMER_1_0_PLUGIN_mx8qm ?= "imx-gst1.0-plugin" | 334 | MACHINE_GSTREAMER_1_0_PLUGIN:mx8qm ?= "imx-gst1.0-plugin" |
| 335 | MACHINE_GSTREAMER_1_0_PLUGIN_mx8qxp ?= "imx-gst1.0-plugin" | 335 | MACHINE_GSTREAMER_1_0_PLUGIN:mx8qxp ?= "imx-gst1.0-plugin" |
| 336 | 336 | ||
| 337 | PREFERRED_VERSION_gstreamer1.0_mx8 ?= "1.16.2.imx" | 337 | PREFERRED_VERSION_gstreamer1.0:mx8 ?= "1.16.2.imx" |
| 338 | PREFERRED_VERSION_gstreamer1.0-plugins-base_mx8 ?= "1.16.2.imx" | 338 | PREFERRED_VERSION_gstreamer1.0-plugins-base:mx8 ?= "1.16.2.imx" |
| 339 | PREFERRED_VERSION_gstreamer1.0-plugins-good_mx8 ?= "1.16.3.imx" | 339 | PREFERRED_VERSION_gstreamer1.0-plugins-good:mx8 ?= "1.16.3.imx" |
| 340 | PREFERRED_VERSION_gstreamer1.0-plugins-bad_mx8 ?= "1.16.3.imx" | 340 | PREFERRED_VERSION_gstreamer1.0-plugins-bad:mx8 ?= "1.16.3.imx" |
| 341 | PREFERRED_VERSION_gstreamer1.0-libav_mx8 ?= "1.16.0" | 341 | PREFERRED_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 |
| 344 | SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT = "0" | 344 | SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT = "0" |
| 345 | SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT_imxgpu = "1" | 345 | SOC_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" | |||
| 361 | PREFERRED_PROVIDER_virtual/libgles2_imxgpu3d ?= "imx-gpu-viv" | 361 | PREFERRED_PROVIDER_virtual/libgles2_imxgpu3d ?= "imx-gpu-viv" |
| 362 | PREFERRED_PROVIDER_virtual/libg2d ?= "imx-gpu-g2d" | 362 | PREFERRED_PROVIDER_virtual/libg2d ?= "imx-gpu-g2d" |
| 363 | PREFERRED_PROVIDER_virtual/libg2d_imxdpu ?= "imx-dpu-g2d" | 363 | PREFERRED_PROVIDER_virtual/libg2d_imxdpu ?= "imx-dpu-g2d" |
| 364 | PREFERRED_PROVIDER_opencl-clhpp_imxgpu ?= "imx-gpu-viv" | 364 | PREFERRED_PROVIDER_opencl-clhpp:imxgpu ?= "imx-gpu-viv" |
| 365 | PREFERRED_PROVIDER_opencl-headers_imxgpu ?= "imx-gpu-viv" | 365 | PREFERRED_PROVIDER_opencl-headers:imxgpu ?= "imx-gpu-viv" |
| 366 | PREFERRED_PROVIDER_opencl-icd-loader_imxgpu ?= "imx-gpu-viv" | 366 | PREFERRED_PROVIDER_opencl-icd-loader:imxgpu ?= "imx-gpu-viv" |
| 367 | 367 | ||
| 368 | PREFERRED_VERSION_weston_imx ?= "9.0.0.imx" | 368 | PREFERRED_VERSION_weston_imx ?= "9.0.0.imx" |
| 369 | PREFERRED_VERSION_weston_use-mainline-bsp = "" | 369 | PREFERRED_VERSION_weston:use-mainline-bsp = "" |
| 370 | 370 | ||
| 371 | PREFERRED_VERSION_wayland-protocols_mx6 ?= "1.20.imx" | 371 | PREFERRED_VERSION_wayland-protocols:mx6 ?= "1.20.imx" |
| 372 | PREFERRED_VERSION_wayland-protocols_mx7 ?= "1.20.imx" | 372 | PREFERRED_VERSION_wayland-protocols:mx7 ?= "1.20.imx" |
| 373 | PREFERRED_VERSION_wayland-protocols_mx8 ?= "1.20.imx" | 373 | PREFERRED_VERSION_wayland-protocols:mx8 ?= "1.20.imx" |
| 374 | 374 | ||
| 375 | # Use i.MX libdrm Version | 375 | # Use i.MX libdrm Version |
| 376 | PREFERRED_VERSION_libdrm_mx6 ?= "2.4.102.imx" | 376 | PREFERRED_VERSION_libdrm:mx6 ?= "2.4.102.imx" |
| 377 | PREFERRED_VERSION_libdrm_mx7 ?= "2.4.102.imx" | 377 | PREFERRED_VERSION_libdrm:mx7 ?= "2.4.102.imx" |
| 378 | PREFERRED_VERSION_libdrm_mx8 ?= "2.4.102.imx" | 378 | PREFERRED_VERSION_libdrm:mx8 ?= "2.4.102.imx" |
| 379 | 379 | ||
| 380 | # Use i.MX optee Version | 380 | # Use i.MX optee Version |
| 381 | PREFERRED_VERSION_optee-os_mx8 ?= "3.10.0.imx" | 381 | PREFERRED_VERSION_optee-os:mx8 ?= "3.10.0.imx" |
| 382 | PREFERRED_VERSION_optee-client_mx8 ?= "3.10.0.imx" | 382 | PREFERRED_VERSION_optee-client:mx8 ?= "3.10.0.imx" |
| 383 | PREFERRED_VERSION_optee-test_mx8 ?= "3.10.0.imx" | 383 | PREFERRED_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 |
| 386 | PREFERRED_VERSION_opencv_mx8 ?= "4.5.2.imx" | 386 | PREFERRED_VERSION_opencv:mx8 ?= "4.5.2.imx" |
| 387 | 387 | ||
| 388 | # Handle default kernel | 388 | # Handle default kernel |
| 389 | IMX_DEFAULT_KERNEL = "linux-fslc-imx" | 389 | IMX_DEFAULT_KERNEL = "linux-fslc-imx" |
| 390 | IMX_DEFAULT_KERNEL_mxs = "linux-fslc" | 390 | IMX_DEFAULT_KERNEL:mxs = "linux-fslc" |
| 391 | IMX_DEFAULT_KERNEL_mx5 = "linux-fslc" | 391 | IMX_DEFAULT_KERNEL:mx5 = "linux-fslc" |
| 392 | IMX_DEFAULT_KERNEL_mx6 = "linux-fslc-imx" | 392 | IMX_DEFAULT_KERNEL:mx6 = "linux-fslc-imx" |
| 393 | IMX_DEFAULT_KERNEL_mx7 = "linux-fslc-imx" | 393 | IMX_DEFAULT_KERNEL:mx7 = "linux-fslc-imx" |
| 394 | IMX_DEFAULT_KERNEL_mx8 = "linux-fslc-imx" | 394 | IMX_DEFAULT_KERNEL:mx8 = "linux-fslc-imx" |
| 395 | IMX_DEFAULT_KERNEL_mx7ulp = "linux-fslc-imx" | 395 | IMX_DEFAULT_KERNEL:mx7ulp = "linux-fslc-imx" |
| 396 | IMX_DEFAULT_KERNEL_mx6sll = "linux-fslc-imx" | 396 | IMX_DEFAULT_KERNEL:mx6sll = "linux-fslc-imx" |
| 397 | IMX_DEFAULT_KERNEL_mx6ul = "linux-fslc-imx" | 397 | IMX_DEFAULT_KERNEL:mx6ul = "linux-fslc-imx" |
| 398 | IMX_DEFAULT_KERNEL_mx6ull = "linux-fslc-imx" | 398 | IMX_DEFAULT_KERNEL:mx6ull = "linux-fslc-imx" |
| 399 | IMX_DEFAULT_KERNEL_use-mainline-bsp = "linux-fslc" | 399 | IMX_DEFAULT_KERNEL:use-mainline-bsp = "linux-fslc" |
| 400 | 400 | ||
| 401 | PREFERRED_PROVIDER_virtual/kernel ??= "${IMX_DEFAULT_KERNEL}" | 401 | PREFERRED_PROVIDER_virtual/kernel ??= "${IMX_DEFAULT_KERNEL}" |
| 402 | 402 | ||
| 403 | SOC_DEFAULT_IMAGE_FSTYPES = "wic.bmap wic.gz" | 403 | SOC_DEFAULT_IMAGE_FSTYPES = "wic.bmap wic.gz" |
| 404 | SOC_DEFAULT_IMAGE_FSTYPES_mxs = "uboot-mxsboot-sdcard wic.bmap wic.gz" | 404 | SOC_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 |
| 407 | WIC_CREATE_EXTRA_ARGS ?= "--no-fstab-update" | 407 | WIC_CREATE_EXTRA_ARGS ?= "--no-fstab-update" |
| 408 | 408 | ||
| 409 | OPTEE_BOOT_IMAGE = "uTee" | 409 | OPTEE_BOOT_IMAGE = "uTee" |
| 410 | OPTEE_BOOT_IMAGE_aarch64 = "" | 410 | OPTEE_BOOT_IMAGE:aarch64 = "" |
| 411 | 411 | ||
| 412 | IMAGE_FSTYPES ?= "${SOC_DEFAULT_IMAGE_FSTYPES}" | 412 | IMAGE_FSTYPES ?= "${SOC_DEFAULT_IMAGE_FSTYPES}" |
| 413 | 413 | ||
| @@ -419,7 +419,7 @@ IMAGE_BOOT_FILES ?= " \ | |||
| 419 | 419 | ||
| 420 | ### wic default support | 420 | ### wic default support |
| 421 | OPTEE_WKS_FILE_DEPENDS = "optee-os" | 421 | OPTEE_WKS_FILE_DEPENDS = "optee-os" |
| 422 | OPTEE_WKS_FILE_DEPENDS_aarch64 = "" | 422 | OPTEE_WKS_FILE_DEPENDS:aarch64 = "" |
| 423 | 423 | ||
| 424 | WKS_FILE_DEPENDS ?= " \ | 424 | WKS_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 | ||
| 432 | WKS_FILE_DEPENDS_append_mx8 = " imx-boot" | 432 | WKS_FILE_DEPENDS:append:mx8 = " imx-boot" |
| 433 | WKS_FILE_DEPENDS_append_mx8m = " imx-boot" | 433 | WKS_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. |
| 447 | WKS_FILE_DEPENDS_append_use-mainline-bsp_aarch64 = " \ | 447 | WKS_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 | ||
| 451 | SOC_DEFAULT_WKS_FILE ?= "imx-uboot-bootpart.wks.in" | 451 | SOC_DEFAULT_WKS_FILE ?= "imx-uboot-bootpart.wks.in" |
| 452 | SOC_DEFAULT_WKS_FILE_mx8m ?= "imx-imx-boot-bootpart.wks.in" | 452 | SOC_DEFAULT_WKS_FILE:mx8m ?= "imx-imx-boot-bootpart.wks.in" |
| 453 | 453 | ||
| 454 | SOC_DEFAULT_WKS_FILE_mx8 ?= "imx-imx-boot-bootpart.wks.in" | 454 | SOC_DEFAULT_WKS_FILE:mx8 ?= "imx-imx-boot-bootpart.wks.in" |
| 455 | SOC_DEFAULT_WKS_FILE_mxs ?= "imx-uboot-mxs-bootpart.wks.in" | 455 | SOC_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. |
| 465 | SOC_DEFAULT_WKS_FILE_imx-boot-container ?= "imx-boot-container-bootpart.wks.in" | 465 | SOC_DEFAULT_WKS_FILE:imx-boot-container ?= "imx-boot-container-bootpart.wks.in" |
| 466 | 466 | ||
| 467 | WKS_FILE ?= "${SOC_DEFAULT_WKS_FILE}" | 467 | WKS_FILE ?= "${SOC_DEFAULT_WKS_FILE}" |
| 468 | 468 | ||
| 469 | SERIAL_CONSOLES = "115200;ttymxc0" | 469 | SERIAL_CONSOLES = "115200;ttymxc0" |
| 470 | SERIAL_CONSOLES_mxs = "115200;ttyAMA0" | 470 | SERIAL_CONSOLES:mxs = "115200;ttyAMA0" |
| 471 | 471 | ||
| 472 | KERNEL_IMAGETYPE = "zImage" | 472 | KERNEL_IMAGETYPE = "zImage" |
| 473 | KERNEL_IMAGETYPE_aarch64 = "Image" | 473 | KERNEL_IMAGETYPE:aarch64 = "Image" |
| 474 | 474 | ||
| 475 | MACHINE_FEATURES = "usbgadget usbhost vfat alsa touchscreen" | 475 | MACHINE_FEATURES = "usbgadget usbhost vfat alsa touchscreen" |
| 476 | 476 | ||
| 477 | # Add the ability to specify _imx machines | 477 | # Add the ability to specify _imx machines |
| 478 | MACHINEOVERRIDES =. "imx:" | 478 | MACHINEOVERRIDES =. "imx:" |
| 479 | 479 | ||
| 480 | HOSTTOOLS_NONFATAL_append_mx8 = " sha384sum" | 480 | HOSTTOOLS_NONFATAL:append:mx8 = " sha384sum" |
