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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

1,562 次查看
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 项奖励
回复
2 回复数

1,539 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport
0 项奖励
回复

1,046 次查看
jEugin
Contributor I
This link is not working. Can you place the updated one?
0 项奖励
回复