Running MQX on the i.MX 6SoloX SOM |
Run the following step-wise procedure in order to build the MQX application for the i.MX 6SoloX SOM:
[sasha_d@ocean linux-imx6sx-2.3.0]$ . ./ACTIVATE.sh $ cd $INSTALL_ROOT/target/mqx-4.1-imx6sx/mqx/build/make/bsp_emcraft_imx6sx_som/ $ cd $INSTALL_ROOT/target/mqx-4.1-imx6sx/mqx/examples/hello/build/make/hello_emcraft_imx6sx_som/ $ $MQX_TOOLCHAIN_DIR/bin/arm-none-eabi-objcopy -O binary $INSTALL_ROOT/target/mqx-4.1-imx6sx/mqx/examples/hello/build/make/hello_emcraft_imx6sx_som/gcc_arm/ram_debug/hello_emcraft_imx6sx_som.elf $INSTALL_ROOT/target/mqx-4.1-imx6sx/mqx/examples/hello/build/make/hello_emcraft_imx6sx_som/gcc_arm/ram_debug/hello_emcraft_imx6sx_som.bin The following session is an illustration of how MQX can be booted to the Cortex-M4 from the U-Boot:
SLX-SOM U-Boot > tftpboot 00900000 hello_emcraft_imx6sx_som.bin SLX-SOM U-Boot > bootaux 00900000 The application will print Hello World on the MQX console. The MQX console is available as the second UART interface that appears on a development host when the SLX-SOM-BSB board is connected to the host via the P3 USB connector. In other words, one of the interfaces is the U-boot/Linux console (on which the above U-Boot commands must be issued) and the other is the MQX console. The MQX console is configured for 115200, 8 bit with no flow control in MQX. |