Solved How to Cross Compile to IMX8M?
-
Hello, I am new to cross compilations and am trying to figure out how to convert my current Qt Project (Qt 5.9.5) to be able to run on a DART-MXM8, which uses NXP's i.MX8M. The board is running on a linux file system.
I have been reading through the documentation that I have to use the ./configure command for my device with the cross compiler, but am unsure how to do so. Additionally, looking at the list of devices in qtbase/mkspecs/devices, support only went up to linux-imx7-g++, so assuming I have to write my own configuration files.
I looked into https://forum.qt.io/topic/100163/how-to-cross-compile-qt-app-for-i-mx8mqevk-fsl-image-qt5-validation-imx
which used a similar board, so I used their .conf file, but do not have an image to use (I think?).
I was currently trying to use this toolchain : https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-rm/downloads , unless there is a better one to use. Was unsure how to link the toolchain into the ./configure command (do I link the folder or a specific binary?)Is there an easy way to do this in QtCreator?
Any advice/help would be greatly appreciated to get me started. Thanks!
-
@Jeng22 said in How to Cross Compile to IMX8M?:
to run on a DART-MXM8
Are you refering to device Variscite DART-MXM8?
If so, have you checked the Wiki for instructions on:
-
Hi, Sorry for the late response, but was trying to go through those tutorials and its been taking time to install. These did put me on the right track so thank you!