| Summary: | Failed to do_patch for linux-yocto for custom Intel BSP by yocto bsp tool | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] Meta-yocto | Reporter: | Yi Zhao <yi.zhao> | ||||
| Component: | configuration | Assignee: | Leonardo Sandoval Gonzalez <leonardo.sandoval.gonzalez> | ||||
| Status: | VERIFIED FIXED | QA Contact: | Yi Zhao <yi.zhao> | ||||
| Severity: | normal | ||||||
| Priority: | Medium+ | CC: | alexandru.c.georgescu, bruce.ashfield, ke.zou, poky.bs.watcher, poky.watcher, sgw, yi.zhao, zhangle.yang | ||||
| Version: | 2.0 | ||||||
| Target Milestone: | 2.0.1 | ||||||
| Hardware: | x86 | ||||||
| OS: | Multiple | ||||||
| Whiteboard: | |||||||
| OS type for building Yocto: | --- | Type of Regression: | Regression (Used to work) | ||||
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |||||
| Attachments: |
|
||||||
|
Description
Yi Zhao
2015-11-03 07:34:25 UTC
Yi, Can't reproduce the issue. I did the same steps as you, but let me explicitly included them again: $ source oe-init-build-env $ rm -rf tmp sstate-cache/ $ # set MACHINE ??= "qemux86-64" on local.conf $ yocto-bsp create testintel x86_64 # the same config as you $ # set BBLAYERS += "/home/lsandov1/poky/build/meta-testintel" on bblayers.conf $ bitbake core-image-minimal Let me do if something is missing or any other test you want me to do. Base on my last comment, I need directions from Yi. Yi, My fault, I tested with kernel 4.1, not 3.19. Will try to reproduce it. Following steps [1] with poky HEAD fc45deac89ef63ca1c44e763c38ced7dfd72cbe1, I cannot reproduce the issue. Moving it to NEEDINFO. [1] https://bugzilla.yoctoproject.org/show_bug.cgi?id=8630#c1 (In reply to comment #4) > Following steps [1] with poky HEAD fc45deac89ef63ca1c44e763c38ced7dfd72cbe1, > I cannot reproduce the issue. Moving it to NEEDINFO. > > [1] https://bugzilla.yoctoproject.org/show_bug.cgi?id=8630#c1 Hi Leonardo, I still can reproduced it on 3.19 kernel with latest jethro branch. I thought maybe you hadn't changed the bblayers.conf and local.conf before build image. Besides the steps in comment 1, you should also need to add meta-myintelbsp layer to bblayers.conf: BBLAYERS ?= " \ /usr/local/dev/Yocto/meta \ /usr/local/dev/Yocto/meta-yocto \ /usr/local/dev/Yocto/meta-intel \ /usr/local/dev/Yocto/meta-myintelbsp \ " And also need to edit local.conf set MACHINE to myintelbsp: MACHINE ??= "myintelbsp" (In reply to comment #5) > (In reply to comment #4) > > Following steps [1] with poky HEAD fc45deac89ef63ca1c44e763c38ced7dfd72cbe1, > > I cannot reproduce the issue. Moving it to NEEDINFO. > > > > [1] https://bugzilla.yoctoproject.org/show_bug.cgi?id=8630#c1 > > Hi Leonardo, > I still can reproduced it on 3.19 kernel with latest jethro branch. I > thought maybe you hadn't changed the bblayers.conf and local.conf before > build image. Besides the steps in comment 1, you should also need to add > meta-myintelbsp layer to bblayers.conf: > > BBLAYERS ?= " \ > /usr/local/dev/Yocto/meta \ > /usr/local/dev/Yocto/meta-yocto \ > /usr/local/dev/Yocto/meta-intel \ > /usr/local/dev/Yocto/meta-myintelbsp \ > " > > And also need to edit local.conf set MACHINE to myintelbsp: > > MACHINE ??= "myintelbsp" Sorry, I missed your comment 1 , you were set the wrong MACHINE name, it should be set your new bsp name. Info supplied Yin. I was able to reproduce the issue. The MACHINE value was wrong on my first setup, as you figured out. Now I am testing the patch (attached) in case you want to try it prior sending it to the ML. (In reply to comment #8) > Yin. > I keep telling you Yin, sorry Yi. > I was able to reproduce the issue. The MACHINE value was wrong on my first > setup, as you figured out. > > Now I am testing the patch (attached) in case you want to try it prior > sending it to the ML. Created attachment 2839 [details]
proposed patch, to be send to the ML
Patches sent to the ML. Besides the one attached, another patch was needed in order to set SRCREV to AUTOREV, so it does not depend on a fixed REV value given on the bb linux-yocto recipe. Patch (embedded on a series) sent to the ML: http://lists.openembedded.org/pipermail/openembedded-core/2016-February/116735.html Patch merged into Jethro branch: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?h=jethro&id=a88d6cb170345b7ed4101924e11dd36912deaa29 Verified with Yocto 2.0.1 rc6 build. git rev: jethro/5b12268f6e17574999f91628a60e21711cf62ee4 |