Please, where in the course you are? Which lesson and what minute?
Announcement
Collapse
No announcement yet.
Yocto Course
Collapse
X
-
-
Please double check the changes you made ... maybe an error in the conf file? See the messages at the top of the screen.Comment
-
Maybe try to have a look into u-boot-fslc directory ... maybe the uboot you are building has a different commit number?Comment
-
if you are behind a proxy server, like me, the repo sync may fail. So use these commands to solve it.
Setting the proxy for Git- Open a command prompt
- Run the following commands replacing USERNAME, PASSWORD, PROXY_ADDRESS, and PROXY_PORT with your network's information:
- git config --global --add http.proxy http://USERNAME:PASSWORD@PROXY_ADDRESS:PROXY_PORT
- git config --global --add https.proxy http://USERNAME:PASSWORD@PROXY_ADDRESS:PROXY_PORT
- Run the following commands to prevent SSH problems:
- git config --global url."https://".insteadOf git://
- git config --global url."https://github.com/".insteadOf [email protected]: (don't remove the final colon)
- If your computer is within a corporate network that uses personal network drives, ensure identical copies of your .gitconfig file exist on both the network drive and your local drive's user profile (e.g. F:\ and C:\Users\USERNAME).
Source : https://wet-boew.github.io/v4.0-ci/docs/proxy-en.html
"repo init -u https://github.com/Freescale/fsl-community-bsp-platform -b jethro"?2 PhotosComment
-
Clement I repeated all the steps from the course and now I passed the point where your installation failed, it is working oki in my virtual machine. I am not really sure why you are having the problems. Maybe try again ... everything I had to do extra was running the commands as @M. Navar described: $sudo add-apt-repository ppa:deadsnakes/ppa
$ sudo apt update
$ sudo apt install python3.6
I had to run them because "repo init -u https://github.com/Freescale/fsl-community-bsp-platform -b jethro" failed with error:
"repo: error: Python 2 is no longer supported; Please upgrade to Python 3.5+."
Comment
-
However, it looks like they have changed something again. When I run repo sync, I am getting errors like:
"fatal: unable to access 'https://git.yoctoproject.org/git/poky/': server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none"
I will check how to fix this problem. If you can't find the solution, please send me an email and I will return your payment.Comment
-
Clement I am still working on the certificate issue. I contacted Lubomir, he is an expert for YOCTO and he may be even doing another YOCTO course. He may be able to help with this. I will let you know when I have some updates.
Is there anything new on your side? Have you been able to move ahead?Comment
-
Clement I updated the Lesson 1 description, this should help:
Install the new version of Python
$sudo add-apt-repository ppa:deadsnakes/ppa
$ sudo apt update
$ sudo apt install python3.6
Disable certificates
export GIT_SSL_NO_VERIFY=1
If you keep having problems with certificates:
sudo dpkg-reconfigure ca-certificates
sudo update-ca-certificates
Update curl
sudo nano /etc/apt/sources.list
Into sources.list insert
deb http://security.ubuntu.com/ubuntu xenial-security main
deb http://cz.archive.ubuntu.com/ubuntu xenial main universe
and then run
sudo apt-get update
sudo apt-get install curl
Let me know.
Comment
-
I try to install the python 3.63 and then try the commands from https://www.imx6rex.com/open-rex/sof...ine-for-yocto/ in my 16.04 ubuntu. it works for me. The above command has been tried in my VM ubuntu 14.04, still not work. but now i am able to continue with my 16.04 ubuntu.
-
-
Hi all!
I've followed without problem all the instructions in the video of Lesson 1 up to minute 43:25. At which point I get the same error robertferanec previously reported: "repo: error: Python 2 is no longer supported; Please upgrade to Python 3.5+."
However, I'm not able to install python3.6 following the above instructions (#29). Specifically, I run the first two commands with no problem. After that, the /etc/apt/sources.list.d/deadsnakes-ppa-trusty.list file is created with the following lines:
deb http://ppa.launchpad.net/deadsnakes/ppa/ubuntu trusty main
# deb-src http://ppa.launchpad.net/deadsnakes/ppa/ubuntu trusty main
But when I run the last command (sudo apt install python3.6) I get:
E: Unable to locate package python3.6
E: Couldn't find any package by regex 'python3.6'
I've also tried the instructions of "Disable certificates" and "Update curl", but got the same results.
I finally managed to install python3.6 by downloading and installing it manually, as explained in Method 2 on this website: http://devopspy.com/python/install-p...-6-ubuntu-lts/
After this, "repo init -u https://github.com/Freescale/fsl-community-bsp-platform -b jethro" failed with error:
Downloading Repo source from https://gerrit.googlesource.com/git-repo
fatal: Cannot get https://gerrit.googlesource.com/git-repo/clone.bundle
fatal: error unknown url type: https
fatal: cloning the git-repo repository failed, will remove '.repo/repo'
My repo version (repo --version) outputs:
<repo not installed>
repo launcher version 2.17
(from /home/rutrilla/bin/repo)
git 1.9.1
Python 3.6.3 (default, Jan 20 2022, 19:01:11)
[GCC 4.8.4]
OS Linux 4.2.0-42-generic (#49~14.04.1-Ubuntu SMP Wed Jun 29 20:22:11 UTC 2016)
CPU x86_64 (x86_64)
Bug reports: https://bugs.chromium.org/p/gerrit/i...epo+tool+issue
I've searched for this error (https://groups.google.com/g/android-...aPe4vP_8?pli=1) and I'm afraid the problem must come from python being built without the necessary features.
Does anyone have any idea how to unlock this situation?
Thanks in advance!Comment
Comment