AnsweredAssumed Answered

Error in "using created tool chain" when I tried to source the created .sh file

Question asked by Yan Wang on Mar 30, 2017
Latest reply on Apr 7, 2017 by Bio_TICFSL



I am following the yocto training TASK #7 and TASK#8.  After the bitbake meta-toolchain, I did see a .sh file located at ~/fsl-release-bsp/build/tmp/deploy/sdk.  When I source it, it told me

$ source
bash: source: cannot execute binary file


And it looks like the .sh file has a large part of binary information.  If I removed that binary part, it would go through the source command, and it will create an empty directory under /opt/poky/1.6.2.  So it seemed that the binary part is useful but my source command cannot understand.


I am stuck here.  Can anyone help?


The basic information of my build is as following:

1. Host machine: virtual box with ubuntu 14.04 LTS


2. I started with my repository as

repo init -u git:// -b imx-3.10.53-1.1.0_ga


3. I build with

MACHINE=imx6qsabreauto source -b build -e x11
bitbake core-image-minimal
after that

bitbake meta-toolchain
and I saw the above error.