Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: Sanity check of the external toolchain failed: EXTERNAL_TOOLCHAIN path does not exist #1

Open
Qingchuan-Ma opened this issue Nov 3, 2021 · 2 comments

Comments

@Qingchuan-Ma
Copy link

在source env之后,运行bitbake thead-image-base的时候出错
EXTERNAL_TOOLCHAIN默认为../riscv-toolchain;
该路径不存在

@efancier-cn
Copy link

Got the same when build image for D1 on ubuntu20, full log:

**roli@roli-virtual-machine:/work/yocto/d1s$ git clone https://github.com/T-head-Semi/xuantie-yocto.git
Cloning into 'xuantie-yocto'...
remote: Enumerating objects: 13796, done.
remote: Counting objects: 100% (4/4), done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 13796 (delta 0), reused 0 (delta 0), pack-reused 13792
Receiving objects: 100% (13796/13796), 47.19 MiB | 3.65 MiB/s, done.
Resolving deltas: 100% (872/872), done.
Updating files: 100% (10571/10571), done.
roli@roli-virtual-machine:
/work/yocto/d1s$ cd xuantie-yocto/
roli@roli-virtual-machine:~/work/yocto/d1s/xuantie-yocto$ source openembedded-core/oe-init-build-env thead-build/d1

Shell environment set up for builds.

You can now run 'bitbake '

Common targets are:
core-image-minimal
thead-image-base

You can also run generated qemu images with a command like 'runqemu qemux86'.

Other commonly useful commands are:

  • 'devtool' and 'recipetool' handle common recipe tasks
  • 'bitbake-layers' handles common layer tasks
  • 'oe-pkgdata-util' handles common target package tasks
    roli@roli-virtual-machine:~/work/yocto/d1s/xuantie-yocto/thead-build/d1$ bitbake thead-image-base
    ERROR: Sanity check of the external toolchain failed: EXTERNAL_TOOLCHAIN path /home/roli/work/yocto/d1s/xuantie-yocto/thead-build/d1/../../riscv-toolchain does not exist

Summary: There was 1 ERROR message shown, returning a non-zero exit code.**

@FosterYi97
Copy link

Hello,Has the problem been solved?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants