[yocto] [meta-raspberrypi][PATCH 5/5] rpi-default-providers: Switch providers according to used gfx stack

2015-08-02 Thread Javier Martinez Canillas
ned-off-by: Derek Foreman [javier: Extend commit msg and made conditional instead removing userland] Signed-off-by: Javier Martinez Canillas --- conf/machine/include/rpi-default-providers.inc | 8 conf/machine/include/rpi-default-versions.inc | 2 +- 2 files changed, 5 insertions(+), 5

[yocto] [meta-raspberrypi][PATCH 3/5] sdcard_image-rpi.bbclass: Allocate more space for boot partition

2015-08-02 Thread Javier Martinez Canillas
boot partition size to 40 MiB to make sure that it has enough room for the kernel image, the DTBs and possible even a backup kernel. Signed-off-by: Derek Foreman [javier: Extended the commit message] Signed-off-by: Javier Martinez Canillas --- classes/sdcard_image-rpi.bbclass | 6 +++--- 1 file chang

[yocto] [meta-raspberrypi][PATCH 1/5] linux-raspberrypi.inc: Make kgdboc kernel param optional

2015-08-02 Thread Javier Martinez Canillas
users wants that are not remotely debugging the kernel over serial console so make it optional by adding a ENABLE_KGDB config option. Signed-off-by: Mauro Carvalho Chehab [javier: Extended commit message and made it conditional] Signed-off-by: Javier Martinez Canillas --- README

[yocto] [meta-raspberrypi][PATCH 0/5] Add support for 4.1 kernel with vc4 DRM/KMS driver

2015-08-02 Thread Javier Martinez Canillas
/ [1]: https://github.com/raspberrypi/linux/commit/739c586c8757 Best regards, --- Javier Martinez Canillas Open Source Group Samsung Research America Derek Foreman (4): rpi-config: Allow to mask GPU irqs sdcard_image-rpi.bbclass: Allocate more space for boot partition linux-raspberrypi: Add

[yocto] [meta-raspberrypi][PATCH 2/5] rpi-config: Allow to mask GPU irqs

2015-08-02 Thread Javier Martinez Canillas
] Signed-off-by: Javier Martinez Canillas --- README | 22 ++ recipes-bsp/bootfiles/rpi-config_git.bb | 6 ++ 2 files changed, 20 insertions(+), 8 deletions(-) diff --git a/README b/README index d70f21fe06ed..678c0eb4a4e3 100644 --- a

[yocto] [meta-raspberrypi][PATCH 4/5] linux-raspberrypi: Add a 4.1 linux kernel with vc4 support

2015-08-02 Thread Javier Martinez Canillas
ernel will be choosen though if the "vc4-gfx" feature has been added to the the DISTRO_FEATURES variable. Signed-off-by: Derek Foreman [javier: Extended commit message and set default preference to -1] Signed-off-by: Javier Martinez Canillas

Re: [yocto] [meta-raspberrypi][PATCH 0/5] Add support for 4.1 kernel with vc4 DRM/KMS driver

2015-08-04 Thread Javier Martinez Canillas
Hello Petter, Thanks a lot for your feedback. On 08/04/2015 11:16 AM, Petter Mabäcker wrote: > On 07/30/2015 10:34 AM, Javier Martinez Canillas wrote: >> Hello Andrei, >> >> This series adds support for Eric Anholt's v4.1 kernel, that has support >> for the vc4

Re: [yocto] [meta-raspberrypi][PATCH 5/5] rpi-default-providers: Switch providers according to used gfx stack

2015-08-04 Thread Javier Martinez Canillas
Hello Andreas, On 08/03/2015 10:14 PM, Andreas Müller wrote: > On Thu, Jul 30, 2015 at 10:34 AM, Javier Martinez Canillas > wrote: >> From: Derek Foreman >> >> The Raspberry Pi boards can use one of two graphics stacks: The "userland" >> user-space drive

Re: [yocto] [meta-raspberrypi][PATCH 5/5] rpi-default-providers: Switch providers according to used gfx stack

2015-08-04 Thread Javier Martinez Canillas
conf/local.conf and should work: MASK_GPU_INTERRUPT = "0x400" I also needed to add DISABLE_OVERSCAN = "1" > Andreas > [0]: http://dri.freedesktop.org/wiki/VC4/ Best regards, -- Javier Martinez Canillas Open Source Group Samsung Research America -- __

Re: [yocto] [meta-raspberrypi][PATCH 5/5] rpi-default-providers: Switch providers according to used gfx stack

2015-08-04 Thread Javier Martinez Canillas
Hello Khem, On 08/04/2015 09:01 PM, Khem Raj wrote: > >> On Jul 30, 2015, at 1:34 AM, Javier Martinez Canillas >> wrote: >> >> From: Derek Foreman >> >> The Raspberry Pi boards can use one of two graphics stacks: The "userland" >> user-sp

Re: [yocto] [meta-raspberrypi][PATCH 5/5] rpi-default-providers: Switch providers according to used gfx stack

2015-08-06 Thread Javier Martinez Canillas
Hello Khem, On 08/06/2015 04:54 AM, Khem Raj wrote: > On Tue, Aug 4, 2015 at 11:34 PM, Javier Martinez Canillas > wrote: >>> who defines the distro feature ? >>> >>> >> >> Distro features AFAICT are user defined options, you can for example

Re: [yocto] [meta-raspberrypi][PATCH 0/5] Add support for 4.1 kernel with vc4 DRM/KMS driver

2015-08-06 Thread Javier Martinez Canillas
Hello Petter, On 08/05/2015 10:48 PM, Petter Mabäcker wrote: > > > 2015-08-04 18:07 skrev Javier Martinez Canillas: > >> Hello Petter, >> > >> Thanks a lot for your feedback. >> >> On 08/04/2015 11:16 AM, Petter > Mabäcker wrote: >>

Re: [yocto] [meta-raspberrypi][PATCH 5/5] rpi-default-providers: Switch providers according to used gfx stack

2015-08-07 Thread Javier Martinez Canillas
Hello Andreas, Thanks a lot for your feedback. On 08/06/2015 09:41 AM, Andreas Müller wrote: > On Thu, Aug 6, 2015 at 8:59 AM, Javier Martinez Canillas > wrote: >> Yes, I in fact was not sure if it should be a distro or machine feature >> and then decided on the former bec

Re: [yocto] [meta-raspberrypi][PATCH 5/5] rpi-default-providers: Switch providers according to used gfx stack

2015-08-07 Thread Javier Martinez Canillas
Hello Andreas, On 08/07/2015 01:30 PM, Andreas Müller wrote: > On Fri, Aug 7, 2015 at 12:45 PM, Javier Martinez Canillas > wrote: >> Hello Andreas, >> >> Thanks a lot for your feedback. >> >> On 08/06/2015 09:41 AM, Andreas Müller wrote: >>> On

Re: [yocto] [meta-raspberrypi][PATCH 2/5] rpi-config: Allow to mask GPU irqs

2015-08-10 Thread Javier Martinez Canillas
Hello Andrei, Thanks a lot for your feedback and for picking patches #1 and #3! On 08/10/2015 12:44 AM, Andrei Gherzan wrote: > Hello, > > On Thu, Jul 30, 2015 at 10:34:08AM +0200, Javier Martinez Canillas wrote: >> From: Derek Foreman >> >> The rpi config.txt fi

Re: [yocto] [meta-raspberrypi][PATCH 4/5] linux-raspberrypi: Add a 4.1 linux kernel with vc4 support

2015-08-10 Thread Javier Martinez Canillas
Hello Andrei, On 08/10/2015 12:54 AM, Andrei Gherzan wrote: > Hi, > > On Thu, Jul 30, 2015 at 10:34:10AM +0200, Javier Martinez Canillas wrote: >> From: Derek Foreman >> >> This adds Eric Anholt's WIP kernel with dri/kms/3d support for the GPU on >> the

Re: [yocto] [meta-raspberrypi][PATCH 0/5] Add support for 4.1 kernel with vc4 DRM/KMS driver

2015-08-10 Thread Javier Martinez Canillas
Hello Andrei, On 08/10/2015 01:01 AM, Andrei Gherzan wrote: > Cheers! > > First of all good work. Additionally to the comments I made in patches, find > some here. > Thanks a lot. > On Thu, Aug 06, 2015 at 09:03:34AM +0200, Javier Martinez Canillas wrote: >> Hello Pet

Re: [yocto] [meta-raspberrypi][PATCH 5/5] rpi-default-providers: Switch providers according to used gfx stack

2015-08-10 Thread Javier Martinez Canillas
Hello Andrei, On 08/10/2015 01:05 AM, Andrei Gherzan wrote: > On Thu, Aug 06, 2015 at 08:59:56AM +0200, Javier Martinez Canillas wrote: >> Hello Khem, >> >> On 08/06/2015 04:54 AM, Khem Raj wrote: >>> On Tue, Aug 4, 2015 at 11:34 PM, Javier Martinez Canillas >

Re: [yocto] [meta-raspberrypi][PATCH 5/5] rpi-default-providers: Switch providers according to used gfx stack

2015-08-10 Thread Javier Martinez Canillas
b.com/schnitzeltony/meta-raspberrypi/commit/4a626add25c1d13dfa6d22c61f9804764f49301a > Fyi, I'm testing with some patches for mesa and libdrm on top of the set I posted and the commits are here in case you want to compare changes: https://github.com

Re: [yocto] [meta-raspberrypi][PATCH 0/5] Add support for 4.1 kernel with vc4 DRM/KMS driver

2015-08-10 Thread Javier Martinez Canillas
Hello Andrei, On 08/10/2015 11:34 PM, Andrei Gherzan wrote: > On Mon, Aug 10, 2015 at 10:02:03AM +0200, Javier Martinez Canillas wrote: [snip] >>>>> >>> >>> That would definitely be the preferate way but would involve some additional >>> work in tra

Re: [yocto] [meta-raspberrypi][PATCH 5/5] rpi-default-providers: Switch providers according to used gfx stack

2015-08-12 Thread Javier Martinez Canillas
Hello, On 08/10/2015 10:22 AM, Javier Martinez Canillas wrote: > Hello Andreas, > > On 08/10/2015 01:37 AM, Andreas Müller wrote: >>> Khem definitely has a very good point. Maybe his way of putting it in words >>> was >>> not that productive. But the core ide

Re: [yocto] [meta-raspberrypi][PATCH 5/5] rpi-default-providers: Switch providers according to used gfx stack

2015-08-13 Thread Javier Martinez Canillas
this is a mesa issue. I've asked Eric Anholt in #dri-devel on IRC if his kernel is supposed to work with mesa 10.5.8 or if there is a minimum version / sha1 that is needed. > Andreas > Best regards, -- Javier Martinez Canillas Open Source Group Samsung Research America -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto

Re: [yocto] [meta-raspberrypi][PATCH 5/5] rpi-default-providers: Switch providers according to used gfx stack

2015-08-13 Thread Javier Martinez Canillas
Hello, On 08/13/2015 09:22 AM, Javier Martinez Canillas wrote: > Hello Andreas, > > On 08/12/2015 10:22 PM, Andreas Müller wrote: >> On Wed, Aug 12, 2015 at 7:15 PM, Andreas Müller >> wrote: >>> FYI: I managed to get the vc4 driver loaded (should be in my repo >

Re: [yocto] [meta-raspberrypi][PATCH 5/5] rpi-default-providers: Switch providers according to used gfx stack

2015-08-13 Thread Javier Martinez Canillas
Hello Andreas, On 08/13/2015 06:00 PM, Andreas Müller wrote: > On Thu, Aug 13, 2015 at 5:43 PM, Javier Martinez Canillas > wrote: > Hi > > Thanks a lot!l. I am afraid my build machine at home (RPi is hobby) is > about to die for hard-disk issues. As soon as it's back I

[yocto] [meta-raspberrypi][PATCH v2 1/4] rpi-config: Allow to mask GPU irqs

2015-08-13 Thread Javier Martinez Canillas
-raspberrypi layer. Signed-off-by: Derek Foreman [javier: Made it a config option] Signed-off-by: Javier Martinez Canillas --- Changes in v2: - Fix commit message about mask GPU irq option. Suggested by Andrei Gherzan. README | 22 ++ recipes

[yocto] [meta-raspberrypi][PATCH v2 0/4] Add support for 4.1 kernel with vc4 DRM/KMS driver

2015-08-13 Thread Javier Martinez Canillas
ndreas Müller and Andrei Gherzan. Derek Foreman (3): rpi-config: Allow to mask GPU irqs linux-raspberrypi: Add a 4.1 linux kernel with vc4 support rpi-default-providers: Document how to switch providers for vc4 gfx stack Javier Martinez Canillas (1): README: Add

[yocto] [meta-raspberrypi][PATCH v2 2/4] linux-raspberrypi: Add a 4.1 linux kernel with vc4 support

2015-08-13 Thread Javier Martinez Canillas
an be chosen by changing the default providers. Signed-off-by: Derek Foreman [javier: Extended commit message and set default preference to -1] Signed-off-by: Javier Martinez Canillas --- Changes in v2: - Add a linux-raspberrypi-vc4 recipe insted of a linux-raspberrypi one. Suggested by P

[yocto] [meta-raspberrypi][PATCH v2 3/4] rpi-default-providers: Document how to switch providers for vc4 gfx stack

2015-08-13 Thread Javier Martinez Canillas
that case. Signed-off-by: Derek Foreman [javier: Extend commit msg and made conditional instead removing userland] Signed-off-by: Javier Martinez Canillas --- Changes in v2: - Don't add a feature and allow users to change the default provider manually aided by a comment. Suggested by And

[yocto] [meta-raspberrypi][PATCH v2 4/4] README: Add a section about graphic stacks

2015-08-13 Thread Javier Martinez Canillas
This patch adds to the README a section that explains the RPi can different graphics stacks and that the user can choose by manually changing providers. Signed-off-by: Javier Martinez Canillas --- Changes in v2: None README | 9 + 1 file changed, 9 insertions(+) diff --git a/README

Re: [yocto] [meta-raspberrypi][PATCH v2 4/4] README: Add a section about graphic stacks

2015-08-17 Thread Javier Martinez Canillas
Hello Andrei and Khem, Thanks a lot for your feedback. On 08/17/2015 09:57 AM, Andrei Gherzan wrote: > Hello, > > On Thursday, August 13, 2015, Khem Raj wrote: > >> >>> On Aug 13, 2015, at 10:07 AM, Javier Martinez Canillas < >> jav...@osg.samsung.com >

Re: [yocto] [meta-raspberrypi][PATCH v2 4/4] README: Add a section about graphic stacks

2015-08-24 Thread Javier Martinez Canillas
Hello, On 08/17/2015 11:58 AM, Javier Martinez Canillas wrote: > On 08/17/2015 09:57 AM, Andrei Gherzan wrote: >> On Thursday, August 13, 2015, Khem Raj wrote: [snip] >>>> >>>> +2.O. Graphic stacks >>>> +=== >>>> +The Ra

Re: [yocto] [meta-raspberrypi][PATCH v2 4/4] README: Add a section about graphic stacks

2015-10-21 Thread Javier Martinez Canillas
Hello Andrei, On 10/21/2015 02:32 PM, Andrei Gherzan wrote: > Hello Javier, > > On Mon, Aug 24, 2015 at 10:25:30PM +0200, Javier Martinez Canillas wrote: >> Hello, >> >> On 08/17/2015 11:58 AM, Javier Martinez Canillas wrote: >>> On 08/17/2015 09:57 AM, An

Re: [yocto] [meta-raspberrypi][PATCH v2 4/4] README: Add a section about graphic stacks

2015-10-21 Thread Javier Martinez Canillas
Hello Andreas, On 10/21/2015 04:55 PM, Andreas Müller wrote: > On Wed, Oct 21, 2015 at 3:48 PM, Javier Martinez Canillas > wrote: >> Hello Andrei, >> >> On 10/21/2015 02:32 PM, Andrei Gherzan wrote: >>> Hello Javier, >>> >>> On Mon, Aug 24,

[yocto] [meta-raspberrypi][PATCH v3 0/2] Add support for 4.2 kernel with vc4 DRM/KMS driver

2015-11-10 Thread Javier Martinez Canillas
y Andrei Gherzan. Derek Foreman (1): linux-raspberrypi: Add a 4.2.3 linux kernel with vc4 support Javier Martinez Canillas (1): README: Add a section about graphic stacks README | 17 + ..._defconfig-Enable-config-options-for-vc4-.patch | 40 +

[yocto] [meta-raspberrypi][PATCH v3 1/2] linux-raspberrypi: Add a 4.2.3 linux kernel with vc4 support

2015-11-10 Thread Javier Martinez Canillas
an be chosen by changing the default providers. Signed-off-by: Derek Foreman [javier: Extended commit message and set default preference to -1] Signed-off-by: Javier Martinez Canillas --- Changes in v3: - Update to latest vc4-kms-v3d-rpi2 branch sha1. Suggested by Andreas Müller. - Drop patches

[yocto] [meta-raspberrypi][PATCH v3 2/2] README: Add a section about graphic stacks

2015-11-10 Thread Javier Martinez Canillas
This patch adds a section to the README that explains the RPi have different graphics stacks and that the user can choose by manually changing providers. Signed-off-by: Javier Martinez Canillas --- Changes in v3: - Add explanation in the README graphics section how to choose the kernel that

Re: [yocto] [meta-raspberrypi][PATCH v3 0/2] Add support for 4.2 kernel with vc4 DRM/KMS driver

2015-11-20 Thread Javier Martinez Canillas
On 11/10/2015 11:45 AM, Javier Martinez Canillas wrote: > Hello Andrei, > > This series adds support for Eric Anholt's v4.2 kernel, that has support > for the vc4 DRM/KMS driver, which is the new open source graphics driver > stack for the Raspberry Pi to be used instead of

Re: [yocto] [meta-raspberrypi][PATCH v3 0/2] Add support for 4.2 kernel with vc4 DRM/KMS driver

2015-11-30 Thread Javier Martinez Canillas
On 11/20/2015 02:30 PM, Andreas Müller wrote: > On Fri, Nov 20, 2015 at 5:09 PM, Khem Raj wrote: >> On Fri, Nov 20, 2015 at 7:34 AM, Javier Martinez Canillas >> wrote: >>> On 11/10/2015 11:45 AM, Javier Martinez Canillas wrote: >>>> Hello Andrei, >>