[yocto] Proper way of rebuilding kernel image

2016-10-11 Thread Michael Hu
Hi, I am compiling Yocto kernel image with: * a third party's "in-tree" kernel configuration * the same third party's BSP (which has some further kernel configurations as well) * my own kernel configuration fragments for my project on top of the above two What I found was if I make a small

[yocto] fetch artifacts from Artifactory

2016-09-20 Thread Michael Hu
Hello, I am trying to retrieve artifacts from Jfrog Artifactory, I put the https url in the recipe: SRC_URI = "https://artifactory.xx.com/" and Yocto build returns the following error " WARNING: do_fetch: Failed to fetch URL https://artifactory.xx.com/xx ;user=;pswd=, attempting MIRRORS if

Re: [yocto] do_patch through Yocto fails while "git am" succeed

2016-06-22 Thread Michael Hu
Hi Khem, I'm using Yocto 2.1 Krogoth, and quilt version is 0.64. The workstation is running Redhat 6.6. Thanks On Wed, Jun 15, 2016 at 5:10 PM, Khem Raj <raj.k...@gmail.com> wrote: > On Fri, Jun 10, 2016 at 11:12 AM, Michael Hu <pxmyh...@gmail.com> wrote: > > Do

[yocto] do_patch through Yocto fails while "git am" succeed

2016-06-10 Thread Michael Hu
Does anyone know what's the difference between using Yocto to apply patches and apply patch directly using git command? I am trying to apply patches for arm-trusted-firmware through yocto by extending arm-trusted-firmware.bb file, in .bbappend file, I have: SRC_URI = "file://" I got the

[yocto] Retrieve SRCREV variable value outside of a specific recipe (not modifying it)

2016-05-24 Thread Michael Hu
Hi, My goal is to pull recipe's SRCREV variable into a top level *.bbclass file. I understand we can use SRCREV_pn- to modify the revision on the fly outside of recipe in configuration files but when I print out SRCREV information using ${SRCREV_pn-recipename} all I got back is the recipe name

[yocto] remove Yocto systemd features

2016-04-15 Thread Michael Hu
Hi, Yocto pulls in systemd and enable certain features by default.I am trying to remove some features in systemd *225* yocto builds such as logind (just for testing purpose), I was trying to use a '*.bbappend' file with 'PACKAGECONFIG_append' to achieve that, but seems like it only takes options