[yocto] [meta-java] Use openjdk-8 as javac and java VM
Hi all I am currently struggling with selecting the Java virtual machine and Java compiler. I'd like to use the Java VM and Java Compiler provided by openjdk-8-native in the meta-java layer. It was possible to build openjdk-8-native without any problems but after sourcing the environment-script the javac command points to the compiler installed by ecj-bootstrap-native and the java command points to the VM installed by cacao-native. Afterwards I tried to add openjdk-8 as a provider for "virtual/javac-native" and "virtual/java-native" but then the image isn't buildable due to recursive inclusions. How can I select the java vm and java compiler from openjdk-8 as my default compiler/VM? Can anybody assist me? Thanks in advance Michael -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] pwauth: Unable to recognise the format of the input file (gobject-introspection disabled)
Hi, I am getting issue in pwauth: "Unable to recognize the format of the input file". ERROR: pwauth-2.3.11-r0 do_package: objcopy failed with exit code 256 (cmd was 'mipsisa32r2el-axis-linux-gnu-objcopy' --only-keep-debug '/home/ashishs/dists/jangal-poky-master/builds/q3505/tmp/work/mips32r2el-nf-poky-linux/pwauth/2.3.11-r0/package/usr/sbin/pwauth' '/home/ashishs/dists/jangal-poky-master/builds/q3505/tmp/work/mips32r2el-nf-poky-linux/pwauth/2.3.11-r0/package/usr/sbin/.debug/pwauth'): mipsisa32r2el-axis-linux-gnu-objcopy: Unable to recognise the format of the input file `/home/ashishs/dists/jangal-poky-master/builds/q3505/tmp/work/mips32r2el-nf-poky-linux/pwauth/2.3.11-r0/package/usr/sbin/pwauth' ERROR: pwauth-2.3.11-r0 do_package: Function failed: split_and_strip_files ERROR: Logfile of failure stored in: /home/ashishs/dists/jangal-poky-master/builds/q3505/tmp/work/mips32r2el-nf-poky-linux/pwauth/2.3.11-r0/temp/log.do_package.27212 ERROR: Task 11 (/home/ashishs/dists/jangal-poky-master/meta-axis/recipes-httpd/pwauth/pwauth_2.3.11.bb, do_package) failed with exit code '1' NOTE: Tasks Summary: Attempted 447 tasks of which 438 didn't need to be rerun and 1 failed. log.do_package.27212 says: DEBUG: Executing python function sstate_task_prefunc DEBUG: Python function sstate_task_prefunc finished DEBUG: Executing python function do_package DEBUG: Executing python function package_get_auto_pr DEBUG: Python function package_get_auto_pr finished DEBUG: Executing python function perform_packagecopy DEBUG: Python function perform_packagecopy finished DEBUG: Executing python function split_and_strip_files ERROR: objcopy failed with exit code 256 (cmd was 'mipsisa32r2el-axis-linux-gnu-objcopy' --only-keep-debug '/home/ashishs/dists/jangal-poky-master/builds/q3505/tmp/work/mips32r2el-nf-poky-linux/pwauth/2.3.11-r0/package/usr/sbin/pwauth' '/home/ashishs/dists/jangal-poky-master/builds/q3505/tmp/work/mips32r2el-nf-poky-linux/pwauth/2.3.11-r0/package/usr/sbin/.debug/pwauth'): mipsisa32r2el-axis-linux-gnu-objcopy: Unable to recognise the format of the input file `/home/ashishs/dists/jangal-poky-master/builds/q3505/tmp/work/mips32r2el-nf-poky-linux/pwauth/2.3.11-r0/package/usr/sbin/pwauth' DEBUG: Python function split_and_strip_files finished DEBUG: Python function do_package finished ERROR: Function failed: split_and_strip_files Output from file viewer for input file: ashishs@lnxashishs> file /home/ashishs/dists/jangal-poky-master/builds/q3505/tmp/work/mips32r2el-nf-poky-linux/pwauth/2.3.11-r0/package/usr/sbin/pwauth /home/ashishs/dists/jangal-poky-master/builds/q3505/tmp/work/mips32r2el-nf-poky-linux/pwauth/2.3.11-r0/package/usr/sbin/pwauth: setuid ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.26, BuildID[sha1]=0x42ffc2e02c207590b06b9c77c32318d44b34d004, not stripped ashishs@ln gobject-introspection is disabled by: DISTRO_FEATURES_BACKFILL_CONSIDERED = "gobject-introspection-data" Regards Ashish -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] [meta-raspberrypi][PATCH 1/5] linux-raspberrypi-4.4: Add the pitft22 overlay from adafruit
On Sat, Mar 26, 2016 at 04:59:33PM +, Khem Raj wrote: > Upgrade to 4.4.6 > > Signed-off-by: Khem Raj > --- > .../0001-dts-add-overlay-for-pitft22.patch | 106 > + > recipes-kernel/linux/linux-raspberrypi_4.4.bb | 10 +- > 2 files changed, 113 insertions(+), 3 deletions(-) > create mode 100644 > recipes-kernel/linux/linux-raspberrypi-4.4/0001-dts-add-overlay-for-pitft22.patch > > diff --git > a/recipes-kernel/linux/linux-raspberrypi-4.4/0001-dts-add-overlay-for-pitft22.patch > > b/recipes-kernel/linux/linux-raspberrypi-4.4/0001-dts-add-overlay-for-pitft22.patch > new file mode 100644 > index 000..7cb076f > --- /dev/null > +++ > b/recipes-kernel/linux/linux-raspberrypi-4.4/0001-dts-add-overlay-for-pitft22.patch > @@ -0,0 +1,106 @@ > +From a28bd410022b32a64e208f04b45add6326990332 Mon Sep 17 00:00:00 2001 > +From: =?UTF-8?q?Petter=20Mab=C3=A4cker?= > +Date: Fri, 8 Jan 2016 09:02:44 +0100 > +Subject: [PATCH] dts: add overlay for pitft22 > +MIME-Version: 1.0 > +Content-Type: text/plain; charset=UTF-8 > +Content-Transfer-Encoding: 8bit > + > +Upstream-Status: Pending > + > +Add the pitft22 overlay from adafruit Adafruit-Pi-Kernel-o-Matic repo: > +https://github.com/adafruit/Adafruit-Pi-Kernel-o-Matic > + > +Signed-off-by: Petter Mabäcker > +--- > + arch/arm/boot/dts/overlays/Makefile| 1 + > + arch/arm/boot/dts/overlays/pitft22-overlay.dts | 69 > ++ > + 2 files changed, 70 insertions(+) > + create mode 100755 arch/arm/boot/dts/overlays/pitft22-overlay.dts > + > +Index: kernel-source/arch/arm/boot/dts/overlays/pitft22-overlay.dts > +=== > +--- /dev/null > kernel-source/arch/arm/boot/dts/overlays/pitft22-overlay.dts > +@@ -0,0 +1,69 @@ > ++/* > ++ * Device Tree overlay for pitft by Adafruit > ++ * > ++ */ > ++ > ++/dts-v1/; > ++/plugin/; > ++ > ++/ { > ++compatible = "brcm,bcm2835", "brcm,bcm2708", "brcm,bcm2709"; > ++ > ++fragment@0 { > ++target = <&spi0>; > ++__overlay__ { > ++status = "okay"; > ++ > ++spidev@0{ > ++status = "disabled"; > ++}; > ++ > ++spidev@1{ > ++status = "disabled"; > ++}; > ++}; > ++}; > ++ > ++fragment@1 { > ++target = <&gpio>; > ++__overlay__ { > ++pitft_pins: pitft_pins { > ++brcm,pins = <25>; > ++brcm,function = <1>; /* out */ > ++brcm,pull = <0>; /* none */ > ++}; > ++}; > ++}; > ++ > ++fragment@2 { > ++target = <&spi0>; > ++__overlay__ { > ++/* needed to avoid dtc warning */ > ++#address-cells = <1>; > ++#size-cells = <0>; > ++ > ++pitft: pitft@0{ > ++compatible = "ilitek,ili9340"; > ++reg = <0>; > ++pinctrl-names = "default"; > ++pinctrl-0 = <&pitft_pins>; > ++ > ++spi-max-frequency = <3200>; > ++rotate = <90>; > ++fps = <25>; > ++bgr; > ++buswidth = <8>; > ++dc-gpios = <&gpio 25 0>; > ++debug = <0>; > ++}; > ++ > ++}; > ++}; > ++ > ++__overrides__ { > ++speed = <&pitft>,"spi-max-frequency:0"; > ++rotate = <&pitft>,"rotate:0"; > ++fps = <&pitft>,"fps:0"; > ++debug = <&pitft>,"debug:0"; > ++}; > ++}; > +Index: kernel-source/arch/arm/boot/dts/overlays/Makefile > +=== > +--- kernel-source.orig/arch/arm/boot/dts/overlays/Makefile > kernel-source/arch/arm/boot/dts/overlays/Makefile > +@@ -43,6 +43,7 @@ dtbo-$(RPI_DT_OVERLAYS) += pi3-disable-b > + dtbo-$(RPI_DT_OVERLAYS) += pi3-miniuart-bt.dtbo > + dtbo-$(RPI_DT_OVERLAYS) += piscreen.dtbo > + dtbo-$(RPI_DT_OVERLAYS) += piscreen2r.dtbo > ++dtbo-$(RPI_DT_OVERLAYS) += pitft22-overlay.dtbo > + dtbo-$(RPI_DT_OVERLAYS) += pitft28-capacitive.dtbo > + dtbo-$(RPI_DT_OVERLAYS) += pitft28-resistive.dtbo > + dtbo-$(RPI_DT_OVERLAYS) += pps-gpio.dtbo > diff --git a/recipes-kernel/linux/linux-raspberrypi_4.4.bb > b/recipes-kernel/linux/linux-raspberrypi_4.4.bb > index f7c5bfb..8e4530f 100644 > --- a/recipes-kernel/linux/linux-raspberrypi_4.4.bb > +++ b/recipe
[yocto] [meta-raspberrypi][PATCH 0/4] Various upgrade/fixes from Technux
Various fixes from Technux, with focus on PiTFT28 resistive support and Official Raspberry Pi 7 inch touchscreen enablers. Petter Mabäcker (4): pitft: Add support for pitft28r rpi-base.inc: Remove deprecated MACHINE_FEATURES rpi-base.inc: Add overlay for rpi-ft5406 .gitignore: Ignore some additional files .gitignore | 2 ++ README | 1 + conf/machine/include/rpi-base.inc | 4 +++- recipes-bsp/bootfiles/rpi-config_git.bb | 6 ++ .../xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/98-pitft.conf | 5 + .../xserver-xf86-config/rpi/xorg.conf.d/99-calibration.conf | 6 ++ .../xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/99-pitft.conf | 5 - recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend | 6 -- recipes-kernel/linux/linux-raspberrypi.inc | 2 ++ 9 files changed, 29 insertions(+), 8 deletions(-) create mode 100644 recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/98-pitft.conf create mode 100644 recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/99-calibration.conf delete mode 100644 recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/99-pitft.conf -- 1.9.1 -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [meta-raspberrypi][PATCH 2/4] rpi-base.inc: Remove deprecated MACHINE_FEATURES
Signed-off-by: Petter Mabäcker --- conf/machine/include/rpi-base.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/machine/include/rpi-base.inc b/conf/machine/include/rpi-base.inc index a9e8053..f70e952 100644 --- a/conf/machine/include/rpi-base.inc +++ b/conf/machine/include/rpi-base.inc @@ -40,7 +40,7 @@ KERNEL_DEVICETREE ?= " \ " KERNEL_IMAGETYPE ?= "Image" -MACHINE_FEATURES += "kernel26 apm usbhost keyboard vfat ext2 screen touchscreen alsa bluetooth wifi sdio" +MACHINE_FEATURES += "apm usbhost keyboard vfat ext2 screen touchscreen alsa bluetooth wifi sdio" # Raspberry Pi has no hardware clock MACHINE_FEATURES_BACKFILL_CONSIDERED = "rtc" -- 1.9.1 -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [meta-raspberrypi][PATCH 3/4] rpi-base.inc: Add overlay for rpi-ft5406
rpi-ft5406 is an enabler for Official Raspberry Pi 7 inch touchscreen support. Signed-off-by: Petter Mabäcker --- conf/machine/include/rpi-base.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/conf/machine/include/rpi-base.inc b/conf/machine/include/rpi-base.inc index f70e952..34eb774 100644 --- a/conf/machine/include/rpi-base.inc +++ b/conf/machine/include/rpi-base.inc @@ -35,6 +35,7 @@ KERNEL_DEVICETREE ?= " \ overlays/pitft22-overlay.dtb \ overlays/pitft28-resistive-overlay.dtb \ overlays/pps-gpio-overlay.dtb \ +overlays/rpi-ft5406-overlay.dtb \ overlays/w1-gpio-overlay.dtb \ overlays/w1-gpio-pullup-overlay.dtb \ " -- 1.9.1 -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [meta-raspberrypi][PATCH 4/4] .gitignore: Ignore some additional files
Signed-off-by: Petter Mabäcker --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index f235765..bd5616a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ build* *~ .*.swp +*.orig +*.rej -- 1.9.1 -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [meta-raspberrypi][PATCH 1/4] pitft: Add support for pitft28r
The support for PiTFT 28 inch resistive touchscreen is optional and can be enabled by adding below in local.conf: MACHINE_FEATURES += "pitft pitft28r" Signed-off-by: Petter Mabäcker --- README | 1 + conf/machine/include/rpi-base.inc | 1 + recipes-bsp/bootfiles/rpi-config_git.bb | 6 ++ .../xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/98-pitft.conf | 5 + .../xserver-xf86-config/rpi/xorg.conf.d/99-calibration.conf | 6 ++ .../xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/99-pitft.conf | 5 - recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend | 6 -- recipes-kernel/linux/linux-raspberrypi.inc | 2 ++ 8 files changed, 25 insertions(+), 7 deletions(-) create mode 100644 recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/98-pitft.conf create mode 100644 recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/99-calibration.conf delete mode 100644 recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/99-pitft.conf diff --git a/README b/README index 536926b..54b1ac3 100644 --- a/README +++ b/README @@ -232,6 +232,7 @@ the modelname should be added as a MACHINE_FEATURES in local.conf like below: List of currently supported models: - pitft22 +- pitft28r 4. Extra apps diff --git a/conf/machine/include/rpi-base.inc b/conf/machine/include/rpi-base.inc index 792150e..a9e8053 100644 --- a/conf/machine/include/rpi-base.inc +++ b/conf/machine/include/rpi-base.inc @@ -33,6 +33,7 @@ KERNEL_DEVICETREE ?= " \ overlays/iqaudio-dacplus-overlay.dtb \ overlays/lirc-rpi-overlay.dtb \ overlays/pitft22-overlay.dtb \ +overlays/pitft28-resistive-overlay.dtb \ overlays/pps-gpio-overlay.dtb \ overlays/w1-gpio-overlay.dtb \ overlays/w1-gpio-pullup-overlay.dtb \ diff --git a/recipes-bsp/bootfiles/rpi-config_git.bb b/recipes-bsp/bootfiles/rpi-config_git.bb index 4d41723..2941982 100644 --- a/recipes-bsp/bootfiles/rpi-config_git.bb +++ b/recipes-bsp/bootfiles/rpi-config_git.bb @@ -17,6 +17,7 @@ PR = "r4" PITFT="${@bb.utils.contains("MACHINE_FEATURES", "pitft", "1", "0", d)}" PITFT22="${@bb.utils.contains("MACHINE_FEATURES", "pitft22", "1", "0", d)}" +PITFT28r="${@bb.utils.contains("MACHINE_FEATURES", "pitft28r", "1", "0", d)}" inherit deploy @@ -90,6 +91,11 @@ do_deploy() { echo "# Enable PITFT22 display" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt echo "dtoverlay=pitft22,rotate=270,speed=3200,txbuflen=32768" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt fi + +if [ "${PITFT28r}" = "1" ]; then +echo "# Enable PITFT28r display" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt +echo "dtoverlay=pitft28-resistive,rotate=90,speed=3200,txbuflen=32768" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt +fi } addtask deploy before do_package after do_install diff --git a/recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/98-pitft.conf b/recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/98-pitft.conf new file mode 100644 index 000..0d2b36b --- /dev/null +++ b/recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/98-pitft.conf @@ -0,0 +1,5 @@ +Section "Device" +Identifier "Adafruit PiTFT" +Driver "fbdev" +Option "fbdev" "/dev/fb1" +EndSection diff --git a/recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/99-calibration.conf b/recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/99-calibration.conf new file mode 100644 index 000..f8b578c --- /dev/null +++ b/recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/99-calibration.conf @@ -0,0 +1,6 @@ +Section "InputClass" +Identifier "calibration" +MatchProduct"stmpe-ts" +Option "Calibration" "3800 200 200 3800" +Option "SwapAxes" "1" +EndSection diff --git a/recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/99-pitft.conf b/recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/99-pitft.conf deleted file mode 100644 index 0d2b36b..000 --- a/recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/99-pitft.conf +++ /dev/null @@ -1,5 +0,0 @@ -Section "Device" -Identifier "Adafruit PiTFT" -Driver "fbdev" -Option "fbdev" "/dev/fb1" -EndSection diff --git a/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend b/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend index 0ae2ee0..062de2d 100644 --- a/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend +++ b/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend @@ -1,7 +1,8 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" SRC_URI_append_rpi = " file://xorg.conf.d/10-evdev.conf \ - file://xorg.conf.d/99-pitft.conf \ +
Re: [yocto] [meta-raspberrypi][PATCH 1/4] pitft: Add support for pitft28r
> On Mar 29, 2016, at 8:04 AM, Petter Mabäcker wrote: > > The support for PiTFT 28 inch resistive touchscreen is optional > and can be enabled by adding below in local.conf: > > MACHINE_FEATURES += "pitft pitft28r” > will this work with all kernel recipes available in layer ? > Signed-off-by: Petter Mabäcker > --- > README | 1 + > conf/machine/include/rpi-base.inc | 1 + > recipes-bsp/bootfiles/rpi-config_git.bb | 6 ++ > .../xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/98-pitft.conf | 5 + > .../xserver-xf86-config/rpi/xorg.conf.d/99-calibration.conf | 6 ++ > .../xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/99-pitft.conf | 5 - > recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend | 6 -- > recipes-kernel/linux/linux-raspberrypi.inc | 2 ++ > 8 files changed, 25 insertions(+), 7 deletions(-) > create mode 100644 > recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/98-pitft.conf > create mode 100644 > recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/99-calibration.conf > delete mode 100644 > recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/99-pitft.conf > > diff --git a/README b/README > index 536926b..54b1ac3 100644 > --- a/README > +++ b/README > @@ -232,6 +232,7 @@ the modelname should be added as a MACHINE_FEATURES in > local.conf like below: > > List of currently supported models: > - pitft22 > +- pitft28r > > > 4. Extra apps > diff --git a/conf/machine/include/rpi-base.inc > b/conf/machine/include/rpi-base.inc > index 792150e..a9e8053 100644 > --- a/conf/machine/include/rpi-base.inc > +++ b/conf/machine/include/rpi-base.inc > @@ -33,6 +33,7 @@ KERNEL_DEVICETREE ?= " \ > overlays/iqaudio-dacplus-overlay.dtb \ > overlays/lirc-rpi-overlay.dtb \ > overlays/pitft22-overlay.dtb \ > +overlays/pitft28-resistive-overlay.dtb \ > overlays/pps-gpio-overlay.dtb \ > overlays/w1-gpio-overlay.dtb \ > overlays/w1-gpio-pullup-overlay.dtb \ > diff --git a/recipes-bsp/bootfiles/rpi-config_git.bb > b/recipes-bsp/bootfiles/rpi-config_git.bb > index 4d41723..2941982 100644 > --- a/recipes-bsp/bootfiles/rpi-config_git.bb > +++ b/recipes-bsp/bootfiles/rpi-config_git.bb > @@ -17,6 +17,7 @@ PR = "r4" > > PITFT="${@bb.utils.contains("MACHINE_FEATURES", "pitft", "1", "0", d)}" > PITFT22="${@bb.utils.contains("MACHINE_FEATURES", "pitft22", "1", "0", d)}" > +PITFT28r="${@bb.utils.contains("MACHINE_FEATURES", "pitft28r", "1", "0", d)}" > > inherit deploy > > @@ -90,6 +91,11 @@ do_deploy() { > echo "# Enable PITFT22 display" > >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt > echo "dtoverlay=pitft22,rotate=270,speed=3200,txbuflen=32768" > >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt > fi > + > +if [ "${PITFT28r}" = "1" ]; then > +echo "# Enable PITFT28r display" > >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt > +echo > "dtoverlay=pitft28-resistive,rotate=90,speed=3200,txbuflen=32768" > >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt > +fi > } > > addtask deploy before do_package after do_install > diff --git > a/recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/98-pitft.conf > > b/recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/98-pitft.conf > new file mode 100644 > index 000..0d2b36b > --- /dev/null > +++ > b/recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/98-pitft.conf > @@ -0,0 +1,5 @@ > +Section "Device" > +Identifier "Adafruit PiTFT" > +Driver "fbdev" > +Option "fbdev" "/dev/fb1" > +EndSection > diff --git > a/recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/99-calibration.conf > > b/recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/99-calibration.conf > new file mode 100644 > index 000..f8b578c > --- /dev/null > +++ > b/recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/99-calibration.conf > @@ -0,0 +1,6 @@ > +Section "InputClass" > +Identifier "calibration" > +MatchProduct"stmpe-ts" > +Option "Calibration" "3800 200 200 3800" > +Option "SwapAxes" "1" > +EndSection > diff --git > a/recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/99-pitft.conf > > b/recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/99-pitft.conf > deleted file mode 100644 > index 0d2b36b..000 > --- > a/recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/99-pitft.conf > +++ /dev/null > @@ -1,5 +0,0 @@ > -Section "Device" > -Identifier "Adafruit PiTFT" > -Driver "fbdev" > -Option "fbdev" "/dev/fb1" > -EndSection > diff --git a/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend > b/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend > index 0ae2ee0..062de2
[yocto] SRC_URI overrides and work-shared
In my private layer, I'd like to apply the occasional patch to GCC only for certain circumstances (e.g., a particular target architecture). I get some strange behavior with quilt seeming to get confused during do_patch(), though, which I imagine is due to the singular source directory in build/tmp/work-shared/gcc-X.Y.Z being shared among all the various GCC recipes. Is it just expected that all GCC recipes must have exactly the same SRC_URI, or is there perhaps some other more tricky thing I should do in order not to confuse the work-shared setup? -Matt -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] [meta-java] Use openjdk-8 as javac and java VM
> Am 29.03.2016 um 12:48 schrieb Blaettler, Michael > : > > Hi all Hi Michael, > I am currently struggling with selecting the Java virtual machine and Java > compiler. I’d like to use the Java VM and Java Compiler provided by > openjdk-8-native in the meta-java layer. > It was possible to build openjdk-8-native without any problems but after > sourcing the environment-script the javac command points to the compiler > installed by ecj-bootstrap-native and the java command points to the VM > installed by cacao-native. > Afterwards I tried to add openjdk-8 as a provider for “virtual/javac-native” > and “virtual/java-native” but then the image isn’t buildable due to recursive > inclusions. > > How can I select the java vm and java compiler from openjdk-8 as my default > compiler/VM? That's one of the larger open points in meta-java. I couldn't finish that in my time at Rademacher. If someone wants to sponsor that :-) > Can anybody assist me? Meanwhile try to rely on https://github.com/rehsack/meta-jens/blob/jethro/recipes-xbmc/xbmc/xbmc_14.bb#L51 as example. > Thanks in advance You're welcome. Cheers -- Jens Rehsack - rehs...@gmail.com signature.asc Description: Message signed with OpenPGP using GPGMail -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] Fwd: OEDAM: New Location - Catamaran resort
OEDAM moved. Thanks Rudi and Jefro. Please add your name to the attendee list so Jefro can get the correct amount of food and coffee. He needs the number "soon". Philip Forwarded Message Subject: OEDAM: New Location - Catamaran resort Date: Mon, 28 Mar 2016 13:36:41 -0700 From: Jeff Osier-Mixon Reply-To: openembedded-memb...@lists.openembedded.org To: openembedded-memb...@lists.openembedded.org The OpenEmbedded meeting on Friday April 8, which was previously announced, has been moved to the Catamaran Resort & Hotel. Transportation will be provided. The meeting is still 9am-5pm. 3999 Mission Boulevard San Diego, CA 92109 858-539-8727 Again, OEDAM will be at the Catamaran, NOT at the Marriott. The wiki page and this mailing list will be updated with transportation info. Thanks to Rudi Streif for finding us a great location! -- Jeff Osier-Mixon Open Source Community Architect, Intel Corporation -- ___ Openembedded-members mailing list openembedded-memb...@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-members -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] Fwd: OEDAM: New Location - Catamaran resort
We need the final headcount by next Monday. Food, breakfast, lunch and refreshments, will be provided. If you have special dietary needs such as vegetarian, gluten-free etc. please indicate so behind you name. We'll do the best to accommodate them. Rudi On Tuesday, March 29, 2016 12:57:23 PM Philip Balister wrote: > OEDAM moved. Thanks Rudi and Jefro. > > Please add your name to the attendee list so Jefro can get the correct > amount of food and coffee. He needs the number "soon". > > Philip > > Forwarded Message > Subject: OEDAM: New Location - Catamaran resort > Date: Mon, 28 Mar 2016 13:36:41 -0700 > From: Jeff Osier-Mixon > Reply-To: openembedded-memb...@lists.openembedded.org > To: openembedded-memb...@lists.openembedded.org > > > The OpenEmbedded meeting on Friday April 8, which was previously > announced, has been moved to the Catamaran Resort & Hotel. > Transportation will be provided. The meeting is still 9am-5pm. > > 3999 Mission Boulevard > San Diego, CA 92109 > 858-539-8727 > > Again, OEDAM will be at the Catamaran, NOT at the Marriott. The wiki > page and this mailing list will be updated with transportation info. > > Thanks to Rudi Streif for finding us a great location! > > -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] [meta-raspberrypi][PATCH 1/4] pitft: Add support for pitft28r
On 03/29/2016 05:59 PM, Khem Raj wrote: On Mar 29, 2016, at 8:04 AM, Petter Mabäcker wrote: The support for PiTFT 28 inch resistive touchscreen is optional and can be enabled by adding below in local.conf: MACHINE_FEATURES += "pitft pitft28r” will this work with all kernel recipes available in layer ? It works on 3.18+. I just realized that 3.14 support was not removed when we took in 4.4 (so it will not work on that kernel). Since the general policy we have is to support three kernel versions; latest stable (4.4) + two longterm (4.1 and 3.18), I can send up a commit that removes 3.14 support in 'master' within this series. Thanks for your help to pointing this out! BR Petter Signed-off-by: Petter Mabäcker --- README | 1 + conf/machine/include/rpi-base.inc | 1 + recipes-bsp/bootfiles/rpi-config_git.bb | 6 ++ .../xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/98-pitft.conf | 5 + .../xserver-xf86-config/rpi/xorg.conf.d/99-calibration.conf | 6 ++ .../xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/99-pitft.conf | 5 - recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend | 6 -- recipes-kernel/linux/linux-raspberrypi.inc | 2 ++ 8 files changed, 25 insertions(+), 7 deletions(-) create mode 100644 recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/98-pitft.conf create mode 100644 recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/99-calibration.conf delete mode 100644 recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/99-pitft.conf diff --git a/README b/README index 536926b..54b1ac3 100644 --- a/README +++ b/README @@ -232,6 +232,7 @@ the modelname should be added as a MACHINE_FEATURES in local.conf like below: List of currently supported models: - pitft22 +- pitft28r 4. Extra apps diff --git a/conf/machine/include/rpi-base.inc b/conf/machine/include/rpi-base.inc index 792150e..a9e8053 100644 --- a/conf/machine/include/rpi-base.inc +++ b/conf/machine/include/rpi-base.inc @@ -33,6 +33,7 @@ KERNEL_DEVICETREE ?= " \ overlays/iqaudio-dacplus-overlay.dtb \ overlays/lirc-rpi-overlay.dtb \ overlays/pitft22-overlay.dtb \ +overlays/pitft28-resistive-overlay.dtb \ overlays/pps-gpio-overlay.dtb \ overlays/w1-gpio-overlay.dtb \ overlays/w1-gpio-pullup-overlay.dtb \ diff --git a/recipes-bsp/bootfiles/rpi-config_git.bb b/recipes-bsp/bootfiles/rpi-config_git.bb index 4d41723..2941982 100644 --- a/recipes-bsp/bootfiles/rpi-config_git.bb +++ b/recipes-bsp/bootfiles/rpi-config_git.bb @@ -17,6 +17,7 @@ PR = "r4" PITFT="${@bb.utils.contains("MACHINE_FEATURES", "pitft", "1", "0", d)}" PITFT22="${@bb.utils.contains("MACHINE_FEATURES", "pitft22", "1", "0", d)}" +PITFT28r="${@bb.utils.contains("MACHINE_FEATURES", "pitft28r", "1", "0", d)}" inherit deploy @@ -90,6 +91,11 @@ do_deploy() { echo "# Enable PITFT22 display" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt echo "dtoverlay=pitft22,rotate=270,speed=3200,txbuflen=32768" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt fi + +if [ "${PITFT28r}" = "1" ]; then +echo "# Enable PITFT28r display" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt +echo "dtoverlay=pitft28-resistive,rotate=90,speed=3200,txbuflen=32768" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt +fi } addtask deploy before do_package after do_install diff --git a/recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/98-pitft.conf b/recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/98-pitft.conf new file mode 100644 index 000..0d2b36b --- /dev/null +++ b/recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/98-pitft.conf @@ -0,0 +1,5 @@ +Section "Device" +Identifier "Adafruit PiTFT" +Driver "fbdev" +Option "fbdev" "/dev/fb1" +EndSection diff --git a/recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/99-calibration.conf b/recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/99-calibration.conf new file mode 100644 index 000..f8b578c --- /dev/null +++ b/recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/99-calibration.conf @@ -0,0 +1,6 @@ +Section "InputClass" +Identifier "calibration" +MatchProduct"stmpe-ts" +Option "Calibration" "3800 200 200 3800" +Option "SwapAxes" "1" +EndSection diff --git a/recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/99-pitft.conf b/recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/99-pitft.conf deleted file mode 100644 index 0d2b36b..000 --- a/recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/99-pitft.conf +++ /dev/null @@ -1,5 +0,0 @@ -Section "Device" -Identifier "Adafruit PiTFT" -Driver "fbdev" -Option "fbdev" "/dev
Re: [yocto] [meta-raspberrypi][PATCH 4/6] linux-firmware: Add brcmfmac43430 firmware
On Fri, Mar 25, 2016 at 11:34:21AM +1100, Jonathan Liu wrote: > Hi Theodor, > > On 10 March 2016 at 01:15, Theodor Gherzan wrote: > > From: Theodor Gherzan > > > > Signed-off-by: Theodor Gherzan > > --- > > .../linux-firmware/LICENSE.broadcom_brcm80211 | 205 > > + > > .../linux-firmware/brcmfmac43430-sdio.bin | Bin 0 -> 368957 bytes > > .../linux-firmware/brcmfmac43430-sdio.txt | 66 +++ > > .../linux-firmware/linux-firmware_git.bbappend | 29 +++ > > 4 files changed, 300 insertions(+) > > create mode 100644 > > recipes-kernel/linux-firmware/linux-firmware/LICENSE.broadcom_brcm80211 > > create mode 100644 > > recipes-kernel/linux-firmware/linux-firmware/brcmfmac43430-sdio.bin > > create mode 100644 > > recipes-kernel/linux-firmware/linux-firmware/brcmfmac43430-sdio.txt > > create mode 100644 > > recipes-kernel/linux-firmware/linux-firmware_git.bbappend > > I get the following warning when building an image that installs > linux-firmware-ralink package (but not any of the other firmware > packages): > [log_check] WARNING: The license listed Firmware-broadcom_brcm80211 > was not in the licenses collected for recipe linux-firmware > > It seems the license is not being packaged correctly. > > Could you please have a look? Theodor, Any chance you can take a look on this? Cheers! -- Andrei Gherzan signature.asc Description: PGP signature -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] [meta-raspberrypi][PATCH 1/4] pitft: Add support for pitft28r
On Tue, Mar 29, 2016 at 10:54:42PM +0200, Petter Mabäcker wrote: > On 03/29/2016 05:59 PM, Khem Raj wrote: > >>On Mar 29, 2016, at 8:04 AM, Petter Mabäcker wrote: > >> > >>The support for PiTFT 28 inch resistive touchscreen is optional > >>and can be enabled by adding below in local.conf: > >> > >>MACHINE_FEATURES += "pitft pitft28r” > >> > >will this work with all kernel recipes available in layer ? > It works on 3.18+. I just realized that 3.14 support was not removed when we > took in 4.4 (so it will not work on that kernel). Since the general policy > we have is to support three kernel versions; latest stable (4.4) + two > longterm (4.1 and 3.18), I can send up a commit that removes 3.14 support in > 'master' within this series. > > Thanks for your help to pointing this out! > That would definitely be a good idea. Good job! > BR Petter > > > > > >>Signed-off-by: Petter Mabäcker > >>--- > >>README | 1 + > >>conf/machine/include/rpi-base.inc | 1 + > >>recipes-bsp/bootfiles/rpi-config_git.bb | 6 > >>++ > >>.../xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/98-pitft.conf | 5 > >>+ > >>.../xserver-xf86-config/rpi/xorg.conf.d/99-calibration.conf | 6 > >>++ > >>.../xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/99-pitft.conf | 5 > >>- > >>recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend | 6 > >>-- > >>recipes-kernel/linux/linux-raspberrypi.inc | 2 ++ > >>8 files changed, 25 insertions(+), 7 deletions(-) > >>create mode 100644 > >>recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/98-pitft.conf > >>create mode 100644 > >>recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/99-calibration.conf > >>delete mode 100644 > >>recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/99-pitft.conf > >> > >>diff --git a/README b/README > >>index 536926b..54b1ac3 100644 > >>--- a/README > >>+++ b/README > >>@@ -232,6 +232,7 @@ the modelname should be added as a MACHINE_FEATURES in > >>local.conf like below: > >> > >>List of currently supported models: > >> - pitft22 > >>+- pitft28r > >> > >> > >>4. Extra apps > >>diff --git a/conf/machine/include/rpi-base.inc > >>b/conf/machine/include/rpi-base.inc > >>index 792150e..a9e8053 100644 > >>--- a/conf/machine/include/rpi-base.inc > >>+++ b/conf/machine/include/rpi-base.inc > >>@@ -33,6 +33,7 @@ KERNEL_DEVICETREE ?= " \ > >> overlays/iqaudio-dacplus-overlay.dtb \ > >> overlays/lirc-rpi-overlay.dtb \ > >> overlays/pitft22-overlay.dtb \ > >>+overlays/pitft28-resistive-overlay.dtb \ > >> overlays/pps-gpio-overlay.dtb \ > >> overlays/w1-gpio-overlay.dtb \ > >> overlays/w1-gpio-pullup-overlay.dtb \ > >>diff --git a/recipes-bsp/bootfiles/rpi-config_git.bb > >>b/recipes-bsp/bootfiles/rpi-config_git.bb > >>index 4d41723..2941982 100644 > >>--- a/recipes-bsp/bootfiles/rpi-config_git.bb > >>+++ b/recipes-bsp/bootfiles/rpi-config_git.bb > >>@@ -17,6 +17,7 @@ PR = "r4" > >> > >>PITFT="${@bb.utils.contains("MACHINE_FEATURES", "pitft", "1", "0", d)}" > >>PITFT22="${@bb.utils.contains("MACHINE_FEATURES", "pitft22", "1", "0", d)}" > >>+PITFT28r="${@bb.utils.contains("MACHINE_FEATURES", "pitft28r", "1", "0", > >>d)}" > >> > >>inherit deploy > >> > >>@@ -90,6 +91,11 @@ do_deploy() { > >> echo "# Enable PITFT22 display" > >> >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt > >> echo "dtoverlay=pitft22,rotate=270,speed=3200,txbuflen=32768" > >> >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt > >> fi > >>+ > >>+if [ "${PITFT28r}" = "1" ]; then > >>+echo "# Enable PITFT28r display" > ${DEPLOYDIR}/bcm2835-bootfiles/config.txt > >>+echo > >>"dtoverlay=pitft28-resistive,rotate=90,speed=3200,txbuflen=32768" > ${DEPLOYDIR}/bcm2835-bootfiles/config.txt > >>+fi > >>} > >> > >>addtask deploy before do_package after do_install > >>diff --git > >>a/recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/98-pitft.conf > >> > >>b/recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/98-pitft.conf > >>new file mode 100644 > >>index 000..0d2b36b > >>--- /dev/null > >>+++ > >>b/recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/98-pitft.conf > >>@@ -0,0 +1,5 @@ > >>+Section "Device" > >>+Identifier "Adafruit PiTFT" > >>+Driver "fbdev" > >>+Option "fbdev" "/dev/fb1" > >>+EndSection > >>diff --git > >>a/recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/99-calibration.conf > >> > >>b/recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/99-calibration.conf > >>new file mode 100644 > >>index 000..f8b578c > >>--- /dev/null > >>+++ > >>b/recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/99-calibration.conf > >>@@ -0,0 +1,6 @@ > >>+Section "InputClass" > >>+Identifier
[yocto] [meta-raspberrypi][PATCH 1/2] firmware: Update to 20160326
Signed-off-by: Khem Raj --- recipes-bsp/common/firmware.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-bsp/common/firmware.inc b/recipes-bsp/common/firmware.inc index 2c4f497..c1117d6 100644 --- a/recipes-bsp/common/firmware.inc +++ b/recipes-bsp/common/firmware.inc @@ -1,5 +1,5 @@ -RPIFW_SRCREV ?= "028b1f6585280bd0a21885973589c4b101355597" -RPIFW_DATE ?= "20160303" +RPIFW_SRCREV ?= "046effa13ebc4cc7601df4f06f4834bd0eebb0f8" +RPIFW_DATE ?= "20160326" RPIFW_SRC_URI ?= "git://github.com/raspberrypi/firmware.git;protocol=git;branch=master" RPIFW_S ?= "${WORKDIR}/git" -- 2.7.4 -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [meta-raspberrypi][PATCH 2/2] userland: Fix tearing effect seen with wayland compositors
Introduce EGL flush in few more places Signed-off-by: Khem Raj --- ...Fix-for-framerate-with-nested-composition.patch | 46 ++ 1 file changed, 39 insertions(+), 7 deletions(-) diff --git a/recipes-graphics/userland/userland/0013-Fix-for-framerate-with-nested-composition.patch b/recipes-graphics/userland/userland/0013-Fix-for-framerate-with-nested-composition.patch index 6377e31..2fa9d66 100644 --- a/recipes-graphics/userland/userland/0013-Fix-for-framerate-with-nested-composition.patch +++ b/recipes-graphics/userland/userland/0013-Fix-for-framerate-with-nested-composition.patch @@ -1,20 +1,39 @@ -From 7f424ce48f6c14118aea2ab770b3bbf87e1f0393 Mon Sep 17 00:00:00 2001 +From e5affc4ff145eedf61e2625a8919622c92d0b8ba Mon Sep 17 00:00:00 2001 From: Khem Raj -Date: Thu, 24 Mar 2016 14:30:58 -0700 -Subject: [PATCH 13/13] Fix for framerate with nested composition +Date: Tue, 29 Mar 2016 20:38:30 -0700 +Subject: [PATCH 13/14] Fix for framerate with nested composition frame rate appears irregular and lower than expected when using nested composition. Signed-off-by: Khem Raj --- - interface/khronos/egl/egl_client.c | 1 + - 1 file changed, 1 insertion(+) + interface/khronos/egl/egl_client.c | 9 - + 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/interface/khronos/egl/egl_client.c b/interface/khronos/egl/egl_client.c -index 024f3ed..95bb581 100644 +index 024f3ed..d8a007c 100644 --- a/interface/khronos/egl/egl_client.c +++ b/interface/khronos/egl/egl_client.c -@@ -2360,6 +2360,7 @@ EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffers(EGLDisplay dpy, EGLSurface surf) +@@ -2342,6 +2342,9 @@ EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffers(EGLDisplay dpy, EGLSurface surf) + surface->back_wl_buffer = buffer; + } + ++ glFlush(); ++ glFinish(); ++ + RPC_CALL7(eglIntSwapBuffers_impl, + thread, + EGLINTSWAPBUFFERS_ID_V2, +@@ -2353,6 +2356,8 @@ EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffers(EGLDisplay dpy, EGLSurface surf) + RPC_UINT(khrn_platform_get_window_position(surface->win)), + RPC_INT(surface->back_wl_buffer->resource)); + ++ RPC_FLUSH(thread); ++ + surface->front_wl_buffer->in_use = 1; + wl_surface_attach(wl_egl_window->wl_surface, + surface->front_wl_buffer->wl_buffer, +@@ -2360,10 +2365,11 @@ EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffers(EGLDisplay dpy, EGLSurface surf) wl_surface_damage(wl_egl_window->wl_surface, 0, 0, surface->width, surface->height); wl_surface_commit(wl_egl_window->wl_surface); @@ -22,6 +41,19 @@ index 024f3ed..95bb581 100644 while(ret != -1 && surface->back_wl_buffer->in_use) ret = wl_display_dispatch_queue(wl_display, process->wl_queue); +- } else ++ } else { + #endif +RPC_CALL6(eglIntSwapBuffers_impl, + thread, +@@ -2376,6 +2382,7 @@ EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffers(EGLDisplay dpy, EGLSurface surf) + RPC_UINT(khrn_platform_get_window_position(surface->win))); + +RPC_FLUSH(thread); ++ } + + #ifdef ANDROID +CLIENT_UNLOCK(); -- 2.7.4 -- 2.7.4 -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto