An error during building the yocto imx-image in a docker container.

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

An error during building the yocto imx-image in a docker container.

1,560 Views
Harris
Contributor III

Dears,

I am trying to build the yocto imx-image in a docker container according to chapter 3.1 Docker in spec <<i.MX Yocto Project User's Guide>>(Rev. LF5.15.5_1.0.0 — 31 March 2022).

I think the Docker has been setup successfully. I type docker info command in ubuntu 20.04 and system reply me with Server Version: 20.10.14.

I try to run these two command: 

IMX_RELEASE=imx-5.10.35-2.0.0

sudo ./docker-run.sh ${IMX_RELEASE}/yocto-build.sh

but the system tips following fatal message:

Downloading Repo source from https://gerrit.googlesource.com/git-repo
fatal: cannot make /opt/yocto/imx-5.10.35-2.0.0-build/.repo/repo directory: Permission denied
fatal: double check your --repo-rev setting.
fatal: cloning the git-repo repository failed, will remove '.repo/repo'
error: command 'sync' requires repo to be installed first.
Use "repo init" to install it here.
imx-5.10.35-2.0.0/yocto-build.sh: line 24: imx-setup-release.sh: No such file or directory
imx-5.10.35-2.0.0/yocto-build.sh: line 28: bitbake: command not found

 

Can anybody help to answer me? Thanks for your time.

0 Kudos
Reply
2 Replies

1,537 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport
0 Kudos
Reply

1,044 Views
jEugin
Contributor I
This link is not working. Can you place the updated one?
0 Kudos
Reply