[yocto] Accessing analog pins on BeagleBone Black

2016-08-20 Thread Chris Kottaridis
I followed the quick start guide, essentially == 1. checked out krogoth ran: 2. source oe-init-build-env 3. Changed config file to enable BEAGLEBONE MACHINE ?= "beaglebone" ran 4. $ bitbake core-image-sato 5. Found steps to build image on micro SD Successfully booted

[yocto] [meta-security][PATCH] clamav: fix gcc 6.x build failure.

2016-08-20 Thread Armin Kuster
./llvm/include/llvm/Support/AlignOf.h:57:24: error: expected unqualified-id before 'alignof' static inline unsigned alignof() { return AlignOf::Alignment; } ^~~ compile with -std=gnu++98 alt in future is to us llvm3X and configure --with-system-llvm --with-llvm-link

[yocto] [meta-mingw][PATCH 0/7] Updates for krogoth/master

2016-08-20 Thread Juro Bystricky
Krogoth recipes fail to cross-compile for Windows using meta-mingw layer. In particular, the following should/used to work (jethro with meta-mingw layer): SDKMACHINE="i686-mingw32" MACHINE="qemux86" TCLIBC="baremetal" bitbake gcc-cross-canadian-i586 SDKMACHINE="i686-mingw32" MACHINE="qemux86" bit

[yocto] [meta-mingw][PATCH 5/7] gmp_6.0.0.bbappend: Removed

2016-08-20 Thread Juro Bystricky
Not needed anymore. Signed-off-by: Juro Bystricky --- recipes-support/gmp/gmp_6.0.0.bbappend | 3 --- 1 file changed, 3 deletions(-) delete mode 100644 recipes-support/gmp/gmp_6.0.0.bbappend diff --git a/recipes-support/gmp/gmp_6.0.0.bbappend b/recipes-support/gmp/gmp_6.0.0.bbappend deleted f

[yocto] [meta-mingw][PATCH 4/7] gcc-runtime: Drop libitm for mingw32 runtime

2016-08-20 Thread Juro Bystricky
libitm mingw build presently not supported, so don't build it. Signed-off-by: Juro Bystricky --- recipes-devtools/gcc/gcc-runtime_%.bbappend | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes-devtools/gcc/gcc-runtime_%.bbappend b/recipes-devtools/gcc/gcc-runtime_%.bbappend index b068df

[yocto] [meta-mingw][PATCH 1/7] *-mingw32.conf: Upgrade for krogoth

2016-08-20 Thread Juro Bystricky
Use explicit mingw32 override for PREFERRED_PROVIDER_virtual/nativesdk-${SDK_PREFIX}libc-initial to avoid multiple providers and consequently broken builds. Allow building static libraries, disabled by default. Signed-off-by: Juro Bystricky --- conf/machine-sdk/i686-mingw32.conf | 7

[yocto] [meta-mingw][PATCH 3/7] binutils-cross-canadian_2.25%.bbappend: Work with all 2.2* versions

2016-08-20 Thread Juro Bystricky
Tested up to 2.27 Signed-off-by: Juro Bystricky --- recipes-devtools/binutils/binutils-cross-canadian_2.2%.bbappend | 5 + recipes-devtools/binutils/binutils-cross-canadian_2.25%.bbappend | 5 - 2 files changed, 5 insertions(+), 5 deletions(-) create mode 100644 recipes-devtools/binut

[yocto] [meta-mingw][PATCH 2/7] gettext_0.19.4.bbappend: Update for later versions

2016-08-20 Thread Juro Bystricky
Modified to work properly with later versions. Only static build supported. (Tested up to 0.19.8.1) Signed-off-by: Juro Bystricky --- recipes-core/gettext/gettext_0.19.%.bbappend | 6 ++ recipes-core/gettext/gettext_0.19.4.bbappend | 2 -- 2 files changed, 6 insertions(+), 2 deletions(-) cr

[yocto] [meta-mingw][PATCH 6/7] mpfr_3.1.3.bbappend: Work with all 3.1.% versions

2016-08-20 Thread Juro Bystricky
Tested with 3.1.4. Signed-off-by: Juro Bystricky --- recipes-support/mpfr/mpfr_3.1.%.bbappend | 1 + recipes-support/mpfr/mpfr_3.1.3.bbappend | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 recipes-support/mpfr/mpfr_3.1.%.bbappend delete mode 100644 recipes-support/mpf

[yocto] [meta-mingw][PATCH 7/7] gdb-cross-canadian_7.9.1: Work with all 7.% versions

2016-08-20 Thread Juro Bystricky
Tested with 7.11. Signed-off-by: Juro Bystricky --- recipes-devtools/gdb/gdb-cross-canadian_7.%.bbappend | 7 +++ recipes-devtools/gdb/gdb-cross-canadian_7.9.1.bbappend | 5 - 2 files changed, 7 insertions(+), 5 deletions(-) create mode 100644 recipes-devtools/gdb/gdb-cross-canadian_7

Re: [yocto] [meta-security][PATCH] clamav: fix gcc 6.x build failure.

2016-08-20 Thread Khem Raj
> On Aug 20, 2016, at 10:19 AM, Armin Kuster wrote: > > ./llvm/include/llvm/Support/AlignOf.h:57:24: error: expected unqualified-id > before 'alignof' > static inline unsigned alignof() { return AlignOf::Alignment; } >^~~ For this error, perhaps its better to ifdef

Re: [yocto] [meta-mingw][PATCH 0/7] Updates for krogoth/master

2016-08-20 Thread Khem Raj
> On Aug 20, 2016, at 11:03 AM, Juro Bystricky wrote: > > Krogoth recipes fail to cross-compile for Windows using meta-mingw layer. > In particular, the following should/used to work (jethro with meta-mingw > layer): > > SDKMACHINE="i686-mingw32" > MACHINE="qemux86" > TCLIBC="baremetal" > bitb

[yocto] [yocto-autobuilder][PATCH] PublishArtifacts.py: fix file check to work under dash

2016-08-20 Thread Bill Randle
An earlier patch (ed3857990) to check for existing msd5sum files worked fine when tested under bash, but failed with an error message about [[ not found when run under dash. Updated the test to not rely on bashisms. Signed-off-by: Bill Randle --- lib/python2.7/site-packages/autobuilder/buildstep