riotboard: Fix broken image builds against linux-fslc
PATCH v2 1/1 riotboard: Fix broken image builds against linux-fslc
Several Yocto images fail to build because they're using packages that require imx6-specific hardware support (ASRC, VPU, GPU3D), which is not available in the mainline kernel. This patch fixes the following image builds:
- core-image-minimal
- core-image-base
- fsl-image-multimedia
--- conf/machine/imx6dl-riotboard.conf | 3 +++ 1 file changed, 3 insertions(+)
conf/machine/imx6dl-riotboard.conf +3 -0
@@ -15,3 +15,6 @@ PREFERRED_PROVIDER_virtual/kernel ?= "linux-fslc" KERNEL_DEVICETREE = "imx6dl-riotboard.dtb" SERIAL_CONSOLE = "115200 ttymxc1" + +MACHINE_EXTRA_RRECOMMENDS_remove = "fsl-alsa-plugins" +MACHINE_GSTREAMER_PLUGIN_imx6dl-riotboard = ""
Signature · 1 line
1.7.10.4
Quoted 8 lines · Nikolay Dimitrov
Several Yocto images fail to build because they're using packages that require imx6-specific hardware support (ASRC, VPU, GPU3D), which is not available in the mainline kernel. This patch fixes the following image builds:
- core-image-minimal
- core-image-base
- fsl-image-multimediaSigned-off-by Nikolay Dimitrov <[email protected]>
Without the image provided by Fabio, fsl-image-machine-test will fail ;)
Signature · 3 lines
Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
Hi Otavio,
Quoted 8 lines · Otavio Salvador
Quoted 6 lines · Nikolay Dimitrov
Several Yocto images fail to build because they're using packages that require imx6-specific hardware support (ASRC, VPU, GPU3D), which is not available in the mainline kernel. This patch fixes the following image builds: - core-image-minimal - core-image-base - fsl-image-multimedia
Quoted 4 lines
Quoted 1 line
Signed-off-by Nikolay Dimitrov <[email protected]>Without the image provided by Fabio, fsl-image-machine-test will fail ;)
Right now fsl-image-machine-test fails on riotboard even with the added:
PREFERRED_VERSION_imx-test = "00.00.00"
I'm not saying this config is not needed. What I'm saying is that I have a build failure that probably masks the need for this config.
Regards,
Nikolay
Fabio Estevam
reviewerHi Nikolay,
Quoted 6 lines · Nikolay Dimitrov
Right now fsl-image-machine-test fails on riotboard even with the added:
PREFERRED_VERSION_imx-test = "00.00.00"
I'm not saying this config is not needed. What I'm saying is that I have a build failure that probably masks the need for this config.
What is the build failure you are seeing?
Regards,
Fabio Estevam
Hi Fabio,
Quoted 4 lines · Fabio Estevam
Hi Nikolay,
On Wed, Apr 29, 2015 at 7:46 PM, Nikolay Dimitrov <[email protected]> wrote:
Quoted 8 lines
Quoted 6 lines
Right now fsl-image-machine-test fails on riotboard even with the added:
PREFERRED_VERSION_imx-test = "00.00.00"
I'm not saying this config is not needed. What I'm saying is that I have a build failure that probably masks the need for this config.
What is the build failure you are seeing?
$ bitbake fsl-image-machine-test Parsing recipes: 100% |#######################################################################################| Time: 00:00:31 Parsing of 1606 .bb files complete (0 cached, 1606 parsed). 2090 targets, 140 skipped, 0 masked, 0 errors. NOTE: Resolving any missing task queue dependencies NOTE: multiple providers are available for jpeg (jpeg, libjpeg-turbo) NOTE: consider defining a PREFERRED_PROVIDER entry to match jpeg NOTE: multiple providers are available for jpeg-native (jpeg-native, libjpeg-turbo-native) NOTE: consider defining a PREFERRED_PROVIDER entry to match jpeg-native
Build Configuration:
BB_VERSION = "1.27.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "Debian-7.8" TARGET_SYS = "arm-poky-linux-gnueabi" MACHINE = "imx6dl-riotboard" DISTRO = "poky" DISTRO_VERSION = "1.8+snapshot-20150430" TUNE_FEATURES = "arm armv7a vfp neon callconvention-hard cortexa9" TARGET_FPU = "vfp-neon"
meta
meta-yocto = "(nobranch):515a8b790e08a48aaf64a6b7237e2b39390e35f6"
meta-oe
meta-multimedia = "(nobranch):2080f15e86d3d8e1e1f65e16b014545fe538114c"
meta-fsl-arm = "(nobranch):6002fa0777327a4ca6ee5c0ec36fa1ce8d74087e"
meta-fsl-arm-extra = "riotboard-fix-machine-conf-v2:de4320c46fe5241a48f7a7f9ab691bbe41904746"
meta-fsl-demos = "(nobranch):d70213100bde874897b1126f26b9762bae7accef"
NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: fbset-modes: the directory ${WORKDIR}/${BP} (/home/picmaster/work/yocto-master-riotboard-test/build/tmp/work/imx6dl_riotboard-poky-linux-gnueabi/fbset-modes/0.1.0-r6/fbset-modes-0.1.0) pointed to by the S variable doesn't exist - please set S within the recipe to point to where the source has been unpacked to
ERROR: Function failed: do_compile (log file is located at /home/picmaster/work/yocto-master-riotboard-test/build/tmp/work/imx6dl_riotboard-poky-linux-gnueabi/imx-lib/1_3.10.53-1.1.0-r0/temp/log.do_compile.12173)
ERROR: Logfile of failure stored in: /home/picmaster/work/yocto-master-riotboard-test/build/tmp/work/imx6dl_riotboard-poky-linux-gnueabi/imx-lib/1_3.10.53-1.1.0-r0/temp/log.do_compile.12173
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 1 CROSS_COMPILE=arm-poky-linux-gnueabi- PLATFORM=IMX6Q INCLUDE=-I/home/picmaster/work/yocto-master-riotboard-test/build/tmp/work-shared/imx6dl-riotboard/kernel-source/include/uapi -I/home/picmaster/work/yocto-master-riotboard-test/build/tmp/work-shared/imx6dl-riotboard/kernel-source/include
-I/home/picmaster/work/yocto-master-riotboard-test/build/tmp/work-shared/imx6dl-riotboard/kernel-source/drivers/mxc/security/rng/include
-I/home/picmaster/work/yocto-master-riotboard-test/build/tmp/work-shared/imx6dl-riotboard/kernel-source/drivers/mxc/security/sahara2/include all
| make -C hdmi-cec all | make[1]: Entering directory `/home/picmaster/work/yocto-master-riotboard-test/build/tmp/work/imx6dl_riotboard-poky-linux-gnueabi/imx-lib/1_3.10.53-1.1.0-r0/imx-lib-3.10.53-1.1.0/hdmi-cec' | arm-poky-linux-gnueabi-gcc -march=armv7-a -mfloat-abi=hard -mfpu=neon -mtune=cortex-a9 --sysroot=/home/picmaster/work/yocto-master-riotboard-test/build/tmp/sysroots/imx6dl-riotboard -DIMX6Q -Wall -fPIC -O2 -pipe -g -feliminate-unused-debug-types -c mxc_hdmi-cec.c -o mxc_hdmi-cec.o | arm-poky-linux-gnueabi-gcc -march=armv7-a -mfloat-abi=hard -mfpu=neon -mtune=cortex-a9 --sysroot=/home/picmaster/work/yocto-master-riotboard-test/build/tmp/sysroots/imx6dl-riotboard -shared -nostartfiles -Wl,-soname,libcec.so.1 mxc_hdmi-cec.o -o libcec.so.1 -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed | ln -s libcec.so.1 libcec.so | arm-poky-linux-gnueabi-ar -rc libcec.a mxc_hdmi-cec.o | make[1]: Leaving directory `/home/picmaster/work/yocto-master-riotboard-test/build/tmp/work/imx6dl_riotboard-poky-linux-gnueabi/imx-lib/1_3.10.53-1.1.0-r0/imx-lib-3.10.53-1.1.0/hdmi-cec' | make -C ipu all | make[1]: Entering directory `/home/picmaster/work/yocto-master-riotboard-test/build/tmp/work/imx6dl_riotboard-poky-linux-gnueabi/imx-lib/1_3.10.53-1.1.0-r0/imx-lib-3.10.53-1.1.0/ipu' | arm-poky-linux-gnueabi-gcc -march=armv7-a -mfloat-abi=hard -mfpu=neon -mtune=cortex-a9 --sysroot=/home/picmaster/work/yocto-master-riotboard-test/build/tmp/sysroots/imx6dl-riotboard -DIMX6Q -I/home/picmaster/work/yocto-master-riotboard-test/build/tmp/work-shared/imx6dl-riotboard/kernel-source/include/uapi -I/home/picmaster/work/yocto-master-riotboard-test/build/tmp/work-shared/imx6dl-riotboard/kernel-source/include
-I/home/picmaster/work/yocto-master-riotboard-test/build/tmp/work-shared/imx6dl-riotboard/kernel-source/drivers/mxc/security/rng/include
-I/home/picmaster/work/yocto-master-riotboard-test/build/tmp/work-shared/imx6dl-riotboard/kernel-source/drivers/mxc/security/sahara2/include -Wall -fPIC -O2 -pipe -g -feliminate-unused-debug-types -c mxc_ipu_hl_lib_dummy.c -o mxc_ipu_hl_lib_dummy.o
| In file included from /home/picmaster/work/yocto-master-riotboard-test/build/tmp/work-shared/imx6dl-riotboard/kernel-source/include/uapi/linux/videodev2.h:64:0, | from mxc_ipu_hl_lib_dummy.c:39: | /home/picmaster/work/yocto-master-riotboard-test/build/tmp/work-shared/imx6dl-riotboard/kernel-source/include/uapi/linux/types.h:9:2: warning: #warning "Attempt to use kernel headers from user space, see http://kernelnewbies.org/KernelHeaders" [-Wcpp] | #warning "Attempt to use kernel headers from user space, see http://kernelnewbies.org/KernelHeaders" | ^ | In file included from mxc_ipu_hl_lib_dummy.c:40:0: | mxc_ipu_hl_lib.h:104:25: fatal error: linux/mxcfb.h: No such file or directory | #include <linux/mxcfb.h> | ^ | compilation terminated. | make[1]: *** [mxc_ipu_hl_lib_dummy.o] Error 1 | make[1]: Leaving directory `/home/picmaster/work/yocto-master-riotboard-test/build/tmp/work/imx6dl_riotboard-poky-linux-gnueabi/imx-lib/1_3.10.53-1.1.0-r0/imx-lib-3.10.53-1.1.0/ipu' | make: *** [ipu] Error 2 | ERROR: oe_runmake failed | WARNING: exit code 1 from a shell command. | ERROR: Function failed: do_compile (log file is located at /home/picmaster/work/yocto-master-riotboard-test/build/tmp/work/imx6dl_riotboard-poky-linux-gnueabi/imx-lib/1_3.10.53-1.1.0-r0/temp/log.do_compile.12173)
ERROR: Task 4701 (/home/picmaster/work/yocto-master-riotboard-test/sources/meta-fsl-arm/recipes-bsp/imx-lib/imx-lib_3.10.53-1.1.0.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2922 tasks of which 5 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:
Summary: 1 task failed:
/home/picmaster/work/yocto-master-riotboard-test/sources/meta-fsl-arm/recipes-bsp/imx-lib/imx-lib_3.10.53-1.1.0.bb, do_compile
Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
The obvious part is that someone is pulling-in imx-lib, which shouldn't be built with linux-fslc. I'm still to figure out why.
Regards,
Nikolay
Hi gang,
Quoted 5 lines · Nikolay Dimitrov
The obvious part is that someone is pulling-in imx-lib, which shouldn't be built with linux-fslc. I'm still to figure out why.
Regards, Nikolay
It looks like packagegroup-fsl-gstreamer-full pulls-in, gst-plugins-gl, gst-fsl-plugin and finally imx-lib, which causes the build failure.
Here's the source of the issue (meta-fsl-demos/recipes-fsl/packagegroups/packagegroup-fsl-gstreamer-full.bb):
# FIXME: i.MX6SL cannot use mesa for Graphics and it lacks 3D support,
# so skip it for now.
RDEPENDS_${PN}_remove_mx6sl = "gst-plugins-gl"
This fix prevents the build failure for warp (I already tested it). For imx6sl the situation is easy, as the both the hardware and kernel doesn't support gpu3d. But this is not the case for imx6dl and linux-fslc. We can't just remove gst-plugins-gl when building for imx6dl.
Probably we need something like this:
RDEPENDS_${PN}_remove_mx6dl = "${@bb.utils.contains('KERNEL_FEATURES', 'supports-gpu3d', '', 'gst-plugins-gl', d)}"
Any ideas?
Regards,
Nikolay
Quoted 22 lines · Nikolay Dimitrov
Quoted 4 lines · Nikolay Dimitrov
The obvious part is that someone is pulling-in imx-lib, which shouldn't be built with linux-fslc. I'm still to figure out why.
Regards, Nikolay
It looks like packagegroup-fsl-gstreamer-full pulls-in, gst-plugins-gl, gst-fsl-plugin and finally imx-lib, which causes the build failure.
Here's the source of the issue (meta-fsl-demos/recipes-fsl/packagegroups/packagegroup-fsl-gstreamer-full.bb):
# FIXME: i.MX6SL cannot use mesa for Graphics and it lacks 3D support,
# so skip it for now.
RDEPENDS_${PN}_remove_mx6sl = "gst-plugins-gl"This fix prevents the build failure for warp (I already tested it). For imx6sl the situation is easy, as the both the hardware and kernel doesn't support gpu3d. But this is not the case for imx6dl and linux-fslc. We can't just remove gst-plugins-gl when building for imx6dl.
Quoted 6 lines
Probably we need something like this:
RDEPENDS_${PN}_remove_mx6dl = "${@bb.utils.contains('KERNEL_FEATURES', 'supports-gpu3d', '', 'gst-plugins-gl', d)}"
Any ideas?
https://github.com/Freescale/meta-fsl-arm-extra/blob/master/conf/machine/m53evk.conf#L25
This should fix this all (replace the machine name, of course).
Signature · 3 lines
Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
Hi Otavio,
Quoted 25 lines · Otavio Salvador
Quoted 24 lines · Nikolay Dimitrov
Quoted 4 lines · Nikolay Dimitrov
The obvious part is that someone is pulling-in imx-lib, which shouldn't be built with linux-fslc. I'm still to figure out why.
Regards, Nikolay
It looks like packagegroup-fsl-gstreamer-full pulls-in, gst-plugins-gl, gst-fsl-plugin and finally imx-lib, which causes the build failure.
Here's the source of the issue (meta-fsl-demos/recipes-fsl/packagegroups/packagegroup-fsl-gstreamer-full.bb):
# FIXME: i.MX6SL cannot use mesa for Graphics and it lacks 3D support,
# so skip it for now.
RDEPENDS_${PN}_remove_mx6sl = "gst-plugins-gl"This fix prevents the build failure for warp (I already tested it). For imx6sl the situation is easy, as the both the hardware and kernel doesn't support gpu3d. But this is not the case for imx6dl and linux-fslc. We can't just remove gst-plugins-gl when building for imx6dl.
Probably we need something like this:
Quoted 8 lines
Quoted 4 lines
RDEPENDS_${PN}_remove_mx6dl = "${@bb.utils.contains('KERNEL_FEATURES', 'supports-gpu3d', '', 'gst-plugins-gl', d)}"
Any ideas?
https://github.com/Freescale/meta-fsl-arm-extra/blob/master/conf/machine/m53evk.conf#L25
This should fix this all (replace the machine name, of course).
Can you be more specific, please? I don't see anything that helps, but I could be wrong.
Regards,
Nikolay
Fabio Estevam
reviewerQuoted 2 lines · Nikolay Dimitrov
Can you be more specific, please? I don't see anything that helps, but I could be wrong.
I think Otavio's suggestion is for you to add:
XSERVER_DRIVER_imx6dl-riotboard = "xf86-video-fbdev"
Regards,
Fabio Estevam
Hi Fabio,
Quoted 7 lines · Fabio Estevam
Quoted 2 lines · Nikolay Dimitrov
Can you be more specific, please? I don't see anything that helps, but I could be wrong.
I think Otavio's suggestion is for you to add:
XSERVER_DRIVER_imx6dl-riotboard = "xf86-video-fbdev"
Thanks for the clarification. This doesn't work. As shared previously, the build failure is because of the unnecessary dependency to gst-plugins-gl.
Regards,
Nikolay
Quoted 18 lines · Nikolay Dimitrov
Several Yocto images fail to build because they're using packages that require imx6-specific hardware support (ASRC, VPU, GPU3D), which is not available in the mainline kernel. This patch fixes the following image builds:
- core-image-minimal
- core-image-base
- fsl-image-multimediaSigned-off-by Nikolay Dimitrov <[email protected]>--- conf/machine/imx6dl-riotboard.conf | 3 +++ 1 file changed, 3 insertions(+)conf/machine/imx6dl-riotboard.conf +0
-0
conf/machine/imx6dl-riotboard.conf PREFERRED_PROVIDER_virtual/kernel ?= "linux-fslc" · line 20
Quoted 6 lines
conf/machine/imx6dl-riotboard.conf +3
-0@@ -15,3 +15,6 @@ PREFERRED_PROVIDER_virtual/kernel ?= "linux-fslc" KERNEL_DEVICETREE = "imx6dl-riotboard.dtb" SERIAL_CONSOLE = "115200 ttymxc1" + +MACHINE_EXTRA_RRECOMMENDS_remove = "fsl-alsa-plugins" +MACHINE_GSTREAMER_PLUGIN_imx6dl-riotboard = ""
Is there some way to make this weaker? For example, these changes will be icorrect if [when?] you get the linux-fslc 3.14 kernel going.
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------
Quoted 24 lines · Gary Thomas
Quoted 23 lines · Nikolay Dimitrov
Several Yocto images fail to build because they're using packages that require
imx6-specific hardware support (ASRC, VPU, GPU3D), which is not available in
the mainline kernel. This patch fixes the following image builds:
- core-image-minimal
- core-image-base
- fsl-image-multimediaSigned-off-by Nikolay Dimitrov <[email protected]>--- conf/machine/imx6dl-riotboard.conf | 3 +++ 1 file changed, 3 insertions(+)conf/machine/imx6dl-riotboard.conf +0
-0@@ -15,3 +15,6 @@ PREFERRED_PROVIDER_virtual/kernel ?= "linux-fslc" KERNEL_DEVICETREE = "imx6dl-riotboard.dtb"
Quoted 9 lines
conf/machine/imx6dl-riotboard.conf PREFERRED_PROVIDER_virtual/kernel ?= "linux-fslc" · line 20
Quoted 5 lines
conf/machine/imx6dl-riotboard.conf +3
-0SERIAL_CONSOLE = "115200 ttymxc1" + +MACHINE_EXTRA_RRECOMMENDS_remove = "fsl-alsa-plugins" +MACHINE_GSTREAMER_PLUGIN_imx6dl-riotboard = ""Is there some way to make this weaker? For example, these changes will be icorrect if [when?] you get the linux-fslc 3.14 kernel going.
When he does this the forked 3.14 kernel will likely to become the default one and those can be removed.
When I have some free time I will try to come up with a generic way to 'inform' the BSP about the kernel features and avoid those hacks.
Signature · 3 lines
Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
Hi Otavio,
Quoted 35 lines · Otavio Salvador
Quoted 24 lines · Gary Thomas
Quoted 23 lines · Nikolay Dimitrov
Several Yocto images fail to build because they're using packages that require
imx6-specific hardware support (ASRC, VPU, GPU3D), which is not available in
the mainline kernel. This patch fixes the following image builds:
- core-image-minimal
- core-image-base
- fsl-image-multimediaSigned-off-by Nikolay Dimitrov <[email protected]>--- conf/machine/imx6dl-riotboard.conf | 3 +++ 1 file changed, 3 insertions(+)conf/machine/imx6dl-riotboard.conf +0
-0@@ -15,3 +15,6 @@ PREFERRED_PROVIDER_virtual/kernel ?= "linux-fslc" KERNEL_DEVICETREE = "imx6dl-riotboard.dtb"Quoted 9 lines
conf/machine/imx6dl-riotboard.conf PREFERRED_PROVIDER_virtual/kernel ?= "linux-fslc" · line 20
Quoted 5 lines
conf/machine/imx6dl-riotboard.conf +3
-0SERIAL_CONSOLE = "115200 ttymxc1" + +MACHINE_EXTRA_RRECOMMENDS_remove = "fsl-alsa-plugins" +MACHINE_GSTREAMER_PLUGIN_imx6dl-riotboard = ""Is there some way to make this weaker? For example, these changes will be icorrect if [when?] you get the linux-fslc 3.14 kernel going.
Quoted 2 lines
When he does this the forked 3.14 kernel will likely to become the default one and those can be removed.
Not exactly. We're doing work to enable Yocto to work with linux-fslc, and it would be unfair to throw this work on the junk. I would prefer to see both mainline and fsl kernels being able to be used in a Yocto build.
Quoted 2 lines
When I have some free time I will try to come up with a generic way to 'inform' the BSP about the kernel features and avoid those hacks.
This would be very welcome for cases like this. Thanks in advance for helping out.
Regards,
Nikolay
Hi Gary,
Quoted 23 lines · Gary Thomas
Quoted 22 lines · Nikolay Dimitrov
Several Yocto images fail to build because they're using packages that require
imx6-specific hardware support (ASRC, VPU, GPU3D), which is not available in
the mainline kernel. This patch fixes the following image builds:
- core-image-minimal
- core-image-base
- fsl-image-multimediaSigned-off-by Nikolay Dimitrov <[email protected]>--- conf/machine/imx6dl-riotboard.conf | 3 +++ 1 file changed, 3 insertions(+)conf/machine/imx6dl-riotboard.conf +0
-0@@ -15,3 +15,6 @@ PREFERRED_PROVIDER_virtual/kernel ?= "linux-fslc" KERNEL_DEVICETREE = "imx6dl-riotboard.dtb"
Quoted 9 lines
conf/machine/imx6dl-riotboard.conf PREFERRED_PROVIDER_virtual/kernel ?= "linux-fslc" · line 20
Quoted 5 lines
conf/machine/imx6dl-riotboard.conf +3
-0SERIAL_CONSOLE = "115200 ttymxc1" + +MACHINE_EXTRA_RRECOMMENDS_remove = "fsl-alsa-plugins" +MACHINE_GSTREAMER_PLUGIN_imx6dl-riotboard = ""Is there some way to make this weaker? For example, these changes will be icorrect if [when?] you get the linux-fslc 3.14 kernel going.
Yes, I was also thinking about it. My plan is to fix this when introducing the 3.14 support, but as of today there's no such support for riotboard, so I would prefer to push whatever I have working.
Regards,
Nikolay
Quoted 36 lines · Nikolay Dimitrov
Hi Gary,
Quoted 23 lines · Gary Thomas
Quoted 22 lines · Nikolay Dimitrov
Several Yocto images fail to build because they're using packages that require
imx6-specific hardware support (ASRC, VPU, GPU3D), which is not available in
the mainline kernel. This patch fixes the following image builds:
- core-image-minimal
- core-image-base
- fsl-image-multimediaSigned-off-by Nikolay Dimitrov <[email protected]>--- conf/machine/imx6dl-riotboard.conf | 3 +++ 1 file changed, 3 insertions(+)conf/machine/imx6dl-riotboard.conf +0
-0@@ -15,3 +15,6 @@ PREFERRED_PROVIDER_virtual/kernel ?= "linux-fslc" KERNEL_DEVICETREE = "imx6dl-riotboard.dtb"Quoted 9 lines
conf/machine/imx6dl-riotboard.conf PREFERRED_PROVIDER_virtual/kernel ?= "linux-fslc" · line 20
Quoted 5 lines
conf/machine/imx6dl-riotboard.conf +3
-0SERIAL_CONSOLE = "115200 ttymxc1" + +MACHINE_EXTRA_RRECOMMENDS_remove = "fsl-alsa-plugins" +MACHINE_GSTREAMER_PLUGIN_imx6dl-riotboard = ""Is there some way to make this weaker? For example, these changes will be icorrect if [when?] you get the linux-fslc 3.14 kernel going.
Quoted 4 lines
Yes, I was also thinking about it. My plan is to fix this when introducing the 3.14 support, but as of today there's no such support for riotboard, so I would prefer to push whatever I have working.
I've not looked at backporting to 3.14 (I was leaving that for you!) but how different would the device tree from 4.1-rc1 need to be to work with 3.14? Isn't that (plus the stitching to get it built) about all that's needed?
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------
Hi Gary,
Quoted 42 lines · Gary Thomas
Quoted 36 lines · Nikolay Dimitrov
Hi Gary,
Quoted 23 lines · Gary Thomas
Quoted 22 lines · Nikolay Dimitrov
Several Yocto images fail to build because they're using packages that require
imx6-specific hardware support (ASRC, VPU, GPU3D), which is not available in
the mainline kernel. This patch fixes the following image builds:
- core-image-minimal
- core-image-base
- fsl-image-multimediaSigned-off-by Nikolay Dimitrov <[email protected]>--- conf/machine/imx6dl-riotboard.conf | 3 +++ 1 file changed, 3 insertions(+)conf/machine/imx6dl-riotboard.conf +0
-0@@ -15,3 +15,6 @@ PREFERRED_PROVIDER_virtual/kernel ?= "linux-fslc" KERNEL_DEVICETREE = "imx6dl-riotboard.dtb"Quoted 9 lines
conf/machine/imx6dl-riotboard.conf PREFERRED_PROVIDER_virtual/kernel ?= "linux-fslc" · line 20
Quoted 5 lines
conf/machine/imx6dl-riotboard.conf +3
-0SERIAL_CONSOLE = "115200 ttymxc1" + +MACHINE_EXTRA_RRECOMMENDS_remove = "fsl-alsa-plugins" +MACHINE_GSTREAMER_PLUGIN_imx6dl-riotboard = ""Is there some way to make this weaker? For example, these changes will be icorrect if [when?] you get the linux-fslc 3.14 kernel going.
Quoted 4 lines
Yes, I was also thinking about it. My plan is to fix this when introducing the 3.14 support, but as of today there's no such support for riotboard, so I would prefer to push whatever I have working.
Quoted 4 lines
I've not looked at backporting to 3.14 (I was leaving that for you!) but how different would the device tree from 4.1-rc1 need to be to work with 3.14? Isn't that (plus the stitching to get it built) about all that's needed?
I don't expect any back-porting work for FSL 3.14.28 kernel, only DT work. My last experience of playing with DTs on several imx6 dual/quad customer boards showed that beyond the initial enthusiasm it always took much more than initially estimated, sometimes up to 2-3 days work.
I don't like to say that, but for most of us Yocto is a spare-time effort, which means its priority is below the commercial projects we're working on. But I can assure you that I would love to see 3.14.28 running on riotboard, just as you, and I'll do my best to make it happen.
If you feel enthusiastic about helping out with enabling the 3.14.28 kernel support, your help will be warmly appreciated.
Regards,
Nikolay
Quoted 55 lines · Nikolay Dimitrov
Hi Gary,
Quoted 42 lines · Gary Thomas
Quoted 36 lines · Nikolay Dimitrov
Hi Gary,
Quoted 23 lines · Gary Thomas
Quoted 22 lines · Nikolay Dimitrov
Several Yocto images fail to build because they're using packages that require
imx6-specific hardware support (ASRC, VPU, GPU3D), which is not available in
the mainline kernel. This patch fixes the following image builds:
- core-image-minimal
- core-image-base
- fsl-image-multimediaSigned-off-by Nikolay Dimitrov <[email protected]>--- conf/machine/imx6dl-riotboard.conf | 3 +++ 1 file changed, 3 insertions(+)conf/machine/imx6dl-riotboard.conf +0
-0@@ -15,3 +15,6 @@ PREFERRED_PROVIDER_virtual/kernel ?= "linux-fslc" KERNEL_DEVICETREE = "imx6dl-riotboard.dtb"Quoted 9 lines
conf/machine/imx6dl-riotboard.conf PREFERRED_PROVIDER_virtual/kernel ?= "linux-fslc" · line 20
Quoted 5 lines
conf/machine/imx6dl-riotboard.conf +3
-0SERIAL_CONSOLE = "115200 ttymxc1" + +MACHINE_EXTRA_RRECOMMENDS_remove = "fsl-alsa-plugins" +MACHINE_GSTREAMER_PLUGIN_imx6dl-riotboard = ""Is there some way to make this weaker? For example, these changes will be icorrect if [when?] you get the linux-fslc 3.14 kernel going.
Quoted 4 lines
Yes, I was also thinking about it. My plan is to fix this when introducing the 3.14 support, but as of today there's no such support for riotboard, so I would prefer to push whatever I have working.
Quoted 4 lines
I've not looked at backporting to 3.14 (I was leaving that for you!) but how different would the device tree from 4.1-rc1 need to be to work with 3.14? Isn't that (plus the stitching to get it built) about all that's needed?
I don't expect any back-porting work for FSL 3.14.28 kernel, only DT work. My last experience of playing with DTs on several imx6 dual/quad customer boards showed that beyond the initial enthusiasm it always took much more than initially estimated, sometimes up to 2-3 days work.
Quoted 8 lines
I don't like to say that, but for most of us Yocto is a spare-time effort, which means its priority is below the commercial projects we're working on. But I can assure you that I would love to see 3.14.28 running on riotboard, just as you, and I'll do my best to make it happen.
If you feel enthusiastic about helping out with enabling the 3.14.28 kernel support, your help will be warmly appreciated.
I'll give it a look and see what I come up with.
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------