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

Stiffler, Jacob j-stiffler at ti.com
Mon Apr 23 10:11:47 PDT 2018


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   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   382  100   382    0     0   2239      0 --:--:-- --:--:-- --:--:--  2247
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   318  100   318    0     0    848      0 --:--:-- --:--:-- --:--:--   848
100 17.0M  100 17.0M    0     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-bounces at yoctoproject.org [mailto:meta-ti-bounces at yoctoproject.org] On Behalf Of Griffis, Brad
Sent: Monday, April 23, 2018 12:51 PM
To: meta-ti at 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 at 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&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 [following]
--2018-04-23 11:48:42--  https://www.ti.com/general/docs/licreg/anonymousproddownload.tsp?downloadPage=true&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
Resolving www.ti.com<http://www.ti.com> (www.ti.com<http://www.ti.com>)... 23.34.71.13, 2600:1407:21:281::b48, 2600:1407:21:285::b48
Connecting to www.ti.com<http://www.ti.com> (www.ti.com)|23.34.71.13|:443<http://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 at 01D3DB04.5E41A970]<https://store.ti.com/?HQS=sdm-mm-null-americascentral-besig-store-null-wwe>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-ti/attachments/20180423/34d8aba6/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 15513 bytes
Desc: image001.jpg
URL: <http://lists.yoctoproject.org/pipermail/meta-ti/attachments/20180423/34d8aba6/attachment-0001.jpg>


More information about the meta-ti mailing list