Re: [meta-arago] [oe-layersetup PATCH v4] processor-sdk: Add 07.03.00.005 release config
Applied to master. Thanks Yogesh On 9/7/2021 5:26 AM, Priya N S wrote: Add config file for processor-sdk 07.03.00.005 release Signed-off-by: Priya N S --- Hi All, This patch adds the processor-sdk-07.03.00.005-config for the AM335x and AM437x 07.03 release. Changes made in the v4 patch: * Updated the commit message with the description of the patch. v3: http://arago-project.org/pipermail/meta-arago/2021-August/013309.html v2: http://arago-project.org/pipermail/meta-arago/2021-August/013290.html v1: http://arago-project.org/pipermail/meta-arago/2021-August/013289.html .../processor-sdk-07.03.00.005-config.txt | 14 ++ 1 file changed, 14 insertions(+) create mode 100644 configs/processor-sdk/processor-sdk-07.03.00.005-config.txt diff --git a/configs/processor-sdk/processor-sdk-07.03.00.005-config.txt b/configs/processor-sdk/processor-sdk-07.03.00.005-config.txt new file mode 100644 index 000..548e759 --- /dev/null +++ b/configs/processor-sdk/processor-sdk-07.03.00.005-config.txt @@ -0,0 +1,14 @@ +# This file takes repo entries in the format +# repo name,repo uri,repo branch,repo commit[,layers=layer1:layer2...:layern] + +bitbake,git://git.openembedded.org/bitbake,1.46,017a39ed05d065bf28fd38f91bcde8a098300551 +meta-processor-sdk,git://git.ti.com/processor-sdk/meta-processor-sdk.git,dunfell,c467012684e57c914c4070238987e931f329da15,layers= +meta-arago,git://arago-project.org/git/meta-arago.git,dunfell,07.03.00.005,layers=meta-arago-distro:meta-arago-extras +meta-qt5,git://github.com/meta-qt5/meta-qt5.git,dunfell,b4d24d70aca75791902df5cd59a4f4a54aa4a125,layers= +meta-virtualization,git://git.yoctoproject.org/meta-virtualization,dunfell,89abc62b47f6f20db9d00a8ec9b2c1b6b60ac3f9,layers= +meta-openembedded,git://git.openembedded.org/meta-openembedded,dunfell,389757a7494221fea1d8437e9a01c6e4fb4700af,layers=meta-networking:meta-python:meta-oe:meta-gnome:meta-filesystems +meta-ti,git://git.yoctoproject.org/meta-ti,dunfell,07.03.00.005,layers= +meta-arm,git://git.yoctoproject.org/meta-arm,dunfell,c4f04f3fb66f8f4365b08b553af8206372e90a63,layers=meta-arm:meta-arm-toolchain +oe-core,git://git.openembedded.org/openembedded-core,dunfell,707036d4ec12ef1a260adcef78627b26e32e6540,layers=meta +OECORELAYERCONF=./sample-files/bblayers.conf.sample +OECORELOCALCONF=./sample-files/local-processor-sdk-64.conf.sample ___ meta-arago mailing list meta-arago@arago-project.org http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Re: [meta-arago] [dunfell/master][PATCH v2] mbedtls: remove bbappend
Applied to master and dunfell. Thanks On 8/25/2021 2:04 PM, Denys Dmytriyenko wrote: From: Denys Dmytriyenko This change is now upstream. Signed-off-by: Denys Dmytriyenko --- v2 - expand commit message into 2 lines meta-arago-distro/recipes-connectivity/mbedtls/mbedtls_%.bbappend | 1 - 1 file changed, 1 deletion(-) delete mode 100644 meta-arago-distro/recipes-connectivity/mbedtls/mbedtls_%.bbappend diff --git a/meta-arago-distro/recipes-connectivity/mbedtls/mbedtls_%.bbappend b/meta-arago-distro/recipes-connectivity/mbedtls/mbedtls_%.bbappend deleted file mode 100644 index 608377e..000 --- a/meta-arago-distro/recipes-connectivity/mbedtls/mbedtls_%.bbappend +++ /dev/null @@ -1 +0,0 @@ -BBCLASSEXTEND = "native nativesdk" ___ meta-arago mailing list meta-arago@arago-project.org http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Re: [meta-arago] [oe-layersetup PATCH v3] processor-sdk: Add 07.03.00.005 release config
On 8/27/2021 1:45 PM, Bajjuri, Praneeth wrote: On 8/27/2021 5:54 AM, Vigna Raja Priya N S wrote: On Fri, Aug 27, 2021 at 1:42 AM Praneeth Bajjuri wrote: On 8/26/21 5:31 AM, Priya N S wrote: Signed-off-by: Priya N S --- Hi All, This patch adds the processor-sdk-07.03.00.005-config for the AM335x and AM437x 07.03 release. Changes made in the V3 patch: * This corresponds to the 07.03 release for the am335x-evm and am437x-evm platforms. * The meta-linaro meta-layer is removed because the meta-optee needed for the build is moved to meta-arm from the dunfell. any version change log should be below --- please correct the commit message about "Changes made in the V3 patch:" .../processor-sdk-07.03.00.005-config.txt | 14 ++ 1 file changed, 14 insertions(+) create mode 100644 configs/processor-sdk/processor-sdk-07.03.00.005-config.txt diff --git a/configs/processor-sdk/processor-sdk-07.03.00.005-config.txt b/configs/processor-sdk/processor-sdk-07.03.00.005-config.txt new file mode 100644 index 000..548e759 --- /dev/null +++ b/configs/processor-sdk/processor-sdk-07.03.00.005-config.txt @@ -0,0 +1,14 @@ +# This file takes repo entries in the format +# repo name,repo uri,repo branch,repo commit[,layers=layer1:layer2...:layern] + +bitbake,git://git.openembedded.org/bitbake,1.46,017a39ed05d065bf28fd38f91bcde8a098300551 +meta-processor-sdk,git://git.ti.com/processor-sdk/meta-processor-sdk.git,dunfell,c467012684e57c914c4070238987e931f329da15,layers= this doesnt seems to be latest commit from https://git.ti.com/cgit/processor-sdk/meta-processor-sdk/log/?h=dunfell it looks atleast 27 patches behind. Please provide the reason for this difference. The release config file added in this patch is for the AM335x and AM437x GP EVM 07.03.00.005 release that has already happened on 24th May 2021 and 02nd July 2021. The config file was missed to add in the oe-layersetup repository after the release. The 27 patches mentioned were added after the release of AM335x and AM437x GP EVM. So, this is the reason for seeing the differences in the commit Ids. Can you also start using tags for meta-processor-sdk. Since 07.03 release has already happened, Yes, but you can still tag the right commitID eventhough its not on the top and update the oelayersup patch to point to tagname instead. We will loose history and dont have a read point later to demystify why we are using a older commit for the snapshot config patch after a month. Good point. How-ever this is for older release and for latest 8.0 also commit id is being used. So if they need to make this change they will need to update 8.0 config for continuity. So I am fine with leaving this as-is and start following this for new 8.x releases. we will consider using the tags in meta-processor-sdk for the upcoming releases. Please suggest. +meta-arago,git://arago-project.org/git/meta-arago.git,dunfell,07.03.00.005,layers=meta-arago-distro:meta-arago-extras +meta-qt5,git://github.com/meta-qt5/meta-qt5.git,dunfell,b4d24d70aca75791902df5cd59a4f4a54aa4a125,layers= +meta-virtualization,git://git.yoctoproject.org/meta-virtualization,dunfell,89abc62b47f6f20db9d00a8ec9b2c1b6b60ac3f9,layers= +meta-openembedded,git://git.openembedded.org/meta-openembedded,dunfell,389757a7494221fea1d8437e9a01c6e4fb4700af,layers=meta-networking:meta-python:meta-oe:meta-gnome:meta-filesystems +meta-ti,git://git.yoctoproject.org/meta-ti,dunfell,07.03.00.005,layers= +meta-arm,git://git.yoctoproject.org/meta-arm,dunfell,c4f04f3fb66f8f4365b08b553af8206372e90a63,layers=meta-arm:meta-arm-toolchain +oe-core,git://git.openembedded.org/openembedded-core,dunfell,707036d4ec12ef1a260adcef78627b26e32e6540,layers=meta +OECORELAYERCONF=./sample-files/bblayers.conf.sample +OECORELOCALCONF=./sample-files/local-processor-sdk-64.conf.sample ___ meta-arago mailing list meta-arago@arago-project.org http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago ___ meta-arago mailing list meta-arago@arago-project.org http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Re: [meta-arago] [dunfell/master][PATCH] mbedtls: remove bbappend, change is upstream
Denys, Commit message is empty, please provide some details. Thanks Yogesh On 8/24/2021 2:27 PM, Denys Dmytriyenko wrote: From: Denys Dmytriyenko Signed-off-by: Denys Dmytriyenko --- meta-arago-distro/recipes-connectivity/mbedtls/mbedtls_%.bbappend | 1 - 1 file changed, 1 deletion(-) delete mode 100644 meta-arago-distro/recipes-connectivity/mbedtls/mbedtls_%.bbappend diff --git a/meta-arago-distro/recipes-connectivity/mbedtls/mbedtls_%.bbappend b/meta-arago-distro/recipes-connectivity/mbedtls/mbedtls_%.bbappend deleted file mode 100644 index 608377e..000 --- a/meta-arago-distro/recipes-connectivity/mbedtls/mbedtls_%.bbappend +++ /dev/null @@ -1 +0,0 @@ -BBCLASSEXTEND = "native nativesdk" ___ meta-arago mailing list meta-arago@arago-project.org http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Re: [meta-arago] Rebase of oe-layersetup?
Hi Paul, I guess you are still using oe-layersetup from https://arago-project.org. Since arago-project.org will be sunset in mid-2022 we are migrating to https://git.ti.com/cgit/arago-project/oe-layersetup. There was sync issue with git.ti.com that resulted in force-update. Could you please start using https://git.ti.com/cgit/arago-project/oe-layersetup so that you do not see any disruption when arago-project.org is sunset. Thanks Yogesh On 8/19/2021 10:57 AM, Paul Barker wrote: Hi folks, Was there a force push or rebase of the master branch of the oe-layersetup repository? I previously had commit efa23526343a48255bc0cf566ecd9e4fd625ba89 "processor-sdk: Add 08.00.00.21 release config". It looks like this has been stripped out and instead the HEAD of master is now d7c7f2cf567448ef0e2e0bb8d98f819856a96c0d "processor-sdk: Add 08.00.00.21 release config". Both commits have their parent as 60df5effd05fbe42fe3b3a5806eb5cac161e51cc "coresdk-08.00.00.004-config: add config for CoreSDK 08.00.00.004 release". This has broken the automatic update of my copy of the oe-layersetup repository so I'd like to confirm which commit is the correct HEAD and if it did change then why did it change? Thanks, ___ meta-arago mailing list meta-arago@arago-project.org http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Re: [meta-arago] [oe-layersetup PATCH v2] processor-sdk: Add 07.03.00.005 release config
On 8/9/2021 1:24 PM, Denys Dmytriyenko wrote: On Mon, Aug 09, 2021 at 11:47:31PM +0530, Nikhil Devshatwar wrote: On 11:50-20210806, Bajjuri, Praneeth wrote: +#meta-browser,git://github.com/OSSystems/meta-browser.git,master,5f365ef0f842ba4651efe88787cf9c63bc8b6cb3,layers= +meta-qt5,git://github.com/meta-qt5/meta-qt5.git,dunfell,b4d24d70aca75791902df5cd59a4f4a54aa4a125,layers= +meta-virtualization,git://git.yoctoproject.org/meta-virtualization,dunfell,89abc62b47f6f20db9d00a8ec9b2c1b6b60ac3f9,layers= +meta-openembedded,git://git.openembedded.org/meta-openembedded,dunfell,389757a7494221fea1d8437e9a01c6e4fb4700af,layers=meta-networking:meta-python:meta-oe:meta-gnome:meta-filesystems +meta-ti,git://git.yoctoproject.org/meta-ti,dunfell,07.03.00.005,layers= +meta-linaro,https://git.linaro.org/openembedded/meta-linaro.git,dunfell,HEAD,layers=meta-optee Please close the open item with HEAD being used instead of commit ID for this patch to be accepted. By the way, why do you even need meta-linaro layer for psdkl builds? Looks like it is added for meta-optee, but it has since Dunfell been moved to meta-arm... +meta-arm,git://git.yoctoproject.org/meta-arm,dunfell,c4f04f3fb66f8f4365b08b553af8206372e90a63,layers=meta-arm:meta-arm-toolchain +oe-core,git://git.openembedded.org/openembedded-core,dunfell,707036d4ec12ef1a260adcef78627b26e32e6540,layers=meta +OECORELAYERCONF=./sample-files/bblayers.conf.sample +OECORELOCALCONF=./sample-files/local-processor-sdk-64.conf.sample ___ meta-arago mailing list meta-arago@arago-project.org http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Re: [meta-arago] [dunfell][PATCH v2] grub: fix do_configure() breakage with external-arm toolchain
Applied to dunfell. Thanks On 8/12/2021 9:14 PM, Denys Dmytriyenko wrote: From: Denys Dmytriyenko grub and grub-efi break in do_configure() when using external-arm toolchain: | checking for aarch64-poky-linux-objcopy... no | checking for objcopy... objcopy | checking for aarch64-poky-linux-strip... no | checking for strip... strip | checking for aarch64-poky-linux-nm... no | checking for nm... nm | checking for aarch64-poky-linux-ranlib... no | checking for ranlib... ranlib ... | checking whether objcopy works for absolute addresses... configure: error: objcopy cannot create binary files That is due to external-arm toolchain's target triplet aarch64-none-linux-gnu being different from OE triplet like aarch64-poky-linux and configure script trying to use it to find binutils binaries like objcopy, falling back to host ones. Help configure script to find correct objcopy and other binaries by passing the correct target triplet with --target parameter set to EAT_TARGET_SYS, overriding the default OE one. Note: similar patch has been submitted upstream to meta-arm-toolchain: https://lists.yoctoproject.org/g/meta-arm/message/2163 Signed-off-by: Denys Dmytriyenko Cc: Tom Rini --- v2 - subject line in commit log got lost, fix it, no other changes meta-arago-distro/recipes-bsp/grub/grub%.bbappend | 9 + 1 file changed, 9 insertions(+) create mode 100644 meta-arago-distro/recipes-bsp/grub/grub%.bbappend diff --git a/meta-arago-distro/recipes-bsp/grub/grub%.bbappend b/meta-arago-distro/recipes-bsp/grub/grub%.bbappend new file mode 100644 index 000..1e5ea43 --- /dev/null +++ b/meta-arago-distro/recipes-bsp/grub/grub%.bbappend @@ -0,0 +1,9 @@ +# When external-arm toolchain is not in use, EAT_TARGET_SYS is undefined, +# causing below _append expansion to break - just weakly set it to empty +EAT_TARGET_SYS ?= "" + +# grub uses --target triplet to find binutils binaries such as objcopy +# Since external-arm toolchain uses aarch64-none-linux-gnu triplet, +# OE-defined TARGET_SYS differs from EAT_TARGET_SYS used by external-arm +# toolchain, grub needs passing the correct --target to configure script +CONFIGUREOPTS_append_class-target = "${@['',' --target=${EAT_TARGET_SYS}'][d.getVar('TCMODE') == 'external-arm']}" ___ meta-arago mailing list meta-arago@arago-project.org http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Re: [meta-arago] [oe-layersetup PATCH] processor-sdk: Add 08.00.00.21 release config
Mirror issue with git.ti.com is resolved. The config file is synced now. On 8/13/2021 12:03 PM, Nikhil Devshatwar wrote: Praneeth, On 09/08/21 11:51 pm, Nikhil Devshatwar wrote: Add config file for processor-sdk 08.00.00.21 release Signed-off-by: Nikhil Devshatwar ping on this Please merge this soon. AM64 release is out and people will start doing builds. Regards, Nikhil D --- .../processor-sdk-08.00.00.21-config.txt | 14 ++ 1 file changed, 14 insertions(+) create mode 100644 configs/processor-sdk/processor-sdk-08.00.00.21-config.txt diff --git a/configs/processor-sdk/processor-sdk-08.00.00.21-config.txt b/configs/processor-sdk/processor-sdk-08.00.00.21-config.txt new file mode 100644 index 000..78a921c --- /dev/null +++ b/configs/processor-sdk/processor-sdk-08.00.00.21-config.txt @@ -0,0 +1,14 @@ +# This file takes repo entries in the format +# repo name,repo uri,repo branch,repo commit[,layers=layer1:layer2...:layern] + +bitbake,git://git.openembedded.org/bitbake,1.46,0e0af15b84e07e6763300dcd092b980086b9b9c4 +meta-processor-sdk,git://git.ti.com/processor-sdk/meta-processor-sdk.git,dunfell,ea2e8505fdf9948c0e2881af9dacb07e801c9037,layers= +meta-arago,git://git.yoctoproject.org/meta-arago,dunfell,08.00.00.004,layers=meta-arago-distro:meta-arago-extras +meta-qt5,git://github.com/meta-qt5/meta-qt5.git,dunfell,b4d24d70aca75791902df5cd59a4f4a54aa4a125,layers= +meta-virtualization,git://git.yoctoproject.org/meta-virtualization,dunfell,4d6216a04c2ebe04bf02392c02d9589d35ebf3b4,layers= +meta-openembedded,git://git.openembedded.org/meta-openembedded,dunfell,7bd47ef6c98323c95a9e527129dca98c9a65ee08,layers=meta-networking:meta-python:meta-oe:meta-gnome:meta-filesystems +meta-ti,git://git.yoctoproject.org/meta-ti,dunfell,08.00.00.004,layers= +meta-arm,git://git.yoctoproject.org/meta-arm,dunfell,c4f04f3fb66f8f4365b08b553af8206372e90a63,layers=meta-arm:meta-arm-toolchain +oe-core,git://git.openembedded.org/openembedded-core,dunfell,9b83aefa9c4a21d9dc1eea4a6b00af379466a288,layers=meta +OECORELAYERCONF=./sample-files/bblayers.conf.sample +OECORELOCALCONF=./sample-files/local-arago64.conf.sample ___ meta-arago mailing list meta-arago@arago-project.org http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Re: [meta-arago] [EXTERNAL] [tisdk-setup-scripts] [master] [PATCH-V4 0/4] create-sdcard: Fix rootfs tarball search and selection
Thanks. Applied series to master. On 8/2/2021 12:55 PM, Weaver, Lucas wrote: On 7/29/2021 7:50 AM, Priya N S wrote: Hi All, This series of patches fix the issues observed in the create-sdcard script. Changes in V4: The patch #4 is new in the series. This patch increases the boot partition size to 128 MB in order to sync with WIC image boot partition size. v3: http://arago-project.org/pipermail/meta-arago/2021-July/013245.html v2: http://arago-project.org/pipermail/meta-arago/2021-June/013218.html v1: http://arago-project.org/pipermail/meta-arago/2021-June/013197.html Priya N S (4): create-sdcard.sh: fix regex used for rootfs tarball create-sdcard: Fix wrong rootfs tarball selection create-sdcard.sh: Stop using cylinder as unit for partition size create-sdcard: Increase boot partition size to 128 MB create-sdcard.sh | 76 1 file changed, 58 insertions(+), 18 deletions(-) Reviewed-by: Lucas Weaver ___ meta-arago mailing list meta-arago@arago-project.org http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago ___ meta-arago mailing list meta-arago@arago-project.org http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Re: [meta-arago] [dunfell][PATCH v2] ethtool: upgrade to 5.10
Merged to dunfell-next. On 7/21/2021 1:05 PM, Grygorii Strashko wrote: Upgrade ethtool to 5.10 This is being backported from master oe-core, so it can be dropped when migrating to the new LTS. Signed-off-by: Grygorii Strashko --- .../ethtool/avoid_parallel_tests.patch| 29 +++ .../ethtool/ethtool/run-ptest | 2 + .../ethtool/ethtool_5.10.bb | 37 +++ 3 files changed, 68 insertions(+) create mode 100644 meta-arago-distro/recipes-connectivity/ethtool/ethtool/avoid_parallel_tests.patch create mode 100644 meta-arago-distro/recipes-connectivity/ethtool/ethtool/run-ptest create mode 100644 meta-arago-distro/recipes-connectivity/ethtool/ethtool_5.10.bb diff --git a/meta-arago-distro/recipes-connectivity/ethtool/ethtool/avoid_parallel_tests.patch b/meta-arago-distro/recipes-connectivity/ethtool/ethtool/avoid_parallel_tests.patch new file mode 100644 index ..54aec012 --- /dev/null +++ b/meta-arago-distro/recipes-connectivity/ethtool/ethtool/avoid_parallel_tests.patch @@ -0,0 +1,29 @@ +From b493e2fb472307997576eef33cce784594070f44 Mon Sep 17 00:00:00 2001 +From: Tudor Florea +Date: Wed, 28 May 2014 18:59:54 +0200 +Subject: [PATCH] ethtool: use serial-tests config needed by ptest. + +ptest needs buildtest-TESTS and runtest-TESTS targets. +serial-tests is required to generate those targets. + +Signed-off-by: Tudor Florea +Upstream-Status: Inappropriate +(default automake behavior incompatible with ptest) + +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index 13c2bc0..0b6ca1d 100644 +--- a/configure.ac b/configure.ac +@@ -2,7 +2,7 @@ dnl Process this file with autoconf to produce a configure script. + AC_INIT(ethtool, 5.10, net...@vger.kernel.org) + AC_PREREQ(2.52) + AC_CONFIG_SRCDIR([ethtool.c]) +-AM_INIT_AUTOMAKE([gnu subdir-objects]) ++AM_INIT_AUTOMAKE([gnu subdir-objects serial-tests]) + AC_CONFIG_HEADERS([ethtool-config.h]) + + AM_MAINTAINER_MODE diff --git a/meta-arago-distro/recipes-connectivity/ethtool/ethtool/run-ptest b/meta-arago-distro/recipes-connectivity/ethtool/ethtool/run-ptest new file mode 100644 index ..1e245da1 --- /dev/null +++ b/meta-arago-distro/recipes-connectivity/ethtool/ethtool/run-ptest @@ -0,0 +1,2 @@ +#!/bin/sh +make -k runtest-TESTS diff --git a/meta-arago-distro/recipes-connectivity/ethtool/ethtool_5.10.bb b/meta-arago-distro/recipes-connectivity/ethtool/ethtool_5.10.bb new file mode 100644 index ..5c0df3ac --- /dev/null +++ b/meta-arago-distro/recipes-connectivity/ethtool/ethtool_5.10.bb @@ -0,0 +1,37 @@ +SUMMARY = "Display or change ethernet card settings" +DESCRIPTION = "A small utility for examining and tuning the settings of your ethernet-based network interfaces." +HOMEPAGE = "http://www.kernel.org/pub/software/network/ethtool/; +SECTION = "console/network" +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ + file://ethtool.c;beginline=4;endline=17;md5=c19b30548c582577fc6b443626fc1216" + +SRC_URI = "${KERNELORG_MIRROR}/software/network/ethtool/ethtool-${PV}.tar.gz \ + file://run-ptest \ + file://avoid_parallel_tests.patch \ + " + +SRC_URI[sha256sum] = "4b86adb3ed913c1ef14a276301981f696ab4ec360c19f0a5b68235c4756abae5" + +UPSTREAM_CHECK_URI = "https://www.kernel.org/pub/software/network/ethtool/; + +inherit autotools ptest bash-completion pkgconfig + +RDEPENDS_${PN}-ptest += "make" + +PACKAGECONFIG ?= "netlink" +PACKAGECONFIG[netlink] = "--enable-netlink,--disable-netlink,libmnl," + +do_compile_ptest() { + oe_runmake buildtest-TESTS +} + +do_install_ptest () { + cp ${B}/Makefile ${D}${PTEST_PATH} + install ${B}/test-cmdline${D}${PTEST_PATH} + if ${@bb.utils.contains('PACKAGECONFIG', 'netlink', 'false', 'true', d)}; then + install ${B}/test-features ${D}${PTEST_PATH} + fi + install ${B}/ethtool ${D}${PTEST_PATH}/ethtool + sed -i 's/^Makefile/_Makefile/' ${D}${PTEST_PATH}/Makefile +} ___ meta-arago mailing list meta-arago@arago-project.org http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Re: [meta-arago] [dunfell][PATCH v2] iproute2: upgrade to 5.10
Merged to dunfell-next On 7/21/2021 1:07 PM, Grygorii Strashko wrote: Upgrade iproute2 to 5.10. This is being backported from master oe-core, so it can be dropped when migrating to the new LTS. Signed-off-by: Grygorii Strashko --- .../iproute2/iproute2.inc | 88 +++ ...01-libc-compat.h-add-musl-workaround.patch | 39 .../iproute2/iproute2_5.10.0.bb | 12 +++ 3 files changed, 139 insertions(+) create mode 100644 meta-arago-distro/recipes-connectivity/iproute2/iproute2.inc create mode 100644 meta-arago-distro/recipes-connectivity/iproute2/iproute2/0001-libc-compat.h-add-musl-workaround.patch create mode 100644 meta-arago-distro/recipes-connectivity/iproute2/iproute2_5.10.0.bb diff --git a/meta-arago-distro/recipes-connectivity/iproute2/iproute2.inc b/meta-arago-distro/recipes-connectivity/iproute2/iproute2.inc new file mode 100644 index ..6a5dafaa --- /dev/null +++ b/meta-arago-distro/recipes-connectivity/iproute2/iproute2.inc @@ -0,0 +1,88 @@ +SUMMARY = "TCP / IP networking and traffic control utilities" +DESCRIPTION = "Iproute2 is a collection of utilities for controlling \ +TCP / IP networking and traffic control in Linux. Of the utilities ip \ +and tc are the most important. ip controls IPv4 and IPv6 \ +configuration and tc stands for traffic control." +HOMEPAGE = "http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2; +SECTION = "base" +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a \ + file://ip/ip.c;beginline=3;endline=8;md5=689d691d0410a4b64d3899f8d6e31817" + +DEPENDS = "flex-native bison-native iptables libcap" + +inherit update-alternatives bash-completion pkgconfig + +CLEANBROKEN = "1" + +PACKAGECONFIG ??= "tipc elf devlink" +PACKAGECONFIG[tipc] = ",,libmnl," +PACKAGECONFIG[elf] = ",,elfutils," +PACKAGECONFIG[devlink] = ",,libmnl," + +IPROUTE2_MAKE_SUBDIRS = "lib tc ip bridge misc genl ${@bb.utils.filter('PACKAGECONFIG', 'devlink tipc', d)}" + +EXTRA_OEMAKE = "\ +CC='${CC}' \ +KERNEL_INCLUDE=${STAGING_INCDIR} \ +DOCDIR=${docdir}/iproute2 \ +SUBDIRS='${IPROUTE2_MAKE_SUBDIRS}' \ +SBINDIR='${base_sbindir}' \ +LIBDIR='${libdir}' \ +" + +do_configure_append () { +sh configure ${STAGING_INCDIR} +# Explicitly disable ATM support +sed -i -e '/TC_CONFIG_ATM/d' config.mk +} + +do_install () { +oe_runmake DESTDIR=${D} install +mv ${D}${base_sbindir}/ip ${D}${base_sbindir}/ip.iproute2 +install -d ${D}${datadir} +mv ${D}/share/* ${D}${datadir}/ || true +rm ${D}/share -rf || true +} + +# The .so files in iproute2-tc are modules, not traditional libraries +INSANE_SKIP_${PN}-tc = "dev-so" + +IPROUTE2_PACKAGES =+ "\ +${PN}-devlink \ +${PN}-genl \ +${PN}-ifstat \ +${PN}-ip \ +${PN}-lnstat \ +${PN}-nstat \ +${PN}-rtacct \ +${PN}-ss \ +${PN}-tc \ +${PN}-tipc \ +" + +PACKAGE_BEFORE_PN = "${IPROUTE2_PACKAGES}" +RDEPENDS_${PN} += "${PN}-ip" + +FILES_${PN}-tc = "${base_sbindir}/tc* \ + ${libdir}/tc/*.so" +FILES_${PN}-lnstat = "${base_sbindir}/lnstat \ + ${base_sbindir}/ctstat \ + ${base_sbindir}/rtstat" +FILES_${PN}-ifstat = "${base_sbindir}/ifstat" +FILES_${PN}-ip = "${base_sbindir}/ip.${PN} ${sysconfdir}/iproute2" +FILES_${PN}-genl = "${base_sbindir}/genl" +FILES_${PN}-rtacct = "${base_sbindir}/rtacct" +FILES_${PN}-nstat = "${base_sbindir}/nstat" +FILES_${PN}-ss = "${base_sbindir}/ss" +FILES_${PN}-tipc = "${base_sbindir}/tipc" +FILES_${PN}-devlink = "${base_sbindir}/devlink" + +ALTERNATIVE_${PN}-ip = "ip" +ALTERNATIVE_TARGET[ip] = "${base_sbindir}/ip.${BPN}" +ALTERNATIVE_LINK_NAME[ip] = "${base_sbindir}/ip" +ALTERNATIVE_PRIORITY = "100" + +ALTERNATIVE_${PN}-tc = "tc" +ALTERNATIVE_LINK_NAME[tc] = "${base_sbindir}/tc" +ALTERNATIVE_PRIORITY_${PN}-tc = "100" diff --git a/meta-arago-distro/recipes-connectivity/iproute2/iproute2/0001-libc-compat.h-add-musl-workaround.patch b/meta-arago-distro/recipes-connectivity/iproute2/iproute2/0001-libc-compat.h-add-musl-workaround.patch new file mode 100644 index ..74e3de1c --- /dev/null +++ b/meta-arago-distro/recipes-connectivity/iproute2/iproute2/0001-libc-compat.h-add-musl-workaround.patch @@ -0,0 +1,39 @@ +From c25f8d1f7a6203dfeb10b39f80ffd314bb84a58d Mon Sep 17 00:00:00 2001 +From: Baruch Siach +Date: Thu, 22 Dec 2016 15:26:30 +0200 +Subject: [PATCH] libc-compat.h: add musl workaround + +The libc-compat.h kernel header uses glibc specific macros (__GLIBC__ and +__USE_MISC) to solve conflicts with libc provided headers. This patch makes +libc-compat.h work for musl libc as well. + +Upstream-Status: Pending + +Taken From: +https://git.buildroot.net/buildroot/tree/package/iproute2/0001-Add-the-musl-workaround-to-the-libc-compat.h-copy.patch + +Signed-off-by: Baruch Siach +Signed-off-by: Maxin B. John + +--- + include/uapi/linux/libc-compat.h
Re: [meta-arago] [EXTERNAL] [PATCH][dunfell/master] linux-libc-headers: update to 5.10 kernel headers
Running into QA issue with this patch: DEBUG: Executing python function populate_lic_qa_checksum ERROR: QA Issue: nativesdk-linux-libc-headers: The LIC_FILES_CHKSUM does not match for file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814 nativesdk-linux-libc-headers: The new md5 checksum is 6bc538ed5bd9a7fc9398086aedcd7e46 nativesdk-linux-libc-headers: Here is the selected license text: vv The Linux Kernel is provided under: SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note Being under the terms of the GNU General Public License version 2 only, according with: LICENSES/preferred/GPL-2.0 With an explicit syscall exception, as stated at: ... LICENSES/exceptions/Linux-syscall-note In addition, other licenses may also apply. Please see: Documentation/process/license-rules.rst for more details. All contributions to the Linux Kernel are subject to this COPYING file. ^^ nativesdk-linux-libc-headers: Check if the license information has changed in /OE/arago-dunfell-next-build/build-CORTEX_1/arago-tmp-external-arm-glibc/work/x86_64-nativesdk-arago-linux/nativesdk-linux-libc-headers/5.10-r0.arago0/git/COPYING to verify that the LICENSE value "GPLv2" remains valid [license-checksum] ERROR: Fatal QA errors found, failing task. DEBUG: Python function populate_lic_qa_checksum finished -Original Message- From: meta-arago-boun...@arago-project.org On Behalf Of Denys Dmytriyenko Sent: Wednesday, July 7, 2021 2:42 AM To: meta-arago@arago-project.org Cc: Denys Dmytriyenko Subject: [EXTERNAL] [meta-arago] [PATCH][dunfell/master] linux-libc-headers: update to 5.10 kernel headers From: Denys Dmytriyenko This recipe is used when building using an internal toolchain. Use the same commit ID as for external-arm-toolchain. Signed-off-by: Denys Dmytriyenko --- .../{linux-libc-headers_5.4.bb => linux-libc-headers_5.10.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta-arago-distro/recipes-kernel/linux-libc-headers/{linux-libc-headers_5.4.bb => linux-libc-headers_5.10.bb} (80%) diff --git a/meta-arago-distro/recipes-kernel/linux-libc-headers/linux-libc-headers_5.4.bb b/meta-arago-distro/recipes-kernel/linux-libc-headers/linux-libc-headers_5.10.bb similarity index 80% rename from meta-arago-distro/recipes-kernel/linux-libc-headers/linux-libc-headers_5.4.bb rename to meta-arago-distro/recipes-kernel/linux-libc-headers/linux-libc-headers_5.10.bb index c0a3709..0dabbfd 100644 --- a/meta-arago-distro/recipes-kernel/linux-libc-headers/linux-libc-headers_5.4.bb +++ b/meta-arago-distro/recipes-kernel/linux-libc-headers/linux-libc-hea +++ ders_5.10.bb @@ -4,8 +4,8 @@ PR_append = ".arago0" DEPENDS += "rsync-native" -BRANCH = "ti-linux-5.4.y" -SRCREV = "1661da3fddf4cc3f62796ecfb5c572f1e5361bdf" +BRANCH = "ti-linux-5.10.y" +SRCREV = "bdfd5b0c1ee5617c9a94bacad0d818920d95b486" KERNEL_GIT_URI = "git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git" KERNEL_GIT_PROTOCOL = "git" -- 2.7.4 ___ meta-arago mailing list meta-arago@arago-project.org http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago ___ meta-arago mailing list meta-arago@arago-project.org http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago