* cubox-i kernel-module-imx-gpu-viv compilatin issue
@ 2016-08-20 22:59 Piotr Król
2016-08-22 17:21 ` Otavio Salvador
0 siblings, 1 reply; 4+ messages in thread
From: Piotr Król @ 2016-08-20 22:59 UTC (permalink / raw)
To: meta-freescale
Hi all,
I'm following this instructions to build cubox-i multimedia image:
mkdir ~/bin
curl http://commondatastorage.googleapis.com/git-repo-downloads/repo >
~/bin/repo
chmod a+x ~/bin/repo
PATH=${PATH}:~/bin
mkdir fsl-community-bsp
cd fsl-community-bsp
repo init -u https://github.com/Freescale/fsl-community-bsp-platform -b
krogoth
repo sync
. ./setup-environment build
Then set MACHINE ?= 'cubox-i' in build/conf/local.conf and run:
bitbake fsl-image-multimedia
In results I get kernel-module-imx-gpu-viv compilation error:
gc_hal_kernel_platform_imx6q14.c:81:31: fatal error: linux/busfreq-imx.h: No such file or directory
(...)
gc_hal_kernel_os.c:5871:5: error: implicit declaration of function 'dmac_map_area'
Full log [1]. Anyone experienced that issue ? I saw some posts about
that [2][3], but those address issue in older kernels and default for
cubox-i is 4.4.
From what I understand functions like dmac_map_area should not be used
directly, but through dma-mapping API ie. arm_dma_map_sg or even
arm_dma_sync_sg_for_cpu, arm_dma_sync_sg_for_device. Is that correct
understanding ?
Does kernel-module-imx-gpu-viv requires some major rewrite ?
If yes then how multimedia image ie. with VPU support can be built using
meta-freescale ?
[1] http://paste.ubuntu.com/23073011/
[2] https://lists.yoctoproject.org/pipermail/meta-freescale/2015-October/016144.html
[3] https://lists.yoctoproject.org/pipermail/meta-freescale/2015-October/016149.html
--
Best Regards,
Piotr Król
Embedded Systems Consultant
http://3mdeb.com | @3mdeb_com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: cubox-i kernel-module-imx-gpu-viv compilatin issue
2016-08-20 22:59 cubox-i kernel-module-imx-gpu-viv compilatin issue Piotr Król
@ 2016-08-22 17:21 ` Otavio Salvador
2016-08-22 17:50 ` Carlos Rafael Giani
0 siblings, 1 reply; 4+ messages in thread
From: Otavio Salvador @ 2016-08-22 17:21 UTC (permalink / raw)
To: Piotr Król, Carlos Rafael Giani; +Cc: meta-freescale
Hello,
On Sat, Aug 20, 2016 at 7:59 PM, Piotr Król <piotr.krol@3mdeb.com> wrote:
> I'm following this instructions to build cubox-i multimedia image:
>
> mkdir ~/bin
> curl http://commondatastorage.googleapis.com/git-repo-downloads/repo >
> ~/bin/repo
> chmod a+x ~/bin/repo
> PATH=${PATH}:~/bin
> mkdir fsl-community-bsp
> cd fsl-community-bsp
> repo init -u https://github.com/Freescale/fsl-community-bsp-platform -b
> krogoth
> repo sync
>
> . ./setup-environment build
>
> Then set MACHINE ?= 'cubox-i' in build/conf/local.conf and run:
>
> bitbake fsl-image-multimedia
>
> In results I get kernel-module-imx-gpu-viv compilation error:
>
> gc_hal_kernel_platform_imx6q14.c:81:31: fatal error: linux/busfreq-imx.h: No such file or directory
This is because CuBox does not use the i.MX kernel and thus does not
offer the GPU support.
Added Carlos, the board maintainer, on Cc.
--
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: cubox-i kernel-module-imx-gpu-viv compilatin issue
2016-08-22 17:21 ` Otavio Salvador
@ 2016-08-22 17:50 ` Carlos Rafael Giani
2016-08-22 23:20 ` Piotr Król
0 siblings, 1 reply; 4+ messages in thread
From: Carlos Rafael Giani @ 2016-08-22 17:50 UTC (permalink / raw)
To: Otavio Salvador, Piotr Król; +Cc: meta-freescale
cubox-i is not fully supported in meta-fsl-arm-extra anymore. You are
limited to the FSLC kernel with it. See
https://github.com/Freescale/meta-fsl-arm-extra/blob/master/conf/machine/cubox-i.conf#L17
.
For full support, you need to contact SolidRun.
On 2016-08-22 19:21, Otavio Salvador wrote:
> Hello,
>
> On Sat, Aug 20, 2016 at 7:59 PM, Piotr Król <piotr.krol@3mdeb.com> wrote:
>> I'm following this instructions to build cubox-i multimedia image:
>>
>> mkdir ~/bin
>> curl http://commondatastorage.googleapis.com/git-repo-downloads/repo >
>> ~/bin/repo
>> chmod a+x ~/bin/repo
>> PATH=${PATH}:~/bin
>> mkdir fsl-community-bsp
>> cd fsl-community-bsp
>> repo init -u https://github.com/Freescale/fsl-community-bsp-platform -b
>> krogoth
>> repo sync
>>
>> . ./setup-environment build
>>
>> Then set MACHINE ?= 'cubox-i' in build/conf/local.conf and run:
>>
>> bitbake fsl-image-multimedia
>>
>> In results I get kernel-module-imx-gpu-viv compilation error:
>>
>> gc_hal_kernel_platform_imx6q14.c:81:31: fatal error: linux/busfreq-imx.h: No such file or directory
> This is because CuBox does not use the i.MX kernel and thus does not
> offer the GPU support.
>
> Added Carlos, the board maintainer, on Cc.
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: cubox-i kernel-module-imx-gpu-viv compilatin issue
2016-08-22 17:50 ` Carlos Rafael Giani
@ 2016-08-22 23:20 ` Piotr Król
0 siblings, 0 replies; 4+ messages in thread
From: Piotr Król @ 2016-08-22 23:20 UTC (permalink / raw)
To: Carlos Rafael Giani; +Cc: meta-freescale, Otavio Salvador
On Mon, Aug 22, 2016 at 07:50:41PM +0200, Carlos Rafael Giani wrote:
> cubox-i is not fully supported in meta-fsl-arm-extra anymore. You are
> limited to the FSLC kernel with it. See https://github.com/Freescale/meta-fsl-arm-extra/blob/master/conf/machine/cubox-i.conf#L17
Hi Carlos, Otavio,
thanks for your answers. I'm trying to utilize this process for
HummingBoard and documentation say that I should use cubox-i machine
configuration.
Maybe it is possible to fix stuff so fsl-image-multimedia and
fsl-image-multimedia-full will not build for cubox-i machine or build
only with FSLC kernel, so other people will not have problems with that
board ? Any way I can help with that ?
What I'm trying to achieve is to test VPU with mainline kernel by
playing couple video files. Ultimately I would like to try Qt WebEngine
with HTML5 video content, but I assume this may be no so straight
forward path. Is it possible with meta-freescale or I should take other
approach ?
What is missing in this cubox-i to support HummingBoard platform ?
Any advise how to try hardware decoding with mainline would be
appreciated.
--
Best Regards,
Piotr Król
Embedded Systems Consultant
http://3mdeb.com | @3mdeb_com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-08-22 23:21 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-20 22:59 cubox-i kernel-module-imx-gpu-viv compilatin issue Piotr Król
2016-08-22 17:21 ` Otavio Salvador
2016-08-22 17:50 ` Carlos Rafael Giani
2016-08-22 23:20 ` Piotr Król
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.