[meta-arago] [thud/master][PATCH] ti-tisdk-makefile: Update to fix build issue with arm-oe-linux-gnueabi
With arm-oe-linux-gnueabi toolchain, the sysroot path is not picked up by default. This fixes problem with building the ipc examples using top level make, in platforms using arm-oe-linux-gnueabi toolchain Signed-off-by: Sam Nelson --- .../recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_ti-ipc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_ti-ipc b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_ti-ipc index 53f9c88..682a791 100644 --- a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_ti-ipc +++ b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_ti-ipc @@ -100,6 +100,7 @@ ti-ipc-linux-examples: ti-ipc-rtos-path-check TOOLCHAIN_LONGNAME=$${TOOLCHAIN_SYS} \ TOOLCHAIN_INSTALL_DIR=$${SDK_PATH_NATIVE}/usr \ TOOLCHAIN_PREFIX=$(CROSS_COMPILE) \ + LINUX_SYSROOT_DIR=$(SDK_PATH_TARGET) \ $(IPC_TOOLS_PATHS) ti-ipc-linux-examples_install: ti-ipc-rtos-path-check ti-ipc-linux-examples @@ -131,5 +132,6 @@ ti-ipc-linux-examples_clean: ti-ipc-rtos-path-check TOOLCHAIN_LONGNAME=$${TOOLCHAIN_SYS} \ TOOLCHAIN_INSTALL_DIR=$${SDK_PATH_NATIVE}/usr \ TOOLCHAIN_PREFIX=$(CROSS_COMPILE) \ + LINUX_SYSROOT_DIR=$(SDK_PATH_TARGET) \ $(IPC_TOOLS_PATHS) -- 1.9.1 ___ meta-arago mailing list meta-arago@arago-project.org http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Re: [meta-arago] do_rootfs error for custom image based upon arago thud branch
thanks for your response Denys On Fri, 27 Sep 2019, 4:27 a.m. Denys Dmytriyenko, wrote: > Thanks for following up with the update! > > Unfortunately, opkg install issues like this are very specific to your > build > environment and harder to debug remotely. You'd need to see why the > package > gets one version, while a different one being requested. In some cases it > can > be due to a stale package, like here. In others it's more complicated. > > Denys > > > On Thu, Sep 26, 2019 at 07:17:26AM +1200, Ankur Tyagi wrote: > > It got resolved after removing tmp directory and rebuilding > > > > On Wed, 25 Sep 2019, 1:23 a.m. Ankur Tyagi, > wrote: > > > > > Hi, > > > > > > I was using "thud" branch to create custom image for my board. > > > Recently updated meta-ti, meta-arago "thud" branch and started > > > receiving following error message during do_rootfs task > > > > > > ERROR: ggl-wsl-prod-image-1.0-r0 do_rootfs: Unable to install > > > packages. Command > > > > > > > '/home/yocto/ggl-yocto-tools/build/tmp-external-arm-toolchain/work/wsl-linux-gnueabi/ggl-wsl-prod-image/1.0-r0/recipe-sysroot-native/usr/bin/opkg > > > --volatile-cache -f > > > > > > > /home/yocto/ggl-yocto-tools/build/tmp-external-arm-toolchain/work/wsl-linux-gnueabi/ggl-wsl-prod-image/1.0-r0/opkg.conf > > > -t > > > > /home/yocto/ggl-yocto-tools/build/tmp-external-arm-toolchain/work/wsl-linux-gnueabi/ggl-wsl-prod-image/1.0-r0/temp/ipktemp/ > > > -o > > > > /home/yocto/ggl-yocto-tools/build/tmp-external-arm-toolchain/work/wsl-linux-gnueabi/ggl-wsl-prod-image/1.0-r0/rootfs > > > --force_postinstallinstall packagegroup-core-boot > > > packagegroup-ggl-base packagegroup-ggl-connectivity > > > packagegroup-ggl-qt psplash run-postinsts' returned 2: > > > Collected errors: > > > * Solver encountered 2 problem(s): > > > * Problem 1/2: > > > * - nothing provides u-boot-ti-staging-src >= > > > 2019.01+git0+571bb85860 needed by > > > linux-ti-staging-src-4.19.73+git0+761ba629e9-gamos.wsl > > > * > > > * Solution 1: > > > * - do not ask to install a package providing packagegroup-ggl-base > > > > > > * Problem 2/2: > > > * - nothing provides u-boot-ti-staging-src >= > > > 2019.01+git0+571bb85860 needed by > > > linux-ti-staging-src-4.19.73+git0+761ba629e9-gamos.wsl > > > * > > > * Solution 1: > > > * - do not ask to install a package providing packagegroup-ggl-qt > > > > > > * opkg_finalize_intercepts: Failed to open dir > > > > > > > /home/yocto/ggl-yocto-tools/build/tmp-external-arm-toolchain/work/wsl-linux-gnueabi/ggl-wsl-prod-image/1.0-r0/temp/ipktemp//opkg-JLB910/opkg-intercept-xOvXqH: > > > No such file or directory. > > > * rm_r: Failed to open dir > > > > > > > /home/yocto/ggl-yocto-tools/build/tmp-external-arm-toolchain/work/wsl-linux-gnueabi/ggl-wsl-prod-image/1.0-r0/temp/ipktemp//opkg-JLB910/opkg-intercept-xOvXqH: > > > No such file or directory. > > > * rm_r: Failed to open dir > > > > > > > /home/yocto/ggl-yocto-tools/build/tmp-external-arm-toolchain/work/wsl-linux-gnueabi/ggl-wsl-prod-image/1.0-r0/temp/ipktemp//opkg-JLB910: > > > No such file or directory. > > > > > > > > > > > > ERROR: ggl-wsl-prod-image-1.0-r0 do_rootfs: Function failed: do_rootfs > > > ERROR: Logfile of failure stored in: > > > > > > > /home/yocto/ggl-yocto-tools/build/tmp-external-arm-toolchain/work/wsl-linux-gnueabi/ggl-wsl-prod-image/1.0-r0/temp/log.do_rootfs.107554 > > > ERROR: Task > > > > (/home/yocto/ggl-yocto-tools/sources/ggl-yocto/meta-ggl-image/recipes-core/images/ > ggl-wsl-prod-image.bb: > > > do_rootfs) > > > failed with exit code '1' > > > > > > Can you please help: > > > 1) to understand the underlying problem > > > 2) how can I fix it > > > > > > thanks > > > Ankur > > > > > > ___ > > 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
[meta-arago] [thud/master][PATCH v2] packagegroup-arago-tisdk-addons: replacing ipc-lld-fw
Replacing ipc-lld-fw with ipc-lld-examples-rtos to build from source. Signed-off-by: Santosh Jha --- Change from previous version of patch: - Rebased to latest master --- --- .../packagegroups/packagegroup-arago-tisdk-addons.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb index b4da6902..776a58bb 100644 --- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb +++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb @@ -77,8 +77,8 @@ UTILS_append_k3 = " mmc-utils \ jailhouse \ " -UTILS_append_am65xx = " ipc-lld-fw ti-ipc-rtos-fw pru-icss" -UTILS_append_j7-evm = " ipc-lld-fw ti-display-sharing-fw cpsw9g-eth-fw" +UTILS_append_am65xx = " ipc-lld-examples-rtos ti-ipc-rtos-fw pru-icss" +UTILS_append_j7-evm = " ipc-lld-examples-rtos ti-display-sharing-fw cpsw9g-eth-fw" UTILS_append_omapl138 = " ti-ipc-rtos-fw" -- 2.17.1 ___ meta-arago mailing list meta-arago@arago-project.org http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Re: [meta-arago] [thud/master][PATCH] packagegroup-arago-tisdk-addons: replacing ipc-lld-fw
This no longer applies - can you please rebase? Thanks. On Mon, Sep 23, 2019 at 01:15:00PM -0500, Santosh Jha wrote: > Replacing ipc-lld-fw with ipc-lld-examples-rtos to > build from source. > > Signed-off-by: Santosh Jha > --- > .../packagegroups/packagegroup-arago-tisdk-addons.bb | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git > a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb > > b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb > index 21aa7244..ef617793 100644 > --- > a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb > +++ > b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb > @@ -75,8 +75,8 @@ UTILS_append_k3 = " mmc-utils \ > irqbalance \ > " > > -UTILS_append_am65xx = " ti-ipc-rtos-fw pru-icss" > -UTILS_append_j7-evm = " ipc-lld-fw ti-display-sharing-fw jailhouse" > +UTILS_append_am65xx = " ti-ipc-rtos-fw pru-icss ipc-lld-examples-rtos" > +UTILS_append_j7-evm = " ipc-lld-examples-rtos ti-display-sharing-fw > jailhouse" > > UTILS_append_omapl138 = " ti-ipc-rtos-fw" > > -- > 2.17.1 > > ___ > 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] do_rootfs error for custom image based upon arago thud branch
Thanks for following up with the update! Unfortunately, opkg install issues like this are very specific to your build environment and harder to debug remotely. You'd need to see why the package gets one version, while a different one being requested. In some cases it can be due to a stale package, like here. In others it's more complicated. Denys On Thu, Sep 26, 2019 at 07:17:26AM +1200, Ankur Tyagi wrote: > It got resolved after removing tmp directory and rebuilding > > On Wed, 25 Sep 2019, 1:23 a.m. Ankur Tyagi, wrote: > > > Hi, > > > > I was using "thud" branch to create custom image for my board. > > Recently updated meta-ti, meta-arago "thud" branch and started > > receiving following error message during do_rootfs task > > > > ERROR: ggl-wsl-prod-image-1.0-r0 do_rootfs: Unable to install > > packages. Command > > > > '/home/yocto/ggl-yocto-tools/build/tmp-external-arm-toolchain/work/wsl-linux-gnueabi/ggl-wsl-prod-image/1.0-r0/recipe-sysroot-native/usr/bin/opkg > > --volatile-cache -f > > > > /home/yocto/ggl-yocto-tools/build/tmp-external-arm-toolchain/work/wsl-linux-gnueabi/ggl-wsl-prod-image/1.0-r0/opkg.conf > > -t > > /home/yocto/ggl-yocto-tools/build/tmp-external-arm-toolchain/work/wsl-linux-gnueabi/ggl-wsl-prod-image/1.0-r0/temp/ipktemp/ > > -o > > /home/yocto/ggl-yocto-tools/build/tmp-external-arm-toolchain/work/wsl-linux-gnueabi/ggl-wsl-prod-image/1.0-r0/rootfs > > --force_postinstallinstall packagegroup-core-boot > > packagegroup-ggl-base packagegroup-ggl-connectivity > > packagegroup-ggl-qt psplash run-postinsts' returned 2: > > Collected errors: > > * Solver encountered 2 problem(s): > > * Problem 1/2: > > * - nothing provides u-boot-ti-staging-src >= > > 2019.01+git0+571bb85860 needed by > > linux-ti-staging-src-4.19.73+git0+761ba629e9-gamos.wsl > > * > > * Solution 1: > > * - do not ask to install a package providing packagegroup-ggl-base > > > > * Problem 2/2: > > * - nothing provides u-boot-ti-staging-src >= > > 2019.01+git0+571bb85860 needed by > > linux-ti-staging-src-4.19.73+git0+761ba629e9-gamos.wsl > > * > > * Solution 1: > > * - do not ask to install a package providing packagegroup-ggl-qt > > > > * opkg_finalize_intercepts: Failed to open dir > > > > /home/yocto/ggl-yocto-tools/build/tmp-external-arm-toolchain/work/wsl-linux-gnueabi/ggl-wsl-prod-image/1.0-r0/temp/ipktemp//opkg-JLB910/opkg-intercept-xOvXqH: > > No such file or directory. > > * rm_r: Failed to open dir > > > > /home/yocto/ggl-yocto-tools/build/tmp-external-arm-toolchain/work/wsl-linux-gnueabi/ggl-wsl-prod-image/1.0-r0/temp/ipktemp//opkg-JLB910/opkg-intercept-xOvXqH: > > No such file or directory. > > * rm_r: Failed to open dir > > > > /home/yocto/ggl-yocto-tools/build/tmp-external-arm-toolchain/work/wsl-linux-gnueabi/ggl-wsl-prod-image/1.0-r0/temp/ipktemp//opkg-JLB910: > > No such file or directory. > > > > > > > > ERROR: ggl-wsl-prod-image-1.0-r0 do_rootfs: Function failed: do_rootfs > > ERROR: Logfile of failure stored in: > > > > /home/yocto/ggl-yocto-tools/build/tmp-external-arm-toolchain/work/wsl-linux-gnueabi/ggl-wsl-prod-image/1.0-r0/temp/log.do_rootfs.107554 > > ERROR: Task > > (/home/yocto/ggl-yocto-tools/sources/ggl-yocto/meta-ggl-image/recipes-core/images/ggl-wsl-prod-image.bb: > > do_rootfs) > > failed with exit code '1' > > > > Can you please help: > > 1) to understand the underlying problem > > 2) how can I fix it > > > > thanks > > Ankur > > > ___ > 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
[meta-arago] [master/thud/ti2019.03][PATCH 1/2] arago: whitelist netperf's non-commercial license
Signed-off-by: Jacob Stiffler --- meta-arago-distro/conf/distro/arago.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-arago-distro/conf/distro/arago.conf b/meta-arago-distro/conf/distro/arago.conf index beacad7..2891ff5 100644 --- a/meta-arago-distro/conf/distro/arago.conf +++ b/meta-arago-distro/conf/distro/arago.conf @@ -193,7 +193,7 @@ ENTERPRISE_DISTRO = "1" # disable by default the codecs in libav that causes issues with shipping an # Arago based SDK. No need to prevent gst-ffmpeg from being used since we # disable troublesome software. -LICENSE_FLAGS_WHITELIST = "commercial_gst-ffmpeg commercial_gstreamer1.0-libav commercial_faad2" +LICENSE_FLAGS_WHITELIST = "commercial_gst-ffmpeg commercial_gstreamer1.0-libav commercial_faad2 non-commercial_netperf" # Do not package own copy of perl into devkit, rely on host one ASSUME_PROVIDED += "nativesdk-perl" -- 2.7.4 ___ meta-arago mailing list meta-arago@arago-project.org http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
[meta-arago] [master/thud/ti2019.03][PATCH 2/2] packagegroup-arago-base-tisdk: add netperf
Signed-off-by: Jacob Stiffler --- .../recipes-core/packagegroups/packagegroup-arago-base-tisdk.bb| 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base-tisdk.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base-tisdk.bb index 83c0f21..ec0027b 100644 --- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base-tisdk.bb +++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base-tisdk.bb @@ -1,6 +1,6 @@ DESCRIPTION = "Additional packages beyond console packages shared by TI SDKs" LICENSE = "MIT" -PR = "r21" +PR = "r22" PACKAGE_ARCH = "${MACHINE_ARCH}" @@ -20,6 +20,7 @@ RDEPENDS_${PN} = "\ iptables \ iperf \ iperf3 \ +netperf \ arago-gpl-notice \ arago-feed-config \ nfs-utils-client \ -- 2.7.4 ___ meta-arago mailing list meta-arago@arago-project.org http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Re: [meta-arago] [thud/master PATCH v1] recipes-kernel: Add recipe for ivshmem-uio driver
On 25/09/19 10:46 PM, Denys Dmytriyenko wrote: Can you send patches just to the list? Not critical, but this messes up my filters :) And I'm applying patches from Patchwork anyway... On Wed, Sep 25, 2019 at 07:58:49PM +0530, Nikhil Devshatwar wrote: Signed-off-by: Nikhil Devshatwar --- .../conf/distro/include/arago-source-ipk.inc | 4 .../recipes-kernel/uio/ivshmem-uio-driver_git.bb | 27 ++ 2 files changed, 31 insertions(+) create mode 100644 meta-arago-distro/recipes-kernel/uio/ivshmem-uio-driver_git.bb diff --git a/meta-arago-distro/conf/distro/include/arago-source-ipk.inc b/meta-arago-distro/conf/distro/include/arago-source-ipk.inc index 9e105b8..970e3e2 100644 --- a/meta-arago-distro/conf/distro/include/arago-source-ipk.inc +++ b/meta-arago-distro/conf/distro/include/arago-source-ipk.inc @@ -374,6 +374,10 @@ SRCIPK_INSTALL_DIR_pn-hplib-mod = "board-support/extra-drivers/${PN}-${PV}" CREATE_SRCIPK_pn-uio-module-drv = "1" SRCIPK_INSTALL_DIR_pn-uio-module-drv = "board-support/extra-drivers/${PN}-${PV}" +CREATE_SRCIPK_pn-ivshmem-uio-driver = "1" +SRCIPK_INSTALL_DIR_pn-ivshmem-uio-driver = "board-support/extra-drivers/${PN}-${PV}" +SRCIPK_PRESERVE_GIT_pn-ivshmem-uio-driver = "true" + CREATE_SRCIPK_pn-ipsecmgr-mod = "1" SRCIPK_INSTALL_DIR_pn-ipsecmgr-mod = "board-support/extra-drivers/${PN}-${PV}" Can you split it up and send source-ipk part to meta-arago, while the recipe itself rather belongs to meta-ti. Sure diff --git a/meta-arago-distro/recipes-kernel/uio/ivshmem-uio-driver_git.bb b/meta-arago-distro/recipes-kernel/uio/ivshmem-uio-driver_git.bb new file mode 100644 index 000..f41842b --- /dev/null +++ b/meta-arago-distro/recipes-kernel/uio/ivshmem-uio-driver_git.bb meta-ti/recipes-bsp would probably be better place. @@ -0,0 +1,27 @@ +DESCRIPTION = "Kernel drivers IVSHMEM UIO driver" SUMMARY? +HOMEPAGE = "https://github.com/henning-schild-work/ivshmem-guest-code; +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=0546a27aad86c83b75ad4ee6133e9d5e" + +inherit module + +RDEPENDS_${PN} = "jailhouse" + +PROTOCOL = "git" +BRANCH = "jailhouse" +SRCREV = "f3ad79881bebb6c6068966ee3d265d8034c20492" +SRC_URI = "git://github.com/henning-schild-work/ivshmem-guest-code.git;protocol=${PROTOCOL};branch=${BRANCH}" + +S = "${WORKDIR}/git" +PACKAGE_ARCH = "${MACHINE_ARCH}" module.bbclass already package to be machine-specific automatically. Got it. +EXTRA_OEMAKE += 'KDIR="${STAGING_KERNEL_DIR}"' + +do_compile_prepend() { +cd ${S}/kernel_module/uio +} + +do_install() { +install -d ${D}/${base_libdir}/modules/${KERNEL_VERSION}/extra +install -m 644 ${S}/kernel_module/uio/uio_ivshmem.ko ${D}/${base_libdir}/modules/${KERNEL_VERSION}/extra +} -- 1.9.1 Thanks for review, will send a v2 Nikhil D ___ meta-arago mailing list meta-arago@arago-project.org http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago