<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-top:0;margin-bottom:0">Hi Luca - </p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Thanks for your response. </p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">I'm using the default ZCU102 machine here: <a href="https://github.com/Xilinx/meta-xilinx/blob/master/meta-xilinx-bsp/conf/machine/zcu102-zynqmp.conf" class="OWAAutoLink">https://github.com/Xilinx/meta-xilinx/blob/master/meta-xilinx-bsp/conf/machine/zcu102-zynqmp.conf</a> </p>
<p style="margin-top:0;margin-bottom:0">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? </p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Thanks,</p>
<p style="margin-top:0;margin-bottom:0">Emily</p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Luca Ceresoli <luca@lucaceresoli.net><br>
<b>Sent:</b> Friday, July 13, 2018 3:22:52 AM<br>
<b>To:</b> Emily Smith; meta-xilinx@lists.yoctoproject.org<br>
<b>Subject:</b> Re: [meta-xilinx] Mali Kernel Module for ZCU102</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Hi Emily,<br>
<br>
On 12/07/2018 17:12, Emily Smith wrote:<br>
> Hi Everyone - <br>
> <br>
> <br>
> I'm using poky and bitbake to build an OS for the Xilinx ZCU102 board,<br>
> and I'm having trouble with the Mali Kernel Module here: <br>
> <br>
> <a href="https://github.com/Xilinx/meta-xilinx/tree/master/meta-xilinx-bsp/recipes-graphics/mali">
https://github.com/Xilinx/meta-xilinx/tree/master/meta-xilinx-bsp/recipes-graphics/mali</a> <br>
> <br>
> <br>
> I thought it should be built with the /meta-xilinx/meta-xilinx-bsp<br>
> layer added in bitbake, but I'm not seeing a .ko file anywhere that's<br>
> produced, or on the board once I boot it. Nothing was showing up<br>
> with lsmod either. Do I need to enable anything, or set any variables<br>
> for this to be built in the first place? <br>
> <br>
> <br>
> Any information you can give me would be very helpful. <br>
<br>
kernel-module-mali is pulled in by libmali-xlnx:<br>
<br>
$ git grep -B1 kernel-module-mali<br>
.../libmali-xlnx.bb-RDEPENDS_${PN} = " \<br>
.../libmali-xlnx.bb: kernel-module-mali \<br>
<br>
Is libmali-xlnx built?<br>
<br>
A few things to check, in top-bottom order:<br>
1. your machine conf should have something like<br>
PREFERRED_PROVIDER_virtual/libgles2 = "libmali-xlnx"<br>
PREFERRED_PROVIDER_virtual/egl = "libmali-xlnx"<br>
2. libmali-xlnx should then be built<br>
3. libmali-xlnx RDEPENDS on kernel-module-mali, so it should<br>
be built as well<br>
<br>
Bye,<br>
-- <br>
Luca<br>
</div>
</span></font></div>
</body>
</html>