Hi,
Sorry if it is a repeated question but could not find this specific issue mentioned before.
Trying to bitbake yocto sdk 1.1.1 2.4 under Ubuntu 16.04:
2123 mkdir yocto-sdk
2124 cd yocto-sdk/
2126 sudo ~/bin/repo init -u https://source.codeaurora.org/external/qoriq/qoriq-components/yocto-sdk -b thud
2129 sudo ~/bin/repo sync --no-clone-bundle
2130 . ./setup-env -m t4240rdb-64b
2131 bitbake fsl-image-networking
and seeing this error:
ERROR: bzip2-native-1.0.6-r5 do_fetch: Fetcher failure for URL: 'http://downloads.yoctoproject.org/mirror/sources/bzip2-1.0.6.tar.gz'. Unable to fetch URL from any source.
ERROR: bzip2-native-1.0.6-r5 do_fetch: Function failed: base_do_fetch
Looking at the log:
Resolving downloads.yoctoproject.org (downloads.yoctoproject.org)... 198.145.29.63
Connecting to downloads.yoctoproject.org (downloads.yoctoproject.org)|198.145.29.63|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 782025 (764K) [application/octet-stream]
Saving to: ...Downloads/yocto-sdk/downloads/bzip2-1.0.6.tar.gz’
0K .......... .......... .......... .......... .......... 6% 272K 3s
50K .......... .......... .......... .......... .......... 13% 518K 2s
100K .......... .......... .......... .......... .......... 19% 297K 2s
150K .......... .......... .......... .......... .......... 26% 87.7K 3s
200K .......... .......... .......... .......... .......... 32% 449K 2s
250K .......... .......... .......... .......... .......... 39% 9.60M 2s
300K .......... .......... .......... .......... .......... 45% 18.2M 1s
350K .......... .......... .......... .......... .......... 52% 262K 1s
400K .......... .......... .......... .......... .......... 58% 2.84M 1s
450K .......... .......... .......... .......... .......... 65% 367K 1s
500K .......... .......... .......... .......... .......... 72% 3.16M 1s
550K .......... .......... .......... .......... .......... 78% 4.75M 0s
600K .......... .......... .......... .. 82% 15.8M=1.5s
2019-03-13 19:33:12 (419 KB/s) - Read error at byte 647168/782025 (Success). Retrying.
--2019-03-13 19:33:13-- (try: 2) http://downloads.yoctoproject.org/mirror/sources/bzip2-1.0.6.tar.gz
Connecting to downloads.yoctoproject.org (downloads.yoctoproject.org)|198.145.29.63|:80... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 782025 (764K), 134857 (132K) remaining [application/octet-stream]
Saving to: ...Downloads/yocto-sdk/downloads/bzip2-1.0.6.tar.gz’
[ skipping 600K ]
600K ,,,,,,,,,, ,,,,,,,,,, ,,,,,,,,,, ,,........ ....... 84% 11.4M=0.001s
2019-03-13 19:33:45 (11.4 MB/s) - Read error at byte 663292/782025 (Success). Giving up.
ERROR: Fetcher failure for URL: 'http://downloads.yoctoproject.org/mirror/sources/bzip2-1.0.6.tar.gz'. Unable to fetch URL from any source.
The odd thing is that looking here: "http://downloads.yoctoproject.org/mirror/sources/"
I can download several files of various sizes but not the bzip2-1.0.6... in question. There are probably other files that fail as well. It seems like a server problem to me but that seems odd.
Thanks,
Tomas
Turns out I can download the files from my phone... so it is a network problem. Probably a firewall issue or something like that.
Thanks for the comments.
Tomas
Thanks Pavel Chubakov, it is 2.4 (I was thinking about the ssl version...)...
NXP offers SDK 2.0 Yocto based Linux BSP for the T4240rdb board:
We have tested this SDK under Ubuntu 12 and Ubuintu 14t. Do not use Ubuntu 16.
Use the following command sequence:
Message: /bin/sh -> dash
Answer after password – No
Message:
Removing 'diversion of /bin/sh to /bin/sh.distrib by dash'
Adding 'diversion of /bin/sh to /bin/sh.distrib by bash'
Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash'
Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash'
Message: /bin/sh -> bash
Usually Linux recommends also run the following command: sudo usr/sbin/visudo
Have a great day,
TIC
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------