Hi Joan Xie, Thanks for answering me.
I built a tool-chain (cross-compiler) by "bitbake meta-toolchain" and found out the path.
/opt/fsl-imx-fb/4.1.15-2.1.0/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-
But I got a new problem. The result shows that it can't find the -lgcc library. I tried some way, change to new tool-chain and many things but can't fix that problem.
Then I installed new toolchain by this code: sudo apt-get install gcc-arm-linux-gnueabihf. So my compile path was "export CROSS_COMPILE=arm-linux-gnueabihf-" and it ran fine.
It doesn't a cross-compiler, right? I wonder if there is any problem. If not, why did we don't necessarily need the cross-compiler in this situation? and what does the cross-compiler stand for?
And I am researching how to configure u-boot for running on the customized board. Can you give me some advice? What does the thing that I need to change first on u-boot or need to note?
Thank you.