[OE-core] [V2][Hardknott][PATCH] nettle: update 3.7.2 -> 3.7.3
From: Alexander Kanavin Security fix for CVE-2021-3580. Here is NEWS for 3.7.3: NEWS for the Nettle 3.7.3 release This is bugfix release, fixing bugs that could make the RSA decryption functions crash on invalid inputs. Upgrading to the new version is strongly recommended. For applications that want to support older versions of Nettle, the bug can be worked around by adding a check that the RSA ciphertext is in the range 0 < ciphertext < n, before attempting to decrypt it. Thanks to Paul Schaub and Justus Winter for reporting these problems. The new version is intended to be fully source and binary compatible with Nettle-3.6. The shared library names are libnettle.so.8.4 and libhogweed.so.6.4, with sonames libnettle.so.8 and libhogweed.so.6. Bug fixes: * Fix crash for zero input to rsa_sec_decrypt and rsa_decrypt_tr. Potential denial of service vector. * Ensure that all of rsa_decrypt_tr and rsa_sec_decrypt return failure for out of range inputs, instead of either crashing, or silently reducing input modulo n. Potential denial of service vector. * Ensure that rsa_decrypt returns failure for out of range inputs, instead of silently reducing input modulo n. * Ensure that rsa_sec_decrypt returns failure if the message size is too large for the given key. Unlike the other bugs, this would typically be triggered by invalid local configuration, rather than by processing untrusted remote data. (From OE-Core rev: 219c89310264f99c2c43bb80e437a8a1e8e3217a) Signed-off-by: Alexander Kanavin Signed-off-by: Richard Purdie Signed-off-by: Changqing Li --- .../recipes-support/nettle/{nettle_3.7.2.bb => nettle_3.7.3.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-support/nettle/{nettle_3.7.2.bb => nettle_3.7.3.bb} (96%) diff --git a/meta/recipes-support/nettle/nettle_3.7.2.bb b/meta/recipes-support/nettle/nettle_3.7.3.bb similarity index 96% rename from meta/recipes-support/nettle/nettle_3.7.2.bb rename to meta/recipes-support/nettle/nettle_3.7.3.bb index f8f3360086..031500d741 100644 --- a/meta/recipes-support/nettle/nettle_3.7.2.bb +++ b/meta/recipes-support/nettle/nettle_3.7.3.bb @@ -24,7 +24,7 @@ SRC_URI_append_class-target = "\ file://dlopen-test.patch \ " -SRC_URI[sha256sum] = "8d2a604ef1cde4cd5fb77e422531ea25ad064679ff0adf956e78b3352e0ef162" +SRC_URI[sha256sum] = "661f5eb03f048a3b924c3a8ad2515d4068e40f67e774e8a26827658007e3bcf0" UPSTREAM_CHECK_REGEX = "nettle-(?P\d+(\.\d+)+)\.tar" -- 2.17.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#154603): https://lists.openembedded.org/g/openembedded-core/message/154603 Mute This Topic: https://lists.openembedded.org/mt/84763442/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [OE-core] [poky][master][PATCH] test_buildhistory: Add test to verify that LICENSE is added
Hi, Could you please review below patch? Regards, Sana Kazi On Mon, 26 Jul 2021 at 09:16, Sana Kazi wrote: > From: Sana Kazi > > Added test case which uses BUILDHISTORY_EXPORT_RECIPE_VARIABLES > and BUILDHISTORY_EXPORT_PACKAGE_VARIABLES to add LICENSE for glibc as a > sample recipe to buildhistory and the test verifies that expected > license value is written in latest file. > > Signed-off-by: Sana Kazi > --- > .../recipes-test/glibc/glibc_%.bbappend | 2 + > .../oeqa/selftest/cases/test_buildhistory.py | 48 +++ > 2 files changed, 50 insertions(+) > create mode 100644 meta-selftest/recipes-test/glibc/glibc_%.bbappend > create mode 100644 meta/lib/oeqa/selftest/cases/test_buildhistory.py > > diff --git a/meta-selftest/recipes-test/glibc/glibc_%.bbappend > b/meta-selftest/recipes-test/glibc/glibc_%.bbappend > new file mode 100644 > index 00..205720982c > --- /dev/null > +++ b/meta-selftest/recipes-test/glibc/glibc_%.bbappend > @@ -0,0 +1,2 @@ > +# This bbappend is used to alter the recipe using the test_recipe.inc > file created by tests. > +include test_recipe.inc > diff --git a/meta/lib/oeqa/selftest/cases/test_buildhistory.py > b/meta/lib/oeqa/selftest/cases/test_buildhistory.py > new file mode 100644 > index 00..2f1bd54599 > --- /dev/null > +++ b/meta/lib/oeqa/selftest/cases/test_buildhistory.py > @@ -0,0 +1,48 @@ > +import unittest > +from oeqa.selftest.case import OESelftestTestCase > +from oeqa.selftest.cases.buildhistory import BuildhistoryBase > +from oeqa.utils.commands import bitbake, get_bb_var > + > +class BuildhistoryTests(BuildhistoryBase): > + > +def test_write_license_to_latest_recipe(self): > +target = 'glibc' > +recipe_variables = [] > +self.write_recipeinc(target, > 'BUILDHISTORY_EXPORT_RECIPE_VARIABLES += \"LICENSE\"') > +self.run_buildhistory_operation(target) > +add_buildhistory_config = 'PACKAGE_CLASSES = \"package_ipk\"' > +self.append_config(add_buildhistory_config) > +pkghistdir = get_bb_var('BUILDHISTORY_DIR') > +PACKAGE_ARCH = get_bb_var('MULTIMACH_TARGET_SYS') > +bitbake('-c package_write_ipk -f %s' % target) > +infofile = "{}/packages/{}/{}/latest".format(pkghistdir, > PACKAGE_ARCH, target) > +expected = "LICENSE = GPLv2 & LGPLv2.1" > +result = False > +with open(infofile, "r") as f: > +for line in f: > +if line.strip() == expected: > +result = True > +break > +if not result: > +raise AssertionError("Expected License not found") > + > +def test_write_license_to_latest_package(self): > +target = 'glibc' > +recipe_variables = [] > +self.write_recipeinc(target, > 'BUILDHISTORY_EXPORT_PACKAGE_VARIABLES += \"LICENSE\"') > +self.run_buildhistory_operation(target) > +add_buildhistory_config = 'PACKAGE_CLASSES = \"package_ipk\"' > +self.append_config(add_buildhistory_config) > +bitbake('-c package_write_ipk -f %s' % target) > +pkghistdir = get_bb_var('BUILDHISTORY_DIR') > +PACKAGE_ARCH = get_bb_var('MULTIMACH_TARGET_SYS') > +infofile = "{}/packages/{}/{}/{}-dbg/latest".format(pkghistdir, > PACKAGE_ARCH, target, target) > +expected = "LICENSE = GPLv2 & LGPLv2.1" > +result = False > +with open(infofile, "r") as f: > +for line in f: > +if line.strip() == expected: > +result = True > +break > +if not result: > +raise AssertionError("Expected License not found") > -- > 2.17.1 > > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#154602): https://lists.openembedded.org/g/openembedded-core/message/154602 Mute This Topic: https://lists.openembedded.org/mt/84451836/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [OE-core] [poky][master][PATCH] buildhistory.bbclass: Enable exporting more recipe and package data
Hi, Could you please review the patch for master branch to enable exporting more recipe and package data? Regards, Sana Kazi On Mon, 26 Jul 2021 at 09:15, Sana Kazi wrote: > From: Sana Kazi > > Used BUILDHISTORY_EXPORT_RECIPE_VARIABLES and > BUILDHISTORY_EXPORT_PACKAGE_VARIABLES to export recipe and package > data to the latest file of buildhistory and sorted it alphabetically. > > This makes extending data in buildhistory git tree simple and avoids > patches to it for users who care about things like SRC_URI and like > to track it in buildhistory git tree. > > Now we can add additional information as per our requirement to the > buildhistory like LICENSE, SRC_URI AND MAINTAINER to the buildhistory > by appending them in a recipe or distro specific conf file as follows: > > BUILDHISTORY_EXPORT_RECIPE_VARIABLES += "MAINTAINER" > BUILDHISTORY_EXPORT_PACKAGE_VARIABLES += "MAINTAINER" > > Signed-off-by: Sana Kazi > --- > meta-poky/conf/distro/poky.conf | 3 + > meta/classes/buildhistory.bbclass | 107 +++--- > 2 files changed, 71 insertions(+), 39 deletions(-) > > diff --git a/meta-poky/conf/distro/poky.conf > b/meta-poky/conf/distro/poky.conf > index 522cc92f74..2280e95569 100644 > --- a/meta-poky/conf/distro/poky.conf > +++ b/meta-poky/conf/distro/poky.conf > @@ -76,3 +76,6 @@ INHERIT += "reproducible_build" > > BB_SIGNATURE_HANDLER ?= "OEEquivHash" > BB_HASHSERVE ??= "auto" > + > +BUILDHISTORY_EXPORT_RECIPE_VARIABLES ?= "PR PV PE LAYER DEPENDS PACKAGES > LICENSE SRC_URI CONFIG" > +BUILDHISTORY_EXPORT_PACKAGE_VARIABLES ?= "PE PV PR PKG PKGE PKGV PKGR > RPROVIDES RDEPENDS RRECOMMENDS RSUGGESTS RREPLACES RCONFLICTS PKGSIZE FILES > FILELIST" > diff --git a/meta/classes/buildhistory.bbclass > b/meta/classes/buildhistory.bbclass > index 55b12d7893..9b1542643e 100644 > --- a/meta/classes/buildhistory.bbclass > +++ b/meta/classes/buildhistory.bbclass > @@ -220,7 +220,6 @@ python buildhistory_emit_pkghistory() { > pv = d.getVar('PV') > pr = d.getVar('PR') > layer = bb.utils.get_file_layer(d.getVar('FILE'), d) > -license = d.getVar('LICENSE') > > pkgdata_dir = d.getVar('PKGDATA_DIR') > packages = "" > @@ -258,12 +257,11 @@ python buildhistory_emit_pkghistory() { > rcpinfo.pe = pe > rcpinfo.pv = pv > rcpinfo.pr = pr > -rcpinfo.depends = sortlist(oe.utils.squashspaces(d.getVar('DEPENDS') > or "")) > rcpinfo.packages = packages > rcpinfo.layer = layer > -rcpinfo.license = license > rcpinfo.config = > sortlist(oe.utils.squashspaces(d.getVar('PACKAGECONFIG') or "")) > -rcpinfo.src_uri = oe.utils.squashspaces(d.getVar('SRC_URI') or "") > +export_recipe_variables = > d.getVar('BUILDHISTORY_EXPORT_RECIPE_VARIABLES') or '' > +rcpinfo.export_recipe_variables = export_recipe_variables > write_recipehistory(rcpinfo, d) > > bb.build.exec_func("read_subpackage_metadata", d) > @@ -317,6 +315,9 @@ python buildhistory_emit_pkghistory() { > > pkginfo.size = int(localdata.getVar('PKGSIZE') or '0') > > +export_package_variables = > d.getVar('BUILDHISTORY_EXPORT_PACKAGE_VARIABLES') or '' > +pkginfo.export_package_variables = export_package_variables > + > write_pkghistory(pkginfo, d) > > # Create files-in-.txt files containing a list of files > of each recipe's package > @@ -365,17 +366,22 @@ def write_recipehistory(rcpinfo, d): > pkghistdir = d.getVar('BUILDHISTORY_DIR_PACKAGE') > > infofile = os.path.join(pkghistdir, "latest") > +export_recipe_variables = set(rcpinfo.export_recipe_variables.split()) > +ret = [] > with open(infofile, "w") as f: > -if rcpinfo.pe != "0": > -f.write(u"PE = %s\n" % rcpinfo.pe) > -f.write(u"PV = %s\n" % rcpinfo.pv) > -f.write(u"PR = %s\n" % rcpinfo.pr) > -f.write(u"DEPENDS = %s\n" % rcpinfo.depends) > -f.write(u"PACKAGES = %s\n" % rcpinfo.packages) > -f.write(u"LAYER = %s\n" % rcpinfo.layer) > -f.write(u"LICENSE = %s\n" % rcpinfo.license) > -f.write(u"CONFIG = %s\n" % rcpinfo.config) > -f.write(u"SRC_URI = %s\n" % rcpinfo.src_uri) > +for var in export_recipe_variables: > +if var == "PE": > +if rcpinfo.pe != "0": > +ret.append("%s = %s" % (var, rcpinfo.pe)) > +elif var == "LAYER": > +ret.append("%s = %s" % (var, rcpinfo.layer)) > +elif var == "CONFIG": > +ret.append("%s = %s" % (var, rcpinfo.config)) > +else: > +ret.append("%s = %s" % (var," > ".join((str(d.getVar(var)).split() > +ret.sort() > +for element in ret: > +f.write(element + "\n") > > write_latest_srcrev(d, pkghistdir) > > @@ -389,32 +395,55 @@ def write_pkghistory(pkginfo, d): > bb.utils.mkdirhier(pkgpath) > > infofile = os.path.join(pkgpath, "latest") > +export_package_variables
Re: [OE-core] [PATCH] libconvert-asn1-perl: 0.27 -> 0.31
ping On 8/2/21 9:41 AM, Changqing Li wrote: From: Changqing Li Signed-off-by: Changqing Li --- ...ert-asn1-perl_0.27.bb => libconvert-asn1-perl_0.31.bb} | 8 1 file changed, 4 insertions(+), 4 deletions(-) rename meta/recipes-extended/perl/{libconvert-asn1-perl_0.27.bb => libconvert-asn1-perl_0.31.bb} (71%) diff --git a/meta/recipes-extended/perl/libconvert-asn1-perl_0.27.bb b/meta/recipes-extended/perl/libconvert-asn1-perl_0.31.bb similarity index 71% rename from meta/recipes-extended/perl/libconvert-asn1-perl_0.27.bb rename to meta/recipes-extended/perl/libconvert-asn1-perl_0.31.bb index 409a8f3896..2548878a2e 100644 --- a/meta/recipes-extended/perl/libconvert-asn1-perl_0.27.bb +++ b/meta/recipes-extended/perl/libconvert-asn1-perl_0.31.bb @@ -1,14 +1,14 @@ SUMMARY = "Convert::ASN1 - Perl ASN.1 Encode/Decode library" SECTION = "libs" -HOMEPAGE = "https://metacpan.org/source/GBARR/Convert-ASN1-0.27"; +HOMEPAGE = "http://search.cpan.org/dist/Convert-ASN1/"; DESCRIPTION = "Convert::ASN1 is a perl library for encoding/decoding data using ASN.1 definitions." LICENSE = "Artistic-1.0 | GPL-1.0+" LIC_FILES_CHKSUM = "file://README.md;beginline=91;endline=97;md5=ceff7fd286eb6d8e8e0d3d23e096a63f" -SRC_URI = "http://search.cpan.org/CPAN/authors/id/G/GB/GBARR/Convert-ASN1-${PV}.tar.gz"; +SRC_URI = "https://cpan.metacpan.org/authors/id/T/TI/TIMLEGGE/Convert-ASN1-${PV}.tar.gz"; -SRC_URI[md5sum] = "68723e96be0b258a9e20480276e8a62c" -SRC_URI[sha256sum] = "74a4a78ae0c5e973100ac0a8f203a110f76fb047b79dae4fc1fd7d6814d3d58a" +SRC_URI[md5sum] = "1e12b263a5042804bb1c59ddce899876" +SRC_URI[sha256sum] = "6fe4c1ba744c3a8212bf2c9b2703d93530acc153435cf2f93633540b439fbbeb" S = "${WORKDIR}/Convert-ASN1-${PV}" -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#154600): https://lists.openembedded.org/g/openembedded-core/message/154600 Mute This Topic: https://lists.openembedded.org/mt/84602829/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[OE-core][PATCH] multilib.bbclass: fix new override syntax for virtclass-multilib
the 'virtclass-multilib-xxx' is an override, so use ':' instead of '_' for TARGET_VENDOR and DEFAULTTUNE. Signed-off-by: Chen Qi --- meta/classes/multilib.bbclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/classes/multilib.bbclass b/meta/classes/multilib.bbclass index c3be89767a..3cbda5d806 100644 --- a/meta/classes/multilib.bbclass +++ b/meta/classes/multilib.bbclass @@ -35,7 +35,7 @@ python multilib_virtclass_handler () { e.data.setVar('SDKTARGETSYSROOT', e.data.getVar('SDKTARGETSYSROOT')) override = ":virtclass-multilib-" + variant e.data.setVar("OVERRIDES", e.data.getVar("OVERRIDES", False) + override) -target_vendor = e.data.getVar("TARGET_VENDOR_" + "virtclass-multilib-" + variant, False) +target_vendor = e.data.getVar("TARGET_VENDOR:" + "virtclass-multilib-" + variant, False) if target_vendor: e.data.setVar("TARGET_VENDOR", target_vendor) return @@ -82,7 +82,7 @@ python multilib_virtclass_handler () { e.data.setVar("WHITELIST_GPL-3.0", pkgs) # DEFAULTTUNE can change TARGET_ARCH override so expand this now before update_data -newtune = e.data.getVar("DEFAULTTUNE_" + "virtclass-multilib-" + variant, False) +newtune = e.data.getVar("DEFAULTTUNE:" + "virtclass-multilib-" + variant, False) if newtune: e.data.setVar("DEFAULTTUNE", newtune) } -- 2.30.2 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#154599): https://lists.openembedded.org/g/openembedded-core/message/154599 Mute This Topic: https://lists.openembedded.org/mt/84760859/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [OE-core][PATCH 2/2] convert-overrides.py: skip patches
On 08/06/2021 06:58 PM, Richard Purdie wrote: On Fri, 2021-08-06 at 02:03 -0700, Chen Qi wrote: If a line specifies a patch, skip it. Signed-off-by: Chen Qi --- scripts/contrib/convert-overrides.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/contrib/convert-overrides.py b/scripts/contrib/convert-overrides.py index 4d41a4c475..387e29d66d 100755 --- a/scripts/contrib/convert-overrides.py +++ b/scripts/contrib/convert-overrides.py @@ -63,6 +63,7 @@ skips = skips + ["run_loaddata_poky", "determine_if_poky_env", "do_populate_poky skips = skips + ["get_appends_for_files", "test_doubleref_remove", "test_bitbakelayers_add_remove", "elf32_x86_64", "colour_remove", "revmap_remove"] skips = skips + ["test_rpm_remove", "test_bitbakelayers_add_remove", "recipe_append_file", "log_data_removed", "recipe_append", "systemd_machine_unit_append"] skips = skips + ["recipetool_append", "changetype_remove", "try_appendfile_wc", "test_qemux86_directdisk", "test_layer_appends", "tgz_removed"] +skips = skips + ["file://"] This is never simple since this would now skip: SRC_URI_append = " file://" I didn't realize such case. Thanks for pointing it out. Regards, Qi I'm not sure which issue is better/worse... Cheers, Richard -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#154598): https://lists.openembedded.org/g/openembedded-core/message/154598 Mute This Topic: https://lists.openembedded.org/mt/84704327/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [OE-core][PATCH] kernel-fitimage: images should not be signed with the same keys as the configurations
Hello, On 06/08/2021 18:10:38+0200, Thomas Perrot wrote: > Otherwise the "required" property, from UBOOT_DTB_BINARY, will be set to > "conf" > and no error will be raised in case of error. > > Signed-off-by: Thomas Perrot > --- > meta/classes/kernel-fitimage.bbclass | 40 > 1 file changed, 35 insertions(+), 5 deletions(-) > > diff --git a/meta/classes/kernel-fitimage.bbclass > b/meta/classes/kernel-fitimage.bbclass > index a9d1002200c9..72f692e40e63 100644 > --- a/meta/classes/kernel-fitimage.bbclass > +++ b/meta/classes/kernel-fitimage.bbclass > @@ -60,6 +60,14 @@ FIT_DESC ?= "Kernel fitImage for > ${DISTRO_NAME}/${PV}/${MACHINE}" > # Sign individual images as well > FIT_SIGN_INDIVIDUAL ?= "0" > > +# Keys used to sign individually images nodes. > +# The keys to sign images nodes must be different from those used to sign > +# configurations nodes, otherwise the "required" property, from > +# UBOOT_DTB_BINARY, will be set to "conf", because "conf" prevails on > "image". > +# Then images signature checking will not be mandatory and no error will be > +# raised. > +# UBOOT_SIGN_IMG_KEYNAME = "dev2" # keys name in keydir (eg. "dev2.crt", > "dev2.key") > + > # > # Emit the fitImage ITS header > # > @@ -121,7 +129,7 @@ fitimage_emit_section_kernel() { > > kernel_csum="${FIT_HASH_ALG}" > kernel_sign_algo="${FIT_SIGN_ALG}" > - kernel_sign_keyname="${UBOOT_SIGN_KEYNAME}" > + kernel_sign_keyname="${UBOOT_SIGN_IMG_KEYNAME}" > > ENTRYPOINT="${UBOOT_ENTRYPOINT}" > if [ -n "${UBOOT_ENTRYSYMBOL}" ]; then > @@ -167,7 +175,7 @@ fitimage_emit_section_dtb() { > > dtb_csum="${FIT_HASH_ALG}" > dtb_sign_algo="${FIT_SIGN_ALG}" > - dtb_sign_keyname="${UBOOT_SIGN_KEYNAME}" > + dtb_sign_keyname="${UBOOT_SIGN_IMG_KEYNAME}" > > dtb_loadline="" > dtb_ext=${DTB##*.} > @@ -214,7 +222,7 @@ fitimage_emit_section_boot_script() { > > bootscr_csum="${FIT_HASH_ALG}" > bootscr_sign_algo="${FIT_SIGN_ALG}" > - bootscr_sign_keyname="${UBOOT_SIGN_KEYNAME}" > + bootscr_sign_keyname="${UBOOT_SIGN_IMG_KEYNAME}" > > cat << EOF >> ${1} > bootscr-${2} { > @@ -278,7 +286,7 @@ fitimage_emit_section_ramdisk() { > > ramdisk_csum="${FIT_HASH_ALG}" > ramdisk_sign_algo="${FIT_SIGN_ALG}" > - ramdisk_sign_keyname="${UBOOT_SIGN_KEYNAME}" > + ramdisk_sign_keyname="${UBOOT_SIGN_IMG_KEYNAME}" > ramdisk_loadline="" > ramdisk_entryline="" > > @@ -475,6 +483,10 @@ fitimage_assemble() { > bootscr_id="" > rm -f ${1} arch/${ARCH}/boot/${2} > > + if [ "${UBOOT_SIGN_KEYNAME}" = "${UBOOT_SIGN_IMG_KEYNAME}" ]; then > + bbfatal "Keys used to sign images and configuration nodes must > be different." This breaks oe-selftest, as seen in: https://autobuilder.yoctoproject.org/typhoon/#/builders/79/builds/2383/steps/14/logs/stdio -- Alexandre Belloni, co-owner and COO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#154597): https://lists.openembedded.org/g/openembedded-core/message/154597 Mute This Topic: https://lists.openembedded.org/mt/84711813/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[OE-core] OE-core CVE metrics for hardknott on Sun 08 Aug 2021 05:00:01 AM HST
Branch: hardknott New this week: 1 CVEs CVE-2021-31810: ruby:ruby-native https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-31810 * Removed this week: 1 CVEs CVE-2021-33574: glibc https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-33574 * Full list: Found 29 unpatched CVEs CVE-2013-0340: expat:expat-native https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2013-0340 * CVE-2019-12067: qemu:qemu-native:qemu-system-native https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2019-12067 * CVE-2019-25051: aspell https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2019-25051 * CVE-2019-6293: flex:flex-native https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2019-6293 * CVE-2019-6470: bind https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2019-6470 * CVE-2020-27748: xdg-utils https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2020-27748 * CVE-2020-29623: webkitgtk https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2020-29623 * CVE-2020-35503: qemu:qemu-native:qemu-system-native https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2020-35503 * CVE-2021-0129: bluez5 https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-0129 * CVE-2021-1765: webkitgtk https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-1765 * CVE-2021-1789: webkitgtk https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-1789 * CVE-2021-1799: webkitgtk https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-1799 * CVE-2021-1801: webkitgtk https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-1801 * CVE-2021-1870: webkitgtk https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-1870 * CVE-2021-20196: qemu:qemu-native:qemu-system-native https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-20196 * CVE-2021-20255: qemu:qemu-native:qemu-system-native https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-20255 * CVE-2021-22901: curl:curl-native https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-22901 * CVE-2021-31810: ruby:ruby-native https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-31810 * CVE-2021-31879: wget https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-31879 * CVE-2021-3445: libdnf https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-3445 * CVE-2021-34558: go https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-34558 * CVE-2021-3507: qemu:qemu-native:qemu-system-native https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-3507 * CVE-2021-3527: qemu:qemu-native:qemu-system-native https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-3527 * CVE-2021-35331: tcl:tcl-native https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-35331 * CVE-2021-3544: qemu:qemu-native:qemu-system-native https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-3544 * CVE-2021-3545: qemu:qemu-native:qemu-system-native https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-3545 * CVE-2021-3546: qemu:qemu-native:qemu-system-native https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-3546 * CVE-2021-35942: glibc https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-35942 * CVE-2021-36976: libarchive https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-36976 * -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#154596): https://lists.openembedded.org/g/openembedded-core/message/154596 Mute This Topic: https://lists.openembedded.org/mt/84748568/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[OE-core] OE-core CVE metrics for dunfell on Sun 08 Aug 2021 04:30:01 AM HST
Branch: dunfell New this week: 3 CVEs CVE-2021-28966: ruby:ruby-native https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-28966 * CVE-2021-31810: ruby:ruby-native https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-31810 * CVE-2021-35942: glibc https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-35942 * Removed this week: 0 CVEs Full list: Found 85 unpatched CVEs CVE-2018-21232: re2c:re2c-native https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2018-21232 * CVE-2019-12067: qemu:qemu-native:qemu-system-native https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2019-12067 * CVE-2019-25051: aspell https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2019-25051 * CVE-2019-6293: flex:flex-native https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2019-6293 * CVE-2020-12829: qemu:qemu-native:qemu-system-native https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2020-12829 * CVE-2020-13253: qemu:qemu-native:qemu-system-native https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2020-13253 * CVE-2020-13754: qemu:qemu-native:qemu-system-native https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2020-13754 * CVE-2020-13791: qemu:qemu-native:qemu-system-native https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2020-13791 * CVE-2020-14372: grub:grub-efi:grub-efi-native https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2020-14372 * CVE-2020-15469: qemu:qemu-native:qemu-system-native https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2020-15469 * CVE-2020-15705: grub:grub-efi:grub-efi-native https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2020-15705 * CVE-2020-15859: qemu:qemu-native:qemu-system-native https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2020-15859 * CVE-2020-15900: ghostscript-native https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2020-15900 * CVE-2020-16590: binutils:binutils-cross-testsuite:binutils-cross-x86_64:binutils-native https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2020-16590 * CVE-2020-16591: binutils:binutils-cross-testsuite:binutils-cross-x86_64:binutils-native https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2020-16591 * CVE-2020-16593: binutils:binutils-cross-testsuite:binutils-cross-x86_64:binutils-native https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2020-16593 * CVE-2020-16599: binutils:binutils-cross-testsuite:binutils-cross-x86_64:binutils-native https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2020-16599 * CVE-2020-17380: qemu:qemu-native:qemu-system-native https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2020-17380 * CVE-2020-25632: grub:grub-efi:grub-efi-native https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2020-25632 * CVE-2020-25647: grub:grub-efi:grub-efi-native https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2020-25647 * CVE-2020-25742: qemu:qemu-native:qemu-system-native https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2020-25742 * CVE-2020-25743: qemu:qemu-native:qemu-system-native https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2020-25743 * CVE-2020-27661: qemu:qemu-native:qemu-system-native https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2020-27661 * CVE-2020-27748: xdg-utils https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2020-27748 * CVE-2020-27749: grub:grub-efi:grub-efi-native https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2020-27749 * CVE-2020-27779: grub:grub-efi:grub-efi-native https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2020-27779 * CVE-2020-27821: qemu:qemu-native:qemu-system-native https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2020-27821 * CVE-2020-29510: go:go-native https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2020-29510 * CVE-2020-29623: webkitgtk https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2020-29623 * CVE-2020-35503: qemu:qemu-native:qemu-system-native https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2020-35503 * CVE-2020-35504: qemu:qemu-native:qemu-system-native https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2020-35504 * CVE-2020-35505: qemu:qemu-native:qemu-system-native https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2020-35505 * CVE-2020-35506: qemu:qemu-native:qemu-system-native https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2020-35506 * CVE-2020-3810: apt https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2020-3810 * CVE-2021-0129: bluez5 https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-0129 * CVE-2021-1765: webkitgtk https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-1765 * CVE-2021-1789: webkitgtk https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-1789 * CVE-2021-1799: webkitgtk https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-1799 * CVE-2021-1801: webkitgtk https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-1801 * CVE-2021-1870: webkitgtk https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-1870 * CVE-2021-20181: qemu:qemu-native:qemu-system-native https://web.nvd.nist.gov/view/vuln/detail?vulnId
[OE-core] OE-core CVE metrics for master on Sun 08 Aug 2021 04:00:01 AM HST
Branch: master New this week: 0 CVEs Removed this week: 0 CVEs Full list: Found 11 unpatched CVEs CVE-2019-12067: qemu:qemu-native:qemu-system-native https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2019-12067 * CVE-2019-6293: flex:flex-native https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2019-6293 * CVE-2020-27748: xdg-utils https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2020-27748 * CVE-2020-35503: qemu:qemu-native:qemu-system-native https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2020-35503 * CVE-2021-20255: qemu:qemu-native:qemu-system-native https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-20255 * CVE-2021-31879: wget https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-31879 * CVE-2021-34558: go https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-34558 * CVE-2021-3507: qemu:qemu-native:qemu-system-native https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-3507 * CVE-2021-35331: tcl:tcl-native https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-35331 * CVE-2021-35942: glibc https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-35942 * CVE-2021-36976: libarchive:libarchive-native https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-36976 * -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#154594): https://lists.openembedded.org/g/openembedded-core/message/154594 Mute This Topic: https://lists.openembedded.org/mt/84747518/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[OE-core] [PATCH v2] sstate.bbclass: fix error handling when sstate mirrors is ro
The commit dd37fc35c5f934af09d601d70772eb5955ae 'sstate.bbclass: fix errors about read-only sstate mirrors' adds an additional exception handler to silently mask read only rootfs errors thrown during the touch. The exception handler checks the error type with the python module errno but this module needs to be imported as it don't exist. Example of the error: File: 'exec_python_func() autogenerated', lineno: 2, function: 0001: *** 0002:sstate_task_postfunc(d) 0003: File: '/home/builder/src/base/poky/meta/classes/sstate.bbclass', lineno: 778, function: sstate_task_postfunc 0774: 0775:omask = os.umask(0o002) 0776:if omask != 0o002: 0777: bb.note("Using umask 0o002 (not %0o) for sstate packaging" % omask) *** 0778:sstate_package(shared_state, d) 0779:os.umask(omask) 0780: 0781:sstateinst = d.getVar("SSTATE_INSTDIR") 0782:d.setVar('SSTATE_FIXMEDIR', shared_state['fixmedir']) File: '/home/builder/src/base/poky/meta/classes/sstate.bbclass', lineno: 708, function: sstate_package 0704:except PermissionError: 0705:pass 0706:except OSError as e: 0707:# Handle read-only file systems gracefully *** 0708:if e.errno != errno.EROFS: 0709:raise e 0710: 0711:return 0712: Exception: NameError: name 'errno' is not defined Signed-off-by: Jose Quaresma --- meta/classes/sstate.bbclass | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass index 86a7464ae3..fb02ad2dd7 100644 --- a/meta/classes/sstate.bbclass +++ b/meta/classes/sstate.bbclass @@ -705,6 +705,7 @@ def sstate_package(ss, d): pass except OSError as e: # Handle read-only file systems gracefully +import errno if e.errno != errno.EROFS: raise e @@ -1154,6 +1155,7 @@ python sstate_eventhandler() { pass except OSError as e: # Handle read-only file systems gracefully +import errno if e.errno != errno.EROFS: raise e -- 2.32.0 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#154593): https://lists.openembedded.org/g/openembedded-core/message/154593 Mute This Topic: https://lists.openembedded.org/mt/84746471/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[OE-core] [PATCH] sstate.bbclass: fix error handling when sstate mirrors errors is ro
The commit dd37fc35c5f934af09d601d70772eb5955ae 'sstate.bbclass: fix errors about read-only sstate mirrors' adds an additional exception handler to silently mask read only rootfs errors thrown during the touch. The exception handler checks the error type with the python module errno but this module needs to be imported as it don't exist. Example of the error: File: 'exec_python_func() autogenerated', lineno: 2, function: 0001: *** 0002:sstate_task_postfunc(d) 0003: File: '/home/builder/src/base/poky/meta/classes/sstate.bbclass', lineno: 778, function: sstate_task_postfunc 0774: 0775:omask = os.umask(0o002) 0776:if omask != 0o002: 0777: bb.note("Using umask 0o002 (not %0o) for sstate packaging" % omask) *** 0778:sstate_package(shared_state, d) 0779:os.umask(omask) 0780: 0781:sstateinst = d.getVar("SSTATE_INSTDIR") 0782:d.setVar('SSTATE_FIXMEDIR', shared_state['fixmedir']) File: '/home/builder/src/base/poky/meta/classes/sstate.bbclass', lineno: 708, function: sstate_package 0704:except PermissionError: 0705:pass 0706:except OSError as e: 0707:# Handle read-only file systems gracefully *** 0708:if e.errno != errno.EROFS: 0709:raise e 0710: 0711:return 0712: Exception: NameError: name 'errno' is not defined Signed-off-by: Jose Quaresma --- meta/classes/sstate.bbclass | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass index 86a7464ae3..fb02ad2dd7 100644 --- a/meta/classes/sstate.bbclass +++ b/meta/classes/sstate.bbclass @@ -705,6 +705,7 @@ def sstate_package(ss, d): pass except OSError as e: # Handle read-only file systems gracefully +import errno if e.errno != errno.EROFS: raise e @@ -1154,6 +1155,7 @@ python sstate_eventhandler() { pass except OSError as e: # Handle read-only file systems gracefully +import errno if e.errno != errno.EROFS: raise e -- 2.32.0 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#154592): https://lists.openembedded.org/g/openembedded-core/message/154592 Mute This Topic: https://lists.openembedded.org/mt/84746142/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[OE-core] [PATCH] linux-firmware: add more Qualcomm firmware packages
Add firmware packages for the recent Qualcomm SoCs: - linux-firmware-qcom-adreno-a650, linux-firmware-qcom-adreno-a660, containing firmware for Adreno A630 and A650 GPUs - linux-firmware-qcom-sm8250-audio, linux-firmware-sm8250-compute, containing firmware for audio and comute DSPs on SM8250 (QRB5165) - linux-firmware-qcom-vpu-1.0, linux-firmware-qcom-vpu-2.0 containing firmware for newer Venus video encoder/decoder Signed-off-by: Dmitry Baryshkov --- .../linux-firmware/linux-firmware_20210511.bb | 17 - 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_20210511.bb b/meta/recipes-kernel/linux-firmware/linux-firmware_20210511.bb index fe46cb519259..d91a5562ac0e 100644 --- a/meta/recipes-kernel/linux-firmware/linux-firmware_20210511.bb +++ b/meta/recipes-kernel/linux-firmware/linux-firmware_20210511.bb @@ -303,8 +303,11 @@ PACKAGES =+ "${PN}-ralink-license ${PN}-ralink \ ${PN}-qat ${PN}-qat-license \ ${PN}-qcom-license \ ${PN}-qcom-venus-1.8 ${PN}-qcom-venus-4.2 ${PN}-qcom-venus-5.2 ${PN}-qcom-venus-5.4 \ - ${PN}-qcom-adreno-a3xx ${PN}-qcom-adreno-a530 ${PN}-qcom-adreno-a630 \ + ${PN}-qcom-vpu-1.0 ${PN}-qcom-vpu-2.0 \ + ${PN}-qcom-adreno-a3xx ${PN}-qcom-adreno-a530 \ + ${PN}-qcom-adreno-a630 ${PN}-qcom-adreno-a650 ${PN}-qcom-adreno-a660 \ ${PN}-qcom-sdm845-audio ${PN}-qcom-sdm845-compute ${PN}-qcom-sdm845-modem \ + ${PN}-qcom-sm8250-audio ${PN}-qcom-sm8250-compute \ ${PN}-amlogic-vdec-license ${PN}-amlogic-vdec \ ${PN}-lt9611uxc ${PN}-lontium-license \ ${PN}-whence-license \ @@ -952,22 +955,34 @@ FILES:${PN}-qcom-venus-1.8 = "${nonarch_base_libdir}/firmware/qcom/venus-1.8/*" FILES:${PN}-qcom-venus-4.2 = "${nonarch_base_libdir}/firmware/qcom/venus-4.2/*" FILES:${PN}-qcom-venus-5.2 = "${nonarch_base_libdir}/firmware/qcom/venus-5.2/*" FILES:${PN}-qcom-venus-5.4 = "${nonarch_base_libdir}/firmware/qcom/venus-5.4/*" +FILES:${PN}-qcom-vpu-1.0 = "${nonarch_base_libdir}/firmware/qcom/vpu-1.0/*" +FILES:${PN}-qcom-vpu-2.0 = "${nonarch_base_libdir}/firmware/qcom/vpu-2.0/*" FILES:${PN}-qcom-adreno-a3xx = "${nonarch_base_libdir}/firmware/qcom/a300_*.fw ${nonarch_base_libdir}/firmware/a300_*.fw" FILES:${PN}-qcom-adreno-a530 = "${nonarch_base_libdir}/firmware/qcom/a530*.*" FILES:${PN}-qcom-adreno-a630 = "${nonarch_base_libdir}/firmware/qcom/a630*.* ${nonarch_base_libdir}/firmware/qcom/sdm845/a630*.*" +FILES:${PN}-qcom-adreno-a650 = "${nonarch_base_libdir}/firmware/qcom/a650*.* ${nonarch_base_libdir}/firmware/qcom/sm8250/a650*.*" +FILES:${PN}-qcom-adreno-a660 = "${nonarch_base_libdir}/firmware/qcom/a660*.*" FILES:${PN}-qcom-sdm845-audio = "${nonarch_base_libdir}/firmware/qcom/sdm845/adsp*.*" FILES:${PN}-qcom-sdm845-compute = "${nonarch_base_libdir}/firmware/qcom/sdm845/cdsp*.*" FILES:${PN}-qcom-sdm845-modem = "${nonarch_base_libdir}/firmware/qcom/sdm845/mba.mbn ${nonarch_base_libdir}/firmware/qcom/sdm845/modem*.* ${nonarch_base_libdir}/firmware/qcom/sdm845/wlanmdsp.mbn" +FILES:${PN}-qcom-sm8250-audio = "${nonarch_base_libdir}/firmware/qcom/sm8250/adsp*.*" +FILES:${PN}-qcom-sm8250-compute = "${nonarch_base_libdir}/firmware/qcom/sm8250/cdsp*.*" RDEPENDS:${PN}-qcom-venus-1.8 = "${PN}-qcom-license" RDEPENDS:${PN}-qcom-venus-4.2 = "${PN}-qcom-license" RDEPENDS:${PN}-qcom-venus-5.2 = "${PN}-qcom-license" RDEPENDS:${PN}-qcom-venus-5.4 = "${PN}-qcom-license" +RDEPENDS:${PN}-qcom-vpu-1.0 = "${PN}-qcom-license" +RDEPENDS:${PN}-qcom-vpu-2.0 = "${PN}-qcom-license" RDEPENDS:${PN}-qcom-adreno-a3xx = "${PN}-qcom-license" RDEPENDS:${PN}-qcom-adreno-a530 = "${PN}-qcom-license" RDEPENDS:${PN}-qcom-adreno-a630 = "${PN}-qcom-license" +RDEPENDS:${PN}-qcom-adreno-a650 = "${PN}-qcom-license" +RDEPENDS:${PN}-qcom-adreno-a660 = "${PN}-qcom-license" RDEPENDS:${PN}-qcom-sdm845-audio = "${PN}-qcom-license" RDEPENDS:${PN}-qcom-sdm845-compute = "${PN}-qcom-license" RDEPENDS:${PN}-qcom-sdm845-modem = "${PN}-qcom-license" +RDEPENDS:${PN}-qcom-sm8250-audio = "${PN}-qcom-license" +RDEPENDS:${PN}-qcom-sm8250-compute = "${PN}-qcom-license" FILES:${PN}-liquidio = "${nonarch_base_libdir}/firmware/liquidio" -- 2.30.2 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#154591): https://lists.openembedded.org/g/openembedded-core/message/154591 Mute This Topic: https://lists.openembedded.org/mt/84745845/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [OE-core] [PATCH] baremetal-helloworld: Enable RISC-V 32 port
On Sun, Aug 8, 2021 at 2:15 PM Alejandro Hernandez Samaniego wrote: > > $ runqemu nographic > runqemu - INFO - Running bitbake -e ... > KERNEL: > [tmp/deploy/images/qemuriscv32/baremetal-helloworld-image-qemuriscv32.bin] > MACHINE: [qemuriscv32] > runqemu - INFO - Running > tmp/work/x86_64-linux/qemu-helper-native/1.0-r1/recipe-sysroot-native/usr/bin/qemu-system-riscv32 > > Hello OpenEmbedded on RISC-V 32! > > Signed-off-by: Alejandro Enedino Hernandez Samaniego Reviewed-by: Alistair Francis Alistair > --- > .../baremetal-examples/baremetal-helloworld_git.bb | 5 +++-- > meta/classes/baremetal-image.bbclass | 3 +++ > 2 files changed, 6 insertions(+), 2 deletions(-) > > diff --git > a/meta-skeleton/recipes-baremetal/baremetal-examples/baremetal-helloworld_git.bb > > b/meta-skeleton/recipes-baremetal/baremetal-examples/baremetal-helloworld_git.bb > index 37193f5a33..d11e2e530e 100644 > --- > a/meta-skeleton/recipes-baremetal/baremetal-examples/baremetal-helloworld_git.bb > +++ > b/meta-skeleton/recipes-baremetal/baremetal-examples/baremetal-helloworld_git.bb > @@ -4,7 +4,7 @@ DESCRIPTION = "These are introductory examples to showcase > the use of QEMU to ru > LICENSE = "MIT" > LIC_FILES_CHKSUM = "file://LICENSE;md5=39346640a23c701e4f459e05f56f4449" > > -SRCREV = "0bf9ea216e6f76be50726a3a74e527b7bbb0ad93" > +SRCREV = "31b4e5a337018b4a00a7426b0e5ed83b81df30c7" > PV = "0.1+git${SRCPV}" > > SRC_URI = > "git://github.com/aehs29/baremetal-helloqemu.git;protocol=https;branch=master" > @@ -28,13 +28,14 @@ inherit baremetal-image > # machine that QEMU uses on OE, e.g. -machine virt -cpu cortex-a57 > # but the examples can also be run on other architectures/machines > # such as vexpress-a15 by overriding the setting on the machine.conf > -COMPATIBLE_MACHINE = "qemuarmv5|qemuarm|qemuarm64|qemuriscv64" > +COMPATIBLE_MACHINE = "qemuarmv5|qemuarm|qemuarm64|qemuriscv64|qemuriscv32" > > BAREMETAL_QEMUARCH ?= "" > BAREMETAL_QEMUARCH:qemuarmv5 = "versatile" > BAREMETAL_QEMUARCH:qemuarm = "arm" > BAREMETAL_QEMUARCH:qemuarm64 = "aarch64" > BAREMETAL_QEMUARCH:qemuriscv64 = "riscv64" > +BAREMETAL_QEMUARCH:qemuriscv32 = "riscv32" > > EXTRA_OEMAKE:append = " QEMUARCH=${BAREMETAL_QEMUARCH} V=1" > > diff --git a/meta/classes/baremetal-image.bbclass > b/meta/classes/baremetal-image.bbclass > index 9ec3f1460b..089c445522 100644 > --- a/meta/classes/baremetal-image.bbclass > +++ b/meta/classes/baremetal-image.bbclass > @@ -82,12 +82,15 @@ QB_OPT_APPEND:append = " -nographic" > # RISC-V tunes set the BIOS, unset, and instruct QEMU to > # ignore the BIOS and boot from -kernel > QB_DEFAULT_BIOS:qemuriscv64 = "" > +QB_DEFAULT_BIOS:qemuriscv32 = "" > QB_OPT_APPEND:append:qemuriscv64 = " -bios none" > +QB_OPT_APPEND:append:qemuriscv32 = " -bios none" > > > # Use the medium-any code model for the RISC-V 64 bit implementation, > # since medlow can only access addresses below 0x8000 and RAM > # starts at 0x8000 on RISC-V 64 > +# Keep RISC-V 32 using -mcmodel=medlow (symbols lie between -2GB:2GB) > CFLAGS:append:qemuriscv64 = " -mcmodel=medany" > > > -- > 2.25.1 > > > > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#154590): https://lists.openembedded.org/g/openembedded-core/message/154590 Mute This Topic: https://lists.openembedded.org/mt/84741607/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-