Excluding kernel configuration fragment
Fred Baksik
What is the best way of excluding a kernel configuration fragment?
I am trying to disable sound support in the kernel. I can create a fragment for this but then this conflicts with the other existing fragments. For example when using meta-intel and removing sound support then you will receive warnings like: WARNING: linux-intel-4.19.73+gitAUTOINC+a7cb57afb9_ca05e9cd64-r0 do_kernel_configcheck: [kernel config]: specified values did not make it into the kernel's final configuration: ---------- CONFIG_USB_AUDIO ----------------- Config: CONFIG_USB_AUDIO From: /.../build_corei7-64/tmp/work-shared/intel-corei7-64/kernel-source/.kernel-meta/configs/v4.19/standard/intel/features/usb/usb-gadgets.cfg Requested value: CONFIG_USB_AUDIO=m Actual value: I haven't had much luck with the documentation finding how to prune machine features and fragments; I may just misunderstand how this is supposed to be done.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re: How to PROVIDE boost-python
Emily
Hi Laurent - Thanks for the suggestion. It looks like there are a few packages that provide libboost_python3: find tmp/work/*/*/*/packages-split -name libboost_python\* tmp/work/aarch64-poky-linux/boost/1.64.0-r0/packages-split/boost-dev/usr/lib/libboost_python3.so tmp/work/aarch64-poky-linux/boost/1.64.0-r0/packages-split/boost-python/usr/lib/libboost_python3.so.1.64.0 tmp/work/aarch64-poky-linux/boost/1.64.0-r0/packages-split/boost-staticdev/usr/lib/libboost_python3.a tmp/work/aarch64-poky-linux/boost/1.64.0-r0/packages-split/boost-dbg/usr/lib/.debug/libboost_python3.so.1.64.0 Adding boost-python to RDEPENDS doesn't help, I have tried it before also. This sort of made sense to me as I thought RDEPENDS was for run time dependencies, but perhaps I have misunderstood. I am working with the rocko branch and python2, so perhaps that's the problem? Thanks, Emily
On Tue, Mar 17, 2020 at 1:02 PM Laurent Gauthier <laurent.gauthier@...> wrote: Hi Emily,
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re: How to PROVIDE boost-python
Laurent Gauthier
Hi Emily,
toggle quoted messageShow quoted text
To find the solution to your issue in a rational and deterministic way we need to start from the error message. What I understand is that while build recipe "opc-ua-server-gfex" you get an error message that says in short "ld: cannot find -lboost_python-mt". Therefore you need to determine which recipe (and which package in that recipe) provides the "boost_python-mt" library. One way to determine this is to run something like this: find /local/d6/easmith5/rocko_bitbake/poky/build/tmp/work/*/*/*/packages-split -name libboost_python\* This should show you which recipe, and which package produced by that recipe has the library you are looking for. The names of the first-level directories inside "packages-split" are packages names. Based on things you have mentioned in your previous e-mail my guess would be that adding an RDEPENDS = "boost-python" should help, but I might be wrong. I hope this will help you move in the right direction. Kind regards, Laurent.
On Tue, Mar 17, 2020 at 6:07 PM Emily <easmith5555@...> wrote:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re: How to PROVIDE boost-python
Emily
Hi Quentin - That's what I tried originally! DEPENDS on boost and not boost-python gives me the following error when trying to build my original recipe: /local/d6/easmith5/rocko_bitbake/poky/build/tmp/work/aarch64-poky-linux/opc-ua-server-gfex/1.0+gitAUTOINC+921c563309-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/7.3.0/ld: cannot find -lboost_python-mt So I tried a bunch of other this which also didn't seem to work. Thanks for the response! Emily
On Tue, Mar 17, 2020 at 11:04 AM Quentin Schulz <quentin.schulz@...> wrote: Hi Emily,
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re: How to PROVIDE boost-python
Quentin Schulz
Hi Emily,
On Tue, Mar 17, 2020 at 10:44:10AM -0500, Emily wrote: Hi all -Ok so two things. Yes, I'd say you need python in PACKAGECONFIG for boost. However, it seems it's already part of the default value of PACKAGECONFIG, c.f. http://cgit.openembedded.org/openembedded-core/tree/meta/recipes-support/boost/boost.inc?h=master#n45 so if no bbappend is overriding it, I'd say you're safe. Better check with the version in your layer that it's there. If you don't want to check manually, try `bitbake -e boost | grep -e "^PACKAGECONFIG="` DEPENDS contains only recipes (well, PROVIDES but PROVIDES has the name of the recipe in it at all times) while RDEPENDS_* (usually ${PN}*) contains only packages. So you need to DEPENDS on boost, not boost-python. That should be enough hopefully! Quentin
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
How to PROVIDE boost-python
Emily
Hi all - I'm trying to build an opca recipe (https://github.com/kratsg/meta-l1calo/blob/add/opcServer/recipes-core/opc-ua/opc-ua-server-gfex_git.bb) and it's giving me a build error like: | /local/d6/easmith5/rocko_bitbake/poky/build/tmp/work/aarch64-poky-linux/opc-ua-server-gfex/1.0+gitAUTOINC+921c563309-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/7.3.0/ld: cannot find -lboost_python-mt Which seems to indicated I need to add boost-python to my list of DEPENDS. When I do that I get the error: ERROR: Nothing PROVIDES 'boost-python' (but /local/d6/easmith5/rocko_bitbake/meta-l1calo/recipes-core/opc-ua/opc-ua-server-gfex_git.bb DEPENDS on or otherwise requires it). Close matches: boost RPROVIDES boost-python I've tried adding PACKAGECONFIG_pn-boost="python" to both my local.conf and to the image definition as I saw this online, but neither seems to work. It seems like boost-python is being built (I can see it in the list when I run oe-pkgdata-utils list-pkgs -p boost) but it doesn't seem to be available at build for this recipe. If I remove boost from my list of DEPENDS I get an error about that, so obviously boost itself is available at build for the original recipe. I've also tried adding boost-native to DEPENDS, also did not work. Is there something obvious I'm missing, or some trick to making boost-python available at build for this other recipe? Thanks! Emily Smith
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Yocto Project Status WW11'20
Stephen Jolley
Current Dev Position: YP 3.1 M4 - Stabilization Next Deadline: YP 3.1 M4 build date 3/30/2020
Next Team Meetings:
Key Status/Updates:
YP 3.1 Milestone Dates:
Planned upcoming dot releases:
Tracking Metrics:
The Yocto Project’s technical governance is through its Technical Steering Committee, more information is available at: https://wiki.yoctoproject.org/wiki/TSC
The Status reports are now stored on the wiki at: https://wiki.yoctoproject.org/wiki/Weekly_Status
[If anyone has suggestions for other information you’d like to see on this weekly status update, let us know!]
Thanks,
Stephen K. Jolley Yocto Project Program Manager ( Cell: (208) 244-4460 * Email: sjolley.yp.pm@...
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#yocto [meta-raspberrypi] Unused memory never used
#yocto
markus4dev@...
Hi!
I am building a solution on top of raspberrypi 3a+. I am having problem that around 50% of available memory never gets used by the node applications and instead the kswapd kicks in and after a while the rpi doesn´t respond anymore. I seems that 50% of the available memory is locked. I have tried the apps on the raspbian buster image and the memory is allocated as expected. My yocto setup is like this: - meta-oe
- meta-python
- meta-multimedia
- meta-networking
- meta-raspberrypi
- meta-mender-core
- meta-mender-raspberrypi
- my-custom-layer I have added a little swap file (4MB) just in case kswapd needs it (my goal is to remove that since I don´t want to get my SD card destroyed). I have added gpu_mem=16 to restrict memory allocation from GPU. I don't use the camera (not activated VIDEO_CAMERA = "1") What am I missing? Regards, Markus
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Armando Hernandez
On Wed, Mar 11, 2020 at 11:26 AM, Khem Raj wrote:
please post your recipeHello Khem Raj, Sorry for the late reply. I was not available during last week. So, I post here my recipe. But before I want to make two comments:
I made a small modification to my initial recipe (ou will see the difference between my pasted recipe and my previous post). However the result is the same. I added "set(CMAKE_FIND_DEBUG_MODE TRUE)" and "set(CMAKE_FIND_DEBUG_MODE FALSE)" before and afer the add_custom_command() call in my CMakeFile.txt but I got not relevant output that helps me to debug this (maybe that CMAKE_FIND_DEUG_MODE is not used properly, but wanted to mentioned it anyways). So... here my recipe: LICENSE = "CLOSED" LIC_FILES_CHKSUM = "" SRC_URI = "https://github.com/xxxxxxxxx/common-test.git;protocol=https" PV = "1.0+git${SRCPV}" SRCREV = "68c6e3b837ef7d8b12d8aec0f4f558c947fac0c" S = "${WORKDIR}/git" inherit cmake EXTRA_OECMAKE = "-DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM=BOTH" OECMAKE_EXTRA_ROOT_PATH="/home/ahejuser/SDK/sysroots/x86_64-pokysdk-linux" Again, any hint will be pretty much appreciated. Thanks in advance! Armando Hernandez
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
M+ & H bugs with Milestone Movements WW11
Stephen Jolley
All,
Thanks,
Stephen K. Jolley Yocto Project Program Manager ( Cell: (208) 244-4460 * Email: sjolley.yp.pm@...
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Enhancements/Bugs closed WW101
Stephen Jolley
All,
Thanks,
Stephen K. Jolley Yocto Project Program Manager ( Cell: (208) 244-4460 * Email: sjolley.yp.pm@...
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Current Top developers on Yocto Project 3.1
Stephen Jolley
All,
Thanks,
Stephen K. Jolley Yocto Project Program Manager ( Cell: (208) 244-4460 * Email: sjolley.yp.pm@...
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Yocto Project Newcomer & Unassigned Bugs - Help Needed
Stephen Jolley
All,
The triage team is starting to try and collect up and classify bugs which a newcomer to the project would be able to work on in a way which means people can find them. They're being listed on the triage page under the appropriate heading:
https://wiki.yoctoproject.org/wiki/Bug_Triage#Newcomer_Bugs
The idea is these bugs should be straight forward for a person to help work on who doesn't have deep experience with the project. If anyone can help, please take ownership of the bug and send patches! If anyone needs help/advice there are people on irc who can likely do so, or some of the more experienced contributors will likely be happy to help too.
Also, the triage team meets weekly and does its best to handle the bugs reported into the Bugzilla. The number of people attending that meeting has fallen, as have the number of people available to help fix bugs. One of the things we hear users report is they don't know how to help. We (the triage team) are therefore going to start reporting out the currently 291 unassigned or newcomer bugs.
We're hoping people may be able to spare some time now and again to help out with these. Bugs are split into two types, "true bugs" where things don't work as they should and "enhancements" which are features we'd want to add to the system. There are also roughly four different "priority" classes right now, “3.1”, “3.2, "3.99" and "Future", the more pressing/urgent issues being in "3.1" and then “3.2”.
Please review this link and if a bug is something you would be able to help with either take ownership of the bug, or send me (sjolley.yp.pm@...) an e-mail with the bug number you would like and I will assign it to you (please make sure you have a Bugzilla account). The list is at: https://wiki.yoctoproject.org/wiki/Bug_Triage_Archive#Unassigned_or_Newcomer_Bugs
Thanks,
Stephen K. Jolley Yocto Project Program Manager ( Cell: (208) 244-4460 * Email: sjolley.yp.pm@...
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re: git fetcher: does not execute git fetch --tags or similar when HEAD has not changed
Richard Purdie
On Thu, 2020-03-12 at 14:55 +0100, Matthias Schoepfer via Lists.Yoctoproject.Org wrote:
We have noticed the following issue: We keep the versions of outEach of the fetcher backends makes some assumptions about what it considers to be "the same". For tarballs from whatever source this is easy and we use the hash of the tarball. For git, we work off the hash from git itself. If the hash changes, the source is taken to be different. Hashes of the same data are taken to be the same. What we don't do is account for any tag that represents that hash. If you have some extra part of the build process which is using that as a factor for the build you would also have to account for it in the task hashes. Nothing does that by default. git tags are a pain as they require network access to evaluate and they break the mirroring structure as you can't know a given tag was fetched into the mirror. So no, I'd not define it as a bug, the bug is you're relying on the tag data but not adding it to the task hashes. You'd somehow need to inject the "git tag for revision X" output into the do_fetch task dependencies. For autorev this happens via: meta/classes/base.bbclass: d.setVar("SRCPV", "${@bb.fetch2.get_srcrev(d)}" so you'd need a new version of get_srcrev() and need to inject that into the vardeps of the fetch task. Cheers, Richard
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re: git fetcher: does not execute git fetch --tags or similar when HEAD has not changed
Alexander Kanavin
Right, now I see what you mean. The build process does not rely on static metadata in the source tree to determine the version, and is instead poking the git checkout to determine what the version is? That's not established practice. You should write the version into a file in the source tree, then create a commit, then tag that commit with the version. Alternatively, you could pass in ${PV} to the build process instead as a command line parameter. Alex
On Mon, 16 Mar 2020 at 12:52, Matthias Schöpfer <matthias.schoepfer@...> wrote: Hi Alexander,
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re: QA notification for completed autobuilder build (yocto-3.1_M3.rc1)
Sangeeta Jain
toggle quoted messageShow quoted text
-----Original Message-----Thanks for reminding! Thanks,cu
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re: QA notification for completed autobuilder build (yocto-3.1_M3.rc1)
Adrian Bunk
On Mon, Mar 16, 2020 at 11:45:09AM +0000, Sangeeta Jain wrote:
...This platform has been removed from master, and is therefore not in M3. Thanks,cu Adrian
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re: git fetcher: does not execute git fetch --tags or similar when HEAD has not changed
Matthias Schoepfer
Hi Alexander,
toggle quoted messageShow quoted text
thanks for your message. I will try to explain my issue once again, since it still seems not clearly formulated. We build our images on CI (Jenkins). There, we have a shared download dir, so that we do not have to fetch all sources on every build. This gets shared for our "experimental" builds, that use latest git master HEAD (yes, evil AUTOREV) and our "stable" builds, where only tagged (i.e. no AUTOREV versions) are used. Our software uses the git tag to create a version. So, when on experimental, you might get something like: # ourCoolSoftware --version This is ourCoolSoftware version 1.2.3-3 (gabcdef1) What happens is, that people check their changes on the experimental build. After testing, it is considered for the next release, so they attach a version tag to the git repository and update the _<version>.bb accordingly. Now they build the image with the "stable" profile. But the hash "abcdef1" has not changed. Hence, although we pushed a new tag, yocto git fetcher does not update the cached download git, since git hashes match (same with SRCREV). Which means, even tough we have a recipe ourcoolsoftware_1.2.4.bb with SRCREV="abcdef1..." which will build the correct hash, our software checks the local repository, which is missing the last tag and will still be reporting a wrong version 1.2.3-3 for example. If we were to do a bitbake -c cleanall ourcoolsoftware && bitbake ourcoolimage then we get # ourCoolSoftware --version This is ourCoolSoftware version 1.2.4 (gabcdef1) because we artificially force a complete fetch of the repository. We usually do a clean build (no sstate / tmp / etc.) but we use the download dir, because we do not see why we would need to download gcc etc. every time. A workaround would be to bitbake -c cleanall our packages, but it seems hacky and prone to error (need to keep lists of our used software in at least two places). My question is therefore, if this is a "bug" and if we were to investigate this and propose a patch, if this could this be considered for merge, or if this behaviour is intentional and adding a fetch --tags would be considered harmful in any way. Hope, I could bring my point across now. Thanks and Regards, Matthias
On 3/16/20 9:43 AM, Alexander Kanavin wrote:
'devtool upgrade' updates SRCREV to match the version tag that you specify: --
Dr.-Ing. Matthias Schoepfer Mobile: +49 175 2062739 email: matthias.schoepfer@...
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
QA notification for completed autobuilder build (yocto-3.1_M3.rc1)
Sangeeta Jain
Hi all,
toggle quoted messageShow quoted text
Intel and WR YP QA is planning for QA execution for YP build yocto-3.1_M3.rc1. We are planning to execute following tests for this cycle: OEQA-manual tests for following module: 1. OE-Core 2. BSP-hw Runtime auto test for following platforms: 1. MinnowTurbot 32-bit 2. Coffee Lake 3. NUC 7 4. NUC 6 5. Edgerouter 6. MPC8315e-rdb 7. Beaglebone ETA for completion is next Thursday, March 19. Thanks, Sangeeta
-----Original Message-----
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re: QA notification for completed autobuilder build (yocto-3.1_M3.rc1)
Sangeeta Jain
Hi all,
toggle quoted messageShow quoted text
Intel and WR YP QA is planning for QA execution for YP build yocto-3.1_M3.rc1. We are planning to execute following tests for this cycle: OEQA-manual tests for following module: 1. OE-Core 2. BSP-hw Runtime auto test for following platforms: 1. MinnowTurbot 32-bit 2. Coffee Lake 3. NUC 7 4. NUC 6 5. Edgerouter 6. MPC8315e-rdb 7. Beaglebone ETA for completion is next Thursday, March 19. Thanks, Sangeeta
-----Original Message-----
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|