[meta-freescale] [meta-fsl-arm-extra] Problems building for RIoTboard

Nikolay Dimitrov picmaster at mail.bg
Fri Apr 24 07:05:29 PDT 2015


Hi Gary,

On 04/24/2015 04:43 PM, Gary Thomas wrote:
> On 2015-04-24 06:29, Nikolay Dimitrov wrote:
>> Hi Gary,
>>
>> On 04/24/2015 02:55 PM, Gary Thomas wrote:
>>> On 2015-04-24 05:43, Nikolay Dimitrov wrote:
>>>> Hi Gary,
>>>>
>>>> On 04/24/2015 01:04 PM, Gary Thomas wrote:
>>>>> The imx6dl-riotboard has been updated to Linux 4.0 kernel.
>>>>> Sadly, this breaks a number of related packages, in particular
>>>>> any that are directly tied to the kernel sources.  These packages
>>>>> no longer build for the RIoTboard:
>>>>>
>>>>> meta-fsl-arm/recipes-bsp/imx-lib/imx-lib_3.10.53-1.1.0.bb
>>>>> | mxc_ipu_hl_lib.h:104:25: fatal error: linux/mxcfb.h: No such file or
>>>>> directory
>>>>> |  #include <linux/mxcfb.h>
>>>>>
>>>>> meta-fsl-arm/recipes-multimedia/alsa/fsl-alsa-plugins_1.0.25.bb:
>>>>> |
>>>>> /local/p0382-cutting-edge_2014-11-21/tmp/work/imx6dl_riotboard-amltd-linux-gnueabi/fsl-alsa-plugins/1.0.25-r0/fsl-alsa-plugins-1.0.25/asrc/asrc_pair.h:28:28:
>>>>>
>>>>>
>>>>> fatal error: linux/mxc_asrc.h: No such file or directory
>>>>> |  #include <linux/mxc_asrc.h>
>>>>>
>>>>> I'm really interested in getting X going on my RIoTboard.
>>>>> Are there any workarounds (or fixes) that might get me going?
>>>>
>>>> Btw, mainline kernels have support only for the imx framebuffer, but no
>>>> additional acceleration (VPU, GL, probably ASRC also). All these extras
>>>> are available only with the vendor's kernel.
>>>>
>>>> If you need the acceleration, I would suggest going back to 3.14.28.
>>>
>>> So that would be linux-imx_3.14.28?  That's the only 3.14 kernel left
>>> in meta-fsl-arm* that I see.
>>
>> That's correct.
>
> Sadly, that doesn't work:
> | make[3]: *** No rule to make target
> `arch/arm/boot/dts/imx6dl-riotboard.dtb'.  Stop.
> | make[2]: *** [imx6dl-riotboard.dtb] Error 2
> | make[1]: *** [sub-make] Error 2
> | make: *** [all] Error 2
> | ERROR: oe_runmake failed
> | WARNING: exit code 1 from a shell command.
> | ERROR: Function failed: do_install (log file is located at
> /local/p0382-cutting-edge_2014-11-21/tmp/work/imx6dl_riotboard-amltd-linux-gnueabi/linux-imx/3.14.28-r0/temp/log.do_install.22216)
>
> ERROR: Task 71
> (/local/poky-cutting-edge/meta-fsl-arm/recipes-kernel/linux/linux-imx_3.14.28.bb,
> do_install) failed with exit code '1'

Ahh ok, no device tree. I'll take a look at it.

FYI: riotboard support was added in mainline kernel 3.17.0, so you can
use all versions 3.17.0-4.0.0 for experiments (basic imxfb works). But
I've built and tested all of these kernels outside Yocto.

Regards,
Nikolay


More information about the meta-freescale mailing list