Hi Andreas, I will send a v2 series soon, that will include something very similar to your suggestion for the overlay parameter.
Herve -----Original Message----- From: Andreas Müller [mailto:schnitzelt...@googlemail.com] Sent: mercredi 18 mai 2016 23:47 To: Herve Jourdain <herve.jourd...@neuf.fr> Cc: Khem Raj <raj.k...@gmail.com>; Yocto Project <yocto@yoctoproject.org> Subject: Re: [yocto] [meta-raspberrypi][PATCH 5/8] Support for vc4 graphics driver: upgrade 4.4 kernel to 4.4.10 On Wed, May 18, 2016 at 7:32 PM, Herve Jourdain <herve.jourd...@neuf.fr> wrote: > One thing I didn't make configurable, but that maybe could be, is the > parameter passed to the overlay. > I selected cma-256, based on experience from other people, and because my > configuration is RPI2/3 with 1G of memory. > I realize it might not work well with RPI0/1, which have less memory > available... > So even if I believe cma-256 is a good default value, it might be made > selectable by the user, if we want to consider vc4 on RPI0/1. I played around with vc4 to but did not manage to get it work for an elder version 4.1 of kernel. I did in rpi-config: CMA_SIZE = "cma-256" CMA_SIZE_raspberrypi = "cma-64" CMA_SIZE_raspberrypi0 = "cma-128" ... echo "dtoverlay=vc4-kms-v3d-overlay,${CMA_SIZE}" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt This is nothing but an untested suggestion. Without testing your series I would be very happy to see this or very similar applied in master: Since vc4 works, RaspberryPi turned into my reference test board - e.g. have not seen kde5 running that nice on another board.. Andreas -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto