<div dir="auto">Hello,<div dir="auto">thank you very much for your answer. I read about the fw limitations but I couldn't find what exactly is working and what is not. This explains the error that I was getting.</div><div dir="auto">Thank you for your help!</div><div dir="auto"><br></div><div dir="auto">Luca</div></div><div class="gmail_extra"><br><div class="gmail_quote">Il 04 Mag 2017 05:46, "Herve Jourdain" <<a href="mailto:herve.jourdain@neuf.fr">herve.jourdain@neuf.fr</a>> ha scritto:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="FR" link="blue" vlink="purple"><div class="m_1583600550908207611WordSection1"><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Hi Luca,<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">The userland libraries do not support 64 bits. It’s not just a problem of compiling the libraries with a 64bits compiler, it’s because they interface with some FW in the Videocore IV that supports only 32 bits addressing, and that communicates with the userland through 32 bits â€œpointers” (at least for the HW decoding parts).<br>And this is proprietary FW, that AFAIK will not be rebuilt to support 64 bits.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">So the only thing that should be possible in 64 bits is to use the VC4 driver (open source), and disable the userland. The VC4 driver works fine, however you lose the HW decoding capabilities that the userland provides (H.264/MPEG2, + some audio).<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">As a consequence, anything that uses those or other userland features (gst-omx/omxplayer/…) can’t be compiled or run in 64bits.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">What should work, though, is Wayland in 64bits using VC4 driver (at least, I had that working with a previous kernel version). But anything playing AV will have to resort back to using SW decode, AFAIK.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Cheers,<br>Herve<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif"> <a href="mailto:yocto-bounces@yoctoproject.org" target="_blank">yocto-bounces@yoctoproject.org</a> [mailto:<a href="mailto:yocto-bounces@yoctoproject.org" target="_blank">yocto-bounces@<wbr>yoctoproject.org</a>] <b>On Behalf Of </b>Luca Carlon<br><b>Sent:</b> mercredi 3 mai 2017 18:19<br><b>To:</b> Khem Raj <<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>><br><b>Cc:</b> <a href="mailto:yocto@yoctoproject.org" target="_blank">yocto@yoctoproject.org</a><br><b>Subject:</b> ***SPAM*** Re: [yocto] [meta-raspberrypi] Building rpi-test-image for Pi3 64 bit<u></u><u></u></span></p><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">What I'd like to be able to do is setup is a 64bit system including the libraries from the userland repo: <a href="https://github.com/raspberrypi/userland" target="_blank">https://github.com/<wbr>raspberrypi/userland</a>. I suspect vc4graphic is something different, isn't it?<br>But maybe you're right and those libs will never be built, as I see that according to <a href="https://github.com/raspberrypi/userland/pull/347" target="_blank">https://github.com/<wbr>raspberrypi/userland/pull/347</a> not everything builds in userland. In the recipe I however see that the ARM64 macro is defined and so I'm asking myself which libraries are currently supported and which are not. Anyone who knows?<br>Thank you!<br><br>Luca<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">On Wed, May 3, 2017 at 2:35 PM, Khem Raj <<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>> wrote:<u></u><u></u></p><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm"><div><p class="MsoNormal"><u></u> <u></u></p><div><div><p class="MsoNormal">On Wed, May 3, 2017 at 8:28 AM Luca Carlon <<a href="mailto:carlon.luca@gmail.com" target="_blank">carlon.luca@gmail.com</a>> wrote:<u></u><u></u></p></div><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm"><div><p class="MsoNormal">Hello,<u></u><u></u></p><div><p class="MsoNormal">thank you for your help. I followed your advice and I'm now able to build rpi-test-image for raspberrypi2 and raspberrypi3. When I try raspberrypi3-64 instead I'm getting a few errors. I fixed one build error, but then I got: <a href="https://pastebin.com/pL2mei9s" target="_blank">https://pastebin.com/<wbr>pL2mei9s</a>. It seems that those libs were not added to the sysroot for some reason. I think those come from the userspace package probably. As it seems to work for the other machines I'm trying to determine what difference raspberrypi3-64 is introducing but for the moment I'm failing. Any idea what is causing this error? Are you able to build rpi-test-image? rpi-basic-image seems to work but not rpi-test-image, which includes omxplayer and other libs that I need like libEGL, libGLESv2, libopenmax etc...<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">These are my current conf files:<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal"><a href="https://pastebin.com/LJnRfDUj" target="_blank">https://pastebin.com/LJnRfDUj</a><u></u><u></u></p></div><div><p class="MsoNormal"><a href="https://pastebin.com/axt9RLQS" target="_blank">https://pastebin.com/axt9RLQS</a><u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Any idea why those libs cannot be found?<u></u><u></u></p></div><div><p class="MsoNormal">Thank you!<u></u><u></u></p></div><div><p class="MsoNormal">Regards.<u></u><u></u></p></div></div></blockquote><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">I don't know if anyone here has got GUI up with rpi64 using yocto yet however you could try to use vc4 graphics drivers by adding "vc4graphic" to MACHINE_FEATURES<u></u><u></u></p></div><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm"><div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Luca<u></u><u></u></p></div></div><div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">On Sat, Apr 29, 2017 at 9:40 AM, Andrea Galbusera <<a href="mailto:gizero@gmail.com" target="_blank">gizero@gmail.com</a>> wrote:<u></u><u></u></p><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm"><div><div><div><p class="MsoNormal">On Sat, Apr 29, 2017 at 2:39 AM, Luca Carlon <<a href="mailto:carlon.luca@gmail.com" target="_blank">carlon.luca@gmail.com</a>> wrote:<u></u><u></u></p><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm"><div><p class="MsoNormal">Hello,<br>thank you very much for your advice. It seems I can build both a minimal image and rpi-basic-image. I would like to test to see if the Pi is able to boot with these images but it seems that the images directory does not contain any sdimg file. By reading <a href="https://github.com/agherzan/meta-raspberrypi" target="_blank">https://github.com/agherzan/<wbr>meta-raspberrypi</a> and <a href="https://github.com/Nuand/bladeRF/wiki/Creating-Linux-based-Embedded-System-Images-with-Yocto" target="_blank">https://github.com/Nuand/<wbr>bladeRF/wiki/Creating-Linux-<wbr>based-Embedded-System-Images-<wbr>with-Yocto</a> it seems I should find a sdimg file to flash to the sdcard. I suppose this image file contains both the boot and rootfs partitions. But it seems I do not see this image at all, this is a list of what I can see in tmp/deploy/images/<wbr>raspberrypi3-64: <a href="https://pastebin.com/8XsRHzUY" target="_blank">https://pastebin.com/8XsRHzUY</a>. I see the rootfs filesystem that I can extract in a partition, but not the boot partition the Pi needs. Maybe I'm missing some line in the conf files?<u></u><u></u></p></div></blockquote><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">If you are using the local.conf you previously posted, the line:<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">IMAGE_FSTYPES = "tar.xz"<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">is overriding default configuration from rpi-base.inc in meta-raspberrypi which is:<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">IMAGE_FSTYPES ?= "tar.bz2 ext3 rpi-sdimg"<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">You can also consider using wic image format to generate a flashable image (see Yocto documentation on how to do that).<u></u><u></u></p></div></div></div></div></blockquote></div><p class="MsoNormal"><u></u> <u></u></p></div><p class="MsoNormal"><span class="m_1583600550908207611hoenzb"><span style="color:#888888">--</span></span><span style="color:#888888"><br><span class="m_1583600550908207611hoenzb">______________________________<wbr>_________________</span><br><span class="m_1583600550908207611hoenzb">yocto mailing list</span><br><span class="m_1583600550908207611hoenzb"><a href="mailto:yocto@yoctoproject.org" target="_blank">yocto@yoctoproject.org</a></span><br><span class="m_1583600550908207611hoenzb"><a href="https://lists.yoctoproject.org/listinfo/yocto" target="_blank">https://lists.yoctoproject.<wbr>org/listinfo/yocto</a></span></span><u></u><u></u></p></blockquote></div></div></blockquote></div><p class="MsoNormal"><u></u> <u></u></p></div></div></div></blockquote></div></div>