|
INCOMPATIBLE_LICENSE - how to use it properly?
Hi, You need to add exceptions to build a lot GPLv3 components but not let them be part of product images. In distro config: INCOMPATIBLE_LICENSE += "GPLv3 GPLv3+ LGPLv3 LGPLv3+" ... WHITELIST_GPL-3.0
Hi, You need to add exceptions to build a lot GPLv3 components but not let them be part of product images. In distro config: INCOMPATIBLE_LICENSE += "GPLv3 GPLv3+ LGPLv3 LGPLv3+" ... WHITELIST_GPL-3.0
|
By
Mikko Rapeli
· #49782
·
|
|
what to expect from distributed sstate cache?
Hi, We do something similar except we rsync a sstate mirror to build nodes from latest release before a build (and topic from gerrit are merged to latest release too to avoid sstate and build tree get
Hi, We do something similar except we rsync a sstate mirror to build nodes from latest release before a build (and topic from gerrit are merged to latest release too to avoid sstate and build tree get
|
By
Mikko Rapeli
· #49496
·
|
|
Is there a relationship between the sstate and the machine?
Hi, This is a common problem. It is likely that I know which SoC supplier you are talking about and have had the exact same issues. We have managed to fix or workaround all of them. In most cases by r
Hi, This is a common problem. It is likely that I know which SoC supplier you are talking about and have had the exact same issues. We have managed to fix or workaround all of them. In most cases by r
|
By
Mikko Rapeli
· #49387
·
|
|
Image size reduction
Actually suggestion to use buildhistory is the first critical step because without this you can't easily see where the size comes from. buildhistory provides for example the list of installed binary p
Actually suggestion to use buildhistory is the first critical step because without this you can't easily see where the size comes from. buildhistory provides for example the list of installed binary p
|
By
Mikko Rapeli
· #48986
·
|
|
Fw: Reducing rootfs size in yocto
Hi, Generic approaches for reducing yocto target image size where buildhistory is an important source of information: * review and minimize distro features, enable only what you need https://www.yocto
Hi, Generic approaches for reducing yocto target image size where buildhistory is an important source of information: * review and minimize distro features, enable only what you need https://www.yocto
|
By
Mikko Rapeli
· #48985
·
|
|
What are the key factors for yocto build speed?
I will double check, but I'm sure I see IO going to disk when plenty of RAM is still available in page cache. I'm not fully aware what bitbake does before starting task execution. With sumo, there is
I will double check, but I'm sure I see IO going to disk when plenty of RAM is still available in page cache. I'm not fully aware what bitbake does before starting task execution. With sumo, there is
|
By
Mikko Rapeli
· #48853
·
|
|
What are the key factors for yocto build speed?
Alternative for tmpfs with hard size limit is to keep file system caches in memory as long as possible and only start writes to disks when page cache gets too full. This scales but still uses all the
Alternative for tmpfs with hard size limit is to keep file system caches in memory as long as possible and only start writes to disks when page cache gets too full. This scales but still uses all the
|
By
Mikko Rapeli
· #48851
·
|
|
What are the key factors for yocto build speed?
Well, I can't build with under 2 gigs per core or I run out of physical memory and kernel oom-killer kicks in to kill the build. Also can't run with yocto default parallel settings which only take int
Well, I can't build with under 2 gigs per core or I run out of physical memory and kernel oom-killer kicks in to kill the build. Also can't run with yocto default parallel settings which only take int
|
By
Mikko Rapeli
· #48820
·
|
|
What are the key factors for yocto build speed?
Drop all virtualization and go for Linux on bare metal. Then make sure there is enough(tm) physical RAM for each CPU thread. For a "big Ryzen" the 64G of RAM sounds too little. I'd go higher there, bu
Drop all virtualization and go for Linux on bare metal. Then make sure there is enough(tm) physical RAM for each CPU thread. For a "big Ryzen" the 64G of RAM sounds too little. I'd go higher there, bu
|
By
Mikko Rapeli
· #48809
·
|
|
Should changing a task in the .bb file cause the task to be rerun?
Sadly custom bbclasses and BSP layers have this effect on my builds and I can't fully trust local incremental builds. Hence I clean sstate cache often. -Mikko
Sadly custom bbclasses and BSP layers have this effect on my builds and I can't fully trust local incremental builds. Hence I clean sstate cache often. -Mikko
|
By
Mikko Rapeli
· #48737
·
|
|
Should changing a task in the .bb file cause the task to be rerun?
This is what I've come to expect with yocto 2.0 jethro, 2.5 sumo and 3.0 zeus. That's why I always write: $ bitbake -c clean recipe && bitbake -c cleansstate && bitbake -c compile recipe when debuggin
This is what I've come to expect with yocto 2.0 jethro, 2.5 sumo and 3.0 zeus. That's why I always write: $ bitbake -c clean recipe && bitbake -c cleansstate && bitbake -c compile recipe when debuggin
|
By
Mikko Rapeli
· #48724
·
|
|
how to reuse generated library in a nativesdk recipe
#sdk
#systemd
Hi, Thanks for this explanation! Hmm. I would rather see FOO_append += "bar" being used every time when spaces are expected. It's way too easy to forget the extra space which causes annoying and hard
Hi, Thanks for this explanation! Hmm. I would rather see FOO_append += "bar" being used every time when spaces are expected. It's way too easy to forget the extra space which causes annoying and hard
|
By
Mikko Rapeli
· #48531
·
|
|
how to reuse generated library in a nativesdk recipe
#sdk
#systemd
Yes, quite likely. Tough reason why += doesn't work is a mystery to me :) I hack things until "bitbake -e" shows the right things for the recipes. -Mikko
Yes, quite likely. Tough reason why += doesn't work is a mystery to me :) I hack things until "bitbake -e" shows the right things for the recipes. -Mikko
|
By
Mikko Rapeli
· #48522
·
|
|
Yocto [thud], [zeus] do_fetch and do_unpack failures with offline/online svn build!
#yocto
#python
Looks good to me. Lucky you :) -Mikko
Looks good to me. Lucky you :) -Mikko
|
By
Mikko Rapeli
· #48512
·
|
|
Issue while adding the support for TLS1.3 in existing krogoth yocto
#yocto
#apt
#raspberrypi
Hi, openssl is tricky to update and requires backporting fixes for many, many recipes to get builds passing etc. Depending on project size, it may be possible to update only those components which you
Hi, openssl is tricky to update and requires backporting fixes for many, many recipes to get builds passing etc. Depending on project size, it may be possible to update only those components which you
|
By
Mikko Rapeli
· #48511
·
|
|
Creating a build system which can scale.
#yocto
Hi, Good pointers in this thread already. Here are mine: * Share sstate mirror and download cache from release builds to developer topic builds. NFS, web server or rsync before calling bitbake will wo
Hi, Good pointers in this thread already. Here are mine: * Share sstate mirror and download cache from release builds to developer topic builds. NFS, web server or rsync before calling bitbake will wo
|
By
Mikko Rapeli
· #48509
·
|
|
how to reuse generated library in a nativesdk recipe
#sdk
#systemd
Hi, (lets keep this on the list too) You can add _class-[target|native|nativesdk] to all variables to override defaults. Verify with "bitbake -e". Hope this helps, -Mikko
Hi, (lets keep this on the list too) You can add _class-[target|native|nativesdk] to all variables to override defaults. Verify with "bitbake -e". Hope this helps, -Mikko
|
By
Mikko Rapeli
· #48506
·
|
|
how to reuse generated library in a nativesdk recipe
#sdk
#systemd
Hi, Make the systemd dependency for target only, e.g. DEPENDS_class-target += "systemd" etc. There may be relevant use cases to build some of systemd components or tools to native or nativesdk targets
Hi, Make the systemd dependency for target only, e.g. DEPENDS_class-target += "systemd" etc. There may be relevant use cases to build some of systemd components or tools to native or nativesdk targets
|
By
Mikko Rapeli
· #48503
·
|
|
[OE-core] [yocto] Change RO rootfs failed RF Kill Switch Status and Failed to start Run pending postinsts
Well I have zeus and am using read-only rootfs with volatile binds and I did not need anything extra. I would dig into this /var/log thing and patch it away. I use systemd journal so no need for syslo
Well I have zeus and am using read-only rootfs with volatile binds and I did not need anything extra. I would dig into this /var/log thing and patch it away. I use systemd journal so no need for syslo
|
By
Mikko Rapeli
· #48499
·
|
|
[OE-core] [yocto] Change RO rootfs failed RF Kill Switch Status and Failed to start Run pending postinsts
(trimming lists to yocto only) Hi, I think you may be missing volatile-binds package and service from your image. See poky/meta/recipes-core/volatile-binds/volatile-binds.bb It may be missing /var/log
(trimming lists to yocto only) Hi, I think you may be missing volatile-binds package and service from your image. See poky/meta/recipes-core/volatile-binds/volatile-binds.bb It may be missing /var/log
|
By
Mikko Rapeli
· #48494
·
|