run bitmake error

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

run bitmake error

4,381 次查看
justdomyself
Contributor II

when I run the cmd below , report error :

bitbake imx-image-multimedia

 

error info


alientek@ubuntu:~/bin/imx-yocto-bsp/build-wayland$ bitbake imx-image-multimedia ERROR: The following layer directories do not exist:
ERROR: /home/alientek/bin/imx-yocto-bsp/sources/meta-arm/meta-arm
ERROR: /home/alientek/bin/imx-yocto-bsp/sources/meta-arm/meta-arm-toolchain
ERROR: Please check BBLAYERS in /home/alientek/bin/imx-yocto-bsp/build-wayland/conf/bblayers.conf

 

error info means  :

/home/alientek/bin/imx-yocto-bsp/sources/meta-arm/meta-arm

/home/alientek/bin/imx-yocto-bsp/sources/meta-arm/meta-arm-toolchain

do not exist , but I  check it ,it  exists!

 

alientek@ubuntu:~/bin/imx-yocto-bsp/build-wayland$
alientek@ubuntu:~/bin/imx-yocto-bsp/build-wayland$ cd ..
alientek@ubuntu:~/bin/imx-yocto-bsp$ ls
build-wayland imx-setup-release.sh README README-IMXBSP setup-environment sources
alientek@ubuntu:~/bin/imx-yocto-bsp$ cd sources/
alientek@ubuntu:~/bin/imx-yocto-bsp/sources$ ls
base meta-clang meta-freescale-distro meta-openembedded meta-timesys
meta-arm meta-freescale meta-imx meta-qt6 meta-virtualization
meta-browser meta-freescale-3rdparty meta-nxp-demo-experience meta-security poky
alientek@ubuntu:~/bin/imx-yocto-bsp/sources$ cd meta-arm/
alientek@ubuntu:~/bin/imx-yocto-bsp/sources/meta-arm$ ls
ci COPYING.MIT documentation kas meta-arm-bsp README.md

 

 

0 项奖励
回复
10 回复数

4,204 次查看
kenli
NXP Employee
NXP Employee

Please strictly follow the guide I sent you to operate, including the host OS version and necessary software.

If the network is not good, you can use -- bitbake target --runall=fetch to download first.

I have no problem verifying on ubuntu20.04.

Best regards
0 项奖励
回复

4,320 次查看
Harvey021
NXP TechSupport
NXP TechSupport

Hi @justdomyself 

Find that some layers in your sources and files in layer meta-arm missed. 

I doubt repo tool might be the reason causing this problem.

 

Best regards

Harvey

0 项奖励
回复

4,338 次查看
kenli
NXP Employee
NXP Employee

I do not use this step "export REPO_URL='https://mirrors.tuna.tsinghua.edu.cn/git/git-repo/'“
and its work in my site.i suggest you follow the guide "https://www.nxp.com.cn/docs/en/user-guide/IMX_YOCTO_PROJECT_USERS_GUIDE.pdf".
and if you can not ping google,you may need a proxy.

Best regards
0 项奖励
回复

4,362 次查看
kenli
NXP Employee
NXP Employee

Could you tell me which BSP you used and all the commands you used so that I can check for any issues? 

Best regards
0 项奖励
回复

4,329 次查看
justdomyself
Contributor II

I have give my operate steps, so  what is the problem?

0 项奖励
回复

4,286 次查看
justdomyself
Contributor II
can you anwser my questions ? thanskyou
0 项奖励
回复

4,258 次查看
kenli
NXP Employee
NXP Employee

what‘s your issue,please follow the guide,and if you can not ping google,maybe you need a vpn or proxy,its your network issue.no issue in my site.

Best regards
0 项奖励
回复

4,231 次查看
justdomyself
Contributor II

Yes , I have my vpn account。 I run step1 to step 8 is Ok。but when I run  step 9,to run the bitbake cmd, 

errors.

 

1
mkdir ~/bin

export PATH=~/bin:$PATH


2
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo

 

4
export REPO_URL='https://mirrors.tuna.tsinghua.edu.cn/git/git-repo/'

5
mkdir imx-yocto-bsp
cd imx-yocto-bsp

7
repo init -u https://github.com/nxp-imx/imx-manifest -b imx-linux-mickledore -m imx-6.1.22-2.0.0.xml

 

8
repo sync

DISTRO=fsl-imx-wayland MACHINE=imx8mn-ddr4-evk source imx-setup-release.sh -b build-wayland

 

9

bitbake imx-image-multimedia

 

 

标记 (1)
0 项奖励
回复

4,194 次查看
Harvey021
NXP TechSupport
NXP TechSupport

Hi 

Some packages or files required are missed, as said, "some layers in your sources and files in layer meta-arm missed". then when you run bitbake target, seeing error: The following layer directories do not exist:
ERROR: /home/alientek/bin/imx-yocto-bsp/sources/meta-arm/meta-arm
ERROR: /home/alientek/bin/imx-yocto-bsp/sources/meta-arm/meta-arm-toolchain
ERROR: Please check BBLAYERS in /home/alientek/bin/imx-yocto-bsp/build-wayland/conf/bblayers.conf

 

You can check the manifest.xml for these missed directories, if you can download them manually.

imx-manifest/imx-6.1.22-2.0.0.xml at imx-linux-mickledore · nxp-imx/imx-manifest · GitHub

 

Best regards

Harvey

 

 

0 项奖励
回复

4,352 次查看
justdomyself
Contributor II

1
mkdir ~/bin

export PATH=~/bin:$PATH


2
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo

 

4
export REPO_URL='https://mirrors.tuna.tsinghua.edu.cn/git/git-repo/'

5
mkdir imx-yocto-bsp
cd imx-yocto-bsp

7
repo init -u https://github.com/nxp-imx/imx-manifest -b imx-linux-mickledore -m imx-6.1.22-2.0.0.xml

 

8
repo sync

DISTRO=fsl-imx-wayland MACHINE=imx8mn-ddr4-evk source imx-setup-release.sh -b build-wayland

bitbake imx-image-multimedia

0 项奖励
回复