Re: [meta-ti] Poky 2.4 build errors: u-boot-ti-staging ('PLAIN-VERSION' undeclared), linux-ti-staging (.scmversion exceeds 64 characters).

2017-12-04 Thread Denys Dmytriyenko
Hi,

Looks like you are using u-boot 2016.05 while building for morty.

Any particular reason for that version? Can you use 2017.01 instead? That's 
the one we use and support on morty, along with kernel 4.9... I personally 
haven't used 2016.05 since krogoth.

-- 
Denys


On Wed, Nov 29, 2017 at 12:00:52PM +0530, Avinash Kurup wrote:
> Hi all,
> 
>I am facing this problem with my yocto meta-ti build (morty branch) for
> my beagleboard-XM.
> I saw in the mailing list, https://lists.yoctoproject.
> org/pipermail/meta-ti/2016-October/009114.html however i still face this
> issue. Plz help me to resolve this. Thank you.
> 
> Build details.
> -
> 
> Loading cache...done.
> Loaded 2243 entries from dependency cache.
> WARNING: No bb files matched BBFILE_PATTERN_openembedded-core
> '^/home/avi/Projects/BoardLabSetup/poky/openembedded-core/'
> NOTE: Resolving any missing task queue dependencies
> 
> Build Configuration:
> BB_VERSION= "1.36.0"
> BUILD_SYS = "x86_64-linux"
> NATIVELSBSTRING   = "universal"
> TARGET_SYS= "arm-poky-linux-gnueabi"
> MACHINE   = "beagleboard"
> DISTRO= "poky"
> DISTRO_VERSION= "2.4"
> TUNE_FEATURES = "arm armv7a vfp thumb neon callconvention-hard"
> TARGET_FPU= "hard"
> meta
> meta-poky
> meta-yocto-bsp= "morty:f7b90ab3eaf832bd81f3efc1dab4dcf6863ac284"
> meta-ti   = "morty:5f3a1169d307fec41626f850f5c700437dedbe93"
> meta-qt5  = "morty:2c9f0e4eb0e9097f6f872ec1e1d81768a8ab5f1b"
> openembedded-core = "morty:bfa04fa71c47e8fe9528208848cfcec2e232777d"
> meta-ruby
> meta-oe   = "morty:55c8a76da5dc099a7bc3838495c672140cedb78e"
> 
> u-boot error:
> -
> 
> DEBUG: Executing shell function do_compile
> NOTE: make -j 4 CROSS_COMPILE=arm-poky-linux-gnueabi-
> CC=arm-poky-linux-gnueabi-gcc  --sysroot=/home/avi/Projects/
> BoardLabSetup/tmp/work/beagleboard-poky-linux-gnueabi/u-boot-ti-staging/
> 2016.05+gitAUTOINC+340c262b4b-r35/recipe-sysroot V=1 HOSTCC=gcc
> -isystem/home/avi/Projects/BoardLabSetup/tmp/work/beagleboard-poky-linux-
> gnueabi/u-boot-ti-staging/2016.05+gitAUTOINC+340c262b4b-
> r35/recipe-sysroot-native/usr/include -O2 -pipe -L/home/avi/Projects/
> BoardLabSetup/tmp/work/beagleboard-poky-linux-gnueabi/u-boot-ti-staging/
> 2016.05+gitAUTOINC+340c262b4b-r35/recipe-sysroot-native/usr/lib
> -L/home/avi/Projects/BoardLabSetup/tmp/work/beagleboard-poky-linux-
> gnueabi/u-boot-ti-staging/2016.05+gitAUTOINC+340c262b4b-r35/recipe-sysroot-native/lib
> -Wl,-rpath-link,/home/avi/Projects/BoardLabSetup/tmp/
> work/beagleboard-poky-linux-gnueabi/u-boot-ti-staging/
> 2016.05+gitAUTOINC+340c262b4b-r35/recipe-sysroot-native/usr/lib
> -Wl,-rpath-link,/home/avi/Projects/BoardLabSetup/tmp/
> work/beagleboard-poky-linux-gnueabi/u-boot-ti-staging/
> 2016.05+gitAUTOINC+340c262b4b-r35/recipe-sysroot-native/lib
> -Wl,-rpath,/home/avi/Projects/BoardLabSetup/tmp/work/beagleboard-poky-linux-
> gnueabi/u-boot-ti-staging/2016.05+gitAUTOINC+340c262b4b-
> r35/recipe-sysroot-native/usr/lib -Wl,-rpath,/home/avi/Projects/
> BoardLabSetup/tmp/work/beagleboard-poky-linux-gnueabi/u-boot-ti-staging/
> 2016.05+gitAUTOINC+340c262b4b-r35/recipe-sysroot-native/lib -Wl,-O1 -C
> /home/avi/Projects/BoardLabSetup/tmp/work/beagleboard-poky-linux-
> gnueabi/u-boot-ti-staging/2016.05+gitAUTOINC+340c262b4b-r35/git
> O=/home/avi/Projects/BoardLabSetup/tmp/work/beagleboard-poky-linux-
> gnueabi/u-boot-ti-staging/2016.05+gitAUTOINC+340c262b4b-r35/build
> omap3_beagle_config
> make: Entering directory '/home/avi/Projects/BoardLabSetup/tmp/work/
> beagleboard-poky-linux-gnueabi/u-boot-ti-staging/
> 2016.05+gitAUTOINC+340c262b4b-r35/git'
> make -C /home/avi/Projects/BoardLabSetup/tmp/work/beagleboard-poky-linux-
> gnueabi/u-boot-ti-staging/2016.05+gitAUTOINC+340c262b4b-r35/build
> KBUILD_SRC=/home/avi/Projects/BoardLabSetup/tmp/work/beagleboard-poky-linux-
> gnueabi/u-boot-ti-staging/2016.05+gitAUTOINC+340c262b4b-r35/git \
> -f /home/avi/Projects/BoardLabSetup/tmp/work/beagleboard-poky-linux-
> gnueabi/u-boot-ti-staging/2016.05+gitAUTOINC+340c262b4b-r35/git/Makefile
> omap3_beagle_config
> make[1]: Entering directory '/home/avi/Projects/BoardLabSetup/tmp/work/
> beagleboard-poky-linux-gnueabi/u-boot-ti-staging/
> 2016.05+gitAUTOINC+340c262b4b-r35/build'
> make -f /home/avi/Projects/BoardLabSetup/tmp/work/beagleboard-poky-linux-
> gnueabi/u-boot-ti-staging/2016.05+gitAUTOINC+340c262b4b-r35/git/scripts/Makefile.build
> obj=scripts/basic
> ln -fsn /home/avi/Projects/BoardLabSetup/tmp/work/beagleboard-poky-linux-
> gnueabi/u-boot-ti-staging/2016.05+gitAUTOINC+340c262b4b-r35/git source
> /bin/bash /home/avi/Projects/BoardLabSetup/tmp/work/beagleboard-poky-linux-
> gnueabi/u-boot-ti-staging/2016.05+gitAUTOINC+340c262b4b-r35/git/scripts/mkmakefile
> \
> /home/avi/Projects/BoardLabSetup/tmp/work/beagleboard-poky-linux-
> gnueabi/u-boot-ti-staging/2016.05+gitAUTOINC+340c262b4b-r35/git . 2016 05
>   GEN ./Makefile
> rm -f .tmp_qu

Re: [meta-ti] [PATCH 1/4] wl18xx-fw: add recipe for version R8.7_SP3

2017-12-04 Thread Denys Dmytriyenko
Eyal,

Usually, git history is enough. Multiple recipe versions are only needed when 
they can be used at the same time or switch between them in the same release.

We have some extra time to get this fixed until tomorrow noon before the next 
tag, so feel free to re-submit v2 by then. If not, I'll get to fix it myself 
tomorrow. Thanks.

-- 
Denys


On Mon, Dec 04, 2017 at 02:54:44PM -0500, Reizer, Eyal wrote:
>Hi Denys,
> 
>Yes, of course. Thought you were keeping the history.
>Can you take care of it or do you need another patch set?
> 
>Best Regards,
>Eyal
> 
> Original Message 
>From: "Dmytriyenko, Denys" 
>Date: Mon, Dec 4, 2017, 21:52
>To: "Reizer, Eyal" 
>CC: meta-ti@yoctoproject.org
>Subject: Re: [PATCH 1/4] wl18xx-fw: add recipe for version R8.7_SP3
> 
>On Sun, Dec 03, 2017 at 05:34:49AM -0500, Reizer, Eyal wrote:
>> Signed-off-by: Eyal Reizer 
>> ---
>>  recipes-bsp/wl18xx-fw/wl18xx-fw_8.7.3.bb | 26
>++
>>  1 file changed, 26 insertions(+)
>>  create mode 100644 recipes-bsp/wl18xx-fw/wl18xx-fw_8.7.3.bb
> 
>Thanks! Can we just update from 8.7.1 to 8.7.3 by replacing the recipe,
>instead of adding new one?
> 
>> diff --git a/recipes-bsp/wl18xx-fw/wl18xx-fw_8.7.3.bb
>b/recipes-bsp/wl18xx-fw/wl18xx-fw_8.7.3.bb
>> new file mode 100644
>> index 000..a52ec89
>> --- /dev/null
>> +++ b/recipes-bsp/wl18xx-fw/wl18xx-fw_8.7.3.bb
>> @@ -0,0 +1,26 @@
>> +DESCRIPTION = "Firmware files for use with TI wl18xx"
>> +LICENSE = "TI-TSPA"
>> +LIC_FILES_CHKSUM =
>"file://LICENCE;md5=4977a0fe767ee17765ae63c435a32a9e"
>> +
>> +SRC_URI = " \
>> +
>git://git.ti.com/wilink8-wlan/wl18xx_fw.git;protocol=git;branch=${BRANCH}
>\
>> + file://0001-Add-Makefile-to-install-firmware-files.patch \
>> +"
>> +
>> +# Tag: R8.7-SP3 (8.7.3)
>> +SRCREV = "f659be25473e4bde8dc790bff703ecacde6e21da"
>> +BRANCH = "master"
>> +
>> +S = "${WORKDIR}/git"
>> +
>> +CLEANBROKEN = "1"
>> +
>> +do_compile() {
>> +:
>> +}
>> +
>> +do_install() {
>> +oe_runmake 'DEST_DIR=${D}' install
>> +}
>> +
>> +FILES_${PN} = "/lib/firmware/ti-connectivity/*"
>> --
>> 2.7.4
>>
-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


Re: [meta-ti] [PATCH 1/4] wl18xx-fw: add recipe for version R8.7_SP3

2017-12-04 Thread Reizer, Eyal
Hi Denys,

Yes, of course. Thought you were keeping the history.
Can you take care of it or do you need another patch set?

Best Regards,
Eyal

 Original Message 
From: "Dmytriyenko, Denys" 
Date: Mon, Dec 4, 2017, 21:52
To: "Reizer, Eyal" 
CC: meta-ti@yoctoproject.org
Subject: Re: [PATCH 1/4] wl18xx-fw: add recipe for version R8.7_SP3

On Sun, Dec 03, 2017 at 05:34:49AM -0500, Reizer, Eyal wrote:
> Signed-off-by: Eyal Reizer 
> ---
>  recipes-bsp/wl18xx-fw/wl18xx-fw_8.7.3.bb | 26 ++
>  1 file changed, 26 insertions(+)
>  create mode 100644 recipes-bsp/wl18xx-fw/wl18xx-fw_8.7.3.bb

Thanks! Can we just update from 8.7.1 to 8.7.3 by replacing the recipe,
instead of adding new one?


> diff --git a/recipes-bsp/wl18xx-fw/wl18xx-fw_8.7.3.bb 
> b/recipes-bsp/wl18xx-fw/wl18xx-fw_8.7.3.bb
> new file mode 100644
> index 000..a52ec89
> --- /dev/null
> +++ b/recipes-bsp/wl18xx-fw/wl18xx-fw_8.7.3.bb
> @@ -0,0 +1,26 @@
> +DESCRIPTION = "Firmware files for use with TI wl18xx"
> +LICENSE = "TI-TSPA"
> +LIC_FILES_CHKSUM = "file://LICENCE;md5=4977a0fe767ee17765ae63c435a32a9e"
> +
> +SRC_URI = " \
> + 
> git://git.ti.com/wilink8-wlan/wl18xx_fw.git;protocol=git;branch=${BRANCH} \
> + file://0001-Add-Makefile-to-install-firmware-files.patch \
> +"
> +
> +# Tag: R8.7-SP3 (8.7.3)
> +SRCREV = "f659be25473e4bde8dc790bff703ecacde6e21da"
> +BRANCH = "master"
> +
> +S = "${WORKDIR}/git"
> +
> +CLEANBROKEN = "1"
> +
> +do_compile() {
> +:
> +}
> +
> +do_install() {
> +oe_runmake 'DEST_DIR=${D}' install
> +}
> +
> +FILES_${PN} = "/lib/firmware/ti-connectivity/*"
> --
> 2.7.4
>
-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


Re: [meta-ti] [PATCH 1/4] wl18xx-fw: add recipe for version R8.7_SP3

2017-12-04 Thread Denys Dmytriyenko
On Sun, Dec 03, 2017 at 05:34:49AM -0500, Reizer, Eyal wrote:
> Signed-off-by: Eyal Reizer 
> ---
>  recipes-bsp/wl18xx-fw/wl18xx-fw_8.7.3.bb | 26 ++
>  1 file changed, 26 insertions(+)
>  create mode 100644 recipes-bsp/wl18xx-fw/wl18xx-fw_8.7.3.bb

Thanks! Can we just update from 8.7.1 to 8.7.3 by replacing the recipe, 
instead of adding new one?


> diff --git a/recipes-bsp/wl18xx-fw/wl18xx-fw_8.7.3.bb 
> b/recipes-bsp/wl18xx-fw/wl18xx-fw_8.7.3.bb
> new file mode 100644
> index 000..a52ec89
> --- /dev/null
> +++ b/recipes-bsp/wl18xx-fw/wl18xx-fw_8.7.3.bb
> @@ -0,0 +1,26 @@
> +DESCRIPTION = "Firmware files for use with TI wl18xx"
> +LICENSE = "TI-TSPA"
> +LIC_FILES_CHKSUM = "file://LICENCE;md5=4977a0fe767ee17765ae63c435a32a9e"
> +
> +SRC_URI = " \
> + 
> git://git.ti.com/wilink8-wlan/wl18xx_fw.git;protocol=git;branch=${BRANCH} \
> + file://0001-Add-Makefile-to-install-firmware-files.patch \
> +"
> +
> +# Tag: R8.7-SP3 (8.7.3)
> +SRCREV = "f659be25473e4bde8dc790bff703ecacde6e21da"
> +BRANCH = "master"
> +
> +S = "${WORKDIR}/git"
> +
> +CLEANBROKEN = "1"
> +
> +do_compile() {
> +:
> +}
> +
> +do_install() {
> +oe_runmake 'DEST_DIR=${D}' install
> +}
> +
> +FILES_${PN} = "/lib/firmware/ti-connectivity/*"
> -- 
> 2.7.4
> 
-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


Re: [meta-ti] Make ti-xdctools a native recipe

2017-12-04 Thread Joshua Watt
On Tue, 2017-11-28 at 13:58 -0600, Joshua Watt wrote:
> From: "Mertz, Timothy" 
> 
> ti-xdctools should be a native recipe as it more accurately reflects
> how
> it is supposed to be used. In addition, this allows it to be built as
> nativesdk and included in SDK image tools
> 
> Signed-off-by: "Mertz, Timothy" 
> Signed-off-by: Joshua Watt 
> ---
>  classes/ti-pdk.bbclass| 2 +-
>  recipes-bsp/dspdce-fw/dspdce-fw_git.bb| 2 +-
>  recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb   | 2 +-
>  recipes-bsp/ipumm-fw/ipumm-fw_git.bb  | 2 +-
>  recipes-devtools/gdbc6x/gdbserver-c6x_git.bb  | 2 +-
>  recipes-ti/c6accel/ti-c6accel.inc | 2 +-
>  recipes-ti/codec-engine/ti-codec-engine.inc   | 2 +-
>  recipes-ti/codec-engine/ti-codecs-omap3530_4.00.00.00.bb  | 2 +-
>  recipes-ti/devtools/ti-xdctools_3.50.03.33.bb | 4 
>  recipes-ti/dmai/ti-dmai.inc   | 2 +-
>  recipes-ti/dsplink/ti-dsplink.inc | 2 +-
>  recipes-ti/includes/ti-paths.inc  | 2 +-
>  recipes-ti/ipc/ti-ipc-examples-linux_git.bb   | 2 +-
>  recipes-ti/ipc/ti-ipc-examples_git.bb | 2 +-
>  recipes-ti/ipc/ti-ipc-rtos_git.bb | 2 +-
>  recipes-ti/local-power-manager/ti-local-power-manager.inc | 2 +-
>  recipes-ti/openmp-rtos/openmp-rtos_git.bb | 2 +-
>  recipes-ti/syslink/ti-syslink.inc | 2 +-
>  18 files changed, 21 insertions(+), 17 deletions(-)
> 
> diff --git a/classes/ti-pdk.bbclass b/classes/ti-pdk.bbclass
> index f876802c..b84b161a 100644
> --- a/classes/ti-pdk.bbclass
> +++ b/classes/ti-pdk.bbclass
> @@ -3,7 +3,7 @@ require recipes-ti/includes/ti-staging.inc
>  
>  inherit perlnative
>  
> -DEPENDS = "ti-xdctools ti-cg-xml-native ti-sysbios common-csl-ip-
> rtos libxml-simple-perl-native gcc-arm-none-eabi-native ti-cgt6x-
> native ti-cgt-pru-native ti-pdk-build-rtos"
> +DEPENDS = "ti-xdctools-native ti-cg-xml-native ti-sysbios common-
> csl-ip-rtos libxml-simple-perl-native gcc-arm-none-eabi-native ti-
> cgt6x-native ti-cgt-pru-native ti-pdk-build-rtos"
>  
>  DEPENDS_append_omap-a15 = " ti-cgt-arm-native"
>  DEPENDS_remove_ti33x = "ti-cgt6x-native"
> diff --git a/recipes-bsp/dspdce-fw/dspdce-fw_git.bb b/recipes-
> bsp/dspdce-fw/dspdce-fw_git.bb
> index 2bada7b6..2756c2d8 100644
> --- a/recipes-bsp/dspdce-fw/dspdce-fw_git.bb
> +++ b/recipes-bsp/dspdce-fw/dspdce-fw_git.bb
> @@ -17,7 +17,7 @@ require recipes-ti/includes/ti-paths.inc
>  PR = "r4"
>  inherit update-alternatives
>  
> -DEPENDS = "ti-xdctools ti-sysbios ti-codec-engine ti-framework-
> components ti-xdais ti-ipc-rtos ti-osal ti-cgt6x-native"
> +DEPENDS = "ti-xdctools-native ti-sysbios ti-codec-engine ti-
> framework-components ti-xdais ti-ipc-rtos ti-osal ti-cgt6x-native"
>  
>  export HWVERSION = "ES10"
>  export BIOSTOOLSROOT = "${STAGING_DIR_TARGET}/usr/share/ti"
> diff --git a/recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb b/recipes-
> bsp/edma3-lld/edma3-lld-rtos_git.bb
> index f5244785..edd67e37 100644
> --- a/recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb
> +++ b/recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb
> @@ -3,7 +3,7 @@ require recipes-ti/includes/ti-paths.inc
>  
>  PR = "${INC_PR}.1"
>  
> -DEPENDS = "ti-sysbios ti-xdctools gcc-arm-none-eabi-native ti-cgt-
> arm-native ti-cgt6x-native"
> +DEPENDS = "ti-sysbios ti-xdctools-native gcc-arm-none-eabi-native
> ti-cgt-arm-native ti-cgt6x-native"
>  
>  COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone"
>  PACKAGE_ARCH = "${MACHINE_ARCH}"
> diff --git a/recipes-bsp/ipumm-fw/ipumm-fw_git.bb b/recipes-
> bsp/ipumm-fw/ipumm-fw_git.bb
> index 633cb135..7fa06a87 100644
> --- a/recipes-bsp/ipumm-fw/ipumm-fw_git.bb
> +++ b/recipes-bsp/ipumm-fw/ipumm-fw_git.bb
> @@ -28,7 +28,7 @@ require recipes-ti/includes/ti-paths.inc
>  
>  inherit update-alternatives
>  
> -DEPENDS = "ti-xdctools ti-sysbios ti-codec-engine ti-framework-
> components ti-xdais ti-cgt-arm-native ti-ipc-rtos"
> +DEPENDS = "ti-xdctools-native ti-sysbios ti-codec-engine ti-
> framework-components ti-xdais ti-cgt-arm-native ti-ipc-rtos"
>  
>  export HWVERSION="ES10"
>  export BIOSTOOLSROOT="${STAGING_DIR_TARGET}/usr/share/ti"
> diff --git a/recipes-devtools/gdbc6x/gdbserver-c6x_git.bb b/recipes-
> devtools/gdbc6x/gdbserver-c6x_git.bb
> index f4dc51dc..79b584be 100644
> --- a/recipes-devtools/gdbc6x/gdbserver-c6x_git.bb
> +++ b/recipes-devtools/gdbc6x/gdbserver-c6x_git.bb
> @@ -2,7 +2,7 @@ DESCRIPTION = "TI gdb-server to be used with c6xgdb."
>  LICENSE = "BSD"
>  LIC_FILES_CHKSUM =
> "file://../debian/copyright;md5=82c616b6c8f9c11c46feaaf8f9a11495"
>  
> -DEPENDS = "ti-xdais ti-framework-components ti-cgt6x-native ti-
> sysbios ti-xdctools"
> +DEPENDS = "ti-xdais ti-framework-components ti-cgt6x-native ti-
> sysbios ti-xdctools-native"
>  
>  PR = "${INC_PR}.0"
>  
> diff -