Tool chain for ARMv7l imx6 solo sd board

543 views Asked by At

I have flashed the image for a development board imx6 solo sd which is ARMv7l arch. Build by yocto project.

Now I have a application to port, for which I will be needing the tool chain, right? If yes please let me know where/how to get it.

2

There are 2 answers

2
john madieu On BEST ANSWER

Yes. You'll probably need a toolchain. Depending on application you want to port, you can generate a specific toolchain with yocto.

  • For a Qt5 based application, the command to generate your toolchain with yocto is bitbake meta-toolchain-qt5
  • Else, if you want a toolchain based on your rootfs's image, the command to generate the toolchain will be bitbake <image_name> -c populate_sdk, where <image_name> is the name of image you builded and flashed in your board.
0
Malek On

As John pointed out, Yocto can generate a toolchain composed of a custom GCC tolerated to your rootfs, use:

bitbake <image_name> -c populate_sdk

Alternatively, you can use the pre-built Linaro GCC and add your rootfs to the compiler command as:

--sysroot=/path/to/rootfs