[meta-xilinx] Mali Kernel Module for ZCU102
Emily Smith
easmith5 at uchicago.edu
Fri Jul 13 09:32:38 PDT 2018
Hi Luca -
Thanks for your response.
I'm using the default ZCU102 machine here: https://github.com/Xilinx/meta-xilinx/blob/master/meta-xilinx-bsp/conf/machine/zcu102-zynqmp.conf
which doesn't seem to have those lines you mentioned. Adding them gives additional errors with providing virtual/libgl. Are those PREFERRED_PROVIDER settings necessary for using the Mali GPU on the board? Or could I just add an RDEPENDS for libmali-xlnx to the recipe I'm working with?
Thanks,
Emily
________________________________
From: Luca Ceresoli <luca at lucaceresoli.net>
Sent: Friday, July 13, 2018 3:22:52 AM
To: Emily Smith; meta-xilinx at lists.yoctoproject.org
Subject: Re: [meta-xilinx] Mali Kernel Module for ZCU102
Hi Emily,
On 12/07/2018 17:12, Emily Smith wrote:
> Hi Everyone -
>
>
> I'm using poky and bitbake to build an OS for the Xilinx ZCU102 board,
> and I'm having trouble with the Mali Kernel Module here:
>
> https://github.com/Xilinx/meta-xilinx/tree/master/meta-xilinx-bsp/recipes-graphics/mali
>
>
> I thought it should be built with the /meta-xilinx/meta-xilinx-bsp
> layer added in bitbake, but I'm not seeing a .ko file anywhere that's
> produced, or on the board once I boot it. Nothing was showing up
> with lsmod either. Do I need to enable anything, or set any variables
> for this to be built in the first place?
>
>
> Any information you can give me would be very helpful.
kernel-module-mali is pulled in by libmali-xlnx:
$ git grep -B1 kernel-module-mali
.../libmali-xlnx.bb-RDEPENDS_${PN} = " \
.../libmali-xlnx.bb: kernel-module-mali \
Is libmali-xlnx built?
A few things to check, in top-bottom order:
1. your machine conf should have something like
PREFERRED_PROVIDER_virtual/libgles2 = "libmali-xlnx"
PREFERRED_PROVIDER_virtual/egl = "libmali-xlnx"
2. libmali-xlnx should then be built
3. libmali-xlnx RDEPENDS on kernel-module-mali, so it should
be built as well
Bye,
--
Luca
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-xilinx/attachments/20180713/6fb5c8b2/attachment-0001.html>
More information about the meta-xilinx
mailing list