[meta-ti] [thud/master PATCH v3] recipes-bsp: ivshmem-uio: Add new recipe for ivshmem-uio driver

2019-09-30 Thread Nikhil Devshatwar
This is external kernel module which enables userspace io over the
Jailhouse ivhsmem (inter VM shared memory)
This driver is useful to test the inter VM communication.

Signed-off-by: Nikhil Devshatwar 
---
Changes from v2:
* Fix SUMMARY v/s DESCRIPTION

Changes from v1:
* Split the ivshmem recipe separately
* Add summary and remove PACKAGE_ARCH define

 recipes-bsp/ivshmem-uio/ivshmem-uio-driver_git.bb | 27 +++
 1 file changed, 27 insertions(+)
 create mode 100644 recipes-bsp/ivshmem-uio/ivshmem-uio-driver_git.bb

diff --git a/recipes-bsp/ivshmem-uio/ivshmem-uio-driver_git.bb 
b/recipes-bsp/ivshmem-uio/ivshmem-uio-driver_git.bb
new file mode 100644
index 000..a9f1455
--- /dev/null
+++ b/recipes-bsp/ivshmem-uio/ivshmem-uio-driver_git.bb
@@ -0,0 +1,27 @@
+SUMMARY =  "Kernel driver for IVSHMEM based UIO driver"
+DESCRIPTION = "Kernel module which registers a UIO (userspace io) device for 
inter VM shared memory"
+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"
+
+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

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [thud][PATCH 1/2] ti-img-rogue-umlibs: Update srcrev to pick virt fw bin

2019-09-30 Thread Gowtham Tammana
A firmware binary for guest is added to source repo, updating the
srcrev to pick the latest changes.

Signed-off-by: Gowtham Tammana 
Signed-off-by: Erick Narvaez 
---
 recipes-graphics/libgles/ti-img-rogue-umlibs_1.10.5371573.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes-graphics/libgles/ti-img-rogue-umlibs_1.10.5371573.bb 
b/recipes-graphics/libgles/ti-img-rogue-umlibs_1.10.5371573.bb
index f49830fe..e94aab8d 100644
--- a/recipes-graphics/libgles/ti-img-rogue-umlibs_1.10.5371573.bb
+++ b/recipes-graphics/libgles/ti-img-rogue-umlibs_1.10.5371573.bb
@@ -6,12 +6,12 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=7232b98c1c58f99e3baa03de5207e76f"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 COMPATIBLE_MACHINE = "j7-evm"
 
-PR = "r3"
+PR = "r4"
 
 BRANCH = "linuxws/thud/k4.19/${PV}"
 
 SRC_URI = "git://git.ti.com/graphics/ti-img-rogue-umlibs.git;branch=${BRANCH}"
-SRCREV = "237d3736114d0e8c6c0fe00845949f51bb78544f"
+SRCREV = "98762e37e8f26e8cd979576817b695ec3c0e069f"
 
 PVR_SOC ?= "j721e_linux"
 PVR_BUILD ?= "release"
-- 
2.23.0

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [thud][PATCH 2/2] ti-img-rogue-driver: Update srcrev to pick latest changes

2019-09-30 Thread Gowtham Tammana
Picks the following changes
  - Fix dma-api warnings
  - Add flags to support guest instance

Signed-off-by: Gowtham Tammana 
Signed-off-by: Erick Narvaez 
---
 .../powervr-drivers/ti-img-rogue-driver_1.10.5371573.bb   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes-bsp/powervr-drivers/ti-img-rogue-driver_1.10.5371573.bb 
b/recipes-bsp/powervr-drivers/ti-img-rogue-driver_1.10.5371573.bb
index 986d0137..f412d6aa 100644
--- a/recipes-bsp/powervr-drivers/ti-img-rogue-driver_1.10.5371573.bb
+++ b/recipes-bsp/powervr-drivers/ti-img-rogue-driver_1.10.5371573.bb
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = 
"file://README;beginline=15;endline=20;md5=0403c7dea01a2b8232
 
 inherit module
 
-MACHINE_KERNEL_PR_append = "c"
+MACHINE_KERNEL_PR_append = "d"
 PR = "${MACHINE_KERNEL_PR}"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
@@ -22,7 +22,7 @@ SRC_URI = 
"git://git.ti.com/graphics/ti-img-rogue-driver.git;branch=${BRANCH} \
 "
 S = "${WORKDIR}/git"
 
-SRCREV = "2d0f0959c1e449de0c38ce91437f7d5fcf65"
+SRCREV = "f718a8251eb02c2493a2361c509a29ce634beadc"
 
 PVR_SOC = "j721e_linux"
 PVR_BVNC = "22.104.208.318"
-- 
2.23.0

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


Re: [meta-ti] [PATCH 3/3] beaglebone-getting-started: Mention CC-BY-SA-3.0 and correct GPL version

2019-09-30 Thread Denys Dmytriyenko
On Sun, Sep 29, 2019 at 08:43:35AM -0700, Khem Raj wrote:
> This is as per
> https://github.com/jadonk/beaglebone-getting-started/blob/master/LICENSE.txt

You are looking at the latest LICENSE file, while the recipe hasn't updated 
its SRCREV since early 2012, back when beagleboard.org was still active in OE. 
Specifically, GPLv3+ was added in 2013:
https://github.com/jadonk/beaglebone-getting-started/commits/master/LICENSE.txt

We don't use this package, but I kept it in case someone still needs it. I did 
put a README with a note in that directory:
http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/tree/recipes-ti/README

Probably, this can be updated to the latest, as part of fixing the LICENSE? :)

Denys


> Signed-off-by: Khem Raj 
> ---
>  recipes-ti/beagleboard/beaglebone-getting-started.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/recipes-ti/beagleboard/beaglebone-getting-started.bb 
> b/recipes-ti/beagleboard/beaglebone-getting-started.bb
> index 6c61a4e9..c86e3518 100644
> --- a/recipes-ti/beagleboard/beaglebone-getting-started.bb
> +++ b/recipes-ti/beagleboard/beaglebone-getting-started.bb
> @@ -4,7 +4,7 @@ PR = "r21"
>  
>  inherit allarch
>  
> -LICENSE = "GPLv2+ & MIT & PD & others"
> +LICENSE = "CC-BY-SA-3.0 & GPLv3+ & MIT & PD & others"
>  LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=603591dea023c3c75b48e07cb47ce639"
>  
>  SRCREV = "6c548a307c948b28a99d48fd17d9790b56182196"
> -- 
> 2.23.0
> 
> -- 
> ___
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti
-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


Re: [meta-ti] [PATCH 3/3] beaglebone-getting-started: Mention CC-BY-SA-3.0 and correct GPL version

2019-09-30 Thread Khem Raj



On 9/30/19 11:32 AM, Denys Dmytriyenko wrote:
> On Sun, Sep 29, 2019 at 08:43:35AM -0700, Khem Raj wrote:
>> This is as per
>> https://github.com/jadonk/beaglebone-getting-started/blob/master/LICENSE.txt
> 
> You are looking at the latest LICENSE file, while the recipe hasn't updated 
> its SRCREV since early 2012, back when beagleboard.org was still active in 
> OE. 
> Specifically, GPLv3+ was added in 2013:
> https://github.com/jadonk/beaglebone-getting-started/commits/master/LICENSE.txt
> 
> We don't use this package, but I kept it in case someone still needs it. I 
> did 
> put a README with a note in that directory:
> http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/tree/recipes-ti/README
> 
> Probably, this can be updated to the latest, as part of fixing the LICENSE? :)
> 

The README should be specific about which recipes are not maintained, it
has a general statement which gives a scare, if the recipe is not
maintained then this should be removed or atleast blacklisted if you
still want to keep it around.

I was trying to help clearing up license warnings, other than that I
dont have any interest in this recipe.

I can send a patch to blacklist it if thats fine with you.

> Denys
> 
> 
>> Signed-off-by: Khem Raj 
>> ---
>>  recipes-ti/beagleboard/beaglebone-getting-started.bb | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/recipes-ti/beagleboard/beaglebone-getting-started.bb 
>> b/recipes-ti/beagleboard/beaglebone-getting-started.bb
>> index 6c61a4e9..c86e3518 100644
>> --- a/recipes-ti/beagleboard/beaglebone-getting-started.bb
>> +++ b/recipes-ti/beagleboard/beaglebone-getting-started.bb
>> @@ -4,7 +4,7 @@ PR = "r21"
>>  
>>  inherit allarch
>>  
>> -LICENSE = "GPLv2+ & MIT & PD & others"
>> +LICENSE = "CC-BY-SA-3.0 & GPLv3+ & MIT & PD & others"
>>  LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=603591dea023c3c75b48e07cb47ce639"
>>  
>>  SRCREV = "6c548a307c948b28a99d48fd17d9790b56182196"
>> -- 
>> 2.23.0
>>
>> -- 
>> ___
>> meta-ti mailing list
>> meta-ti@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/meta-ti
-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


Re: [meta-ti] [PATCH 3/3] beaglebone-getting-started: Mention CC-BY-SA-3.0 and correct GPL version

2019-09-30 Thread Denys Dmytriyenko
On Mon, Sep 30, 2019 at 01:40:23PM -0700, Khem Raj wrote:
> 
> 
> On 9/30/19 11:32 AM, Denys Dmytriyenko wrote:
> > On Sun, Sep 29, 2019 at 08:43:35AM -0700, Khem Raj wrote:
> >> This is as per
> >> https://github.com/jadonk/beaglebone-getting-started/blob/master/LICENSE.txt
> > 
> > You are looking at the latest LICENSE file, while the recipe hasn't updated 
> > its SRCREV since early 2012, back when beagleboard.org was still active in 
> > OE. 
> > Specifically, GPLv3+ was added in 2013:
> > https://github.com/jadonk/beaglebone-getting-started/commits/master/LICENSE.txt
> > 
> > We don't use this package, but I kept it in case someone still needs it. I 
> > did 
> > put a README with a note in that directory:
> > http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/tree/recipes-ti/README
> > 
> > Probably, this can be updated to the latest, as part of fixing the LICENSE? 
> > :)
> > 
> 
> The README should be specific about which recipes are not maintained, it
> has a general statement which gives a scare, if the recipe is not
> maintained then this should be removed or atleast blacklisted if you
> still want to keep it around.
> 
> I was trying to help clearing up license warnings, other than that I
> dont have any interest in this recipe.
> 
> I can send a patch to blacklist it if thats fine with you.

Fair enough, let me take a look at it myself.


> >> Signed-off-by: Khem Raj 
> >> ---
> >>  recipes-ti/beagleboard/beaglebone-getting-started.bb | 2 +-
> >>  1 file changed, 1 insertion(+), 1 deletion(-)
> >>
> >> diff --git a/recipes-ti/beagleboard/beaglebone-getting-started.bb 
> >> b/recipes-ti/beagleboard/beaglebone-getting-started.bb
> >> index 6c61a4e9..c86e3518 100644
> >> --- a/recipes-ti/beagleboard/beaglebone-getting-started.bb
> >> +++ b/recipes-ti/beagleboard/beaglebone-getting-started.bb
> >> @@ -4,7 +4,7 @@ PR = "r21"
> >>  
> >>  inherit allarch
> >>  
> >> -LICENSE = "GPLv2+ & MIT & PD & others"
> >> +LICENSE = "CC-BY-SA-3.0 & GPLv3+ & MIT & PD & others"
> >>  LIC_FILES_CHKSUM = 
> >> "file://LICENSE.txt;md5=603591dea023c3c75b48e07cb47ce639"
> >>  
> >>  SRCREV = "6c548a307c948b28a99d48fd17d9790b56182196"
> >> -- 
> >> 2.23.0
> >>
> >> -- 
> >> ___
> >> meta-ti mailing list
> >> meta-ti@yoctoproject.org
> >> https://lists.yoctoproject.org/listinfo/meta-ti
-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [thud/master PATCH] pru-icss: fix build warnings for j7-evm

2019-09-30 Thread Suman Anna
The rpmsg-echo firmwares are not supported for Tx_PRU cores on
J721E SoCs, these cores only support the Halt images. So suppress
the build warnings around Tx_PRU rpmsg-echo firmwares by limiting
the default ALTERNATIVES and updating the list for just the
pru-icss-halt package.

Signed-off-by: Suman Anna 
---
Incremental fix for
 [thud]   1a83bdda9038 ("pru-icss: add J721E Support")
 [master] 494495c4577f ("pru-icss: add J721E Support")

 recipes-bsp/pru/pru-icss_git.bb | 7 +--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/recipes-bsp/pru/pru-icss_git.bb b/recipes-bsp/pru/pru-icss_git.bb
index b2642fbcc821..6508b6c2bcf3 100644
--- a/recipes-bsp/pru/pru-icss_git.bb
+++ b/recipes-bsp/pru/pru-icss_git.bb
@@ -11,7 +11,7 @@ SRC_URI = 
"git://git.ti.com/pru-software-support-package/pru-software-support-pa
 SRCREV = "1ff0393b3b9454fe9c58399c1b5d2db511e8049c"
 
 PV = "5.5.0"
-PR = "r0"
+PR = "r1"
 
 require recipes-ti/includes/ti-paths.inc
 
@@ -165,7 +165,7 @@ PRU_ICSS_ALTERNATIVES_ti43x= "am437x-pru0_0-fw 
am437x-pru0_1-fw am437x-pru1_
 PRU_ICSS_ALTERNATIVES_omap-a15 = "am57xx-pru1_0-fw am57xx-pru1_1-fw 
am57xx-pru2_0-fw am57xx-pru2_1-fw"
 PRU_ICSS_ALTERNATIVES_k2g  = "k2g-pru0_0-fw k2g-pru0_1-fw k2g-pru1_0-fw 
k2g-pru1_1-fw"
 PRU_ICSS_ALTERNATIVES_am65xx   = "am65x-pru0_0-fw am65x-pru0_1-fw 
am65x-pru1_0-fw am65x-pru1_1-fw am65x-pru2_0-fw am65x-pru2_1-fw am65x-rtu0_0-fw 
am65x-rtu0_1-fw am65x-rtu1_0-fw am65x-rtu1_1-fw am65x-rtu2_0-fw am65x-rtu2_1-fw"
-PRU_ICSS_ALTERNATIVES_j7-evm   = "j7-pru0_0-fw j7-pru0_1-fw j7-pru1_0-fw 
j7-pru1_1-fw j7-rtu0_0-fw j7-rtu0_1-fw j7-rtu1_0-fw j7-rtu1_1-fw j7-txpru0_0-fw 
j7-txpru0_1-fw j7-txpru1_0-fw j7-txpru1_1-fw"
+PRU_ICSS_ALTERNATIVES_j7-evm   = "j7-pru0_0-fw j7-pru0_1-fw j7-pru1_0-fw 
j7-pru1_1-fw j7-rtu0_0-fw j7-rtu0_1-fw j7-rtu1_0-fw j7-rtu1_1-fw"
 
 # Set up link names for the firmwares
 ALTERNATIVE_LINK_NAME[am335x-pru0-fw] = "/lib/firmware/am335x-pru0-fw"
@@ -215,6 +215,9 @@ ALTERNATIVE_LINK_NAME[j7-txpru1_1-fw] = 
"/lib/firmware/j7-txpru1_1-fw"
 # Create the pru-icss-halt firmware alternatives
 ALTERNATIVE_pru-icss-halt = "${PRU_ICSS_ALTERNATIVES}"
 
+# Only Halt firmware images are supported for the Tx_PRU cores
+ALTERNATIVE_pru-icss-halt_append_j7-evm = " j7-txpru0_0-fw j7-txpru0_1-fw 
j7-txpru1_0-fw j7-txpru1_1-fw"
+
 ALTERNATIVE_TARGET_pru-icss-halt[am335x-pru0-fw] = 
"/lib/firmware/pru/PRU_Halt.out"
 ALTERNATIVE_TARGET_pru-icss-halt[am335x-pru1-fw] = 
"/lib/firmware/pru/PRU_Halt.out"
 
-- 
2.23.0

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


Re: [meta-ti] [PATCH 3/3] beaglebone-getting-started: Mention CC-BY-SA-3.0 and correct GPL version

2019-09-30 Thread Denys Dmytriyenko
On Mon, Sep 30, 2019 at 04:43:56PM -0400, Denys Dmytriyenko wrote:
> On Mon, Sep 30, 2019 at 01:40:23PM -0700, Khem Raj wrote:
> > 
> > 
> > On 9/30/19 11:32 AM, Denys Dmytriyenko wrote:
> > > On Sun, Sep 29, 2019 at 08:43:35AM -0700, Khem Raj wrote:
> > >> This is as per
> > >> https://github.com/jadonk/beaglebone-getting-started/blob/master/LICENSE.txt
> > > 
> > > You are looking at the latest LICENSE file, while the recipe hasn't 
> > > updated 
> > > its SRCREV since early 2012, back when beagleboard.org was still active 
> > > in OE. 
> > > Specifically, GPLv3+ was added in 2013:
> > > https://github.com/jadonk/beaglebone-getting-started/commits/master/LICENSE.txt
> > > 
> > > We don't use this package, but I kept it in case someone still needs it. 
> > > I did 
> > > put a README with a note in that directory:
> > > http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/tree/recipes-ti/README
> > > 
> > > Probably, this can be updated to the latest, as part of fixing the 
> > > LICENSE? :)
> > > 
> > 
> > The README should be specific about which recipes are not maintained, it
> > has a general statement which gives a scare, if the recipe is not
> > maintained then this should be removed or atleast blacklisted if you
> > still want to keep it around.
> > 
> > I was trying to help clearing up license warnings, other than that I

BTW, the only warning I see for this recipe, is that "others" license is 
unknown. Your patch was not addressing it - should I just remove "others" 
from the list, as this was back from the days when the list wasn't checked 
so strictly?


> > dont have any interest in this recipe.
> > 
> > I can send a patch to blacklist it if thats fine with you.
> 
> Fair enough, let me take a look at it myself.
> 
> 
> > >> Signed-off-by: Khem Raj 
> > >> ---
> > >>  recipes-ti/beagleboard/beaglebone-getting-started.bb | 2 +-
> > >>  1 file changed, 1 insertion(+), 1 deletion(-)
> > >>
> > >> diff --git a/recipes-ti/beagleboard/beaglebone-getting-started.bb 
> > >> b/recipes-ti/beagleboard/beaglebone-getting-started.bb
> > >> index 6c61a4e9..c86e3518 100644
> > >> --- a/recipes-ti/beagleboard/beaglebone-getting-started.bb
> > >> +++ b/recipes-ti/beagleboard/beaglebone-getting-started.bb
> > >> @@ -4,7 +4,7 @@ PR = "r21"
> > >>  
> > >>  inherit allarch
> > >>  
> > >> -LICENSE = "GPLv2+ & MIT & PD & others"
> > >> +LICENSE = "CC-BY-SA-3.0 & GPLv3+ & MIT & PD & others"
> > >>  LIC_FILES_CHKSUM = 
> > >> "file://LICENSE.txt;md5=603591dea023c3c75b48e07cb47ce639"
> > >>  
> > >>  SRCREV = "6c548a307c948b28a99d48fd17d9790b56182196"
> > >> -- 
> > >> 2.23.0
> > >>
> > >> -- 
> > >> ___
> > >> meta-ti mailing list
> > >> meta-ti@yoctoproject.org
> > >> https://lists.yoctoproject.org/listinfo/meta-ti
> -- 
> ___
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti
-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


Re: [meta-ti] [PATCH 3/3] beaglebone-getting-started: Mention CC-BY-SA-3.0 and correct GPL version

2019-09-30 Thread Khem Raj
On Mon, Sep 30, 2019 at 5:00 PM Denys Dmytriyenko  wrote:
>
> On Mon, Sep 30, 2019 at 04:43:56PM -0400, Denys Dmytriyenko wrote:
> > On Mon, Sep 30, 2019 at 01:40:23PM -0700, Khem Raj wrote:
> > >
> > >
> > > On 9/30/19 11:32 AM, Denys Dmytriyenko wrote:
> > > > On Sun, Sep 29, 2019 at 08:43:35AM -0700, Khem Raj wrote:
> > > >> This is as per
> > > >> https://github.com/jadonk/beaglebone-getting-started/blob/master/LICENSE.txt
> > > >
> > > > You are looking at the latest LICENSE file, while the recipe hasn't 
> > > > updated
> > > > its SRCREV since early 2012, back when beagleboard.org was still active 
> > > > in OE.
> > > > Specifically, GPLv3+ was added in 2013:
> > > > https://github.com/jadonk/beaglebone-getting-started/commits/master/LICENSE.txt
> > > >
> > > > We don't use this package, but I kept it in case someone still needs 
> > > > it. I did
> > > > put a README with a note in that directory:
> > > > http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/tree/recipes-ti/README
> > > >
> > > > Probably, this can be updated to the latest, as part of fixing the 
> > > > LICENSE? :)
> > > >
> > >
> > > The README should be specific about which recipes are not maintained, it
> > > has a general statement which gives a scare, if the recipe is not
> > > maintained then this should be removed or atleast blacklisted if you
> > > still want to keep it around.
> > >
> > > I was trying to help clearing up license warnings, other than that I
>
> BTW, the only warning I see for this recipe, is that "others" license is
> unknown. Your patch was not addressing it - should I just remove "others"
> from the list, as this was back from the days when the list wasn't checked
> so strictly?
>

Yes, go ahead.

>
> > > dont have any interest in this recipe.
> > >
> > > I can send a patch to blacklist it if thats fine with you.
> >
> > Fair enough, let me take a look at it myself.
> >
> >
> > > >> Signed-off-by: Khem Raj 
> > > >> ---
> > > >>  recipes-ti/beagleboard/beaglebone-getting-started.bb | 2 +-
> > > >>  1 file changed, 1 insertion(+), 1 deletion(-)
> > > >>
> > > >> diff --git a/recipes-ti/beagleboard/beaglebone-getting-started.bb 
> > > >> b/recipes-ti/beagleboard/beaglebone-getting-started.bb
> > > >> index 6c61a4e9..c86e3518 100644
> > > >> --- a/recipes-ti/beagleboard/beaglebone-getting-started.bb
> > > >> +++ b/recipes-ti/beagleboard/beaglebone-getting-started.bb
> > > >> @@ -4,7 +4,7 @@ PR = "r21"
> > > >>
> > > >>  inherit allarch
> > > >>
> > > >> -LICENSE = "GPLv2+ & MIT & PD & others"
> > > >> +LICENSE = "CC-BY-SA-3.0 & GPLv3+ & MIT & PD & others"
> > > >>  LIC_FILES_CHKSUM = 
> > > >> "file://LICENSE.txt;md5=603591dea023c3c75b48e07cb47ce639"
> > > >>
> > > >>  SRCREV = "6c548a307c948b28a99d48fd17d9790b56182196"
> > > >> --
> > > >> 2.23.0
> > > >>
> > > >> --
> > > >> ___
> > > >> meta-ti mailing list
> > > >> meta-ti@yoctoproject.org
> > > >> https://lists.yoctoproject.org/listinfo/meta-ti
> > --
> > ___
> > meta-ti mailing list
> > meta-ti@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/meta-ti
-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [PATCH] beaglebone-getting-started: update to the latest and fix licenses

2019-09-30 Thread Denys Dmytriyenko
From: Khem Raj 

This is as per
https://github.com/jadonk/beaglebone-getting-started/blob/master/LICENSE.txt
* Mention CC-BY-SA-3.0
* Update to GPLv3+ since RNDIS addition
* Remove ambiguous "others" license

Package now contains sample bash scripts for the host
* skip file-rdeps QA check

Signed-off-by: Khem Raj 
Signed-off-by: Denys Dmytriyenko 
---
 recipes-ti/beagleboard/beaglebone-getting-started.bb | 11 ++-
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/recipes-ti/beagleboard/beaglebone-getting-started.bb 
b/recipes-ti/beagleboard/beaglebone-getting-started.bb
index 6c61a4e..adde30b 100644
--- a/recipes-ti/beagleboard/beaglebone-getting-started.bb
+++ b/recipes-ti/beagleboard/beaglebone-getting-started.bb
@@ -1,13 +1,13 @@
-DESCRIPTION = "BeagleBone Getting Started Guide"
+SUMMARY = "BeagleBone Getting Started Guide"
 
-PR = "r21"
+PR = "r22"
 
 inherit allarch
 
-LICENSE = "GPLv2+ & MIT & PD & others"
-LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=603591dea023c3c75b48e07cb47ce639"
+LICENSE = "CC-BY-SA-3.0 & GPLv3+ & MIT & PD"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=f6f02761e31334c48f7021fb94c89aaa"
 
-SRCREV = "6c548a307c948b28a99d48fd17d9790b56182196"
+SRCREV = "05bedba192646152b7bc80b0accaea75aef864e5"
 SRC_URI = "git://github.com/jadonk/beaglebone-getting-started.git"
 
 S = "${WORKDIR}/git"
@@ -18,3 +18,4 @@ do_install() {
 }
 
 FILES_${PN} += "${datadir}/${PN}"
+INSANE_SKIP_${PN} = "file-rdeps"
-- 
2.7.4

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


Re: [meta-ti] [PATCH 3/3] beaglebone-getting-started: Mention CC-BY-SA-3.0 and correct GPL version

2019-09-30 Thread Denys Dmytriyenko
On Mon, Sep 30, 2019 at 05:07:01PM -0700, Khem Raj wrote:
> On Mon, Sep 30, 2019 at 5:00 PM Denys Dmytriyenko  wrote:
> >
> > On Mon, Sep 30, 2019 at 04:43:56PM -0400, Denys Dmytriyenko wrote:
> > > On Mon, Sep 30, 2019 at 01:40:23PM -0700, Khem Raj wrote:
> > > >
> > > >
> > > > On 9/30/19 11:32 AM, Denys Dmytriyenko wrote:
> > > > > On Sun, Sep 29, 2019 at 08:43:35AM -0700, Khem Raj wrote:
> > > > >> This is as per
> > > > >> https://github.com/jadonk/beaglebone-getting-started/blob/master/LICENSE.txt
> > > > >
> > > > > You are looking at the latest LICENSE file, while the recipe hasn't 
> > > > > updated
> > > > > its SRCREV since early 2012, back when beagleboard.org was still 
> > > > > active in OE.
> > > > > Specifically, GPLv3+ was added in 2013:
> > > > > https://github.com/jadonk/beaglebone-getting-started/commits/master/LICENSE.txt
> > > > >
> > > > > We don't use this package, but I kept it in case someone still needs 
> > > > > it. I did
> > > > > put a README with a note in that directory:
> > > > > http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/tree/recipes-ti/README
> > > > >
> > > > > Probably, this can be updated to the latest, as part of fixing the 
> > > > > LICENSE? :)
> > > > >
> > > >
> > > > The README should be specific about which recipes are not maintained, it
> > > > has a general statement which gives a scare, if the recipe is not
> > > > maintained then this should be removed or atleast blacklisted if you
> > > > still want to keep it around.
> > > >
> > > > I was trying to help clearing up license warnings, other than that I
> >
> > BTW, the only warning I see for this recipe, is that "others" license is
> > unknown. Your patch was not addressing it - should I just remove "others"
> > from the list, as this was back from the days when the list wasn't checked
> > so strictly?
> >
> 
> Yes, go ahead.

https://lists.yoctoproject.org/pipermail/meta-ti/2019-September/012292.html


> > > > dont have any interest in this recipe.
> > > >
> > > > I can send a patch to blacklist it if thats fine with you.
> > >
> > > Fair enough, let me take a look at it myself.
> > >
> > >
> > > > >> Signed-off-by: Khem Raj 
> > > > >> ---
> > > > >>  recipes-ti/beagleboard/beaglebone-getting-started.bb | 2 +-
> > > > >>  1 file changed, 1 insertion(+), 1 deletion(-)
> > > > >>
> > > > >> diff --git a/recipes-ti/beagleboard/beaglebone-getting-started.bb 
> > > > >> b/recipes-ti/beagleboard/beaglebone-getting-started.bb
> > > > >> index 6c61a4e9..c86e3518 100644
> > > > >> --- a/recipes-ti/beagleboard/beaglebone-getting-started.bb
> > > > >> +++ b/recipes-ti/beagleboard/beaglebone-getting-started.bb
> > > > >> @@ -4,7 +4,7 @@ PR = "r21"
> > > > >>
> > > > >>  inherit allarch
> > > > >>
> > > > >> -LICENSE = "GPLv2+ & MIT & PD & others"
> > > > >> +LICENSE = "CC-BY-SA-3.0 & GPLv3+ & MIT & PD & others"
> > > > >>  LIC_FILES_CHKSUM = 
> > > > >> "file://LICENSE.txt;md5=603591dea023c3c75b48e07cb47ce639"
> > > > >>
> > > > >>  SRCREV = "6c548a307c948b28a99d48fd17d9790b56182196"
> > > > >> --
> > > > >> 2.23.0
> > > > >>
> > > > >> --
> > > > >> ___
> > > > >> meta-ti mailing list
> > > > >> meta-ti@yoctoproject.org
> > > > >> https://lists.yoctoproject.org/listinfo/meta-ti
> > > --
> > > ___
> > > meta-ti mailing list
> > > meta-ti@yoctoproject.org
> > > https://lists.yoctoproject.org/listinfo/meta-ti
-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


[meta-ti] [PATCH] vshmem-uio-driver: Make it ti-soc specific

2019-09-30 Thread Khem Raj
It rdepends on jailhouse package which is already marked at ti-soc
compatible only, so in a multi-BSP setup it ends up breaking builds

ERROR: Nothing RPROVIDES 'jailhouse' (but
/home/jenkins/oe/world/yoe/sources/meta-ti/recipes-bsp/ivshmem-uio/ivshmem-uio-driver_git.bb
RDEPENDS on or otherwise requires it)
jailhouse was skipped: incompatible with machine qemux86-64 (not in 
COMPATIBLE_MACHINE)
NOTE: Runtime target 'jailhouse' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['jailhouse']
NOTE: Runtime target 'ivshmem-uio-driver-dev' is unbuildable,
removing...
Missing or unbuildable dependency chain was: ['ivshmem-uio-driver-dev', 
'jailhouse']
ERROR: Nothing RPROVIDES 'ivshmem-uio-driver' (but 
/home/jenkins/oe/world/yoe/sources/meta-ti/recipes-bsp/ivshmem-uio/ivshmem-uio-driver_git.bb
 RDEPENDS on or otherwise requires it)
No eligible RPROVIDERs exist for 'ivshmem-uio-driver'
NOTE: Runtime target 'ivshmem-uio-driver' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['ivshmem-uio-driver']

Signed-off-by: Khem Raj 
---
 recipes-bsp/ivshmem-uio/ivshmem-uio-driver_git.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/recipes-bsp/ivshmem-uio/ivshmem-uio-driver_git.bb 
b/recipes-bsp/ivshmem-uio/ivshmem-uio-driver_git.bb
index a9f14552..39a75533 100644
--- a/recipes-bsp/ivshmem-uio/ivshmem-uio-driver_git.bb
+++ b/recipes-bsp/ivshmem-uio/ivshmem-uio-driver_git.bb
@@ -17,6 +17,8 @@ S = "${WORKDIR}/git"
 
 EXTRA_OEMAKE += 'KDIR="${STAGING_KERNEL_DIR}"'
 
+COMPATIBLE_MACHINE = "(ti-soc)"
+
 do_compile_prepend() {
 cd ${S}/kernel_module/uio
 }
-- 
2.23.0

-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti


Re: [meta-ti] [thud/master PATCH v2] recipes-bsp: ivshmem-uio: Add new recipe for ivshmem-uio driver

2019-09-30 Thread Khem Raj
On Fri, Sep 27, 2019 at 2:17 AM Nikhil Devshatwar  wrote:
>
> This is external kernel module which enables userspace io over the
> Jailhouse ivhsmem (inter VM shared memory)
> This driver is useful to test the inter VM communication.
>
> Signed-off-by: Nikhil Devshatwar 
> ---
> Changes from v1:
> * Split the ivshmem recipe separately
> * Add summary and remove PACKAGE_ARCH define
>
>  recipes-bsp/ivshmem-uio/ivshmem-uio-driver_git.bb | 27 
> +++
>  1 file changed, 27 insertions(+)
>  create mode 100644 recipes-bsp/ivshmem-uio/ivshmem-uio-driver_git.bb
>
> diff --git a/recipes-bsp/ivshmem-uio/ivshmem-uio-driver_git.bb 
> b/recipes-bsp/ivshmem-uio/ivshmem-uio-driver_git.bb
> new file mode 100644
> index 000..33fb946
> --- /dev/null
> +++ b/recipes-bsp/ivshmem-uio/ivshmem-uio-driver_git.bb
> @@ -0,0 +1,27 @@
> +DESCRIPTION =  "Kernel driver for IVSHMEM based UIO driver"
> +SUMMARY = "Kernel module which registers a UIO (userspace io) device for 
> inter VM shared memory"
> +HOMEPAGE = "https://github.com/henning-schild-work/ivshmem-guest-code";
> +LICENSE = "GPLv2"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=0546a27aad86c83b75ad4ee6133e9d5e"
> +
> +inherit module
> +
> +RDEPENDS_${PN} = "jailhouse"
> +

jailhouse is marked as ti-soc specific, so please mark this recipe
ti-soc specific as well. It will help meta-ti to live in a multi-BSP
distros

http://jenkins.nas-admin.org/view/OE/job/oe_world_qemux86-64/1164/consoleFull

if you could test meta-ti patches with one non-ti machine like qemux86
or some such it will help catch this kind of errors


> +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"
> +
> +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
>
> --
> ___
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti
-- 
___
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti