Announcement

Collapse
No announcement yet.

Yocto Course

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    Please, where in the course you are? Which lesson and what minute?

    Comment


    • M. Namvar
      M. Namvar commented
      Editing a comment
      lesson two
      it solved by this command "touch conf/sanity.conf"
      thank you robert

  • #17
    Hi Robert
    Can you help me?
    Yocto lesson 3
    Click image for larger version

Name:	Untitled.jpg
Views:	110
Size:	407.5 KB
ID:	18111
    Attached Files

    Comment


    • #18
      Please double check the changes you made ... maybe an error in the conf file? See the messages at the top of the screen.

      Comment


      • M. Namvar
        M. Namvar commented
        Editing a comment
        it solved.
        I reviewed all the steps and fixed the problem
        My problem was that I also ran the red cross part. The idea was that this part could be run after installation
        Thankful

    • #19
      Related to the above explanation
      Attached Files

      Comment


      • #20
        Hi again
        there is no u-boot.imx in the git directory.
        Where did I go wrong؟ Click image for larger version

Name:	Untitled.jpg
Views:	130
Size:	256.5 KB
ID:	18162

        Comment


        • #21
          Maybe try to have a look into u-boot-fslc directory ... maybe the uboot you are building has a different commit number?

          Comment


          • #22
            it is empty
            Attached Files

            Comment


            • #23
              Ah, Click image for larger version

Name:	Untitled.jpg
Views:	126
Size:	84.0 KB
ID:	18175 Click image for larger version

Name:	Untitled.jpg
Views:	119
Size:	84.0 KB
ID:	18176 Solved!

              Comment


              • #24
                Originally posted by M. Namvar View Post
                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
                1. Open a command prompt
                2. Run the following commands replacing USERNAME, PASSWORD, PROXY_ADDRESS, and PROXY_PORT with your network's information:
                  1. git config --global --add http.proxy http://USERNAME:[email protected]_ADDRESS:PROXY_PORT
                  2. git config --global --add https.proxy http://USERNAME:[email protected]_ADDRESS:PROXY_PORT
                3. Run the following commands to prevent SSH problems:
                  1. git config --global url."https://".insteadOf git://
                  2. git config --global url."https://github.com/".insteadOf [email protected]: (don't remove the final colon)
                4. 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
                I checked my network setting, it seems I didn't setup any proxy server. Is that mean i need to setup the proxy server before I can run the command,
                "repo init -u https://github.com/Freescale/fsl-community-bsp-platform -b jethro"?

                Comment


                • #25
                  Clement please just confirm, you are behind a proxy, right?

                  Comment


                  • Clement
                    Clement commented
                    Editing a comment
                    yes. I don't know whether I am using a proxy.

                • #26
                  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


                  • #27
                    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


                    • #28
                      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


                      • #29
                        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


                        • Clement
                          Clement commented
                          Editing a 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.

                      • #30
                        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

                        Working...
                        X