Re: [yocto] Failed to cross compile kernel with Yocto toolchain

2016-06-29 Thread Zhenhua Luo
I think you mean /usr/lib64/ccache/gcc instead of /usr/lib64/gcc, it is a valid link. $ source /opt/poky/2.1+snapshot/environment-setup-ppce500mc-poky-linux $ which gcc /usr/lib64/ccache/gcc $ $ ls -l /usr/lib64/ccache/gcc lrwxrwxrwx 1 root root 16 Jun 29 18:22 /usr/lib64/ccache/gcc -> ../../b

[yocto] [yocto-autobuilder][PATCH] bin/release_scripts/release.py: Add some basic logging

2016-06-29 Thread Graydon, Tracy
This patch adds some basic logging to help find failure point should the script barf due to lost ssh session, etc. Without it, finding where to resume is not particularly entertaining. Signed-off-by: Graydon, Tracy --- bin/release_scripts/release.py | 43 +++--

[yocto] [yocto-autobuilder][PATCH] bin/release_scripts/release.py: Add some basic logging

2016-06-29 Thread Graydon, Tracy
This patch adds some basic logging to help find failure point should the script barf due to lost ssh session, etc. Without it, finding where to resume is not particularly entertaining. Signed-off-by: Graydon, Tracy --- bin/release_scripts/release.py | 43 +++--

Re: [yocto] Fetch failure errors while building yocto

2016-06-29 Thread Smith, Virgil
See the Yocto Wiki Question "How do I create my own source download mirror?" https://wiki.yoctoproject.org/wiki/How_do_I#Q:_How_do_I_create_my_own_source_download_mirror_.3F That does not answer why you are getting intermittent download errors, but the stark fact is that to some degree this must

[yocto] QA Test Report for Yocto Project 2.2 M1 rc2

2016-06-29 Thread Perez Carranza, Jose
Hi All Here is the status for the Full Test Cycle of Yocto Project 2.2 M1 rc2 Bugs Summary **Bugs to highlight - WIC images fail to boot ( blocking 100% of WIC test suite ) - 9824 {1] - For Toaster there is a total of 13 Bugs that are making fail around 12 % of th

[yocto] Fetch failure errors while building yocto

2016-06-29 Thread Harinath maddelal
Hi While im trying to build yocto. Im facing some fetch failure errors. The same works fine sometimes but sometimes it fails giving the error as unable to fetch. When i try to download it using wget it works fine. Build Configuration: BB_VERSION= "1.24.0" BUILD_SYS = "x86_64-

[yocto] [yocto-autobuilder][PATCH] CreateAutoConf.py: fix default path for auto.conf

2016-06-29 Thread Bill Randle
Commit 1d67af87fafe89f75041824bfcf00e92163b949f made the destination path configurable, with the default supposed to be "./build/conf/auto.conf". A typo in the patch instead set the default to "./build/auto.conf". In addition, replace hard coded path with configurable value when removing a previous

Re: [yocto] Installing python scripts at image

2016-06-29 Thread Daniel.
H I replace /usr/bin/python by /usr/bin/evn python and the problem vanished :) I found a email suggesting this at list's archives :). Regards, 2016-06-29 12:09 GMT-03:00 Burton, Ross : > > On 29 June 2016 at 15:43, Daniel. wrote: >> >> It seems that Yocto inspect the first line of scripts t

Re: [yocto] meta-toolchain build errors

2016-06-29 Thread Khem Raj
t; TARGET_SYS= "arm-amltd-linux-gnueabi" > MACHINE = "teton-p0382" > DISTRO= "amltd" > DISTRO_VERSION= "2.1+snapshot-20160629" > TUNE_FEATURES = "arm armv7a vfp thumb neon callconvention-hard cortexa9&quo

Re: [yocto] Installing python scripts at image

2016-06-29 Thread Burton, Ross
On 29 June 2016 at 15:43, Daniel. wrote: > It seems that Yocto inspect the first line of scripts to grab this > dependency but fails to map /usr/bin/python to python-core (which is > already installed). How to make this work right?! > Add a RDEPENDS_${PN} += "python-core python-modules". Ross -

[yocto] Installing python scripts at image

2016-06-29 Thread Daniel.
Hi everybody, I have a recipe that relies on distutils.bbclass. This one should install some scripts to ${bindir}, at last this is what I'm expecting to achieve. I want the scripts to be runnable directly by command line for convenience. Example: example-script.py args... For this reason I put "#

Re: [yocto] Failed to cross compile kernel with Yocto toolchain

2016-06-29 Thread Daniel.
Is /usr/lib64/gcc a file or a link? Is it a valid link? 2016-06-29 5:52 GMT-03:00 Zhenhua Luo : > The /usr/lib64/ccache is added in PATH by /etc/profile.d/ccache.sh when > ccache is installed on Fedora host, the issue disappears if one of the > following changes is done. > > 1. Remove /usr/l

[yocto] meta-toolchain build errors

2016-06-29 Thread Gary Thomas
2" DISTRO = "amltd" DISTRO_VERSION= "2.1+snapshot-20160629" TUNE_FEATURES = "arm armv7a vfp thumb neon callconvention-hard cortexa9" TARGET_FPU= "hard" meta = "master:c6d50b272936b61b98a056ea2e1de5d0f4

Re: [yocto] some questions about PPC yocto reference board mpc8315e-rdb

2016-06-29 Thread Zhenhua Luo
Hello rday, The error logs indicate that the default boot option(bootcmd=run sataboot) finds rootfs in /dev/sda1, but seems like the disk drive is not available or enabled on your board. To check whether kernel can boot up, you can try ramboot(ramboot=set bootargs root=/dev/ram rw console=tt

Re: [yocto] setcap using recipe

2016-06-29 Thread Burton, Ross
On 29 June 2016 at 05:10, Kumar, Shrawan wrote: > Could your update on my issues ? > > The patch is probably against a newer version. If you're unable to switch to the latest version of pseudo to debug this then you can run setcap in a postinst. Ross -- ___

Re: [yocto] Failed to cross compile kernel with Yocto toolchain

2016-06-29 Thread Zhenhua Luo
The /usr/lib64/ccache is added in PATH by /etc/profile.d/ccache.sh when ccache is installed on Fedora host, the issue disappears if one of the following changes is done. 1. Remove /usr/lib64/ccache from PATH 2. Move /usr/lib64/ccache after /usr/bin in PATH 3. Set CCACHE_PATH