Re: [yocto] SRC_URI issue in recipe writing

2014-06-24 Thread Anders Darander
* Pourya Shirazian pourya.shiraz...@gmail.com [140624 00:58]: Hi, When writing a recipe the SRC_URI is supposed to accept git repository addresses but the following fails to build for me: 1. With http URL: It also does not allow my credentials to be embedded in the URI SRC_URI =

[yocto] Compiling openvswitch module in yocto

2014-06-24 Thread Pradeep kumar
*on x-86 openvswitch compiling steps are as follows:* -./boot.sh -./configure --with-linux=/lib/modules/`uname -r`/build -make -make install by following these steps an openvswitch kernel module get built in *openvswitch-1.10.0/datapath/linux/openvswitch.ko* *i Am using following steps to

[yocto] Error in Yocto do_package (cachedpath.py)

2014-06-24 Thread Dr. Markus Eich
Dear all, I am setting up Yocto to compile my kernel for odroid xu. During the package phase of building the kernel, I get an error in cachedpath.py DEBUG: Executing python function sstate_task_prefunc DEBUG: Python function sstate_task_prefunc finished DEBUG: Executing

Re: [yocto] Compiling openvswitch module in yocto

2014-06-24 Thread Gaurang Shastri
Hi, In your recipe, you just need to enable, EXTRA_OECONF = --with-linux=${STAGING_KERNEL_DIR} KARCH=${TARGET_ARCH} This will build openvswitch module against your kernel source. I did this and I did not find any issues and it built module against my kernel. Can you paste more logs here ??

Re: [yocto] What is the simplest, or better yet, canonical way to add a shell script to core-image-minimal?

2014-06-24 Thread Gaurang Shastri
Do you want something like ROOTFS_POSTPROCESS_COMMAND ?? //Gaurang Shastri On Mon, Jun 23, 2014 at 9:26 PM, Patrick Doyle wpds...@gmail.com wrote: Should I create a core-image-minimal.bbappend file with a SRC_URI pointing to my script and a do_install rule to install it? Is there a better

Re: [yocto] What is the simplest, or better yet, canonical way to add a shell script to core-image-minimal?

2014-06-24 Thread Nicolas Dechesne
On Tue, Jun 24, 2014 at 11:50 AM, Burton, Ross ross.bur...@intel.com wrote: On 23 June 2014 16:56, Patrick Doyle wpds...@gmail.com wrote: Should I create a core-image-minimal.bbappend file with a SRC_URI pointing to my script and a do_install rule to install it? Create a new recipe for the

Re: [yocto] the apparent need for docbook replaceable tag in manual examples

2014-06-24 Thread Robert P. J. Day
On Mon, 23 Jun 2014, Christopher Larson wrote: On Sun, Jun 22, 2014 at 6:20 AM, Robert P. J. Day rpj...@crashcourse.ca wrote:   as i said, it took me a few minutes to figure out what the conditional metadata example above was trying to demonstrate, but as soon as i saw a

Re: [yocto] What is the simplest, or better yet, canonical way to add a shell script to core-image-minimal?

2014-06-24 Thread Patrick Doyle
Hello Gaurang, Ross, and Nicolas, Thank you for your suggestions. I ended up implementing Ross's suggestion (before I got even got his suggestion) because it was the only answer I could come with on my own where all the pieces made sense. I originally asked the question out of a (most likely

[yocto] Compiling Pseudo on Scientific Linux 6.4

2014-06-24 Thread Jack Lovell
Hi I'm having issues running bitbake on SL 6.4. I'm trying to build U-boot, but before I even get to that stage, Pseudo fails on do_install for quilt-native. I keep getting the error message: | The current directory must be set to the ITT directory. | Change the default to the ITT

[yocto] Minutes: Yocto Project Technical Team Meeting - Tuesday, June 24, 2014 8:00 AM US Pacific Time

2014-06-24 Thread Jolley, Stephen K
Attendees: Armin, Stephen, Melissa, Tom, Jefro, Herb, Saul, Michael, Richard, Mark, Bruce, Mathew, Nitin, Christian, * Opens collection - 5 min (Stephen) * Yocto 1.7 status - 5 min (Stephen/team) https://wiki.yoctoproject.org/wiki/Yocto_Project_v1.7_Status

Re: [yocto] File system for alternate partition

2014-06-24 Thread Bollinger, Seth
I guess I didn¹t think about using a full image as I would need to remove a bunch of stuff, but maybe that is the best way. That way I can keep the flexibility of defining recipes that would be installed to my data partition image. I will give it a try. So I created an empty image without any

Re: [yocto] Adding files to the hddimg

2014-06-24 Thread Francois P. Gallichand
Hello Anders, I don't want to copy files into the rootfs, I know how to do that. It's really in the hddimg that I need to copy files, at the same level as the rootfs. To make a short story, here's what I want to do. I want to use a usb drive to install a system so I dd the hddimg to this usb

Re: [yocto] how to set LICENSE for llvm in .bb file

2014-06-24 Thread Randy MacLeod
On 14-04-03 04:54 AM, Guo, Yejun wrote: Thank you Ross, what I actually need is llvm+clang, it is a very good reference for me to resolve the license issue, and the SYSROOT_PREPROCESS_FUNCS knowledge to resolve llvm-config issue. Thanks Yejun Yejun, Did you ever produce a recipe to build

Re: [yocto] SRC_URI issue in recipe writing

2014-06-24 Thread Pourya Shirazian
Thanks alot Anders, Finally I made it work with ssh: The colon after the domain name should be changed to a / : Wrong) SRC_URI = g...@mygitserver.net:me/myproject.git;protocol=ssh; branch=master Correct) SRC_URI = g...@mygitserver.net/me/myproject.git;protocol=ssh; branch=master Cheers, On

Re: [yocto] how to set LICENSE for llvm in .bb file

2014-06-24 Thread Guo, Yejun
Hi Randy, See below for the .bb file that Juan and I created to build llvm+clang 3.3, one thing need to mention is that we do not put llvm-config under crossscripts (the .bb file in oe-core does so) since we want the same behavior between yocto build on host and direct build on target.

Re: [linux-yocto] Keyboard on Beaglebone Black

2014-06-24 Thread Kevin Hao
On Tue, Jun 24, 2014 at 10:34:35AM +0800, Kevin Hao wrote: On Mon, Jun 23, 2014 at 11:39:57AM -0400, Bruce Ashfield wrote: On 14-06-23 02:59 AM, Sven Vos wrote: Hello, I am trying to get a Keyboard working on a Beaglebone Black. But after building a non-custom core-image-minimal and

Re: [linux-yocto] Keyboard on Beaglebone Black

2014-06-24 Thread Bruce Ashfield
On 14-06-24 07:06 AM, Kevin Hao wrote: On Tue, Jun 24, 2014 at 10:34:35AM +0800, Kevin Hao wrote: On Mon, Jun 23, 2014 at 11:39:57AM -0400, Bruce Ashfield wrote: On 14-06-23 02:59 AM, Sven Vos wrote: Hello, I am trying to get a Keyboard working on a Beaglebone Black. But after building a

Re: [linux-yocto] Keyboard on Beaglebone Black

2014-06-24 Thread Sven Vos
If i am right then i have to configure the kernel with the bitbake virtual/kernel -c menuconfig command? And after that i need to configure the following modules as built-in: - Support for Host-side USB - Inventra Highspeed Dual Role Controller - Platform Flue Layer (ti DSPS platforms?) - MUSB DMA

Re: [linux-yocto] Keyboard on Beaglebone Black

2014-06-24 Thread Bruce Ashfield
On 14-06-24 10:02 AM, Sven Vos wrote: If i am right then i have to configure the kernel with the bitbake virtual/kernel -c menuconfig command? And after that i need to For iterative testing, that is the right thing to do. configure the following modules as built-in: - Support for Host-side

Re: [linux-yocto] Keyboard on Beaglebone Black

2014-06-24 Thread Mehaffey, John
On Tuesday, June 24, 2014 5:56 AM, Bruce Ashfield wrote: On 14-06-24 07:06 AM, Kevin Hao wrote: On Tue, Jun 24, 2014 at 10:34:35AM +0800, Kevin Hao wrote: On Mon, Jun 23, 2014 at 11:39:57AM -0400, Bruce Ashfield wrote: On 14-06-23 02:59 AM, Sven Vos wrote: Hello, I am trying to get a

Re: [linux-yocto] Keyboard on Beaglebone Black

2014-06-24 Thread Bruce Ashfield
On 14-06-24 11:06 AM, Mehaffey, John wrote: On Tuesday, June 24, 2014 5:56 AM, Bruce Ashfield wrote: On 14-06-24 07:06 AM, Kevin Hao wrote: On Tue, Jun 24, 2014 at 10:34:35AM +0800, Kevin Hao wrote: On Mon, Jun 23, 2014 at 11:39:57AM -0400, Bruce Ashfield wrote: On 14-06-23 02:59 AM, Sven

Re: [linux-yocto] Keyboard on Beaglebone Black

2014-06-24 Thread Sven Vos
But if you dont want to login with a serial connection to the pc, you will need a keyboard in my opinion. Op 24 jun. 2014 17:05 schreef Mehaffey, John john_mehaf...@mentor.com het volgende: On Tuesday, June 24, 2014 5:56 AM, Bruce Ashfield wrote: On 14-06-24 07:06 AM, Kevin Hao wrote: On

Re: [linux-yocto] Keyboard on Beaglebone Black

2014-06-24 Thread Bruce Ashfield
On 14-06-24 11:22 AM, Mehaffey, John wrote: On Tuesday, June 24, 2014 8:07 AM, Bruce Ashfield wrote: On 14-06-24 11:06 AM, Mehaffey, John wrote: On Tuesday, June 24, 2014 5:56 AM, Bruce Ashfield wrote: On 14-06-24 07:06 AM, Kevin Hao wrote: On Tue, Jun 24, 2014 at 10:34:35AM +0800, Kevin Hao