Yocto Project Setup fail for i.MX 8m nano

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Yocto Project Setup fail for i.MX 8m nano

1,038 Views
Mahesh27
Contributor I

hi ,

i am using i.MX8m Nano EVB and unable to download and  setup the yocto project.

 

steps:

sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib build-essential chrpath socat cpio python python3 python3-pip python3-pexpect xz-utils debianutils iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev pylint3 xterm

To install the “repo” utility, perform these steps:

1. Create a bin folder in the home directory.
$ mkdir ~/bin (this step may not be needed if the bin folder already exists)
$ curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
$ chmod a+x ~/bin/repo
2. Add the following line to the end of ~/.bashrc file to ensure that the ~/bin folder is in your PATH variable.
export PATH=~/bin:$PATH

mahesh@mahesh-VPCEH36EN:~/mahesh/nxp/imx8$ mkdir imx-yocto-bsp
mahesh@mahesh-VPCEH36EN:~/mahesh/nxp/imx8$ cd imx-yocto-bsp/
mahesh@mahesh-VPCEH36EN:~/mahesh/nxp/imx8/imx-yocto-bsp$ ls
mahesh@mahesh-VPCEH36EN:~/mahesh/nxp/imx8/imx-yocto-bsp$ repo init -u https://source.codeaurora.org/external/imx/imx-manifest -b imx-linux-zeus -m imx-5.4.24-2.1.0.xml
Get https://gerrit.googlesource.com/git-repo/clone.bundle
Get https://gerrit.googlesource.com/git-repo
remote: Counting objects: 7, done
remote: Finding sources: 100% (123/123)
remote: Total 123 (delta 49), reused 123 (delta 49)
Receiving objects: 100% (123/123), 134.55 KiB | 2.80 MiB/s, done.
Resolving deltas: 100% (49/49), completed with 12 local objects.
From https://gerrit.googlesource.com/git-repo
ceba2dd..511a0e5 main -> origin/main
b64bec6..511a0e5 stable -> origin/stable
* [new tag] v2.13 -> v2.13
* [new tag] v2.13.1 -> v2.13.1
* [new tag] v2.13.2 -> v2.13.2
* [new tag] v2.13.3 -> v2.13.3
* [new tag] v2.13.4 -> v2.13.4
* [new tag] v2.13.5 -> v2.13.5
* [new tag] v2.13.6 -> v2.13.6
File "/home/mahesh/mahesh/nxp/imx8/imx-yocto-bsp/.repo/repo/main.py", line 79
file=sys.stderr)
^
SyntaxError: invalid syntax
mahesh@mahesh-VPCEH36EN:~/mahesh/nxp/imx8/imx-yocto-bsp$

 

Screenshot from 2021-03-17 15-47-36.png

 

Thank you,

Y Mahesh.

 

0 Kudos
Reply
1 Reply

1,020 Views
Mahesh27
Contributor I

hi,

 

Please help me on above issue.

 

Thank you,

Y Mahesh.

 

0 Kudos
Reply