summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2016-10-18 13:11:25 -0200
committerOtavio Salvador <otavio@ossystems.com.br>2016-10-18 16:26:15 -0200
commit867b32aea41d9b2ef2ba298d4da329b3e59adcd1 (patch)
tree9b09ec5b7e92427e89a0e8d93369974f4829ddce
parent24446a692b1679a4f5050de2aa5a19ab73bb2e65 (diff)
downloadmeta-freescale-867b32aea41d9b2ef2ba298d4da329b3e59adcd1.tar.gz
imx-base: Add i.MX 6ULL base settings
The i.MX 6ULL BSP base settings, this includes: - MACHINEOVERRIDES_EXTENDER for has PXP and EPDC display support; - UBOOT_ENTRYPOINT for uImage support; - DEFAULTTUNE so it uses cortexa7thf-neon by default; - MACHINE_SOCARCH_SUFFIX to share binaries with i.MX6UL; - Graphics preference to use software rendering; - MACHINE_FIRMWARE to include firmware-imx-epdc; - Default Linux kernel for linux-fslc-imx; Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
-rw-r--r--conf/machine/include/imx-base.inc14
1 files changed, 13 insertions, 1 deletions
diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc
index 09ab4ad8..6eab64d8 100644
--- a/conf/machine/include/imx-base.inc
+++ b/conf/machine/include/imx-base.inc
@@ -22,6 +22,7 @@ UBOOT_ENTRYPOINT_mx6 = "0x10008000"
22UBOOT_ENTRYPOINT_mx6sl = "0x80008000" 22UBOOT_ENTRYPOINT_mx6sl = "0x80008000"
23UBOOT_ENTRYPOINT_mx6sx = "0x80008000" 23UBOOT_ENTRYPOINT_mx6sx = "0x80008000"
24UBOOT_ENTRYPOINT_mx6ul = "0x10008000" 24UBOOT_ENTRYPOINT_mx6ul = "0x10008000"
25UBOOT_ENTRYPOINT_mx6ull = "0x10008000"
25UBOOT_ENTRYPOINT_mx7 = "0x80008000" 26UBOOT_ENTRYPOINT_mx7 = "0x80008000"
26UBOOT_ENTRYPOINT_vf = "0x80008000" 27UBOOT_ENTRYPOINT_vf = "0x80008000"
27 28
@@ -45,6 +46,7 @@ MACHINE_EXTRA_RRECOMMENDS = "kernel-modules"
45# handled by hardware 46# handled by hardware
46DEFAULTTUNE_mx6 ?= "cortexa9thf-neon" 47DEFAULTTUNE_mx6 ?= "cortexa9thf-neon"
47DEFAULTTUNE_mx6ul ?= "cortexa7thf-neon" 48DEFAULTTUNE_mx6ul ?= "cortexa7thf-neon"
49DEFAULTTUNE_mx6ull ?= "cortexa7thf-neon"
48DEFAULTTUNE_mx7 ?= "cortexa7thf-neon" 50DEFAULTTUNE_mx7 ?= "cortexa7thf-neon"
49DEFAULTTUNE_vf ?= "cortexa5thf-neon" 51DEFAULTTUNE_vf ?= "cortexa5thf-neon"
50 52
@@ -55,6 +57,7 @@ MACHINEOVERRIDES_EXTENDER_mx6dl = "imxpxp:imxipu:imxvpu:imxgpu2d:imxgpu3d:imxepd
55MACHINEOVERRIDES_EXTENDER_mx6sx = "imxpxp:imxgpu2d:imxgpu3d" 57MACHINEOVERRIDES_EXTENDER_mx6sx = "imxpxp:imxgpu2d:imxgpu3d"
56MACHINEOVERRIDES_EXTENDER_mx6sl = "imxpxp:imxgpu2d:imxepdc" 58MACHINEOVERRIDES_EXTENDER_mx6sl = "imxpxp:imxgpu2d:imxepdc"
57MACHINEOVERRIDES_EXTENDER_mx6ul = "imxpxp" 59MACHINEOVERRIDES_EXTENDER_mx6ul = "imxpxp"
60MACHINEOVERRIDES_EXTENDER_mx6ull = "imxpxp:imxepdc"
58MACHINEOVERRIDES_EXTENDER_mx7d = "imxpxp:imxepdc" 61MACHINEOVERRIDES_EXTENDER_mx7d = "imxpxp:imxepdc"
59 62
60# Sub-architecture support 63# Sub-architecture support
@@ -66,13 +69,15 @@ MACHINE_SOCARCH_SUFFIX_mx6sl = "-mx6sl"
66MACHINE_SOCARCH_SUFFIX_mx7d = "-mx7d" 69MACHINE_SOCARCH_SUFFIX_mx7d = "-mx7d"
67MACHINE_SOCARCH_SUFFIX_vf60 = "-vf60" 70MACHINE_SOCARCH_SUFFIX_vf60 = "-vf60"
68MACHINE_SOCARCH_SUFFIX_vf50 = "-vf50" 71MACHINE_SOCARCH_SUFFIX_vf50 = "-vf50"
69MACHINE_SOCARCH_SUFFIX_mx6ul = "-mx6ul" 72MACHINE_SOCARCH_SUFFIX_mx6ul = "-mx6ul"
73MACHINE_SOCARCH_SUFFIX_mx6ull = "-mx6ul"
70 74
71MACHINE_ARCH_FILTER = "virtual/kernel" 75MACHINE_ARCH_FILTER = "virtual/kernel"
72MACHINE_SOCARCH_FILTER_append_mx6 = " imx-vpu libimxvpuapi imx-codec imx-vpuwrap imx-parser" 76MACHINE_SOCARCH_FILTER_append_mx6 = " imx-vpu libimxvpuapi imx-codec imx-vpuwrap imx-parser"
73MACHINE_SOCARCH_FILTER_append_mx6 = " virtual/libopenvg virtual/libgles1 virtual/libgles2 virtual/egl virtual/mesa virtual/libgl virtual/libg2d" 77MACHINE_SOCARCH_FILTER_append_mx6 = " virtual/libopenvg virtual/libgles1 virtual/libgles2 virtual/egl virtual/mesa virtual/libgl virtual/libg2d"
74MACHINE_SOCARCH_FILTER_append_mx6 = " cairo pango" 78MACHINE_SOCARCH_FILTER_append_mx6 = " cairo pango"
75MACHINE_SOCARCH_FILTER_append_mx6ul = " imx-codec imx-parser" 79MACHINE_SOCARCH_FILTER_append_mx6ul = " imx-codec imx-parser"
80MACHINE_SOCARCH_FILTER_append_mx6ull = " imx-codec imx-parser"
76MACHINE_SOCARCH_FILTER_append_mx7 = " imx-codec imx-parser" 81MACHINE_SOCARCH_FILTER_append_mx7 = " imx-codec imx-parser"
77 82
78INHERIT += "fsl-dynamic-packagearch" 83INHERIT += "fsl-dynamic-packagearch"
@@ -91,6 +96,7 @@ MACHINE_FIRMWARE_append_mx7 = " firmware-imx-epdc"
91MACHINE_FIRMWARE_append_mx6q = " firmware-imx-vpu-imx6q" 96MACHINE_FIRMWARE_append_mx6q = " firmware-imx-vpu-imx6q"
92MACHINE_FIRMWARE_append_mx6dl = " firmware-imx-vpu-imx6d firmware-imx-epdc" 97MACHINE_FIRMWARE_append_mx6dl = " firmware-imx-vpu-imx6d firmware-imx-epdc"
93MACHINE_FIRMWARE_append_mx6sl = " firmware-imx-epdc" 98MACHINE_FIRMWARE_append_mx6sl = " firmware-imx-epdc"
99MACHINE_FIRMWARE_append_mx6ull = " firmware-imx-epdc"
94MACHINE_FIRMWARE_append_mx53 = " firmware-imx-vpu-imx53 firmware-imx-sdma-imx53" 100MACHINE_FIRMWARE_append_mx53 = " firmware-imx-vpu-imx53 firmware-imx-sdma-imx53"
95MACHINE_FIRMWARE_append_mx51 = " firmware-imx-vpu-imx51 firmware-imx-sdma-imx51" 101MACHINE_FIRMWARE_append_mx51 = " firmware-imx-vpu-imx51 firmware-imx-sdma-imx51"
96 102
@@ -131,27 +137,32 @@ PREFERRED_PROVIDER_virtual/egl_mx6dl ?= "imx-gpu-viv"
131PREFERRED_PROVIDER_virtual/egl_mx6sx ?= "imx-gpu-viv" 137PREFERRED_PROVIDER_virtual/egl_mx6sx ?= "imx-gpu-viv"
132PREFERRED_PROVIDER_virtual/egl_mx6sl ?= "imx-gpu-viv" 138PREFERRED_PROVIDER_virtual/egl_mx6sl ?= "imx-gpu-viv"
133PREFERRED_PROVIDER_virtual/egl_mx6ul ?= "mesa" 139PREFERRED_PROVIDER_virtual/egl_mx6ul ?= "mesa"
140PREFERRED_PROVIDER_virtual/egl_mx6ull ?= "mesa"
134 141
135PREFERRED_PROVIDER_virtual/libgles1_mx6q ?= "imx-gpu-viv" 142PREFERRED_PROVIDER_virtual/libgles1_mx6q ?= "imx-gpu-viv"
136PREFERRED_PROVIDER_virtual/libgles1_mx6dl ?= "imx-gpu-viv" 143PREFERRED_PROVIDER_virtual/libgles1_mx6dl ?= "imx-gpu-viv"
137PREFERRED_PROVIDER_virtual/libgles1_mx6sx ?= "imx-gpu-viv" 144PREFERRED_PROVIDER_virtual/libgles1_mx6sx ?= "imx-gpu-viv"
138PREFERRED_PROVIDER_virtual/libgles1_mx6sl ?= "mesa" 145PREFERRED_PROVIDER_virtual/libgles1_mx6sl ?= "mesa"
139PREFERRED_PROVIDER_virtual/libgles1_mx6ul ?= "mesa" 146PREFERRED_PROVIDER_virtual/libgles1_mx6ul ?= "mesa"
147PREFERRED_PROVIDER_virtual/libgles1_mx6ull ?= "mesa"
140 148
141PREFERRED_PROVIDER_virtual/libgles2_mx6q ?= "imx-gpu-viv" 149PREFERRED_PROVIDER_virtual/libgles2_mx6q ?= "imx-gpu-viv"
142PREFERRED_PROVIDER_virtual/libgles2_mx6dl ?= "imx-gpu-viv" 150PREFERRED_PROVIDER_virtual/libgles2_mx6dl ?= "imx-gpu-viv"
143PREFERRED_PROVIDER_virtual/libgles2_mx6sx ?= "imx-gpu-viv" 151PREFERRED_PROVIDER_virtual/libgles2_mx6sx ?= "imx-gpu-viv"
144PREFERRED_PROVIDER_virtual/libgles2_mx6sl ?= "mesa" 152PREFERRED_PROVIDER_virtual/libgles2_mx6sl ?= "mesa"
145PREFERRED_PROVIDER_virtual/libgles2_mx6ul ?= "mesa" 153PREFERRED_PROVIDER_virtual/libgles2_mx6ul ?= "mesa"
154PREFERRED_PROVIDER_virtual/libgles2_mx6ull ?= "mesa"
146 155
147PREFERRED_PROVIDER_virtual/libgl_mx6q ?= "imx-gpu-viv" 156PREFERRED_PROVIDER_virtual/libgl_mx6q ?= "imx-gpu-viv"
148PREFERRED_PROVIDER_virtual/libgl_mx6dl ?= "imx-gpu-viv" 157PREFERRED_PROVIDER_virtual/libgl_mx6dl ?= "imx-gpu-viv"
149PREFERRED_PROVIDER_virtual/libgl_mx6sx ?= "imx-gpu-viv" 158PREFERRED_PROVIDER_virtual/libgl_mx6sx ?= "imx-gpu-viv"
150PREFERRED_PROVIDER_virtual/libgl_mx6sl ?= "mesa" 159PREFERRED_PROVIDER_virtual/libgl_mx6sl ?= "mesa"
151PREFERRED_PROVIDER_virtual/libgl_mx6ul ?= "mesa" 160PREFERRED_PROVIDER_virtual/libgl_mx6ul ?= "mesa"
161PREFERRED_PROVIDER_virtual/libgl_mx6ull ?= "mesa"
152 162
153PREFERRED_PROVIDER_virtual/libg2d_mx6 ?= "imx-gpu-viv" 163PREFERRED_PROVIDER_virtual/libg2d_mx6 ?= "imx-gpu-viv"
154PREFERRED_PROVIDER_virtual/libg2d_mx6ul = "" 164PREFERRED_PROVIDER_virtual/libg2d_mx6ul = ""
165PREFERRED_PROVIDER_virtual/libg2d_mx6ull = ""
155 166
156# Handle default kernel 167# Handle default kernel
157IMX_DEFAULT_KERNEL = "linux-imx" 168IMX_DEFAULT_KERNEL = "linux-imx"
@@ -160,6 +171,7 @@ IMX_DEFAULT_KERNEL_mx5 = "linux-fslc"
160IMX_DEFAULT_KERNEL_mx6 = "linux-fslc-imx" 171IMX_DEFAULT_KERNEL_mx6 = "linux-fslc-imx"
161IMX_DEFAULT_KERNEL_mx7 = "linux-fslc-imx" 172IMX_DEFAULT_KERNEL_mx7 = "linux-fslc-imx"
162IMX_DEFAULT_KERNEL_mx6ul = "linux-fslc-imx" 173IMX_DEFAULT_KERNEL_mx6ul = "linux-fslc-imx"
174IMX_DEFAULT_KERNEL_mx6ull = "linux-fslc-imx"
163 175
164PREFERRED_PROVIDER_virtual/kernel ??= "${IMX_DEFAULT_KERNEL}" 176PREFERRED_PROVIDER_virtual/kernel ??= "${IMX_DEFAULT_KERNEL}"
165 177