run bitmake error

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

run bitmake error

4,374件の閲覧回数
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,197件の閲覧回数
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,313件の閲覧回数
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,331件の閲覧回数
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,355件の閲覧回数
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,322件の閲覧回数
justdomyself
Contributor II

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

0 件の賞賛
返信

4,279件の閲覧回数
justdomyself
Contributor II
can you anwser my questions ? thanskyou
0 件の賞賛
返信

4,251件の閲覧回数
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,224件の閲覧回数
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,187件の閲覧回数
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,345件の閲覧回数
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 件の賞賛
返信