Il 03 mag 2017 6:19 PM, "Luca Carlon" <carlon.l...@gmail.com> ha scritto:
What I'd like to be able to do is setup is a 64bit system including the libraries from the userland repo: https://github.com/raspberrypi/userland. I suspect vc4graphic is something different, isn't it? But maybe you're right and those libs will never be built, as I see that according to https://github.com/raspberrypi/userland/pull/347 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? Thank you! As far as I know, machine configuration for raspberrypi3-64, at least in master branch of meta-raspberry does set vc4graphic in MACHINE_FEATURES, which in turn selects mesa instead of userland exclusively. This is what the metadata say, and what I recently experimented myself while switching to 64bit builds. I'm not using graphics, but found convenient to monitor RPi temperature via vcgencmd tool that comes with userland. Had a recipe of mine RDEPENDing on userland and found out that this was breaking the 64bit build. For me it was just a matter of using a different source for temperature monitoring. In the end, Herve's explanation gives the more technical background. Luca On Wed, May 3, 2017 at 2:35 PM, Khem Raj <raj.k...@gmail.com> wrote: > > On Wed, May 3, 2017 at 8:28 AM Luca Carlon <carlon.l...@gmail.com> wrote: > >> Hello, >> 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: https://pastebin.com/pL2mei9s. 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... >> >> These are my current conf files: >> >> https://pastebin.com/LJnRfDUj >> https://pastebin.com/axt9RLQS >> >> Any idea why those libs cannot be found? >> Thank you! >> Regards. >> > > 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 > >> >> Luca >> >> On Sat, Apr 29, 2017 at 9:40 AM, Andrea Galbusera <giz...@gmail.com> >> wrote: >> >>> On Sat, Apr 29, 2017 at 2:39 AM, Luca Carlon <carlon.l...@gmail.com> >>> wrote: >>> >>>> Hello, >>>> 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 https://github.com/agherzan/me >>>> ta-raspberrypi and https://github.com/Nuand/blade >>>> RF/wiki/Creating-Linux-based-Embedded-System-Images-with-Yocto 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/raspberrypi3-64: https://pastebin.com/8XsRHzUY. 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? >>>> >>> >>> If you are using the local.conf you previously posted, the line: >>> >>> IMAGE_FSTYPES = "tar.xz" >>> >>> is overriding default configuration from rpi-base.inc in >>> meta-raspberrypi which is: >>> >>> IMAGE_FSTYPES ?= "tar.bz2 ext3 rpi-sdimg" >>> >>> You can also consider using wic image format to generate a flashable >>> image (see Yocto documentation on how to do that). >>> >> >> -- >> _______________________________________________ >> yocto mailing list >> yocto@yoctoproject.org >> https://lists.yoctoproject.org/listinfo/yocto >> >
-- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto