summaryrefslogtreecommitdiffstats
path: root/conf/machine
diff options
context:
space:
mode:
authorJun Zhu <junzhu@nxp.com>2017-10-10 01:52:25 +0800
committerOtavio Salvador <otavio@ossystems.com.br>2017-10-11 10:28:05 -0300
commitc7fb17860c2ef789fc0ac50265aed2567d06f4ef (patch)
treebd5283721dbda4b037e50e45170a71a37cadf441 /conf/machine
parentc4101a69b99d24c3100b76ae9d7f291fd5fc6757 (diff)
downloadmeta-freescale-c7fb17860c2ef789fc0ac50265aed2567d06f4ef.tar.gz
imx-base.inc: Update for imx7ulpevk board support
Signed-off-by: Jun Zhu <junzhu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'conf/machine')
-rw-r--r--conf/machine/include/imx-base.inc12
1 files changed, 11 insertions, 1 deletions
diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc
index 4c7071b6..ba28ca37 100644
--- a/conf/machine/include/imx-base.inc
+++ b/conf/machine/include/imx-base.inc
@@ -65,6 +65,7 @@ MACHINEOVERRIDES_EXTENDER_mx6sll = "imxpxp:imxepdc"
65MACHINEOVERRIDES_EXTENDER_mx6ul = "imxpxp" 65MACHINEOVERRIDES_EXTENDER_mx6ul = "imxpxp"
66MACHINEOVERRIDES_EXTENDER_mx6ull = "imxpxp:imxepdc" 66MACHINEOVERRIDES_EXTENDER_mx6ull = "imxpxp:imxepdc"
67MACHINEOVERRIDES_EXTENDER_mx7d = "imxpxp:imxepdc" 67MACHINEOVERRIDES_EXTENDER_mx7d = "imxpxp:imxepdc"
68MACHINEOVERRIDES_EXTENDER_mx7ulp = "imxpxp:imxgpu2d:imxgpu3d"
68 69
69MACHINEOVERRIDES_EXTENDER_FILTER_OUT_use-mainline-bsp = " \ 70MACHINEOVERRIDES_EXTENDER_FILTER_OUT_use-mainline-bsp = " \
70 mx6 \ 71 mx6 \
@@ -91,6 +92,7 @@ MACHINE_SOCARCH_SUFFIX_mx6sx = "-mx6sx"
91MACHINE_SOCARCH_SUFFIX_mx6sl = "-mx6sl" 92MACHINE_SOCARCH_SUFFIX_mx6sl = "-mx6sl"
92MACHINE_SOCARCH_SUFFIX_mx6sll= "-mx6sll" 93MACHINE_SOCARCH_SUFFIX_mx6sll= "-mx6sll"
93MACHINE_SOCARCH_SUFFIX_mx7d = "-mx7d" 94MACHINE_SOCARCH_SUFFIX_mx7d = "-mx7d"
95MACHINE_SOCARCH_SUFFIX_mx7ulp = "-mx7ulp"
94MACHINE_SOCARCH_SUFFIX_vf60 = "-vf60" 96MACHINE_SOCARCH_SUFFIX_vf60 = "-vf60"
95MACHINE_SOCARCH_SUFFIX_vf50 = "-vf50" 97MACHINE_SOCARCH_SUFFIX_vf50 = "-vf50"
96MACHINE_SOCARCH_SUFFIX_mx6ul = "-mx6ul" 98MACHINE_SOCARCH_SUFFIX_mx6ul = "-mx6ul"
@@ -120,7 +122,7 @@ SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS_append = " \
120# Firmware 122# Firmware
121MACHINE_FIRMWARE ?= "" 123MACHINE_FIRMWARE ?= ""
122MACHINE_FIRMWARE_append_mx25 = " firmware-imx-sdma-imx25" 124MACHINE_FIRMWARE_append_mx25 = " firmware-imx-sdma-imx25"
123MACHINE_FIRMWARE_append_mx7 = " firmware-imx-epdc" 125MACHINE_FIRMWARE_append_mx7d = " firmware-imx-epdc"
124MACHINE_FIRMWARE_append_mx6q = " firmware-imx-vpu-imx6q" 126MACHINE_FIRMWARE_append_mx6q = " firmware-imx-vpu-imx6q"
125MACHINE_FIRMWARE_append_mx6dl = " firmware-imx-vpu-imx6d firmware-imx-epdc" 127MACHINE_FIRMWARE_append_mx6dl = " firmware-imx-vpu-imx6d firmware-imx-epdc"
126MACHINE_FIRMWARE_append_mx6sl = " firmware-imx-epdc" 128MACHINE_FIRMWARE_append_mx6sl = " firmware-imx-epdc"
@@ -145,6 +147,7 @@ MACHINE_EXTRA_RRECOMMENDS_append_mx6sx = " ${@bb.utils.contains('DISTRO_FEATURES
145MACHINE_EXTRA_RRECOMMENDS_append_mx6ul = " ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'imx-alsa-plugins', '', d)}" 147MACHINE_EXTRA_RRECOMMENDS_append_mx6ul = " ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'imx-alsa-plugins', '', d)}"
146MACHINE_EXTRA_RRECOMMENDS_append_mx6ull = " ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'imx-alsa-plugins', '', d)}" 148MACHINE_EXTRA_RRECOMMENDS_append_mx6ull = " ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'imx-alsa-plugins', '', d)}"
147MACHINE_EXTRA_RRECOMMENDS_append_mx7d = " ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'imx-alsa-plugins', '', d)}" 149MACHINE_EXTRA_RRECOMMENDS_append_mx7d = " ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'imx-alsa-plugins', '', d)}"
150MACHINE_EXTRA_RRECOMMENDS_append_mx7ulp = " ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'imx-alsa-plugins', '', d)}"
148 151
149# Extra udev rules 152# Extra udev rules
150MACHINE_EXTRA_RRECOMMENDS += "udev-rules-imx" 153MACHINE_EXTRA_RRECOMMENDS += "udev-rules-imx"
@@ -165,6 +168,7 @@ SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT_mx6q = "1"
165SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT_mx6dl = "1" 168SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT_mx6dl = "1"
166SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT_mx6sx = "1" 169SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT_mx6sx = "1"
167SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT_mx6sl = "1" 170SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT_mx6sl = "1"
171SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT_mx7ulp = "1"
168 172
169# Handle Vivante kernel driver setting: 173# Handle Vivante kernel driver setting:
170# 0 - machine does not have Vivante GPU driver support 174# 0 - machine does not have Vivante GPU driver support
@@ -179,6 +183,7 @@ PREFERRED_PROVIDER_virtual/egl_mx6sl ?= "imx-gpu-viv"
179PREFERRED_PROVIDER_virtual/egl_mx6sll ?= "mesa" 183PREFERRED_PROVIDER_virtual/egl_mx6sll ?= "mesa"
180PREFERRED_PROVIDER_virtual/egl_mx6ul ?= "mesa" 184PREFERRED_PROVIDER_virtual/egl_mx6ul ?= "mesa"
181PREFERRED_PROVIDER_virtual/egl_mx6ull ?= "mesa" 185PREFERRED_PROVIDER_virtual/egl_mx6ull ?= "mesa"
186PREFERRED_PROVIDER_virtual/egl_mx7ulp ?= "imx-gpu-viv"
182 187
183PREFERRED_PROVIDER_virtual/libgles1_mx6q ?= "imx-gpu-viv" 188PREFERRED_PROVIDER_virtual/libgles1_mx6q ?= "imx-gpu-viv"
184PREFERRED_PROVIDER_virtual/libgles1_mx6dl ?= "imx-gpu-viv" 189PREFERRED_PROVIDER_virtual/libgles1_mx6dl ?= "imx-gpu-viv"
@@ -187,6 +192,7 @@ PREFERRED_PROVIDER_virtual/libgles1_mx6sl ?= "mesa"
187PREFERRED_PROVIDER_virtual/libgles1_mx6sll ?= "mesa" 192PREFERRED_PROVIDER_virtual/libgles1_mx6sll ?= "mesa"
188PREFERRED_PROVIDER_virtual/libgles1_mx6ul ?= "mesa" 193PREFERRED_PROVIDER_virtual/libgles1_mx6ul ?= "mesa"
189PREFERRED_PROVIDER_virtual/libgles1_mx6ull ?= "mesa" 194PREFERRED_PROVIDER_virtual/libgles1_mx6ull ?= "mesa"
195PREFERRED_PROVIDER_virtual/libgles1_mx7ulp ?= "imx-gpu-viv"
190 196
191PREFERRED_PROVIDER_virtual/libgles2_mx6q ?= "imx-gpu-viv" 197PREFERRED_PROVIDER_virtual/libgles2_mx6q ?= "imx-gpu-viv"
192PREFERRED_PROVIDER_virtual/libgles2_mx6dl ?= "imx-gpu-viv" 198PREFERRED_PROVIDER_virtual/libgles2_mx6dl ?= "imx-gpu-viv"
@@ -195,6 +201,7 @@ PREFERRED_PROVIDER_virtual/libgles2_mx6sl ?= "mesa"
195PREFERRED_PROVIDER_virtual/libgles2_mx6sll ?= "mesa" 201PREFERRED_PROVIDER_virtual/libgles2_mx6sll ?= "mesa"
196PREFERRED_PROVIDER_virtual/libgles2_mx6ul ?= "mesa" 202PREFERRED_PROVIDER_virtual/libgles2_mx6ul ?= "mesa"
197PREFERRED_PROVIDER_virtual/libgles2_mx6ull ?= "mesa" 203PREFERRED_PROVIDER_virtual/libgles2_mx6ull ?= "mesa"
204PREFERRED_PROVIDER_virtual/libgles2_mx7ulp ?= "imx-gpu-viv"
198 205
199PREFERRED_PROVIDER_virtual/libgl_mx6q ?= "imx-gpu-viv" 206PREFERRED_PROVIDER_virtual/libgl_mx6q ?= "imx-gpu-viv"
200PREFERRED_PROVIDER_virtual/libgl_mx6dl ?= "imx-gpu-viv" 207PREFERRED_PROVIDER_virtual/libgl_mx6dl ?= "imx-gpu-viv"
@@ -203,11 +210,13 @@ PREFERRED_PROVIDER_virtual/libgl_mx6sl ?= "mesa"
203PREFERRED_PROVIDER_virtual/libgl_mx6sll ?= "mesa" 210PREFERRED_PROVIDER_virtual/libgl_mx6sll ?= "mesa"
204PREFERRED_PROVIDER_virtual/libgl_mx6ul ?= "mesa" 211PREFERRED_PROVIDER_virtual/libgl_mx6ul ?= "mesa"
205PREFERRED_PROVIDER_virtual/libgl_mx6ull ?= "mesa" 212PREFERRED_PROVIDER_virtual/libgl_mx6ull ?= "mesa"
213PREFERRED_PROVIDER_virtual/libgl_mx7ulp ?= "imx-gpu-viv"
206 214
207PREFERRED_PROVIDER_virtual/libg2d_mx6 ?= "imx-gpu-viv" 215PREFERRED_PROVIDER_virtual/libg2d_mx6 ?= "imx-gpu-viv"
208PREFERRED_PROVIDER_virtual/libg2d_mx6sll ?= "" 216PREFERRED_PROVIDER_virtual/libg2d_mx6sll ?= ""
209PREFERRED_PROVIDER_virtual/libg2d_mx6ul = "" 217PREFERRED_PROVIDER_virtual/libg2d_mx6ul = ""
210PREFERRED_PROVIDER_virtual/libg2d_mx6ull = "" 218PREFERRED_PROVIDER_virtual/libg2d_mx6ull = ""
219PREFERRED_PROVIDER_virtual/libg2d_mx7ulp ?= "imx-gpu-viv"
211 220
212# Handle default kernel 221# Handle default kernel
213IMX_DEFAULT_KERNEL = "linux-imx" 222IMX_DEFAULT_KERNEL = "linux-imx"
@@ -215,6 +224,7 @@ IMX_DEFAULT_KERNEL_mxs = "linux-fslc"
215IMX_DEFAULT_KERNEL_mx5 = "linux-fslc" 224IMX_DEFAULT_KERNEL_mx5 = "linux-fslc"
216IMX_DEFAULT_KERNEL_mx6 = "linux-fslc-imx" 225IMX_DEFAULT_KERNEL_mx6 = "linux-fslc-imx"
217IMX_DEFAULT_KERNEL_mx7 = "linux-fslc-imx" 226IMX_DEFAULT_KERNEL_mx7 = "linux-fslc-imx"
227IMX_DEFAULT_KERNEL_mx7ulp = "linux-imx"
218IMX_DEFAULT_KERNEL_mx6sll = "linux-imx" 228IMX_DEFAULT_KERNEL_mx6sll = "linux-imx"
219IMX_DEFAULT_KERNEL_mx6ul = "linux-fslc-imx" 229IMX_DEFAULT_KERNEL_mx6ul = "linux-fslc-imx"
220IMX_DEFAULT_KERNEL_mx6ull = "linux-fslc-imx" 230IMX_DEFAULT_KERNEL_mx6ull = "linux-fslc-imx"