Re: [meta-zephyr][PATCH] zephyr: use TCLIBC=newlib directly
Ross Burton <ross@...>
Please do review this one carefully, it continues to build for me and
solves a build failure when using meta-zephyr but not DISTRO=zephyr (instead, a custom DISTRO and a MACHINE that sets TCLIBC=newlib) but obviously it is rooting around the build depends and I didn't test the SDK pieces. Ross On Tue, 20 Oct 2020 at 13:43, Ross Burton via lists.yoctoproject.org <ross=burtonini.com@...> wrote:
|
|||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||
[meta-zephyr][PATCH] zephyr: use TCLIBC=newlib directly
Ross Burton <ross@...>
Instead of setting TCLIBC=3Dbaremetal and then adding newlib in various p=
laces, just set TCLIBC=3Dnewlib directly. This also means we can use the standard DEPENDS instead of reinventing th= em. Signed-off-by: Ross Burton <ross.burton@...> --- conf/distro/zephyr.conf | 7 +------ recipes-kernel/zephyr-kernel/zephyr-kernel-common.inc | 3 --- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/conf/distro/zephyr.conf b/conf/distro/zephyr.conf index 44448af..a98da32 100644 --- a/conf/distro/zephyr.conf +++ b/conf/distro/zephyr.conf @@ -5,16 +5,11 @@ DISTRO_VERSION =3D "1.0" =20 TARGET_VENDOR =3D "-yocto" =20 -TCLIBC =3D "baremetal" -TCLIBCAPPEND =3D "" +TCLIBC =3D "newlib" =20 TEST_TARGET =3D "QemuTargetZephyr" TEST_SUITES =3D "zephyr" =20 -PREFERRED_PROVIDER_virtual/libc =3D "newlib" -PREFERRED_PROVIDER_virtual/libiconv =3D "newlib" - -TOOLCHAIN_TARGET_TASK +=3D " newlib" INHERIT +=3D "siteinfo-zephyr" =20 INHERIT +=3D "uninative" diff --git a/recipes-kernel/zephyr-kernel/zephyr-kernel-common.inc b/reci= pes-kernel/zephyr-kernel/zephyr-kernel-common.inc index 7fa4b25..b947472 100644 --- a/recipes-kernel/zephyr-kernel/zephyr-kernel-common.inc +++ b/recipes-kernel/zephyr-kernel/zephyr-kernel-common.inc @@ -19,9 +19,6 @@ EXTRA_OECMAKE_append_arm =3D " -DZEPHYR_MODULES=3D${S}/= modules/cmsis" export ZEPHYR_BASE=3D"${S}" =20 =20 -# We always need a toolchain to cross-compile. -INHIBIT_DEFAULT_DEPS =3D "1" -DEPENDS +=3D "gcc-cross-${TARGET_ARCH} libgcc ${TOOLCHAIN_TARGET_TASK} g= perf-native" DEPENDS +=3D " python3-pyelftools-native python3-pyyaml-native python3-p= ykwalify-native" CROSS_COMPILE =3D "${STAGING_BINDIR_TOOLCHAIN}/${TARGET_PREFIX}" =20 --=20 2.25.1
|
|||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||
[meta-zephyr][PATCH] README: add patch submission details
Ross Burton <ross@...>
---
README.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.txt b/README.txt index be1ea39..a02659a 100644 --- a/README.txt +++ b/README.txt @@ -69,4 +69,15 @@ or $ MACHINE=3Dqemu-nios2 bitbake zephyr-kernel-test-all -ctestimage =20 =20 +Contributing +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =20 +Patches for meta-zephyr should be sent to the yocto@...= rg +mailing list. See https://lists.yoctoproject.org/g/yocto for subscripti= on +details and the list archive. Please add [meta-zephyr] to the subject s= o +the patches are identifable. + +Git can be configured to send mails appropriately when using git send-em= ail: + +$ git config --local sendemail.to yocto@... +$ git config --local format.subjectPrefix meta-zephy][PATCH --=20 2.25.1
|
|||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||
Quentin Schulz
Please keep the mailing list in copy so everyone can benefit from your
progress/the solution, thanks! On Tue, Oct 20, 2020 at 02:55:26AM -0700, Zoltan Kerenyi Nagy wrote: I'll do this, thanks.This is an option at build time (i.e. for the **recipe**). It just configures the piece of SW you're trying to build. A bitbaked recipe's outcome is **packages**. In **most** cases, the main package is named after the recipe (which is usually a source of confusion for people). However, to slim down the main package, most recipes split their output into multiple packages. In your case, networkmanager is configured to be compiled with nmtui support. However, the recipe is asked to put the resulting binaries/conf files/libs into a separate package (called networkmanager-nmtui). When you're installing networmanager, you're not installing the whole outcome of networkmanager recipe (nor the recipe itself) but the main package that is the outcome of said recipe. It might not contain all you want, hence the need for installing other packages for enabling all features you want/need. Hope this helps, Quentin
|
|||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||
[meta-zephyr][PATCH] layer.conf: add layer dependency on meta-python
Ross Burton <ross@...>
Signed-off-by: Ross Burton <ross.burton@...>
--- conf/layer.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/layer.conf b/conf/layer.conf index 4ecd6a2..f9de654 100644 --- a/conf/layer.conf +++ b/conf/layer.conf @@ -13,6 +13,6 @@ BBFILE_PRIORITY_zephyr =3D "6" # cause compatibility issues with other layers LAYERVERSION_zephyr =3D "1" =20 -LAYERDEPENDS_zephyr =3D "core" +LAYERDEPENDS_zephyr =3D "core meta-python" =20 LAYERSERIES_COMPAT_zephyr =3D "dunfell gatesgarth" --=20 2.25.1
|
|||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||
Re: Generating non-rootfs file system images as update artifacts for multi-partition image updates
Stefano Babic
Hi Martin,
On 20.10.20 11:00, Martin Hundebøll wrote: Hi Stefano,...but as Enrico already said (and I agree with him), this is quite a "hacking" way to do it. Anyway, I would prefer a clean way in this direction instead of generating a wic just to extract artifacts (but again, this is just another way to reach the goal, probably it is just a question of taste). This could be maybe reachable introducing a more "base" class for image (or one inheriting just from image ) and make sure that no packages are implicitely (ok, this means to force RDEPENDS..) installed. Regards, Stefano -- ===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic@... =====================================================================
|
|||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||
Re: Generating non-rootfs file system images as update artifacts for multi-partition image updates
Martin Hundeb?ll
Hi Stefano,
On 19/10/2020 18.23, Stefano Babic wrote: Hi Enrico,Yeah, this is also what I often end up doing. I often need a way to bundle several artifacts together, i.e. bootloader, rootfs, sdk, etc. With that in mind, I would also very much like a way to make image artifacts available in WORKDIR without pulling from DEPLOY_DIR_IMAGE - it just feels wrong to use files from the output folder as input in recipe. // Martin
|
|||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||
Quentin Schulz
Hi,
On Tue, Oct 20, 2020 at 01:48:37AM -0700, Zoltan Kerenyi Nagy wrote: Hi All,You need to bitbake networkmanager but install networkmanager-nmcli and/or networkmanager-nmtui, c.f. http://cgit.openembedded.org/meta-openembedded/tree/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.22.14.bb?h=master#n89 I'd probably triple check all the PACKAGECONFIG you need are set: http://cgit.openembedded.org/meta-openembedded/tree/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.22.14.bb?h=master#n65 Since you want 4G, it might be a good idea to have modemmanager enabled? I've never used networmanager so can't help much more than that. Quentin
|
|||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||
Re: Generating non-rootfs file system images as update artifacts for multi-partition image updates
Martin Hundeb?ll
Hi Enrico,
On 19/10/2020 17.43, Enrico J?rns wrote: Hi,I've often needed similar functionality. Sometimes I wonder if one could make a recipe/class that depends on the rootfs contents, installs some packages, and packages the resulting differences - maybe using the --exclude option to tar? // Martin
|
|||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||
Zoltan Kerenyi Nagy
Hi All,
My board is a Barix Ipam400, and I'd like to add 4G conenction to it via a USB and 4G Dongle. The dongle is a Huewei E3372 stick. I'd spent some time with wvdial and usbmodeswitch with no success. Then I tried the stick in my laptop with network-manager, it was working like a charm Then I've found this source, since the original recipe file would not compile. Ive bitbaked network.manager loaded to the hardware however there is no nmcli and nmtoi included. Do you have any idea how to proceed from here? There is no gui on the target hardware and I need both the eth0 and the 4G interface preferable set via command line.
|
|||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||
[meta-oe][PATCH 1/1] anthy: add GPLv2 to LICENSE and add LIC_FILES_CHKSUM
Taisei Nakano
Add GPLv2 into LICENSE, since this software includes alt-cannadic/COPYING which indicates GPLv2.
Signed-off-by: Taisei Nakano <taisei.nakano@...> --- meta-oe/recipes-support/anthy/anthy_9100h.bb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/meta-oe/recipes-support/anthy/anthy_9100h.bb b/meta-oe/recipes-support/anthy/anthy_9100h.bb index a65d324ea..9d78c3457 100644 --- a/meta-oe/recipes-support/anthy/anthy_9100h.bb +++ b/meta-oe/recipes-support/anthy/anthy_9100h.bb @@ -2,8 +2,10 @@ DESCRIPTION="Anthy is a system for Japanese input method. It converts Hiragana t AUTHOR = "Anthy Developers <anthy-dev@...>" HOMEPAGE = "http://anthy.sourceforge.jp" -LICENSE = "LGPLv2.1" -LIC_FILES_CHKSUM = "file://COPYING;md5=11f384074d8e93e263b5664ef08a411a" +LICENSE = "LGPLv2.1 & GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=11f384074d8e93e263b5664ef08a411a \ + file://alt-cannadic/COPYING;md5=c93c0550bd3173f4504b2cbd8991e50b \ +" SRC_URI = "http://osdn.dl.sourceforge.jp/anthy/37536/anthy-9100h.tar.gz \ file://not_build_elc.patch \ -- 2.17.1
|
|||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||
[meta-oe][PATCH 0/1] add GPLv2 to anthy's license
Taisei Nakano
Hello all,
I have checked the license of Anthy package. I found the LGPLv2.1 in COPYING and GPLv2 in alt-cannadic/COPYING. However the recipe LICENSE description is LGPLv2.1. I would like to correct the description as follow. Could you help me how to commit? Taisei Nakano (1): anthy: add GPLv2 to LICENSE and add LIC_FILES_CHKSUM meta-oe/recipes-support/anthy/anthy_9100h.bb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) -- 2.17.1
|
|||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||
meta-flutter build
yuvaraj.velumani@...
Hello,
I have downloaded meta-flutter from https://github.com/jwinarske/meta-flutter. I tried to build the recipes using the below commands, $ source poky/oe-init-build-env build build$ bitbake flutter-engine But it give me the following error ERROR: Task (/poky/meta-flutter/recipes-graphics/flutter-engine/flutter-engine_git.bb:do_patch) failed with exit code '1' KeyError: 'meta-flutter' I also tried building depo-tools manually (bitbake depot-tools), it give me License issue. Regards, Yuvaraj
|
|||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||
Re: [PATCH 1/1] openssl: Add c_rehash to misc package and add perl runtime dependency
Federico Pellegrin
Sorry, new to the process, adding the pull URL here: Cheers, F.
Il giorno mar 20 ott 2020 alle ore 05:27 Federico Pellegrin <fede@...> ha scritto:
|
|||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||
[PATCH 1/1] openssl: Add c_rehash to misc package and add perl runtime dependency
Federico Pellegrin
c_rehash implemented in perl is back (in history was moved to shell for some time), so handle it inside the -misc package so just that one willcarry the heavy runtime dependency on perl and not the whole openssl package. Note: in misc there were already before a few perl files (tsget.pl and CA.pl) so the added perl dependency will fix those too. [YOCTO #14083] Signed-off-by: Federico Pellegrin <fede@...> --- meta/recipes-connectivity/openssl/openssl_1.1.1g.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/recipes-connectivity/openssl/openssl_1.1.1g.bb b/meta/recipes-connectivity/openssl/openssl_1.1.1g.bb index 815955837b..66d8851426 100644 --- a/meta/recipes-connectivity/openssl/openssl_1.1.1g.bb +++ b/meta/recipes-connectivity/openssl/openssl_1.1.1g.bb @@ -195,13 +195,14 @@ FILES_openssl-conf = "${sysconfdir}/ssl/openssl.cnf \ ${libdir}/ssl-1.1/openssl.cnf* \ " FILES_${PN}-engines = "${libdir}/engines-1.1" -FILES_${PN}-misc = "${libdir}/ssl-1.1/misc" +FILES_${PN}-misc = "${libdir}/ssl-1.1/misc ${bindir}/c_rehash" FILES_${PN} =+ "${libdir}/ssl-1.1/*" FILES_${PN}_append_class-nativesdk = " ${SDKPATHNATIVE}/environment-setup.d/openssl.sh" CONFFILES_openssl-conf = "${sysconfdir}/ssl/openssl.cnf" RRECOMMENDS_libcrypto += "openssl-conf" +RDEPENDS_${PN}-misc = "perl" RDEPENDS_${PN}-ptest += "openssl-bin perl perl-modules bash" RDEPENDS_${PN}-bin += "openssl-conf" -- 2.26.2
|
|||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||
Re: [PATCH][meta-zephyr] layer.conf: add compatibility with Gatesgarth
Naveen Saini
Merged.
toggle quoted messageShow quoted text
-----Original Message-----
From: Ross Burton <ross.burton@...> Sent: Tuesday, October 20, 2020 1:22 AM To: yocto@... Cc: Saini, Naveen Kumar <naveen.kumar.saini@...> Subject: [PATCH][meta-zephyr] layer.conf: add compatibility with Gatesgarth Signed-off-by: Ross Burton <ross.burton@...> --- conf/layer.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/layer.conf b/conf/layer.conf index 1d41b3f..4ecd6a2 100644 --- a/conf/layer.conf +++ b/conf/layer.conf @@ -15,4 +15,4 @@ LAYERVERSION_zephyr = "1" LAYERDEPENDS_zephyr = "core" -LAYERSERIES_COMPAT_zephyr = "dunfell" +LAYERSERIES_COMPAT_zephyr = "dunfell gatesgarth" -- 2.25.1
|
|||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||
Re: Generating non-rootfs file system images as update artifacts for multi-partition image updates
I do not know if this precisely answers your question, but creating bbclass functionality to create a different type of image may be the way to go. What you are suggesting sounds similar to this: ..Ch:W..
On Mon, Oct 19, 2020 at 12:00 PM Enrico J?rns <ejo@...> wrote: Hi Stefano, -- "Perfection must be reached by degrees; she requires the slow hand of time." - Voltaire
|
|||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||
Re: dnf error coming while compiling core-image-sato image.
On 2020-10-18 6:41 a.m., NIKHIL PATIL wrote:
Hi team ,Hi Nikhil, What exact steps did you take before getting this error and what build host are you using? Are you able to build core-image-minimal using oe-core/master and the default local.conf for qemux86-64? ../Randy core-image-sato-1.0-r0 do_rootfs: Could not invoke dnf. Command '/data/pradeep/inti_dmsv/yocto_build/build/tmp/work/intel_corei7_64-poky-linux/core-image-sato/1.0-r0/recipe-sysroot-native/usr/bin/dnf -y -c /data/pradeep/inti_dmsv/yocto_build/build/tmp/work/intel_corei7_64-poky-linux/core-image-sato/1.0-r0/rootfs/etc/dnf/dnf.conf --setopt=reposdir=/data/pradeep/inti_dmsv/yocto_build/build/tmp/work/intel_corei7_64-poky-linux/core-image-sato/1.0-r0/rootfs/etc/yum.repos.d --repofrompath=oe-repo,/data/pradeep/inti_dmsv/yocto_build/build/tmp/work/intel_corei7_64-poky-linux/core-image-sato/1.0-r0/oe-rootfs-repo --installroot=/data/pradeep/inti_dmsv/yocto_build/build/tmp/work/intel_corei7_64-poky-linux/core-image-sato/1.0-r0/rootfs --setopt=logdir=/data/pradeep/inti_dmsv/yocto_build/build/tmp/work/intel_corei7_64-poky-linux/core-image-sato/1.0-r0/temp -x packagegroup-core-apl-extra --nogpgcheck install autoconf-archive dnf gstreamer1.0-vaapi iqvlinux jhi kernel-modules libtcti-device0 libtcti-device-dev libtcti-device-staticdev libtcti-socket0 libtcti-socket-dev libtcti-socket-staticdev libsapi0 libsapi-dev libsapi-staticdev libva mesa-glxinfo libmraa1 nodejs packagegroup-base-extended packagegroup-core-audio-essential packagegroup-core-boot packagegroup-core-buildessential-extended packagegroup-core-graphics-essential packagegroup-core-ssh-dropbear packagegroup-core-tools-testapps packagegroup-core-x11-base packagegroup-core-x11-sato psplash rpm run-postinsts swig tpm2-abrmd usb-modeswitch usb-modeswitch-data va-intel wayland weston weston-examples xinit-env xserver-xorg locale-base-en-us locale-base-en-gb' returned 1: -- # Randy MacLeod # Wind River Linux
|
|||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||
Re: do_fetch error while compiling code
On 2020-10-18 2:18 a.m., NIKHIL PATIL wrote:
hi ,Hi Nikhil, $cd /tmp; wget http://xorg.freedesktop.org/releases/individual/lib/libXcursor-1.1.15.tar.bz2 works for me so it's not the upstream web server at least at this instant. Can you run this wget command manually to download the tarball? Do you have a system or corporate firewall causing problems? If so fix that or do the download somewhere else and bring the sources to the build machine after clearing that with the people who are responsible for your workplace's security. I haven't used this and I don't know if it's up to date by you might read: https://wiki.yoctoproject.org/wiki/Working_Behind_a_Network_Proxy If this doesn't work for you there are commercial solutions that provide support for Yocto and also deliver all the sources that you'll need. Let me and the list know how it goes. Welcome to Yocto and good luck, ../Randy -- # Randy MacLeod # Wind River Linux
|
|||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||
M+ & H bugs with Milestone Movements WW42
Stephen Jolley
All,
Thanks,
Stephen K. Jolley Yocto Project Program Manager ( Cell: (208) 244-4460 * Email: sjolley.yp.pm@...
|
|||||||||||||||||||||||||||||||||||||||||||||||||
|