Re: Google GN support
Joel Winarske
I had to revisit this for Google Flutter LTS support as upstream (Google Flutter team) wasn't interested in providing tar.xz releases. We have two working solutions for Flutter gclient as of today. 1. gclient fetcher. This fetches the project using gclient and archives the whole source tree. I call it the gclient snapshot solution. Downside is initial fetch time due to archive time, but subsequent build times are good. So only really useful if you don't switch versions often. 2. Pre-process project using python script and add cipd fetcher support to layer. This script creates an inc file that gets included by a recipe. Initial fetch time is about 2.5x build time, with similar build times to gclient fetcher; ~3 minutes, some sub 3 minutes. The current approach before this method average build times were ~6 minutes. So this approach improves build time, and provides LTS. It factors out the use of gclient/depot_tools in the fetch process. gclient_bitbake.py. The script generates a do_run_hooks task using gn conditionals. script output cipd:// fetcher impl: * https://github.com/meta-flutter/meta-flutter/blob/jw/lts/classes/cipd.bbclass * https://github.com/meta-flutter/meta-flutter/blob/jw/lts/lib/cipd.py It currently only works out of the box for the flutter project, but I did use it to create a recipe for luci-go -> cipd. I mocked up changes to support the v8 project; see gaps for generic support. It does require dynamically compiling python code to manage conditionals, and needs a bit more work. After which python_bitbake.py should work for any gclient based project. gs:// fetcher (Google Storage) support is also planned. So in cases which download google storage artifacts in hook, it would allow moving that to SRC_URI as gs:// element for LTS scenario. If anyone finds this useful/interesting or they want to collaborate on improvements let me know. I do think cipd:// fetcher support would be a good addition to oe-core. Joel
On Tue, Oct 5, 2021 at 3:55 PM Joel Winarske via lists.yoctoproject.org <joel.winarske=gmail.com@...> wrote:
|
|
Re: How to disable Bluetooth of Raspberry Pi from Yocto?
On Wed, Mar 9, 2022 at 1:01 AM Sourabh Hegde <hrsourabh011@...> wrote:
can you check /boot/config.txt on target and see if this change is persisting in your image or not Regards,
|
|
Re: imx7d-pico with hardknott - I need help enabling remoteproc in device tree to show /linux/remoteproc.h file and modules in /sys/class/remoteproc
On Wed, Mar 9, 2022 at 8:04 AM Neuber Sousa <neuberfran@...> wrote:
how did you enable it? every BSP has sometimes its own way of adding knobs.
|
|
imx7d-pico with hardknott - I need help enabling remoteproc in device tree to show /linux/remoteproc.h file and modules in /sys/class/remoteproc
Neuber Sousa <neuberfran@...>
Hi, I do this:$ mkdir tn-imx-yocto$ cd tn-imx-yocto$ repo init -u https://github.com/TechNexion/tn-imx-yocto-manifest.git -b hardknott_5.10.y-stable -m imx-5.10.72-2.2.0-2022Q1.xml$ repo sync -j8$ DISTRO=fsl-imx-x11 MACHINE=pico-imx7 BASEBOARD=pi source tn-setup-release.sh -b build-x11-pico-imx7$ bitbake core-image-base I enable REMOTEPROC and RPMsg in kernel. I have imx_rpmgs_tty module. But I don't have remoteproc. Why?
|
|
Re: Howto build packages for dependencies of an out of image recipe build.
Robert Joslyn
On Mar 9, 2022, at 4:59 AM, Daniel Squires <dan@...> wrote:This is now expected behavior. I discovered it a few months ago in my package feed builds: https://lists.yoctoproject.org/g/yocto/topic/88553371#55926 Bitbake no longer does recursive packaging tasks since they are not always needed. To get all the recursive packages, you need to run bitbake --runall build build-essential Robert
|
|
Re: Howto build packages for dependencies of an out of image recipe build.
Daniel Squires
Just to be absolutely clear, here is the result of having run bitbake build-essential having first removed and thus started with a clean tmp dir.
dan@melon:/home/dan/workspace_ssd/kas/build$ find tmp/deploy/deb/ tmp/deploy/deb/ tmp/deploy/deb/all tmp/deploy/deb/all/build-essential-ptest_1.0.0-r0.0_all.deb tmp/deploy/deb/all/build-essential-dev_1.0.0-r0.0_all.deb tmp/deploy/deb/all/build-essential_1.0.0-r0.0_all.deb tmp/deploy/deb/all/build-essential-dbg_1.0.0-r0.0_all.deb
|
|
Activate ivi shell on core-image-weston
Edgar Mobile
Greetings,
can someone tell me if and how it is possible to activate the ivi shell as default shell in core-image-weston ?
Regards
|
|
Re: Howto build packages for dependencies of an out of image recipe build.
Daniel Squires
Yes, in RDPENDS, here's an example of an attempt at the equivalent of Ubuntu's build-essential package:
DESCRIPTION = "Informational list of build-essential pacakages" inherit packagegroup
PACKAGES = "\
${PN} \
"
RDEPENDS:${PN} = "\
libc6-dev \
g++ \
gcc \
make \
"
INSANE_SKIP:${PN} = "dev-deps"
|
|
Re: Howto build packages for dependencies of an out of image recipe build.
Daniel Squires
Just want to add that it seems to run the do_package task but not the do_package_write_deb one for each of the dependencies.
|
|
Re: Howto build packages for dependencies of an out of image recipe build.
Bruce Ashfield
On Wed, Mar 9, 2022 at 5:24 AM Daniel Squires <dan@...> wrote:
Are the dependencies in the recipe as RDEPENDS ? If so, they will be built and packaged. If they weren't, then image assembly and pretty much any package feed would be non-functional. Bruce
-- - Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II
|
|
Re: [qa-build-notification] QA notification for completed autobuilder build (yocto-3.5_M3.rc1)
Teoh, Jay Shen
Hello All,
toggle quoted messageShow quoted text
This is the full report for yocto-3.5_M3.rc1: https://git.yoctoproject.org/cgit/cgit.cgi/yocto-testresults-contrib/tree/?h=intel-yocto-testresults ======= Summary ======== No high milestone defects. No new issue found. Thanks, Jay
-----Original Message-----
|
|
[meta-zephyr][PATCH] zephyr-kernel: Add CVE_PRODUCT to fix cve-check lookup fail
Davide Gardenal
From: Davide Gardenal <davide.gardenal@...>
Add CVE_PRODUCT override to fix a lookup problem when performing cve-check, if not setted it will search for the recipe name, that in this case depends on the recipe used to build zephyr (eg. zephyr-philosophers) Signed-off-by: Davide Gardenal <davide.gardenal@...> --- .../recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc index e060a95..ea20a18 100644 --- a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc +++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc @@ -1,6 +1,8 @@ LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=fa818a259cbed7ce8bc2a22d35a464fc" +CVE_PRODUCT = "zephyr" + inherit cmake # This file might be included from other places (like other layers) and not -- 2.32.0
|
|
Howto build packages for dependencies of an out of image recipe build.
Daniel Squires
We have our image and it is working as we need.
We have an apt repo setup and working so that we can install additional packages within a deployment of the image. However when we manually bitbake additional packages (e.g bitbake my-optional-recipe) which we want to make available within this apt repository by default only the package for my-optional-recipe gets built, although all the dependencies of my-optional-recipe get built, none of them are packaged. how do we make sure all the dependencies have packages built? Best Regards Dan
|
|
Re: How to disable Bluetooth of Raspberry Pi from Yocto?
Sourabh Hegde
Hello Tomasz,
Thanks for quick reply. meta-raspberrypi provide recipe just for the `config.txt` file. I don't know which Yocto version you are usingbut on master it looks like this https://github.com/agherzan/meta-raspberrypi/blob/master/recipes-bsp/bootfiles/rpi-config_git.bb#L1You will need some bbappend in your custom recipe to extend config.txt wtih `dtoverlay=disable-bt`.I forgot to mention, I am on "Honister" release. Yes, I added rpi_config_git.bbappend file Did you try to hit an enter couple of times and then maybe log in?Yes, I tried that, but it's not working. May be it's fails to respond for keyboard inputs. Regards, Sourabh
|
|
Re: How to disable Bluetooth of Raspberry Pi from Yocto?
tomzy
Hello All, Hi meta-raspberrypi provide recipe just for the `config.txt` file. I don't know which Yocto version you are using ``` Tomasz Żyjewski
|
|
How to disable Bluetooth of Raspberry Pi from Yocto?
Sourabh Hegde
Hello All,
I have a question regarding disabling bluetooth of my Raspberry Pi Compute Module 4. I know that we need to set "dtoverlay=disable-bt" in config.txt But how to do it from Yocto? Should I include this in conf/local.conf? While booting my serial console is stuck here: OpenEmbedded nodistro.0 raspberrypi4-64 ttyS0 raspberrypi4-64 login: [ 14.718847] Bluetooth: HCI UART driver ver 2.3 [ 14.723478] Bluetooth: HCI UART protocol H4 registered [ 14.728877] Bluetooth: HCI UART protocol Three-wire (H5) registered [ 14.735632] Bluetooth: HCI UART protocol Broadcom registered [ 14.985386] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 14.990829] Bluetooth: BNEP filters: protocol multicast [ 14.996781] Bluetooth: BNEP socket layer initialized [ 15.016364] NET: Registered protocol family 38 [ 15.024632] audit: type=1334 audit(1646676238.549:6): prog-id=9 op=LOAD [ 15.031791] audit: type=1334 audit(1646676238.549:7): prog-id=10 op=LOAD [ 15.103792] Bluetooth: RFCOMM TTY layer initialized [ 15.108976] Bluetooth: RFCOMM socket layer initialized [ 15.114255] Bluetooth: RFCOMM ver 1.11 Can anyone please let me know whether disabling Bluetooth will solve this? Your help will be much appreciated. Thanks in advance.
|
|
Re: [meta-rockchip][PATCH] wic: add e2fsprogs dependency
Trevor Woerner
On Tue 2022-03-08 @ 12:04:15 PM, Trevor Woerner via lists.yoctoproject.org wrote:
Started seeing the following error in my builds:Applied to meta-rockchip, master.
|
|
Re: suricata: enable lua support
Gary Huband
The problems is that the configure.ac file is hard coded for lua5.1. See
https://forum.suricata.io/t/lua-5-4-3-and-suricata-undefined-reference-error/1906/5 I created a patch to change configure.ac to use lua5.3 (I'm using Zeus). But when I "bitbake suricata" I'm getting the same error because it's not updating the configure file. Do I also have to fix the configure file or is there some way I can force a autoreconf?
Thanks
Gary
From: Khem Raj <raj.khem@...>
Sent: Saturday, March 5, 2022 2:55 AM To: Gary Huband <Gary@...> Cc: akuster808 <akuster808@...>; yocto@... <yocto@...> Subject: Re: [yocto] suricata: enable lua support On Fri, Mar 4, 2022 at 6:23 PM Gary Huband via
lists.yoctoproject.org <gary=missionsecure.com@...> wrote:
seems so, lua5.1 is not ABI compatible with newer Lua, so if an app needs this version then
you will have to add it, perhaps see if you can just use internal version or something like that
Gary Huband
Sr. Software and Systems Engineer
Office: 434.284.8071 x720 Direct: 434.260.4995 Gary@...
: : : : : : : : : : : : : : : : : : : : : : : : : : :
![]() This email and any files transmitted with it are confidential and proprietary and intended solely for the use of the individual or entity to whom they are addressed.
Any dissemination, distribution or copying of this communication is strictly prohibited without our prior permission. If you received this in error, please contact the sender and delete the material from any computer.
|
|
[meta-rockchip][PATCH] wic: add e2fsprogs dependency
Trevor Woerner
Started seeing the following error in my builds:
ERROR: A native program mkfs.ext4 required to build the image was not found Please make sure wic-tools have e2fsprogs-native in its DEPENDS Signed-off-by: Trevor Woerner <twoerner@...> --- conf/machine/include/rockchip-wic.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/conf/machine/include/rockchip-wic.inc b/conf/machine/include/rockchip-wic.inc index 30b0d57..6fa5367 100644 --- a/conf/machine/include/rockchip-wic.inc +++ b/conf/machine/include/rockchip-wic.inc @@ -7,6 +7,7 @@ WKS_FILE = "rockchip.wks" WKS_FILE_DEPENDS ?= " \ mtools-native \ dosfstools-native \ + e2fsprogs-native \ virtual/bootloader \ virtual/kernel \ " -- 2.34.1.75.gabe6bb3905
|
|
Re: [meta-zephyr][PATCH 2/2] zephyr-kernel: add support for zephyr v3.0.0
Jon Mason
On Tue, Mar 08, 2022 at 11:12:00AM +0100, Bartosz Golaszewski wrote:
From: Bartosz Golaszewski <bartosz.golaszewski@...>Ran this patch through my nightly CI and it comes out green https://gitlab.com/jonmason00/meta-zephyr/-/pipelines/487255541 Tested-by: Jon Mason <jon.mason@...> ---
|
|