My standalone toolchain at
/opt/fsl-qoriq/1.9/
and i have run comand like this in my terminal
source /opt/fsl-qoriq/1.9/environment-setup-ppce6500-fsl-linux
last ,when i make the uImage, there are some errors like this:
cpit-drv@cpitdrv-Lenovo:~/Yocto/QorIQ_SDK_V1.9/Project/Test/kernel-source$ make uImage
CHK include/config/kernel.release
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
CALL arch/powerpc/kernel/systbl_chk.sh
CHK kernel/config_data.h
LINK vmlinux
LD vmlinux.o
powerpc-fsl-linux-ld: cannot find libgcc.a: No such file or directory
powerpc-fsl-linux-ld: cannot find libgcc.a: No such file or directory
make: *** [vmlinux] 错误 1
cpit-drv@cpitdrv-Lenovo:~/Yocto/QorIQ_SDK_V1.9/Project/Test/kernel-source$
but when i run $CC --print-libgcc-file-name like following:
cpit-drv@cpitdrv-Lenovo:~/Yocto/QorIQ_SDK_V1.9/Project/Test/kernel-source$ $CC --print-libgcc-file-name
/opt/fsl-qoriq/1.9/sysroots/ppce6500-fsl-linux/usr/lib/powerpc-fsl-linux/4.9.2/libgcc.a
cpit-drv@cpitdrv-Lenovo:~/Yocto/QorIQ_SDK_V1.9/Project/Test/kernel-source$
How can i solve this error,thanks!
We usually use the following command sequence for uImage building:
or
bitbake -c cleansstate virtual/kernel
This command rebuilds the kernel.
Have a great day,
Pavel Chubakov
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Usually we use Ubuntu 14 64bit for SDK using.
Use the following command sequence for SDK installing:
if it is 64-bit operating system, run the following command also:
sudo apt-get install ia32-libs lib32ncurses5
Message from ubuntu: /bin/sh -> dash
b) command: sudo dpkg-reconfigure dash
Answer after password – No
Message from ubuntu:
Removing 'diversion of /bin/sh to /bin/sh.distrib by dash'
Adding 'diversion of /bin/sh to /bin/sh.distrib by bash'
Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash'
Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash'
c) command for checking: ls -l /bin/sh
Message from ubuntu: /bin/sh -> bash
Issue the following command:
$ ./poky/scripts/host-prepare.sh./scripts/host-prepare.sh
Have a great day,
Pavel Chubakov
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Thanks Pavel Chubakov for you answers!
I have installed the QorIQ SDK V1.9 SOURCE.iso success and could bitbake fsl-image-minimal and bitbake fsl-toolchain successfull. But I want to make uImage Using the SDK Source Code by the installed standalone as mentioned.