Re: [meta-ti] [EXTERNAL] Re: wget fetch issue with ti-cgt-pru_2.1.5.bb

2018-04-23 Thread Griffis, Brad
The issue has been resolved on the server side.  I confirmed that wget works 
fine now.  I expect the yocto build should be able to succeed now.

Best regards,
Brad

---

Brad Griffis
TI Digital Field Applications
Member Group Technical Staff (MGTS)
Schaumburg, IL
Office: 847-517-4699

[MyTI_yourToolbox_120dpi]

From: Peter Smith [mailto:sale...@gmail.com]
Sent: Monday, April 23, 2018 12:33 PM
To: Stiffler, Jacob
Cc: Griffis, Brad; meta-ti@yoctoproject.org
Subject: [EXTERNAL] Re: [meta-ti] wget fetch issue with ti-cgt-pru_2.1.5.bb

Both,

behind our corporate proxy the error is seen and on my private Mac (with no 
proxy etc). I too can download the file with Chrome but wget always fails, 
unfortunately Yocto uses wget.

Peter

Best Regards
Peter

On 23 April 2018 at 18:11, Stiffler, Jacob 
> wrote:
Brad,

On my home machine. I was able to recreate this with wget, but I was able to 
download through other methods. I am not sure what may be happening.

I was able to download through a browser (chrome), and I was able to download 
with “curl” using the following command:

$ curl -L 
http://software-dl.ti.com/codegen/esd/cgt_public_sw/PRU/2.2.1/ti_cgt_pru_2.2.1_linux_installer_x86.bin
 > ti_cgt_pru_2.2.1_linux_installer_x86.bin
  % Total% Received % Xferd  Average Speed   TimeTime Time  Current
 Dload  Upload   Total   SpentLeft  Speed
100   382  100   3820 0   2239  0 --:--:-- --:--:-- --:--:--  2247
  0 00 00 0  0  0 --:--:-- --:--:-- --:--:-- 0
100   318  100   3180 0848  0 --:--:-- --:--:-- --:--:--   848
100 17.0M  100 17.0M0 0  4040k  0  0:00:04  0:00:04 --:--:-- 4517k

$ file ti_cgt_pru_2.2.1_linux_installer_x86.bin
ti_cgt_pru_2.2.1_linux_installer_x86.bin: ELF 32-bit LSB  executable, Intel 
80386, version 1 (GNU/Linux), statically linked, stripped

- Jake

From: meta-ti-boun...@yoctoproject.org 
[mailto:meta-ti-boun...@yoctoproject.org]
 On Behalf Of Griffis, Brad
Sent: Monday, April 23, 2018 12:51 PM
To: meta-ti@yoctoproject.org
Subject: [EXTERNAL] [meta-ti] wget fetch issue with 
ti-cgt-pru_2.1.5.bb

Recipe: 
meta-ti/recipes-ti/devtools/ti-cgt-pru_2.1.5.bb
Issue summary: fetch of ti_cgt_pru_2.2.1_linux_installer_x86.bin results in 403 
forbidden error

In the rocko branch, I see we’re building PRU source code from source.  I 
wanted to report a fetch issue.  This was reported to me by a customer and I 
have independently confirmed I see the same behavior.

I can see the issue very easily just by doing a wget:

brad@brad-XPS-15-9560:~$ wget 
http://software-dl.ti.com/codegen/esd/cgt_public_sw/PRU/2.2.1/ti_cgt_pru_2.2.1_linux_installer_x86.bin
--2018-04-23 11:48:42--  
http://software-dl.ti.com/codegen/esd/cgt_public_sw/PRU/2.2.1/ti_cgt_pru_2.2.1_linux_installer_x86.bin
Resolving software-dl.ti.com 
(software-dl.ti.com)... 23.209.190.17
Connecting to software-dl.ti.com 
(software-dl.ti.com)|23.209.190.17|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: 
https://www.ti.com/general/docs/licreg/anonymousproddownload.tsp?downloadPage=true=http://software-dl.ti.com/codegen/esd/cgt_public_sw/PRU/2.2.1/ti_cgt_pru_2.2.1_linux_installer_x86.bin
 [following]
--2018-04-23 11:48:42--  
https://www.ti.com/general/docs/licreg/anonymousproddownload.tsp?downloadPage=true=http://software-dl.ti.com/codegen/esd/cgt_public_sw/PRU/2.2.1/ti_cgt_pru_2.2.1_linux_installer_x86.bin
Resolving www.ti.com (www.ti.com)... 
23.34.71.13, 2600:1407:21:281::b48, 2600:1407:21:285::b48
Connecting to www.ti.com 
(www.ti.com)|23.34.71.13|:443... 
connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: 
http://software-dl.ti.com/codegen/esd/cgt_public_sw/PRU/2.2.1/ti_cgt_pru_2.2.1_linux_installer_x86.bin?tracked=1
 [following]
--2018-04-23 11:48:42--  
http://software-dl.ti.com/codegen/esd/cgt_public_sw/PRU/2.2.1/ti_cgt_pru_2.2.1_linux_installer_x86.bin?tracked=1
Connecting to software-dl.ti.com 
(software-dl.ti.com)|23.209.190.17|:80... connected.
HTTP request sent, awaiting response... 403 Forbidden
2018-04-23 11:48:42 ERROR 403: Forbidden.

The above console snippet comes from my home PC where there is no 
firewall/proxy to complicate things.  There seems to be a fundamental issue 
being able to fetch this file.  Interestingly, if I run 

[meta-ti] [rocko/master][PATCH] multiprocmgr: don't hardcode "uapi" kernel location

2018-04-23 Thread Denys Dmytriyenko
From: Denys Dmytriyenko 

This way keystone_remoteproc.h can also be found in sysroots, when available.
Otherwise it can fall back to using kernel sources directly.

Signed-off-by: Denys Dmytriyenko 
---
 ...on-t-hardcode-kernel-s-uapi-location-keys.patch | 27 ++
 recipes-ti/multiprocmgr/multiprocmgr_git.bb|  9 +---
 2 files changed, 33 insertions(+), 3 deletions(-)
 create mode 100644 
recipes-ti/multiprocmgr/multiprocmgr/0001-mpmdlif.c-don-t-hardcode-kernel-s-uapi-location-keys.patch

diff --git 
a/recipes-ti/multiprocmgr/multiprocmgr/0001-mpmdlif.c-don-t-hardcode-kernel-s-uapi-location-keys.patch
 
b/recipes-ti/multiprocmgr/multiprocmgr/0001-mpmdlif.c-don-t-hardcode-kernel-s-uapi-location-keys.patch
new file mode 100644
index 000..25deedc
--- /dev/null
+++ 
b/recipes-ti/multiprocmgr/multiprocmgr/0001-mpmdlif.c-don-t-hardcode-kernel-s-uapi-location-keys.patch
@@ -0,0 +1,27 @@
+From 17c307ff6e67af43f243366baa2ccc01f89c Mon Sep 17 00:00:00 2001
+From: Denys Dmytriyenko 
+Date: Mon, 23 Apr 2018 15:35:44 -0400
+Subject: [PATCH] mpmdlif.c: don't hardcode kernel's "uapi" location
+ keystone_remoteproc.h
+
+Signed-off-by: Denys Dmytriyenko 
+---
+ src/daemon/mpmdlif.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/daemon/mpmdlif.c b/src/daemon/mpmdlif.c
+index 0c31604..d287bbc 100644
+--- a/src/daemon/mpmdlif.c
 b/src/daemon/mpmdlif.c
+@@ -47,7 +47,7 @@
+ #include 
+ 
+ #define _LINUX_TYPES_H
+-#include "uapi/linux/keystone_remoteproc.h"
++#include "linux/keystone_remoteproc.h"
+ #include "internal/rsc_types.h"
+ //#include 
+ // #define LOADER_DEBUG
+-- 
+2.7.4
+
diff --git a/recipes-ti/multiprocmgr/multiprocmgr_git.bb 
b/recipes-ti/multiprocmgr/multiprocmgr_git.bb
index 053a04e..f37b97e 100644
--- a/recipes-ti/multiprocmgr/multiprocmgr_git.bb
+++ b/recipes-ti/multiprocmgr/multiprocmgr_git.bb
@@ -3,15 +3,18 @@ SUMMARY = "Provides download, debug and other utilities for 
other cores in the S
 
 include multiprocmgr.inc
 
-SRC_URI_append = " file://mpmsrv-daemon.service"
+SRC_URI += " \
+   file://mpmsrv-daemon.service \
+   file://0001-mpmdlif.c-don-t-hardcode-kernel-s-uapi-location-keys.patch \
+"
 
-PR = "${INC_PR}.1"
+PR = "${INC_PR}.2"
 
 DEPENDS = "mpm-transport libdaemon virtual/kernel cmem"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-CC += "-I${STAGING_KERNEL_DIR}/include"
+CC += "-I${STAGING_KERNEL_DIR}/include -I${STAGING_KERNEL_DIR}/include/uapi"
 
 INITSCRIPT_NAME = "mpmsrv-daemon.sh"
 INITSCRIPT_PARAMS = "defaults 10"
-- 
2.7.4

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


[meta-ti] [PATCH 2/2] u-boot-ti-staging: update to ti2018.01-rc1

2018-04-23 Thread Dan Murphy
Signed-off-by: Dan Murphy 
---
 recipes-bsp/u-boot/u-boot-ti-staging_2018.01.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes-bsp/u-boot/u-boot-ti-staging_2018.01.bb 
b/recipes-bsp/u-boot/u-boot-ti-staging_2018.01.bb
index 7448d3be..6cc3b06e 100644
--- a/recipes-bsp/u-boot/u-boot-ti-staging_2018.01.bb
+++ b/recipes-bsp/u-boot/u-boot-ti-staging_2018.01.bb
@@ -1,7 +1,7 @@
 require u-boot-ti.inc
 
-PR = "r6"
+PR = "r7"
 
 BRANCH = "ti-u-boot-2018.01"
 
-SRCREV = "ed7323e9f60153ff25c053b8fdba16770ccc8fab"
+SRCREV = "b7062f885fcd98f8e88addd3e644682aa0d6372a"
-- 
2.17.0.252.gfe0a9eaf3

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


[meta-ti] [PATCH 1/2] linux-ti-staging: update to ti2018.01-rc1

2018-04-23 Thread Dan Murphy
Signed-off-by: Dan Murphy 
---
 recipes-kernel/linux/linux-ti-staging-rt_4.14.bb | 4 ++--
 recipes-kernel/linux/linux-ti-staging_4.14.bb| 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/recipes-kernel/linux/linux-ti-staging-rt_4.14.bb 
b/recipes-kernel/linux/linux-ti-staging-rt_4.14.bb
index 318dfd44..4a9c1f1f 100644
--- a/recipes-kernel/linux/linux-ti-staging-rt_4.14.bb
+++ b/recipes-kernel/linux/linux-ti-staging-rt_4.14.bb
@@ -6,5 +6,5 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-4.14:"
 
 BRANCH = "ti-rt-linux-4.14.y"
 
-SRCREV = "f29f0b9709446058e0f019cad571ca4474d23d16"
-PV = "4.14.32+git${SRCPV}"
+SRCREV = "e5e55e02cf303fe8428e324ad0e17e4ad7e471cb"
+PV = "4.14.35+git${SRCPV}"
diff --git a/recipes-kernel/linux/linux-ti-staging_4.14.bb 
b/recipes-kernel/linux/linux-ti-staging_4.14.bb
index bce683f2..609fe237 100644
--- a/recipes-kernel/linux/linux-ti-staging_4.14.bb
+++ b/recipes-kernel/linux/linux-ti-staging_4.14.bb
@@ -54,8 +54,8 @@ S = "${WORKDIR}/git"
 
 BRANCH = "ti-lsk-linux-4.14.y"
 
-SRCREV = "dc3e450dede7002f915539b67a02a6dc7aec9d66"
-PV = "4.14.32+git${SRCPV}"
+SRCREV = "312183a496e86168b24ce180732adfde77cacd5b"
+PV = "4.14.35+git${SRCPV}"
 
 # Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild
 MACHINE_KERNEL_PR_append = "a"
-- 
2.17.0.252.gfe0a9eaf3

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


Re: [meta-ti] wget fetch issue with ti-cgt-pru_2.1.5.bb

2018-04-23 Thread Stiffler, Jacob
Brad,

On my home machine. I was able to recreate this with wget, but I was able to 
download through other methods. I am not sure what may be happening.

I was able to download through a browser (chrome), and I was able to download 
with "curl" using the following command:

$ curl -L 
http://software-dl.ti.com/codegen/esd/cgt_public_sw/PRU/2.2.1/ti_cgt_pru_2.2.1_linux_installer_x86.bin
 > ti_cgt_pru_2.2.1_linux_installer_x86.bin
  % Total% Received % Xferd  Average Speed   TimeTime Time  Current
 Dload  Upload   Total   SpentLeft  Speed
100   382  100   3820 0   2239  0 --:--:-- --:--:-- --:--:--  2247
  0 00 00 0  0  0 --:--:-- --:--:-- --:--:-- 0
100   318  100   3180 0848  0 --:--:-- --:--:-- --:--:--   848
100 17.0M  100 17.0M0 0  4040k  0  0:00:04  0:00:04 --:--:-- 4517k

$ file ti_cgt_pru_2.2.1_linux_installer_x86.bin
ti_cgt_pru_2.2.1_linux_installer_x86.bin: ELF 32-bit LSB  executable, Intel 
80386, version 1 (GNU/Linux), statically linked, stripped

- Jake

From: meta-ti-boun...@yoctoproject.org 
[mailto:meta-ti-boun...@yoctoproject.org] On Behalf Of Griffis, Brad
Sent: Monday, April 23, 2018 12:51 PM
To: meta-ti@yoctoproject.org
Subject: [EXTERNAL] [meta-ti] wget fetch issue with ti-cgt-pru_2.1.5.bb

Recipe: meta-ti/recipes-ti/devtools/ti-cgt-pru_2.1.5.bb
Issue summary: fetch of ti_cgt_pru_2.2.1_linux_installer_x86.bin results in 403 
forbidden error

In the rocko branch, I see we're building PRU source code from source.  I 
wanted to report a fetch issue.  This was reported to me by a customer and I 
have independently confirmed I see the same behavior.

I can see the issue very easily just by doing a wget:

brad@brad-XPS-15-9560:~$ wget 
http://software-dl.ti.com/codegen/esd/cgt_public_sw/PRU/2.2.1/ti_cgt_pru_2.2.1_linux_installer_x86.bin
--2018-04-23 11:48:42--  
http://software-dl.ti.com/codegen/esd/cgt_public_sw/PRU/2.2.1/ti_cgt_pru_2.2.1_linux_installer_x86.bin
Resolving software-dl.ti.com (software-dl.ti.com)... 23.209.190.17
Connecting to software-dl.ti.com (software-dl.ti.com)|23.209.190.17|:80... 
connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: 
https://www.ti.com/general/docs/licreg/anonymousproddownload.tsp?downloadPage=true=http://software-dl.ti.com/codegen/esd/cgt_public_sw/PRU/2.2.1/ti_cgt_pru_2.2.1_linux_installer_x86.bin
 [following]
--2018-04-23 11:48:42--  
https://www.ti.com/general/docs/licreg/anonymousproddownload.tsp?downloadPage=true=http://software-dl.ti.com/codegen/esd/cgt_public_sw/PRU/2.2.1/ti_cgt_pru_2.2.1_linux_installer_x86.bin
Resolving www.ti.com (www.ti.com)... 
23.34.71.13, 2600:1407:21:281::b48, 2600:1407:21:285::b48
Connecting to www.ti.com 
(www.ti.com)|23.34.71.13|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: 
http://software-dl.ti.com/codegen/esd/cgt_public_sw/PRU/2.2.1/ti_cgt_pru_2.2.1_linux_installer_x86.bin?tracked=1
 [following]
--2018-04-23 11:48:42--  
http://software-dl.ti.com/codegen/esd/cgt_public_sw/PRU/2.2.1/ti_cgt_pru_2.2.1_linux_installer_x86.bin?tracked=1
Connecting to software-dl.ti.com (software-dl.ti.com)|23.209.190.17|:80... 
connected.
HTTP request sent, awaiting response... 403 Forbidden
2018-04-23 11:48:42 ERROR 403: Forbidden.

The above console snippet comes from my home PC where there is no 
firewall/proxy to complicate things.  There seems to be a fundamental issue 
being able to fetch this file.  Interestingly, if I run the command from inside 
the TI firewall it works ok.

Best regards,
Brad

---

Brad Griffis
TI Digital Field Applications
Member Group Technical Staff (MGTS)
Schaumburg, IL
Office: 847-517-4699

[cid:image001.jpg@01D3DB04.5E41A970]

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


[meta-ti] wget fetch issue with ti-cgt-pru_2.1.5.bb

2018-04-23 Thread Griffis, Brad
Recipe: meta-ti/recipes-ti/devtools/ti-cgt-pru_2.1.5.bb
Issue summary: fetch of ti_cgt_pru_2.2.1_linux_installer_x86.bin results in 403 
forbidden error

In the rocko branch, I see we're building PRU source code from source.  I 
wanted to report a fetch issue.  This was reported to me by a customer and I 
have independently confirmed I see the same behavior.

I can see the issue very easily just by doing a wget:

brad@brad-XPS-15-9560:~$ wget 
http://software-dl.ti.com/codegen/esd/cgt_public_sw/PRU/2.2.1/ti_cgt_pru_2.2.1_linux_installer_x86.bin
--2018-04-23 11:48:42--  
http://software-dl.ti.com/codegen/esd/cgt_public_sw/PRU/2.2.1/ti_cgt_pru_2.2.1_linux_installer_x86.bin
Resolving software-dl.ti.com (software-dl.ti.com)... 23.209.190.17
Connecting to software-dl.ti.com (software-dl.ti.com)|23.209.190.17|:80... 
connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: 
https://www.ti.com/general/docs/licreg/anonymousproddownload.tsp?downloadPage=true=http://software-dl.ti.com/codegen/esd/cgt_public_sw/PRU/2.2.1/ti_cgt_pru_2.2.1_linux_installer_x86.bin
 [following]
--2018-04-23 11:48:42--  
https://www.ti.com/general/docs/licreg/anonymousproddownload.tsp?downloadPage=true=http://software-dl.ti.com/codegen/esd/cgt_public_sw/PRU/2.2.1/ti_cgt_pru_2.2.1_linux_installer_x86.bin
Resolving www.ti.com (www.ti.com)... 23.34.71.13, 2600:1407:21:281::b48, 
2600:1407:21:285::b48
Connecting to www.ti.com (www.ti.com)|23.34.71.13|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: 
http://software-dl.ti.com/codegen/esd/cgt_public_sw/PRU/2.2.1/ti_cgt_pru_2.2.1_linux_installer_x86.bin?tracked=1
 [following]
--2018-04-23 11:48:42--  
http://software-dl.ti.com/codegen/esd/cgt_public_sw/PRU/2.2.1/ti_cgt_pru_2.2.1_linux_installer_x86.bin?tracked=1
Connecting to software-dl.ti.com (software-dl.ti.com)|23.209.190.17|:80... 
connected.
HTTP request sent, awaiting response... 403 Forbidden
2018-04-23 11:48:42 ERROR 403: Forbidden.

The above console snippet comes from my home PC where there is no 
firewall/proxy to complicate things.  There seems to be a fundamental issue 
being able to fetch this file.  Interestingly, if I run the command from inside 
the TI firewall it works ok.

Best regards,
Brad

---

Brad Griffis
TI Digital Field Applications
Member Group Technical Staff (MGTS)
Schaumburg, IL
Office: 847-517-4699

[cid:image001.jpg@01D3DAF9.498214D0]

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