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
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.
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
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.
Could you tell me which BSP you used and all the commands you used so that I can check for any issues?
I have give my operate steps, so what is the problem?
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.
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
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
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