Re: [yocto] Inline Python function name define

2016-02-10 Thread Xi Zhou Zhou
The code works for me. Thanks, Joel On Wed, Feb 10, 2016 at 2:04 PM, Christopher Larson wrote: > def foo(d): > # Do something > > FOO = "${@foo(d)}" > > On Wed, Feb 10, 2016 at 12:02 PM Xi Zhou Zhou > wrote: > >> Hi, >> >> I want to ma

[yocto] Inline Python function name define

2016-02-10 Thread Xi Zhou Zhou
Hi, I want to manipulate a variable with inline python function in a recipe. The code is something like this. python newpv() { return 999 } PV = "${@newpv()}" The error is "name 'newpv' is not defined" ERROR: ExpansionError during parsing /home/joelz/poky/build/ ../meta-test/recipes-bsp/m

[yocto] ERROR: Multiple .bb files

2015-06-01 Thread Joel (Xi Zhou) Zhou
project.org [mailto:yocto-boun...@yoctoproject.org] On Behalf Of Joel (Xi Zhou) Zhou Sent: Monday, June 01, 2015 10:48 AM To: yocto@yoctoproject.org Subject: [yocto] Multi recipes for different defconfig on the same kernel source Hi all, I need to create multiple recipes for different kernel config

[yocto] Multi recipes for different defconfig on the same kernel source

2015-06-01 Thread Joel (Xi Zhou) Zhou
Hi all, I need to create multiple recipes for different kernel config based on the same kernel source. In my experiment, I create a new recipe linux-brcm-nand based on linux-brcm, the only different is the kernel defconfig file. >From the following error message, it looks like the idea of multi-

[yocto] armv7 firmware recipe in armv8 distro

2015-05-27 Thread Joel (Xi Zhou) Zhou
Hi all, We have a Yocto BSP based on arm64/aarch64 machine. On top of this, I need to create a firmware recipe, which need armv7 cross-compiler. So question is, how to support multiple toolchain in Yocto? Thanks, Joel -- ___ yocto mailing list yocto@y

[yocto] How to disable machine tune?

2015-05-12 Thread Joel (Xi Zhou) Zhou
Hi all, I have a Linux arm64 kernel on early bring-up stage, which can boot into console with manually build. If I build it from Yocto, a lot of configs be enabled, then the kernel result in "Synchronous Abort" error. Could anyone kindly tell me how to the auto-tuning feature in Yocto? Thanks!

Re: [yocto] Kernel customized do_fetch issue

2015-04-29 Thread Joel (Xi Zhou) Zhou
Thanks Bruce! > You really aren't seeing anything land in the build/downloads/git2/ > directory structure ? ssh fetches seem to work here. I do see something in build/downloads/git2/git-ccxsw.xxx.com.linux-lsk, but it looks like an empty git. HEAD branches config description hooks in

Re: [yocto] Kernel customized do_fetch issue

2015-04-29 Thread Joel (Xi Zhou) Zhou
> But the question has to be asked. Why exactly are you manually fetching > the kernel ? The fetcher can take care of most everything. The whole story is starting at the url of our git repo. We have a git URL like: ssh://svcsw...@git-ccxsw.inhouse.com/linux-lsk So the SRC_URI like this, b

[yocto] Kernel customized do_fetch issue

2015-04-29 Thread Joel (Xi Zhou) Zhou
Hi all, I created a do_fetch() for checkout in-house git repo, which is working fine with OE. do_fetch() { cd ${WORKDIR} rm -rf ${PN}-${PV} git clone ssh://svcsw...@git-ccxsw.inhouse.com/linux-lsk ${PN}-${PV} cd ${PN}-${PV} git checkout ${KBRANCH} } With Yocto, the do_fetch()

Re: [yocto] Kernel git repo fetch issue

2015-04-29 Thread Joel (Xi Zhou) Zhou
ilto:raj.k...@gmail.com] Sent: Wednesday, April 29, 2015 11:30 AM To: Joel (Xi Zhou) Zhou Cc: yocto@yoctoproject.org Subject: Re: [yocto] Kernel git repo fetch issue On Apr 29, 2015, at 8:21 AM, Joel (Xi Zhou) Zhou mailto:joel.z...@broadcom.com>> wrote: So in linux-lsk_3.14.29.bb file, we

[yocto] Kernel git repo fetch issue

2015-04-29 Thread Joel (Xi Zhou) Zhou
Hi all, We have an in-house git repo for Linux kernel: ssh://svcsw...@git-ccxsw.inhouse.com/linux-lsk So in linux-lsk_3.14.29.bb file, we define: SRC_URI = "ssh://svcsw...@git-ccxsw.inhouse.com/linux-lsk;bareclone=1;branch=${KBRANCH}" Then 'bitbake linux-lsk' can't fetch the URL: ERROR: Fetche