Re: [yocto] Debugging custom python code in recipes

2019-11-01 Thread Alan Martinović
Cool, thanks. This one seems to be the most up to date from the python debugger wrappers: https://github.com/ionelmc/python-remote-pdb The `shell_wait()` in your bbclass is related to the pdb() functionality? On Fri, Nov 1, 2019 at 10:14 PM Ross Burton wrote: > > On 01/11/2019 20:44, Alan

[yocto] Debugging custom python code in recipes

2019-11-01 Thread Alan Martinović
Hey, there was a question today about options for debugging python scripts in yocto. I've patched up this PoC for remote debugging. If someone finds it useful (it should be copy-pastable), feel free to ping me back. Am opet to shaping it into a friendlier format and discover potential issues.

[yocto] minicom hangs when Attempting to communicate with ttyUSB1

2019-11-01 Thread Shravan Singh
Hello All, I have GSM module which enumerates as /dev/ttyUSB0 and ttyUSB1. When I try communicating with the module using minicom. The application hangs. As in, I am unable to send an AT command and I am unable to exit minicom. The command that I am using is *minicom -b 115200 -D /dev/ttyUSB1*

Re: [yocto] Debugging custom python code in recipes

2019-11-01 Thread Ross Burton
On 01/11/2019 21:30, Alan Martinović wrote: Cool, thanks. This one seems to be the most up to date from the python debugger wrappers: https://github.com/ionelmc/python-remote-pdb Entirely worth writing a proper class and pushing a layer somewhere. The `shell_wait()` in your bbclass is

[yocto] [yocto-2.7, nativesdk-diffutils]: patched-away problem intermittently persists.

2019-11-01 Thread Kaz Kylheku
Hi all, I have seen the nativesdk-diffutils compilation fail with the exact problem that is supposed to be solved by: file://0001-explicitly-disable-replacing-getopt.patch The build failure which occurs is 100% identical in all its symptoms to what happens if we remove this patch: In file

Re: [yocto] [zeus] icu-native-64.2-r0 do_configure: configure failed

2019-11-01 Thread Arno Steffens
Thanks Ross, that was a great help! Not sure I would found it... Indeed python3 was installed but not all required elements: sudo apt-get install python3-distutils was my friend. Best regards Arno -- ___ yocto mailing list yocto@yoctoproject.org

Re: [yocto] poky thud: qtscript fails to build with undefined reference to `cti_vm_throw'

2019-11-01 Thread Jochen Behnke
On Fri, Nov 1, 2019 at 2:12 AM wrote: Hello, I tried to build a poky SDK with QT5 support (I am using poky thud). Unfortunately this failed while bitbaking qtscript. When executing "bitbake qtscript" directly I get the same error. Here are the IMHO relevant lines of the huge log.do_compile

Re: [yocto] [wpe-webkit] Optimising imx6 performance for HTML5 using Cog + WPE WebKit

2019-11-01 Thread Wouter Vanhauwaert
> -Original Message- > From: webkit-wpe [mailto:webkit-wpe-boun...@lists.webkit.org] On Behalf Of > Andy Pont > Sent: woensdag 23 oktober 2019 13:27 > To: meta-freescale Mailing List > Cc: yocto@yoctoproject.org; webkit-...@lists.webkit.org > Subject: [wpe-webkit] Optimising imx6

Re: [yocto] Debugging custom python code in recipes

2019-11-01 Thread Ross Burton
On 01/11/2019 20:44, Alan Martinović wrote: Hey, there was a question today about options for debugging python scripts in yocto. I've patched up this PoC for remote debugging. FWIW, I've done something similar using bare pdb.

Re: [yocto] [meta-raspberrypi] poky linux build fails if ARM erratum mfix linker switch is specified

2019-11-01 Thread Andrei Gherzan
Hi Steve, On 01/11/2019 05:32, Steve Pavao wrote: poky linux build fails when ARM erratum mfix linker switch is specified in local.conf: TARGET_LD_ARCH_append += " -mfix-cortex-a53-843419” causes build failure. Please advise how to use this switch successfully.  I am synced current in

[yocto] poky thud: qtscript fails to build with undefined reference to `cti_vm_throw'

2019-11-01 Thread JK . Behnke
Hello,   I tried to build a poky SDK with QT5 support (I am using poky thud). Unfortunately this failed while bitbaking qtscript. When executing "bitbake qtscript" directly I get the same error.   Here are the IMHO relevant lines of the huge log.do_compile file. I have replaced the long paths by

[yocto] [meta-qt5] How to contribute patches for qtwebengine in meta-qt5?

2019-11-01 Thread Tanu Kaskinen
Hi all! The meta-qt5 readme says that contributions should be made by forking the meta-qt5 repository on GitHub, but when I look at the qtwebengine recipe, it looks like patches are pulled from https://github.com/meta-qt5/qtwebengine-chromium, and that repository looks like the patches are kept

[yocto] [meta-selinux] zeus branch creation

2019-11-01 Thread Vincent Prince
Hi team, Would it be possible to create zeus branch for meta-selinux layer? Kind regards, Vincent -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto

Re: [yocto] [meta-qt5] How to contribute patches for qtwebengine in meta-qt5?

2019-11-01 Thread Martin Jansa
This patch is already included in 5.13.2 upgrade (ready in zeus-next and master-next branches), so you don't need to do anything. Otherwise like Khem says, submit the change for meta-qt5 repository like any other layer. The meta-qt5/qt* repositories are used to maintain the patches, but usually

Re: [yocto] [meta-qt5] How to contribute patches for qtwebengine in meta-qt5?

2019-11-01 Thread Khem Raj
On Fri, Nov 1, 2019 at 3:02 AM Tanu Kaskinen wrote: > Hi all! > > The meta-qt5 readme says that contributions should be made by forking > the meta-qt5 repository on GitHub, but when I look at the qtwebengine > recipe, it looks like patches are pulled from >

Re: [yocto] [meta-selinux] zeus branch creation

2019-11-01 Thread Joe MacDonald
[[yocto] [meta-selinux] zeus branch creation] On 19.11.01 (Fri 14:02) Vincent Prince wrote: > Hi team, > > Would it be possible to create zeus branch for meta-selinux layer? Yes, for sure. Thanks for the reminder. -- -Joe MacDonald. Linux Architect | Mentor® A Siemens Business :wq

[yocto] visual studio code packages or building instructions?

2019-11-01 Thread Aaron Solochek
I would like to get visual studio code on my NXP i.MX8. If someone is aware of a aarch64 rpm of it, that would be the easiest. Alternatively, if anyone knows how to build it using bitbake, I can build it myself. Thank you. -Aaron -- ___ yocto mailing

Re: [yocto] visual studio code packages or building instructions?

2019-11-01 Thread Khem Raj
On Fri, Nov 1, 2019 at 9:37 AM Aaron Solochek wrote: > > I would like to get visual studio code on my NXP i.MX8. If someone is > aware of a aarch64 rpm of it, that would be the easiest. Alternatively, > if anyone knows how to build it using bitbake, I can build it myself. > I dont think we have

Re: [yocto] visual studio code packages or building instructions?

2019-11-01 Thread Ross Burton
On 01/11/2019 16:35, Aaron Solochek wrote: I would like to get visual studio code on my NXP i.MX8. If someone is aware of a aarch64 rpm of it, that would be the easiest. Alternatively, if anyone knows how to build it using bitbake, I can build it myself. Well Microsoft only make x86 binaries

Re: [yocto] [meta-raspberrypi] poky linux build fails if ARM erratum mfix linker switch is specified

2019-11-01 Thread Khem Raj
On Fri, Nov 1, 2019 at 1:28 AM Andrei Gherzan wrote: > > Hi Steve, > > On 01/11/2019 05:32, Steve Pavao wrote: > > poky linux build fails when ARM erratum mfix linker switch is specified > > in local.conf: > > > > TARGET_LD_ARCH_append += " -mfix-cortex-a53-843419” > > > > causes build failure. >

Re: [yocto] poky thud: qtscript fails to build with undefined reference to `cti_vm_throw'

2019-11-01 Thread Khem Raj
On Fri, Nov 1, 2019 at 2:12 AM wrote: > > Hello, > > I tried to build a poky SDK with QT5 support (I am using poky thud). > Unfortunately this failed while bitbaking qtscript. > When executing "bitbake qtscript" directly I get the same error. > > Here are the IMHO relevant lines of the huge

Re: [yocto] visual studio code packages or building instructions?

2019-11-01 Thread Aaron Solochek
Well I grabbed the .deb that one of those links mentioned and converted it to an rpm, but of course there are a ton of unmet dependencies, so I might have to build it anyway. I found these instructions for building it, which are pinned to an older version (which is probably fine)

Re: [yocto] visual studio code packages or building instructions?

2019-11-01 Thread Nicolas Dechesne
On Fri, Nov 1, 2019 at 6:51 PM Aaron Solochek wrote: > > Well I grabbed the .deb that one of those links mentioned and converted it to > an rpm, but of course there are a ton of unmet dependencies, so I might have > to build it anyway. > > I found these instructions for building it, which are

Re: [yocto] visual studio code packages or building instructions?

2019-11-01 Thread Ross Burton
On 01/11/2019 17:51, Aaron Solochek wrote: Well I grabbed the .deb that one of those links mentioned and converted it to an rpm, but of course there are a ton of unmet dependencies, so I might have to build it anyway. I found these instructions for building it, which are pinned to an older

Re: [yocto] visual studio code packages or building instructions?

2019-11-01 Thread Aaron Solochek
-Original Message- From: Ross Burton Sent: Friday, November 1, 2019 2:04 PM To: Aaron Solochek ; yocto@yoctoproject.org Subject: Re: [yocto] visual studio code packages or building instructions? On 01/11/2019 17:51, Aaron Solochek wrote: > Well I grabbed the .deb that one of those

Re: [linux-yocto] [kernel-cache yocto-5.2/master] [PATCH] ti-am335x: enable GCC -O2 optimization

2019-11-01 Thread Bruce Ashfield
On Thu, Oct 31, 2019 at 11:12 PM He Zhe wrote: > > Hi Bruce, > > This now happens on qemuarmv5 and possibly on all arm arches. > > standard.scc -> arm.scc -> arm.cfg -> CONFIG_CC_OPTIMIZE_FOR_SIZE=y > > It hangs the whole system. > But turning off CONFIG_CC_OPTIMIZE_FOR_SIZE would affect all