[yocto] [meta-raspberry] No spi, i2c when booting with uboot (RPI 3)

2016-09-28 Thread romil1
Hello,   when Im booting my rpi3 (B Rev 1.2) without u-boot erverything works fine. I can see spi and i2c in dmesg.   But when I boot with u-boot (KERNEL_IMAGETYPE = "uImage"), spi and i2c seem to be disabled. I dont see anything with spi or i2c in dmesg.   In both cases I use the same cmdli

[yocto] What is the common way to extend an package without bbappend?

2016-09-28 Thread S . Jaritz
Hej I want to install apache2 + a website. For that I need to copy my website to the std. dir defined in the apache config file. In my thinking my website uses the apache service to be aviable and therefore is an own package (myweb.bb). This package contains the dependency to the "apache2" rec

Re: [yocto] What is the common way to extend an package without bbappend?

2016-09-28 Thread Burton, Ross
On 28 September 2016 at 14:40, wrote: > When populate_sysroot is called in myweb.bb finishes with the error: > > myweb-1.0-r0 do_populate_sysroot: The recipe myweb is trying to install > files into a shared area when those files already exist. Those files and > their manifest location are: >/

[yocto] Antwort: Re: What is the common way to extend an package without bbappend?

2016-09-28 Thread S . Jaritz
Can you give me an example how to modify my recipe? I attach the simple code below: # myweb.bb ## SUMMARY = "myweb" SECTION = "example" LICENSE = "CLOSED" SRC_URI = "file://myweb.zip" DEPENDS = "apache2" S = "${WORKDIR}" do_install () { install -d ${D}/usr/share/apache2/htdocs/

Re: [yocto] What is the common way to extend an package without bbappend?

2016-09-28 Thread Burton, Ross
On 28 September 2016 at 14:50, wrote: > do_install () { > install -d ${D}/usr/share/apache2/htdocs/ > cp -r ${S}/myweb/* ${D}/usr/share/apache2/htdocs/ > } > FILES_${PN} += "/usr/share/apache2/htdocs/*" Just put the files somewhere else, like /var/www/myweb/. You'll need to con

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

2016-09-28 Thread Richard Purdie
On Wed, 2016-09-28 at 17:06 +0300, Ioan-Adrian Ratiu wrote: > On Sat, 20 Aug 2016, 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): > > > > SDKMACH

Re: [yocto] How to add my own c++ project into a Yocto distro

2016-09-28 Thread Paul Eggleton
On Fri, 23 Sep 2016 20:10:17 Fred Ollinger wrote: > Here's how to write a recipe: > > > http://www.yoctoproject.org/docs/1.6/dev-manual/dev-manual.html#new-recipe-w > riting-a-new-recipe That's the 1.6 version - you may want the "current" link so that you're always looking the most recent stable

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

2016-09-28 Thread Ioan-Adrian Ratiu
On Sat, 20 Aug 2016, 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" > bitbake gcc-cross-ca

[yocto] [meta-security][PATCH] scapy: upgrade to 2.3.2

2016-09-28 Thread jackie.huang
From: Jackie Huang * update the SRC_URI since it's been moved from bitbucket to github. * add ptest support Signed-off-by: Jackie Huang --- recipes-security/scapy/scapy/run-ptest| 4 recipes-security/scapy/{scapy_2.3.1.bb => scapy_2.3.2.bb} | 15 +++ 2