* [meta-raspberrypi][PATCH v5] qtbase: enable Raspberry Pi support
@ 2015-11-15 12:31 Jonathan Liu
2015-11-15 17:31 ` Khem Raj
2015-12-02 22:05 ` Andrei Gherzan
0 siblings, 2 replies; 6+ messages in thread
From: Jonathan Liu @ 2015-11-15 12:31 UTC (permalink / raw)
To: yocto
[Support #16]
Signed-off-by: Jonathan Liu <net147@gmail.com>
---
conf/machine/include/rpi-base.inc | 3 +++
recipes-qt/qt5/qtbase_%.bbappend | 8 ++++++++
2 files changed, 11 insertions(+)
create mode 100644 recipes-qt/qt5/qtbase_%.bbappend
diff --git a/conf/machine/include/rpi-base.inc b/conf/machine/include/rpi-base.inc
index e097702..b390705 100644
--- a/conf/machine/include/rpi-base.inc
+++ b/conf/machine/include/rpi-base.inc
@@ -48,3 +48,6 @@ MACHINE_EXTRA_RRECOMMENDS += " kernel-modules"
SPLASH = "psplash-raspberrypi"
IMAGE_BOOT_FILES ?= "bcm2835-bootfiles/* ${KERNEL_IMAGETYPE};${SDIMG_KERNELIMAGE}"
+
+# Qt packages are machine specific due to RPi integration
+QT_PACKAGES_ARCH = "${MACHINE_ARCH}"
diff --git a/recipes-qt/qt5/qtbase_%.bbappend b/recipes-qt/qt5/qtbase_%.bbappend
new file mode 100644
index 0000000..7775e70
--- /dev/null
+++ b/recipes-qt/qt5/qtbase_%.bbappend
@@ -0,0 +1,8 @@
+do_configure_prepend_rpi() {
+ cat > ${S}/mkspecs/oe-device-extra.pri << 'EOF'
+EGLFS_DEVICE_INTEGRATION = eglfs_brcm
+QMAKE_INCDIR_EGL = $$[QT_SYSROOT]${includedir}/interface/vmcs_host/linux
+QMAKE_INCDIR_OPENGL_ES2 = $${QMAKE_INCDIR_EGL}
+QMAKE_LIBS_EGL = -lEGL -lGLESv2
+EOF
+}
--
2.6.2
^ permalink raw reply related [flat|nested] 6+ messages in thread* Re: [meta-raspberrypi][PATCH v5] qtbase: enable Raspberry Pi support
2015-11-15 12:31 [meta-raspberrypi][PATCH v5] qtbase: enable Raspberry Pi support Jonathan Liu
@ 2015-11-15 17:31 ` Khem Raj
2015-11-17 12:06 ` Jonathan Liu
2015-12-02 22:05 ` Andrei Gherzan
1 sibling, 1 reply; 6+ messages in thread
From: Khem Raj @ 2015-11-15 17:31 UTC (permalink / raw)
To: Jonathan Liu; +Cc: yocto@yoctoproject.org
On Sun, Nov 15, 2015 at 4:31 AM, Jonathan Liu <net147@gmail.com> wrote:
> [Support #16]
>
> Signed-off-by: Jonathan Liu <net147@gmail.com>
> ---
> conf/machine/include/rpi-base.inc | 3 +++
> recipes-qt/qt5/qtbase_%.bbappend | 8 ++++++++
> 2 files changed, 11 insertions(+)
> create mode 100644 recipes-qt/qt5/qtbase_%.bbappend
>
> diff --git a/conf/machine/include/rpi-base.inc b/conf/machine/include/rpi-base.inc
> index e097702..b390705 100644
> --- a/conf/machine/include/rpi-base.inc
> +++ b/conf/machine/include/rpi-base.inc
> @@ -48,3 +48,6 @@ MACHINE_EXTRA_RRECOMMENDS += " kernel-modules"
> SPLASH = "psplash-raspberrypi"
>
> IMAGE_BOOT_FILES ?= "bcm2835-bootfiles/* ${KERNEL_IMAGETYPE};${SDIMG_KERNELIMAGE}"
> +
> +# Qt packages are machine specific due to RPi integration
> +QT_PACKAGES_ARCH = "${MACHINE_ARCH}"
> diff --git a/recipes-qt/qt5/qtbase_%.bbappend b/recipes-qt/qt5/qtbase_%.bbappend
> new file mode 100644
> index 0000000..7775e70
> --- /dev/null
> +++ b/recipes-qt/qt5/qtbase_%.bbappend
> @@ -0,0 +1,8 @@
> +do_configure_prepend_rpi() {
> + cat > ${S}/mkspecs/oe-device-extra.pri << 'EOF'
> +EGLFS_DEVICE_INTEGRATION = eglfs_brcm
should this should be controlled based on a knob for userspace binary
driver or open source kernel driver is used.
> +QMAKE_INCDIR_EGL = $$[QT_SYSROOT]${includedir}/interface/vmcs_host/linux
> +QMAKE_INCDIR_OPENGL_ES2 = $${QMAKE_INCDIR_EGL}
> +QMAKE_LIBS_EGL = -lEGL -lGLESv2
> +EOF
> +}
> --
> 2.6.2
>
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: [meta-raspberrypi][PATCH v5] qtbase: enable Raspberry Pi support
2015-11-15 17:31 ` Khem Raj
@ 2015-11-17 12:06 ` Jonathan Liu
2015-11-17 15:34 ` Khem Raj
0 siblings, 1 reply; 6+ messages in thread
From: Jonathan Liu @ 2015-11-17 12:06 UTC (permalink / raw)
To: Khem Raj; +Cc: yocto@yoctoproject.org
On 16/11/2015 4:31 AM, Khem Raj wrote:
> On Sun, Nov 15, 2015 at 4:31 AM, Jonathan Liu <net147@gmail.com> wrote:
>> [Support #16]
>>
>> Signed-off-by: Jonathan Liu <net147@gmail.com>
>> ---
>> conf/machine/include/rpi-base.inc | 3 +++
>> recipes-qt/qt5/qtbase_%.bbappend | 8 ++++++++
>> 2 files changed, 11 insertions(+)
>> create mode 100644 recipes-qt/qt5/qtbase_%.bbappend
>>
>> diff --git a/conf/machine/include/rpi-base.inc b/conf/machine/include/rpi-base.inc
>> index e097702..b390705 100644
>> --- a/conf/machine/include/rpi-base.inc
>> +++ b/conf/machine/include/rpi-base.inc
>> @@ -48,3 +48,6 @@ MACHINE_EXTRA_RRECOMMENDS += " kernel-modules"
>> SPLASH = "psplash-raspberrypi"
>>
>> IMAGE_BOOT_FILES ?= "bcm2835-bootfiles/* ${KERNEL_IMAGETYPE};${SDIMG_KERNELIMAGE}"
>> +
>> +# Qt packages are machine specific due to RPi integration
>> +QT_PACKAGES_ARCH = "${MACHINE_ARCH}"
>> diff --git a/recipes-qt/qt5/qtbase_%.bbappend b/recipes-qt/qt5/qtbase_%.bbappend
>> new file mode 100644
>> index 0000000..7775e70
>> --- /dev/null
>> +++ b/recipes-qt/qt5/qtbase_%.bbappend
>> @@ -0,0 +1,8 @@
>> +do_configure_prepend_rpi() {
>> + cat > ${S}/mkspecs/oe-device-extra.pri << 'EOF'
>> +EGLFS_DEVICE_INTEGRATION = eglfs_brcm
> should this should be controlled based on a knob for userspace binary
> driver or open source kernel driver is used.
I am not sure whether the open source kernel driver is complete enough.
Have you tested it? Do you have any patch to get it running with Qt?
>
>> +QMAKE_INCDIR_EGL = $$[QT_SYSROOT]${includedir}/interface/vmcs_host/linux
>> +QMAKE_INCDIR_OPENGL_ES2 = $${QMAKE_INCDIR_EGL}
>> +QMAKE_LIBS_EGL = -lEGL -lGLESv2
>> +EOF
>> +}
>> --
>> 2.6.2
>>
>> --
>> _______________________________________________
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: [meta-raspberrypi][PATCH v5] qtbase: enable Raspberry Pi support
2015-11-17 12:06 ` Jonathan Liu
@ 2015-11-17 15:34 ` Khem Raj
0 siblings, 0 replies; 6+ messages in thread
From: Khem Raj @ 2015-11-17 15:34 UTC (permalink / raw)
To: Jonathan Liu; +Cc: yocto@yoctoproject.org
[-- Attachment #1: Type: text/plain, Size: 2161 bytes --]
On Tuesday, November 17, 2015, Jonathan Liu <net147@gmail.com> wrote:
> On 16/11/2015 4:31 AM, Khem Raj wrote:
>
>> On Sun, Nov 15, 2015 at 4:31 AM, Jonathan Liu <net147@gmail.com> wrote:
>>
>>> [Support #16]
>>>
>>> Signed-off-by: Jonathan Liu <net147@gmail.com>
>>> ---
>>> conf/machine/include/rpi-base.inc | 3 +++
>>> recipes-qt/qt5/qtbase_%.bbappend | 8 ++++++++
>>> 2 files changed, 11 insertions(+)
>>> create mode 100644 recipes-qt/qt5/qtbase_%.bbappend
>>>
>>> diff --git a/conf/machine/include/rpi-base.inc
>>> b/conf/machine/include/rpi-base.inc
>>> index e097702..b390705 100644
>>> --- a/conf/machine/include/rpi-base.inc
>>> +++ b/conf/machine/include/rpi-base.inc
>>> @@ -48,3 +48,6 @@ MACHINE_EXTRA_RRECOMMENDS += " kernel-modules"
>>> SPLASH = "psplash-raspberrypi"
>>>
>>> IMAGE_BOOT_FILES ?= "bcm2835-bootfiles/*
>>> ${KERNEL_IMAGETYPE};${SDIMG_KERNELIMAGE}"
>>> +
>>> +# Qt packages are machine specific due to RPi integration
>>> +QT_PACKAGES_ARCH = "${MACHINE_ARCH}"
>>> diff --git a/recipes-qt/qt5/qtbase_%.bbappend
>>> b/recipes-qt/qt5/qtbase_%.bbappend
>>> new file mode 100644
>>> index 0000000..7775e70
>>> --- /dev/null
>>> +++ b/recipes-qt/qt5/qtbase_%.bbappend
>>> @@ -0,0 +1,8 @@
>>> +do_configure_prepend_rpi() {
>>> + cat > ${S}/mkspecs/oe-device-extra.pri << 'EOF'
>>> +EGLFS_DEVICE_INTEGRATION = eglfs_brcm
>>>
>> should this should be controlled based on a knob for userspace binary
>> driver or open source kernel driver is used.
>>
> I am not sure whether the open source kernel driver is complete enough.
> Have you tested it? Do you have any patch to get it running with Qt?
It works or not is not the point. The fact it exists we need to make
adjustment for it
>
>> +QMAKE_INCDIR_EGL = $$[QT_SYSROOT]${includedir}/interface/vmcs_host/linux
>>> +QMAKE_INCDIR_OPENGL_ES2 = $${QMAKE_INCDIR_EGL}
>>> +QMAKE_LIBS_EGL = -lEGL -lGLESv2
>>> +EOF
>>> +}
>>> --
>>> 2.6.2
>>>
>>> --
>>> _______________________________________________
>>> yocto mailing list
>>> yocto@yoctoproject.org
>>> https://lists.yoctoproject.org/listinfo/yocto
>>>
>>
>
[-- Attachment #2: Type: text/html, Size: 3084 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [meta-raspberrypi][PATCH v5] qtbase: enable Raspberry Pi support
2015-11-15 12:31 [meta-raspberrypi][PATCH v5] qtbase: enable Raspberry Pi support Jonathan Liu
2015-11-15 17:31 ` Khem Raj
@ 2015-12-02 22:05 ` Andrei Gherzan
2015-12-02 22:08 ` Andrei Gherzan
1 sibling, 1 reply; 6+ messages in thread
From: Andrei Gherzan @ 2015-12-02 22:05 UTC (permalink / raw)
To: Jonathan Liu; +Cc: yocto
On Sun, Nov 15, 2015 at 11:31:25PM +1100, Jonathan Liu wrote:
> [Support #16]
>
> Signed-off-by: Jonathan Liu <net147@gmail.com>
> ---
Merged to master. Thank you.
--
Andrei Gherzan
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [meta-raspberrypi][PATCH v5] qtbase: enable Raspberry Pi support
2015-12-02 22:05 ` Andrei Gherzan
@ 2015-12-02 22:08 ` Andrei Gherzan
0 siblings, 0 replies; 6+ messages in thread
From: Andrei Gherzan @ 2015-12-02 22:08 UTC (permalink / raw)
To: Jonathan Liu; +Cc: yocto
On Wed, Dec 02, 2015 at 11:05:56PM +0100, Andrei Gherzan wrote:
> On Sun, Nov 15, 2015 at 11:31:25PM +1100, Jonathan Liu wrote:
> > [Support #16]
> >
> > Signed-off-by: Jonathan Liu <net147@gmail.com>
> > ---
>
> Merged to master. Thank you.
>
Ignore this. It was not merged. Messed up the threads. Sorry for the noise.
> --
> Andrei Gherzan
--
Andrei Gherzan
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2015-12-02 22:08 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-15 12:31 [meta-raspberrypi][PATCH v5] qtbase: enable Raspberry Pi support Jonathan Liu
2015-11-15 17:31 ` Khem Raj
2015-11-17 12:06 ` Jonathan Liu
2015-11-17 15:34 ` Khem Raj
2015-12-02 22:05 ` Andrei Gherzan
2015-12-02 22:08 ` Andrei Gherzan
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.