MCUXpresso Platform Customization: Difference between revisions

From Variscite Wiki
(Add pwm support for DART-MX8M MCUXpresso 2.15.0)
 
(181 intermediate revisions by 7 users not shown)
Line 17: Line 17:
-->{{#ifeq: {{#var:HARDWARE_NAME}} | DART-MX8M-MINI | / VAR-SOM-MX8M-MINI }}<!--
-->{{#ifeq: {{#var:HARDWARE_NAME}} | DART-MX8M-MINI | / VAR-SOM-MX8M-MINI }}<!--
-->{{#ifeq: {{#var:HARDWARE_NAME}} | VAR-SOM-MX6    | / DART-MX6 / VAR-SOM-SOLO/DUAL }}<!--
-->{{#ifeq: {{#var:HARDWARE_NAME}} | VAR-SOM-MX6    | / DART-MX6 / VAR-SOM-SOLO/DUAL }}<!--
-->{{#ifeq: {{#var:HARDWARE_NAME}} | DART-6UL      | / VAR-SOM-6UL }}
-->{{#ifeq: {{#var:HARDWARE_NAME}} | DART-6UL      | / VAR-SOM-6UL }}<!--
-->{{#ifeq: {{#var:HARDWARE_NAME}} | VAR-SOM-MX93  | {{#ifeq: {{#var:BOARD_FOLDER1}} | boards/dart_mx93 | / DART-MX93 }} }}
|-
|-
| SOM revision || {{#var:SUPPORTED_REV_SOM}}
| SOM revision || {{#var:SUPPORTED_REV_SOM}}
Line 70: Line 71:
{| class="wikitable"
{| class="wikitable"
|-
|-
! scope="col" | function
! scope="col" | Function
! scope="col" | pin
! scope="col" | Pin
|-
|-
| debug UART (UART2)
| debug UART (UART2)
Line 77: Line 78:
|-
|-
| GPIO (GPIO4_IO03)
| GPIO (GPIO4_IO03)
| LED7 (only for 1.x DT8CustomBoard)
| LED7 for DT8MCustomBoard 1.x<br>  U43.2 / R228 for DT8MCustomBoard >= 2.0 (Use Oscilloscope to observe output signal)
|-
|-
| I2C (I2C3)
| I2C (I2C3)
Line 95: Line 96:
* driver_examples/i2c/polling_b2b_transfer/master
* driver_examples/i2c/polling_b2b_transfer/master
* driver_examples/wdog
* driver_examples/wdog
* driver_examples/gpio/led_output (only for 1.x DT8CustomBoard)
* driver_examples/gpio/led_output
* driver_examples/tmu/tmu_monitor_report
* driver_examples/tmu/tmu_monitor_report
* driver_examples/pwm
* driver_examples/pwm
Line 128: Line 129:
* demo_apps/hello_world<!--
* demo_apps/hello_world<!--
--><section end=DART-MX8M_DEMOS_SECTION/>
--><section end=DART-MX8M_DEMOS_SECTION/>
=== Available Demos v2 ===
<section begin=DART-MX8M_DEMOS_SECTION_V2/><!--
-->* driver_examples/i2c/interrupt_b2b_transfer/slave
* driver_examples/i2c/interrupt_b2b_transfer/master
* driver_examples/i2c/polling_b2b_transfer/slave
* driver_examples/i2c/polling_b2b_transfer/master
* driver_examples/wdog
* driver_examples/gpio/led_output
* driver_examples/tmu/tmu_monitor_report
* driver_examples/pwm*
* driver_examples/uart/auto_baudrate_detect
* driver_examples/uart/interrupt
* driver_examples/uart/interrupt_rb_transfer
* driver_examples/uart/polling
* driver_examples/uart/interrupt_transfer
* driver_examples/gpt/timer
* driver_examples/gpt/capture
* driver_examples/ecspi/ecspi_loopback
* driver_examples/qspi/polling_transfer
* driver_examples/rdc
* driver_examples/sema4/uboot
* freertos_examples/freertos_hello
* freertos_examples/freertos_queue
* freertos_examples/freertos_sem
* freertos_examples/freertos_generic
* freertos_examples/freertos_tickless
* freertos_examples/freertos_mutex
* freertos_examples/freertos_event
* freertos_examples/freertos_swtimer
* cmsis_driver_examples/i2c/int_b2b_transfer/slave
* cmsis_driver_examples/i2c/int_b2b_transfer/master
* cmsis_driver_examples/uart/interrupt_transfer
* cmsis_driver_examples/ecspi/int_loopback_transfer
* multicore_examples/rpmsg_lite_str_echo_rtos
* multicore_examples/rpmsg_lite_pingpong_rtos/linux_remote
* demo_apps/hello_world
<br>
<nowiki>*</nowiki>Not supported running from U-Boot
<br><!--
--><section end=DART-MX8M_DEMOS_SECTION_V2/>


=== NXP Memory types ===
=== NXP Memory types ===
Line 159: Line 202:
All linker files are locate in the '''armgcc''' folder of each demo.
All linker files are locate in the '''armgcc''' folder of each demo.


The DDR reserved area must much the one declared in the kernel device tree: at least 2 GB of RAM is required on the SoM to allow Cortex-M4 accessing the range 0x80000000 - 0x80FFFFFF.
The DDR reserved area must match the one declared in the kernel device tree: at least 2 GB of RAM is required on the SoM to allow Cortex-M4 accessing the range 0x80000000 - 0x80FFFFFF.


The RPMSG area is located at 0xB8000000: at least 3 GB of RAM is required on the SoM to allow Cortex-M4 accessing the RPMSG area.
The RPMSG area is located at 0xB8000000: at least 3 GB of RAM is required on the SoM to allow Cortex-M4 accessing the RPMSG area.
Line 169: Line 212:
* '''release''': containing TCM binaries compiled in release mode (stripped: no symbols available)
* '''release''': containing TCM binaries compiled in release mode (stripped: no symbols available)


Further details about memory mapping are available in [https://cache.nxp.com/secured/assets/documents/en/reference-manual/IMX8MDQLQRM.pdf i.MX 8M Applications Processors Reference Manual] paragraphs:
Further details about memory mapping are available in the following [https://www.nxp.com/doc/IMX8MDQLQRM i.MX 8M Applications Processor Reference Manual] paragraphs:


* 2.1.2 Cortex-A53 Memory Map
* 2.1.2 Cortex-A53 Memory Map
Line 205: Line 248:
All linker files are locate in the '''armgcc''' folder of each demo.
All linker files are locate in the '''armgcc''' folder of each demo.


The DDR reserved area must much the one declared in the kernel device tree: at least 1 GB of RAM is required on the SoM to allow Cortex-M4 accessing the range 0x7E000000 - 0x7EFFFFFF. For some reason, Cortex-M4 is not able to access RAM locations below 0x60000000: SoMs with 512 MB of RAM are not suitable to use Cortex-M4.  
The DDR reserved area must match the one declared in the kernel device tree: at least 1 GB of RAM is required on the SoM to allow Cortex-M4 accessing the range 0x7E000000 - 0x7EFFFFFF. For some reason, Cortex-M4 is not able to access RAM locations below 0x60000000: SoMs with 512 MB of RAM are not suitable to use Cortex-M4.  


The RPMSG area is located at 0x40000000: all SoMs allow Cortex-M4 accessing the RPMSG area.
The RPMSG area is located at 0x40000000: all SoMs allow Cortex-M4 accessing the RPMSG area.
Line 216: Line 259:
* '''release''': containing TCM binaries compiled in release mode (stripped: no symbols available)
* '''release''': containing TCM binaries compiled in release mode (stripped: no symbols available)


Further details about memory mapping are available in [https://www.nxp.com/webapp/Download?colCode=IMX8MDQLQRM i.MX 8M Applications Processors Reference Manual] paragraphs:
Further details about memory mapping are available in the following [https://www.nxp.com/doc/IMX8MDQLQRM i.MX 8M Applications Processor Reference Manual] paragraphs:


* 2.1.2 Cortex-A53 Memory Map
* 2.1.2 Cortex-A53 Memory Map
Line 518: Line 561:
*BOARD_SDK = '''{{#var:BOARD_SDK}}'''
*BOARD_SDK = '''{{#var:BOARD_SDK}}'''


= DART-MX8M-MINI =
=== mcuxpresso-2.11.1-mx8mq-v1.0 ===
 
<section begin=MCUXPRESSO_2.11.1_V1.0_DART-MX8M/><!--
== Sections ==
-->{{#vardefine:OS|FreeRTOS}}<!--
 
-->{{#vardefine:HARDWARE_NAME|DART-MX8M}}<!--
=== Available dtbs ===
-->{{#vardefine:RELEASE_NAME|mcuxpresso-2.11.1-mx8mq-v1.0}}<!--
<section begin=DART-MX8M-MINI_DTBS_SECTION/><!--
-->{{#vardefine:RELEASE_LINK|MCUXPRESSO_2.11.1_V1.0_DART-MX8M}}<!--
-->To allow Cortex M4 accessing shared resources without experiencing Linux kernel conflicts, a dedicated device tree must be loaded, containing '''m4''' label in the name, using the fdt_file environment variable in U-Boot.
-->{{#vardefine:MCUXPRESSO_VERSION|2.11.1}}<!--
 
-->{{#vardefine:SDK_PATH|~/var-mcuxpresso}}<!--
This device tree disables some of the base device tree nodes in order to avoid conflicts between the main processor and Cortex M4.
-->{{#vardefine:SDK_GIT_URL|https://github.com/varigit/freertos-variscite}}<!--
 
-->{{#vardefine:SDK_GIT_BRANCH|mcuxpresso_sdk_2.11.x-var01}}<!--
{| class="wikitable"
-->{{#vardefine:TOOLCHAIN_URL|https://developer.arm.com/-/media/Files/downloads/gnu-rm/10.3-2021.07/gcc-arm-none-eabi-10.3-2021.07-x86_64-linux.tar.bz2}}<!--
|-
-->{{#vardefine:TOOLCHAIN_BZ2_NAME|gcc-arm-none-eabi-10.3-2021.07-x86_64-linux.tar.bz2}}<!--
! scope="col" | File Name<br/>
-->{{#vardefine:TOOLCHAIN_FOLDER|gcc-arm-none-eabi-10.3-2021.07}}<!--
! scope="col" | Description<br/>
-->{{#vardefine:BOARD_FOLDER|boards/dart_mx8mq}}<!--
|-
-->{{#vardefine:DOCS_FOLDER|docs}}<!--
| style="padding: 5px;"| imx8mm-var-dart-dt8mcustomboard-'''m4'''.dtb
-->{{#vardefine:PINS_SECTION|DART-MX8M_PINS_SECTION}}<!--
| style="padding: 5px;"| DART-MX8M-MINI device tree blob for kernel >= 5.4.74 (Yocto Dunfell)
-->{{#vardefine:DEMOS_SECTION|DART-MX8M_DEMOS_SECTION}}<!--
|-
-->{{#vardefine:DTBS_SECTION|DART-MX8M_DTBS_SECTION}}<!--
| style="padding: 5px;"| imx8mm-var-dart-'''m4'''.dtb
-->{{#vardefine:MEMORY_TYPES_SECTION|DART-MX8M_MEMORY-TYPES_VAR_SECTION}}<!--
| style="padding: 5px;"| DART-MX8M-MINI device tree blob for kernel 5.4.3 (Yocto Zeus) on SOM rev. > 1.0
-->{{#vardefine:JTAG_SECTION|DART-MX8M_JTAG_SECTION}}<!--
|-
-->{{#vardefine:NXP_USER_GUIDE|Getting Started with MCUXpresso SDK for EVK-MIMX8MQ.pdf}}<!--
| style="padding: 5px;"| fsl-imx8mm-var-dart-'''m4'''.dtb
-->{{#vardefine:NXP_REFERENCE_KIT|EVK-MIMX8MQ}}<!--
| style="padding: 5px;"| DART-MX8M-MINI device tree blob for in kernels < 5.4.3 on SOM rev. > 1.0
-->{{#vardefine:SDK_GIT_TAG|dart-mx8mq_mcuxpresso-2.11.1_v10}}<!--
|-
-->{{#vardefine:RELEASE_DATE|05/31/2022}}<!--
| style="padding: 5px;"| imx8mm-var-som-symphony-'''m4'''.dtb
-->{{#vardefine:SUPPORTED_REV_SOM|v1.1 and higher}} <!--
| style="padding: 5px;"| VAR-SOM-MX8M-MINI device tree blob for kernel >= 5.4.74 (Yocto Dunfell) on Symphony-Board 1.4a and above
-->{{#vardefine:SUPPORTED_REV_CARRIER|v1.1 and higher}} <!--
|-
-->{{#vardefine:YOCTO_RELEASE_TAG|dunfell-fslc-5.4-2.1.x-mx8mq-v1.5}}<!--
| style="padding: 5px;"| imx8mm-var-som-symphony-legacy-'''m4'''.dtb
-->{{#vardefine:DEACTIVATE_LMEM_CACHE_PATCH|0001-iMX8MQ-deactivated-the-LMEM-caches-to-debug-in-exter.patch}}<!--
| style="padding: 5px;"| VAR-SOM-MX8M-MINI device tree blob for kernel >= 5.4.74 (Yocto Dunfell) on Symphony-Board 1.4 and below
-->{{#vardefine:BOARD_SDK|dart_mx8mq}}<!--
|-
--><section end=MCUXPRESSO_2.11.1_V1.0_DART-MX8M/><!--
| style="padding: 5px;"| imx8mm-var-som-'''m4'''.dtb
-->*HARDWARE_NAME = '''{{#var:HARDWARE_NAME}}'''
| style="padding: 5px;"| VAR-SOM-MX8M-MINI device tree blob for kernel 5.4.3 (Yocto Zeus) on SOM rev. > 1.0
*RELEASE_NAME = '''{{#var:RELEASE_NAME}}'''
|-
*RELEASE_LINK = '''{{#var:RELEASE_LINK}}'''
| style="padding: 5px;"| imx8mm-var-som-rev10-'''m4'''.dtb
*MCUXPRESSO_VERSION = '''{{#var:MCUXPRESSO_VERSION}}'''
| style="padding: 5px;"| VAR-SOM-MX8M-MINI device tree blob for kernel 5.4.3 (Yocto Zeus) on SOM rev. 1.0
*SDK_PATH = '''{{#var:SDK_PATH}}'''
|-
*SDK_GIT_URL = '''{{#var:SDK_GIT_URL}}'''
| style="padding: 5px;"| fsl-imx8mm-var-som-'''m4'''.dtb
*SDK_GIT_BRANCH = '''{{#var:SDK_GIT_BRANCH}}'''
| style="padding: 5px;"| VAR-SOM-MX8M-MINI device tree blob for in kernels < 5.4.3 on SOM rev. > 1.0
*TOOLCHAIN_URL = '''{{#var:TOOLCHAIN_URL}}'''
|-
*TOOLCHAIN_BZ2_NAME = '''{{#var:TOOLCHAIN_BZ2_NAME}}'''
| style="padding: 5px;"| fsl-imx8mm-var-som-rev10-'''m4'''.dtb
*TOOLCHAIN_FOLDER = '''{{#var:TOOLCHAIN_FOLDER}}'''
| style="padding: 5px;"| VAR-SOM-MX8M-MINI device tree blob for in kernels < 5.4.3 on SOM rev. 1.0
*BOARD_FOLDER = '''{{#var:BOARD_FOLDER}}'''
|-
*DOCS_FOLDER = '''{{#var:DOCS_FOLDER}}'''
|}
*PINS_SECTION = '''{{#var:PINS_SECTION}}'''
*DEMOS_SECTION = '''{{#var:DEMOS_SECTION}}'''
*DTBS_SECTION = '''{{#var:DTBS_SECTION}}'''
*MEMORY_TYPES_SECTION = '''{{#var:MEMORY_TYPES_SECTION}}'''
*JTAG_SECTION = '''{{#var:JTAG_SECTION}}'''
*NXP_USER_GUIDE = '''{{#var:NXP_USER_GUIDE}}'''
*NXP_REFERENCE_KIT = '''{{#var:NXP_REFERENCE_KIT}}'''
*YOCTO_RELEASE_TAG = '''{{#var:YOCTO_RELEASE_TAG}}'''
*DEACTIVATE_LMEM_CACHE_PATCH = '''{{#var:DEACTIVATE_LMEM_CACHE_PATCH}}'''
*BOARD_SDK = '''{{#var:BOARD_SDK}}'''


<section end=DART-MX8M-MINI_DTBS_SECTION/>
=== mcuxpresso-2.12.1-mx8mq-v1.0 ===
 
<section begin=MCUXPRESSO_2.12.1_V1.0_DART-MX8M/><!--
=== Default M4 pins ===
-->{{#vardefine:OS|FreeRTOS}}<!--
<section begin=DART-MX8M-MINI_PINS_SECTION/><!--
-->{{#vardefine:HARDWARE_NAME|DART-MX8M}}<!--
-->Default M4 pins used by the demos are:
-->{{#vardefine:RELEASE_NAME|mcuxpresso-2.12.1-mx8mq-v1.0}}<!--
 
-->{{#vardefine:RELEASE_LINK|MCUXPRESSO_2.12.1_V1.0_DART-MX8M}}<!--
{| class="wikitable"
-->{{#vardefine:MCUXPRESSO_VERSION|2.12.1}}<!--
|-
-->{{#vardefine:SDK_PATH|~/var-mcuxpresso}}<!--
! scope="col" | function
-->{{#vardefine:SDK_GIT_URL|https://github.com/varigit/freertos-variscite}}<!--
! scope="col" | pin
-->{{#vardefine:SDK_GIT_BRANCH|mcuxpresso_sdk_2.12.x-var01}}<!--
|-
-->{{#vardefine:TOOLCHAIN_URL|https://developer.arm.com/-/media/Files/downloads/gnu-rm/10.3-2021.10/gcc-arm-none-eabi-10.3-2021.10-x86_64-linux.tar.bz2}}<!--
| debug UART (UART2)
-->{{#vardefine:TOOLCHAIN_BZ2_NAME|gcc-arm-none-eabi-10.3-2021.10-x86_64-linux.tar.bz2}}<!--
| RX: J12.6 / TX: J12.4
-->{{#vardefine:TOOLCHAIN_FOLDER|gcc-arm-none-eabi-10.3-2021.10}}<!--
|-
-->{{#vardefine:BOARD_FOLDER|boards/dart_mx8mq}}<!--
| GPIO (GPIO4_IO03)
-->{{#vardefine:DOCS_FOLDER|docs}}<!--
| LED7
-->{{#vardefine:PINS_SECTION|DART-MX8M_PINS_SECTION}}<!--
|-
-->{{#vardefine:DEMOS_SECTION|DART-MX8M_DEMOS_SECTION}}<!--
| I2C (I2C4)
-->{{#vardefine:DTBS_SECTION|DART-MX8M_DTBS_SECTION}}<!--
| SCL: J12.17 / SDA: J12.19
-->{{#vardefine:MEMORY_TYPES_SECTION|DART-MX8M_MEMORY-TYPES_VAR_SECTION}}<!--
|-
-->{{#vardefine:JTAG_SECTION|DART-MX8M_JTAG_SECTION}}<!--
| PWM (PWM2)
-->{{#vardefine:NXP_USER_GUIDE|Getting Started with MCUXpresso SDK for EVK-MIMX8MQ.pdf}}<!--
| J14.3
-->{{#vardefine:NXP_REFERENCE_KIT|EVK-MIMX8MQ}}<!--
|-
-->{{#vardefine:SDK_GIT_TAG|dart-mx8mq_mcuxpresso-2.12.1_v10}}<!--
|}<!--
-->{{#vardefine:RELEASE_DATE|12/13/2022}}<!--
--><section end=DART-MX8M-MINI_PINS_SECTION/>
-->{{#vardefine:SUPPORTED_REV_SOM|v1.1 and higher}} <!--
-->{{#vardefine:SUPPORTED_REV_CARRIER|v1.1 and higher}} <!--
-->{{#vardefine:YOCTO_RELEASE_TAG|mx8m-yocto-kirkstone-5.15-2.0.x-v1.0}}<!--
-->{{#vardefine:DEACTIVATE_LMEM_CACHE_PATCH|0001-iMX8MQ-deactivated-the-LMEM-caches-to-debug-in-exter.patch}}<!--
-->{{#vardefine:BOARD_SDK|dart_mx8mq}}<!--
--><section end=MCUXPRESSO_2.12.1_V1.0_DART-MX8M/><!--
-->*HARDWARE_NAME = '''{{#var:HARDWARE_NAME}}'''
*RELEASE_NAME = '''{{#var:RELEASE_NAME}}'''
*RELEASE_LINK = '''{{#var:RELEASE_LINK}}'''
*MCUXPRESSO_VERSION = '''{{#var:MCUXPRESSO_VERSION}}'''
*SDK_PATH = '''{{#var:SDK_PATH}}'''
*SDK_GIT_URL = '''{{#var:SDK_GIT_URL}}'''
*SDK_GIT_BRANCH = '''{{#var:SDK_GIT_BRANCH}}'''
*TOOLCHAIN_URL = '''{{#var:TOOLCHAIN_URL}}'''
*TOOLCHAIN_BZ2_NAME = '''{{#var:TOOLCHAIN_BZ2_NAME}}'''
*TOOLCHAIN_FOLDER = '''{{#var:TOOLCHAIN_FOLDER}}'''
*BOARD_FOLDER = '''{{#var:BOARD_FOLDER}}'''
*DOCS_FOLDER = '''{{#var:DOCS_FOLDER}}'''
*PINS_SECTION = '''{{#var:PINS_SECTION}}'''
*DEMOS_SECTION = '''{{#var:DEMOS_SECTION}}'''
*DTBS_SECTION = '''{{#var:DTBS_SECTION}}'''
*MEMORY_TYPES_SECTION = '''{{#var:MEMORY_TYPES_SECTION}}'''
*JTAG_SECTION = '''{{#var:JTAG_SECTION}}'''
*NXP_USER_GUIDE = '''{{#var:NXP_USER_GUIDE}}'''
*NXP_REFERENCE_KIT = '''{{#var:NXP_REFERENCE_KIT}}'''
*YOCTO_RELEASE_TAG = '''{{#var:YOCTO_RELEASE_TAG}}'''
*DEACTIVATE_LMEM_CACHE_PATCH = '''{{#var:DEACTIVATE_LMEM_CACHE_PATCH}}'''
*BOARD_SDK = '''{{#var:BOARD_SDK}}'''


=== Default M4 pins v2 ===
=== mcuxpresso-2.13.0-mx8mq-v1.0 ===
<section begin=DART-MX8M-MINI_PINS_SECTION_V2/><!--
<section begin=MCUXPRESSO_2.13.0_V1.0_DART-MX8M/><!--
-->Default M4 pins used by the demos are:
-->{{#vardefine:OS|FreeRTOS}}<!--
 
-->{{#vardefine:HARDWARE_NAME|DART-MX8M}}<!--
{| class="wikitable"
-->{{#vardefine:RELEASE_NAME|mcuxpresso-2.13.0-mx8mq-v1.0}}<!--
|-
-->{{#vardefine:RELEASE_LINK|MCUXPRESSO_2.13.0_V1.0_DART-MX8M}}<!--
! scope="col" | function
-->{{#vardefine:MCUXPRESSO_VERSION|2.13.0}}<!--
! scope="col" | SoC balls
-->{{#vardefine:SDK_PATH|~/var-mcuxpresso}}<!--
! scope="col" | DART-MX8M-MINI pins
-->{{#vardefine:SDK_GIT_URL|https://github.com/varigit/freertos-variscite}}<!--
! scope="col" | DT8MCB pins
-->{{#vardefine:SDK_GIT_BRANCH|mcuxpresso_sdk_2.13.x-var01}}<!--
! scope="col" | VAR-SOM-MX8M-MINI pins
-->{{#vardefine:TOOLCHAIN_URL|https://developer.arm.com/-/media/Files/downloads/gnu-rm/10.3-2021.10/gcc-arm-none-eabi-10.3-2021.10-x86_64-linux.tar.bz2}}<!--
! scope="col" | Symphony pins
-->{{#vardefine:TOOLCHAIN_BZ2_NAME|gcc-arm-none-eabi-10.3-2021.10-x86_64-linux.tar.bz2}}<!--
! scope="col" | notes
-->{{#vardefine:TOOLCHAIN_FOLDER|gcc-arm-none-eabi-10.3-2021.10}}<!--
|-
-->{{#vardefine:BOARD_FOLDER|boards/dart_mx8mq}}<!--
| UART3 RX/TX
-->{{#vardefine:DOCS_FOLDER|docs}}<!--
| E18 / D18
-->{{#vardefine:PINS_SECTION|DART-MX8M_PINS_SECTION}}<!--
| J2.87 / J2.89
-->{{#vardefine:DEMOS_SECTION|DART-MX8M_DEMOS_SECTION}}<!--
| J12.11 / J12.13
-->{{#vardefine:DTBS_SECTION|DART-MX8M_DTBS_SECTION}}<!--
| J1.175 / J1.124
-->{{#vardefine:MEMORY_TYPES_SECTION|DART-MX8M_MEMORY-TYPES_VAR_SECTION}}<!--
| J18.5 / J18.3
-->{{#vardefine:JTAG_SECTION|DART-MX8M_JTAG_SECTION}}<!--
|
-->{{#vardefine:NXP_USER_GUIDE|Getting Started with MCUXpresso SDK for EVK-MIMX8MQ.pdf}}<!--
|-
-->{{#vardefine:NXP_REFERENCE_KIT|EVK-MIMX8MQ}}<!--
| GPIO4_IO03
-->{{#vardefine:SDK_GIT_TAG|dart-mx8mq_mcuxpresso-2.13.0_v10}}<!--
| AF15
-->{{#vardefine:RELEASE_DATE|02/17/2023}}<!--
| J2.59
-->{{#vardefine:SUPPORTED_REV_SOM|v1.1 and higher}} <!--
| GPLED1
-->{{#vardefine:SUPPORTED_REV_CARRIER|v1.1 and higher}} <!--
| J1.84
-->{{#vardefine:YOCTO_RELEASE_TAG|mx8m-yocto-kirkstone-5.15-2.0.x-v1.2}}<!--
| J17.3
-->{{#vardefine:DEACTIVATE_LMEM_CACHE_PATCH|0001-iMX8MQ-deactivated-the-LMEM-caches-to-debug-in-exter.patch}}<!--
|
-->{{#vardefine:BOARD_SDK|dart_mx8mq}}<!--
|-
--><section end=MCUXPRESSO_2.13.0_V1.0_DART-MX8M/><!--
| I2C4 SCL/SDA
-->*HARDWARE_NAME = '''{{#var:HARDWARE_NAME}}'''
| D13 / E13
*RELEASE_NAME = '''{{#var:RELEASE_NAME}}'''
| J1.17 / J1.19
*RELEASE_LINK = '''{{#var:RELEASE_LINK}}'''
| J12.17/ J12.19
*MCUXPRESSO_VERSION = '''{{#var:MCUXPRESSO_VERSION}}'''
| J1.174 / J1.176
*SDK_PATH = '''{{#var:SDK_PATH}}'''
| J16.10 / J16.12
*SDK_GIT_URL = '''{{#var:SDK_GIT_URL}}'''
|
*SDK_GIT_BRANCH = '''{{#var:SDK_GIT_BRANCH}}'''
|-
*TOOLCHAIN_URL = '''{{#var:TOOLCHAIN_URL}}'''
| PWM3
*TOOLCHAIN_BZ2_NAME = '''{{#var:TOOLCHAIN_BZ2_NAME}}'''
| AF9
*TOOLCHAIN_FOLDER = '''{{#var:TOOLCHAIN_FOLDER}}'''
| J3.36
*BOARD_FOLDER = '''{{#var:BOARD_FOLDER}}'''
| J14.7
*DOCS_FOLDER = '''{{#var:DOCS_FOLDER}}'''
| J1.69
*PINS_SECTION = '''{{#var:PINS_SECTION}}'''
| J18.2
*DEMOS_SECTION = '''{{#var:DEMOS_SECTION}}'''
|
*DTBS_SECTION = '''{{#var:DTBS_SECTION}}'''
|-
*MEMORY_TYPES_SECTION = '''{{#var:MEMORY_TYPES_SECTION}}'''
| SPI1 CS0/SCK/SDI/SDO
*JTAG_SECTION = '''{{#var:JTAG_SECTION}}'''
| B6 / D6 / A7 / B7
*NXP_USER_GUIDE = '''{{#var:NXP_USER_GUIDE}}'''
| J2.79 / J2.77 / J2.81 / J2.83
*NXP_REFERENCE_KIT = '''{{#var:NXP_REFERENCE_KIT}}'''
| J16.4/ J16.2 / J16.8 / J16.6
*YOCTO_RELEASE_TAG = '''{{#var:YOCTO_RELEASE_TAG}}'''
| J1.39 / J1.43 / J1.41 / J1.45
*DEACTIVATE_LMEM_CACHE_PATCH = '''{{#var:DEACTIVATE_LMEM_CACHE_PATCH}}'''
| J16.4/ J16.2 / J16.6 / J16.8
*BOARD_SDK = '''{{#var:BOARD_SDK}}'''
| enablind it SPI devices will be no longer visible from Linux
 
|-
=== mcuxpresso-2.15.0-mx8mq-v1.0 ===
|}<!--
<section begin=MCUXPRESSO_2.15.0_V1.0_DART-MX8M/><!--
--><section end=DART-MX8M-MINI_PINS_SECTION_V2/>
-->{{#vardefine:OS|FreeRTOS}}<!--
 
-->{{#vardefine:HARDWARE_NAME|DART-MX8M}}<!--
=== Available Demos ===
-->{{#vardefine:RELEASE_NAME|mcuxpresso-2.15.0-mx8mq-v1.0}}<!--
<section begin=DART-MX8M-MINI_DEMOS_SECTION/><!--
-->{{#vardefine:RELEASE_LINK|MCUXPRESSO_2.15.0_V1.0_DART-MX8M}}<!--
-->* driver_examples/i2c/interrupt_b2b_transfer/slave
-->{{#vardefine:MCUXPRESSO_VERSION|2.15.0}}<!--
* driver_examples/i2c/interrupt_b2b_transfer/master
-->{{#vardefine:SDK_PATH|~/var-mcuxpresso}}<!--
* driver_examples/i2c/polling_b2b_transfer/slave
-->{{#vardefine:SDK_GIT_URL|https://github.com/varigit/freertos-variscite}}<!--
* driver_examples/i2c/polling_b2b_transfer/master
-->{{#vardefine:SDK_GIT_BRANCH|mcuxpresso_sdk_2.15.x-var01}}<!--
* driver_examples/wdog
-->{{#vardefine:TOOLCHAIN_URL|https://developer.arm.com/-/media/Files/downloads/gnu/12.3.rel1/binrel/arm-gnu-toolchain-12.3.rel1-x86_64-arm-none-eabi.tar.xz}}<!--
* driver_examples/sdma/scatter_gather
-->{{#vardefine:TOOLCHAIN_BZ2_NAME|arm-gnu-toolchain-12.3.rel1-x86_64-arm-none-eabi.tar.xz}}<!--
* driver_examples/sdma/memory_to_memory
-->{{#vardefine:TOOLCHAIN_FOLDER|arm-gnu-toolchain-12.3.rel1-x86_64-arm-none-eabi}}<!--
* driver_examples/gpio/led_output (only for 1.x DT8CustomBoard)
-->{{#vardefine:BOARD_FOLDER|boards/dart_mx8mq}}<!--
* driver_examples/pwm
-->{{#vardefine:DOCS_FOLDER|docs}}<!--
* driver_examples/uart/auto_baudrate_detect
-->{{#vardefine:PINS_SECTION|DART-MX8M_PINS_SECTION}}<!--
* driver_examples/uart/interrupt
-->{{#vardefine:DEMOS_SECTION|DART-MX8M_DEMOS_SECTION_V2}}<!--
* driver_examples/uart/idle_detect_sdma_transfer
-->{{#vardefine:DTBS_SECTION|DART-MX8M_DTBS_SECTION}}<!--
* driver_examples/uart/interrupt_rb_transfer
-->{{#vardefine:MEMORY_TYPES_SECTION|DART-MX8M_MEMORY-TYPES_VAR_SECTION}}<!--
* driver_examples/uart/sdma_transfer
-->{{#vardefine:JTAG_SECTION|DART-MX8M_JTAG_SECTION}}<!--
* driver_examples/uart/polling
-->{{#vardefine:NXP_USER_GUIDE|Getting Started with MCUXpresso SDK for EVK-MIMX8MQ.pdf}}<!--
* driver_examples/uart/interrupt_transfer
-->{{#vardefine:NXP_REFERENCE_KIT|EVK-MIMX8MQ}}<!--
* driver_examples/gpt/timer
-->{{#vardefine:SDK_GIT_TAG|dart-mx8mq_mcuxpresso-2.15.0_v10}}<!--
* driver_examples/gpt/capture
-->{{#vardefine:RELEASE_DATE|10/28/2024}}<!--
* driver_examples/ecspi/ecspi_loopback
-->{{#vardefine:SUPPORTED_REV_SOM|v1.1 and higher}} <!--
* driver_examples/ecspi/interrupt_b2b_transfer/slave
-->{{#vardefine:SUPPORTED_REV_CARRIER|v1.1 and higher}} <!--
* driver_examples/ecspi/interrupt_b2b_transfer/master
-->{{#vardefine:YOCTO_RELEASE_TAG|mx8m-yocto-mickledore-6.1.36_2.1.0-v1.0}}<!--
* driver_examples/ecspi/polling_b2b_transfer/slave
-->{{#vardefine:DEACTIVATE_LMEM_CACHE_PATCH|0001-iMX8MQ-deactivated-the-LMEM-caches-to-debug-in-exter.patch}}<!--
* driver_examples/ecspi/polling_b2b_transfer/master
-->{{#vardefine:BOARD_SDK|dart_mx8mq}}<!--
* driver_examples/rdc
--><section end=MCUXPRESSO_2.15.0_V1.0_DART-MX8M/><!--
* driver_examples/tmu_1/monitor_threshold
-->*HARDWARE_NAME = '''{{#var:HARDWARE_NAME}}'''
* driver_examples/tmu_1/temperature_polling
*RELEASE_NAME = '''{{#var:RELEASE_NAME}}'''
* driver_examples/sema4/uboot
*RELEASE_LINK = '''{{#var:RELEASE_LINK}}'''
* rtos_examples/freertos_ecspi/ecspi_loopback
*MCUXPRESSO_VERSION = '''{{#var:MCUXPRESSO_VERSION}}'''
* rtos_examples/freertos_hello
*SDK_PATH = '''{{#var:SDK_PATH}}'''
* rtos_examples/freertos_queue
*SDK_GIT_URL = '''{{#var:SDK_GIT_URL}}'''
* rtos_examples/freertos_sem
*SDK_GIT_BRANCH = '''{{#var:SDK_GIT_BRANCH}}'''
* rtos_examples/freertos_generic
*TOOLCHAIN_URL = '''{{#var:TOOLCHAIN_URL}}'''
* rtos_examples/freertos_uart
*TOOLCHAIN_BZ2_NAME = '''{{#var:TOOLCHAIN_BZ2_NAME}}'''
* rtos_examples/freertos_tickless
*TOOLCHAIN_FOLDER = '''{{#var:TOOLCHAIN_FOLDER}}'''
* rtos_examples/freertos_mutex
*BOARD_FOLDER = '''{{#var:BOARD_FOLDER}}'''
* rtos_examples/freertos_event
*DOCS_FOLDER = '''{{#var:DOCS_FOLDER}}'''
* rtos_examples/freertos_swtimer
*PINS_SECTION = '''{{#var:PINS_SECTION}}'''
* rtos_examples/freertos_i2c
*DEMOS_SECTION = '''{{#var:DEMOS_SECTION}}'''
* cmsis_driver_examples/i2c/int_b2b_transfer/slave
*DTBS_SECTION = '''{{#var:DTBS_SECTION}}'''
* cmsis_driver_examples/i2c/int_b2b_transfer/master
*MEMORY_TYPES_SECTION = '''{{#var:MEMORY_TYPES_SECTION}}'''
* cmsis_driver_examples/uart/sdma_transfer
*JTAG_SECTION = '''{{#var:JTAG_SECTION}}'''
* cmsis_driver_examples/uart/interrupt_transfer
*NXP_USER_GUIDE = '''{{#var:NXP_USER_GUIDE}}'''
* cmsis_driver_examples/ecspi/int_loopback_transfer
*NXP_REFERENCE_KIT = '''{{#var:NXP_REFERENCE_KIT}}'''
* cmsis_driver_examples/ecspi/sdma_loopback_transfer
*YOCTO_RELEASE_TAG = '''{{#var:YOCTO_RELEASE_TAG}}'''
* multicore_examples/rpmsg_lite_str_echo_rtos
*DEACTIVATE_LMEM_CACHE_PATCH = '''{{#var:DEACTIVATE_LMEM_CACHE_PATCH}}'''
* multicore_examples/rpmsg_lite_pingpong_rtos/linux_remote
*BOARD_SDK = '''{{#var:BOARD_SDK}}'''
* demo_apps/hello_world<!--
 
--><section end=DART-MX8M-MINI_DEMOS_SECTION/>
= DART-MX8M-MINI =
 
== Sections ==


=== Variscite Memory types ===
=== Available dtbs ===
<section begin=DART-MX8M-MINI_MEMORY-TYPES_VAR_SECTION/><!--
<section begin=DART-MX8M-MINI_DTBS_SECTION/><!--
-->The SDK allow linking using 2 different memory types: DDR, TCM.
-->To allow Cortex M4 accessing shared resources without experiencing Linux kernel conflicts, a dedicated device tree must be loaded, containing '''m4''' label in the name, using the fdt_file environment variable in U-Boot.


Here is available a short summary of memory areas used by Cortex-M4 as described in related linker file.
This device tree disables some of the base device tree nodes in order to avoid conflicts between the main processor and Cortex M4.


{| class="wikitable"
{| class="wikitable"
|-
|-
! scope="col" | memory type
! scope="col" | File Name<br/>
! scope="col" | M4 memory area
! scope="col" | Description<br/>
! scope="col" | A53 memory area
! scope="col" | memory lentgh
! scope="col" | linker file
|-
|-
| DDR
| style="padding: 5px;"| imx8mm-var-dart-dt8mcustomboard-'''m4'''.dtb
| 0x7E000000-0x7E1FFFFF (code)<br>0x7E200000-0x7E3FFFFF (data)<br>0x7E400000-0x7EFFFFFF (data2)
| style="padding: 5px;"| DART-MX8M-MINI device tree blob for kernel >= 5.4.74 (Yocto Dunfell)
| 0x7E000000-0x7E1FFFFF (code)<br>0x7E200000-0x7E3FFFFF (data)<br>0x7E400000-0x7EFFFFFF (data2)
|-
| 16MB (DDR)
| style="padding: 5px;"| imx8mm-var-dart-'''m4'''.dtb
| MIMX8MM6xxxxx_cm4_ddr_ram.ld
| style="padding: 5px;"| DART-MX8M-MINI device tree blob for kernel 5.4.3 (Yocto Zeus) on SOM rev. > 1.0
|-
| style="padding: 5px;"| fsl-imx8mm-var-dart-'''m4'''.dtb
| style="padding: 5px;"| DART-MX8M-MINI device tree blob for in kernels < 5.4.3 on SOM rev. > 1.0
|-
| style="padding: 5px;"| imx8mm-var-som-symphony-'''m4'''.dtb
| style="padding: 5px;"| VAR-SOM-MX8M-MINI device tree blob for kernel >= 5.4.74 (Yocto Dunfell) on Symphony-Board 1.4a and above
|-
| style="padding: 5px;"| imx8mm-var-som-symphony-legacy-'''m4'''.dtb
| style="padding: 5px;"| VAR-SOM-MX8M-MINI device tree blob for kernel >= 5.4.74 (Yocto Dunfell) on Symphony-Board 1.4 and below
|-
| style="padding: 5px;"| imx8mm-var-som-'''m4'''.dtb
| style="padding: 5px;"| VAR-SOM-MX8M-MINI device tree blob for kernel 5.4.3 (Yocto Zeus) on SOM rev. > 1.0
|-
| style="padding: 5px;"| imx8mm-var-som-rev10-'''m4'''.dtb
| style="padding: 5px;"| VAR-SOM-MX8M-MINI device tree blob for kernel 5.4.3 (Yocto Zeus) on SOM rev. 1.0
|-
| style="padding: 5px;"| fsl-imx8mm-var-som-'''m4'''.dtb
| style="padding: 5px;"| VAR-SOM-MX8M-MINI device tree blob for in kernels < 5.4.3 on SOM rev. > 1.0
|-
|-
| TCM
| style="padding: 5px;"| fsl-imx8mm-var-som-rev10-'''m4'''.dtb
| 0x1FFE0000-0x1FFFFFFF (code)<br>0x20000000-0x2001FFFF (data)<br>0x7E000000-0x7EFFFFFF (data2)
| style="padding: 5px;"| VAR-SOM-MX8M-MINI device tree blob for in kernels < 5.4.3 on SOM rev. 1.0
| 0x007E0000-0x007FFFFF (code)<br>0x00800000-0x0081FFFF (data)<br>0x7E000000-0x7EFFFFFF (data2)
| 256kB (TCM) + 16MB (DDR)
| MIMX8MM6xxxxx_cm4_ram.ld
|-
|-
|}
|}


All linker files are locate in the '''armgcc''' folder of each demo.
<section end=DART-MX8M-MINI_DTBS_SECTION/>


The DDR reserved area must much the one declared in the kernel device tree: at least 1 GB of RAM is required on the SoM to allow Cortex-M4 accessing the range 0x7E000000 - 0x7EFFFFFF. For some reason, Cortex-M4 is not able to access RAM locations below 0x60000000: SoMs with 512 MB of RAM are not suitable to use Cortex-M4.
=== Default M4 pins ===
 
<section begin=DART-MX8M-MINI_PINS_SECTION/><!--
The RPMSG area is located at 0x40000000: all SoMs allow Cortex-M4 accessing the RPMSG area.
-->Default M4 pins used by the demos are:


After launching the build_all.sh command the following folder will be created in the armgcc folder
{| class="wikitable"
|-
! scope="col" | Function
! scope="col" | Pin
|-
| Debug UART (UART2)
| RX: J12.6 / TX: J12.4
|-
| GPIO (GPIO4_IO03)
| LED7
|-
| I2C (I2C4)
| SCL: J12.17 / SDA: J12.19
|-
| PWM (PWM2)
| J14.3
|-
|}<!--
--><section end=DART-MX8M-MINI_PINS_SECTION/>


* '''ddr_debug''': containing DDR binaries compiled in debug mode (not stripped: symbols available)
=== Default M4 pins v2 ===
* '''ddr_release''': containing DDR binaries compiled in release mode (stripped: no symbols available)
<section begin=DART-MX8M-MINI_PINS_SECTION_V2/><!--
* '''debug''': containing TCM binaries compiled in debug mode (not stripped: symbols available)
-->Default M4 pins used by the demos are:
* '''release''': containing TCM binaries compiled in release mode (stripped: no symbols available)


Further details about memory mapping are available in [https://www.nxp.com/webapp/Download?colCode=IMX8MMRM i.MX 8M-Mini Applications Processors Reference Manual] paragraphs:
{| class="wikitable"
 
|-
* 2.1.2 Cortex-A53 Memory Map
! scope="col" | Function
* 2.1.3 Cortex-M4 Memory Map<!--
! scope="col" | SoC balls
--><section end=DART-MX8M-MINI_MEMORY-TYPES_VAR_SECTION/>
! scope="col" | DART-MX8M-MINI pins
 
! scope="col" | DT8MCB pins
== Releases ==
! scope="col" | VAR-SOM-MX8M-MINI pins
 
! scope="col" | Symphony pins
=== freertos-1.0.1-mx7-v1.0 ===
! scope="col" | Notes
<section begin=MCUXPRESSO_1.0.1_V1.0_VAR-SOM-MX7/><!--
|-
-->{{#vardefine:OS|FreeRTOS}}<!--
| UART3 RX/TX
-->{{#vardefine:HARDWARE_NAME|VAR-SOM-MX7}}<!--
| E18 / D18
-->{{#vardefine:RELEASE_NAME|freertos-1.0.1-mx7-v1.0}}<!--
| J2.87 / J2.89
-->{{#vardefine:RELEASE_LINK|MCUXPRESSO_1.0.1_V1.0_VAR-SOM-MX7}}<!--
| J12.11 / J12.13
-->{{#vardefine:MCUXPRESSO_VERSION|1.0.1}}<!--
| J1.175 / J1.124
-->{{#vardefine:RELEASE_DATE|3/9/2020}} <!--
| J18.5 / J18.3
-->{{#vardefine:SUPPORTED_REV_SOM|v1.1 and higher}} <!--
|
-->{{#vardefine:SUPPORTED_REV_CARRIER|v1.1 and higher}} <!--
|-
-->{{#vardefine:SDK_GIT_TAG|freertos-1.0.1-mx7-v1.0}} <!--
| GPIO4_IO03
-->{{#vardefine:SDK_GIT_URL|https://github.com/varigit/freertos-variscite}}<!--
| AF15
-->{{#vardefine:SDK_GIT_BRANCH|freertos_bsp_1.0.1_imx7d-var01}}<!--
| J2.59
--><section end=MCUXPRESSO_1.0.1_V1.0_VAR-SOM-MX7/>
| GPLED1
 
| J1.84
=== mcuxpresso-2.5.0-mx8mm-v1.0 ===
| J17.3
<section begin=MCUXPRESSO_2.5.0_V1.0_DART-MX8M-MINI/><!--
| The led_output demo makes the GPLED1 blink for only DT8MCustomBoard 1.x, use the scope on one of the following test points for DT8MCustomBoard >= 2.x (U43.2/R228/MIPI-CSI pin 20)
-->{{#vardefine:OS|FreeRTOS}}<!--
|-
-->{{#vardefine:HARDWARE_NAME|DART-MX8M-MINI}}<!--
| I2C4 SCL/SDA
-->{{#vardefine:RELEASE_NAME|mcuxpresso-2.5.0-mx8mm-v1.0}}<!--
| D13 / E13
-->{{#vardefine:RELEASE_LINK|MCUXPRESSO_2.5.0_V1.0_DART-MX8M-MINI}}<!--
| J1.17 / J1.19
-->{{#vardefine:MCUXPRESSO_VERSION|2.5.0}}<!--
| J12.17/ J12.19
-->{{#vardefine:SDK_PATH|~/var-mcuxpresso}}<!--
| J1.174 / J1.176
-->{{#vardefine:SDK_GIT_URL|https://github.com/varigit/freertos-variscite}}<!--
| J16.10 / J16.12
-->{{#vardefine:SDK_GIT_BRANCH|mcuxpresso_sdk_2.5.x-var01}}<!--
|
-->{{#vardefine:TOOLCHAIN_URL|https://developer.arm.com/-/media/Files/downloads/gnu-rm/7-2018q2/gcc-arm-none-eabi-7-2018-q2-update-linux.tar.bz2}}<!--
|-
-->{{#vardefine:TOOLCHAIN_BZ2_NAME|gcc-arm-none-eabi-7-2018-q2-update-linux.tar.bz2}}<!--
| PWM3
-->{{#vardefine:TOOLCHAIN_FOLDER|gcc-arm-none-eabi-7-2018-q2-update}}<!--
| AF9
-->{{#vardefine:BOARD_FOLDER|boards/dart_mx8mm}}<!--
| J3.36
-->{{#vardefine:DOCS_FOLDER|docs}}<!--
| J14.7
-->{{#vardefine:PINS_SECTION|DART-MX8M-MINI_PINS_SECTION}}<!--
| J1.69
-->{{#vardefine:DEMOS_SECTION|DART-MX8M-MINI_DEMOS_SECTION}}<!--
| J18.2
-->{{#vardefine:DTBS_SECTION|DART-MX8M-MINI_DTBS_SECTION}}<!--
|
-->{{#vardefine:MEMORY_TYPES_SECTION|DART-MX8M-MINI_MEMORY-TYPES_VAR_SECTION}}<!--
|-
-->{{#vardefine:JTAG_SECTION|DART-MX8M_JTAG_SECTION}}<!--
| SPI1 CS0/SCK/SDI/SDO
-->{{#vardefine:NXP_USER_GUIDE|Getting Started with MCUXpresso SDK for i.MX 8M Mini.pdf}}<!--
| B6 / D6 / A7 / B7
-->{{#vardefine:NXP_REFERENCE_KIT|EVK-MIMX8MM}}<!--
| J2.79 / J2.77 / J2.81 / J2.83
--><section end=MCUXPRESSO_2.5.0_V1.0_DART-MX8M-MINI/><!--
| J16.4/ J16.2 / J16.8 / J16.6
-->*HARDWARE_NAME = '''{{#var:HARDWARE_NAME}}'''
| J1.39 / J1.43 / J1.41 / J1.45
*RELEASE_NAME = '''{{#var:RELEASE_NAME}}'''
| J16.4/ J16.2 / J16.6 / J16.8
*RELEASE_LINK = '''{{#var:RELEASE_LINK}}'''
| Enabling it SPI devices will be no longer visible from Linux
*MCUXPRESSO_VERSION = '''{{#var:MCUXPRESSO_VERSION}}'''
|-
*SDK_PATH = '''{{#var:SDK_PATH}}'''
|}<!--
*SDK_GIT_URL = '''{{#var:SDK_GIT_URL}}'''
--><section end=DART-MX8M-MINI_PINS_SECTION_V2/>
*SDK_GIT_BRANCH = '''{{#var:SDK_GIT_BRANCH}}'''
*TOOLCHAIN_URL = '''{{#var:TOOLCHAIN_URL}}'''
*TOOLCHAIN_BZ2_NAME = '''{{#var:TOOLCHAIN_BZ2_NAME}}'''
*TOOLCHAIN_FOLDER = '''{{#var:TOOLCHAIN_FOLDER}}'''
*BOARD_FOLDER = '''{{#var:BOARD_FOLDER}}'''
*DOCS_FOLDER = '''{{#var:DOCS_FOLDER}}'''
*PINS_SECTION = '''{{#var:PINS_SECTION}}'''
*DEMOS_SECTION = '''{{#var:DEMOS_SECTION}}'''
*DTBS_SECTION = '''{{#var:DTBS_SECTION}}'''
*MEMORY_TYPES_SECTION = '''{{#var:MEMORY_TYPES_SECTION}}'''
*JTAG_SECTION = '''{{#var:JTAG_SECTION}}'''
*NXP_USER_GUIDE = '''{{#var:NXP_USER_GUIDE}}'''
*NXP_REFERENCE_KIT = '''{{#var:NXP_REFERENCE_KIT}}'''


=== mcuxpresso-2.5.0-mx8mm-v1.1 ===
=== Available Demos ===
<section begin=MCUXPRESSO_2.5.0_V1.1_DART-MX8M-MINI/><!--
<section begin=DART-MX8M-MINI_DEMOS_SECTION/><!--
-->{{#vardefine:OS|FreeRTOS}}<!--
-->* driver_examples/i2c/interrupt_b2b_transfer/slave
-->{{#vardefine:HARDWARE_NAME|DART-MX8M-MINI}}<!--
* driver_examples/i2c/interrupt_b2b_transfer/master
-->{{#vardefine:RELEASE_NAME|mcuxpresso-2.5.0-mx8mm-v1.1}}<!--
* driver_examples/i2c/polling_b2b_transfer/slave
-->{{#vardefine:RELEASE_LINK|MCUXPRESSO_2.5.0_V1.1_DART-MX8M-MINI}}<!--
* driver_examples/i2c/polling_b2b_transfer/master
-->{{#vardefine:MCUXPRESSO_VERSION|2.5.0}}<!--
* driver_examples/wdog
-->{{#vardefine:SDK_PATH|~/var-mcuxpresso}}<!--
* driver_examples/sdma/scatter_gather
-->{{#vardefine:SDK_GIT_URL|https://github.com/varigit/freertos-variscite}}<!--
* driver_examples/sdma/memory_to_memory
-->{{#vardefine:SDK_GIT_BRANCH|mcuxpresso_sdk_2.5.x-var01}}<!--
* driver_examples/gpio/led_output
-->{{#vardefine:TOOLCHAIN_URL|https://developer.arm.com/-/media/Files/downloads/gnu-rm/7-2018q2/gcc-arm-none-eabi-7-2018-q2-update-linux.tar.bz2}}<!--
* driver_examples/pwm
-->{{#vardefine:TOOLCHAIN_BZ2_NAME|gcc-arm-none-eabi-7-2018-q2-update-linux.tar.bz2}}<!--
* driver_examples/uart/auto_baudrate_detect
-->{{#vardefine:TOOLCHAIN_FOLDER|gcc-arm-none-eabi-7-2018-q2-update}}<!--
* driver_examples/uart/interrupt
-->{{#vardefine:BOARD_FOLDER|boards/dart_mx8mm}}<!--
* driver_examples/uart/idle_detect_sdma_transfer
-->{{#vardefine:DOCS_FOLDER|docs}}<!--
* driver_examples/uart/interrupt_rb_transfer
-->{{#vardefine:PINS_SECTION|DART-MX8M-MINI_PINS_SECTION_V2}}<!--
* driver_examples/uart/sdma_transfer
-->{{#vardefine:DEMOS_SECTION|DART-MX8M-MINI_DEMOS_SECTION}}<!--
* driver_examples/uart/polling
-->{{#vardefine:DTBS_SECTION|DART-MX8M-MINI_DTBS_SECTION}}<!--
* driver_examples/uart/interrupt_transfer
-->{{#vardefine:MEMORY_TYPES_SECTION|DART-MX8M-MINI_MEMORY-TYPES_VAR_SECTION}}<!--
* driver_examples/gpt/timer
-->{{#vardefine:JTAG_SECTION|DART-MX8M_JTAG_SECTION}}<!--
* driver_examples/gpt/capture
-->{{#vardefine:NXP_USER_GUIDE|Getting Started with MCUXpresso SDK for i.MX 8M Mini.pdf}}<!--
* driver_examples/ecspi/ecspi_loopback
-->{{#vardefine:SDK_GIT_TAG|dart-mx8mm_mcuxpresso-2.5.0_v11}} <!--
* driver_examples/ecspi/interrupt_b2b_transfer/slave
-->{{#vardefine:RELEASE_DATE|3/14/2020}} <!--
* driver_examples/ecspi/interrupt_b2b_transfer/master
-->{{#vardefine:SUPPORTED_REV_SOM|v1.1 and higher}} <!--
* driver_examples/ecspi/polling_b2b_transfer/slave
-->{{#vardefine:SUPPORTED_REV_CARRIER|v1.1 and higher}} <!--
* driver_examples/ecspi/polling_b2b_transfer/master
-->{{#vardefine:NXP_REFERENCE_KIT|EVK-MIMX8MM}}<!--
* driver_examples/rdc
--><section end=MCUXPRESSO_2.5.0_V1.1_DART-MX8M-MINI/><!--
* driver_examples/tmu_1/monitor_threshold
-->*HARDWARE_NAME = '''{{#var:HARDWARE_NAME}}'''
* driver_examples/tmu_1/temperature_polling
*RELEASE_NAME = '''{{#var:RELEASE_NAME}}'''
* driver_examples/sema4/uboot
*RELEASE_LINK = '''{{#var:RELEASE_LINK}}'''
* rtos_examples/freertos_ecspi/ecspi_loopback
*MCUXPRESSO_VERSION = '''{{#var:MCUXPRESSO_VERSION}}'''
* rtos_examples/freertos_hello
*SDK_PATH = '''{{#var:SDK_PATH}}'''
* rtos_examples/freertos_queue
*SDK_GIT_URL = '''{{#var:SDK_GIT_URL}}'''
* rtos_examples/freertos_sem
*SDK_GIT_BRANCH = '''{{#var:SDK_GIT_BRANCH}}'''
* rtos_examples/freertos_generic
*TOOLCHAIN_URL = '''{{#var:TOOLCHAIN_URL}}'''
* rtos_examples/freertos_uart
*TOOLCHAIN_BZ2_NAME = '''{{#var:TOOLCHAIN_BZ2_NAME}}'''
* rtos_examples/freertos_tickless
*TOOLCHAIN_FOLDER = '''{{#var:TOOLCHAIN_FOLDER}}'''
* rtos_examples/freertos_mutex
*BOARD_FOLDER = '''{{#var:BOARD_FOLDER}}'''
* rtos_examples/freertos_event
*DOCS_FOLDER = '''{{#var:DOCS_FOLDER}}'''
* rtos_examples/freertos_swtimer
*PINS_SECTION = '''{{#var:PINS_SECTION}}'''
* rtos_examples/freertos_i2c
*DEMOS_SECTION = '''{{#var:DEMOS_SECTION}}'''
* cmsis_driver_examples/i2c/int_b2b_transfer/slave
*DTBS_SECTION = '''{{#var:DTBS_SECTION}}'''
* cmsis_driver_examples/i2c/int_b2b_transfer/master
*MEMORY_TYPES_SECTION = '''{{#var:MEMORY_TYPES_SECTION}}'''
* cmsis_driver_examples/uart/sdma_transfer
*JTAG_SECTION = '''{{#var:JTAG_SECTION}}'''
* cmsis_driver_examples/uart/interrupt_transfer
*NXP_USER_GUIDE = '''{{#var:NXP_USER_GUIDE}}'''
* cmsis_driver_examples/ecspi/int_loopback_transfer
*NXP_REFERENCE_KIT = '''{{#var:NXP_REFERENCE_KIT}}'''
* cmsis_driver_examples/ecspi/sdma_loopback_transfer
* multicore_examples/rpmsg_lite_str_echo_rtos
* multicore_examples/rpmsg_lite_pingpong_rtos/linux_remote
* demo_apps/hello_world<!--
--><section end=DART-MX8M-MINI_DEMOS_SECTION/>


=== mcuxpresso-2.8.0-mx8mm-v1.0 ===
=== Available Demos v2 ===
<section begin=MCUXPRESSO_2.8.0_V1.0_DART-MX8M-MINI/><!--
<section begin=DART-MX8M-MINI_DEMOS_SECTION_V2/><!--
-->{{#vardefine:OS|FreeRTOS}}<!--
-->* driver_examples/i2c/interrupt_b2b_transfer/slave
-->{{#vardefine:HARDWARE_NAME|DART-MX8M-MINI}}<!--
* driver_examples/i2c/interrupt_b2b_transfer/master
-->{{#vardefine:RELEASE_NAME|mcuxpresso-2.8.0-mx8mm-v1.0}}<!--
* driver_examples/i2c/polling_b2b_transfer/slave
-->{{#vardefine:RELEASE_LINK|MCUXPRESSO_2.8.0_V1.0_DART-MX8M-MINI}}<!--
* driver_examples/i2c/polling_b2b_transfer/master
-->{{#vardefine:MCUXPRESSO_VERSION|2.8.0}}<!--
* driver_examples/wdog
-->{{#vardefine:SDK_PATH|~/var-mcuxpresso}}<!--
* driver_examples/sdma/scatter_gather
-->{{#vardefine:SDK_GIT_URL|https://github.com/varigit/freertos-variscite}}<!--
* driver_examples/sdma/memory_to_memory
-->{{#vardefine:SDK_GIT_BRANCH|mcuxpresso_sdk_2.8.x-var01}}<!--
* driver_examples/gpio/led_output
-->{{#vardefine:TOOLCHAIN_URL|https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2020q2/gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2}}<!--
* driver_examples/pwm
-->{{#vardefine:TOOLCHAIN_BZ2_NAME|gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2}}<!--
* driver_examples/uart/auto_baudrate_detect
-->{{#vardefine:TOOLCHAIN_FOLDER|gcc-arm-none-eabi-9-2020-q2-update}}<!--
* driver_examples/uart/interrupt
-->{{#vardefine:BOARD_FOLDER|boards/dart_mx8mm}}<!--
* driver_examples/uart/idle_detect_sdma_transfer
-->{{#vardefine:DOCS_FOLDER|docs}}<!--
* driver_examples/uart/interrupt_rb_transfer
-->{{#vardefine:PINS_SECTION|DART-MX8M-MINI_PINS_SECTION_V2}}<!--
* driver_examples/uart/sdma_transfer
-->{{#vardefine:DEMOS_SECTION|DART-MX8M-MINI_DEMOS_SECTION}}<!--
* driver_examples/uart/polling
-->{{#vardefine:DTBS_SECTION|DART-MX8M-MINI_DTBS_SECTION}}<!--
* driver_examples/uart/interrupt_transfer
-->{{#vardefine:MEMORY_TYPES_SECTION|DART-MX8M-MINI_MEMORY-TYPES_VAR_SECTION}}<!--
* driver_examples/gpt/timer
-->{{#vardefine:JTAG_SECTION|DART-MX8M_JTAG_SECTION}}<!--
* driver_examples/gpt/capture
-->{{#vardefine:SDK_GIT_TAG|dart-mx8mm_mcuxpresso-2.8.0_v10}} <!--
* driver_examples/ecspi/ecspi_loopback
-->{{#vardefine:RELEASE_DATE|9/8/2020}} <!--
* driver_examples/ecspi/interrupt_b2b_transfer/slave
-->{{#vardefine:SUPPORTED_REV_SOM|v1.1 and higher}} <!--
* driver_examples/ecspi/interrupt_b2b_transfer/master
-->{{#vardefine:SUPPORTED_REV_CARRIER|v1.1 and higher}} <!--
* driver_examples/ecspi/polling_b2b_transfer/slave
-->{{#vardefine:NXP_USER_GUIDE|Getting Started with MCUXpresso SDK for EVK-MIMX8MM.pdf}}<!--
* driver_examples/ecspi/polling_b2b_transfer/master
-->{{#vardefine:NXP_REFERENCE_KIT|EVK-MIMX8MM}}<!--
* driver_examples/rdc
--><section end=MCUXPRESSO_2.8.0_V1.0_DART-MX8M-MINI/><!--
* driver_examples/tmu_1/monitor_threshold
-->*HARDWARE_NAME = '''{{#var:HARDWARE_NAME}}'''
* driver_examples/tmu_1/temperature_polling
*RELEASE_NAME = '''{{#var:RELEASE_NAME}}'''
* driver_examples/sema4/uboot
*RELEASE_LINK = '''{{#var:RELEASE_LINK}}'''
* freertos_examples/freertos_hello
*MCUXPRESSO_VERSION = '''{{#var:MCUXPRESSO_VERSION}}'''
* freertos_examples/freertos_queue
*SDK_PATH = '''{{#var:SDK_PATH}}'''
* freertos_examples/freertos_sem
*SDK_GIT_URL = '''{{#var:SDK_GIT_URL}}'''
* freertos_examples/freertos_generic
*SDK_GIT_BRANCH = '''{{#var:SDK_GIT_BRANCH}}'''
* freertos_examples/freertos_tickless
*TOOLCHAIN_URL = '''{{#var:TOOLCHAIN_URL}}'''
* freertos_examples/freertos_mutex
*TOOLCHAIN_BZ2_NAME = '''{{#var:TOOLCHAIN_BZ2_NAME}}'''
* freertos_examples/freertos_event
*TOOLCHAIN_FOLDER = '''{{#var:TOOLCHAIN_FOLDER}}'''
* freertos_examples/freertos_swtimer
*BOARD_FOLDER = '''{{#var:BOARD_FOLDER}}'''
* cmsis_driver_examples/i2c/int_b2b_transfer/slave
*DOCS_FOLDER = '''{{#var:DOCS_FOLDER}}'''
* cmsis_driver_examples/i2c/int_b2b_transfer/master
*PINS_SECTION = '''{{#var:PINS_SECTION}}'''
* cmsis_driver_examples/uart/sdma_transfer
*DEMOS_SECTION = '''{{#var:DEMOS_SECTION}}'''
* cmsis_driver_examples/uart/interrupt_transfer
*DTBS_SECTION = '''{{#var:DTBS_SECTION}}'''
* cmsis_driver_examples/ecspi/int_loopback_transfer
*MEMORY_TYPES_SECTION = '''{{#var:MEMORY_TYPES_SECTION}}'''
* cmsis_driver_examples/ecspi/sdma_loopback_transfer
*JTAG_SECTION = '''{{#var:JTAG_SECTION}}'''
* multicore_examples/rpmsg_lite_str_echo_rtos
*NXP_USER_GUIDE = '''{{#var:NXP_USER_GUIDE}}'''
* multicore_examples/rpmsg_lite_pingpong_rtos/linux_remote
*NXP_REFERENCE_KIT = '''{{#var:NXP_REFERENCE_KIT}}'''
* demo_apps/hello_world<!--
--><section end=DART-MX8M-MINI_DEMOS_SECTION_V2/>
 
=== Variscite Memory types ===
<section begin=DART-MX8M-MINI_MEMORY-TYPES_VAR_SECTION/><!--
-->The SDK allow linking using 2 different memory types: DDR, TCM.
 
Here is available a short summary of memory areas used by Cortex-M4 as described in related linker file.


=== mcuxpresso-2.9.0-mx8mm-v1.0 ===
{| class="wikitable"
<section begin=MCUXPRESSO_2.9.0_V1.0_DART-MX8M-MINI/><!--
|-
-->{{#vardefine:OS|FreeRTOS}}<!--
! scope="col" | memory type
-->{{#vardefine:HARDWARE_NAME|DART-MX8M-MINI}}<!--
! scope="col" | M4 memory area
-->{{#vardefine:RELEASE_NAME|mcuxpresso-2.9.0-mx8mm-v1.0}}<!--
! scope="col" | A53 memory area
-->{{#vardefine:RELEASE_LINK|MCUXPRESSO_2.9.0_V1.0_DART-MX8M-MINI}}<!--
! scope="col" | memory lentgh
-->{{#vardefine:MCUXPRESSO_VERSION|2.9.0}}<!--
! scope="col" | linker file
-->{{#vardefine:SDK_PATH|~/var-mcuxpresso}}<!--
|-
-->{{#vardefine:SDK_GIT_URL|https://github.com/varigit/freertos-variscite}}<!--
| DDR
-->{{#vardefine:SDK_GIT_BRANCH|mcuxpresso_sdk_2.9.x-var01}}<!--
| 0x7E000000-0x7E1FFFFF (code)<br>0x7E200000-0x7E3FFFFF (data)<br>0x7E400000-0x7EFFFFFF (data2)
-->{{#vardefine:TOOLCHAIN_URL|https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2020q2/gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2}}<!--
| 0x7E000000-0x7E1FFFFF (code)<br>0x7E200000-0x7E3FFFFF (data)<br>0x7E400000-0x7EFFFFFF (data2)
-->{{#vardefine:TOOLCHAIN_BZ2_NAME|gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2}}<!--
| 16MB (DDR)
-->{{#vardefine:TOOLCHAIN_FOLDER|gcc-arm-none-eabi-9-2020-q2-update}}<!--
| MIMX8MM6xxxxx_cm4_ddr_ram.ld
-->{{#vardefine:BOARD_FOLDER|boards/dart_mx8mm}}<!--
|-
-->{{#vardefine:DOCS_FOLDER|docs}}<!--
| TCM
-->{{#vardefine:PINS_SECTION|DART-MX8M-MINI_PINS_SECTION_V2}}<!--
| 0x1FFE0000-0x1FFFFFFF (code)<br>0x20000000-0x2001FFFF (data)<br>0x7E000000-0x7EFFFFFF (data2)
-->{{#vardefine:DEMOS_SECTION|DART-MX8M-MINI_DEMOS_SECTION}}<!--
| 0x007E0000-0x007FFFFF (code)<br>0x00800000-0x0081FFFF (data)<br>0x7E000000-0x7EFFFFFF (data2)
-->{{#vardefine:DTBS_SECTION|DART-MX8M-MINI_DTBS_SECTION}}<!--
| 256kB (TCM) + 16MB (DDR)
-->{{#vardefine:MEMORY_TYPES_SECTION|DART-MX8M-MINI_MEMORY-TYPES_VAR_SECTION}}<!--
| MIMX8MM6xxxxx_cm4_ram.ld
-->{{#vardefine:JTAG_SECTION|DART-MX8M_JTAG_SECTION}}<!--
|-
-->{{#vardefine:SDK_GIT_TAG|dart-mx8mm_mcuxpresso-2.9.0_v10}} <!--
|}
-->{{#vardefine:RELEASE_DATE|1/24/2021}} <!--
 
-->{{#vardefine:SUPPORTED_REV_SOM|v1.1 and higher}} <!--
All linker files are locate in the '''armgcc''' folder of each demo.
-->{{#vardefine:SUPPORTED_REV_CARRIER|v1.1 and higher}} <!--
 
-->{{#vardefine:NXP_USER_GUIDE|Getting Started with MCUXpresso SDK for EVK-MIMX8MM.pdf}}<!--
The DDR reserved area must match the one declared in the kernel device tree: at least 1 GB of RAM is required on the SoM to allow Cortex-M4 accessing the range 0x7E000000 - 0x7EFFFFFF. For some reason, Cortex-M4 is not able to access RAM locations below 0x60000000: SoMs with 512 MB of RAM are not suitable to use Cortex-M4.  
-->{{#vardefine:NXP_REFERENCE_KIT|EVK-MIMX8MM}}<!--
 
-->{{#vardefine:YOCTO_RELEASE_TAG|dunfell-fslc-5.4-2.1.x-mx8mm-v1.1}}<!--
The RPMSG area is located at 0x40000000: all SoMs allow Cortex-M4 accessing the RPMSG area.
--><section end=MCUXPRESSO_2.9.0_V1.0_DART-MX8M-MINI/><!--
 
-->*HARDWARE_NAME = '''{{#var:HARDWARE_NAME}}'''
After launching the build_all.sh command the following folder will be created in the armgcc folder
*RELEASE_NAME = '''{{#var:RELEASE_NAME}}'''
 
*RELEASE_LINK = '''{{#var:RELEASE_LINK}}'''
* '''ddr_debug''': containing DDR binaries compiled in debug mode (not stripped: symbols available)
*MCUXPRESSO_VERSION = '''{{#var:MCUXPRESSO_VERSION}}'''
* '''ddr_release''': containing DDR binaries compiled in release mode (stripped: no symbols available)
*SDK_PATH = '''{{#var:SDK_PATH}}'''
* '''debug''': containing TCM binaries compiled in debug mode (not stripped: symbols available)
*SDK_GIT_URL = '''{{#var:SDK_GIT_URL}}'''
* '''release''': containing TCM binaries compiled in release mode (stripped: no symbols available)
*SDK_GIT_BRANCH = '''{{#var:SDK_GIT_BRANCH}}'''
 
*TOOLCHAIN_URL = '''{{#var:TOOLCHAIN_URL}}'''
Further details about memory mapping are available in the following [https://www.nxp.com/doc/IMX8MMRM i.MX 8M Mini Applications Processor Reference Manual] paragraphs:
*TOOLCHAIN_BZ2_NAME = '''{{#var:TOOLCHAIN_BZ2_NAME}}'''
 
*TOOLCHAIN_FOLDER = '''{{#var:TOOLCHAIN_FOLDER}}'''
* 2.1.2 Cortex-A53 Memory Map
*BOARD_FOLDER = '''{{#var:BOARD_FOLDER}}'''
* 2.1.3 Cortex-M4 Memory Map<!--
*DOCS_FOLDER = '''{{#var:DOCS_FOLDER}}'''
--><section end=DART-MX8M-MINI_MEMORY-TYPES_VAR_SECTION/>
*PINS_SECTION = '''{{#var:PINS_SECTION}}'''
 
*DEMOS_SECTION = '''{{#var:DEMOS_SECTION}}'''
== Releases ==
*DTBS_SECTION = '''{{#var:DTBS_SECTION}}'''
*MEMORY_TYPES_SECTION = '''{{#var:MEMORY_TYPES_SECTION}}'''
*JTAG_SECTION = '''{{#var:JTAG_SECTION}}'''
*NXP_USER_GUIDE = '''{{#var:NXP_USER_GUIDE}}'''
*NXP_REFERENCE_KIT = '''{{#var:NXP_REFERENCE_KIT}}'''
*YOCTO_RELEASE_TAG = '''{{#var:YOCTO_RELEASE_TAG}}'''


=== mcuxpresso-2.10.0-mx8mm-v1.0 ===
=== freertos-1.0.1-mx7-v1.0 ===
<section begin=MCUXPRESSO_2.10.0_V1.0_DART-MX8M-MINI/><!--
<section begin=MCUXPRESSO_1.0.1_V1.0_VAR-SOM-MX7/><!--
-->{{#vardefine:OS|FreeRTOS}}<!--
-->{{#vardefine:OS|FreeRTOS}}<!--
-->{{#vardefine:HARDWARE_NAME|DART-MX8M-MINI}}<!--
-->{{#vardefine:HARDWARE_NAME|VAR-SOM-MX7}}<!--
-->{{#vardefine:RELEASE_NAME|mcuxpresso-2.10.0-mx8mm-v1.0}}<!--
-->{{#vardefine:RELEASE_NAME|freertos-1.0.1-mx7-v1.0}}<!--
-->{{#vardefine:RELEASE_LINK|MCUXPRESSO_2.10.0_V1.0_DART-MX8M-MINI}}<!--
-->{{#vardefine:RELEASE_LINK|MCUXPRESSO_1.0.1_V1.0_VAR-SOM-MX7}}<!--
-->{{#vardefine:MCUXPRESSO_VERSION|2.10.0}}<!--
-->{{#vardefine:MCUXPRESSO_VERSION|1.0.1}}<!--
-->{{#vardefine:RELEASE_DATE|3/9/2020}} <!--
-->{{#vardefine:SUPPORTED_REV_SOM|v1.1 and higher}} <!--
-->{{#vardefine:SUPPORTED_REV_CARRIER|v1.1 and higher}} <!--
-->{{#vardefine:SDK_GIT_TAG|freertos-1.0.1-mx7-v1.0}} <!--
-->{{#vardefine:SDK_GIT_URL|https://github.com/varigit/freertos-variscite}}<!--
-->{{#vardefine:SDK_GIT_BRANCH|freertos_bsp_1.0.1_imx7d-var01}}<!--
--><section end=MCUXPRESSO_1.0.1_V1.0_VAR-SOM-MX7/>
 
=== mcuxpresso-2.5.0-mx8mm-v1.0 ===
<section begin=MCUXPRESSO_2.5.0_V1.0_DART-MX8M-MINI/><!--
-->{{#vardefine:OS|FreeRTOS}}<!--
-->{{#vardefine:HARDWARE_NAME|DART-MX8M-MINI}}<!--
-->{{#vardefine:RELEASE_NAME|mcuxpresso-2.5.0-mx8mm-v1.0}}<!--
-->{{#vardefine:RELEASE_LINK|MCUXPRESSO_2.5.0_V1.0_DART-MX8M-MINI}}<!--
-->{{#vardefine:MCUXPRESSO_VERSION|2.5.0}}<!--
-->{{#vardefine:SDK_PATH|~/var-mcuxpresso}}<!--
-->{{#vardefine:SDK_PATH|~/var-mcuxpresso}}<!--
-->{{#vardefine:SDK_GIT_URL|https://github.com/varigit/freertos-variscite}}<!--
-->{{#vardefine:SDK_GIT_URL|https://github.com/varigit/freertos-variscite}}<!--
-->{{#vardefine:SDK_GIT_BRANCH|mcuxpresso_sdk_2.10.x-var01}}<!--
-->{{#vardefine:SDK_GIT_BRANCH|mcuxpresso_sdk_2.5.x-var01}}<!--
-->{{#vardefine:TOOLCHAIN_URL|https://developer.arm.com/-/media/Files/downloads/gnu-rm/10-2020q4/gcc-arm-none-eabi-10-2020-q4-major-x86_64-linux.tar.bz2}}<!--
-->{{#vardefine:TOOLCHAIN_URL|https://developer.arm.com/-/media/Files/downloads/gnu-rm/7-2018q2/gcc-arm-none-eabi-7-2018-q2-update-linux.tar.bz2}}<!--
-->{{#vardefine:TOOLCHAIN_BZ2_NAME|gcc-arm-none-eabi-10-2020-q4-major-x86_64-linux.tar.bz2}}<!--
-->{{#vardefine:TOOLCHAIN_BZ2_NAME|gcc-arm-none-eabi-7-2018-q2-update-linux.tar.bz2}}<!--
-->{{#vardefine:TOOLCHAIN_FOLDER|gcc-arm-none-eabi-10-2020-q4-major}}<!--
-->{{#vardefine:TOOLCHAIN_FOLDER|gcc-arm-none-eabi-7-2018-q2-update}}<!--
-->{{#vardefine:BOARD_FOLDER|boards/dart_mx8mm}}<!--
-->{{#vardefine:BOARD_FOLDER|boards/dart_mx8mm}}<!--
-->{{#vardefine:DOCS_FOLDER|docs}}<!--
-->{{#vardefine:DOCS_FOLDER|docs}}<!--
-->{{#vardefine:PINS_SECTION|DART-MX8M-MINI_PINS_SECTION_V2}}<!--
-->{{#vardefine:PINS_SECTION|DART-MX8M-MINI_PINS_SECTION}}<!--
-->{{#vardefine:DEMOS_SECTION|DART-MX8M-MINI_DEMOS_SECTION}}<!--
-->{{#vardefine:DEMOS_SECTION|DART-MX8M-MINI_DEMOS_SECTION}}<!--
-->{{#vardefine:DTBS_SECTION|DART-MX8M-MINI_DTBS_SECTION}}<!--
-->{{#vardefine:DTBS_SECTION|DART-MX8M-MINI_DTBS_SECTION}}<!--
-->{{#vardefine:MEMORY_TYPES_SECTION|DART-MX8M-MINI_MEMORY-TYPES_VAR_SECTION}}<!--
-->{{#vardefine:MEMORY_TYPES_SECTION|DART-MX8M-MINI_MEMORY-TYPES_VAR_SECTION}}<!--
-->{{#vardefine:JTAG_SECTION|DART-MX8M_JTAG_SECTION}}<!--
-->{{#vardefine:JTAG_SECTION|DART-MX8M_JTAG_SECTION}}<!--
-->{{#vardefine:SDK_GIT_TAG|dart-mx8mm_mcuxpresso-2.10.0_v10}} <!--
-->{{#vardefine:NXP_USER_GUIDE|Getting Started with MCUXpresso SDK for i.MX 8M Mini.pdf}}<!--
-->{{#vardefine:RELEASE_DATE|10/19/2021}} <!--
-->{{#vardefine:SUPPORTED_REV_SOM|v1.1 and higher}} <!--
-->{{#vardefine:SUPPORTED_REV_CARRIER|v1.1 and higher}} <!--
-->{{#vardefine:NXP_USER_GUIDE|Getting Started with MCUXpresso SDK for EVK-MIMX8MM.pdf}}<!--
-->{{#vardefine:NXP_REFERENCE_KIT|EVK-MIMX8MM}}<!--
-->{{#vardefine:NXP_REFERENCE_KIT|EVK-MIMX8MM}}<!--
-->{{#vardefine:YOCTO_RELEASE_TAG|hardknott-fslc-5.4-2.3.x-mx8mm-v1.1}}<!--
--><section end=MCUXPRESSO_2.5.0_V1.0_DART-MX8M-MINI/><!--
-->{{#vardefine:DEACTIVATE_LMEM_CACHE_PATCH|0001-iMX8M-MINI-deactivated-the-LMEM-caches-to-debug-in-e.patch}}<!--
-->{{#vardefine:BOARD_SDK|dart_mx8mm}}<!--
--><section end=MCUXPRESSO_2.10.0_V1.0_DART-MX8M-MINI/><!--
-->*HARDWARE_NAME = '''{{#var:HARDWARE_NAME}}'''
-->*HARDWARE_NAME = '''{{#var:HARDWARE_NAME}}'''
*RELEASE_NAME = '''{{#var:RELEASE_NAME}}'''
*RELEASE_NAME = '''{{#var:RELEASE_NAME}}'''
Line 987: Line 1,097:
*TOOLCHAIN_FOLDER = '''{{#var:TOOLCHAIN_FOLDER}}'''
*TOOLCHAIN_FOLDER = '''{{#var:TOOLCHAIN_FOLDER}}'''
*BOARD_FOLDER = '''{{#var:BOARD_FOLDER}}'''
*BOARD_FOLDER = '''{{#var:BOARD_FOLDER}}'''
*DEACTIVATE_LMEM_CACHE_PATCH = '''{{#var:DEACTIVATE_LMEM_CACHE_PATCH}}'''
*DOCS_FOLDER = '''{{#var:DOCS_FOLDER}}'''
*DOCS_FOLDER = '''{{#var:DOCS_FOLDER}}'''
*PINS_SECTION = '''{{#var:PINS_SECTION}}'''
*PINS_SECTION = '''{{#var:PINS_SECTION}}'''
Line 996: Line 1,105:
*NXP_USER_GUIDE = '''{{#var:NXP_USER_GUIDE}}'''
*NXP_USER_GUIDE = '''{{#var:NXP_USER_GUIDE}}'''
*NXP_REFERENCE_KIT = '''{{#var:NXP_REFERENCE_KIT}}'''
*NXP_REFERENCE_KIT = '''{{#var:NXP_REFERENCE_KIT}}'''
*YOCTO_RELEASE_TAG = '''{{#var:YOCTO_RELEASE_TAG}}'''


= VAR-SOM-MX8M-NANO =
=== mcuxpresso-2.5.0-mx8mm-v1.1 ===
 
<section begin=MCUXPRESSO_2.5.0_V1.1_DART-MX8M-MINI/><!--
== Sections ==
-->{{#vardefine:OS|FreeRTOS}}<!--
 
-->{{#vardefine:HARDWARE_NAME|DART-MX8M-MINI}}<!--
=== Available dtbs ===
-->{{#vardefine:RELEASE_NAME|mcuxpresso-2.5.0-mx8mm-v1.1}}<!--
<section begin=VAR-SOM-MX8M-NANO_DTBS_SECTION/><!--
-->{{#vardefine:RELEASE_LINK|MCUXPRESSO_2.5.0_V1.1_DART-MX8M-MINI}}<!--
-->To allow Cortex M7 accessing shared resources without experiencing Linux kernel conflicts, a dedicated device tree must be loaded, containing '''m7''' label in the name, using the fdt_file environment variable in U-Boot.
-->{{#vardefine:MCUXPRESSO_VERSION|2.5.0}}<!--
 
-->{{#vardefine:SDK_PATH|~/var-mcuxpresso}}<!--
{| class="wikitable"
-->{{#vardefine:SDK_GIT_URL|https://github.com/varigit/freertos-variscite}}<!--
|-
-->{{#vardefine:SDK_GIT_BRANCH|mcuxpresso_sdk_2.5.x-var01}}<!--
! scope="col" | File Name<br/>
-->{{#vardefine:TOOLCHAIN_URL|https://developer.arm.com/-/media/Files/downloads/gnu-rm/7-2018q2/gcc-arm-none-eabi-7-2018-q2-update-linux.tar.bz2}}<!--
! scope="col" | Description<br/>
-->{{#vardefine:TOOLCHAIN_BZ2_NAME|gcc-arm-none-eabi-7-2018-q2-update-linux.tar.bz2}}<!--
|-
-->{{#vardefine:TOOLCHAIN_FOLDER|gcc-arm-none-eabi-7-2018-q2-update}}<!--
| style="padding: 5px;"| imx8mn-var-som-symphony-'''m7'''.dtb
-->{{#vardefine:BOARD_FOLDER|boards/dart_mx8mm}}<!--
| style="padding: 5px;"| VAR-SOM-MX8M-NANO device tree blob for kernel >= 5.4.74 (Yocto Dunfell) on Symphony-Board 1.4a and above
-->{{#vardefine:DOCS_FOLDER|docs}}<!--
|-
-->{{#vardefine:PINS_SECTION|DART-MX8M-MINI_PINS_SECTION_V2}}<!--
| style="padding: 5px;"| imx8mn-var-som-symphony-legacy-'''m7'''.dtb
-->{{#vardefine:DEMOS_SECTION|DART-MX8M-MINI_DEMOS_SECTION}}<!--
| style="padding: 5px;"| VAR-SOM-MX8M-NANO device tree blob for kernel >= 5.4.74 (Yocto Dunfell) on Symphony-Board 1.4 and below
-->{{#vardefine:DTBS_SECTION|DART-MX8M-MINI_DTBS_SECTION}}<!--
|-
-->{{#vardefine:MEMORY_TYPES_SECTION|DART-MX8M-MINI_MEMORY-TYPES_VAR_SECTION}}<!--
| style="padding: 5px;"| imx8mn-var-som-'''m7'''.dtb
-->{{#vardefine:JTAG_SECTION|DART-MX8M_JTAG_SECTION}}<!--
| style="padding: 5px;"| VAR-SOM-MX8M-NANO device tree blob for kernel 5.4.3 - 5.4.24 (Yocto Zeus) on som rev > 1.0
-->{{#vardefine:NXP_USER_GUIDE|Getting Started with MCUXpresso SDK for i.MX 8M Mini.pdf}}<!--
|-
-->{{#vardefine:SDK_GIT_TAG|dart-mx8mm_mcuxpresso-2.5.0_v11}} <!--
| style="padding: 5px;"| imx8mn-var-som-rev10-'''m7'''.dtb
-->{{#vardefine:RELEASE_DATE|3/14/2020}} <!--
| style="padding: 5px;"| VAR-SOM-MX8M-NANO device tree blob for kernel 5.4.3 - 5.4.24 (Yocto Zeus) on som rev 1.0
-->{{#vardefine:SUPPORTED_REV_SOM|v1.1 and higher}} <!--
|-
-->{{#vardefine:SUPPORTED_REV_CARRIER|v1.1 and higher}} <!--
| style="padding: 5px;"| fsl-imx8mn-var-som-'''m7'''.dtb
-->{{#vardefine:NXP_REFERENCE_KIT|EVK-MIMX8MM}}<!--
| style="padding: 5px;"| VAR-SOM-MX8M-NANO device tree blob for kernel < 5.4.3 on som rev > 1.0
--><section end=MCUXPRESSO_2.5.0_V1.1_DART-MX8M-MINI/><!--
|-
-->*HARDWARE_NAME = '''{{#var:HARDWARE_NAME}}'''
| style="padding: 5px;"| fsl-imx8mn-var-som-rev10-'''m7'''.dtb
*RELEASE_NAME = '''{{#var:RELEASE_NAME}}'''
| style="padding: 5px;"| VAR-SOM-MX8M-NANO device tree blob for kernel < 5.4.3 on som rev 1.0
*RELEASE_LINK = '''{{#var:RELEASE_LINK}}'''
|-
*MCUXPRESSO_VERSION = '''{{#var:MCUXPRESSO_VERSION}}'''
|}
*SDK_PATH = '''{{#var:SDK_PATH}}'''
 
*SDK_GIT_URL = '''{{#var:SDK_GIT_URL}}'''
This device tree disables some of the base device tree nodes in order to avoid conflicts between the main processor and Cortex M7.<!--
*SDK_GIT_BRANCH = '''{{#var:SDK_GIT_BRANCH}}'''
--><section end=VAR-SOM-MX8M-NANO_DTBS_SECTION/>
*TOOLCHAIN_URL = '''{{#var:TOOLCHAIN_URL}}'''
 
*TOOLCHAIN_BZ2_NAME = '''{{#var:TOOLCHAIN_BZ2_NAME}}'''
=== Default M7 pins ===
*TOOLCHAIN_FOLDER = '''{{#var:TOOLCHAIN_FOLDER}}'''
<section begin=VAR-SOM-MX8M-NANO_PINS_SECTION/><!--
*BOARD_FOLDER = '''{{#var:BOARD_FOLDER}}'''
-->Default M7 pins used by the demos are:
*DOCS_FOLDER = '''{{#var:DOCS_FOLDER}}'''
*PINS_SECTION = '''{{#var:PINS_SECTION}}'''
*DEMOS_SECTION = '''{{#var:DEMOS_SECTION}}'''
*DTBS_SECTION = '''{{#var:DTBS_SECTION}}'''
*MEMORY_TYPES_SECTION = '''{{#var:MEMORY_TYPES_SECTION}}'''
*JTAG_SECTION = '''{{#var:JTAG_SECTION}}'''
*NXP_USER_GUIDE = '''{{#var:NXP_USER_GUIDE}}'''
*NXP_REFERENCE_KIT = '''{{#var:NXP_REFERENCE_KIT}}'''


{| class="wikitable"
=== mcuxpresso-2.8.0-mx8mm-v1.0 ===
|-
<section begin=MCUXPRESSO_2.8.0_V1.0_DART-MX8M-MINI/><!--
! scope="col" | function
-->{{#vardefine:OS|FreeRTOS}}<!--
! scope="col" | SoC balls
-->{{#vardefine:HARDWARE_NAME|DART-MX8M-MINI}}<!--
! scope="col" | VAR-SOM-MX8M-NANO pins
-->{{#vardefine:RELEASE_NAME|mcuxpresso-2.8.0-mx8mm-v1.0}}<!--
! scope="col" | Symphony pins
-->{{#vardefine:RELEASE_LINK|MCUXPRESSO_2.8.0_V1.0_DART-MX8M-MINI}}<!--
! scope="col" | notes
-->{{#vardefine:MCUXPRESSO_VERSION|2.8.0}}<!--
|-
-->{{#vardefine:SDK_PATH|~/var-mcuxpresso}}<!--
| UART3 RX/TX
-->{{#vardefine:SDK_GIT_URL|https://github.com/varigit/freertos-variscite}}<!--
| E18 / D18
-->{{#vardefine:SDK_GIT_BRANCH|mcuxpresso_sdk_2.8.x-var01}}<!--
| J1.175 / J1.124
-->{{#vardefine:TOOLCHAIN_URL|https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2020q2/gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2}}<!--
| J18.5 / J18.3
-->{{#vardefine:TOOLCHAIN_BZ2_NAME|gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2}}<!--
|
-->{{#vardefine:TOOLCHAIN_FOLDER|gcc-arm-none-eabi-9-2020-q2-update}}<!--
|-
-->{{#vardefine:BOARD_FOLDER|boards/dart_mx8mm}}<!--
| GPIO4_IO23
-->{{#vardefine:DOCS_FOLDER|docs}}<!--
| AC24
-->{{#vardefine:PINS_SECTION|DART-MX8M-MINI_PINS_SECTION_V2}}<!--
| J1.21
-->{{#vardefine:DEMOS_SECTION|DART-MX8M-MINI_DEMOS_SECTION}}<!--
| J16.5
-->{{#vardefine:DTBS_SECTION|DART-MX8M-MINI_DTBS_SECTION}}<!--
|
-->{{#vardefine:MEMORY_TYPES_SECTION|DART-MX8M-MINI_MEMORY-TYPES_VAR_SECTION}}<!--
|-
-->{{#vardefine:JTAG_SECTION|DART-MX8M_JTAG_SECTION}}<!--
| I2C4 SCL/SDA
-->{{#vardefine:SDK_GIT_TAG|dart-mx8mm_mcuxpresso-2.8.0_v10}} <!--
| D13 / E13
-->{{#vardefine:RELEASE_DATE|9/8/2020}} <!--
| J1.174 / J1.176
-->{{#vardefine:SUPPORTED_REV_SOM|v1.1 and higher}} <!--
| J16.10 / J16.12
-->{{#vardefine:SUPPORTED_REV_CARRIER|v1.1 and higher}} <!--
|
-->{{#vardefine:NXP_USER_GUIDE|Getting Started with MCUXpresso SDK for EVK-MIMX8MM.pdf}}<!--
|-
-->{{#vardefine:NXP_REFERENCE_KIT|EVK-MIMX8MM}}<!--
| PWM3
--><section end=MCUXPRESSO_2.8.0_V1.0_DART-MX8M-MINI/><!--
| AF9
-->*HARDWARE_NAME = '''{{#var:HARDWARE_NAME}}'''
| J1.69
*RELEASE_NAME = '''{{#var:RELEASE_NAME}}'''
| J18.2
*RELEASE_LINK = '''{{#var:RELEASE_LINK}}'''
|
*MCUXPRESSO_VERSION = '''{{#var:MCUXPRESSO_VERSION}}'''
|-
*SDK_PATH = '''{{#var:SDK_PATH}}'''
| SPI1 CS0/SCK/SDI/SDO
*SDK_GIT_URL = '''{{#var:SDK_GIT_URL}}'''
| B6 / D6 / A7 / B7
*SDK_GIT_BRANCH = '''{{#var:SDK_GIT_BRANCH}}'''
| J1.39 / J1.43 / J1.41 / J1.45
*TOOLCHAIN_URL = '''{{#var:TOOLCHAIN_URL}}'''
| J16.4/ J16.2 / J16.6 / J16.8
*TOOLCHAIN_BZ2_NAME = '''{{#var:TOOLCHAIN_BZ2_NAME}}'''
| enablind it SPI devices will be no longer visible from Linux
*TOOLCHAIN_FOLDER = '''{{#var:TOOLCHAIN_FOLDER}}'''
|-
*BOARD_FOLDER = '''{{#var:BOARD_FOLDER}}'''
|}<!--
*DOCS_FOLDER = '''{{#var:DOCS_FOLDER}}'''
--><section end=VAR-SOM-MX8M-NANO_PINS_SECTION/>
*PINS_SECTION = '''{{#var:PINS_SECTION}}'''
*DEMOS_SECTION = '''{{#var:DEMOS_SECTION}}'''
*DTBS_SECTION = '''{{#var:DTBS_SECTION}}'''
*MEMORY_TYPES_SECTION = '''{{#var:MEMORY_TYPES_SECTION}}'''
*JTAG_SECTION = '''{{#var:JTAG_SECTION}}'''
*NXP_USER_GUIDE = '''{{#var:NXP_USER_GUIDE}}'''
*NXP_REFERENCE_KIT = '''{{#var:NXP_REFERENCE_KIT}}'''


=== Available Demos ===
=== mcuxpresso-2.9.0-mx8mm-v1.0 ===
<section begin=VAR-SOM-MX8M-NANO_DEMOS_SECTION/><!--
<section begin=MCUXPRESSO_2.9.0_V1.0_DART-MX8M-MINI/><!--
-->* driver_examples/i2c/interrupt_b2b_transfer/slave
-->{{#vardefine:OS|FreeRTOS}}<!--
* driver_examples/i2c/interrupt_b2b_transfer/master
-->{{#vardefine:HARDWARE_NAME|DART-MX8M-MINI}}<!--
* driver_examples/i2c/polling_b2b_transfer/slave
-->{{#vardefine:RELEASE_NAME|mcuxpresso-2.9.0-mx8mm-v1.0}}<!--
* driver_examples/i2c/polling_b2b_transfer/master
-->{{#vardefine:RELEASE_LINK|MCUXPRESSO_2.9.0_V1.0_DART-MX8M-MINI}}<!--
* driver_examples/wdog
-->{{#vardefine:MCUXPRESSO_VERSION|2.9.0}}<!--
* driver_examples/sdma/scatter_gather
-->{{#vardefine:SDK_PATH|~/var-mcuxpresso}}<!--
* driver_examples/sdma/memory_to_memory
-->{{#vardefine:SDK_GIT_URL|https://github.com/varigit/freertos-variscite}}<!--
* driver_examples/gpio/led_output
-->{{#vardefine:SDK_GIT_BRANCH|mcuxpresso_sdk_2.9.x-var01}}<!--
* driver_examples/pwm
-->{{#vardefine:TOOLCHAIN_URL|https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2020q2/gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2}}<!--
* driver_examples/uart/auto_baudrate_detect
-->{{#vardefine:TOOLCHAIN_BZ2_NAME|gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2}}<!--
* driver_examples/uart/interrupt
-->{{#vardefine:TOOLCHAIN_FOLDER|gcc-arm-none-eabi-9-2020-q2-update}}<!--
* driver_examples/uart/idle_detect_sdma_transfer
-->{{#vardefine:BOARD_FOLDER|boards/dart_mx8mm}}<!--
* driver_examples/uart/interrupt_rb_transfer
-->{{#vardefine:DOCS_FOLDER|docs}}<!--
* driver_examples/uart/sdma_transfer
-->{{#vardefine:PINS_SECTION|DART-MX8M-MINI_PINS_SECTION_V2}}<!--
* driver_examples/uart/polling
-->{{#vardefine:DEMOS_SECTION|DART-MX8M-MINI_DEMOS_SECTION}}<!--
* driver_examples/uart/interrupt_transfer
-->{{#vardefine:DTBS_SECTION|DART-MX8M-MINI_DTBS_SECTION}}<!--
* driver_examples/gpt/timer
-->{{#vardefine:MEMORY_TYPES_SECTION|DART-MX8M-MINI_MEMORY-TYPES_VAR_SECTION}}<!--
* driver_examples/gpt/capture
-->{{#vardefine:JTAG_SECTION|DART-MX8M_JTAG_SECTION}}<!--
* driver_examples/ecspi/ecspi_loopback
-->{{#vardefine:SDK_GIT_TAG|dart-mx8mm_mcuxpresso-2.9.0_v10}} <!--
* driver_examples/ecspi/interrupt_b2b_transfer/slave
-->{{#vardefine:RELEASE_DATE|1/24/2021}} <!--
* driver_examples/ecspi/interrupt_b2b_transfer/master
-->{{#vardefine:SUPPORTED_REV_SOM|v1.1 and higher}} <!--
* driver_examples/ecspi/polling_b2b_transfer/slave
-->{{#vardefine:SUPPORTED_REV_CARRIER|v1.1 and higher}} <!--
* driver_examples/ecspi/polling_b2b_transfer/master
-->{{#vardefine:NXP_USER_GUIDE|Getting Started with MCUXpresso SDK for EVK-MIMX8MM.pdf}}<!--
* driver_examples/rdc
-->{{#vardefine:NXP_REFERENCE_KIT|EVK-MIMX8MM}}<!--
* driver_examples/tmu_1/monitor_threshold
-->{{#vardefine:YOCTO_RELEASE_TAG|dunfell-fslc-5.4-2.1.x-mx8mm-v1.1}}<!--
* driver_examples/tmu_1/temperature_polling
--><section end=MCUXPRESSO_2.9.0_V1.0_DART-MX8M-MINI/><!--
* driver_examples/sema4/uboot
-->*HARDWARE_NAME = '''{{#var:HARDWARE_NAME}}'''
* rtos_examples/freertos_ecspi/ecspi_loopback
*RELEASE_NAME = '''{{#var:RELEASE_NAME}}'''
* rtos_examples/freertos_hello
*RELEASE_LINK = '''{{#var:RELEASE_LINK}}'''
* rtos_examples/freertos_queue
*MCUXPRESSO_VERSION = '''{{#var:MCUXPRESSO_VERSION}}'''
* rtos_examples/freertos_sem
*SDK_PATH = '''{{#var:SDK_PATH}}'''
* rtos_examples/freertos_generic
*SDK_GIT_URL = '''{{#var:SDK_GIT_URL}}'''
* rtos_examples/freertos_uart
*SDK_GIT_BRANCH = '''{{#var:SDK_GIT_BRANCH}}'''
* rtos_examples/freertos_tickless
*TOOLCHAIN_URL = '''{{#var:TOOLCHAIN_URL}}'''
* rtos_examples/freertos_mutex
*TOOLCHAIN_BZ2_NAME = '''{{#var:TOOLCHAIN_BZ2_NAME}}'''
* rtos_examples/freertos_event
*TOOLCHAIN_FOLDER = '''{{#var:TOOLCHAIN_FOLDER}}'''
* rtos_examples/freertos_swtimer
*BOARD_FOLDER = '''{{#var:BOARD_FOLDER}}'''
* rtos_examples/freertos_i2c
*DOCS_FOLDER = '''{{#var:DOCS_FOLDER}}'''
* cmsis_driver_examples/i2c/int_b2b_transfer/slave
*PINS_SECTION = '''{{#var:PINS_SECTION}}'''
* cmsis_driver_examples/i2c/int_b2b_transfer/master
*DEMOS_SECTION = '''{{#var:DEMOS_SECTION}}'''
* cmsis_driver_examples/uart/sdma_transfer
*DTBS_SECTION = '''{{#var:DTBS_SECTION}}'''
* cmsis_driver_examples/uart/interrupt_transfer
*MEMORY_TYPES_SECTION = '''{{#var:MEMORY_TYPES_SECTION}}'''
* cmsis_driver_examples/ecspi/int_loopback_transfer
*JTAG_SECTION = '''{{#var:JTAG_SECTION}}'''
* cmsis_driver_examples/ecspi/sdma_loopback_transfer
*NXP_USER_GUIDE = '''{{#var:NXP_USER_GUIDE}}'''
* multicore_examples/rpmsg_lite_str_echo_rtos
*NXP_REFERENCE_KIT = '''{{#var:NXP_REFERENCE_KIT}}'''
* multicore_examples/rpmsg_lite_pingpong_rtos/linux_remote
*YOCTO_RELEASE_TAG = '''{{#var:YOCTO_RELEASE_TAG}}'''
* demo_apps/hello_world<!--
--><section end=VAR-SOM-MX8M-NANO_DEMOS_SECTION/>


=== Memory types ===
=== mcuxpresso-2.10.0-mx8mm-v1.0 ===
<section begin=VAR-SOM-MX8MN_MEMORY-TYPES/><!--
<section begin=MCUXPRESSO_2.10.0_V1.0_DART-MX8M-MINI/><!--
-->The SDK allow linking using 2 different memory types: DDR, TCM.
-->{{#vardefine:OS|FreeRTOS}}<!--
 
-->{{#vardefine:HARDWARE_NAME|DART-MX8M-MINI}}<!--
Here is available a short summary of memory areas used by Cortex-M7 as described in related linker file.
-->{{#vardefine:RELEASE_NAME|mcuxpresso-2.10.0-mx8mm-v1.0}}<!--
 
-->{{#vardefine:RELEASE_LINK|MCUXPRESSO_2.10.0_V1.0_DART-MX8M-MINI}}<!--
{| class="wikitable"
-->{{#vardefine:MCUXPRESSO_VERSION|2.10.0}}<!--
|-
-->{{#vardefine:SDK_PATH|~/var-mcuxpresso}}<!--
! scope="col" | memory type
-->{{#vardefine:SDK_GIT_URL|https://github.com/varigit/freertos-variscite}}<!--
! scope="col" | M7 memory area
-->{{#vardefine:SDK_GIT_BRANCH|mcuxpresso_sdk_2.10.x-var01}}<!--
! scope="col" | A53 memory area
-->{{#vardefine:TOOLCHAIN_URL|https://developer.arm.com/-/media/Files/downloads/gnu-rm/10-2020q4/gcc-arm-none-eabi-10-2020-q4-major-x86_64-linux.tar.bz2}}<!--
! scope="col" | memory lentgh
-->{{#vardefine:TOOLCHAIN_BZ2_NAME|gcc-arm-none-eabi-10-2020-q4-major-x86_64-linux.tar.bz2}}<!--
! scope="col" | linker file
-->{{#vardefine:TOOLCHAIN_FOLDER|gcc-arm-none-eabi-10-2020-q4-major}}<!--
|-
-->{{#vardefine:BOARD_FOLDER|boards/dart_mx8mm}}<!--
| DDR
-->{{#vardefine:DOCS_FOLDER|docs}}<!--
| 0x7E000000-0x7E1FFFFF (code)<br>0x7E200000-0x7E3FFFFF (data)<br>0x7E400000-0x7EFFFFFF (data2)
-->{{#vardefine:PINS_SECTION|DART-MX8M-MINI_PINS_SECTION_V2}}<!--
| 0x7E000000-0x7E1FFFFF (code)<br>0x7E200000-0x7E3FFFFF (data)<br>0x7E400000-0x7EFFFFFF (data2)
-->{{#vardefine:DEMOS_SECTION|DART-MX8M-MINI_DEMOS_SECTION}}<!--
| 16MB (DDR)
-->{{#vardefine:DTBS_SECTION|DART-MX8M-MINI_DTBS_SECTION}}<!--
| MIMX8MN6xxxxx_cm7_ddr_ram.ld
-->{{#vardefine:MEMORY_TYPES_SECTION|DART-MX8M-MINI_MEMORY-TYPES_VAR_SECTION}}<!--
|-
-->{{#vardefine:JTAG_SECTION|DART-MX8M_JTAG_SECTION}}<!--
| TCM
-->{{#vardefine:SDK_GIT_TAG|dart-mx8mm_mcuxpresso-2.10.0_v10}} <!--
| 0x00000000-0x0001FFFF (code)<br>0x20000000-0x2001FFFF (data)<br>0x7E000000-0x7EFFFFFF (data2)
-->{{#vardefine:RELEASE_DATE|10/19/2021}} <!--
| 0x007E0000-0x007FFFFF (code)<br>0x00800000-0x0081FFFF (data)<br>0x7E000000-0x7EFFFFFF (data2)
-->{{#vardefine:SUPPORTED_REV_SOM|v1.1 and higher}} <!--
| 256kB (TCM) + 16MB (DDR)
-->{{#vardefine:SUPPORTED_REV_CARRIER|v1.1 and higher}} <!--
| MIMX8MN6xxxxx_cm7_ram.ld
-->{{#vardefine:NXP_USER_GUIDE|Getting Started with MCUXpresso SDK for EVK-MIMX8MM.pdf}}<!--
|-
-->{{#vardefine:NXP_REFERENCE_KIT|EVK-MIMX8MM}}<!--
|}
-->{{#vardefine:YOCTO_RELEASE_TAG|hardknott-fslc-5.4-2.3.x-mx8mm-v1.1}}<!--
 
-->{{#vardefine:DEACTIVATE_LMEM_CACHE_PATCH|0001-iMX8M-MINI-deactivated-the-LMEM-caches-to-debug-in-e.patch}}<!--
All linker files are locate in the '''armgcc''' folder of each demo.
-->{{#vardefine:BOARD_SDK|dart_mx8mm}}<!--
 
--><section end=MCUXPRESSO_2.10.0_V1.0_DART-MX8M-MINI/><!--
The DDR reserved area must much the one declared in the kernel device tree: at least 1 GB of RAM is required on the SoM to allow Cortex-M7 accessing the range 0x7E000000 - 0x7EFFFFFF. For some reason, Cortex-M7 is not able to access RAM locations below 0x60000000: SoMs with 512 MB of RAM are not suitable to use Cortex-M7.
-->*HARDWARE_NAME = '''{{#var:HARDWARE_NAME}}'''
 
*RELEASE_NAME = '''{{#var:RELEASE_NAME}}'''
The RPMSG area is located at 0x40000000: all SoMs allow Cortex-M7 accessing the RPMSG area.
*RELEASE_LINK = '''{{#var:RELEASE_LINK}}'''
 
*MCUXPRESSO_VERSION = '''{{#var:MCUXPRESSO_VERSION}}'''
After launching the build_all.sh command the following folder will be created in the armgcc folder
*SDK_PATH = '''{{#var:SDK_PATH}}'''
 
*SDK_GIT_URL = '''{{#var:SDK_GIT_URL}}'''
* '''ddr_debug''': containing DDR binaries compiled in debug mode (not stripped: symbols available)
*SDK_GIT_BRANCH = '''{{#var:SDK_GIT_BRANCH}}'''
* '''ddr_release''': containing DDR binaries compiled in release mode (stripped: no symbols available)
*TOOLCHAIN_URL = '''{{#var:TOOLCHAIN_URL}}'''
* '''debug''': containing TCM binaries compiled in debug mode (not stripped: symbols available)
*TOOLCHAIN_BZ2_NAME = '''{{#var:TOOLCHAIN_BZ2_NAME}}'''
* '''release''': containing TCM binaries compiled in release mode (stripped: no symbols available)
*TOOLCHAIN_FOLDER = '''{{#var:TOOLCHAIN_FOLDER}}'''
*BOARD_FOLDER = '''{{#var:BOARD_FOLDER}}'''
*DEACTIVATE_LMEM_CACHE_PATCH = '''{{#var:DEACTIVATE_LMEM_CACHE_PATCH}}'''
*DOCS_FOLDER = '''{{#var:DOCS_FOLDER}}'''
*PINS_SECTION = '''{{#var:PINS_SECTION}}'''
*DEMOS_SECTION = '''{{#var:DEMOS_SECTION}}'''
*DTBS_SECTION = '''{{#var:DTBS_SECTION}}'''
*MEMORY_TYPES_SECTION = '''{{#var:MEMORY_TYPES_SECTION}}'''
*JTAG_SECTION = '''{{#var:JTAG_SECTION}}'''
*NXP_USER_GUIDE = '''{{#var:NXP_USER_GUIDE}}'''
*NXP_REFERENCE_KIT = '''{{#var:NXP_REFERENCE_KIT}}'''
*YOCTO_RELEASE_TAG = '''{{#var:YOCTO_RELEASE_TAG}}'''


Further details about memory mapping are available in [https://www.nxp.com/webapp/Download?colCode=IMX8MNRM i.MX 8M Applications Processors Reference Manual] paragraphs:
=== mcuxpresso-2.11.1-mx8mm-v1.0 ===
 
<section begin=MCUXPRESSO_2.11.1_V1.0_DART-MX8M-MINI/><!--
* 2.1.2 Cortex-A53 Memory Map
-->{{#vardefine:OS|FreeRTOS}}<!--
* 2.1.3 Cortex-M7 Memory Map<!--
-->{{#vardefine:HARDWARE_NAME|DART-MX8M-MINI}}<!--
--><section end=VAR-SOM-MX8MN_MEMORY-TYPES/>
-->{{#vardefine:RELEASE_NAME|mcuxpresso-2.11.1-mx8mm-v1.0}}<!--
 
-->{{#vardefine:RELEASE_LINK|MCUXPRESSO_2.11.1_V1.0_DART-MX8M-MINI}}<!--
=== JTAG ===
-->{{#vardefine:MCUXPRESSO_VERSION|2.11.1}}<!--
<section begin=VAR-SOM-MX8MN_JTAG_SECTION/><!--
-->{{#vardefine:SDK_PATH|~/var-mcuxpresso}}<!--
-->VAR-SOM-MX8M-NANO exposes JTAG signals on a header (not assembled by default) on the SOM top left side.
-->{{#vardefine:SDK_GIT_URL|https://github.com/varigit/freertos-variscite}}<!--
 
-->{{#vardefine:SDK_GIT_BRANCH|mcuxpresso_sdk_2.11.x-var01}}<!--
Here is the pinout:
-->{{#vardefine:TOOLCHAIN_URL|https://developer.arm.com/-/media/Files/downloads/gnu-rm/10.3-2021.07/gcc-arm-none-eabi-10.3-2021.07-x86_64-linux.tar.bz2}}<!--
-->{{#vardefine:TOOLCHAIN_BZ2_NAME|gcc-arm-none-eabi-10.3-2021.07-x86_64-linux.tar.bz2}}<!--
-->{{#vardefine:TOOLCHAIN_FOLDER|gcc-arm-none-eabi-10.3-2021.07}}<!--
-->{{#vardefine:BOARD_FOLDER|boards/dart_mx8mm}}<!--
-->{{#vardefine:DOCS_FOLDER|docs}}<!--
-->{{#vardefine:PINS_SECTION|DART-MX8M-MINI_PINS_SECTION_V2}}<!--
-->{{#vardefine:DEMOS_SECTION|DART-MX8M-MINI_DEMOS_SECTION}}<!--
-->{{#vardefine:DTBS_SECTION|DART-MX8M-MINI_DTBS_SECTION}}<!--
-->{{#vardefine:MEMORY_TYPES_SECTION|DART-MX8M-MINI_MEMORY-TYPES_VAR_SECTION}}<!--
-->{{#vardefine:JTAG_SECTION|DART-MX8M_JTAG_SECTION}}<!--
-->{{#vardefine:SDK_GIT_TAG|dart-mx8mm_mcuxpresso-2.11.1_v10}} <!--
-->{{#vardefine:RELEASE_DATE|07/01/2022}} <!--
-->{{#vardefine:SUPPORTED_REV_SOM|v1.1 and higher}} <!--
-->{{#vardefine:SUPPORTED_REV_CARRIER|v1.1 and higher}} <!--
-->{{#vardefine:NXP_USER_GUIDE|Getting Started with MCUXpresso SDK for EVK-MIMX8MM.pdf}}<!--
-->{{#vardefine:NXP_REFERENCE_KIT|EVK-MIMX8MM}}<!--
-->{{#vardefine:YOCTO_RELEASE_TAG|hardknott-fslc-5.4-2.3.x-mx8mm-v1.4}}<!--
-->{{#vardefine:DEACTIVATE_LMEM_CACHE_PATCH|0001-iMX8M-MINI-deactivated-the-LMEM-caches-to-debug-in-e.patch}}<!--
-->{{#vardefine:BOARD_SDK|dart_mx8mm}}<!--
--><section end=MCUXPRESSO_2.11.1_V1.0_DART-MX8M-MINI/><!--
-->*HARDWARE_NAME = '''{{#var:HARDWARE_NAME}}'''
*RELEASE_NAME = '''{{#var:RELEASE_NAME}}'''
*RELEASE_LINK = '''{{#var:RELEASE_LINK}}'''
*MCUXPRESSO_VERSION = '''{{#var:MCUXPRESSO_VERSION}}'''
*SDK_PATH = '''{{#var:SDK_PATH}}'''
*SDK_GIT_URL = '''{{#var:SDK_GIT_URL}}'''
*SDK_GIT_BRANCH = '''{{#var:SDK_GIT_BRANCH}}'''
*TOOLCHAIN_URL = '''{{#var:TOOLCHAIN_URL}}'''
*TOOLCHAIN_BZ2_NAME = '''{{#var:TOOLCHAIN_BZ2_NAME}}'''
*TOOLCHAIN_FOLDER = '''{{#var:TOOLCHAIN_FOLDER}}'''
*BOARD_FOLDER = '''{{#var:BOARD_FOLDER}}'''
*DEACTIVATE_LMEM_CACHE_PATCH = '''{{#var:DEACTIVATE_LMEM_CACHE_PATCH}}'''
*DOCS_FOLDER = '''{{#var:DOCS_FOLDER}}'''
*PINS_SECTION = '''{{#var:PINS_SECTION}}'''
*DEMOS_SECTION = '''{{#var:DEMOS_SECTION}}'''
*DTBS_SECTION = '''{{#var:DTBS_SECTION}}'''
*MEMORY_TYPES_SECTION = '''{{#var:MEMORY_TYPES_SECTION}}'''
*JTAG_SECTION = '''{{#var:JTAG_SECTION}}'''
*NXP_USER_GUIDE = '''{{#var:NXP_USER_GUIDE}}'''
*NXP_REFERENCE_KIT = '''{{#var:NXP_REFERENCE_KIT}}'''
*YOCTO_RELEASE_TAG = '''{{#var:YOCTO_RELEASE_TAG}}'''


{| class="wikitable"
=== mcuxpresso-2.12.1-mx8mm-v1.0 ===
|-
<section begin=MCUXPRESSO_2.12.1_V1.0_DART-MX8M-MINI/><!--
! scope="col" | pin
-->{{#vardefine:OS|FreeRTOS}}<!--
! scope="col" | signal
-->{{#vardefine:HARDWARE_NAME|DART-MX8M-MINI}}<!--
! scope="col" | description
-->{{#vardefine:RELEASE_NAME|mcuxpresso-2.12.1-mx8mm-v1.0}}<!--
! scope="col" | pin
-->{{#vardefine:RELEASE_LINK|MCUXPRESSO_2.12.1_V1.0_DART-MX8M-MINI}}<!--
! scope="col" | signal
-->{{#vardefine:MCUXPRESSO_VERSION|2.12.1}}<!--
! scope="col" | description
-->{{#vardefine:SDK_PATH|~/var-mcuxpresso}}<!--
|-
-->{{#vardefine:SDK_GIT_URL|https://github.com/varigit/freertos-variscite}}<!--
| '''1'''
-->{{#vardefine:SDK_GIT_BRANCH|mcuxpresso_sdk_2.12.x-var01}}<!--
| JTAG_VREF
-->{{#vardefine:TOOLCHAIN_URL|https://developer.arm.com/-/media/Files/downloads/gnu-rm/10.3-2021.10/gcc-arm-none-eabi-10.3-2021.10-x86_64-linux.tar.bz2}}<!--
| JTAG IO reference voltage,<br>connected to SOM_3V3_PER via 150 Ohm.
-->{{#vardefine:TOOLCHAIN_BZ2_NAME|gcc-arm-none-eabi-10.3-2021.10-x86_64-linux.tar.bz2}}<!--
| '''2'''
-->{{#vardefine:TOOLCHAIN_FOLDER|gcc-arm-none-eabi-10.3-2021.10}}<!--
| JTAG_TMS
-->{{#vardefine:BOARD_FOLDER|boards/dart_mx8mm}}<!--
| JTAG Mode Select signal
-->{{#vardefine:DOCS_FOLDER|docs}}<!--
|-
-->{{#vardefine:PINS_SECTION|DART-MX8M-MINI_PINS_SECTION_V2}}<!--
| '''3'''
-->{{#vardefine:DEMOS_SECTION|DART-MX8M-MINI_DEMOS_SECTION}}<!--
| GND
-->{{#vardefine:DTBS_SECTION|DART-MX8M-MINI_DTBS_SECTION}}<!--
| Digital Ground
-->{{#vardefine:MEMORY_TYPES_SECTION|DART-MX8M-MINI_MEMORY-TYPES_VAR_SECTION}}<!--
| '''4'''
-->{{#vardefine:JTAG_SECTION|DART-MX8M_JTAG_SECTION}}<!--
| JTAG_TCK
-->{{#vardefine:SDK_GIT_TAG|dart-mx8mm_mcuxpresso-2.12.1_v10}} <!--
| JTAG Clock signal,<br>include PD of 8.2K Ohm.
-->{{#vardefine:RELEASE_DATE|11/04/2022}} <!--
|-
-->{{#vardefine:SUPPORTED_REV_SOM|v1.1 and higher}} <!--
| '''5'''
-->{{#vardefine:SUPPORTED_REV_CARRIER|v1.1 and higher}} <!--
| GND
-->{{#vardefine:NXP_USER_GUIDE|Getting Started with MCUXpresso SDK for EVK-MIMX8MM.pdf}}<!--
| Digital Ground
-->{{#vardefine:NXP_REFERENCE_KIT|EVK-MIMX8MM}}<!--
| '''6'''
-->{{#vardefine:YOCTO_RELEASE_TAG|mx8mm-yocto-kirkstone-5.15-2.0.x-v1.0}}<!--
| JTAG_TDO
-->{{#vardefine:DEACTIVATE_LMEM_CACHE_PATCH|0001-iMX8M-MINI-deactivated-the-LMEM-caches-to-debug-in-e.patch}}<!--
| JTAG Data Out signal
-->{{#vardefine:BOARD_SDK|dart_mx8mm}}<!--
|-
--><section end=MCUXPRESSO_2.12.1_V1.0_DART-MX8M-MINI/><!--
| '''7'''
-->*HARDWARE_NAME = '''{{#var:HARDWARE_NAME}}'''
| GND
*RELEASE_NAME = '''{{#var:RELEASE_NAME}}'''
| Digital Ground
*RELEASE_LINK = '''{{#var:RELEASE_LINK}}'''
| '''8'''
*MCUXPRESSO_VERSION = '''{{#var:MCUXPRESSO_VERSION}}'''
| JTAG_TDI
*SDK_PATH = '''{{#var:SDK_PATH}}'''
| JTAG Data In signal
*SDK_GIT_URL = '''{{#var:SDK_GIT_URL}}'''
|-
*SDK_GIT_BRANCH = '''{{#var:SDK_GIT_BRANCH}}'''
| '''9'''
*TOOLCHAIN_URL = '''{{#var:TOOLCHAIN_URL}}'''
| JTAG_TRST_B
*TOOLCHAIN_BZ2_NAME = '''{{#var:TOOLCHAIN_BZ2_NAME}}'''
| JTAG Reset signal,<br>active low signal
*TOOLCHAIN_FOLDER = '''{{#var:TOOLCHAIN_FOLDER}}'''
| '''10'''
*BOARD_FOLDER = '''{{#var:BOARD_FOLDER}}'''
| POR_B
*DEACTIVATE_LMEM_CACHE_PATCH = '''{{#var:DEACTIVATE_LMEM_CACHE_PATCH}}'''
| Programmer Reset,<br>used to put the SOC in reset state.
*DOCS_FOLDER = '''{{#var:DOCS_FOLDER}}'''
|-
*PINS_SECTION = '''{{#var:PINS_SECTION}}'''
|}
*DEMOS_SECTION = '''{{#var:DEMOS_SECTION}}'''
 
*DTBS_SECTION = '''{{#var:DTBS_SECTION}}'''
Please refer to SoM datasheet for further details.<!--
*MEMORY_TYPES_SECTION = '''{{#var:MEMORY_TYPES_SECTION}}'''
--><section end=VAR-SOM-MX8MN_JTAG_SECTION/>
*JTAG_SECTION = '''{{#var:JTAG_SECTION}}'''
 
*NXP_USER_GUIDE = '''{{#var:NXP_USER_GUIDE}}'''
== Releases ==
*NXP_REFERENCE_KIT = '''{{#var:NXP_REFERENCE_KIT}}'''
 
*YOCTO_RELEASE_TAG = '''{{#var:YOCTO_RELEASE_TAG}}'''
=== mcuxpresso-2.7.0-mx8mn-v1.0 ===
 
<section begin=MCUXPRESSO_2.7.0_V1.0_VAR-SOM-MX8M-NANO/><!--
=== mcuxpresso-2.13.0-mx8mm-v1.0 ===
-->{{#vardefine:OS|FreeRTOS}}<!--
<section begin=MCUXPRESSO_2.13.0_V1.0_DART-MX8M-MINI/><!--
-->{{#vardefine:HARDWARE_NAME|VAR-SOM-MX8M-NANO}}<!--
-->{{#vardefine:OS|FreeRTOS}}<!--
-->{{#vardefine:SOC_HAS_M7|true}}<!--
-->{{#vardefine:HARDWARE_NAME|DART-MX8M-MINI}}<!--
-->{{#vardefine:RELEASE_NAME|mcuxpresso-2.7.0-mx8mn-v1.0}}<!--
-->{{#vardefine:RELEASE_NAME|mcuxpresso-2.13.0-mx8mm-v1.0}}<!--
-->{{#vardefine:RELEASE_LINK|MCUXPRESSO_2.7.0_V1.0_VAR-SOM-MX8M-NANO}}<!--
-->{{#vardefine:RELEASE_LINK|MCUXPRESSO_2.13.0_V1.0_DART-MX8M-MINI}}<!--
-->{{#vardefine:MCUXPRESSO_VERSION|2.7.0}}<!--
-->{{#vardefine:MCUXPRESSO_VERSION|2.13.0}}<!--
-->{{#vardefine:SDK_PATH|~/var-mcuxpresso}}<!--
-->{{#vardefine:SDK_PATH|~/var-mcuxpresso}}<!--
-->{{#vardefine:SDK_GIT_URL|https://github.com/varigit/freertos-variscite}}<!--
-->{{#vardefine:SDK_GIT_URL|https://github.com/varigit/freertos-variscite}}<!--
-->{{#vardefine:SDK_GIT_BRANCH|mcuxpresso_sdk_2.7.x-var01}}<!--
-->{{#vardefine:SDK_GIT_BRANCH|mcuxpresso_sdk_2.13.x-var01}}<!--
-->{{#vardefine:TOOLCHAIN_URL|https://developer.arm.com/-/media/Files/downloads/gnu-rm/8-2019q3/RC1.1/gcc-arm-none-eabi-8-2019-q3-update-linux.tar.bz2}}<!--
-->{{#vardefine:TOOLCHAIN_URL|https://developer.arm.com/-/media/Files/downloads/gnu-rm/10.3-2021.10/gcc-arm-none-eabi-10.3-2021.10-x86_64-linux.tar.bz2}}<!--
-->{{#vardefine:TOOLCHAIN_BZ2_NAME|gcc-arm-none-eabi-8-2019-q3-update-linux.tar.bz2}}<!--
-->{{#vardefine:TOOLCHAIN_BZ2_NAME|gcc-arm-none-eabi-10.3-2021.10-x86_64-linux.tar.bz2}}<!--
-->{{#vardefine:TOOLCHAIN_FOLDER|gcc-arm-none-eabi-8-2019-q3-update}}<!--
-->{{#vardefine:TOOLCHAIN_FOLDER|gcc-arm-none-eabi-10.3-2021.10}}<!--
-->{{#vardefine:BOARD_FOLDER|boards/som_mx8mn}}<!--
-->{{#vardefine:BOARD_FOLDER|boards/dart_mx8mm}}<!--
-->{{#vardefine:DOCS_FOLDER|docs}}<!--
-->{{#vardefine:DOCS_FOLDER|docs}}<!--
-->{{#vardefine:PINS_SECTION|VAR-SOM-MX8M-NANO_PINS_SECTION}}<!--
-->{{#vardefine:PINS_SECTION|DART-MX8M-MINI_PINS_SECTION_V2}}<!--
-->{{#vardefine:DEMOS_SECTION|VAR-SOM-MX8M-NANO_DEMOS_SECTION}}<!--
-->{{#vardefine:DEMOS_SECTION|DART-MX8M-MINI_DEMOS_SECTION}}<!--
-->{{#vardefine:DTBS_SECTION|VAR-SOM-MX8M-NANO_DTBS_SECTION}}<!--
-->{{#vardefine:DTBS_SECTION|DART-MX8M-MINI_DTBS_SECTION}}<!--
-->{{#vardefine:MEMORY_TYPES_SECTION|VAR-SOM-MX8MN_MEMORY-TYPES}}<!--
-->{{#vardefine:MEMORY_TYPES_SECTION|DART-MX8M-MINI_MEMORY-TYPES_VAR_SECTION}}<!--
-->{{#vardefine:JTAG_SECTION|VAR-SOM-MX8MN_JTAG_SECTION}}<!--
-->{{#vardefine:JTAG_SECTION|DART-MX8M_JTAG_SECTION}}<!--
-->{{#vardefine:SDK_GIT_TAG|som-mx8mn_mcuxpresso-2.7.0_v10}} <!--
-->{{#vardefine:SDK_GIT_TAG|dart-mx8mm_mcuxpresso-2.13.0_v10}} <!--
-->{{#vardefine:RELEASE_DATE|5/3/2020}} <!--
-->{{#vardefine:RELEASE_DATE|02/02/2023}} <!--
-->{{#vardefine:SUPPORTED_REV_SOM|v1.0 and higher}} <!--
-->{{#vardefine:SUPPORTED_REV_SOM|v1.1 and higher}} <!--
-->{{#vardefine:SUPPORTED_REV_CARRIER|v1.2 and higher}} <!--
-->{{#vardefine:SUPPORTED_REV_CARRIER|v1.1 and higher}} <!--
-->{{#vardefine:NXP_USER_GUIDE|Getting Started with MCUXpresso SDK for EVK-MIMX8MN.pdf}}<!--
-->{{#vardefine:NXP_USER_GUIDE|Getting Started with MCUXpresso SDK for EVK-MIMX8MM.pdf}}<!--
-->{{#vardefine:NXP_REFERENCE_KIT|EVK-MIMX8MN}}<!--
-->{{#vardefine:NXP_REFERENCE_KIT|EVK-MIMX8MM}}<!--
--><section end=MCUXPRESSO_2.7.0_V1.0_VAR-SOM-MX8M-NANO/><!--
-->{{#vardefine:YOCTO_RELEASE_TAG|mx8mm-yocto-kirkstone-5.15-2.0.x-v1.1}}<!--
-->{{#vardefine:DEACTIVATE_LMEM_CACHE_PATCH|0001-iMX8M-MINI-deactivated-the-LMEM-caches-to-debug-in-e.patch}}<!--
-->{{#vardefine:BOARD_SDK|dart_mx8mm}}<!--
--><section end=MCUXPRESSO_2.13.0_V1.0_DART-MX8M-MINI/><!--
-->*HARDWARE_NAME = '''{{#var:HARDWARE_NAME}}'''
-->*HARDWARE_NAME = '''{{#var:HARDWARE_NAME}}'''
*SOC_HAS_M7 = '''{{#var:SOC_HAS_M7}}'''
*RELEASE_NAME = '''{{#var:RELEASE_NAME}}'''
*RELEASE_NAME = '''{{#var:RELEASE_NAME}}'''
*RELEASE_LINK = '''{{#var:RELEASE_LINK}}'''
*RELEASE_LINK = '''{{#var:RELEASE_LINK}}'''
Line 1,274: Line 1,446:
*TOOLCHAIN_FOLDER = '''{{#var:TOOLCHAIN_FOLDER}}'''
*TOOLCHAIN_FOLDER = '''{{#var:TOOLCHAIN_FOLDER}}'''
*BOARD_FOLDER = '''{{#var:BOARD_FOLDER}}'''
*BOARD_FOLDER = '''{{#var:BOARD_FOLDER}}'''
*DEACTIVATE_LMEM_CACHE_PATCH = '''{{#var:DEACTIVATE_LMEM_CACHE_PATCH}}'''
*DOCS_FOLDER = '''{{#var:DOCS_FOLDER}}'''
*DOCS_FOLDER = '''{{#var:DOCS_FOLDER}}'''
*PINS_SECTION = '''{{#var:PINS_SECTION}}'''
*PINS_SECTION = '''{{#var:PINS_SECTION}}'''
Line 1,282: Line 1,455:
*NXP_USER_GUIDE = '''{{#var:NXP_USER_GUIDE}}'''
*NXP_USER_GUIDE = '''{{#var:NXP_USER_GUIDE}}'''
*NXP_REFERENCE_KIT = '''{{#var:NXP_REFERENCE_KIT}}'''
*NXP_REFERENCE_KIT = '''{{#var:NXP_REFERENCE_KIT}}'''
=== mcuxpresso-2.8.0-mx8mn-v1.0 ===
*YOCTO_RELEASE_TAG = '''{{#var:YOCTO_RELEASE_TAG}}'''
<section begin=MCUXPRESSO_2.8.0_V1.0_VAR-SOM-MX8M-NANO/><!--
 
-->{{#vardefine:HARDWARE_NAME|VAR-SOM-MX8M-NANO}}<!--
=== mcuxpresso-2.15.0-mx8mm-v1.0 ===
-->{{#vardefine:SOC_HAS_M7|true}}<!--
<section begin=MCUXPRESSO_2.15.0_V1.0_DART-MX8M-MINI/><!--
-->{{#vardefine:RELEASE_NAME|mcuxpresso-2.8.0-mx8mn-v1.0}}<!--
-->{{#vardefine:OS|FreeRTOS}}<!--
-->{{#vardefine:RELEASE_LINK|MCUXPRESSO_2.8.0_V1.0_VAR-SOM-MX8M-NANO}}<!--
-->{{#vardefine:HARDWARE_NAME|DART-MX8M-MINI}}<!--
-->{{#vardefine:MCUXPRESSO_VERSION|2.8.0}}<!--
-->{{#vardefine:RELEASE_NAME|mcuxpresso-2.15.0-mx8mm-v1.0}}<!--
-->{{#vardefine:RELEASE_LINK|MCUXPRESSO_2.15.0_V1.0_DART-MX8M-MINI}}<!--
-->{{#vardefine:MCUXPRESSO_VERSION|2.15.0}}<!--
-->{{#vardefine:SDK_PATH|~/var-mcuxpresso}}<!--
-->{{#vardefine:SDK_PATH|~/var-mcuxpresso}}<!--
-->{{#vardefine:SDK_GIT_URL|https://github.com/varigit/freertos-variscite}}<!--
-->{{#vardefine:SDK_GIT_URL|https://github.com/varigit/freertos-variscite}}<!--
-->{{#vardefine:SDK_GIT_BRANCH|mcuxpresso_sdk_2.8.x-var01}}<!--
-->{{#vardefine:SDK_GIT_BRANCH|mcuxpresso_sdk_2.15.x-var01}}<!--
-->{{#vardefine:TOOLCHAIN_URL|https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2020q2/gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2}}<!--
-->{{#vardefine:TOOLCHAIN_URL|https://developer.arm.com/-/media/Files/downloads/gnu/12.3.rel1/binrel/arm-gnu-toolchain-12.3.rel1-x86_64-arm-none-eabi.tar.xz}}<!--
-->{{#vardefine:TOOLCHAIN_BZ2_NAME|gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2}}<!--
-->{{#vardefine:TOOLCHAIN_BZ2_NAME|arm-gnu-toolchain-12.3.rel1-x86_64-arm-none-eabi.tar.xz}}<!--
-->{{#vardefine:TOOLCHAIN_FOLDER|gcc-arm-none-eabi-9-2020-q2-update}}<!--
-->{{#vardefine:TOOLCHAIN_FOLDER|arm-gnu-toolchain-12.3.rel1-x86_64-arm-none-eabi}}<!--
-->{{#vardefine:BOARD_FOLDER|boards/som_mx8mn}}<!--
-->{{#vardefine:BOARD_FOLDER|boards/dart_mx8mm}}<!--
-->{{#vardefine:DOCS_FOLDER|docs}}<!--
-->{{#vardefine:DOCS_FOLDER|docs}}<!--
-->{{#vardefine:PINS_SECTION|VAR-SOM-MX8M-NANO_PINS_SECTION}}<!--
-->{{#vardefine:PINS_SECTION|DART-MX8M-MINI_PINS_SECTION_V2}}<!--
-->{{#vardefine:DEMOS_SECTION|VAR-SOM-MX8M-NANO_DEMOS_SECTION}}<!--
-->{{#vardefine:DEMOS_SECTION|DART-MX8M-MINI_DEMOS_SECTION_V2}}<!--
-->{{#vardefine:DTBS_SECTION|VAR-SOM-MX8M-NANO_DTBS_SECTION}}<!--
-->{{#vardefine:DTBS_SECTION|DART-MX8M-MINI_DTBS_SECTION}}<!--
-->{{#vardefine:MEMORY_TYPES_SECTION|VAR-SOM-MX8MN_MEMORY-TYPES}}<!--
-->{{#vardefine:MEMORY_TYPES_SECTION|DART-MX8M-MINI_MEMORY-TYPES_VAR_SECTION}}<!--
-->{{#vardefine:JTAG_SECTION|VAR-SOM-MX8MN_JTAG_SECTION}}<!--
-->{{#vardefine:JTAG_SECTION|DART-MX8M_JTAG_SECTION}}<!--
-->{{#vardefine:NXP_USER_GUIDE|Getting Started with MCUXpresso SDK for EVK-MIMX8MN.pdf}}<!--
-->{{#vardefine:SDK_GIT_TAG|dart-mx8mm_mcuxpresso-2.15.0_v10}} <!--
-->{{#vardefine:NXP_REFERENCE_KIT|EVK-MIMX8MN}}<!--
-->{{#vardefine:RELEASE_DATE|09/16/2024}} <!--
-->{{#vardefine:SDK_GIT_TAG|som-mx8mn_mcuxpresso-2.8.0_v10}}<!--
-->{{#vardefine:SUPPORTED_REV_SOM|v1.1 and higher}} <!--
-->{{#vardefine:RELEASE_DATE|9/8/2020}}<!--
-->{{#vardefine:SUPPORTED_REV_CARRIER|v1.1 and higher}} <!--
-->{{#vardefine:SUPPORTED_REV_SOM|v1.0 and higher}} <!--
-->{{#vardefine:NXP_USER_GUIDE|Getting Started with MCUXpresso SDK for EVK-MIMX8MM.pdf}}<!--
-->{{#vardefine:SUPPORTED_REV_CARRIER|v1.2 and higher}} <!--
-->{{#vardefine:NXP_REFERENCE_KIT|EVK-MIMX8MM}}<!--
--><section end=MCUXPRESSO_2.8.0_V1.0_VAR-SOM-MX8M-NANO/><!--
-->{{#vardefine:YOCTO_RELEASE_TAG|mx8mm-yocto-mickledore-6.1.36_2.1.0-v1.2}}<!--
-->{{#vardefine:DEACTIVATE_LMEM_CACHE_PATCH|0001-iMX8M-MINI-deactivated-the-LMEM-caches-to-debug-in-e.patch}}<!--
-->{{#vardefine:LMEM_CACHE_FILE|MIMX8MM6/system_MIMX8MM6_cm4.c}}<!--
-->{{#vardefine:BOARD_SDK|dart_mx8mm}}<!--
--><section end=MCUXPRESSO_2.15.0_V1.0_DART-MX8M-MINI/><!--
-->*HARDWARE_NAME = '''{{#var:HARDWARE_NAME}}'''
-->*HARDWARE_NAME = '''{{#var:HARDWARE_NAME}}'''
*SOC_HAS_M7 = '''{{#var:SOC_HAS_M7}}'''
*RELEASE_NAME = '''{{#var:RELEASE_NAME}}'''
*RELEASE_NAME = '''{{#var:RELEASE_NAME}}'''
*RELEASE_LINK = '''{{#var:RELEASE_LINK}}'''
*RELEASE_LINK = '''{{#var:RELEASE_LINK}}'''
Line 1,321: Line 1,499:
*TOOLCHAIN_FOLDER = '''{{#var:TOOLCHAIN_FOLDER}}'''
*TOOLCHAIN_FOLDER = '''{{#var:TOOLCHAIN_FOLDER}}'''
*BOARD_FOLDER = '''{{#var:BOARD_FOLDER}}'''
*BOARD_FOLDER = '''{{#var:BOARD_FOLDER}}'''
*DEACTIVATE_LMEM_CACHE_PATCH = '''{{#var:DEACTIVATE_LMEM_CACHE_PATCH}}'''
*LMEM_CACHE_FILE = '''{{#var:LMEM_CACHE_FILE}}'''
*DOCS_FOLDER = '''{{#var:DOCS_FOLDER}}'''
*DOCS_FOLDER = '''{{#var:DOCS_FOLDER}}'''
*PINS_SECTION = '''{{#var:PINS_SECTION}}'''
*PINS_SECTION = '''{{#var:PINS_SECTION}}'''
Line 1,329: Line 1,509:
*NXP_USER_GUIDE = '''{{#var:NXP_USER_GUIDE}}'''
*NXP_USER_GUIDE = '''{{#var:NXP_USER_GUIDE}}'''
*NXP_REFERENCE_KIT = '''{{#var:NXP_REFERENCE_KIT}}'''
*NXP_REFERENCE_KIT = '''{{#var:NXP_REFERENCE_KIT}}'''
*YOCTO_RELEASE_TAG = '''{{#var:YOCTO_RELEASE_TAG}}'''
= VAR-SOM-MX8M-NANO =
== Sections ==


=== mcuxpresso-2.9.0-mx8mn-v1.0 ===
=== Available dtbs ===
<section begin=MCUXPRESSO_2.9.0_V1.0_VAR-SOM-MX8M-NANO/><!--
<section begin=VAR-SOM-MX8M-NANO_DTBS_SECTION/><!--
-->{{#vardefine:OS|FreeRTOS}}<!--
-->To allow Cortex M7 accessing shared resources without experiencing Linux kernel conflicts, a dedicated device tree must be loaded, containing '''m7''' label in the name, using the fdt_file environment variable in U-Boot.
-->{{#vardefine:HARDWARE_NAME|VAR-SOM-MX8M-NANO}}<!--
 
-->{{#vardefine:SOC_HAS_M7|true}}<!--
{| class="wikitable"
-->{{#vardefine:RELEASE_NAME|mcuxpresso-2.9.0-mx8mn-v1.0}}<!--
|-
-->{{#vardefine:RELEASE_LINK|MCUXPRESSO_2.9.0_V1.0_VAR-SOM-MX8M-NANO}}<!--
! scope="col" | File Name<br/>
-->{{#vardefine:MCUXPRESSO_VERSION|2.9.0}}<!--
! scope="col" | Description<br/>
-->{{#vardefine:SDK_PATH|~/var-mcuxpresso}}<!--
|-
-->{{#vardefine:SDK_GIT_URL|https://github.com/varigit/freertos-variscite}}<!--
| style="padding: 5px;"| imx8mn-var-som-symphony-'''m7'''.dtb
-->{{#vardefine:SDK_GIT_BRANCH|mcuxpresso_sdk_2.9.x-var01}}<!--
| style="padding: 5px;"| VAR-SOM-MX8M-NANO device tree blob for kernel = 5.4.74 (Yocto Dunfell) on Symphony-Board 1.4a and above and for kernel >= 5.10.72 (Yocto Hardknott) on all Symphony-Boards
-->{{#vardefine:TOOLCHAIN_URL|https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2020q2/gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2}}<!--
|-
-->{{#vardefine:TOOLCHAIN_BZ2_NAME|gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2}}<!--
| style="padding: 5px;"| imx8mn-var-som-symphony-legacy-'''m7'''.dtb
-->{{#vardefine:TOOLCHAIN_FOLDER|gcc-arm-none-eabi-9-2020-q2-update}}<!--
| style="padding: 5px;"| VAR-SOM-MX8M-NANO device tree blob for kernel = 5.4.74 (Yocto Dunfell) on Symphony-Board 1.4 and below
-->{{#vardefine:BOARD_FOLDER|boards/som_mx8mn}}<!--
|-
-->{{#vardefine:DOCS_FOLDER|docs}}<!--
| style="padding: 5px;"| imx8mn-var-som-'''m7'''.dtb
-->{{#vardefine:PINS_SECTION|VAR-SOM-MX8M-NANO_PINS_SECTION}}<!--
| style="padding: 5px;"| VAR-SOM-MX8M-NANO device tree blob for kernel 5.4.3 - 5.4.24 (Yocto Zeus) on som rev > 1.0
-->{{#vardefine:DEMOS_SECTION|VAR-SOM-MX8M-NANO_DEMOS_SECTION}}<!--
|-
-->{{#vardefine:DTBS_SECTION|VAR-SOM-MX8M-NANO_DTBS_SECTION}}<!--
| style="padding: 5px;"| imx8mn-var-som-rev10-'''m7'''.dtb
-->{{#vardefine:MEMORY_TYPES_SECTION|VAR-SOM-MX8MN_MEMORY-TYPES}}<!--
| style="padding: 5px;"| VAR-SOM-MX8M-NANO device tree blob for kernel 5.4.3 - 5.4.24 (Yocto Zeus) on som rev 1.0
-->{{#vardefine:JTAG_SECTION|VAR-SOM-MX8MN_JTAG_SECTION}}<!--
|-
-->{{#vardefine:NXP_USER_GUIDE|Getting Started with MCUXpresso SDK for EVK-MIMX8MN.pdf}}<!--
| style="padding: 5px;"| fsl-imx8mn-var-som-'''m7'''.dtb
-->{{#vardefine:NXP_REFERENCE_KIT|EVK-MIMX8MN}}<!--
| style="padding: 5px;"| VAR-SOM-MX8M-NANO device tree blob for kernel < 5.4.3 on som rev > 1.0
-->{{#vardefine:SDK_GIT_TAG|som-mx8mn_mcuxpresso-2.9.0_v10}}<!--
|-
-->{{#vardefine:RELEASE_DATE|1/27/2021}}<!--
| style="padding: 5px;"| fsl-imx8mn-var-som-rev10-'''m7'''.dtb
-->{{#vardefine:SUPPORTED_REV_SOM|v1.0 and higher}} <!--
| style="padding: 5px;"| VAR-SOM-MX8M-NANO device tree blob for kernel < 5.4.3 on som rev 1.0
-->{{#vardefine:SUPPORTED_REV_CARRIER|v1.2 and higher}} <!--
|-
-->{{#vardefine:YOCTO_RELEASE_TAG|dunfell-fslc-5.4-2.1.x-mx8mn-v1.1}}<!--
|}
--><section end=MCUXPRESSO_2.9.0_V1.0_VAR-SOM-MX8M-NANO/><!--
 
-->*HARDWARE_NAME = '''{{#var:HARDWARE_NAME}}'''
This device tree disables some of the base device tree nodes in order to avoid conflicts between the main processor and Cortex M7.<!--
*SOC_HAS_M7 = '''{{#var:SOC_HAS_M7}}'''
--><section end=VAR-SOM-MX8M-NANO_DTBS_SECTION/>
*RELEASE_NAME = '''{{#var:RELEASE_NAME}}'''
 
*RELEASE_LINK = '''{{#var:RELEASE_LINK}}'''
=== Default M7 pins ===
*MCUXPRESSO_VERSION = '''{{#var:MCUXPRESSO_VERSION}}'''
<section begin=VAR-SOM-MX8M-NANO_PINS_SECTION/><!--
*SDK_PATH = '''{{#var:SDK_PATH}}'''
-->Default M7 pins used by the demos are:
*SDK_GIT_URL = '''{{#var:SDK_GIT_URL}}'''
*SDK_GIT_BRANCH = '''{{#var:SDK_GIT_BRANCH}}'''
*TOOLCHAIN_URL = '''{{#var:TOOLCHAIN_URL}}'''
*TOOLCHAIN_BZ2_NAME = '''{{#var:TOOLCHAIN_BZ2_NAME}}'''
*TOOLCHAIN_FOLDER = '''{{#var:TOOLCHAIN_FOLDER}}'''
*BOARD_FOLDER = '''{{#var:BOARD_FOLDER}}'''
*DOCS_FOLDER = '''{{#var:DOCS_FOLDER}}'''
*PINS_SECTION = '''{{#var:PINS_SECTION}}'''
*DEMOS_SECTION = '''{{#var:DEMOS_SECTION}}'''
*DTBS_SECTION = '''{{#var:DTBS_SECTION}}'''
*MEMORY_TYPES_SECTION = '''{{#var:MEMORY_TYPES_SECTION}}'''
*JTAG_SECTION = '''{{#var:JTAG_SECTION}}'''
*NXP_USER_GUIDE = '''{{#var:NXP_USER_GUIDE}}'''
*NXP_REFERENCE_KIT = '''{{#var:NXP_REFERENCE_KIT}}'''
*YOCTO_RELEASE_TAG = '''{{#var:YOCTO_RELEASE_TAG}}'''


=== mcuxpresso-2.10.0-mx8mn-v1.0 ===
{| class="wikitable"
<section begin=MCUXPRESSO_2.10.0_V1.0_VAR-SOM-MX8M-NANO/><!--
|-
-->{{#vardefine:OS|FreeRTOS}}<!--
! scope="col" | Function
-->{{#vardefine:HARDWARE_NAME|VAR-SOM-MX8M-NANO}}<!--
! scope="col" | SoC balls
-->{{#vardefine:SOC_HAS_M7|true}}<!--
! scope="col" | VAR-SOM-MX8M-NANO pins
-->{{#vardefine:RELEASE_NAME|mcuxpresso-2.10.0-mx8mn-v1.0}}<!--
! scope="col" | Symphony pins
-->{{#vardefine:RELEASE_LINK|MCUXPRESSO_2.10.0_V1.0_VAR-SOM-MX8M-NANO}}<!--
! scope="col" | Notes
-->{{#vardefine:MCUXPRESSO_VERSION|2.10.0}}<!--
|-
-->{{#vardefine:SDK_PATH|~/var-mcuxpresso}}<!--
| UART3 RX/TX
-->{{#vardefine:SDK_GIT_URL|https://github.com/varigit/freertos-variscite}}<!--
| E18 / D18
-->{{#vardefine:SDK_GIT_BRANCH|mcuxpresso_sdk_2.10.x-var01}}<!--
| J1.175 / J1.124
-->{{#vardefine:TOOLCHAIN_URL|https://developer.arm.com/-/media/Files/downloads/gnu-rm/10-2020q4/gcc-arm-none-eabi-10-2020-q4-major-x86_64-linux.tar.bz2}}<!--
| J18.5 / J18.3
-->{{#vardefine:TOOLCHAIN_BZ2_NAME|gcc-arm-none-eabi-10-2020-q4-major-x86_64-linux.tar.bz2}}<!--
|
-->{{#vardefine:TOOLCHAIN_FOLDER|gcc-arm-none-eabi-10-2020-q4-major}}<!--
|-
-->{{#vardefine:BOARD_FOLDER|boards/som_mx8mn}}<!--
| GPIO4_IO23
-->{{#vardefine:DOCS_FOLDER|docs}}<!--
| AC24
-->{{#vardefine:PINS_SECTION|VAR-SOM-MX8M-NANO_PINS_SECTION}}<!--
| J1.21
-->{{#vardefine:DEMOS_SECTION|VAR-SOM-MX8M-NANO_DEMOS_SECTION}}<!--
| J16.5
-->{{#vardefine:DTBS_SECTION|VAR-SOM-MX8M-NANO_DTBS_SECTION}}<!--
|
-->{{#vardefine:MEMORY_TYPES_SECTION|VAR-SOM-MX8MN_MEMORY-TYPES}}<!--
|-
-->{{#vardefine:JTAG_SECTION|VAR-SOM-MX8MN_JTAG_SECTION}}<!--
| I2C4 SCL/SDA
-->{{#vardefine:NXP_USER_GUIDE|Getting Started with MCUXpresso SDK for EVK-MIMX8MN.pdf}}<!--
| D13 / E13
-->{{#vardefine:NXP_REFERENCE_KIT|EVK-MIMX8MN}}<!--
| J1.174 / J1.176
-->{{#vardefine:SDK_GIT_TAG|som-mx8mn_mcuxpresso-2.10.0_v10}}<!--
| J16.10 / J16.12
-->{{#vardefine:RELEASE_DATE|10/21/2021}}<!--
|
-->{{#vardefine:SUPPORTED_REV_SOM|v1.0 and higher}} <!--
-->{{#vardefine:SUPPORTED_REV_CARRIER|v1.2 and higher}} <!--
-->{{#vardefine:YOCTO_RELEASE_TAG|dunfell-fslc-5.4-2.1.x-mx8mn-v1.6}}<!--
-->{{#vardefine:BOARD_SDK|som_mx8mn}}<!--
--><section end=MCUXPRESSO_2.10.0_V1.0_VAR-SOM-MX8M-NANO/><!--
-->*HARDWARE_NAME = '''{{#var:HARDWARE_NAME}}'''
*SOC_HAS_M7 = '''{{#var:SOC_HAS_M7}}'''
*RELEASE_NAME = '''{{#var:RELEASE_NAME}}'''
*RELEASE_LINK = '''{{#var:RELEASE_LINK}}'''
*MCUXPRESSO_VERSION = '''{{#var:MCUXPRESSO_VERSION}}'''
*SDK_PATH = '''{{#var:SDK_PATH}}'''
*SDK_GIT_URL = '''{{#var:SDK_GIT_URL}}'''
*SDK_GIT_BRANCH = '''{{#var:SDK_GIT_BRANCH}}'''
*TOOLCHAIN_URL = '''{{#var:TOOLCHAIN_URL}}'''
*TOOLCHAIN_BZ2_NAME = '''{{#var:TOOLCHAIN_BZ2_NAME}}'''
*TOOLCHAIN_FOLDER = '''{{#var:TOOLCHAIN_FOLDER}}'''
*BOARD_FOLDER = '''{{#var:BOARD_FOLDER}}'''
*DOCS_FOLDER = '''{{#var:DOCS_FOLDER}}'''
*PINS_SECTION = '''{{#var:PINS_SECTION}}'''
*DEMOS_SECTION = '''{{#var:DEMOS_SECTION}}'''
*DTBS_SECTION = '''{{#var:DTBS_SECTION}}'''
*MEMORY_TYPES_SECTION = '''{{#var:MEMORY_TYPES_SECTION}}'''
*JTAG_SECTION = '''{{#var:JTAG_SECTION}}'''
*NXP_USER_GUIDE = '''{{#var:NXP_USER_GUIDE}}'''
*NXP_REFERENCE_KIT = '''{{#var:NXP_REFERENCE_KIT}}'''
*YOCTO_RELEASE_TAG = '''{{#var:YOCTO_RELEASE_TAG}}'''
 
= DART-MX8M-PLUS =
 
== Sections ==
 
=== Available dtbs ===
<section begin=DART-MX8M-PLUS_DTBS_SECTION/><!--
-->To allow Cortex M7 accessing shared resources without experiencing Linux kernel conflicts, a dedicated device tree must be loaded, containing '''m7''' label in the name, using the fdt_file environment variable in U-Boot.
 
This device tree disables some of the base device tree nodes in order to avoid conflicts between the main processor and Cortex M7.
 
{| class="wikitable"
|-
|-
! scope="col" | File Name<br/>
| PWM3
! scope="col" | Description<br/>
| AF9
| J1.69
| J18.2
|
|-
|-
| style="padding: 5px;"| imx8mp-var-dart-dt8customboard-'''m7'''.dtb
| SPI1 CS0/SCK/SDI/SDO
| style="padding: 5px;"| DART-MX8M-PLUS device tree blob for kernel >= 5.4.70 (Yocto Zeus) on DT8MCustomBoard 2.x
| B6 / D6 / A7 / B7
| J1.39 / J1.43 / J1.41 / J1.45
| J16.4/ J16.2 / J16.6 / J16.8
| Enabling it SPI devices will be no longer visible from Linux
|-
|-
| style="padding: 5px;"| imx8mp-var-dart-dt8mcustomboard-legacy-'''m7'''.dtb
|}<!--
| style="padding: 5px;"| DART-MX8M-PLUS device tree blob for kernel >= 5.4.70 (Yocto Zeus) on on DT8MCustomBoard 1.x
--><section end=VAR-SOM-MX8M-NANO_PINS_SECTION/>
|-
 
| style="padding: 5px;"| imx8mp-var-som-symphony-'''m7'''.dtb
=== Available Demos ===
| style="padding: 5px;"| VAR-SOM-MX8M-PLUS device tree blob for kernels >= 5.4.70 (Yocto Zeus) on on Symphony-Board
<section begin=VAR-SOM-MX8M-NANO_DEMOS_SECTION/><!--
|-
-->{{#ifeq: {{#var:MCUXPRESSO_VERSION}} | 2.15.0 | {{VAR-SOM-MX8M-NANO_DEMOS_SECTION_2.15.0}} | {{VAR-SOM-MX8M-NANO_DEMOS_SECTION_LEGACY}} }}<!--
| style="padding: 5px;"| imx8mp-var-som-symphony-2nd-ov5640'''m7'''.dtb
--><section end=VAR-SOM-MX8M-NANO_DEMOS_SECTION/>
| style="padding: 5px;"| VAR-SOM-MX8M-PLUS device tree blob for kernels >= 5.4.70 (Yocto Zeus) on on Symphony-Board with 2nd OV5640
|-
|}


<section end=DART-MX8M-PLUS_DTBS_SECTION/>
=== Memory types ===
<section begin=VAR-SOM-MX8MN_MEMORY-TYPES/><!--
-->The SDK allow linking using 2 different memory types: DDR, TCM.


=== Default M7 pins v1 ===
Here is available a short summary of memory areas used by Cortex-M7 as described in related linker file.
<section begin=DART-MX8M-PLUS_PINS_SECTION/><!--
-->Default M7 pins used by the demos are:


{| class="wikitable"
{| class="wikitable"
|-
|-
! scope="col" | function
! scope="col" | memory type
! scope="col" | SoC balls
! scope="col" | M7 memory area
! scope="col" | DART-MX8M-PLUS pins
! scope="col" | A53 memory area
! scope="col" | DT8MCB pins
! scope="col" | memory lentgh
! scope="col" | VAR-SOM-MX8M-PLUS pins
! scope="col" | linker file
! scope="col" | Symphony pins
! scope="col" | notes
|-
|-
| UART3 RX/TX
| DDR
| AE6 / AJ4
| 0x7E000000-0x7E1FFFFF (code)<br>0x7E200000-0x7E3FFFFF (data)<br>0x7E400000-0x7EFFFFFF (data2)
| J2.87 / J2.89
| 0x7E000000-0x7E1FFFFF (code)<br>0x7E200000-0x7E3FFFFF (data)<br>0x7E400000-0x7EFFFFFF (data2)
| J12.11 / J12.13
| 16MB (DDR)
|  
| MIMX8MN6xxxxx_cm7_ddr_ram.ld
|  
|  
|-
|-
| UART4 RX/TX
| TCM
| AH5 / AJ5
| 0x00000000-0x0001FFFF (code)<br>0x20000000-0x2001FFFF (data)<br>0x7E000000-0x7EFFFFFF (data2)
|  
| 0x007E0000-0x007FFFFF (code)<br>0x00800000-0x0081FFFF (data)<br>0x7E000000-0x7EFFFFFF (data2)
|  
| 256kB (TCM) + 16MB (DDR)
| J1.115 / J1.171
| MIMX8MN6xxxxx_cm7_ram.ld
| J18.9 / J18.7
|
|-
|-
| GPIO3_IO14
|}
| R26
 
|
All linker files are locate in the '''armgcc''' folder of each demo.
|
 
| J1.79
The DDR reserved area must match the one declared in the kernel device tree: at least 1 GB of RAM is required on the SoM to allow Cortex-M7 accessing the range 0x7E000000 - 0x7EFFFFFF. For some reason, Cortex-M7 is not able to access RAM locations below 0x60000000: SoMs with 512 MB of RAM are not suitable to use Cortex-M7.
| J17.10
 
|
The RPMSG area is located at 0x40000000: all SoMs allow Cortex-M7 accessing the RPMSG area.
 
After launching the build_all.sh command the following folder will be created in the armgcc folder
 
* '''ddr_debug''': containing DDR binaries compiled in debug mode (not stripped: symbols available)
* '''ddr_release''': containing DDR binaries compiled in release mode (stripped: no symbols available)
* '''debug''': containing TCM binaries compiled in debug mode (not stripped: symbols available)
* '''release''': containing TCM binaries compiled in release mode (stripped: no symbols available)
 
Further details about memory mapping are available in the following [https://www.nxp.com/doc/IMX8MNRM i.MX 8M Nano Applications Processor Reference Manual] paragraphs:
                                                                                                     
* 2.1.2 Cortex-A53 Memory Map
* 2.1.3 Cortex-M7 Memory Map<!--
--><section end=VAR-SOM-MX8MN_MEMORY-TYPES/>
 
=== JTAG ===
<section begin=VAR-SOM-MX8MN_JTAG_SECTION/><!--
-->VAR-SOM-MX8M-NANO exposes JTAG signals on a header (not assembled by default) on the SOM top left side.
 
Here is the pinout:
 
{| class="wikitable"
|-
|-
| GPIO4_IO03
! scope="col" | pin
| AF10
! scope="col" | signal
| J2.59
! scope="col" | description
| GPLED1 on DT8MCB rev 1.x<br>J11.20 on DT8MCB rev 2.x
! scope="col" | pin
|  
! scope="col" | signal
|  
! scope="col" | description
|
|-
|-
| I2C3 SCL/SDA
| '''1'''
| AJ7 / AJ6
| JTAG_VREF
| J3.46 / J3.42
| JTAG IO reference voltage,<br>connected to SOM_3V3_PER via 150 Ohm.
| J12.18/ J12.20
| '''2'''
|  
| JTAG_TMS
|  
| JTAG Mode Select signal
|
|-
|-
| I2C4 SCL/SDA
| '''3'''
| AF8 / AD8
| GND
|  
| Digital Ground
|  
| '''4'''
| J1.92 / J1.90
| JTAG_TCK
| J16.13 / J16.15
| JTAG Clock signal,<br>include PD of 8.2K Ohm.
| enabling it SPI devices will be no longer visible from Linux
|-
|-
| PWM2
| '''5'''
| D8
| GND
|  
| Digital Ground
|  
| '''6'''
| J1.69
| JTAG_TDO
| J18.2
| JTAG Data Out signal
|
|-
|-
| PWM3
| '''7'''
| AE18
| GND
| J3.36
| Digital Ground
| J14.7
| '''8'''
|  
| JTAG_TDI
|  
| JTAG Data In signal
|
|-
|-
| SPI1 CS0/SCK/SDI/SDO
| '''9'''
| AE20 / AF20 / AD20 / AC20
| JTAG_TRST_B
| J2.79 / J2.77 / J2.81 / J2.83
| JTAG Reset signal,<br>active low signal
| J16.4/ J16.2 / J16.8 / J16.6
| '''10'''
|  
| POR_B
|  
| Programmer Reset,<br>used to put the SOC in reset state.
| enabling it SPI devices will be no longer visible from Linux
|-
|-
| SPI2 CS0/SCK/SDI/SDO
|}
| AJ22 / AH21 / AH20 / AJ21
 
|
Please refer to SoM datasheet for further details.<!--
|
--><section end=VAR-SOM-MX8MN_JTAG_SECTION/>
| J1.39 / J1.43 / J1.41 / J1.45
 
| J16.4/ J16.2 / J16.6 / J16.8
== Releases ==
| enabling it SPI devices will be no longer visible from Linux
 
|-
=== mcuxpresso-2.7.0-mx8mn-v1.0 ===
{{#ifeq: {{#var:MCUXPRESSO_VERSION}} | 2.10.0 |
<section begin=MCUXPRESSO_2.7.0_V1.0_VAR-SOM-MX8M-NANO/><!--
{{!}}-
-->{{#vardefine:OS|FreeRTOS}}<!--
{{!}} FLEXCAN1 RX/TX {{!}}{{!}} AH15 / AJ16 {{!}}{{!}} j2.56 / j2.50 {{!}}{{!}} J13.11 / J13.5 on DT8MCB rev 1.x, TTL levels (CAN transceiver not mounted!) {{!}}{{!}} {{!}}{{!}} {{!}}{{!}} enabling it FLEXCAN1 devices will be no longer visible from Linux
-->{{#vardefine:HARDWARE_NAME|VAR-SOM-MX8M-NANO}}<!--
{{!}}-
-->{{#vardefine:SOC_HAS_M7|true}}<!--
{{!}} {{!}}{{!}} {{!}}{{!}} {{!}}{{!}} J16.9 / J16.7 on DT8MCB rev 2.x, CANL/CANH levels (CAN transceiver mounted!) {{!}}{{!}} {{!}}{{!}} {{!}}{{!}}
-->{{#vardefine:RELEASE_NAME|mcuxpresso-2.7.0-mx8mn-v1.0}}<!--
{{!}}-
-->{{#vardefine:RELEASE_LINK|MCUXPRESSO_2.7.0_V1.0_VAR-SOM-MX8M-NANO}}<!--
{{!}} FLEXCAN2 RX/TX {{!}}{{!}} AJ4 / AE6 {{!}}{{!}} {{!}}{{!}} {{!}}{{!}} J1.46 / J1.44 {{!}}{{!}} J16.18 / J16.20, CANL/CANH levels (CAN transceiver mounted!) {{!}}{{!}} enabling it FLEXCAN2 devices will be no longer visible from Linux
-->{{#vardefine:MCUXPRESSO_VERSION|2.7.0}}<!--
{{!}}-
-->{{#vardefine:SDK_PATH|~/var-mcuxpresso}}<!--
}}
-->{{#vardefine:SDK_GIT_URL|https://github.com/varigit/freertos-variscite}}<!--
|}<!--
-->{{#vardefine:SDK_GIT_BRANCH|mcuxpresso_sdk_2.7.x-var01}}<!--
--><section end=DART-MX8M-PLUS_PINS_SECTION/>
-->{{#vardefine:TOOLCHAIN_URL|https://developer.arm.com/-/media/Files/downloads/gnu-rm/8-2019q3/RC1.1/gcc-arm-none-eabi-8-2019-q3-update-linux.tar.bz2}}<!--
 
-->{{#vardefine:TOOLCHAIN_BZ2_NAME|gcc-arm-none-eabi-8-2019-q3-update-linux.tar.bz2}}<!--
=== Available Demos ===
-->{{#vardefine:TOOLCHAIN_FOLDER|gcc-arm-none-eabi-8-2019-q3-update}}<!--
<section begin=DART-MX8M-PLUS_DEMOS_SECTION/><!--
-->{{#vardefine:BOARD_FOLDER|boards/som_mx8mn}}<!--
-->* driver_examples/i2c/interrupt_b2b_transfer/slave
-->{{#vardefine:DOCS_FOLDER|docs}}<!--
* driver_examples/i2c/interrupt_b2b_transfer/master
-->{{#vardefine:PINS_SECTION|VAR-SOM-MX8M-NANO_PINS_SECTION}}<!--
* driver_examples/i2c/polling_b2b_transfer/slave
-->{{#vardefine:DEMOS_SECTION|VAR-SOM-MX8M-NANO_DEMOS_SECTION}}<!--
* driver_examples/i2c/polling_b2b_transfer/master
-->{{#vardefine:DTBS_SECTION|VAR-SOM-MX8M-NANO_DTBS_SECTION}}<!--
* driver_examples/wdog
-->{{#vardefine:MEMORY_TYPES_SECTION|VAR-SOM-MX8MN_MEMORY-TYPES}}<!--
* driver_examples/sdma/scatter_gather
-->{{#vardefine:JTAG_SECTION|VAR-SOM-MX8MN_JTAG_SECTION}}<!--
* driver_examples/sdma/memory_to_memory
-->{{#vardefine:SDK_GIT_TAG|som-mx8mn_mcuxpresso-2.7.0_v10}} <!--
* driver_examples/gpio/led_output
-->{{#vardefine:RELEASE_DATE|5/3/2020}} <!--
* driver_examples/pwm
-->{{#vardefine:SUPPORTED_REV_SOM|v1.0 and higher}} <!--
* driver_examples/uart/auto_baudrate_detect
-->{{#vardefine:SUPPORTED_REV_CARRIER|v1.2 and higher}} <!--
* driver_examples/uart/interrupt
-->{{#vardefine:NXP_USER_GUIDE|Getting Started with MCUXpresso SDK for EVK-MIMX8MN.pdf}}<!--
* driver_examples/uart/interrupt_rb_transfer
-->{{#vardefine:NXP_REFERENCE_KIT|EVK-MIMX8MN}}<!--
* driver_examples/uart/polling
--><section end=MCUXPRESSO_2.7.0_V1.0_VAR-SOM-MX8M-NANO/><!--
* driver_examples/uart/interrupt_transfer
-->*HARDWARE_NAME = '''{{#var:HARDWARE_NAME}}'''
* driver_examples/gpt/timer
*SOC_HAS_M7 = '''{{#var:SOC_HAS_M7}}'''
* driver_examples/gpt/capture
*RELEASE_NAME = '''{{#var:RELEASE_NAME}}'''
* driver_examples/ecspi/ecspi_loopback
*RELEASE_LINK = '''{{#var:RELEASE_LINK}}'''
* driver_examples/ecspi/interrupt_b2b_transfer/slave
*MCUXPRESSO_VERSION = '''{{#var:MCUXPRESSO_VERSION}}'''
* driver_examples/ecspi/interrupt_b2b_transfer/master
*SDK_PATH = '''{{#var:SDK_PATH}}'''
* driver_examples/ecspi/polling_b2b_transfer/slave
*SDK_GIT_URL = '''{{#var:SDK_GIT_URL}}'''
* driver_examples/ecspi/polling_b2b_transfer/master
*SDK_GIT_BRANCH = '''{{#var:SDK_GIT_BRANCH}}'''
* driver_examples/rdc
*TOOLCHAIN_URL = '''{{#var:TOOLCHAIN_URL}}'''
* driver_examples/tmu/monitor_threshold
*TOOLCHAIN_BZ2_NAME = '''{{#var:TOOLCHAIN_BZ2_NAME}}'''
* driver_examples/tmu/temperature_polling
*TOOLCHAIN_FOLDER = '''{{#var:TOOLCHAIN_FOLDER}}'''
* driver_examples/sema4/uboot
*BOARD_FOLDER = '''{{#var:BOARD_FOLDER}}'''
{{#if: {{#var:SDK_SUPPORT_CAN}} |
*DOCS_FOLDER = '''{{#var:DOCS_FOLDER}}'''
* driver_examples/canfd/interrupt_transfer
*PINS_SECTION = '''{{#var:PINS_SECTION}}'''
* driver_examples/canfd/loopback
*DEMOS_SECTION = '''{{#var:DEMOS_SECTION}}'''
* driver_examples/canfd/loopback_transfer
*DTBS_SECTION = '''{{#var:DTBS_SECTION}}'''
* driver_examples/canfd/ping_pong_buffer_transfer
*MEMORY_TYPES_SECTION = '''{{#var:MEMORY_TYPES_SECTION}}'''
* driver_examples/flexcan/interrupt_transfer
*JTAG_SECTION = '''{{#var:JTAG_SECTION}}'''
* driver_examples/flexcan/loopback
*NXP_USER_GUIDE = '''{{#var:NXP_USER_GUIDE}}'''
* driver_examples/flexcan/loopback_transfer
*NXP_REFERENCE_KIT = '''{{#var:NXP_REFERENCE_KIT}}'''
* driver_examples/flexcan/ping_pong_buffer_transfer
=== mcuxpresso-2.8.0-mx8mn-v1.0 ===
}}
<section begin=MCUXPRESSO_2.8.0_V1.0_VAR-SOM-MX8M-NANO/><!--
* rtos_examples/freertos_ecspi/ecspi_loopback
-->{{#vardefine:HARDWARE_NAME|VAR-SOM-MX8M-NANO}}<!--
* rtos_examples/freertos_hello
-->{{#vardefine:SOC_HAS_M7|true}}<!--
* rtos_examples/freertos_queue
-->{{#vardefine:RELEASE_NAME|mcuxpresso-2.8.0-mx8mn-v1.0}}<!--
* rtos_examples/freertos_sem
-->{{#vardefine:RELEASE_LINK|MCUXPRESSO_2.8.0_V1.0_VAR-SOM-MX8M-NANO}}<!--
* rtos_examples/freertos_generic
-->{{#vardefine:MCUXPRESSO_VERSION|2.8.0}}<!--
* rtos_examples/freertos_uart
-->{{#vardefine:SDK_PATH|~/var-mcuxpresso}}<!--
* rtos_examples/freertos_tickless
-->{{#vardefine:SDK_GIT_URL|https://github.com/varigit/freertos-variscite}}<!--
* rtos_examples/freertos_mutex
-->{{#vardefine:SDK_GIT_BRANCH|mcuxpresso_sdk_2.8.x-var01}}<!--
* rtos_examples/freertos_event
-->{{#vardefine:TOOLCHAIN_URL|https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2020q2/gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2}}<!--
* rtos_examples/freertos_swtimer
-->{{#vardefine:TOOLCHAIN_BZ2_NAME|gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2}}<!--
* rtos_examples/freertos_i2c
-->{{#vardefine:TOOLCHAIN_FOLDER|gcc-arm-none-eabi-9-2020-q2-update}}<!--
* cmsis_driver_examples/i2c/int_b2b_transfer/slave
-->{{#vardefine:BOARD_FOLDER|boards/som_mx8mn}}<!--
* cmsis_driver_examples/i2c/int_b2b_transfer/master
-->{{#vardefine:DOCS_FOLDER|docs}}<!--
* cmsis_driver_examples/uart/interrupt_transfer
-->{{#vardefine:PINS_SECTION|VAR-SOM-MX8M-NANO_PINS_SECTION}}<!--
* cmsis_driver_examples/ecspi/int_loopback_transfer
-->{{#vardefine:DEMOS_SECTION|VAR-SOM-MX8M-NANO_DEMOS_SECTION}}<!--
* cmsis_driver_examples/ecspi/sdma_loopback_transfer
-->{{#vardefine:DTBS_SECTION|VAR-SOM-MX8M-NANO_DTBS_SECTION}}<!--
* multicore_examples/rpmsg_lite_str_echo_rtos
-->{{#vardefine:MEMORY_TYPES_SECTION|VAR-SOM-MX8MN_MEMORY-TYPES}}<!--
* multicore_examples/rpmsg_lite_pingpong_rtos/linux_remote
-->{{#vardefine:JTAG_SECTION|VAR-SOM-MX8MN_JTAG_SECTION}}<!--
* demo_apps/hello_world
-->{{#vardefine:NXP_USER_GUIDE|Getting Started with MCUXpresso SDK for EVK-MIMX8MN.pdf}}<!--
* driver_examples/uart/idle_detect_sdma_transfer
-->{{#vardefine:NXP_REFERENCE_KIT|EVK-MIMX8MN}}<!--
* driver_examples/uart/sdma_transfer
-->{{#vardefine:SDK_GIT_TAG|som-mx8mn_mcuxpresso-2.8.0_v10}}<!--
* cmsis_driver_examples/uart/sdma_transfer<!--
-->{{#vardefine:RELEASE_DATE|9/8/2020}}<!--
--><section end=DART-MX8M-PLUS_DEMOS_SECTION/>
-->{{#vardefine:SUPPORTED_REV_SOM|v1.0 and higher}} <!--
 
-->{{#vardefine:SUPPORTED_REV_CARRIER|v1.2 and higher}} <!--
=== Variscite Memory types ===
--><section end=MCUXPRESSO_2.8.0_V1.0_VAR-SOM-MX8M-NANO/><!--
<section begin=DART-MX8M-PLUS_MEMORY-TYPES_VAR_SECTION/><!--
-->*HARDWARE_NAME = '''{{#var:HARDWARE_NAME}}'''
-->The SDK allow linking using 2 different memory types: DDR, TCM.
*SOC_HAS_M7 = '''{{#var:SOC_HAS_M7}}'''
 
*RELEASE_NAME = '''{{#var:RELEASE_NAME}}'''
Here is available a short summary of memory areas used by Cortex-M7 as described in related linker file.
*RELEASE_LINK = '''{{#var:RELEASE_LINK}}'''
 
*MCUXPRESSO_VERSION = '''{{#var:MCUXPRESSO_VERSION}}'''
{| class="wikitable"
*SDK_PATH = '''{{#var:SDK_PATH}}'''
|-
*SDK_GIT_URL = '''{{#var:SDK_GIT_URL}}'''
! scope="col" | memory type
*SDK_GIT_BRANCH = '''{{#var:SDK_GIT_BRANCH}}'''
! scope="col" | M7 memory area
*TOOLCHAIN_URL = '''{{#var:TOOLCHAIN_URL}}'''
! scope="col" | A53 memory area
*TOOLCHAIN_BZ2_NAME = '''{{#var:TOOLCHAIN_BZ2_NAME}}'''
! scope="col" | memory lentgh
*TOOLCHAIN_FOLDER = '''{{#var:TOOLCHAIN_FOLDER}}'''
! scope="col" | linker file
*BOARD_FOLDER = '''{{#var:BOARD_FOLDER}}'''
|-
*DOCS_FOLDER = '''{{#var:DOCS_FOLDER}}'''
| DDR
*PINS_SECTION = '''{{#var:PINS_SECTION}}'''
| 0x80000000-0x801FFFFF (code)<br>0x80200000-0x803FFFFF (data)<br>0x80400000-0x80FFFFFF (data2)
*DEMOS_SECTION = '''{{#var:DEMOS_SECTION}}'''
| 0x80000000-0x801FFFFF (code)<br>0x80200000-0x803FFFFF (data)<br>0x80400000-0x80FFFFFF (data2)
*DTBS_SECTION = '''{{#var:DTBS_SECTION}}'''
| 16MB (DDR)
*MEMORY_TYPES_SECTION = '''{{#var:MEMORY_TYPES_SECTION}}'''
| MIMX8MN6xxxxx_cm7_ddr_ram.ld
*JTAG_SECTION = '''{{#var:JTAG_SECTION}}'''
|-
*NXP_USER_GUIDE = '''{{#var:NXP_USER_GUIDE}}'''
| TCM
*NXP_REFERENCE_KIT = '''{{#var:NXP_REFERENCE_KIT}}'''
| 0x00000000-0x0001FFFF (code)<br>0x20000000-0x2001FFFF (data)<br>0x80000000-0x80FFFFFF (data2)
| 0x007E0000-0x007FFFFF (code)<br>0x00800000-0x0081FFFF (data)<br>0x80000000-0x80FFFFFF (data2)
| 256kB (TCM) + 16MB (DDR)
| MIMX8MN6xxxxx_cm7_ram.ld
|-
|}


All linker files are locate in the '''armgcc''' folder of each demo.
=== mcuxpresso-2.9.0-mx8mn-v1.0 ===
 
<section begin=MCUXPRESSO_2.9.0_V1.0_VAR-SOM-MX8M-NANO/><!--
The DDR reserved area must much the one declared in the kernel device tree: at least 1 GB of RAM is required on the SoM to allow Cortex-M7 accessing the range 0x80000000 - 0x80FFFFFF.
-->{{#vardefine:OS|FreeRTOS}}<!--
 
-->{{#vardefine:HARDWARE_NAME|VAR-SOM-MX8M-NANO}}<!--
The RPMSG area is located at 0x40000000: all SoMs allow Cortex-M7 accessing the RPMSG area.
-->{{#vardefine:SOC_HAS_M7|true}}<!--
 
-->{{#vardefine:RELEASE_NAME|mcuxpresso-2.9.0-mx8mn-v1.0}}<!--
After launching the build_all.sh command the following folder will be created in the armgcc folder
-->{{#vardefine:RELEASE_LINK|MCUXPRESSO_2.9.0_V1.0_VAR-SOM-MX8M-NANO}}<!--
 
-->{{#vardefine:MCUXPRESSO_VERSION|2.9.0}}<!--
* '''ddr_debug''': containing DDR binaries compiled in debug mode (not stripped: symbols available)
-->{{#vardefine:SDK_PATH|~/var-mcuxpresso}}<!--
* '''ddr_release''': containing DDR binaries compiled in release mode (stripped: no symbols available)
-->{{#vardefine:SDK_GIT_URL|https://github.com/varigit/freertos-variscite}}<!--
* '''debug''': containing TCM binaries compiled in debug mode (not stripped: symbols available)
-->{{#vardefine:SDK_GIT_BRANCH|mcuxpresso_sdk_2.9.x-var01}}<!--
* '''release''': containing TCM binaries compiled in release mode (stripped: no symbols available)
-->{{#vardefine:TOOLCHAIN_URL|https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2020q2/gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2}}<!--
 
-->{{#vardefine:TOOLCHAIN_BZ2_NAME|gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2}}<!--
Further details about memory mapping are available in [https://www.nxp.com/webapp/Download?colCode=IMX8MPRM.pdf i.MX 8M-Plus Applications Processors Reference Manual] paragraphs:
-->{{#vardefine:TOOLCHAIN_FOLDER|gcc-arm-none-eabi-9-2020-q2-update}}<!--
 
-->{{#vardefine:BOARD_FOLDER|boards/som_mx8mn}}<!--
* 2.2 Cortex-A53 Memory Map
-->{{#vardefine:DOCS_FOLDER|docs}}<!--
* 2.3 Cortex-M7 Memory Map<!--
-->{{#vardefine:PINS_SECTION|VAR-SOM-MX8M-NANO_PINS_SECTION}}<!--
--><section end=DART-MX8M-PLUS_MEMORY-TYPES_VAR_SECTION/>
-->{{#vardefine:DEMOS_SECTION|VAR-SOM-MX8M-NANO_DEMOS_SECTION}}<!--
 
-->{{#vardefine:DTBS_SECTION|VAR-SOM-MX8M-NANO_DTBS_SECTION}}<!--
=== JTAG ===
-->{{#vardefine:MEMORY_TYPES_SECTION|VAR-SOM-MX8MN_MEMORY-TYPES}}<!--
<section begin=DART-MX8M-PLUS_JTAG_SECTION/><!--
-->{{#vardefine:JTAG_SECTION|VAR-SOM-MX8MN_JTAG_SECTION}}<!--
-->{{#vardefine:NXP_USER_GUIDE|Getting Started with MCUXpresso SDK for EVK-MIMX8MN.pdf}}<!--
-->{{#vardefine:NXP_REFERENCE_KIT|EVK-MIMX8MN}}<!--
-->{{#vardefine:SDK_GIT_TAG|som-mx8mn_mcuxpresso-2.9.0_v10}}<!--
-->{{#vardefine:RELEASE_DATE|1/27/2021}}<!--
-->{{#vardefine:SUPPORTED_REV_SOM|v1.0 and higher}} <!--
-->{{#vardefine:SUPPORTED_REV_CARRIER|v1.2 and higher}} <!--
-->{{#vardefine:YOCTO_RELEASE_TAG|dunfell-fslc-5.4-2.1.x-mx8mn-v1.1}}<!--
--><section end=MCUXPRESSO_2.9.0_V1.0_VAR-SOM-MX8M-NANO/><!--
-->*HARDWARE_NAME = '''{{#var:HARDWARE_NAME}}'''
*SOC_HAS_M7 = '''{{#var:SOC_HAS_M7}}'''
*RELEASE_NAME = '''{{#var:RELEASE_NAME}}'''
*RELEASE_LINK = '''{{#var:RELEASE_LINK}}'''
*MCUXPRESSO_VERSION = '''{{#var:MCUXPRESSO_VERSION}}'''
*SDK_PATH = '''{{#var:SDK_PATH}}'''
*SDK_GIT_URL = '''{{#var:SDK_GIT_URL}}'''
*SDK_GIT_BRANCH = '''{{#var:SDK_GIT_BRANCH}}'''
*TOOLCHAIN_URL = '''{{#var:TOOLCHAIN_URL}}'''
*TOOLCHAIN_BZ2_NAME = '''{{#var:TOOLCHAIN_BZ2_NAME}}'''
*TOOLCHAIN_FOLDER = '''{{#var:TOOLCHAIN_FOLDER}}'''
*BOARD_FOLDER = '''{{#var:BOARD_FOLDER}}'''
*DOCS_FOLDER = '''{{#var:DOCS_FOLDER}}'''
*PINS_SECTION = '''{{#var:PINS_SECTION}}'''
*DEMOS_SECTION = '''{{#var:DEMOS_SECTION}}'''
*DTBS_SECTION = '''{{#var:DTBS_SECTION}}'''
*MEMORY_TYPES_SECTION = '''{{#var:MEMORY_TYPES_SECTION}}'''
*JTAG_SECTION = '''{{#var:JTAG_SECTION}}'''
*NXP_USER_GUIDE = '''{{#var:NXP_USER_GUIDE}}'''
*NXP_REFERENCE_KIT = '''{{#var:NXP_REFERENCE_KIT}}'''
*YOCTO_RELEASE_TAG = '''{{#var:YOCTO_RELEASE_TAG}}'''


-->The VAR-SOM-MX8M-PLUS exposes JTAG interface via an optional 10-pin header, on the SOM top left side.<br>
=== mcuxpresso-2.10.0-mx8mn-v1.0 ===
The DART-MX8M-PLUS exports JTAG interface via an optional 10-pin header, on the DT8MCustomBoard top side.
<section begin=MCUXPRESSO_2.10.0_V1.0_VAR-SOM-MX8M-NANO/><!--
 
-->{{#vardefine:OS|FreeRTOS}}<!--
Here is the pinout:
-->{{#vardefine:HARDWARE_NAME|VAR-SOM-MX8M-NANO}}<!--
 
-->{{#vardefine:SOC_HAS_M7|true}}<!--
{| class="wikitable"
-->{{#vardefine:RELEASE_NAME|mcuxpresso-2.10.0-mx8mn-v1.0}}<!--
|-
-->{{#vardefine:RELEASE_LINK|MCUXPRESSO_2.10.0_V1.0_VAR-SOM-MX8M-NANO}}<!--
! scope="col" | pin
-->{{#vardefine:MCUXPRESSO_VERSION|2.10.0}}<!--
! scope="col" | signal
-->{{#vardefine:SDK_PATH|~/var-mcuxpresso}}<!--
! scope="col" | description
-->{{#vardefine:SDK_GIT_URL|https://github.com/varigit/freertos-variscite}}<!--
! scope="col" | pin
-->{{#vardefine:SDK_GIT_BRANCH|mcuxpresso_sdk_2.10.x-var01}}<!--
! scope="col" | signal
-->{{#vardefine:TOOLCHAIN_URL|https://developer.arm.com/-/media/Files/downloads/gnu-rm/10-2020q4/gcc-arm-none-eabi-10-2020-q4-major-x86_64-linux.tar.bz2}}<!--
! scope="col" | description
-->{{#vardefine:TOOLCHAIN_BZ2_NAME|gcc-arm-none-eabi-10-2020-q4-major-x86_64-linux.tar.bz2}}<!--
|-
-->{{#vardefine:TOOLCHAIN_FOLDER|gcc-arm-none-eabi-10-2020-q4-major}}<!--
| '''1'''
-->{{#vardefine:BOARD_FOLDER|boards/som_mx8mn}}<!--
| JTAG_VREF
-->{{#vardefine:DOCS_FOLDER|docs}}<!--
| JTAG IO reference voltage,<br>connected to SOM_3V3_PER via 150 Ohm.
-->{{#vardefine:PINS_SECTION|VAR-SOM-MX8M-NANO_PINS_SECTION}}<!--
| '''2'''
-->{{#vardefine:DEMOS_SECTION|VAR-SOM-MX8M-NANO_DEMOS_SECTION}}<!--
| JTAG_TMS
-->{{#vardefine:DTBS_SECTION|VAR-SOM-MX8M-NANO_DTBS_SECTION}}<!--
| JTAG Mode Select signal
-->{{#vardefine:MEMORY_TYPES_SECTION|VAR-SOM-MX8MN_MEMORY-TYPES}}<!--
|-
-->{{#vardefine:JTAG_SECTION|VAR-SOM-MX8MN_JTAG_SECTION}}<!--
| '''3'''
-->{{#vardefine:NXP_USER_GUIDE|Getting Started with MCUXpresso SDK for EVK-MIMX8MN.pdf}}<!--
| GND
-->{{#vardefine:NXP_REFERENCE_KIT|EVK-MIMX8MN}}<!--
| Digital Ground
-->{{#vardefine:SDK_GIT_TAG|som-mx8mn_mcuxpresso-2.10.0_v10}}<!--
| '''4'''
-->{{#vardefine:RELEASE_DATE|10/21/2021}}<!--
| JTAG_TCK
-->{{#vardefine:SUPPORTED_REV_SOM|v1.0 and higher}} <!--
| JTAG Clock signal,<br>include PD of 8.2K Ohm.
-->{{#vardefine:SUPPORTED_REV_CARRIER|v1.2 and higher}} <!--
|-
-->{{#vardefine:YOCTO_RELEASE_TAG|dunfell-fslc-5.4-2.1.x-mx8mn-v1.6}}<!--
| '''5'''
-->{{#vardefine:BOARD_SDK|som_mx8mn}}<!--
| GND
--><section end=MCUXPRESSO_2.10.0_V1.0_VAR-SOM-MX8M-NANO/><!--
| Digital Ground
-->*HARDWARE_NAME = '''{{#var:HARDWARE_NAME}}'''
| '''6'''
*SOC_HAS_M7 = '''{{#var:SOC_HAS_M7}}'''
| JTAG_TDO
*RELEASE_NAME = '''{{#var:RELEASE_NAME}}'''
| JTAG Data Out signal
*RELEASE_LINK = '''{{#var:RELEASE_LINK}}'''
|-
*MCUXPRESSO_VERSION = '''{{#var:MCUXPRESSO_VERSION}}'''
| '''7'''
*SDK_PATH = '''{{#var:SDK_PATH}}'''
| GND
*SDK_GIT_URL = '''{{#var:SDK_GIT_URL}}'''
| Digital Ground
*SDK_GIT_BRANCH = '''{{#var:SDK_GIT_BRANCH}}'''
| '''8'''
*TOOLCHAIN_URL = '''{{#var:TOOLCHAIN_URL}}'''
| JTAG_TDI
*TOOLCHAIN_BZ2_NAME = '''{{#var:TOOLCHAIN_BZ2_NAME}}'''
| JTAG Data In signal
*TOOLCHAIN_FOLDER = '''{{#var:TOOLCHAIN_FOLDER}}'''
|-
*BOARD_FOLDER = '''{{#var:BOARD_FOLDER}}'''
| '''9'''
*DOCS_FOLDER = '''{{#var:DOCS_FOLDER}}'''
| JTAG_TRST_B
*PINS_SECTION = '''{{#var:PINS_SECTION}}'''
| JTAG Reset signal,<br>active low signal
*DEMOS_SECTION = '''{{#var:DEMOS_SECTION}}'''
| '''10'''
*DTBS_SECTION = '''{{#var:DTBS_SECTION}}'''
| POR_B
*MEMORY_TYPES_SECTION = '''{{#var:MEMORY_TYPES_SECTION}}'''
| Programmer Reset,<br>used to put the SOC in reset state.
*JTAG_SECTION = '''{{#var:JTAG_SECTION}}'''
|-
*NXP_USER_GUIDE = '''{{#var:NXP_USER_GUIDE}}'''
|}
*NXP_REFERENCE_KIT = '''{{#var:NXP_REFERENCE_KIT}}'''
 
*YOCTO_RELEASE_TAG = '''{{#var:YOCTO_RELEASE_TAG}}'''
Please refer to SoM datasheet for further details.<!--
--><section end=DART-MX8M-PLUS_JTAG_SECTION/>
 
== Releases ==


=== mcuxpresso-2.9.0-mx8mp-v1.0 ===
=== mcuxpresso-2.11.1-mx8mn-v1.0 ===
<section begin=MCUXPRESSO_2.9.0_V1.0_DART-MX8M-PLUS/><!--
<section begin=MCUXPRESSO_2.11.1_V1.0_VAR-SOM-MX8M-NANO/><!--
-->{{#vardefine:OS|FreeRTOS}}<!--
-->{{#vardefine:OS|FreeRTOS}}<!--
-->{{#vardefine:HARDWARE_NAME|DART-MX8M-PLUS}}<!--
-->{{#vardefine:HARDWARE_NAME|VAR-SOM-MX8M-NANO}}<!--
-->{{#vardefine:RELEASE_NAME|mcuxpresso-2.9.0-mx8mp-v1.0}}<!--
-->{{#vardefine:SOC_HAS_M7|true}}<!--
-->{{#vardefine:RELEASE_LINK|MCUXPRESSO_2.9.0_V1.0_DART-MX8M-PLUS}}<!--
-->{{#vardefine:RELEASE_NAME|mcuxpresso-2.11.1-mx8mn-v1.0}}<!--
-->{{#vardefine:MCUXPRESSO_VERSION|2.9.0}}<!--
-->{{#vardefine:RELEASE_LINK|MCUXPRESSO_2.11.1_V1.0_VAR-SOM-MX8M-NANO}}<!--
-->{{#vardefine:MCUXPRESSO_VERSION|2.11.1}}<!--
-->{{#vardefine:SDK_PATH|~/var-mcuxpresso}}<!--
-->{{#vardefine:SDK_PATH|~/var-mcuxpresso}}<!--
-->{{#vardefine:SDK_GIT_URL|https://github.com/varigit/freertos-variscite}}<!--
-->{{#vardefine:SDK_GIT_URL|https://github.com/varigit/freertos-variscite}}<!--
-->{{#vardefine:SDK_GIT_BRANCH|mcuxpresso_sdk_2.9.x-var01}}<!--
-->{{#vardefine:SDK_GIT_BRANCH|mcuxpresso_sdk_2.11.x-var01}}<!--
-->{{#vardefine:TOOLCHAIN_URL|https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2020q2/gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2}}<!--
-->{{#vardefine:TOOLCHAIN_URL|https://developer.arm.com/-/media/Files/downloads/gnu-rm/10.3-2021.07/gcc-arm-none-eabi-10.3-2021.07-x86_64-linux.tar.bz2}}<!--
-->{{#vardefine:TOOLCHAIN_BZ2_NAME|gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2}}<!--
-->{{#vardefine:TOOLCHAIN_BZ2_NAME|gcc-arm-none-eabi-10.3-2021.07-x86_64-linux.tar.bz2}}<!--
-->{{#vardefine:TOOLCHAIN_FOLDER|gcc-arm-none-eabi-9-2020-q2-update}}<!--
-->{{#vardefine:TOOLCHAIN_FOLDER|gcc-arm-none-eabi-10.3-2021.07}}<!--
-->{{#vardefine:BOARD_FOLDER|boards/dart_mx8mp}}<!--
-->{{#vardefine:BOARD_FOLDER|boards/som_mx8mn}}<!--
-->{{#vardefine:BOARD_FOLDER1|boards/som_mx8mp}}<!--
-->{{#vardefine:DOCS_FOLDER|docs}}<!--
-->{{#vardefine:DOCS_FOLDER|docs}}<!--
-->{{#vardefine:PINS_SECTION|DART-MX8M-PLUS_PINS_SECTION}}<!--
-->{{#vardefine:PINS_SECTION|VAR-SOM-MX8M-NANO_PINS_SECTION}}<!--
-->{{#vardefine:DEMOS_SECTION|DART-MX8M-PLUS_DEMOS_SECTION}}<!--
-->{{#vardefine:DEMOS_SECTION|VAR-SOM-MX8M-NANO_DEMOS_SECTION}}<!--
-->{{#vardefine:DTBS_SECTION|DART-MX8M-PLUS_DTBS_SECTION}}<!--
-->{{#vardefine:DTBS_SECTION|VAR-SOM-MX8M-NANO_DTBS_SECTION}}<!--
-->{{#vardefine:MEMORY_TYPES_SECTION|DART-MX8M-PLUS_MEMORY-TYPES_VAR_SECTION}}<!--
-->{{#vardefine:MEMORY_TYPES_SECTION|VAR-SOM-MX8MN_MEMORY-TYPES}}<!--
-->{{#vardefine:JTAG_SECTION|DART-MX8M-PLUS_JTAG_SECTION}}<!--
-->{{#vardefine:JTAG_SECTION|VAR-SOM-MX8MN_JTAG_SECTION}}<!--
-->{{#vardefine:SDK_GIT_TAG|dart-mx8mp_mcuxpresso-2.9.0_v10}} <!--
-->{{#vardefine:NXP_USER_GUIDE|Getting Started with MCUXpresso SDK for EVK-MIMX8MN.pdf}}<!--
-->{{#vardefine:RELEASE_DATE|5/27/2021}} <!--
-->{{#vardefine:NXP_REFERENCE_KIT|EVK-MIMX8MN}}<!--
-->{{#vardefine:SUPPORTED_REV_SOM|v1.1 and higher}} <!--
-->{{#vardefine:SDK_GIT_TAG|som-mx8mn_mcuxpresso-2.11.1_v10}}<!--
-->{{#vardefine:SUPPORTED_REV_CARRIER|v1.4 and higher}} <!--
-->{{#vardefine:RELEASE_DATE|05/31/2022}}<!--
-->{{#vardefine:NXP_USER_GUIDE|Getting Started with MCUXpresso SDK for EVK-MIMX8MP.pdf}}<!--
-->{{#vardefine:SUPPORTED_REV_SOM|v1.0 and higher}} <!--
-->{{#vardefine:NXP_REFERENCE_KIT|EVK-MIMX8MP}}<!--
-->{{#vardefine:SUPPORTED_REV_CARRIER|v1.2 and higher}} <!--
-->{{#vardefine:YOCTO_RELEASE_TAG|zeus-fsl-5.4.70_2.3.2-mx8mp-v1.1}}<!--
-->{{#vardefine:YOCTO_RELEASE_TAG|dunfell-fslc-5.4-2.1.x-mx8mn-v1.8}}<!--
-->{{#vardefine:SOM_CAN_SUPPORT_1GB_DDR|yes}}<!--
-->{{#vardefine:BOARD_SDK|som_mx8mn}}<!--
--><section end=MCUXPRESSO_2.9.0_V1.0_DART-MX8M-PLUS/><!--
--><section end=MCUXPRESSO_2.11.1_V1.0_VAR-SOM-MX8M-NANO/><!--
-->*HARDWARE_NAME = '''{{#var:HARDWARE_NAME}}'''
-->*HARDWARE_NAME = '''{{#var:HARDWARE_NAME}}'''
*SOC_HAS_M7 = '''{{#var:SOC_HAS_M7}}'''
*RELEASE_NAME = '''{{#var:RELEASE_NAME}}'''
*RELEASE_NAME = '''{{#var:RELEASE_NAME}}'''
*RELEASE_LINK = '''{{#var:RELEASE_LINK}}'''
*RELEASE_LINK = '''{{#var:RELEASE_LINK}}'''
Line 1,787: Line 1,951:
*NXP_REFERENCE_KIT = '''{{#var:NXP_REFERENCE_KIT}}'''
*NXP_REFERENCE_KIT = '''{{#var:NXP_REFERENCE_KIT}}'''
*YOCTO_RELEASE_TAG = '''{{#var:YOCTO_RELEASE_TAG}}'''
*YOCTO_RELEASE_TAG = '''{{#var:YOCTO_RELEASE_TAG}}'''
*SOM_CAN_SUPPORT_1GB_DDR = '''{{#var:SOM_CAN_SUPPORT_1GB_DDR}}'''


=== mcuxpresso-2.10.0-mx8mp-v1.0 ===
=== mcuxpresso-2.12.1-mx8mn-v1.0 ===
<section begin=MCUXPRESSO_2.10.0_V1.0_DART-MX8M-PLUS/><!--
<section begin=MCUXPRESSO_2.12.1_V1.0_VAR-SOM-MX8M-NANO/><!--
-->{{#vardefine:OS|FreeRTOS}}<!--
-->{{#vardefine:OS|FreeRTOS}}<!--
-->{{#vardefine:HARDWARE_NAME|DART-MX8M-PLUS}}<!--
-->{{#vardefine:HARDWARE_NAME|VAR-SOM-MX8M-NANO}}<!--
-->{{#vardefine:RELEASE_NAME|mcuxpresso-2.10.0-mx8mp-v1.0}}<!--
-->{{#vardefine:SOC_HAS_M7|true}}<!--
-->{{#vardefine:RELEASE_LINK|MCUXPRESSO_2.10.0_V1.0_DART-MX8M-PLUS}}<!--
-->{{#vardefine:RELEASE_NAME|mcuxpresso-2.12.1-mx8mn-v1.0}}<!--
-->{{#vardefine:MCUXPRESSO_VERSION|2.10.0}}<!--
-->{{#vardefine:RELEASE_LINK|MCUXPRESSO_2.12.1_V1.0_VAR-SOM-MX8M-NANO}}<!--
-->{{#vardefine:MCUXPRESSO_VERSION|2.12.1}}<!--
-->{{#vardefine:SDK_PATH|~/var-mcuxpresso}}<!--
-->{{#vardefine:SDK_PATH|~/var-mcuxpresso}}<!--
-->{{#vardefine:SDK_GIT_URL|https://github.com/varigit/freertos-variscite}}<!--
-->{{#vardefine:SDK_GIT_URL|https://github.com/varigit/freertos-variscite}}<!--
-->{{#vardefine:SDK_GIT_BRANCH|mcuxpresso_sdk_2.10.x-var01}}<!--
-->{{#vardefine:SDK_GIT_BRANCH|mcuxpresso_sdk_2.12.x-var01}}<!--
-->{{#vardefine:TOOLCHAIN_URL|https://developer.arm.com/-/media/Files/downloads/gnu-rm/10-2020q4/gcc-arm-none-eabi-10-2020-q4-major-x86_64-linux.tar.bz2}}<!--
-->{{#vardefine:TOOLCHAIN_URL|https://developer.arm.com/-/media/Files/downloads/gnu-rm/10.3-2021.10/gcc-arm-none-eabi-10.3-2021.10-x86_64-linux.tar.bz2}}<!--
-->{{#vardefine:TOOLCHAIN_BZ2_NAME|gcc-arm-none-eabi-10-2020-q4-major-x86_64-linux.tar.bz2}}<!--
-->{{#vardefine:TOOLCHAIN_BZ2_NAME|gcc-arm-none-eabi-10.3-2021.10-x86_64-linux.tar.bz2}}<!--
-->{{#vardefine:TOOLCHAIN_FOLDER|gcc-arm-none-eabi-10-2020-q4-major}}<!--
-->{{#vardefine:TOOLCHAIN_FOLDER|gcc-arm-none-eabi-10.3-2021.10}}<!--
-->{{#vardefine:BOARD_FOLDER|boards/dart_mx8mp}}<!--
-->{{#vardefine:BOARD_FOLDER|boards/som_mx8mn}}<!--
-->{{#vardefine:BOARD_FOLDER1|boards/som_mx8mp}}<!--
-->{{#vardefine:DOCS_FOLDER|docs}}<!--
-->{{#vardefine:DOCS_FOLDER|docs}}<!--
-->{{#vardefine:PINS_SECTION|DART-MX8M-PLUS_PINS_SECTION}}<!--
-->{{#vardefine:PINS_SECTION|VAR-SOM-MX8M-NANO_PINS_SECTION}}<!--
-->{{#vardefine:DEMOS_SECTION|DART-MX8M-PLUS_DEMOS_SECTION}}<!--
-->{{#vardefine:DEMOS_SECTION|VAR-SOM-MX8M-NANO_DEMOS_SECTION}}<!--
-->{{#vardefine:DTBS_SECTION|DART-MX8M-PLUS_DTBS_SECTION}}<!--
-->{{#vardefine:DTBS_SECTION|VAR-SOM-MX8M-NANO_DTBS_SECTION}}<!--
-->{{#vardefine:MEMORY_TYPES_SECTION|DART-MX8M-PLUS_MEMORY-TYPES_VAR_SECTION}}<!--
-->{{#vardefine:MEMORY_TYPES_SECTION|VAR-SOM-MX8MN_MEMORY-TYPES}}<!--
-->{{#vardefine:JTAG_SECTION|DART-MX8M-PLUS_JTAG_SECTION}}<!--
-->{{#vardefine:JTAG_SECTION|VAR-SOM-MX8MN_JTAG_SECTION}}<!--
-->{{#vardefine:SDK_GIT_TAG|dart-mx8mp_mcuxpresso-2.10.0_v10}} <!--
-->{{#vardefine:NXP_USER_GUIDE|Getting Started with MCUXpresso SDK for EVK-MIMX8MN.pdf}}<!--
-->{{#vardefine:RELEASE_DATE|9/27/2021}} <!--
-->{{#vardefine:NXP_REFERENCE_KIT|EVK-MIMX8MN}}<!--
-->{{#vardefine:SUPPORTED_REV_SOM|v1.1 and higher}} <!--
-->{{#vardefine:SDK_GIT_TAG|som-mx8mn_mcuxpresso-2.12.1_v10}}<!--
-->{{#vardefine:SUPPORTED_REV_CARRIER|v1.4 and higher}} <!--
-->{{#vardefine:RELEASE_DATE|11/14/2022}}<!--
-->{{#vardefine:NXP_USER_GUIDE|Getting Started with MCUXpresso SDK for EVK-MIMX8MP.pdf}}<!--
-->{{#vardefine:SUPPORTED_REV_SOM|v1.0 and higher}} <!--
-->{{#vardefine:NXP_REFERENCE_KIT|EVK-MIMX8MP}}<!--
-->{{#vardefine:SUPPORTED_REV_CARRIER|v1.2 and higher}} <!--
-->{{#vardefine:SOM_CAN_SUPPORT_1GB_DDR|yes}}<!--
-->{{#vardefine:YOCTO_RELEASE_TAG|mx8mn-yocto-hardknott-5.10.72_2.2.1-v1.0}}<!--
-->{{#vardefine:YOCTO_RELEASE_TAG|hardknott-fsl-5.10.52_2.1.0-mx8mp-v1.2}}<!--
-->{{#vardefine:BOARD_SDK|som_mx8mn}}<!--
-->{{#vardefine:BOARD_SDK|dart_mx8mp}}<!--
--><section end=MCUXPRESSO_2.12.1_V1.0_VAR-SOM-MX8M-NANO/><!--
--><section end=MCUXPRESSO_2.10.0_V1.0_DART-MX8M-PLUS/><!--
-->*HARDWARE_NAME = '''{{#var:HARDWARE_NAME}}'''
-->*HARDWARE_NAME = '''{{#var:HARDWARE_NAME}}'''
*SOC_HAS_M7 = '''{{#var:SOC_HAS_M7}}'''
*RELEASE_NAME = '''{{#var:RELEASE_NAME}}'''
*RELEASE_NAME = '''{{#var:RELEASE_NAME}}'''
*RELEASE_LINK = '''{{#var:RELEASE_LINK}}'''
*RELEASE_LINK = '''{{#var:RELEASE_LINK}}'''
Line 1,840: Line 2,003:
*NXP_REFERENCE_KIT = '''{{#var:NXP_REFERENCE_KIT}}'''
*NXP_REFERENCE_KIT = '''{{#var:NXP_REFERENCE_KIT}}'''
*YOCTO_RELEASE_TAG = '''{{#var:YOCTO_RELEASE_TAG}}'''
*YOCTO_RELEASE_TAG = '''{{#var:YOCTO_RELEASE_TAG}}'''
*SOM_CAN_SUPPORT_1GB_DDR = '''{{#var:SOM_CAN_SUPPORT_1GB_DDR}}'''


=== mcuxpresso-2.11.1-mx8mp-v1.0 ===
=== mcuxpresso-2.13.0-mx8mn-v1.0 ===
<section begin=MCUXPRESSO_2.11.1_V1.0_DART-MX8M-PLUS/><!--
<section begin=MCUXPRESSO_2.13.0_V1.0_VAR-SOM-MX8M-NANO/><!--
-->{{#vardefine:OS|FreeRTOS}}<!--
-->{{#vardefine:OS|FreeRTOS}}<!--
-->{{#vardefine:HARDWARE_NAME|DART-MX8M-PLUS}}<!--
-->{{#vardefine:HARDWARE_NAME|VAR-SOM-MX8M-NANO}}<!--
-->{{#vardefine:RELEASE_NAME|mcuxpresso-2.11.1-mx8mp-v1.0}}<!--
-->{{#vardefine:SOC_HAS_M7|true}}<!--
-->{{#vardefine:RELEASE_LINK|MCUXPRESSO_2.11.1_V1.0_DART-MX8M-PLUS}}<!--
-->{{#vardefine:RELEASE_NAME|mcuxpresso-2.13.0-mx8mn-v1.0}}<!--
-->{{#vardefine:MCUXPRESSO_VERSION|2.11.1}}<!--
-->{{#vardefine:RELEASE_LINK|MCUXPRESSO_2.13.0_V1.0_VAR-SOM-MX8M-NANO}}<!--
-->{{#vardefine:MCUXPRESSO_VERSION|2.13.0}}<!--
-->{{#vardefine:SDK_PATH|~/var-mcuxpresso}}<!--
-->{{#vardefine:SDK_PATH|~/var-mcuxpresso}}<!--
-->{{#vardefine:SDK_GIT_URL|https://github.com/varigit/freertos-variscite}}<!--
-->{{#vardefine:SDK_GIT_URL|https://github.com/varigit/freertos-variscite}}<!--
-->{{#vardefine:SDK_GIT_BRANCH|mcuxpresso_sdk_2.11.x-var01}}<!--
-->{{#vardefine:SDK_GIT_BRANCH|mcuxpresso_sdk_2.13.x-var01}}<!--
-->{{#vardefine:TOOLCHAIN_URL|https://developer.arm.com/-/media/Files/downloads/gnu-rm/10.3-2021.07/gcc-arm-none-eabi-10.3-2021.07-x86_64-linux.tar.bz2}}<!--
-->{{#vardefine:TOOLCHAIN_URL|https://developer.arm.com/-/media/Files/downloads/gnu-rm/10.3-2021.10/gcc-arm-none-eabi-10.3-2021.10-x86_64-linux.tar.bz2}}<!--
-->{{#vardefine:TOOLCHAIN_BZ2_NAME|gcc-arm-none-eabi-10.3-2021.07-x86_64-linux.tar.bz2}}<!--
-->{{#vardefine:TOOLCHAIN_BZ2_NAME|gcc-arm-none-eabi-10.3-2021.10-x86_64-linux.tar.bz2}}<!--
-->{{#vardefine:TOOLCHAIN_FOLDER|gcc-arm-none-eabi-10.3-2021.07}}<!--
-->{{#vardefine:TOOLCHAIN_FOLDER|gcc-arm-none-eabi-10.3-2021.10}}<!--
-->{{#vardefine:BOARD_FOLDER|boards/dart_mx8mp}}<!--
-->{{#vardefine:BOARD_FOLDER|boards/som_mx8mn}}<!--
-->{{#vardefine:BOARD_FOLDER1|boards/som_mx8mp}}<!--
-->{{#vardefine:DOCS_FOLDER|docs}}<!--
-->{{#vardefine:DOCS_FOLDER|docs}}<!--
-->{{#vardefine:PINS_SECTION|DART-MX8M-PLUS_PINS_SECTION}}<!--
-->{{#vardefine:PINS_SECTION|VAR-SOM-MX8M-NANO_PINS_SECTION}}<!--
-->{{#vardefine:DEMOS_SECTION|DART-MX8M-PLUS_DEMOS_SECTION}}<!--
-->{{#vardefine:DEMOS_SECTION|VAR-SOM-MX8M-NANO_DEMOS_SECTION}}<!--
-->{{#vardefine:DTBS_SECTION|DART-MX8M-PLUS_DTBS_SECTION}}<!--
-->{{#vardefine:DTBS_SECTION|VAR-SOM-MX8M-NANO_DTBS_SECTION}}<!--
-->{{#vardefine:MEMORY_TYPES_SECTION|DART-MX8M-PLUS_MEMORY-TYPES_VAR_SECTION}}<!--
-->{{#vardefine:MEMORY_TYPES_SECTION|VAR-SOM-MX8MN_MEMORY-TYPES}}<!--
-->{{#vardefine:JTAG_SECTION|DART-MX8M-PLUS_JTAG_SECTION}}<!--
-->{{#vardefine:JTAG_SECTION|VAR-SOM-MX8MN_JTAG_SECTION}}<!--
-->{{#vardefine:SDK_GIT_TAG|dart-mx8mp_mcuxpresso-2.11.1_v10}} <!--
-->{{#vardefine:NXP_USER_GUIDE|Getting Started with MCUXpresso SDK for EVK-MIMX8MN.pdf}}<!--
-->{{#vardefine:RELEASE_DATE|5/26/2022}} <!--
-->{{#vardefine:NXP_REFERENCE_KIT|EVK-MIMX8MN}}<!--
-->{{#vardefine:SUPPORTED_REV_SOM|v1.1 and higher}} <!--
-->{{#vardefine:SDK_GIT_TAG|som-mx8mn_mcuxpresso-2.13.0_v10}}<!--
-->{{#vardefine:SUPPORTED_REV_CARRIER|v1.4 and higher}} <!--
-->{{#vardefine:RELEASE_DATE|02/13/2023}}<!--
-->{{#vardefine:NXP_USER_GUIDE|Getting Started with MCUXpresso SDK for EVK-MIMX8MP.pdf}}<!--
-->{{#vardefine:SUPPORTED_REV_SOM|v1.0 and higher}} <!--
-->{{#vardefine:NXP_REFERENCE_KIT|EVK-MIMX8MP}}<!--
-->{{#vardefine:SUPPORTED_REV_CARRIER|v1.2 and higher}} <!--
-->{{#vardefine:SOM_CAN_SUPPORT_1GB_DDR|yes}}<!--
-->{{#vardefine:YOCTO_RELEASE_TAG|mx8mn-yocto-kirkstone-5.15-2.0.x-v1.0}}<!--
-->{{#vardefine:SDK_SUPPORT_CAN|yes}}<!--
-->{{#vardefine:BOARD_SDK|som_mx8mn}}<!--
-->{{#vardefine:YOCTO_RELEASE_TAG|hardknott-fsl-5.10.52_2.1.0-mx8mp-v1.2}}<!--
--><section end=MCUXPRESSO_2.13.0_V1.0_VAR-SOM-MX8M-NANO/><!--
-->{{#vardefine:BOARD_SDK|dart_mx8mp}}<!--
-->*HARDWARE_NAME = '''{{#var:HARDWARE_NAME}}'''
--><section end=MCUXPRESSO_2.11.1_V1.0_DART-MX8M-PLUS/><!--
*SOC_HAS_M7 = '''{{#var:SOC_HAS_M7}}'''
-->*HARDWARE_NAME = '''{{#var:HARDWARE_NAME}}'''
*RELEASE_NAME = '''{{#var:RELEASE_NAME}}'''
*RELEASE_NAME = '''{{#var:RELEASE_NAME}}'''
*RELEASE_LINK = '''{{#var:RELEASE_LINK}}'''
*RELEASE_LINK = '''{{#var:RELEASE_LINK}}'''
Line 1,894: Line 2,055:
*NXP_REFERENCE_KIT = '''{{#var:NXP_REFERENCE_KIT}}'''
*NXP_REFERENCE_KIT = '''{{#var:NXP_REFERENCE_KIT}}'''
*YOCTO_RELEASE_TAG = '''{{#var:YOCTO_RELEASE_TAG}}'''
*YOCTO_RELEASE_TAG = '''{{#var:YOCTO_RELEASE_TAG}}'''
*SOM_CAN_SUPPORT_1GB_DDR = '''{{#var:SOM_CAN_SUPPORT_1GB_DDR}}'''


= VAR-SOM-MX8X =
=== mcuxpresso-2.15.0-mx8mn-v1.0 ===
 
<section begin=MCUXPRESSO_2.15.0_V1.0_VAR-SOM-MX8M-NANO/><!--
== Sections ==
-->{{#vardefine:OS|FreeRTOS}}<!--
 
-->{{#vardefine:HARDWARE_NAME|VAR-SOM-MX8M-NANO}}<!--
=== Available dtbs ===
-->{{#vardefine:SOC_HAS_M7|true}}<!--
<section begin=VAR-SOM-MX8X_DTBS_SECTION/><!--
-->{{#vardefine:RELEASE_NAME|mcuxpresso-2.15.0-mx8mn-v1.0}}<!--
-->To allow Cortex M4 accessing shared resources without experiencing Linux kernel conflicts, a dedicated device tree must be loaded, containing '''m4''' label in the name, using the fdt_file environment variable in U-Boot.
-->{{#vardefine:RELEASE_LINK|MCUXPRESSO_2.15.0_V1.0_VAR-SOM-MX8M-NANO}}<!--
 
-->{{#vardefine:MCUXPRESSO_VERSION|2.15.0}}<!--
This device tree disables some of the base device tree nodes in order to avoid conflicts between the main processor and Cortex M4.
-->{{#vardefine:SDK_PATH|~/var-mcuxpresso}}<!--
 
-->{{#vardefine:SDK_GIT_URL|https://github.com/varigit/freertos-variscite}}<!--
{| class="wikitable"
-->{{#vardefine:SDK_GIT_BRANCH|mcuxpresso_sdk_2.15.x-var01}}<!--
|-
-->{{#vardefine:TOOLCHAIN_URL|https://developer.arm.com/-/media/Files/downloads/gnu/12.3.rel1/binrel/arm-gnu-toolchain-12.3.rel1-x86_64-arm-none-eabi.tar.xz}}<!--
! scope="col" | File Name<br/>
-->{{#vardefine:TOOLCHAIN_BZ2_NAME|arm-gnu-toolchain-12.3.rel1-x86_64-arm-none-eabi.tar.xz}}<!--
! scope="col" | Description<br/>
-->{{#vardefine:TOOLCHAIN_FOLDER|arm-gnu-toolchain-12.3.rel1-x86_64-arm-none-eabi}}<!--
|-
-->{{#vardefine:BOARD_FOLDER|boards/som_mx8mn}}<!--
| style="padding: 5px;"| imx8qxp-var-som-symphony-sd-'''m4'''.dtb
-->{{#vardefine:DOCS_FOLDER|docs}}<!--
| style="padding: 5px;"| VAR-SOM-MX8 device tree blob for kernel >= 5.4.85 (Yocto Dunfell)
-->{{#vardefine:PINS_SECTION|VAR-SOM-MX8M-NANO_PINS_SECTION}}<!--
|-
-->{{#vardefine:DEMOS_SECTION|VAR-SOM-MX8M-NANO_DEMOS_SECTION}}<!--
| style="padding: 5px;"| imx8qxp-var-som-symphony-'''m4'''.dtb
-->{{#vardefine:DTBS_SECTION|VAR-SOM-MX8M-NANO_DTBS_SECTION}}<!--
| style="padding: 5px;"| VAR-SOM-MX8 device tree blob for kernel >= 5.4.85 (Yocto Dunfell)
-->{{#vardefine:MEMORY_TYPES_SECTION|VAR-SOM-MX8MN_MEMORY-TYPES}}<!--
|-
-->{{#vardefine:JTAG_SECTION|VAR-SOM-MX8MN_JTAG_SECTION}}<!--
|}
-->{{#vardefine:NXP_USER_GUIDE|Getting Started with MCUXpresso SDK for EVK-MIMX8MN.pdf}}<!--
<section end=VAR-SOM-MX8X_DTBS_SECTION/>
-->{{#vardefine:NXP_REFERENCE_KIT|EVK-MIMX8MN}}<!--
-->{{#vardefine:SDK_GIT_TAG|som-mx8mn_mcuxpresso-2.15.0_v10}}<!--
-->{{#vardefine:RELEASE_DATE|05/06/2024}}<!--
-->{{#vardefine:SUPPORTED_REV_SOM|v1.0 and higher}} <!--
-->{{#vardefine:SUPPORTED_REV_CARRIER|v1.2 and higher}} <!--
-->{{#vardefine:YOCTO_RELEASE_TAG|mx8mn-yocto-mickledore-6.1.36_2.1.0-v1.0}}<!--
-->{{#vardefine:BOARD_SDK|som_mx8mn}}<!--
--><section end=MCUXPRESSO_2.15.0_V1.0_VAR-SOM-MX8M-NANO/><!--
-->*HARDWARE_NAME = '''{{#var:HARDWARE_NAME}}'''
*SOC_HAS_M7 = '''{{#var:SOC_HAS_M7}}'''
*RELEASE_NAME = '''{{#var:RELEASE_NAME}}'''
*RELEASE_LINK = '''{{#var:RELEASE_LINK}}'''
*MCUXPRESSO_VERSION = '''{{#var:MCUXPRESSO_VERSION}}'''
*SDK_PATH = '''{{#var:SDK_PATH}}'''
*SDK_GIT_URL = '''{{#var:SDK_GIT_URL}}'''
*SDK_GIT_BRANCH = '''{{#var:SDK_GIT_BRANCH}}'''
*TOOLCHAIN_URL = '''{{#var:TOOLCHAIN_URL}}'''
*TOOLCHAIN_BZ2_NAME = '''{{#var:TOOLCHAIN_BZ2_NAME}}'''
*TOOLCHAIN_FOLDER = '''{{#var:TOOLCHAIN_FOLDER}}'''
*BOARD_FOLDER = '''{{#var:BOARD_FOLDER}}'''
*DOCS_FOLDER = '''{{#var:DOCS_FOLDER}}'''
*PINS_SECTION = '''{{#var:PINS_SECTION}}'''
*DEMOS_SECTION = '''{{#var:DEMOS_SECTION}}'''
*DTBS_SECTION = '''{{#var:DTBS_SECTION}}'''
*MEMORY_TYPES_SECTION = '''{{#var:MEMORY_TYPES_SECTION}}'''
*JTAG_SECTION = '''{{#var:JTAG_SECTION}}'''
*NXP_USER_GUIDE = '''{{#var:NXP_USER_GUIDE}}'''
*NXP_REFERENCE_KIT = '''{{#var:NXP_REFERENCE_KIT}}'''
*YOCTO_RELEASE_TAG = '''{{#var:YOCTO_RELEASE_TAG}}'''
 
= DART-MX8M-PLUS =


=== Default M4 pins ===
== Sections ==
<section begin=VAR-SOM-MX8X_PINS_SECTION/><!--
-->Default M4 pins used by the demos are:


{| class="wikitable"
=== Available dtbs ===
<section begin=DART-MX8M-PLUS_DTBS_SECTION/><!--
-->To allow Cortex M7 accessing shared resources without experiencing Linux kernel conflicts, a dedicated device tree must be loaded, containing '''m7''' label in the name, using the fdt_file environment variable in U-Boot.
 
This device tree disables some of the base device tree nodes in order to avoid conflicts between the main processor and Cortex M7.
 
{| class="wikitable"
|-
|-
! scope="col" | function
! scope="col" | File Name<br/>
! scope="col" | pin
! scope="col" | Description<br/>
|-
|-
| debug UART (UART2)
| style="padding: 5px;"| imx8mp-var-dart-dt8mcustomboard-'''m7'''.dtb
| RX: J18.5 / TX: J18.3
| style="padding: 5px;"| DART-MX8M-PLUS device tree blob for kernel >= 5.4.70 (Yocto Zeus) on DT8MCustomBoard 2.x
|-
|-
| I2C (I2C3)
| style="padding: 5px;"| imx8mp-var-dart-dt8mcustomboard-legacy-'''m7'''.dtb
| SCL: J16.10 / SDA: J16.12
| style="padding: 5px;"| DART-MX8M-PLUS device tree blob for kernel >= 5.4.70 (Yocto Zeus) on on DT8MCustomBoard 1.x
|-
|-
| M4 GPIO (M40_GPIO0_IO00)
| style="padding: 5px;"| imx8mp-var-som-symphony-'''m7'''.dtb
| J16.3
| style="padding: 5px;"| VAR-SOM-MX8M-PLUS device tree blob for kernels >= 5.4.70 (Yocto Zeus) on on Symphony-Board
|-
|-
| M4 PWM (M40_TPM0_CH0)
| style="padding: 5px;"| imx8mp-var-som-symphony-2nd-ov5640'''m7'''.dtb
| J16.7
| style="padding: 5px;"| VAR-SOM-MX8M-PLUS device tree blob for kernels >= 5.4.70 (Yocto Zeus) on on Symphony-Board with 2nd OV5640
|-
|-
<!--
|}
| CAN (CAN1)
 
| RX: J18.9 / TX: J18.7
<section end=DART-MX8M-PLUS_DTBS_SECTION/>
|-
-->
|}<!--
--><section end=VAR-SOM-MX8X_PINS_SECTION/>


=== Available Demos ===
=== Default M7 pins v1 ===
<section begin=VAR-SOM-MX8X_DEMOS_SECTION/><!--
<section begin=DART-MX8M-PLUS_PINS_SECTION/><!--
-->* cmsis_driver_examples/lpi2c/int_b2b_transfer/slave
-->Default M7 pins used by the demos are:
* cmsis_driver_examples/lpi2c/int_b2b_transfer/master
 
* cmsis_driver_examples/lpi2c/edma_b2b_transfer/slave
{| class="wikitable"
* cmsis_driver_examples/lpi2c/edma_b2b_transfer/master
|-
* cmsis_driver_examples/lpuart/edma_transfer
! scope="col" | Function
* cmsis_driver_examples/lpuart/interrupt_transfer
! scope="col" | SoC balls
* demo_apps/hello_world
! scope="col" | DART-MX8M-PLUS pins
* driver_examples/edma/scatter_gather
! scope="col" | DT8MCB pins
* driver_examples/edma/memory_to_memory
! scope="col" | VAR-SOM-MX8M-PLUS pins
* driver_examples/intmux
! scope="col" | Symphony pins
* driver_examples/lpi2c/edma_b2b_transfer/slave
! scope="col" | Notes
* driver_examples/lpi2c/edma_b2b_transfer/master
|-
* driver_examples/lpi2c/interrupt_b2b_transfer/slave
| UART3 RX/TX
* driver_examples/lpi2c/interrupt_b2b_transfer/master
| AE6 / AJ4
* driver_examples/lpi2c/polling_b2b_transfer/slave
| J2.87 / J2.89
* driver_examples/lpi2c/polling_b2b_transfer/master
| J12.11 / J12.13
* driver_examples/lpi2c/read_accel_value_transfer
|
* driver_examples/lpit
|
* driver_examples/lpuart/edma_transfer
|
* driver_examples/lpuart/interrupt_rb_transfer
|-
* driver_examples/lpuart/polling
| UART4 RX/TX
* driver_examples/lpuart/interrupt_transfer
| AH5 / AJ5
* driver_examples/rgpio/led_output
|
* driver_examples/sema42/uboot
|
* driver_examples/tpm/input_capture
| J1.115 / J1.171
* driver_examples/tpm/dual_edge_capture
| J18.9 / J18.7
* driver_examples/tpm/timer
|
* driver_examples/tpm/simple_pwm
|-
* driver_examples/tpm/output_compare
| GPIO3_IO14
* driver_examples/tstmr
| R26
* driver_examples/wdog32
|
* mmcau_examples/mmcau_api
|
* multicore_examples/rpmsg_lite_pingpong_rtos/linux_remote
| J1.79
* multicore_examples/rpmsg_lite_str_echo_rtos
| J17.10
* rtos_examples/freertos_hello
|
* rtos_examples/freertos_queue
|-
* rtos_examples/freertos_sem
| GPIO4_IO03
* rtos_examples/freertos_generic
| AF10
* rtos_examples/freertos_tickless
| J2.59
* rtos_examples/freertos_mutex
| GPLED1 on DT8MCB rev 1.x<br>J11.20 on DT8MCB rev 2.x
* rtos_examples/freertos_event
|
* rtos_examples/freertos_swtimer
|
Additional demos are available as reference code, but require HW/SW customization.<!--
|
* demo_apps/power_mode_switch
|-
* driver_examples/canfd/loopback_transfer
| I2C3 SCL/SDA
* driver_examples/canfd/loopback
| AJ7 / AJ6
* driver_examples/canfd/interrupt_transfer
| J3.46 / J3.42
* driver_examples/enet/txrx_multiring_transfer
| J12.18/ J12.20
* driver_examples/enet/txrx_transfer
|
* driver_examples/enet/txrx_ptp1588_transfer
|
* driver_examples/flexcan/loopback_edma_transfer
|
* driver_examples/flexcan/loopback_transfer
|-
* driver_examples/flexcan/loopback
| I2C4 SCL/SDA
* driver_examples/flexcan/interrupt_transfer
| AF8 / AD8
* driver_examples/ftm/pwm_twochannel
|
* driver_examples/ftm/combine_pwm
|
* driver_examples/ftm/input_capture
| J1.92 / J1.90
* driver_examples/ftm/dual_edge_capture
| J16.13 / J16.15
* driver_examples/ftm/timer
| Enabling it SPI devices will be no longer visible from Linux
* driver_examples/ftm/simple_pwm
|-
* driver_examples/ftm/output_compare
| PWM2
* driver_examples/gpio/led_output
| D8
* driver_examples/lpadc/interrupt
|
* driver_examples/lpadc/polling
|
* lwip_examples/lwip_ping/bm
| J1.69
* lwip_examples/lwip_ping/freertos
| J18.2
* lwip_examples/lwip_iperf/bm
|
* lwip_examples/lwip_httpsrv/bm
* lwip_examples/lwip_httpsrv/freertos
* lwip_examples/lwip_tcpecho/bm
* lwip_examples/lwip_tcpecho/freertos
* lwip_examples/lwip_udpecho/bm
* lwip_examples/lwip_udpecho/freertos
* lwip_examples/lwip_dhcp/bm
* lwip_examples/lwip_dhcp/freertos
--><!--
--><section end=VAR-SOM-MX8X_DEMOS_SECTION/>
 
=== NXP Memory types ===
<section begin=VAR-SOM-MX8X_MEMORY-TYPES_NXP_SECTION/><!--
-->The SDK allow linking using 2 different memory types: DDR, TCM.
 
Here is available a short summary of memory areas used by Cortex-M4 as described in related linker file.
 
{| class="wikitable"
|-
|-
! scope="col" | memory type
| PWM3
! scope="col" | M4 memory area
| AE18
! scope="col" | A35 memory area
| J3.36
! scope="col" | memory lentgh
| J14.7
! scope="col" | linker file
|  
|  
|
|-
|-
| DDR
| SPI1 CS0/SCK/SDI/SDO
| 0x88000000-0x881FFFFF (code)<br>0x88200000-0x883FFFFF (data)<br>0x88400000-0x8FFFFFFF (data2)
| AE20 / AF20 / AD20 / AC20
| 0x88000000-0x881FFFFF (code)<br>0x88200000-0x883FFFFF (data)<br>0x88400000-0x8FFFFFFF (data2)
| J2.79 / J2.77 / J2.81 / J2.83
| 128MB (DDR)
| J16.4/ J16.2 / J16.8 / J16.6
| MIMX8QX6xxxFZ_cm4_ddr_ram.ld
|  
|  
| Enabling it SPI devices will be no longer visible from Linux
|-
|-
| TCM
| SPI2 CS0/SCK/SDI/SDO
| 0x1FFE0000-0x1FFFFFFF (code)<br>0x20000000-0x2001FFFF (data)<br>0x88000000-0x8FFFFFFF (data2)
| AJ22 / AH21 / AH20 / AJ21
| 0x34FE0000-0x34FFFFFF (code)<br>0x35000000-0x3501FFFF (data)<br>0x88000000-0x8FFFFFFF (data2)
|  
| 256kB (TCM) + 128MB (DDR)
|  
| MIMX8QX6xxxFZ_cm4_ram.ld
| J1.39 / J1.43 / J1.41 / J1.45
| J16.4/ J16.2 / J16.6 / J16.8
| Enabling it SPI devices will be no longer visible from Linux
|-
|-
|}
{{#ifeq: {{#var:MCUXPRESSO_VERSION}} | 2.9.0 |
 
|
All linker files are locate in the '''armgcc''' folder of each demo.
{{!}}-
{{!}} FLEXCAN1 RX/TX {{!}}{{!}} AH15 / AJ16 {{!}}{{!}} j2.56 / j2.50 {{!}}{{!}} J13.11 / J13.5 on DT8MCB rev 1.x, TTL levels (CAN transceiver not mounted!) {{!}}{{!}}  {{!}}{{!}}  {{!}}{{!}} Enabling it FLEXCAN1 devices will be no longer visible from Linux
{{!}}-
{{!}}  {{!}}{{!}}  {{!}}{{!}}  {{!}}{{!}}  J16.9 / J16.7 on DT8MCB rev 2.x, CANL/CANH levels (CAN transceiver mounted!) {{!}}{{!}}  {{!}}{{!}}  {{!}}{{!}}
{{!}}-
{{!}} FLEXCAN2 RX/TX {{!}}{{!}} AJ4 / AE6 {{!}}{{!}}  {{!}}{{!}}  {{!}}{{!}} J1.46 / J1.44 {{!}}{{!}} J16.18 / J16.20, CANL/CANH levels (CAN transceiver mounted!) {{!}}{{!}} Enabling it FLEXCAN2 devices will be no longer visible from Linux
{{!}}-
}}
|}<!--
--><section end=DART-MX8M-PLUS_PINS_SECTION/>


After launching the build_all.sh command the following folder will be created in the armgcc folder
=== Available Demos ===
 
<section begin=DART-MX8M-PLUS_DEMOS_SECTION/><!--
* '''ddr_debug''': containing DDR binaries compiled in debug mode (not stripped: symbols available)
-->* driver_examples/i2c/interrupt_b2b_transfer/slave
* '''ddr_release''': containing DDR binaries compiled in release mode (stripped: no symbols available)
* driver_examples/i2c/interrupt_b2b_transfer/master
* '''debug''': containing TCM binaries compiled in debug mode (not stripped: symbols available)
* driver_examples/i2c/polling_b2b_transfer/slave
* '''release''': containing TCM binaries compiled in release mode (stripped: no symbols available)
* driver_examples/i2c/polling_b2b_transfer/master
 
* driver_examples/wdog
Further details about memory mapping are available in [https://www.nxp.com/webapp/Download?colCode=IMX8DQXPRM i.MX 8DualXPlus/8QuadXPlus Applications Processor Reference Manual] paragraphs:
* driver_examples/sdma/scatter_gather
 
* driver_examples/sdma/memory_to_memory
* 2.2 System Memory Map
* driver_examples/gpio/led_output
* 2.2.9 Cortex-M4 Memory Map<!--
* driver_examples/pwm
--><section end=VAR-SOM-MX8X_MEMORY-TYPES_NXP_SECTION/>
* driver_examples/uart/auto_baudrate_detect
 
* driver_examples/uart/interrupt
=== JTAG ===
* driver_examples/uart/interrupt_rb_transfer
<section begin=VAR-SOM-MX8X_JTAG_SECTION/><!--
* driver_examples/uart/polling
-->The VAR-SOM-MX8X exposes JTAG interface via an optional 10-pin header
* driver_examples/uart/interrupt_transfer
 
* driver_examples/gpt/timer
Here is the pinout:
* driver_examples/gpt/capture
 
* driver_examples/ecspi/ecspi_loopback
{| class="wikitable"
* driver_examples/ecspi/interrupt_b2b_transfer/slave
|-
* driver_examples/ecspi/interrupt_b2b_transfer/master
! scope="col" | pin
* driver_examples/ecspi/polling_b2b_transfer/slave
! scope="col" | signal
* driver_examples/ecspi/polling_b2b_transfer/master
! scope="col" | description
* driver_examples/rdc
! scope="col" | pin
* driver_examples/tmu/monitor_threshold
! scope="col" | signal (ball)
* driver_examples/tmu/temperature_polling
! scope="col" | description
* driver_examples/sema4/uboot
|-
{{#if: {{#var:SDK_SUPPORT_CAN}} |
| '''1'''
* driver_examples/canfd/interrupt_transfer
| JTAG_VREF
* driver_examples/canfd/loopback
| JTAG reference voltage (3.3V)
* driver_examples/canfd/loopback_transfer
| '''2'''
* driver_examples/canfd/ping_pong_buffer_transfer
| JTAG_TMS (AG35)
* driver_examples/flexcan/interrupt_transfer
| JTAG Mode Select
* driver_examples/flexcan/loopback
|-
* driver_examples/flexcan/loopback_transfer
| '''3'''
* driver_examples/flexcan/ping_pong_buffer_transfer
| GND
}}
| Digital Ground
* rtos_examples/freertos_ecspi/ecspi_loopback
| '''4'''
* rtos_examples/freertos_hello
| JTAG_TCK (AE31)
* rtos_examples/freertos_queue
| JTAG Clock
* rtos_examples/freertos_sem
|-
* rtos_examples/freertos_generic
| '''5'''
* rtos_examples/freertos_uart
| GND
* rtos_examples/freertos_tickless
| Digital Ground
* rtos_examples/freertos_mutex
| '''6'''
* rtos_examples/freertos_event
| JTAG_TDO (AF32)
* rtos_examples/freertos_swtimer
| JTAG Data Out
* rtos_examples/freertos_i2c
|-
* cmsis_driver_examples/i2c/int_b2b_transfer/slave
| '''7'''
* cmsis_driver_examples/i2c/int_b2b_transfer/master
| RTCK
* cmsis_driver_examples/uart/interrupt_transfer
| JTAG Return clock
* cmsis_driver_examples/ecspi/int_loopback_transfer
| '''8'''
* cmsis_driver_examples/ecspi/sdma_loopback_transfer
| JTAG_TDI (AH34)
* multicore_examples/rpmsg_lite_str_echo_rtos
| JTAG Data In
* multicore_examples/rpmsg_lite_pingpong_rtos/linux_remote
|-
* demo_apps/hello_world
| '''9'''
* driver_examples/uart/idle_detect_sdma_transfer
| JTAG_TRST_B_CONN
* driver_examples/uart/sdma_transfer
| JTAG TAP reset
* cmsis_driver_examples/uart/sdma_transfer<!--
| '''10'''
--><section end=DART-MX8M-PLUS_DEMOS_SECTION/>
| JTAG_SRST_B
| JTAG System reset
|-
|}


Please refer to SOM datasheet for further details.
=== Available Demos v2 ===
 
<section begin=DART-MX8M-PLUS_DEMOS_SECTION_V2/><!--
<!--
-->* driver_examples/i2c/interrupt_b2b_transfer/slave
--><section end=VAR-SOM-MX8X_JTAG_SECTION/>
* driver_examples/i2c/interrupt_b2b_transfer/master
 
* driver_examples/i2c/polling_b2b_transfer/slave
== Releases ==
* driver_examples/i2c/polling_b2b_transfer/master
 
* driver_examples/wdog
=== mcuxpresso-2.5.2-mx8qx-v1.0 ===
* driver_examples/gpio/led_output
<section begin=MCUXPRESSO_2.5.2_V1.0_VAR-SOM-MX8X/><!--
* driver_examples/pwm
-->{{#vardefine:OS|FreeRTOS}}<!--
* driver_examples/uart/auto_baudrate_detect
-->{{#vardefine:HARDWARE_NAME|VAR-SOM-MX8X}}<!--
* driver_examples/uart/interrupt
-->{{#vardefine:SOC_HAS_SCU|true}}<!--
* driver_examples/uart/interrupt_rb_transfer
-->{{#vardefine:RELEASE_NAME|mcuxpresso-2.5.2-mx8qx-v1.0}}<!--
* driver_examples/uart/polling
-->{{#vardefine:RELEASE_LINK|MCUXPRESSO_2.5.2_V1.0_VAR-SOM-MX8X}}<!--
* driver_examples/uart/interrupt_transfer
-->{{#vardefine:YOCTO_RELEASE_LINK|RELEASE_SUMO_V1.2_VAR-SOM-MX8X}}<!--
* driver_examples/gpt/timer
-->{{#vardefine:MCUXPRESSO_VERSION|2.5.2}}<!--
* driver_examples/gpt/capture
-->{{#vardefine:SDK_PATH|~/var-mcuxpresso}}<!--
* driver_examples/ecspi/ecspi_loopback
-->{{#vardefine:SDK_GIT_URL|https://github.com/varigit/freertos-variscite}}<!--
* driver_examples/ecspi/interrupt_b2b_transfer/slave
-->{{#vardefine:SDK_GIT_BRANCH|mcuxpresso_sdk_2.5.x-var01}}<!--
* driver_examples/ecspi/interrupt_b2b_transfer/master
-->{{#vardefine:TOOLCHAIN_URL|https://developer.arm.com/-/media/Files/downloads/gnu-rm/7-2018q2/gcc-arm-none-eabi-7-2018-q2-update-linux.tar.bz2}}<!--
* driver_examples/ecspi/polling_b2b_transfer/slave
-->{{#vardefine:TOOLCHAIN_BZ2_NAME|gcc-arm-none-eabi-7-2018-q2-update-linux.tar.bz2}}<!--
* driver_examples/ecspi/polling_b2b_transfer/master
-->{{#vardefine:TOOLCHAIN_FOLDER|gcc-arm-none-eabi-7-2018-q2-update}}<!--
* driver_examples/tmu/monitor_threshold
-->{{#vardefine:BOARD_FOLDER|boards/som_mx8qx}}<!--
* driver_examples/tmu/temperature_polling
-->{{#vardefine:DOCS_FOLDER|docs}}<!--
* driver_examples/sema4/uboot
-->{{#vardefine:PINS_SECTION|VAR-SOM-MX8X_PINS_SECTION}}<!--
{{#if: {{#var:SDK_SUPPORT_CAN}} |
-->{{#vardefine:DEMOS_SECTION|VAR-SOM-MX8X_DEMOS_SECTION}}<!--
* driver_examples/flexcan/interrupt_transfer
-->{{#vardefine:DTBS_SECTION|VAR-SOM-MX8X_DTBS_SECTION}}<!--
* driver_examples/flexcan/loopback
-->{{#vardefine:MEMORY_TYPES_SECTION|VAR-SOM-MX8X_MEMORY-TYPES_NXP_SECTION}}<!--
* driver_examples/flexcan/loopback_transfer
-->{{#vardefine:JTAG_SECTION|VAR-SOM-MX8X_JTAG_SECTION}}<!--
* driver_examples/flexcan/ping_pong_buffer_transfer
-->{{#vardefine:NXP_USER_GUIDE|Getting Started with MCUXpresso SDK for i.MX 8QuadXPlus.pdf}}<!--
}}
-->{{#vardefine:NXP_REFERENCE_KIT|IMX8QXP-MEK}}<!--
* freertos_examples/freertos_hello
-->{{#vardefine:SCFW_SOC|mx8qx_b0}} <!--
* freertos_examples/freertos_queue
-->{{#vardefine:SCFW_PATCH_URL|ftp://customerv:Variscite1@ftp.variscite.com/VAR-SOM-MX8X/Software/SCFW}} <!--
* freertos_examples/freertos_sem
-->{{#vardefine:SCFW_M4_PATCH|0002-mx8qxp-var-som_scfw-1.2.2_sample-M4-customization.diff}} <!--
* freertos_examples/freertos_generic
-->{{#vardefine:SDK_GIT_TAG|som-mx8qx_mcuxpresso-2.5.2_v10}} <!--
* freertos_examples/freertos_tickless
-->{{#vardefine:RELEASE_DATE|2/10/2020}} <!--
* freertos_examples/freertos_mutex
-->{{#vardefine:SUPPORTED_REV_SOM|v1.1 and higher}} <!--
* freertos_examples/freertos_event
-->{{#vardefine:SUPPORTED_REV_CARRIER|v1.1 and higher}} <!--
* freertos_examples/freertos_swtimer
-->{{#vardefine:IMX_MKIMAGE_SOC|iMX8QX}} <!--
* cmsis_driver_examples/i2c/int_b2b_transfer/slave
--><section end=MCUXPRESSO_2.5.2_V1.0_VAR-SOM-MX8X/><!--
* cmsis_driver_examples/i2c/int_b2b_transfer/master
-->*HARDWARE_NAME = '''{{#var:HARDWARE_NAME}}'''
* cmsis_driver_examples/uart/interrupt_transfer
*SOC_HAS_SCU = '''{{#var:SOC_HAS_SCU}}'''
* cmsis_driver_examples/ecspi/int_loopback_transfer
*RELEASE_NAME = '''{{#var:RELEASE_NAME}}'''
* multicore_examples/rpmsg_lite_str_echo_rtos
*RELEASE_LINK = '''{{#var:RELEASE_LINK}}'''
* multicore_examples/rpmsg_lite_pingpong_rtos/linux_remote
*YOCTO_RELEASE_LINK = '''{{#var:YOCTO_RELEASE_LINK}}'''
* demo_apps/hello_world<!--
*MCUXPRESSO_VERSION = '''{{#var:MCUXPRESSO_VERSION}}'''
--><section end=DART-MX8M-PLUS_DEMOS_SECTION_V2/>
*SDK_PATH = '''{{#var:SDK_PATH}}'''
*SDK_GIT_URL = '''{{#var:SDK_GIT_URL}}'''
*SDK_GIT_BRANCH = '''{{#var:SDK_GIT_BRANCH}}'''
*TOOLCHAIN_URL = '''{{#var:TOOLCHAIN_URL}}'''
*TOOLCHAIN_BZ2_NAME = '''{{#var:TOOLCHAIN_BZ2_NAME}}'''
*TOOLCHAIN_FOLDER = '''{{#var:TOOLCHAIN_FOLDER}}'''
*BOARD_FOLDER = '''{{#var:BOARD_FOLDER}}'''
*DOCS_FOLDER = '''{{#var:DOCS_FOLDER}}'''
*PINS_SECTION = '''{{#var:PINS_SECTION}}'''
*DEMOS_SECTION = '''{{#var:DEMOS_SECTION}}'''
*DTBS_SECTION = '''{{#var:DTBS_SECTION}}'''
*MEMORY_TYPES_SECTION = '''{{#var:MEMORY_TYPES_SECTION}}'''
*JTAG_SECTION = '''{{#var:JTAG_SECTION}}'''
*NXP_USER_GUIDE = '''{{#var:NXP_USER_GUIDE}}'''
*NXP_REFERENCE_KIT = '''{{#var:NXP_REFERENCE_KIT}}'''
*SCFW_SOC = = '''{{#var:SCFW_SOC}}
*SCFW_PATCH_URL = = '''{{#var:SCFW_PATCH_URL}}
*SCFW_M4_PATCH = = '''{{#var:SCFW_M4_PATCH}}
*IMX_MKIMAGE_SOC = = '''{{#var:IMX_MKIMAGE_SOC}}


=== mcuxpresso-2.8.0-mx8qx-v1.0 ===
=== Variscite Memory types ===
<section begin=MCUXPRESSO_2.8.0_V1.0_VAR-SOM-MX8X/><!--
<section begin=DART-MX8M-PLUS_MEMORY-TYPES_VAR_SECTION/><!--
-->{{#vardefine:OS|FreeRTOS}}<!--
-->The SDK allow linking using 2 different memory types: DDR, TCM.
-->{{#vardefine:HARDWARE_NAME|VAR-SOM-MX8X}}<!--
 
-->{{#vardefine:RELEASE_NAME|mcuxpresso-2.8.0-mx8qx-v1.0}}<!--
Here is available a short summary of memory areas used by Cortex-M7 as described in related linker file.
-->{{#vardefine:RELEASE_LINK|MCUXPRESSO_2.8.0_V1.0_VAR-SOM-MX8X}}<!--
 
-->{{#vardefine:YOCTO_RELEASE_LINK|RELEASE_SUMO_V1.2_VAR-SOM-MX8X}}<!--
{| class="wikitable"
-->{{#vardefine:MCUXPRESSO_VERSION|2.8.0}}<!--
|-
-->{{#vardefine:SDK_PATH|~/var-mcuxpresso}}<!--
! scope="col" | memory type
-->{{#vardefine:SDK_GIT_URL|https://github.com/varigit/freertos-variscite}}<!--
! scope="col" | M7 memory area
-->{{#vardefine:SDK_GIT_BRANCH|mcuxpresso_sdk_2.8.x-var01}}<!--
! scope="col" | A53 memory area
-->{{#vardefine:TOOLCHAIN_URL|https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2020q2/gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2}}<!--
! scope="col" | memory lentgh
-->{{#vardefine:TOOLCHAIN_BZ2_NAME|gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2}}<!--
! scope="col" | linker file
-->{{#vardefine:TOOLCHAIN_FOLDER|gcc-arm-none-eabi-9-2020-q2-update}}<!--
|-
-->{{#vardefine:BOARD_FOLDER|boards/som_mx8qx}}<!--
| DDR
-->{{#vardefine:DOCS_FOLDER|docs}}<!--
| 0x80000000-0x801FFFFF (code)<br>0x80200000-0x803FFFFF (data)<br>0x80400000-0x80FFFFFF (data2)
-->{{#vardefine:PINS_SECTION|VAR-SOM-MX8X_PINS_SECTION}}<!--
| 0x80000000-0x801FFFFF (code)<br>0x80200000-0x803FFFFF (data)<br>0x80400000-0x80FFFFFF (data2)
-->{{#vardefine:DEMOS_SECTION|VAR-SOM-MX8X_DEMOS_SECTION}}<!--
| 16MB (DDR)
-->{{#vardefine:DTBS_SECTION|VAR-SOM-MX8X_DTBS_SECTION}}<!--
| MIMX8MN6xxxxx_cm7_ddr_ram.ld
-->{{#vardefine:MEMORY_TYPES_SECTION|VAR-SOM-MX8X_MEMORY-TYPES_NXP_SECTION}}<!--
|-
-->{{#vardefine:JTAG_SECTION|VAR-SOM-MX8X_JTAG_SECTION}}<!--
| TCM
-->{{#vardefine:NXP_USER_GUIDE|Getting Started with MCUXpresso SDK for MEK-MIMX8QX.pdf}}<!--
| 0x00000000-0x0001FFFF (code)<br>0x20000000-0x2001FFFF (data)<br>0x80000000-0x80FFFFFF (data2)
-->{{#vardefine:NXP_REFERENCE_KIT|IMX8QXP-MEK}}<!--
| 0x007E0000-0x007FFFFF (code)<br>0x00800000-0x0081FFFF (data)<br>0x80000000-0x80FFFFFF (data2)
-->{{#vardefine:SCFW_SOC|mx8qx_b0}} <!--
| 256kB (TCM) + 16MB (DDR)
-->{{#vardefine:SCFW_PATCH_URL|ftp://customerv:Variscite1@ftp.variscite.com/VAR-SOM-MX8X/Software/SCFW}} <!--
| MIMX8MN6xxxxx_cm7_ram.ld
-->{{#vardefine:SCFW_M4_PATCH|0002-mx8qxp-var-som_scfw-1.2.2_sample-M4-customization.diff}} <!--
|-
-->{{#vardefine:IMX_MKIMAGE_SOC|iMX8QX}} <!--
|}
-->{{#vardefine:SDK_GIT_TAG|som-mx8qx_mcuxpresso-2.8.0_v10}}<!--
 
-->{{#vardefine:RELEASE_DATE|02/18/2021}}<!--
All linker files are locate in the '''armgcc''' folder of each demo.
-->{{#vardefine:SUPPORTED_REV_SOM|v1.1 and higher}} <!--
 
-->{{#vardefine:SUPPORTED_REV_CARRIER|v1.1 and higher}} <!--
The DDR reserved area must match the one declared in the kernel device tree: at least 1 GB of RAM is required on the SoM to allow Cortex-M7 accessing the range 0x80000000 - 0x80FFFFFF.
-->{{#vardefine:YOCTO_RELEASE_TAG|dunfell-fslc-5.4-2.1.x-mx8x-v1.0}}<!--
 
--><section end=MCUXPRESSO_2.8.0_V1.0_VAR-SOM-MX8X/><!--
The RPMSG area is located at 0x40000000: all SoMs allow Cortex-M7 accessing the RPMSG area.
-->*HARDWARE_NAME = '''{{#var:HARDWARE_NAME}}'''
 
*SOC_HAS_SCU = '''{{#var:SOC_HAS_SCU}}'''
After launching the build_all.sh command the following folder will be created in the armgcc folder
*RELEASE_NAME = '''{{#var:RELEASE_NAME}}'''
 
*RELEASE_LINK = '''{{#var:RELEASE_LINK}}'''
* '''ddr_debug''': containing DDR binaries compiled in debug mode (not stripped: symbols available)
*YOCTO_RELEASE_LINK = '''{{#var:YOCTO_RELEASE_LINK}}'''
* '''ddr_release''': containing DDR binaries compiled in release mode (stripped: no symbols available)
*MCUXPRESSO_VERSION = '''{{#var:MCUXPRESSO_VERSION}}'''
* '''debug''': containing TCM binaries compiled in debug mode (not stripped: symbols available)
*SDK_PATH = '''{{#var:SDK_PATH}}'''
* '''release''': containing TCM binaries compiled in release mode (stripped: no symbols available)
*SDK_GIT_URL = '''{{#var:SDK_GIT_URL}}'''
 
*SDK_GIT_BRANCH = '''{{#var:SDK_GIT_BRANCH}}'''
Further details about memory mapping are available in the following [https://www.nxp.com/doc/IMX8MPRM i.MX 8M Plus Applications Processor Reference Manual] paragraphs:
*TOOLCHAIN_URL = '''{{#var:TOOLCHAIN_URL}}'''
 
*TOOLCHAIN_BZ2_NAME = '''{{#var:TOOLCHAIN_BZ2_NAME}}'''
* 2.2 Cortex-A53 Memory Map
*TOOLCHAIN_FOLDER = '''{{#var:TOOLCHAIN_FOLDER}}'''
* 2.3 Cortex-M7 Memory Map<!--
*BOARD_FOLDER = '''{{#var:BOARD_FOLDER}}'''
--><section end=DART-MX8M-PLUS_MEMORY-TYPES_VAR_SECTION/>
*DOCS_FOLDER = '''{{#var:DOCS_FOLDER}}'''
*PINS_SECTION = '''{{#var:PINS_SECTION}}'''
*DEMOS_SECTION = '''{{#var:DEMOS_SECTION}}'''
*DTBS_SECTION = '''{{#var:DTBS_SECTION}}'''
*MEMORY_TYPES_SECTION = '''{{#var:MEMORY_TYPES_SECTION}}'''
*JTAG_SECTION = '''{{#var:JTAG_SECTION}}'''
*NXP_USER_GUIDE = '''{{#var:NXP_USER_GUIDE}}'''
*NXP_REFERENCE_KIT = '''{{#var:NXP_REFERENCE_KIT}}'''
*SCFW_SOC = = '''{{#var:SCFW_SOC}}
*SCFW_PATCH_URL = = '''{{#var:SCFW_PATCH_URL}}
*SCFW_M4_PATCH = = '''{{#var:SCFW_M4_PATCH}}
*IMX_MKIMAGE_SOC = = '''{{#var:IMX_MKIMAGE_SOC}}
*SDK_GIT_TAG = '''{{#var:SDK_GIT_TAG}}
*RELEASE_DATE = '''{{#var:RELEASE_DATE}}
*SUPPORTED_REV_SOM = '''{{#var:SUPPORTED_REV_SOM}}
*SUPPORTED_REV_CARRIER = '''{{#var:SUPPORTED_REV_CARRIER}}
*YOCTO_RELEASE_TAG = '''{{#var:YOCTO_RELEASE_TAG}}


=== mcuxpresso-2.9.0-mx8qx-v1.0 ===
=== JTAG ===
<section begin=MCUXPRESSO_2.9.0_V1.0_VAR-SOM-MX8X/><!--
<section begin=DART-MX8M-PLUS_JTAG_SECTION/><!--
-->{{#vardefine:OS|FreeRTOS}}<!--
 
-->{{#vardefine:HARDWARE_NAME|VAR-SOM-MX8X}}<!--
-->The VAR-SOM-MX8M-PLUS exposes JTAG interface via an optional 10-pin header, on the SOM top left side.<br>
-->{{#vardefine:RELEASE_NAME|mcuxpresso-2.9.0-mx8qx-v1.0}}<!--
The DART-MX8M-PLUS exports JTAG interface via an optional 10-pin header, on the DT8MCustomBoard top side.
-->{{#vardefine:RELEASE_LINK|MCUXPRESSO_2.9.0_V1.0_VAR-SOM-MX8X}}<!--
 
-->{{#vardefine:YOCTO_RELEASE_LINK|RELEASE_SUMO_V1.2_VAR-SOM-MX8X}}<!--
Here is the pinout:
-->{{#vardefine:MCUXPRESSO_VERSION|2.9.0}}<!--
 
-->{{#vardefine:SDK_PATH|~/var-mcuxpresso}}<!--
{| class="wikitable"
-->{{#vardefine:SDK_GIT_URL|https://github.com/varigit/freertos-variscite}}<!--
|-
-->{{#vardefine:SDK_GIT_BRANCH|mcuxpresso_sdk_2.9.x-var01}}<!--
! scope="col" | pin
-->{{#vardefine:TOOLCHAIN_URL|https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2020q2/gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2}}<!--
! scope="col" | signal
-->{{#vardefine:TOOLCHAIN_BZ2_NAME|gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2}}<!--
! scope="col" | description
-->{{#vardefine:TOOLCHAIN_FOLDER|gcc-arm-none-eabi-9-2020-q2-update}}<!--
! scope="col" | pin
-->{{#vardefine:BOARD_FOLDER|boards/som_mx8qx}}<!--
! scope="col" | signal
-->{{#vardefine:DOCS_FOLDER|docs}}<!--
! scope="col" | description
-->{{#vardefine:PINS_SECTION|VAR-SOM-MX8X_PINS_SECTION}}<!--
|-
-->{{#vardefine:DEMOS_SECTION|VAR-SOM-MX8X_DEMOS_SECTION}}<!--
| '''1'''
-->{{#vardefine:DTBS_SECTION|VAR-SOM-MX8X_DTBS_SECTION}}<!--
| JTAG_VREF
-->{{#vardefine:MEMORY_TYPES_SECTION|VAR-SOM-MX8X_MEMORY-TYPES_NXP_SECTION}}<!--
| JTAG IO reference voltage,<br>connected to SOM_3V3_PER via 150 Ohm.
-->{{#vardefine:JTAG_SECTION|VAR-SOM-MX8X_JTAG_SECTION}}<!--
| '''2'''
-->{{#vardefine:NXP_USER_GUIDE|Getting Started with MCUXpresso SDK for MEK-MIMX8QX.pdf}}<!--
| JTAG_TMS
-->{{#vardefine:NXP_REFERENCE_KIT|IMX8QXP-MEK}}<!--
| JTAG Mode Select signal
-->{{#vardefine:SCFW_SOC|mx8qx_b0}} <!--
|-
-->{{#vardefine:SCFW_PATCH_URL|ftp://customerv:Variscite1@ftp.variscite.com/VAR-SOM-MX8X/Software/SCFW}} <!--
| '''3'''
-->{{#vardefine:SCFW_M4_PATCH|0002-mx8qxp-var-som_scfw-1.2.2_sample-M4-customization.diff}} <!--
| GND
-->{{#vardefine:IMX_MKIMAGE_SOC|iMX8QX}} <!--
| Digital Ground
-->{{#vardefine:SDK_GIT_TAG|som-mx8qx_mcuxpresso-2.9.0_v10}}<!--
| '''4'''
-->{{#vardefine:RELEASE_DATE|03/04/2021}}<!--
| JTAG_TCK
-->{{#vardefine:SUPPORTED_REV_SOM|v1.1 and higher}} <!--
| JTAG Clock signal,<br>include PD of 8.2K Ohm.
-->{{#vardefine:SUPPORTED_REV_CARRIER|v1.1 and higher}} <!--
|-
-->{{#vardefine:YOCTO_RELEASE_TAG|dunfell-fslc-5.4-2.1.x-mx8x-v1.0}}<!--
| '''5'''
-->{{#vardefine:DEACTIVATE_LMEM_CACHE_PATCH|0001-i.MX8QX-deactivated-the-LMEM-caches-to-debug-in-exte.patch}}<!--
| GND
--><section end=MCUXPRESSO_2.9.0_V1.0_VAR-SOM-MX8X/><!--
| Digital Ground
-->*HARDWARE_NAME = '''{{#var:HARDWARE_NAME}}'''
| '''6'''
*SOC_HAS_SCU = '''{{#var:SOC_HAS_SCU}}'''
| JTAG_TDO
*RELEASE_NAME = '''{{#var:RELEASE_NAME}}'''
| JTAG Data Out signal
*RELEASE_LINK = '''{{#var:RELEASE_LINK}}'''
|-
*YOCTO_RELEASE_LINK = '''{{#var:YOCTO_RELEASE_LINK}}'''
| '''7'''
*MCUXPRESSO_VERSION = '''{{#var:MCUXPRESSO_VERSION}}'''
| GND
*SDK_PATH = '''{{#var:SDK_PATH}}'''
| Digital Ground
*SDK_GIT_URL = '''{{#var:SDK_GIT_URL}}'''
| '''8'''
*SDK_GIT_BRANCH = '''{{#var:SDK_GIT_BRANCH}}'''
| JTAG_TDI
*TOOLCHAIN_URL = '''{{#var:TOOLCHAIN_URL}}'''
| JTAG Data In signal
*TOOLCHAIN_BZ2_NAME = '''{{#var:TOOLCHAIN_BZ2_NAME}}'''
|-
*TOOLCHAIN_FOLDER = '''{{#var:TOOLCHAIN_FOLDER}}'''
| '''9'''
*BOARD_FOLDER = '''{{#var:BOARD_FOLDER}}'''
| JTAG_TRST_B
*DOCS_FOLDER = '''{{#var:DOCS_FOLDER}}'''
| JTAG Reset signal,<br>active low signal
*PINS_SECTION = '''{{#var:PINS_SECTION}}'''
| '''10'''
*DEMOS_SECTION = '''{{#var:DEMOS_SECTION}}'''
| POR_B
*DTBS_SECTION = '''{{#var:DTBS_SECTION}}'''
| Programmer Reset,<br>used to put the SOC in reset state.
*MEMORY_TYPES_SECTION = '''{{#var:MEMORY_TYPES_SECTION}}'''
|-
*JTAG_SECTION = '''{{#var:JTAG_SECTION}}'''
|}
*NXP_USER_GUIDE = '''{{#var:NXP_USER_GUIDE}}'''
*NXP_REFERENCE_KIT = '''{{#var:NXP_REFERENCE_KIT}}'''
*SCFW_SOC = = '''{{#var:SCFW_SOC}}
*SCFW_PATCH_URL = = '''{{#var:SCFW_PATCH_URL}}
*SCFW_M4_PATCH = = '''{{#var:SCFW_M4_PATCH}}
*IMX_MKIMAGE_SOC = = '''{{#var:IMX_MKIMAGE_SOC}}
*SDK_GIT_TAG = '''{{#var:SDK_GIT_TAG}}
*RELEASE_DATE = '''{{#var:RELEASE_DATE}}
*SUPPORTED_REV_SOM = '''{{#var:SUPPORTED_REV_SOM}}
*SUPPORTED_REV_CARRIER = '''{{#var:SUPPORTED_REV_CARRIER}}
*YOCTO_RELEASE_TAG = '''{{#var:YOCTO_RELEASE_TAG}}


= VAR-SOM-MX8 =
Please refer to SoM datasheet for further details.<!--
--><section end=DART-MX8M-PLUS_JTAG_SECTION/>


== Sections ==
== Releases ==


=== Available dtbs ===
=== mcuxpresso-2.9.0-mx8mp-v1.0 ===
<section begin=VAR-SOM-MX8_DTBS_SECTION/><!--
<section begin=MCUXPRESSO_2.9.0_V1.0_DART-MX8M-PLUS/><!--
-->To allow Cortex M4 accessing shared resources without experiencing Linux kernel conflicts, a dedicated device tree must be loaded, containing '''m4''' label in the name, using the fdt_file environment variable in U-Boot.
-->{{#vardefine:OS|FreeRTOS}}<!--
 
-->{{#vardefine:HARDWARE_NAME|DART-MX8M-PLUS}}<!--
This device tree disables some of the base device tree nodes in order to avoid conflicts between the main processor and Cortex M4.<br>
-->{{#vardefine:RELEASE_NAME|mcuxpresso-2.9.0-mx8mp-v1.0}}<!--
 
-->{{#vardefine:RELEASE_LINK|MCUXPRESSO_2.9.0_V1.0_DART-MX8M-PLUS}}<!--
{| class="wikitable"
-->{{#vardefine:MCUXPRESSO_VERSION|2.9.0}}<!--
|-
-->{{#vardefine:SDK_PATH|~/var-mcuxpresso}}<!--
! scope="col" | File Name<br/>
-->{{#vardefine:SDK_GIT_URL|https://github.com/varigit/freertos-variscite}}<!--
! scope="col" | Description<br/>
-->{{#vardefine:SDK_GIT_BRANCH|mcuxpresso_sdk_2.9.x-var01}}<!--
|-
-->{{#vardefine:TOOLCHAIN_URL|https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2020q2/gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2}}<!--
| style="padding: 5px;"| imx8qm-var-som-symphony-dp-'''m4'''.dtb
-->{{#vardefine:TOOLCHAIN_BZ2_NAME|gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2}}<!--
| style="padding: 5px;"| DTB file for VAR-SOM-MX8 with DP display and Cortex-M4 on Symphony Board for kernel >= 5.10.72 (Yocto Hardknott)
-->{{#vardefine:TOOLCHAIN_FOLDER|gcc-arm-none-eabi-9-2020-q2-update}}<!--
|-
-->{{#vardefine:BOARD_FOLDER|boards/dart_mx8mp}}<!--
| style="padding: 5px;"| imx8qm-var-som-symphony-hdmi-'''m4'''.dtb
-->{{#vardefine:BOARD_FOLDER1|boards/som_mx8mp}}<!--
| style="padding: 5px;"| DTB file for VAR-SOM-MX8 with HDMI display and Cortex-M4 on Symphony Board for kernel >= 5.10.72 (Yocto Hardknott)
-->{{#vardefine:DOCS_FOLDER|docs}}<!--
|-
-->{{#vardefine:PINS_SECTION|DART-MX8M-PLUS_PINS_SECTION}}<!--
| style="padding: 5px;"| imx8qm-var-som-symphony-lvds-'''m4'''.dtb
-->{{#vardefine:DEMOS_SECTION|DART-MX8M-PLUS_DEMOS_SECTION}}<!--
| style="padding: 5px;"| DTB file for VAR-SOM-MX8 with LVDS display and Cortex-M4 on Symphony Board for kernel >= 5.10.72 (Yocto Hardknott)
-->{{#vardefine:DTBS_SECTION|DART-MX8M-PLUS_DTBS_SECTION}}<!--
|-
-->{{#vardefine:MEMORY_TYPES_SECTION|DART-MX8M-PLUS_MEMORY-TYPES_VAR_SECTION}}<!--
| style="padding: 5px;"| imx8qm-var-spear-sp8customboard-dp-'''m4'''.dtb
-->{{#vardefine:JTAG_SECTION|DART-MX8M-PLUS_JTAG_SECTION}}<!--
| style="padding: 5px;"| DTB file for SPEAR-MX8 with DP display and Cortex-M4 on SP8CustomBoard for kernel >= 5.10.72 (Yocto Hardknott)
-->{{#vardefine:SDK_GIT_TAG|dart-mx8mp_mcuxpresso-2.9.0_v10}} <!--
|-
-->{{#vardefine:RELEASE_DATE|5/27/2021}} <!--
| style="padding: 5px;"| imx8qm-var-spear-sp8customboard-hdmi-'''m4'''.dtb
-->{{#vardefine:SUPPORTED_REV_SOM|v1.1 and higher}} <!--
| style="padding: 5px;"| DTB file for SPEAR-MX8 with HDMI display and Cortex-M4 on SP8CustomBoard for kernel >= 5.10.72 (Yocto Hardknott)
-->{{#vardefine:SUPPORTED_REV_CARRIER|v1.4 and higher}} <!--
|-
-->{{#vardefine:NXP_USER_GUIDE|Getting Started with MCUXpresso SDK for EVK-MIMX8MP.pdf}}<!--
| style="padding: 5px;"| imx8qm-var-spear-sp8customboard-lvds.'''m4'''.dtb
-->{{#vardefine:NXP_REFERENCE_KIT|EVK-MIMX8MP}}<!--
| style="padding: 5px;"| DTB file for SPEAR-MX8 with LVDS display and Cortex-M4 on SP8CustomBoard for kernel >= 5.10.72 (Yocto Hardknott)
-->{{#vardefine:YOCTO_RELEASE_TAG|zeus-fsl-5.4.70_2.3.2-mx8mp-v1.1}}<!--
|-
-->{{#vardefine:SOM_CAN_SUPPORT_1GB_DDR|yes}}<!--
| style="padding: 5px;"| imx8qm-var-som-dp-'''m4'''.dtb
--><section end=MCUXPRESSO_2.9.0_V1.0_DART-MX8M-PLUS/><!--
| style="padding: 5px;"| DTB file for VAR-SOM-MX8 with DP display and Cortex-M4 on Symphony Board for kernel = 5.4.142 (Yocto Dunfell)
-->*HARDWARE_NAME = '''{{#var:HARDWARE_NAME}}'''
|-
*RELEASE_NAME = '''{{#var:RELEASE_NAME}}'''
| style="padding: 5px;"| imx8qm-var-som-hdmi-'''m4'''.dtb
*RELEASE_LINK = '''{{#var:RELEASE_LINK}}'''
| style="padding: 5px;"| DTB file for VAR-SOM-MX8 with HDMI display and Cortex-M4 on Symphony Board for kernel = 5.4.142 (Yocto Dunfell)
*MCUXPRESSO_VERSION = '''{{#var:MCUXPRESSO_VERSION}}'''
|-
*SDK_PATH = '''{{#var:SDK_PATH}}'''
| style="padding: 5px;"| imx8qm-var-som-lvds-'''m4'''.dtb
*SDK_GIT_URL = '''{{#var:SDK_GIT_URL}}'''
| style="padding: 5px;"| DTB file for VAR-SOM-MX8 with LVDS display and Cortex-M4 on Symphony Board for kernel = 5.4.142 (Yocto Dunfell)
*SDK_GIT_BRANCH = '''{{#var:SDK_GIT_BRANCH}}'''
|-
*TOOLCHAIN_URL = '''{{#var:TOOLCHAIN_URL}}'''
| style="padding: 5px;"| imx8qm-var-spear-dp-'''m4'''.dtb
*TOOLCHAIN_BZ2_NAME = '''{{#var:TOOLCHAIN_BZ2_NAME}}'''
| style="padding: 5px;"| DTB file for SPEAR-MX8 with DP display and Cortex-M4 on SP8CustomBoard for kernel = 5.4.142 (Yocto Dunfell)
*TOOLCHAIN_FOLDER = '''{{#var:TOOLCHAIN_FOLDER}}'''
|-
*BOARD_FOLDER = '''{{#var:BOARD_FOLDER}}'''
| style="padding: 5px;"| imx8qm-var-spear-hdmi-'''m4'''.dtb
*DOCS_FOLDER = '''{{#var:DOCS_FOLDER}}'''
| style="padding: 5px;"| DTB file for SPEAR-MX8 with HDMI display and Cortex-M4 on SP8CustomBoard for kernel = 5.4.142 (Yocto Dunfell)
*PINS_SECTION = '''{{#var:PINS_SECTION}}'''
|-
*DEMOS_SECTION = '''{{#var:DEMOS_SECTION}}'''
| style="padding: 5px;"| imx8qm-var-spear-lvds-'''m4'''.dtb
*DTBS_SECTION = '''{{#var:DTBS_SECTION}}'''
| style="padding: 5px;"| DTB file for SPEAR-MX8 with LVDS display and Cortex-M4 on SP8CustomBoard for kernel = 5.4.142 (Yocto Dunfell)
*MEMORY_TYPES_SECTION = '''{{#var:MEMORY_TYPES_SECTION}}'''
|-
*JTAG_SECTION = '''{{#var:JTAG_SECTION}}'''
|}
*NXP_USER_GUIDE = '''{{#var:NXP_USER_GUIDE}}'''
<section end=VAR-SOM-MX8_DTBS_SECTION/>
*NXP_REFERENCE_KIT = '''{{#var:NXP_REFERENCE_KIT}}'''
*YOCTO_RELEASE_TAG = '''{{#var:YOCTO_RELEASE_TAG}}'''
*SOM_CAN_SUPPORT_1GB_DDR = '''{{#var:SOM_CAN_SUPPORT_1GB_DDR}}'''


=== Default M4 pins ===
=== mcuxpresso-2.10.0-mx8mp-v1.0 ===
<section begin=VAR-SOM-MX8_PINS_SECTION/><!--
<section begin=MCUXPRESSO_2.10.0_V1.0_DART-MX8M-PLUS/><!--
-->Default M4 pins used by the demos are:
-->{{#vardefine:OS|FreeRTOS}}<!--
 
-->{{#vardefine:HARDWARE_NAME|DART-MX8M-PLUS}}<!--
{| class="wikitable"
-->{{#vardefine:RELEASE_NAME|mcuxpresso-2.10.0-mx8mp-v1.0}}<!--
|-
-->{{#vardefine:RELEASE_LINK|MCUXPRESSO_2.10.0_V1.0_DART-MX8M-PLUS}}<!--
! scope="col" | function
-->{{#vardefine:MCUXPRESSO_VERSION|2.10.0}}<!--
! scope="col" | SoC balls
-->{{#vardefine:SDK_PATH|~/var-mcuxpresso}}<!--
! scope="col" | VAR-SOM-MX8 pins
-->{{#vardefine:SDK_GIT_URL|https://github.com/varigit/freertos-variscite}}<!--
! scope="col" | Symphony pins
-->{{#vardefine:SDK_GIT_BRANCH|mcuxpresso_sdk_2.10.x-var01}}<!--
! scope="col" | SPEAR-MX8 pins
-->{{#vardefine:TOOLCHAIN_URL|https://developer.arm.com/-/media/Files/downloads/gnu-rm/10-2020q4/gcc-arm-none-eabi-10-2020-q4-major-x86_64-linux.tar.bz2}}<!--
! scope="col" | SP8CustomBoard pins
-->{{#vardefine:TOOLCHAIN_BZ2_NAME|gcc-arm-none-eabi-10-2020-q4-major-x86_64-linux.tar.bz2}}<!--
! scope="col" | notes
-->{{#vardefine:TOOLCHAIN_FOLDER|gcc-arm-none-eabi-10-2020-q4-major}}<!--
|-
-->{{#vardefine:BOARD_FOLDER|boards/dart_mx8mp}}<!--
| M40_UART0 RX / TX
-->{{#vardefine:BOARD_FOLDER1|boards/som_mx8mp}}<!--
| AM44 / AU51
-->{{#vardefine:DOCS_FOLDER|docs}}<!--
| N/A
-->{{#vardefine:PINS_SECTION|DART-MX8M-PLUS_PINS_SECTION}}<!--
| N/A
-->{{#vardefine:DEMOS_SECTION|DART-MX8M-PLUS_DEMOS_SECTION}}<!--
| J3.32 / J3.38
-->{{#vardefine:DTBS_SECTION|DART-MX8M-PLUS_DTBS_SECTION}}<!--
| J40
-->{{#vardefine:MEMORY_TYPES_SECTION|DART-MX8M-PLUS_MEMORY-TYPES_VAR_SECTION}}<!--
| SP8CustomBoard requires SW8 ON, SW9 OFF
-->{{#vardefine:JTAG_SECTION|DART-MX8M-PLUS_JTAG_SECTION}}<!--
|-
-->{{#vardefine:SDK_GIT_TAG|dart-mx8mp_mcuxpresso-2.10.0_v10}} <!--
| DMA_UART2 RX / TX
-->{{#vardefine:RELEASE_DATE|9/27/2021}} <!--
| BE35 / BE37
-->{{#vardefine:SUPPORTED_REV_SOM|v1.1 and higher}} <!--
| J1.175 / J1.124
-->{{#vardefine:SUPPORTED_REV_CARRIER|v1.4 and higher}} <!--
| J18.5 / J18.3
-->{{#vardefine:NXP_USER_GUIDE|Getting Started with MCUXpresso SDK for EVK-MIMX8MP.pdf}}<!--
| J1.80 / J1.82
-->{{#vardefine:NXP_REFERENCE_KIT|EVK-MIMX8MP}}<!--
| J26.19 /J26.17
-->{{#vardefine:SOM_CAN_SUPPORT_1GB_DDR|yes}}<!--
|
-->{{#vardefine:YOCTO_RELEASE_TAG|hardknott-fsl-5.10.52_2.1.0-mx8mp-v1.2}}<!--
|-
-->{{#vardefine:BOARD_SDK|dart_mx8mp}}<!--
| DMA_UART4 RX / TX
--><section end=MCUXPRESSO_2.10.0_V1.0_DART-MX8M-PLUS/><!--
| AR47 / AU53
-->*HARDWARE_NAME = '''{{#var:HARDWARE_NAME}}'''
| J1.115 / J1.171
*RELEASE_NAME = '''{{#var:RELEASE_NAME}}'''
| J18.9 / J18.7
*RELEASE_LINK = '''{{#var:RELEASE_LINK}}'''
| J3.34 / J3.29
*MCUXPRESSO_VERSION = '''{{#var:MCUXPRESSO_VERSION}}'''
| J20.2 / J20.4
*SDK_PATH = '''{{#var:SDK_PATH}}'''
| SPEAR-MX8 demos do not refer it
*SDK_GIT_URL = '''{{#var:SDK_GIT_URL}}'''
|-
*SDK_GIT_BRANCH = '''{{#var:SDK_GIT_BRANCH}}'''
| FLEXCAN0 RX/TX
*TOOLCHAIN_URL = '''{{#var:TOOLCHAIN_URL}}'''
| C5 / H6
*TOOLCHAIN_BZ2_NAME = '''{{#var:TOOLCHAIN_BZ2_NAME}}'''
| J1.46 / J1.44
*TOOLCHAIN_FOLDER = '''{{#var:TOOLCHAIN_FOLDER}}'''
| J16.18 / J16.20
*BOARD_FOLDER = '''{{#var:BOARD_FOLDER}}'''
| J4.79 / J4.80
*DOCS_FOLDER = '''{{#var:DOCS_FOLDER}}'''
| J26.1 / J26.3
*PINS_SECTION = '''{{#var:PINS_SECTION}}'''
|
*DEMOS_SECTION = '''{{#var:DEMOS_SECTION}}'''
|-
*DTBS_SECTION = '''{{#var:DTBS_SECTION}}'''
| M41_I2C0 SCL/SDA
*MEMORY_TYPES_SECTION = '''{{#var:MEMORY_TYPES_SECTION}}'''
| AR45 / AU49
*JTAG_SECTION = '''{{#var:JTAG_SECTION}}'''
| N/A
*NXP_USER_GUIDE = '''{{#var:NXP_USER_GUIDE}}'''
| N/A
*NXP_REFERENCE_KIT = '''{{#var:NXP_REFERENCE_KIT}}'''
| J1.9 / J3.36
*YOCTO_RELEASE_TAG = '''{{#var:YOCTO_RELEASE_TAG}}'''
| J20.18 / J20.20
*SOM_CAN_SUPPORT_1GB_DDR = '''{{#var:SOM_CAN_SUPPORT_1GB_DDR}}'''
|
 
|-
=== mcuxpresso-2.11.1-mx8mp-v1.0 ===
| DMA_I2C0 SCL/SDA
<section begin=MCUXPRESSO_2.11.1_V1.0_DART-MX8M-PLUS/><!--
| BN9 / BN7
-->{{#vardefine:OS|FreeRTOS}}<!--
| J1.174 / J1.176
-->{{#vardefine:HARDWARE_NAME|DART-MX8M-PLUS}}<!--
| J16.10 / J16.12
-->{{#vardefine:RELEASE_NAME|mcuxpresso-2.11.1-mx8mp-v1.0}}<!--
| J2.88 / J1.90
-->{{#vardefine:RELEASE_LINK|MCUXPRESSO_2.11.1_V1.0_DART-MX8M-PLUS}}<!--
| J26.2 / J26.4
-->{{#vardefine:MCUXPRESSO_VERSION|2.11.1}}<!--
|
-->{{#vardefine:SDK_PATH|~/var-mcuxpresso}}<!--
|-
-->{{#vardefine:SDK_GIT_URL|https://github.com/varigit/freertos-variscite}}<!--
| DMA_SPI0 CS0 / SCK / SDI / SDO
-->{{#vardefine:SDK_GIT_BRANCH|mcuxpresso_sdk_2.11.x-var01}}<!--
| BC1 / BB4 / BA5 / AY6
-->{{#vardefine:TOOLCHAIN_URL|https://developer.arm.com/-/media/Files/downloads/gnu-rm/10.3-2021.07/gcc-arm-none-eabi-10.3-2021.07-x86_64-linux.tar.bz2}}<!--
| J1.79 / J1.75 / J1.77 / J1.70
-->{{#vardefine:TOOLCHAIN_BZ2_NAME|gcc-arm-none-eabi-10.3-2021.07-x86_64-linux.tar.bz2}}<!--
| J17.10 / J17.6 / J17.8 / J17.4
-->{{#vardefine:TOOLCHAIN_FOLDER|gcc-arm-none-eabi-10.3-2021.07}}<!--
| J2.78 / j2.74 / J2.72 / J2.76
-->{{#vardefine:BOARD_FOLDER|boards/dart_mx8mp}}<!--
| J20.7 / J20.1 / J20.5 / J20.3
-->{{#vardefine:BOARD_FOLDER1|boards/som_mx8mp}}<!--
|
-->{{#vardefine:DOCS_FOLDER|docs}}<!--
|-
-->{{#vardefine:PINS_SECTION|DART-MX8M-PLUS_PINS_SECTION}}<!--
| ADC_IN6
-->{{#vardefine:DEMOS_SECTION|DART-MX8M-PLUS_DEMOS_SECTION}}<!--
| AL9
-->{{#vardefine:DTBS_SECTION|DART-MX8M-PLUS_DTBS_SECTION}}<!--
| J1.39
-->{{#vardefine:MEMORY_TYPES_SECTION|DART-MX8M-PLUS_MEMORY-TYPES_VAR_SECTION}}<!--
| J16.4
-->{{#vardefine:JTAG_SECTION|DART-MX8M-PLUS_JTAG_SECTION}}<!--
| J4.62
-->{{#vardefine:SDK_GIT_TAG|dart-mx8mp_mcuxpresso-2.11.1_v10}} <!--
| J29.16
-->{{#vardefine:RELEASE_DATE|5/26/2022}} <!--
| VAR-SOM-MX8 requires enabling a buffer (refer to the datasheet)
-->{{#vardefine:SUPPORTED_REV_SOM|v1.1 and higher}} <!--
|-
-->{{#vardefine:SUPPORTED_REV_CARRIER|v1.4 and higher}} <!--
| M40_TPM0 0 / 1
-->{{#vardefine:NXP_USER_GUIDE|Getting Started with MCUXpresso SDK for EVK-MIMX8MP.pdf}}<!--
| AR47 / AU53
-->{{#vardefine:NXP_REFERENCE_KIT|EVK-MIMX8MP}}<!--
| J1.115 / J1.171
-->{{#vardefine:SOM_CAN_SUPPORT_1GB_DDR|yes}}<!--
| J18.9 / J18.7
-->{{#vardefine:SDK_SUPPORT_CAN|yes}}<!--
| J3.34 / J3.29
-->{{#vardefine:YOCTO_RELEASE_TAG|hardknott-fsl-5.10.52_2.1.0-mx8mp-v1.2}}<!--
| J20.2 / J20.4
-->{{#vardefine:BOARD_SDK|dart_mx8mp}}<!--
| pins are share with with DMA_UART4
--><section end=MCUXPRESSO_2.11.1_V1.0_DART-MX8M-PLUS/><!--
|-
-->*HARDWARE_NAME = '''{{#var:HARDWARE_NAME}}'''
| GPIO3_IO06
*RELEASE_NAME = '''{{#var:RELEASE_NAME}}'''
| BA3
*RELEASE_LINK = '''{{#var:RELEASE_LINK}}'''
| J1.40
*MCUXPRESSO_VERSION = '''{{#var:MCUXPRESSO_VERSION}}'''
| J17.2
*SDK_PATH = '''{{#var:SDK_PATH}}'''
| J2.80
*SDK_GIT_URL = '''{{#var:SDK_GIT_URL}}'''
| J20.9
*SDK_GIT_BRANCH = '''{{#var:SDK_GIT_BRANCH}}'''
|
*TOOLCHAIN_URL = '''{{#var:TOOLCHAIN_URL}}'''
|-
*TOOLCHAIN_BZ2_NAME = '''{{#var:TOOLCHAIN_BZ2_NAME}}'''
|}<!--
*TOOLCHAIN_FOLDER = '''{{#var:TOOLCHAIN_FOLDER}}'''
--><section end=VAR-SOM-MX8_PINS_SECTION/>
*BOARD_FOLDER = '''{{#var:BOARD_FOLDER}}'''
*DOCS_FOLDER = '''{{#var:DOCS_FOLDER}}'''
*PINS_SECTION = '''{{#var:PINS_SECTION}}'''
*DEMOS_SECTION = '''{{#var:DEMOS_SECTION}}'''
*DTBS_SECTION = '''{{#var:DTBS_SECTION}}'''
*MEMORY_TYPES_SECTION = '''{{#var:MEMORY_TYPES_SECTION}}'''
*JTAG_SECTION = '''{{#var:JTAG_SECTION}}'''
*NXP_USER_GUIDE = '''{{#var:NXP_USER_GUIDE}}'''
*NXP_REFERENCE_KIT = '''{{#var:NXP_REFERENCE_KIT}}'''
*YOCTO_RELEASE_TAG = '''{{#var:YOCTO_RELEASE_TAG}}'''
*SOM_CAN_SUPPORT_1GB_DDR = '''{{#var:SOM_CAN_SUPPORT_1GB_DDR}}'''


=== Available Demos ===
=== mcuxpresso-2.12.1-mx8mp-v1.0 ===
<section begin=VAR-SOM-MX8_DEMOS_SECTION/><!--
<section begin=MCUXPRESSO_2.12.1_V1.0_DART-MX8M-PLUS/><!--
-->* cmsis_driver_examples/lpi2c/int_b2b_transfer/master
-->{{#vardefine:OS|FreeRTOS}}<!--
* cmsis_driver_examples/lpi2c/int_b2b_transfer/slave
-->{{#vardefine:HARDWARE_NAME|DART-MX8M-PLUS}}<!--
* cmsis_driver_examples/lpi2c/edma_b2b_transfer/master
-->{{#vardefine:RELEASE_NAME|mcuxpresso-2.12.1-mx8mp-v1.0}}<!--
* cmsis_driver_examples/lpi2c/edma_b2b_transfer/slave
-->{{#vardefine:RELEASE_LINK|MCUXPRESSO_2.12.1_V1.0_DART-MX8M-PLUS}}<!--
* cmsis_driver_examples/lpuart/edma_transfer
-->{{#vardefine:MCUXPRESSO_VERSION|2.12.1}}<!--
* cmsis_driver_examples/lpuart/interrupt_transfer
-->{{#vardefine:SDK_PATH|~/var-mcuxpresso}}<!--
* cmsis_driver_examples/lpspi/edma_b2b_transfer/master
-->{{#vardefine:SDK_GIT_URL|https://github.com/varigit/freertos-variscite}}<!--
* cmsis_driver_examples/lpspi/edma_b2b_transfer/slave
-->{{#vardefine:SDK_GIT_BRANCH|mcuxpresso_sdk_2.12.x-var01}}<!--
* cmsis_driver_examples/lpspi/int_b2b_transfer/master
-->{{#vardefine:TOOLCHAIN_URL|https://developer.arm.com/-/media/Files/downloads/gnu-rm/10.3-2021.10/gcc-arm-none-eabi-10.3-2021.10-x86_64-linux.tar.bz2}}<!--
* cmsis_driver_examples/lpspi/int_b2b_transfer/slave
-->{{#vardefine:TOOLCHAIN_BZ2_NAME|gcc-arm-none-eabi-10.3-2021.10-x86_64-linux.tar.bz2}}<!--
* demo_apps/hello_world
-->{{#vardefine:TOOLCHAIN_FOLDER|gcc-arm-none-eabi-10.3-2021.10}}<!--
* driver_examples/canfd/loopback_transfer
-->{{#vardefine:BOARD_FOLDER|boards/dart_mx8mp}}<!--
* driver_examples/canfd/loopback
-->{{#vardefine:BOARD_FOLDER1|boards/som_mx8mp}}<!--
* driver_examples/canfd/interrupt_transfer
-->{{#vardefine:DOCS_FOLDER|docs}}<!--
* driver_examples/edma/scatter_gather
-->{{#vardefine:PINS_SECTION|DART-MX8M-PLUS_PINS_SECTION}}<!--
* driver_examples/edma/memory_to_memory
-->{{#vardefine:DEMOS_SECTION|DART-MX8M-PLUS_DEMOS_SECTION}}<!--
* driver_examples/flexcan/loopback_edma_transfer
-->{{#vardefine:DTBS_SECTION|DART-MX8M-PLUS_DTBS_SECTION}}<!--
* driver_examples/flexcan/loopback_transfer
-->{{#vardefine:MEMORY_TYPES_SECTION|DART-MX8M-PLUS_MEMORY-TYPES_VAR_SECTION}}<!--
* driver_examples/flexcan/loopback
-->{{#vardefine:JTAG_SECTION|DART-MX8M-PLUS_JTAG_SECTION}}<!--
* driver_examples/flexcan/interrupt_transfer
-->{{#vardefine:SDK_GIT_TAG|dart-mx8mp_mcuxpresso-2.12.1_v10}} <!--
* driver_examples/intmux
-->{{#vardefine:RELEASE_DATE|11/02/2022}} <!--
* driver_examples/lpadc/interrupt
-->{{#vardefine:SUPPORTED_REV_SOM|v1.1 and higher}} <!--
* driver_examples/lpadc/polling
-->{{#vardefine:SUPPORTED_REV_CARRIER|v1.4 and higher}} <!--
* driver_examples/lpi2c/edma_b2b_transfer/slave
-->{{#vardefine:NXP_USER_GUIDE|Getting Started with MCUXpresso SDK for EVK-MIMX8MP.pdf}}<!--
* driver_examples/lpi2c/edma_b2b_transfer/master
-->{{#vardefine:NXP_REFERENCE_KIT|EVK-MIMX8MP}}<!--
* driver_examples/lpi2c/interrupt_b2b_transfer/slave
-->{{#vardefine:SOM_CAN_SUPPORT_1GB_DDR|yes}}<!--
* driver_examples/lpi2c/interrupt_b2b_transfer/master
-->{{#vardefine:SDK_SUPPORT_CAN|yes}}<!--
* driver_examples/lpi2c/polling_b2b_transfer/slave
-->{{#vardefine:YOCTO_RELEASE_TAG|mx8mp-yocto-kirkstone-5.15-2.0.x-v1.0}}<!--
* driver_examples/lpi2c/polling_b2b_transfer/master
-->{{#vardefine:BOARD_SDK|dart_mx8mp}}<!--
* driver_examples/lpi2c/read_accel_value_transfer
--><section end=MCUXPRESSO_2.12.1_V1.0_DART-MX8M-PLUS/><!--
* driver_examples/lpspi/edma_b2b_transfer/master
-->*HARDWARE_NAME = '''{{#var:HARDWARE_NAME}}'''
* driver_examples/lpspi/edma_b2b_transfer/slave
*RELEASE_NAME = '''{{#var:RELEASE_NAME}}'''
* driver_examples/lpspi/interrupt_b2b/master
*RELEASE_LINK = '''{{#var:RELEASE_LINK}}'''
* driver_examples/lpspi/interrupt_b2b/slave
*MCUXPRESSO_VERSION = '''{{#var:MCUXPRESSO_VERSION}}'''
* driver_examples/lpspi/interrupt_b2b_transfer/master
*SDK_PATH = '''{{#var:SDK_PATH}}'''
* driver_examples/lpspi/interrupt_b2b_transfer/slave
*SDK_GIT_URL = '''{{#var:SDK_GIT_URL}}'''
* driver_examples/lpspi/polling_b2b_transfer/master
*SDK_GIT_BRANCH = '''{{#var:SDK_GIT_BRANCH}}'''
* driver_examples/lpspi/polling_b2b_transfer/slave
*TOOLCHAIN_URL = '''{{#var:TOOLCHAIN_URL}}'''
* driver_examples/lpspi/polling_b2b_transfer/master
*TOOLCHAIN_BZ2_NAME = '''{{#var:TOOLCHAIN_BZ2_NAME}}'''
* driver_examples/lpspi/polling_b2b_transfer/slave
*TOOLCHAIN_FOLDER = '''{{#var:TOOLCHAIN_FOLDER}}'''
* driver_examples/lpit
*BOARD_FOLDER = '''{{#var:BOARD_FOLDER}}'''
* driver_examples/lpuart/edma_transfer
*DOCS_FOLDER = '''{{#var:DOCS_FOLDER}}'''
* driver_examples/lpuart/interrupt_rb_transfer
*PINS_SECTION = '''{{#var:PINS_SECTION}}'''
* driver_examples/lpuart/polling
*DEMOS_SECTION = '''{{#var:DEMOS_SECTION}}'''
* driver_examples/lpuart/interrupt_transfer
*DTBS_SECTION = '''{{#var:DTBS_SECTION}}'''
* driver_examples/lpuart/interrupt
*MEMORY_TYPES_SECTION = '''{{#var:MEMORY_TYPES_SECTION}}'''
* driver_examples/gpio/led_output
*JTAG_SECTION = '''{{#var:JTAG_SECTION}}'''
* driver_examples/rgpio/led_output
*NXP_USER_GUIDE = '''{{#var:NXP_USER_GUIDE}}'''
* driver_examples/sema42/uboot
*NXP_REFERENCE_KIT = '''{{#var:NXP_REFERENCE_KIT}}'''
* driver_examples/sema42/dual_core
*YOCTO_RELEASE_TAG = '''{{#var:YOCTO_RELEASE_TAG}}'''
* driver_examples/tpm/timer
*SOM_CAN_SUPPORT_1GB_DDR = '''{{#var:SOM_CAN_SUPPORT_1GB_DDR}}'''
* driver_examples/tpm/simple_pwm
 
* driver_examples/tpm/pwm_twochannel
=== mcuxpresso-2.13.0-mx8mp-v1.0 ===
* driver_examples/tpm/output_compare
<section begin=MCUXPRESSO_2.13.0_V1.0_DART-MX8M-PLUS/><!--
* driver_examples/tpm/input_capture
-->{{#vardefine:OS|FreeRTOS}}<!--
* driver_examples/tpm/dual_edge_capture
-->{{#vardefine:HARDWARE_NAME|DART-MX8M-PLUS}}<!--
* driver_examples/tpm/combine_pwm
-->{{#vardefine:RELEASE_NAME|mcuxpresso-2.13.0-mx8mp-v1.0}}<!--
* driver_examples/tstmr
-->{{#vardefine:RELEASE_LINK|MCUXPRESSO_2.13.0_V1.0_DART-MX8M-PLUS}}<!--
* driver_examples/wdog32
-->{{#vardefine:MCUXPRESSO_VERSION|2.13.0}}<!--
* mmcau_examples/mmcau_api
-->{{#vardefine:SDK_PATH|~/var-mcuxpresso}}<!--
* multicore_examples/rpmsg_lite_pingpong_rtos/linux_remote
-->{{#vardefine:SDK_GIT_URL|https://github.com/varigit/freertos-variscite}}<!--
* multicore_examples/rpmsg_lite_str_echo_rtos
-->{{#vardefine:SDK_GIT_BRANCH|mcuxpresso_sdk_2.13.x-var01}}<!--
* multicore_examples/rpmsg_lite_pingpong_rtos/sdk_remote
-->{{#vardefine:TOOLCHAIN_URL|https://developer.arm.com/-/media/Files/downloads/gnu-rm/10.3-2021.10/gcc-arm-none-eabi-10.3-2021.10-x86_64-linux.tar.bz2}}<!--
* multicore_examples/rpmsg_lite_pingpong_rtos/sdk_master
-->{{#vardefine:TOOLCHAIN_BZ2_NAME|gcc-arm-none-eabi-10.3-2021.10-x86_64-linux.tar.bz2}}<!--
* rtos_examples/freertos_hello
-->{{#vardefine:TOOLCHAIN_FOLDER|gcc-arm-none-eabi-10.3-2021.10}}<!--
* rtos_examples/freertos_queue
-->{{#vardefine:BOARD_FOLDER|boards/dart_mx8mp}}<!--
* rtos_examples/freertos_sem
-->{{#vardefine:BOARD_FOLDER1|boards/som_mx8mp}}<!--
* rtos_examples/freertos_generic
-->{{#vardefine:DOCS_FOLDER|docs}}<!--
* rtos_examples/freertos_tickless
-->{{#vardefine:PINS_SECTION|DART-MX8M-PLUS_PINS_SECTION}}<!--
* rtos_examples/freertos_mutex
-->{{#vardefine:DEMOS_SECTION|DART-MX8M-PLUS_DEMOS_SECTION}}<!--
* rtos_examples/freertos_lpuart
-->{{#vardefine:DTBS_SECTION|DART-MX8M-PLUS_DTBS_SECTION}}<!--
* rtos_examples/freertos_event
-->{{#vardefine:MEMORY_TYPES_SECTION|DART-MX8M-PLUS_MEMORY-TYPES_VAR_SECTION}}<!--
* rtos_examples/freertos_swtimer
-->{{#vardefine:JTAG_SECTION|DART-MX8M-PLUS_JTAG_SECTION}}<!--
* rtos_examples/freertos_lpi2c
-->{{#vardefine:SDK_GIT_TAG|dart-mx8mp_mcuxpresso-2.13.0_v10}} <!--
* rtos_examples/freertos_lpspi_b2b/master
-->{{#vardefine:RELEASE_DATE|02/08/2023}} <!--
* rtos_examples/freertos_lpspi_b2b/slave
-->{{#vardefine:SUPPORTED_REV_SOM|v1.1 and higher}} <!--
* rtos_examples/freertos_lpspi
-->{{#vardefine:SUPPORTED_REV_CARRIER|v1.4 and higher}} <!--
Additional demos are available as reference code, but require HW/SW customization.
-->{{#vardefine:NXP_USER_GUIDE|Getting Started with MCUXpresso SDK for EVK-MIMX8MP.pdf}}<!--
<!--
-->{{#vardefine:NXP_REFERENCE_KIT|EVK-MIMX8MP}}<!--
* demo_apps/power_mode_switch
-->{{#vardefine:SOM_CAN_SUPPORT_1GB_DDR|yes}}<!--
* driver_examples/enet/txrx_multiring_transfer
-->{{#vardefine:SDK_SUPPORT_CAN|yes}}<!--
* driver_examples/enet/txrx_transfer
-->{{#vardefine:YOCTO_RELEASE_TAG|mx8mp-yocto-kirkstone-5.15-2.0.x-v1.2}}<!--
* driver_examples/enet/txrx_ptp1588_transfer
-->{{#vardefine:BOARD_SDK|dart_mx8mp}}<!--
* lwip_examples/lwip_ping/bm
--><section end=MCUXPRESSO_2.13.0_V1.0_DART-MX8M-PLUS/><!--
* lwip_examples/lwip_ping/freertos
-->*HARDWARE_NAME = '''{{#var:HARDWARE_NAME}}'''
* lwip_examples/lwip_iperf/bm
*RELEASE_NAME = '''{{#var:RELEASE_NAME}}'''
* lwip_examples/lwip_httpsrv/bm
*RELEASE_LINK = '''{{#var:RELEASE_LINK}}'''
* lwip_examples/lwip_httpsrv/freertos
*MCUXPRESSO_VERSION = '''{{#var:MCUXPRESSO_VERSION}}'''
* lwip_examples/lwip_tcpecho/bm
*SDK_PATH = '''{{#var:SDK_PATH}}'''
* lwip_examples/lwip_tcpecho/freertos
*SDK_GIT_URL = '''{{#var:SDK_GIT_URL}}'''
* lwip_examples/lwip_udpecho/bm
*SDK_GIT_BRANCH = '''{{#var:SDK_GIT_BRANCH}}'''
* lwip_examples/lwip_udpecho/freertos
*TOOLCHAIN_URL = '''{{#var:TOOLCHAIN_URL}}'''
* lwip_examples/lwip_dhcp/bm
*TOOLCHAIN_BZ2_NAME = '''{{#var:TOOLCHAIN_BZ2_NAME}}'''
* lwip_examples/lwip_dhcp/freertos
*TOOLCHAIN_FOLDER = '''{{#var:TOOLCHAIN_FOLDER}}'''
--><!--
*BOARD_FOLDER = '''{{#var:BOARD_FOLDER}}'''
{{#if: {{#var:SOC_HAS_SCU}} |
*DOCS_FOLDER = '''{{#var:DOCS_FOLDER}}'''
if needed, RPMSG functionality require applying the following kernel patch for the kernel 4.14.98
*PINS_SECTION = '''{{#var:PINS_SECTION}}'''
*DEMOS_SECTION = '''{{#var:DEMOS_SECTION}}'''
*DTBS_SECTION = '''{{#var:DTBS_SECTION}}'''
*MEMORY_TYPES_SECTION = '''{{#var:MEMORY_TYPES_SECTION}}'''
*JTAG_SECTION = '''{{#var:JTAG_SECTION}}'''
*NXP_USER_GUIDE = '''{{#var:NXP_USER_GUIDE}}'''
*NXP_REFERENCE_KIT = '''{{#var:NXP_REFERENCE_KIT}}'''
*YOCTO_RELEASE_TAG = '''{{#var:YOCTO_RELEASE_TAG}}'''
*SOM_CAN_SUPPORT_1GB_DDR = '''{{#var:SOM_CAN_SUPPORT_1GB_DDR}}'''


<pre>
=== mcuxpresso-2.15.0-mx8mp-v1.0 ===
diff --git a/arch/arm64/boot/dts/freescale/fsl-imx8qm-var-som-common.dtsi b/arch/arm64/boot/dts/freescale/fsl-imx8qm-var-som-common.dtsi
<section begin=MCUXPRESSO_2.15.0_V1.0_DART-MX8M-PLUS/><!--
index 1814a639d8f0..dcc12eb85c0a 100644
-->{{#vardefine:OS|FreeRTOS}}<!--
--- a/arch/arm64/boot/dts/freescale/fsl-imx8qm-var-som-common.dtsi
-->{{#vardefine:HARDWARE_NAME|DART-MX8M-PLUS}}<!--
+++ b/arch/arm64/boot/dts/freescale/fsl-imx8qm-var-som-common.dtsi
-->{{#vardefine:RELEASE_NAME|mcuxpresso-2.15.0-mx8mp-v1.0}}<!--
@@ -1205,28 +1205,28 @@
-->{{#vardefine:RELEASE_LINK|MCUXPRESSO_2.15.0_V1.0_DART-MX8M-PLUS}}<!--
};
-->{{#vardefine:MCUXPRESSO_VERSION|2.15.0}}<!--
-->{{#vardefine:SDK_PATH|~/var-mcuxpresso}}<!--
&intmux_cm40 {
-->{{#vardefine:SDK_GIT_URL|https://github.com/varigit/freertos-variscite}}<!--
- status = "okay";
-->{{#vardefine:SDK_GIT_BRANCH|mcuxpresso_sdk_2.15.x-var01}}<!--
+ status = "didabled";
-->{{#vardefine:TOOLCHAIN_URL|https://developer.arm.com/-/media/Files/downloads/gnu/12.3.rel1/binrel/arm-gnu-toolchain-12.3.rel1-x86_64-arm-none-eabi.tar.xz}}<!--
};
-->{{#vardefine:TOOLCHAIN_BZ2_NAME|arm-gnu-toolchain-12.3.rel1-x86_64-arm-none-eabi.tar.xz}}<!--
-->{{#vardefine:TOOLCHAIN_FOLDER|arm-gnu-toolchain-12.3.rel1-x86_64-arm-none-eabi}}<!--
&rpmsg{
-->{{#vardefine:BOARD_FOLDER|boards/dart_mx8mp}}<!--
/*
-->{{#vardefine:BOARD_FOLDER1|boards/som_mx8mp}}<!--
* 64K for one rpmsg instance:
-->{{#vardefine:DOCS_FOLDER|docs}}<!--
*/
-->{{#vardefine:PINS_SECTION|DART-MX8M-PLUS_PINS_SECTION}}<!--
- vdev-nums = <1>;
-->{{#vardefine:DEMOS_SECTION|DART-MX8M-PLUS_DEMOS_SECTION_V2}}<!--
- reg = <0x0 0x90000000 0x0 0x10000>;
-->{{#vardefine:DTBS_SECTION|DART-MX8M-PLUS_DTBS_SECTION}}<!--
+ vdev-nums = <2>;
-->{{#vardefine:MEMORY_TYPES_SECTION|DART-MX8M-PLUS_MEMORY-TYPES_VAR_SECTION}}<!--
+ reg = <0x0 0x90000000 0x0 0x20000>;
-->{{#vardefine:JTAG_SECTION|DART-MX8M-PLUS_JTAG_SECTION}}<!--
status = "okay";
-->{{#vardefine:SDK_GIT_TAG|dart-mx8mp_mcuxpresso-2.15.0_v10}} <!--
};
-->{{#vardefine:RELEASE_DATE|10/11/2024}} <!--
-->{{#vardefine:SUPPORTED_REV_SOM|v1.1 and higher}} <!--
&intmux_cm41 {
-->{{#vardefine:SUPPORTED_REV_CARRIER|v1.4 and higher}} <!--
- status = "okay";
-->{{#vardefine:NXP_USER_GUIDE|Getting Started with MCUXpresso SDK for EVK-MIMX8MP.pdf}}<!--
+ status = "disabled";
-->{{#vardefine:NXP_REFERENCE_KIT|EVK-MIMX8MP}}<!--
};
-->{{#vardefine:SDK_SUPPORT_CAN|yes}}<!--
-->{{#vardefine:YOCTO_RELEASE_TAG|mx8mp-yocto-mickledore-6.1.36_2.1.0-v1.3}}<!--
&rpmsg1{
-->{{#vardefine:BOARD_SDK|dart_mx8mp}}<!--
/*
--><section end=MCUXPRESSO_2.15.0_V1.0_DART-MX8M-PLUS/><!--
* 64K for one rpmsg instance:
-->*HARDWARE_NAME = '''{{#var:HARDWARE_NAME}}'''
*/
*RELEASE_NAME = '''{{#var:RELEASE_NAME}}'''
- vdev-nums = <1>;
*RELEASE_LINK = '''{{#var:RELEASE_LINK}}'''
- reg = <0x0 0x90100000 0x0 0x10000>;
*MCUXPRESSO_VERSION = '''{{#var:MCUXPRESSO_VERSION}}'''
+ vdev-nums = <2>;
*SDK_PATH = '''{{#var:SDK_PATH}}'''
+ reg = <0x0 0x90100000 0x0 0x20000>;
*SDK_GIT_URL = '''{{#var:SDK_GIT_URL}}'''
status = "okay";
*SDK_GIT_BRANCH = '''{{#var:SDK_GIT_BRANCH}}'''
};
*TOOLCHAIN_URL = '''{{#var:TOOLCHAIN_URL}}'''
*TOOLCHAIN_BZ2_NAME = '''{{#var:TOOLCHAIN_BZ2_NAME}}'''
diff --git a/arch/arm64/boot/dts/freescale/fsl-imx8qm-var-spear-common.dtsi b/arch/arm64/boot/dts/freescale/fsl-imx8qm-var-spear-common.dtsi
*TOOLCHAIN_FOLDER = '''{{#var:TOOLCHAIN_FOLDER}}'''
index 982da0e412f8..5df8783e56aa 100644
*BOARD_FOLDER = '''{{#var:BOARD_FOLDER}}'''
--- a/arch/arm64/boot/dts/freescale/fsl-imx8qm-var-spear-common.dtsi
*DOCS_FOLDER = '''{{#var:DOCS_FOLDER}}'''
+++ b/arch/arm64/boot/dts/freescale/fsl-imx8qm-var-spear-common.dtsi
*PINS_SECTION = '''{{#var:PINS_SECTION}}'''
@@ -1357,28 +1357,28 @@
*DEMOS_SECTION = '''{{#var:DEMOS_SECTION}}'''
};
*DTBS_SECTION = '''{{#var:DTBS_SECTION}}'''
*MEMORY_TYPES_SECTION = '''{{#var:MEMORY_TYPES_SECTION}}'''
&intmux_cm40 {
*JTAG_SECTION = '''{{#var:JTAG_SECTION}}'''
- status = "okay";
*NXP_USER_GUIDE = '''{{#var:NXP_USER_GUIDE}}'''
+ status = "disabled";
*NXP_REFERENCE_KIT = '''{{#var:NXP_REFERENCE_KIT}}'''
};
*YOCTO_RELEASE_TAG = '''{{#var:YOCTO_RELEASE_TAG}}'''
 
&rpmsg {
= VAR-SOM-MX8X =
/*
 
* 64K for one rpmsg instance:
== Sections ==
*/
 
- vdev-nums = <1>;
=== Available dtbs ===
- reg = <0x0 0x90000000 0x0 0x10000>;
<section begin=VAR-SOM-MX8X_DTBS_SECTION/><!--
+ vdev-nums = <2>;
-->To allow Cortex M4 accessing shared resources without experiencing Linux kernel conflicts, a dedicated device tree must be loaded, containing '''m4''' label in the name, using the fdt_file environment variable in U-Boot.
+ reg = <0x0 0x90000000 0x0 0x20000>;
 
status = "okay";
This device tree disables some of the base device tree nodes in order to avoid conflicts between the main processor and Cortex M4.
};
&intmux_cm41 {
- status = "okay";
+ status = "disabled";
};
&rpmsg1 {
/*
* 64K for one rpmsg instance:
*/
- vdev-nums = <1>;
- reg = <0x0 0x90100000 0x0 0x10000>;
+ vdev-nums = <2>;
+ reg = <0x0 0x90100000 0x0 0x20000>;
status = "okay";
};
</pre>
}}
--><section end=VAR-SOM-MX8_DEMOS_SECTION/>


=== NXP Memory types ===
{| class="wikitable"
<section begin=VAR-SOM-MX8_MEMORY-TYPES_NXP_SECTION/><!--
|-
-->The SDK allow linking using 2 different memory types: DDR, TCM.
! scope="col" | File Name<br/>
! scope="col" | Description<br/>
|-
| style="padding: 5px;"| imx8qxp-var-som-symphony-sd-'''m4'''.dtb
| style="padding: 5px;"| VAR-SOM-MX8 device tree blob for kernel >= 5.4.85 (Yocto Dunfell)
|-
| style="padding: 5px;"| imx8qxp-var-som-symphony-'''m4'''.dtb
| style="padding: 5px;"| VAR-SOM-MX8 device tree blob for kernel >= 5.4.85 (Yocto Dunfell)
|-
|}
<section end=VAR-SOM-MX8X_DTBS_SECTION/>


Here is available a short summary of memory areas used by Cortex-M4 as described in related linker file.
=== Default M4 pins ===
<section begin=VAR-SOM-MX8X_PINS_SECTION/><!--
-->Default M4 pins used by the demos are:


{| class="wikitable"
{| class="wikitable"
|-
|-
! scope="col" | memory type
! scope="col" | Function
! scope="col" | M4 if
! scope="col" | Pin
! scope="col" | M4 memory area
! scope="col" | memory lentgh
! scope="col" | linker file
|-
|-
| DDR
| debug UART (UART2)
| 0
| RX: J18.5 / TX: J18.3
| 0x88000000-0x881FFFFF (code)<br>0x88200000-0x883FFFFF (data)<br>0x88400000-0x887FFFFF (data2)
| 8MB (DDR)
| MIMX8QM6xxxFF_cm4_core0_ddr_ram.ld
|-
|-
| DDR
| I2C (I2C3)
| 1
| SCL: J16.10 / SDA: J16.12
| 0x88800000-0x88BFFFFF (code)<br>0x88C00000-0x88FFFFFF (data)<br>0x89000000-0x8FFFFFFF (data2)
| 120MB (DDR)
| MIMX8QM6xxxFF_cm4_core1_ddr_ram.ld
|-
|-
| TCM
| M4 GPIO (M40_GPIO0_IO00)
| 0
| J16.3
| 0x1FFE0000-0x1FFFFFFF (code)<br>0x20000000-0x2001FFFF (data)<br>0x88000000-0x887FFFFF (data2)
| 256kB (TCM) + 8MB (DDR)
| MIMX8QM6xxxFF_cm4_core0_ram.ld
|-
|-
| TCM
| M4 PWM (M40_TPM0_CH0)
| 1
| J16.7
| 0x1FFE0000-0x1FFFFFFF (code)<br>0x20000000-0x2001FFFF (data)<br>0x88800000-0x8FFFFFFF (data2)
| 256kB (TCM) + 120MB (DDR)
| MIMX8QM6xxxFF_cm4_core1_ram.ld
|-
|-
|}
All linker files are locate in the '''armgcc''' folder of each demo.
After launching the build_all.sh command the following folder will be created in the armgcc folder
* '''ddr_debug''': containing DDR binaries compiled in debug mode (not stripped: symbols available)
* '''ddr_release''': containing DDR binaries compiled in release mode (stripped: no symbols available)
* '''debug''': containing TCM binaries compiled in debug mode (not stripped: symbols available)
* '''release''': containing TCM binaries compiled in release mode (stripped: no symbols available)
<!--
<!--
--><section end=VAR-SOM-MX8_MEMORY-TYPES_NXP_SECTION/>
| CAN (CAN1)
| RX: J18.9 / TX: J18.7
|-
-->
|}<!--
--><section end=VAR-SOM-MX8X_PINS_SECTION/>


=== JTAG ===
=== Available Demos ===
<section begin=VAR-SOM-MX8_JTAG_SECTION/><!--
<section begin=VAR-SOM-MX8X_DEMOS_SECTION/><!--
-->The VAR-SOM-MX8 and SPEAR-MX8 exposes JTAG interface via an optional 10-pin header
-->* cmsis_driver_examples/lpi2c/int_b2b_transfer/slave
 
* cmsis_driver_examples/lpi2c/int_b2b_transfer/master
Here is the pinout:
* cmsis_driver_examples/lpi2c/edma_b2b_transfer/slave
 
* cmsis_driver_examples/lpi2c/edma_b2b_transfer/master
{| class="wikitable"
* cmsis_driver_examples/lpuart/edma_transfer
|-
* cmsis_driver_examples/lpuart/interrupt_transfer
! scope="col" | pin
* demo_apps/hello_world
! scope="col" | signal
* driver_examples/edma/scatter_gather
! scope="col" | description
* driver_examples/edma/memory_to_memory
! scope="col" | pin
* driver_examples/intmux
! scope="col" | signal (ball)
* driver_examples/lpi2c/edma_b2b_transfer/slave
! scope="col" | description
* driver_examples/lpi2c/edma_b2b_transfer/master
|-
* driver_examples/lpi2c/interrupt_b2b_transfer/slave
| '''1'''
* driver_examples/lpi2c/interrupt_b2b_transfer/master
| JTAG_VREF
* driver_examples/lpi2c/polling_b2b_transfer/slave
| JTAG reference voltage (3.3V)
* driver_examples/lpi2c/polling_b2b_transfer/master
| '''2'''
* driver_examples/lpi2c/read_accel_value_transfer
| JTAG_TMS (AG35)
* driver_examples/lpit
| JTAG Mode Select
* driver_examples/lpuart/edma_transfer
|-
* driver_examples/lpuart/interrupt_rb_transfer
| '''3'''
* driver_examples/lpuart/polling
| GND
* driver_examples/lpuart/interrupt_transfer
| Digital Ground
* driver_examples/rgpio/led_output
| '''4'''
* driver_examples/sema42/uboot
| JTAG_TCK (AE31)
* driver_examples/tpm/input_capture
| JTAG Clock
* driver_examples/tpm/dual_edge_capture
|-
* driver_examples/tpm/timer
| '''5'''
* driver_examples/tpm/simple_pwm
| GND
* driver_examples/tpm/output_compare
| Digital Ground
* driver_examples/tstmr
| '''6'''
* driver_examples/wdog32
| JTAG_TDO (AF32)
* mmcau_examples/mmcau_api
| JTAG Data Out
* multicore_examples/rpmsg_lite_pingpong_rtos/linux_remote
|-
* multicore_examples/rpmsg_lite_str_echo_rtos
| '''7'''
* rtos_examples/freertos_hello
| RTCK
* rtos_examples/freertos_queue
| JTAG Return clock
* rtos_examples/freertos_sem
| '''8'''
* rtos_examples/freertos_generic
| JTAG_TDI (AH34)
* rtos_examples/freertos_tickless
| JTAG Data In
* rtos_examples/freertos_mutex
|-
* rtos_examples/freertos_event
| '''9'''
* rtos_examples/freertos_swtimer
| JTAG_TRST_B_CONN
Additional demos are available as reference code, but require HW/SW customization.<!--
| JTAG TAP reset
* demo_apps/power_mode_switch
| '''10'''
* driver_examples/canfd/loopback_transfer
| JTAG_SRST_B
* driver_examples/canfd/loopback
| JTAG System reset
* driver_examples/canfd/interrupt_transfer
|-
* driver_examples/enet/txrx_multiring_transfer
|}
* driver_examples/enet/txrx_transfer
 
* driver_examples/enet/txrx_ptp1588_transfer
Please refer to SOM datasheet for further details.<!--
* driver_examples/flexcan/loopback_edma_transfer
--><section end=VAR-SOM-MX8_JTAG_SECTION/>
* driver_examples/flexcan/loopback_transfer
 
* driver_examples/flexcan/loopback
== Releases ==
* driver_examples/flexcan/interrupt_transfer
 
* driver_examples/ftm/pwm_twochannel
=== mcuxpresso-2.5.2-mx8qm-v1.0 ===
* driver_examples/ftm/combine_pwm
<section begin=MCUXPRESSO_2.5.2_V1.0_VAR-SOM-MX8/><!--
* driver_examples/ftm/input_capture
-->{{#vardefine:OS|FreeRTOS}}<!--
* driver_examples/ftm/dual_edge_capture
-->{{#vardefine:HARDWARE_NAME|VAR-SOM-MX8}}<!--
* driver_examples/ftm/timer
-->{{#vardefine:SOC_HAS_SCU|true}}<!--
* driver_examples/ftm/simple_pwm
-->{{#vardefine:SOC_HAS_M40_M41|true}}<!--
* driver_examples/ftm/output_compare
-->{{#vardefine:RELEASE_NAME|mcuxpresso-2.5.2-mx8qm-v1.0}}<!--
* driver_examples/gpio/led_output
-->{{#vardefine:RELEASE_LINK|MCUXPRESSO_2.5.2_V1.0_VAR-SOM-MX8}}<!--
* driver_examples/lpadc/interrupt
-->{{#vardefine:YOCTO_RELEASE_LINK|RELEASE_SUMO_V1.2_VAR-SOM-MX8}}<!--
* driver_examples/lpadc/polling
-->{{#vardefine:MCUXPRESSO_VERSION|2.5.2}}<!--
* lwip_examples/lwip_ping/bm
-->{{#vardefine:SDK_PATH|~/var-mcuxpresso}}<!--
* lwip_examples/lwip_ping/freertos
-->{{#vardefine:SDK_GIT_URL|https://github.com/varigit/freertos-variscite}}<!--
* lwip_examples/lwip_iperf/bm
-->{{#vardefine:SDK_GIT_BRANCH|mcuxpresso_sdk_2.5.x-var01}}<!--
* lwip_examples/lwip_httpsrv/bm
-->{{#vardefine:TOOLCHAIN_URL|https://developer.arm.com/-/media/Files/downloads/gnu-rm/7-2018q2/gcc-arm-none-eabi-7-2018-q2-update-linux.tar.bz2}}<!--
* lwip_examples/lwip_httpsrv/freertos
-->{{#vardefine:TOOLCHAIN_BZ2_NAME|gcc-arm-none-eabi-7-2018-q2-update-linux.tar.bz2}}<!--
* lwip_examples/lwip_tcpecho/bm
-->{{#vardefine:TOOLCHAIN_FOLDER|gcc-arm-none-eabi-7-2018-q2-update}}<!--
* lwip_examples/lwip_tcpecho/freertos
-->{{#vardefine:BOARD_FOLDER|boards/som_mx8qm}}<!--
* lwip_examples/lwip_udpecho/bm
-->{{#vardefine:DOCS_FOLDER|docs}}<!--
* lwip_examples/lwip_udpecho/freertos
-->{{#vardefine:PINS_SECTION|VAR-SOM-MX8_PINS_SECTION}}<!--
* lwip_examples/lwip_dhcp/bm
-->{{#vardefine:DEMOS_SECTION|VAR-SOM-MX8_DEMOS_SECTION}}<!--
* lwip_examples/lwip_dhcp/freertos
-->{{#vardefine:DTBS_SECTION|VAR-SOM-MX8_DTBS_SECTION}}<!--
--><!--
-->{{#vardefine:MEMORY_TYPES_SECTION|VAR-SOM-MX8_MEMORY-TYPES_NXP_SECTION}}<!--
--><section end=VAR-SOM-MX8X_DEMOS_SECTION/>
-->{{#vardefine:JTAG_SECTION|VAR-SOM-MX8_JTAG_SECTION}}<!--
-->{{#vardefine:NXP_USER_GUIDE|Getting Started with MCUXpresso SDK for i.MX 8QuadMax.pdf}}<!--
-->{{#vardefine:NXP_REFERENCE_KIT|IMX8QM-MEK}}<!--
-->{{#vardefine:SCFW_SOC|mx8qm_b0}} <!--
-->{{#vardefine:SCFW_DEFINES_URL|https://github.com/varigit/imx-sc-firmware/blob/1.2.8/src/scfw_export_mx8qm_b0/platform/board/mx8qm_var_som/board.c#L79}} <!--
-->{{#vardefine:SDK_GIT_TAG|som-mx8qm_mcuxpresso-2.5.2_v10}} <!--
-->{{#vardefine:RELEASE_DATE|3/9/2020}} <!--
-->{{#vardefine:SUPPORTED_REV_SOM|v1.1 and higher}} <!--
-->{{#vardefine:SUPPORTED_REV_CARRIER|v1.1 and higher}} <!--
-->{{#vardefine:IMX_MKIMAGE_SOC|iMX8QM}} <!--
--><section end=MCUXPRESSO_2.5.2_V1.0_VAR-SOM-MX8/><!--
-->*HARDWARE_NAME = '''{{#var:HARDWARE_NAME}}'''
*SOC_HAS_SCU = '''{{#var:SOC_HAS_SCU}}'''
*SOC_HAS_M40_M41 = '''{{#var:SOC_HAS_M40_M41}}'''
*RELEASE_NAME = '''{{#var:RELEASE_NAME}}'''
*RELEASE_LINK = '''{{#var:RELEASE_LINK}}'''
*YOCTO_RELEASE_LINK = '''{{#var:YOCTO_RELEASE_LINK}}'''
*MCUXPRESSO_VERSION = '''{{#var:MCUXPRESSO_VERSION}}'''
*SDK_PATH = '''{{#var:SDK_PATH}}'''
*SDK_GIT_URL = '''{{#var:SDK_GIT_URL}}'''
*SDK_GIT_BRANCH = '''{{#var:SDK_GIT_BRANCH}}'''
*TOOLCHAIN_URL = '''{{#var:TOOLCHAIN_URL}}'''
*TOOLCHAIN_BZ2_NAME = '''{{#var:TOOLCHAIN_BZ2_NAME}}'''
*TOOLCHAIN_FOLDER = '''{{#var:TOOLCHAIN_FOLDER}}'''
*BOARD_FOLDER = '''{{#var:BOARD_FOLDER}}'''
*DOCS_FOLDER = '''{{#var:DOCS_FOLDER}}'''
*PINS_SECTION = '''{{#var:PINS_SECTION}}'''
*DEMOS_SECTION = '''{{#var:DEMOS_SECTION}}'''
*DTBS_SECTION = '''{{#var:DTBS_SECTION}}'''
*MEMORY_TYPES_SECTION = '''{{#var:MEMORY_TYPES_SECTION}}'''
*JTAG_SECTION = '''{{#var:JTAG_SECTION}}'''
*NXP_USER_GUIDE = '''{{#var:NXP_USER_GUIDE}}'''
*NXP_REFERENCE_KIT = '''{{#var:NXP_REFERENCE_KIT}}'''
*SCFW_SOC = = '''{{#var:SCFW_SOC}}
*SCFW_DEFINES_URL = = '''{{#var:SCFW_DEFINES_URL}}
*IMX_MKIMAGE_SOC = = '''{{#var:IMX_MKIMAGE_SOC}}


=== mcuxpresso-2.8.0-mx8qm-v1.0 ===
=== NXP Memory types ===
<section begin=MCUXPRESSO_2.8.0_V1.0_VAR-SOM-MX8/><!--
<section begin=VAR-SOM-MX8X_MEMORY-TYPES_NXP_SECTION/><!--
-->{{#vardefine:OS|FreeRTOS}}<!--
-->The SDK allow linking using 2 different memory types: DDR, TCM.
-->{{#vardefine:HARDWARE_NAME|VAR-SOM-MX8}}<!--
 
-->{{#vardefine:SOC_HAS_M40_M41|true}}<!--
Here is available a short summary of memory areas used by Cortex-M4 as described in related linker file.
-->{{#vardefine:RELEASE_NAME|mcuxpresso-2.8.0-mx8qm-v1.0}}<!--
 
-->{{#vardefine:RELEASE_LINK|MCUXPRESSO_2.8.0_V1.0_VAR-SOM-MX8}}<!--
{| class="wikitable"
-->{{#vardefine:YOCTO_RELEASE_LINK|RELEASE_SUMO_V1.2_VAR-SOM-MX8}}<!--
|-
-->{{#vardefine:MCUXPRESSO_VERSION|2.8.0}}<!--
! scope="col" | memory type
-->{{#vardefine:SDK_PATH|~/var-mcuxpresso}}<!--
! scope="col" | M4 memory area
-->{{#vardefine:SDK_GIT_URL|https://github.com/varigit/freertos-variscite}}<!--
! scope="col" | A35 memory area
-->{{#vardefine:SDK_GIT_BRANCH|mcuxpresso_sdk_2.8.x-var01}}<!--
! scope="col" | memory lentgh
-->{{#vardefine:TOOLCHAIN_URL|https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2020q2/gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2}}<!--
! scope="col" | linker file
-->{{#vardefine:TOOLCHAIN_BZ2_NAME|gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2}}<!--
|-
-->{{#vardefine:TOOLCHAIN_FOLDER|gcc-arm-none-eabi-9-2020-q2-update}}<!--
| DDR
-->{{#vardefine:BOARD_FOLDER|boards/som_mx8qm}}<!--
| 0x88000000-0x881FFFFF (code)<br>0x88200000-0x883FFFFF (data)<br>0x88400000-0x8FFFFFFF (data2)
-->{{#vardefine:DOCS_FOLDER|docs}}<!--
| 0x88000000-0x881FFFFF (code)<br>0x88200000-0x883FFFFF (data)<br>0x88400000-0x8FFFFFFF (data2)
-->{{#vardefine:PINS_SECTION|VAR-SOM-MX8_PINS_SECTION}}<!--
| 128MB (DDR)
-->{{#vardefine:DEMOS_SECTION|VAR-SOM-MX8_DEMOS_SECTION}}<!--
| MIMX8QX6xxxFZ_cm4_ddr_ram.ld
-->{{#vardefine:DTBS_SECTION|VAR-SOM-MX8_DTBS_SECTION}}<!--
|-
-->{{#vardefine:MEMORY_TYPES_SECTION|VAR-SOM-MX8_MEMORY-TYPES_NXP_SECTION}}<!--
| TCM
-->{{#vardefine:JTAG_SECTION|VAR-SOM-MX8_JTAG_SECTION}}<!--
| 0x1FFE0000-0x1FFFFFFF (code)<br>0x20000000-0x2001FFFF (data)<br>0x88000000-0x8FFFFFFF (data2)
-->{{#vardefine:NXP_USER_GUIDE|Getting Started with MCUXpresso SDK for MEK-MIMX8QM.pdf}}<!--
| 0x34FE0000-0x34FFFFFF (code)<br>0x35000000-0x3501FFFF (data)<br>0x88000000-0x8FFFFFFF (data2)
-->{{#vardefine:NXP_REFERENCE_KIT|IMX8QM-MEK}}<!--
| 256kB (TCM) + 128MB (DDR)
-->{{#vardefine:SCFW_SOC|mx8qm_b0}} <!--
| MIMX8QX6xxxFZ_cm4_ram.ld
-->{{#vardefine:SCFW_DEFINES_URL|https://github.com/varigit/imx-sc-firmware/blob/1.2.8/src/scfw_export_mx8qm_b0/platform/board/mx8qm_var_som/board.c#L79}} <!--
|-
-->{{#vardefine:IMX_MKIMAGE_SOC|iMX8QM}} <!--
|}
-->{{#vardefine:SDK_GIT_TAG|som-mx8qm_mcuxpresso-2.8.0_v10}}<!--
 
-->{{#vardefine:RELEASE_DATE|02/19/2021}}<!--
All linker files are locate in the '''armgcc''' folder of each demo.
-->{{#vardefine:SUPPORTED_REV_SOM|v1.1 and higher}} <!--
 
-->{{#vardefine:SUPPORTED_REV_CARRIER|v1.1 and higher}} <!--
After launching the build_all.sh command the following folder will be created in the armgcc folder
-->{{#vardefine:YOCTO_RELEASE_TAG|dunfell-fslc-5.4-2.1.x-mx8-v1.1}}<!--
 
--><section end=MCUXPRESSO_2.8.0_V1.0_VAR-SOM-MX8/><!--
* '''ddr_debug''': containing DDR binaries compiled in debug mode (not stripped: symbols available)
-->*HARDWARE_NAME = '''{{#var:HARDWARE_NAME}}'''
* '''ddr_release''': containing DDR binaries compiled in release mode (stripped: no symbols available)
*SOC_HAS_SCU = '''{{#var:SOC_HAS_SCU}}'''
* '''debug''': containing TCM binaries compiled in debug mode (not stripped: symbols available)
*SOC_HAS_M40_M41 = '''{{#var:SOC_HAS_M40_M41}}'''
* '''release''': containing TCM binaries compiled in release mode (stripped: no symbols available)
*RELEASE_NAME = '''{{#var:RELEASE_NAME}}'''
 
*RELEASE_LINK = '''{{#var:RELEASE_LINK}}'''
Further details about memory mapping are available in the following [https://www.nxp.com/doc/IMX8DQXPRM i.MX 8DualX/8DualXPlus/8QuadXPlus Applications Processor Reference Manual] paragraphs:
*YOCTO_RELEASE_LINK = '''{{#var:YOCTO_RELEASE_LINK}}'''
 
*MCUXPRESSO_VERSION = '''{{#var:MCUXPRESSO_VERSION}}'''
* 2.2 System Memory Map
*SDK_PATH = '''{{#var:SDK_PATH}}'''
* 2.2.9 Cortex-M4 Memory Map<!--
*SDK_GIT_URL = '''{{#var:SDK_GIT_URL}}'''
--><section end=VAR-SOM-MX8X_MEMORY-TYPES_NXP_SECTION/>
*SDK_GIT_BRANCH = '''{{#var:SDK_GIT_BRANCH}}'''
 
*TOOLCHAIN_URL = '''{{#var:TOOLCHAIN_URL}}'''
=== JTAG ===
*TOOLCHAIN_BZ2_NAME = '''{{#var:TOOLCHAIN_BZ2_NAME}}'''
<section begin=VAR-SOM-MX8X_JTAG_SECTION/><!--
*TOOLCHAIN_FOLDER = '''{{#var:TOOLCHAIN_FOLDER}}'''
-->The VAR-SOM-MX8X exposes JTAG interface via an optional 10-pin header
*BOARD_FOLDER = '''{{#var:BOARD_FOLDER}}'''
 
*DOCS_FOLDER = '''{{#var:DOCS_FOLDER}}'''
Here is the pinout:
*PINS_SECTION = '''{{#var:PINS_SECTION}}'''
*DEMOS_SECTION = '''{{#var:DEMOS_SECTION}}'''
*DTBS_SECTION = '''{{#var:DTBS_SECTION}}'''
*MEMORY_TYPES_SECTION = '''{{#var:MEMORY_TYPES_SECTION}}'''
*JTAG_SECTION = '''{{#var:JTAG_SECTION}}'''
*NXP_USER_GUIDE = '''{{#var:NXP_USER_GUIDE}}'''
*NXP_REFERENCE_KIT = '''{{#var:NXP_REFERENCE_KIT}}'''
*SCFW_SOC = = '''{{#var:SCFW_SOC}}
*SCFW_DEFINES_URL = = '''{{#var:SCFW_DEFINES_URL}}
*IMX_MKIMAGE_SOC = = '''{{#var:IMX_MKIMAGE_SOC}}
*SDK_GIT_TAG = '''{{#var:SDK_GIT_TAG}}
*RELEASE_DATE = '''{{#var:RELEASE_DATE}}
*SUPPORTED_REV_SOM = '''{{#var:SUPPORTED_REV_SOM}}
*SUPPORTED_REV_CARRIER = '''{{#var:SUPPORTED_REV_CARRIER}}
*YOCTO_RELEASE_TAG = '''{{#var:YOCTO_RELEASE_TAG}}


=== mcuxpresso-2.9.0-mx8qm-v1.0 ===
{| class="wikitable"
<section begin=MCUXPRESSO_2.9.0_V1.0_VAR-SOM-MX8/><!--
|-
-->{{#vardefine:OS|FreeRTOS}}<!--
! scope="col" | pin
-->{{#vardefine:HARDWARE_NAME|VAR-SOM-MX8}}<!--
! scope="col" | signal
-->{{#vardefine:SOC_HAS_M40_M41|true}}<!--
! scope="col" | description
-->{{#vardefine:RELEASE_NAME|mcuxpresso-2.9.0-mx8qm-v1.0}}<!--
! scope="col" | pin
-->{{#vardefine:RELEASE_LINK|MCUXPRESSO_2.9.0_V1.0_VAR-SOM-MX8}}<!--
! scope="col" | signal (ball)
-->{{#vardefine:YOCTO_RELEASE_LINK|RELEASE_SUMO_V1.2_VAR-SOM-MX8}}<!--
! scope="col" | description
-->{{#vardefine:MCUXPRESSO_VERSION|2.9.0}}<!--
|-
-->{{#vardefine:SDK_PATH|~/var-mcuxpresso}}<!--
| '''1'''
-->{{#vardefine:SDK_GIT_URL|https://github.com/varigit/freertos-variscite}}<!--
| JTAG_VREF
-->{{#vardefine:SDK_GIT_BRANCH|mcuxpresso_sdk_2.9.x-var01}}<!--
| JTAG reference voltage (3.3V)
-->{{#vardefine:TOOLCHAIN_URL|https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2020q2/gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2}}<!--
| '''2'''
-->{{#vardefine:TOOLCHAIN_BZ2_NAME|gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2}}<!--
| JTAG_TMS (AG35)
-->{{#vardefine:TOOLCHAIN_FOLDER|gcc-arm-none-eabi-9-2020-q2-update}}<!--
| JTAG Mode Select
-->{{#vardefine:BOARD_FOLDER|boards/som_mx8qm}}<!--
|-
-->{{#vardefine:DOCS_FOLDER|docs}}<!--
| '''3'''
-->{{#vardefine:PINS_SECTION|VAR-SOM-MX8_PINS_SECTION}}<!--
| GND
-->{{#vardefine:DEMOS_SECTION|VAR-SOM-MX8_DEMOS_SECTION}}<!--
| Digital Ground
-->{{#vardefine:DTBS_SECTION|VAR-SOM-MX8_DTBS_SECTION}}<!--
| '''4'''
-->{{#vardefine:MEMORY_TYPES_SECTION|VAR-SOM-MX8_MEMORY-TYPES_NXP_SECTION}}<!--
| JTAG_TCK (AE31)
-->{{#vardefine:JTAG_SECTION|VAR-SOM-MX8_JTAG_SECTION}}<!--
| JTAG Clock
-->{{#vardefine:NXP_USER_GUIDE|Getting Started with MCUXpresso SDK for MEK-MIMX8QM.pdf}}<!--
|-
-->{{#vardefine:NXP_REFERENCE_KIT|IMX8QM-MEK}}<!--
| '''5'''
-->{{#vardefine:SCFW_SOC|mx8qm_b0}} <!--
| GND
-->{{#vardefine:SCFW_DEFINES_URL|https://github.com/varigit/imx-sc-firmware/blob/1.2.8/src/scfw_export_mx8qm_b0/platform/board/mx8qm_var_som/board.c#L79}} <!--
| Digital Ground
-->{{#vardefine:IMX_MKIMAGE_SOC|iMX8QM}} <!--
| '''6'''
-->{{#vardefine:SDK_GIT_TAG|som-mx8qm_mcuxpresso-2.9.0_v10}}<!--
| JTAG_TDO (AF32)
-->{{#vardefine:RELEASE_DATE|03/15/2021}}<!--
| JTAG Data Out
-->{{#vardefine:SUPPORTED_REV_SOM|v1.1 and higher}} <!--
|-
-->{{#vardefine:SUPPORTED_REV_CARRIER|v1.1 and higher}} <!--
| '''7'''
-->{{#vardefine:YOCTO_RELEASE_TAG|dunfell-fslc-5.4-2.1.x-mx8-v1.1}}<!--
| RTCK
-->{{#vardefine:DEACTIVATE_LMEM_CACHE_PATCH|0002-i.MX8QM-CM40-deactivated-the-LMEM-caches-to-debug-in.patch}}<!--
| JTAG Return clock
--><section end=MCUXPRESSO_2.9.0_V1.0_VAR-SOM-MX8/><!--
| '''8'''
-->*HARDWARE_NAME = '''{{#var:HARDWARE_NAME}}'''
| JTAG_TDI (AH34)
*SOC_HAS_SCU = '''{{#var:SOC_HAS_SCU}}'''
| JTAG Data In
*SOC_HAS_M40_M41 = '''{{#var:SOC_HAS_M40_M41}}'''
|-
*RELEASE_NAME = '''{{#var:RELEASE_NAME}}'''
| '''9'''
*RELEASE_LINK = '''{{#var:RELEASE_LINK}}'''
| JTAG_TRST_B_CONN
*YOCTO_RELEASE_LINK = '''{{#var:YOCTO_RELEASE_LINK}}'''
| JTAG TAP reset
*MCUXPRESSO_VERSION = '''{{#var:MCUXPRESSO_VERSION}}'''
| '''10'''
*SDK_PATH = '''{{#var:SDK_PATH}}'''
| JTAG_SRST_B
*SDK_GIT_URL = '''{{#var:SDK_GIT_URL}}'''
| JTAG System reset
*SDK_GIT_BRANCH = '''{{#var:SDK_GIT_BRANCH}}'''
|-
*TOOLCHAIN_URL = '''{{#var:TOOLCHAIN_URL}}'''
|}
*TOOLCHAIN_BZ2_NAME = '''{{#var:TOOLCHAIN_BZ2_NAME}}'''
 
*TOOLCHAIN_FOLDER = '''{{#var:TOOLCHAIN_FOLDER}}'''
Please refer to SOM datasheet for further details.
 
<!--
--><section end=VAR-SOM-MX8X_JTAG_SECTION/>
 
== Releases ==
 
=== mcuxpresso-2.5.2-mx8qx-v1.0 ===
<section begin=MCUXPRESSO_2.5.2_V1.0_VAR-SOM-MX8X/><!--
-->{{#vardefine:OS|FreeRTOS}}<!--
-->{{#vardefine:HARDWARE_NAME|VAR-SOM-MX8X}}<!--
-->{{#vardefine:SOC_HAS_SCU|true}}<!--
-->{{#vardefine:RELEASE_NAME|mcuxpresso-2.5.2-mx8qx-v1.0}}<!--
-->{{#vardefine:RELEASE_LINK|MCUXPRESSO_2.5.2_V1.0_VAR-SOM-MX8X}}<!--
-->{{#vardefine:YOCTO_RELEASE_LINK|RELEASE_SUMO_V1.2_VAR-SOM-MX8X}}<!--
-->{{#vardefine:MCUXPRESSO_VERSION|2.5.2}}<!--
-->{{#vardefine:SDK_PATH|~/var-mcuxpresso}}<!--
-->{{#vardefine:SDK_GIT_URL|https://github.com/varigit/freertos-variscite}}<!--
-->{{#vardefine:SDK_GIT_BRANCH|mcuxpresso_sdk_2.5.x-var01}}<!--
-->{{#vardefine:TOOLCHAIN_URL|https://developer.arm.com/-/media/Files/downloads/gnu-rm/7-2018q2/gcc-arm-none-eabi-7-2018-q2-update-linux.tar.bz2}}<!--
-->{{#vardefine:TOOLCHAIN_BZ2_NAME|gcc-arm-none-eabi-7-2018-q2-update-linux.tar.bz2}}<!--
-->{{#vardefine:TOOLCHAIN_FOLDER|gcc-arm-none-eabi-7-2018-q2-update}}<!--
-->{{#vardefine:BOARD_FOLDER|boards/som_mx8qx}}<!--
-->{{#vardefine:DOCS_FOLDER|docs}}<!--
-->{{#vardefine:PINS_SECTION|VAR-SOM-MX8X_PINS_SECTION}}<!--
-->{{#vardefine:DEMOS_SECTION|VAR-SOM-MX8X_DEMOS_SECTION}}<!--
-->{{#vardefine:DTBS_SECTION|VAR-SOM-MX8X_DTBS_SECTION}}<!--
-->{{#vardefine:MEMORY_TYPES_SECTION|VAR-SOM-MX8X_MEMORY-TYPES_NXP_SECTION}}<!--
-->{{#vardefine:JTAG_SECTION|VAR-SOM-MX8X_JTAG_SECTION}}<!--
-->{{#vardefine:NXP_USER_GUIDE|Getting Started with MCUXpresso SDK for i.MX 8QuadXPlus.pdf}}<!--
-->{{#vardefine:NXP_REFERENCE_KIT|IMX8QXP-MEK}}<!--
-->{{#vardefine:SCFW_SOC|mx8qx_b0}} <!--
-->{{#vardefine:SCFW_PATCH_URL|{{VAR_FILES_DOMAIN_URL}}/VAR-SOM-MX8X/Software/SCFW}} <!--
-->{{#vardefine:SCFW_M4_PATCH|0002-mx8qxp-var-som_scfw-1.2.2_sample-M4-customization.diff}} <!--
-->{{#vardefine:SDK_GIT_TAG|som-mx8qx_mcuxpresso-2.5.2_v10}} <!--
-->{{#vardefine:RELEASE_DATE|2/10/2020}} <!--
-->{{#vardefine:SUPPORTED_REV_SOM|v1.1 and higher}} <!--
-->{{#vardefine:SUPPORTED_REV_CARRIER|v1.1 and higher}} <!--
-->{{#vardefine:IMX_MKIMAGE_SOC|iMX8QX}} <!--
--><section end=MCUXPRESSO_2.5.2_V1.0_VAR-SOM-MX8X/><!--
-->*HARDWARE_NAME = '''{{#var:HARDWARE_NAME}}'''
*SOC_HAS_SCU = '''{{#var:SOC_HAS_SCU}}'''
*RELEASE_NAME = '''{{#var:RELEASE_NAME}}'''
*RELEASE_LINK = '''{{#var:RELEASE_LINK}}'''
*YOCTO_RELEASE_LINK = '''{{#var:YOCTO_RELEASE_LINK}}'''
*MCUXPRESSO_VERSION = '''{{#var:MCUXPRESSO_VERSION}}'''
*SDK_PATH = '''{{#var:SDK_PATH}}'''
*SDK_GIT_URL = '''{{#var:SDK_GIT_URL}}'''
*SDK_GIT_BRANCH = '''{{#var:SDK_GIT_BRANCH}}'''
*TOOLCHAIN_URL = '''{{#var:TOOLCHAIN_URL}}'''
*TOOLCHAIN_BZ2_NAME = '''{{#var:TOOLCHAIN_BZ2_NAME}}'''
*TOOLCHAIN_FOLDER = '''{{#var:TOOLCHAIN_FOLDER}}'''
*BOARD_FOLDER = '''{{#var:BOARD_FOLDER}}'''
*BOARD_FOLDER = '''{{#var:BOARD_FOLDER}}'''
*DOCS_FOLDER = '''{{#var:DOCS_FOLDER}}'''
*DOCS_FOLDER = '''{{#var:DOCS_FOLDER}}'''
Line 2,938: Line 3,067:
*JTAG_SECTION = '''{{#var:JTAG_SECTION}}'''
*JTAG_SECTION = '''{{#var:JTAG_SECTION}}'''
*NXP_USER_GUIDE = '''{{#var:NXP_USER_GUIDE}}'''
*NXP_USER_GUIDE = '''{{#var:NXP_USER_GUIDE}}'''
*NXP_REFERENCE_KIT = '''{{#var:NXP_REFERENCE_KIT}}'''
*NXP_REFERENCE_KIT = '''{{#var:NXP_REFERENCE_KIT}}'''
*SCFW_SOC = = '''{{#var:SCFW_SOC}}
*SCFW_SOC = = '''{{#var:SCFW_SOC}}
*SCFW_DEFINES_URL = = '''{{#var:SCFW_DEFINES_URL}}
*SCFW_PATCH_URL = = '''{{#var:SCFW_PATCH_URL}}
*IMX_MKIMAGE_SOC = = '''{{#var:IMX_MKIMAGE_SOC}}
*SCFW_M4_PATCH = = '''{{#var:SCFW_M4_PATCH}}
*SDK_GIT_TAG = '''{{#var:SDK_GIT_TAG}}
*IMX_MKIMAGE_SOC = = '''{{#var:IMX_MKIMAGE_SOC}}
*RELEASE_DATE = '''{{#var:RELEASE_DATE}}
 
*SUPPORTED_REV_SOM = '''{{#var:SUPPORTED_REV_SOM}}
=== mcuxpresso-2.8.0-mx8qx-v1.0 ===
*SUPPORTED_REV_CARRIER = '''{{#var:SUPPORTED_REV_CARRIER}}
<section begin=MCUXPRESSO_2.8.0_V1.0_VAR-SOM-MX8X/><!--
*YOCTO_RELEASE_TAG = '''{{#var:YOCTO_RELEASE_TAG}}
-->{{#vardefine:OS|FreeRTOS}}<!--
 
-->{{#vardefine:HARDWARE_NAME|VAR-SOM-MX8X}}<!--
<section begin=MCUXPRESSO_GLOBALS/>
-->{{#vardefine:RELEASE_NAME|mcuxpresso-2.8.0-mx8qx-v1.0}}<!--
<!--
-->{{#vardefine:RELEASE_LINK|MCUXPRESSO_2.8.0_V1.0_VAR-SOM-MX8X}}<!--
    Set variables for all releases
-->{{#vardefine:YOCTO_RELEASE_LINK|RELEASE_SUMO_V1.2_VAR-SOM-MX8X}}<!--
 
-->{{#vardefine:MCUXPRESSO_VERSION|2.8.0}}<!--
    Cortex M4 or M7:
-->{{#vardefine:SDK_PATH|~/var-mcuxpresso}}<!--
--> {{#vardefine:CORTEX_M_TYPE | <!--
-->{{#vardefine:SDK_GIT_URL|https://github.com/varigit/freertos-variscite}}<!--
-->   {{#switch:{{#var:HARDWARE_NAME}} | <!--
-->{{#vardefine:SDK_GIT_BRANCH|mcuxpresso_sdk_2.8.x-var01}}<!--
-->       VAR-SOM-MX8M-NANO = m7 | <!--
-->{{#vardefine:TOOLCHAIN_URL|https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2020q2/gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2}}<!--
-->       DART-MX8M-PLUS = m7 | <!--
-->{{#vardefine:TOOLCHAIN_BZ2_NAME|gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2}}<!--
-->      m4 <!--
-->{{#vardefine:TOOLCHAIN_FOLDER|gcc-arm-none-eabi-9-2020-q2-update}}<!--
-->   }} <!--
-->{{#vardefine:BOARD_FOLDER|boards/som_mx8qx}}<!--
--> }} <!--
-->{{#vardefine:DOCS_FOLDER|docs}}<!--
--> {{#vardefine:CORTEX_M_TYPE_UC | <span style="text-transform: uppercase;">{{#var:CORTEX_M_TYPE}}</span>}}<!--
-->{{#vardefine:PINS_SECTION|VAR-SOM-MX8X_PINS_SECTION}}<!--
 
-->{{#vardefine:DEMOS_SECTION|VAR-SOM-MX8X_DEMOS_SECTION}}<!--
-->{{#vardefine:DTBS_SECTION|VAR-SOM-MX8X_DTBS_SECTION}}<!--
-->{{#vardefine:MEMORY_TYPES_SECTION|VAR-SOM-MX8X_MEMORY-TYPES_NXP_SECTION}}<!--
-->{{#vardefine:JTAG_SECTION|VAR-SOM-MX8X_JTAG_SECTION}}<!--
-->{{#vardefine:NXP_USER_GUIDE|Getting Started with MCUXpresso SDK for MEK-MIMX8QX.pdf}}<!--
-->{{#vardefine:NXP_REFERENCE_KIT|IMX8QXP-MEK}}<!--
-->{{#vardefine:SCFW_SOC|mx8qx_b0}} <!--
-->{{#vardefine:SCFW_PATCH_URL|{{VAR_FILES_DOMAIN_URL}}/VAR-SOM-MX8X/Software/SCFW}} <!--
-->{{#vardefine:SCFW_M4_PATCH|0002-mx8qxp-var-som_scfw-1.2.2_sample-M4-customization.diff}} <!--
-->{{#vardefine:IMX_MKIMAGE_SOC|iMX8QX}} <!--
-->{{#vardefine:SDK_GIT_TAG|som-mx8qx_mcuxpresso-2.8.0_v10}}<!--
-->{{#vardefine:RELEASE_DATE|02/18/2021}}<!--
-->{{#vardefine:SUPPORTED_REV_SOM|v1.1 and higher}} <!--
-->{{#vardefine:SUPPORTED_REV_CARRIER|v1.1 and higher}} <!--
-->{{#vardefine:YOCTO_RELEASE_TAG|dunfell-fslc-5.4-2.1.x-mx8x-v1.0}}<!--
--><section end=MCUXPRESSO_2.8.0_V1.0_VAR-SOM-MX8X/><!--
-->*HARDWARE_NAME = '''{{#var:HARDWARE_NAME}}'''
*SOC_HAS_SCU = '''{{#var:SOC_HAS_SCU}}'''
*RELEASE_NAME = '''{{#var:RELEASE_NAME}}'''
*RELEASE_LINK = '''{{#var:RELEASE_LINK}}'''
*YOCTO_RELEASE_LINK = '''{{#var:YOCTO_RELEASE_LINK}}'''
*MCUXPRESSO_VERSION = '''{{#var:MCUXPRESSO_VERSION}}'''
*SDK_PATH = '''{{#var:SDK_PATH}}'''
*SDK_GIT_URL = '''{{#var:SDK_GIT_URL}}'''
*SDK_GIT_BRANCH = '''{{#var:SDK_GIT_BRANCH}}'''
*TOOLCHAIN_URL = '''{{#var:TOOLCHAIN_URL}}'''
*TOOLCHAIN_BZ2_NAME = '''{{#var:TOOLCHAIN_BZ2_NAME}}'''
*TOOLCHAIN_FOLDER = '''{{#var:TOOLCHAIN_FOLDER}}'''
*BOARD_FOLDER = '''{{#var:BOARD_FOLDER}}'''
*DOCS_FOLDER = '''{{#var:DOCS_FOLDER}}'''
*PINS_SECTION = '''{{#var:PINS_SECTION}}'''
*DEMOS_SECTION = '''{{#var:DEMOS_SECTION}}'''
*DTBS_SECTION = '''{{#var:DTBS_SECTION}}'''
*MEMORY_TYPES_SECTION = '''{{#var:MEMORY_TYPES_SECTION}}'''
*JTAG_SECTION = '''{{#var:JTAG_SECTION}}'''
*NXP_USER_GUIDE = '''{{#var:NXP_USER_GUIDE}}'''
*NXP_REFERENCE_KIT = '''{{#var:NXP_REFERENCE_KIT}}'''
*SCFW_SOC = = '''{{#var:SCFW_SOC}}
*SCFW_PATCH_URL = = '''{{#var:SCFW_PATCH_URL}}
*SCFW_M4_PATCH = = '''{{#var:SCFW_M4_PATCH}}
*IMX_MKIMAGE_SOC = = '''{{#var:IMX_MKIMAGE_SOC}}
*SDK_GIT_TAG = '''{{#var:SDK_GIT_TAG}}
*RELEASE_DATE = '''{{#var:RELEASE_DATE}}
*SUPPORTED_REV_SOM = '''{{#var:SUPPORTED_REV_SOM}}
*SUPPORTED_REV_CARRIER = '''{{#var:SUPPORTED_REV_CARRIER}}
*YOCTO_RELEASE_TAG = '''{{#var:YOCTO_RELEASE_TAG}}
 
=== mcuxpresso-2.9.0-mx8qx-v1.0 ===
<section begin=MCUXPRESSO_2.9.0_V1.0_VAR-SOM-MX8X/><!--
-->{{#vardefine:OS|FreeRTOS}}<!--
-->{{#vardefine:HARDWARE_NAME|VAR-SOM-MX8X}}<!--
-->{{#vardefine:RELEASE_NAME|mcuxpresso-2.9.0-mx8qx-v1.0}}<!--
-->{{#vardefine:RELEASE_LINK|MCUXPRESSO_2.9.0_V1.0_VAR-SOM-MX8X}}<!--
-->{{#vardefine:YOCTO_RELEASE_LINK|RELEASE_SUMO_V1.2_VAR-SOM-MX8X}}<!--
-->{{#vardefine:MCUXPRESSO_VERSION|2.9.0}}<!--
-->{{#vardefine:SDK_PATH|~/var-mcuxpresso}}<!--
-->{{#vardefine:SDK_GIT_URL|https://github.com/varigit/freertos-variscite}}<!--
-->{{#vardefine:SDK_GIT_BRANCH|mcuxpresso_sdk_2.9.x-var01}}<!--
-->{{#vardefine:TOOLCHAIN_URL|https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2020q2/gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2}}<!--
-->{{#vardefine:TOOLCHAIN_BZ2_NAME|gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2}}<!--
-->{{#vardefine:TOOLCHAIN_FOLDER|gcc-arm-none-eabi-9-2020-q2-update}}<!--
-->{{#vardefine:BOARD_FOLDER|boards/som_mx8qx}}<!--
-->{{#vardefine:DOCS_FOLDER|docs}}<!--
-->{{#vardefine:PINS_SECTION|VAR-SOM-MX8X_PINS_SECTION}}<!--
-->{{#vardefine:DEMOS_SECTION|VAR-SOM-MX8X_DEMOS_SECTION}}<!--
-->{{#vardefine:DTBS_SECTION|VAR-SOM-MX8X_DTBS_SECTION}}<!--
-->{{#vardefine:MEMORY_TYPES_SECTION|VAR-SOM-MX8X_MEMORY-TYPES_NXP_SECTION}}<!--
-->{{#vardefine:JTAG_SECTION|VAR-SOM-MX8X_JTAG_SECTION}}<!--
-->{{#vardefine:NXP_USER_GUIDE|Getting Started with MCUXpresso SDK for MEK-MIMX8QX.pdf}}<!--
-->{{#vardefine:NXP_REFERENCE_KIT|IMX8QXP-MEK}}<!--
-->{{#vardefine:SCFW_SOC|mx8qx_b0}} <!--
-->{{#vardefine:SCFW_PATCH_URL|{{VAR_FILES_DOMAIN_URL}}/VAR-SOM-MX8X/Software/SCFW}} <!--
-->{{#vardefine:SCFW_M4_PATCH|0002-mx8qxp-var-som_scfw-1.2.2_sample-M4-customization.diff}} <!--
-->{{#vardefine:IMX_MKIMAGE_SOC|iMX8QX}} <!--
-->{{#vardefine:SDK_GIT_TAG|som-mx8qx_mcuxpresso-2.9.0_v10}}<!--
-->{{#vardefine:RELEASE_DATE|03/04/2021}}<!--
-->{{#vardefine:SUPPORTED_REV_SOM|v1.1 and higher}} <!--
-->{{#vardefine:SUPPORTED_REV_CARRIER|v1.1 and higher}} <!--
-->{{#vardefine:YOCTO_RELEASE_TAG|dunfell-fslc-5.4-2.1.x-mx8x-v1.0}}<!--
-->{{#vardefine:DEACTIVATE_LMEM_CACHE_PATCH|0001-i.MX8QX-deactivated-the-LMEM-caches-to-debug-in-exte.patch}}<!--
--><section end=MCUXPRESSO_2.9.0_V1.0_VAR-SOM-MX8X/><!--
-->*HARDWARE_NAME = '''{{#var:HARDWARE_NAME}}'''
*SOC_HAS_SCU = '''{{#var:SOC_HAS_SCU}}'''
*RELEASE_NAME = '''{{#var:RELEASE_NAME}}'''
*RELEASE_LINK = '''{{#var:RELEASE_LINK}}'''
*YOCTO_RELEASE_LINK = '''{{#var:YOCTO_RELEASE_LINK}}'''
*MCUXPRESSO_VERSION = '''{{#var:MCUXPRESSO_VERSION}}'''
*SDK_PATH = '''{{#var:SDK_PATH}}'''
*SDK_GIT_URL = '''{{#var:SDK_GIT_URL}}'''
*SDK_GIT_BRANCH = '''{{#var:SDK_GIT_BRANCH}}'''
*TOOLCHAIN_URL = '''{{#var:TOOLCHAIN_URL}}'''
*TOOLCHAIN_BZ2_NAME = '''{{#var:TOOLCHAIN_BZ2_NAME}}'''
*TOOLCHAIN_FOLDER = '''{{#var:TOOLCHAIN_FOLDER}}'''
*BOARD_FOLDER = '''{{#var:BOARD_FOLDER}}'''
*DOCS_FOLDER = '''{{#var:DOCS_FOLDER}}'''
*PINS_SECTION = '''{{#var:PINS_SECTION}}'''
*DEMOS_SECTION = '''{{#var:DEMOS_SECTION}}'''
*DTBS_SECTION = '''{{#var:DTBS_SECTION}}'''
*MEMORY_TYPES_SECTION = '''{{#var:MEMORY_TYPES_SECTION}}'''
*JTAG_SECTION = '''{{#var:JTAG_SECTION}}'''
*NXP_USER_GUIDE = '''{{#var:NXP_USER_GUIDE}}'''
*NXP_REFERENCE_KIT = '''{{#var:NXP_REFERENCE_KIT}}'''
*SCFW_SOC = = '''{{#var:SCFW_SOC}}
*SCFW_PATCH_URL = = '''{{#var:SCFW_PATCH_URL}}
*SCFW_M4_PATCH = = '''{{#var:SCFW_M4_PATCH}}
*IMX_MKIMAGE_SOC = = '''{{#var:IMX_MKIMAGE_SOC}}
*SDK_GIT_TAG = '''{{#var:SDK_GIT_TAG}}
*RELEASE_DATE = '''{{#var:RELEASE_DATE}}
*SUPPORTED_REV_SOM = '''{{#var:SUPPORTED_REV_SOM}}
*SUPPORTED_REV_CARRIER = '''{{#var:SUPPORTED_REV_CARRIER}}
*YOCTO_RELEASE_TAG = '''{{#var:YOCTO_RELEASE_TAG}}
 
= VAR-SOM-MX8 =
 
== Sections ==
 
=== Available dtbs ===
<section begin=VAR-SOM-MX8_DTBS_SECTION/><!--
-->To allow Cortex M4 accessing shared resources without experiencing Linux kernel conflicts, a dedicated device tree must be loaded, containing '''m4''' label in the name, using the fdt_file environment variable in U-Boot.
 
This device tree disables some of the base device tree nodes in order to avoid conflicts between the main processor and Cortex M4.<br>
 
{| class="wikitable"
|-
! scope="col" | File Name<br/>
! scope="col" | Description<br/>
|-
| style="padding: 5px;"| imx8qm-var-som-symphony-dp-'''m4'''.dtb
| style="padding: 5px;"| DTB file for VAR-SOM-MX8 with DP display and Cortex-M4 on Symphony Board for kernel >= 5.10.72 (Yocto Hardknott)
|-
| style="padding: 5px;"| imx8qm-var-som-symphony-hdmi-'''m4'''.dtb
| style="padding: 5px;"| DTB file for VAR-SOM-MX8 with HDMI display and Cortex-M4 on Symphony Board for kernel >= 5.10.72 (Yocto Hardknott)
|-
| style="padding: 5px;"| imx8qm-var-som-symphony-lvds-'''m4'''.dtb
| style="padding: 5px;"| DTB file for VAR-SOM-MX8 with LVDS display and Cortex-M4 on Symphony Board for kernel >= 5.10.72 (Yocto Hardknott)
|-
| style="padding: 5px;"| imx8qm-var-spear-sp8customboard-dp-'''m4'''.dtb
| style="padding: 5px;"| DTB file for SPEAR-MX8 with DP display and Cortex-M4 on SP8CustomBoard for kernel >= 5.10.72 (Yocto Hardknott)
|-
| style="padding: 5px;"| imx8qm-var-spear-sp8customboard-hdmi-'''m4'''.dtb
| style="padding: 5px;"| DTB file for SPEAR-MX8 with HDMI display and Cortex-M4 on SP8CustomBoard for kernel >= 5.10.72 (Yocto Hardknott)
|-
| style="padding: 5px;"| imx8qm-var-spear-sp8customboard-lvds.'''m4'''.dtb
| style="padding: 5px;"| DTB file for SPEAR-MX8 with LVDS display and Cortex-M4 on SP8CustomBoard for kernel >= 5.10.72 (Yocto Hardknott)
|-
| style="padding: 5px;"| imx8qm-var-som-dp-'''m4'''.dtb
| style="padding: 5px;"| DTB file for VAR-SOM-MX8 with DP display and Cortex-M4 on Symphony Board for kernel = 5.4.142 (Yocto Dunfell)
|-
| style="padding: 5px;"| imx8qm-var-som-hdmi-'''m4'''.dtb
| style="padding: 5px;"| DTB file for VAR-SOM-MX8 with HDMI display and Cortex-M4 on Symphony Board for kernel = 5.4.142 (Yocto Dunfell)
|-
| style="padding: 5px;"| imx8qm-var-som-lvds-'''m4'''.dtb
| style="padding: 5px;"| DTB file for VAR-SOM-MX8 with LVDS display and Cortex-M4 on Symphony Board for kernel = 5.4.142 (Yocto Dunfell)
|-
| style="padding: 5px;"| imx8qm-var-spear-dp-'''m4'''.dtb
| style="padding: 5px;"| DTB file for SPEAR-MX8 with DP display and Cortex-M4 on SP8CustomBoard for kernel = 5.4.142 (Yocto Dunfell)
|-
| style="padding: 5px;"| imx8qm-var-spear-hdmi-'''m4'''.dtb
| style="padding: 5px;"| DTB file for SPEAR-MX8 with HDMI display and Cortex-M4 on SP8CustomBoard for kernel = 5.4.142 (Yocto Dunfell)
|-
| style="padding: 5px;"| imx8qm-var-spear-lvds-'''m4'''.dtb
| style="padding: 5px;"| DTB file for SPEAR-MX8 with LVDS display and Cortex-M4 on SP8CustomBoard for kernel = 5.4.142 (Yocto Dunfell)
|-
|}
<section end=VAR-SOM-MX8_DTBS_SECTION/>
 
=== Default M4 pins ===
<section begin=VAR-SOM-MX8_PINS_SECTION/><!--
-->Default M4 pins used by the demos are:
 
{| class="wikitable"
|-
! scope="col" | Function
! scope="col" | SoC balls
! scope="col" | VAR-SOM-MX8 pins
! scope="col" | Symphony pins
! scope="col" | SPEAR-MX8 pins
! scope="col" | SP8CustomBoard pins
! scope="col" | Notes
|-
| M40_UART0 RX / TX
| AM44 / AU51
| N/A
| N/A
| J3.32 / J3.38
| J40
| SP8CustomBoard requires SW8 ON, SW9 OFF
|-
| DMA_UART2 RX / TX
| BE35 / BE37
| J1.175 / J1.124
| J18.5 / J18.3
| J1.80 / J1.82
| J26.19 /J26.17
|
|-
| DMA_UART4 RX / TX
| AR47 / AU53
| J1.115 / J1.171
| J18.9 / J18.7
| J3.34 / J3.29
| J20.2 / J20.4
| SPEAR-MX8 demos do not refer it
|-
| FLEXCAN0 RX/TX
| C5 / H6
| J1.46 / J1.44
| J16.18 / J16.20
| J4.79 / J4.80
| J26.1 / J26.3
|
|-
| M41_I2C0 SCL/SDA
| AR45 / AU49
| N/A
| N/A
| J1.9 / J3.36
| J20.18 / J20.20
|
|-
| DMA_I2C0 SCL/SDA
| BN9 / BN7
| J1.174 / J1.176
| J16.10 / J16.12
| J2.88 / J1.90
| J26.2 / J26.4
|
|-
| DMA_SPI0 CS0 / SCK / SDI / SDO
| BC1 / BB4 / BA5 / AY6
| J1.79 / J1.75 / J1.77 / J1.70
| J17.10 / J17.6 / J17.8 / J17.4
| J2.78 / j2.74 / J2.72 / J2.76
| J20.7 / J20.1 / J20.5 / J20.3
|
|-
| ADC_IN6
| AL9
| J1.39
| J16.4
| J4.62
| J29.16
| VAR-SOM-MX8 requires enabling a buffer (refer to the datasheet)
|-
| M40_TPM0 0 / 1
| AR47 / AU53
| J1.115 / J1.171
| J18.9 / J18.7
| J3.34 / J3.29
| J20.2 / J20.4
| pins are share with with DMA_UART4
|-
| GPIO3_IO06
| BA3
| J1.40
| J17.2
| J2.80
| J20.9
|
|-
|}<!--
--><section end=VAR-SOM-MX8_PINS_SECTION/>
 
=== Available Demos ===
<section begin=VAR-SOM-MX8_DEMOS_SECTION/><!--
-->* cmsis_driver_examples/lpi2c/int_b2b_transfer/master
* cmsis_driver_examples/lpi2c/int_b2b_transfer/slave
* cmsis_driver_examples/lpi2c/edma_b2b_transfer/master
* cmsis_driver_examples/lpi2c/edma_b2b_transfer/slave
* cmsis_driver_examples/lpuart/edma_transfer
* cmsis_driver_examples/lpuart/interrupt_transfer
* cmsis_driver_examples/lpspi/edma_b2b_transfer/master
* cmsis_driver_examples/lpspi/edma_b2b_transfer/slave
* cmsis_driver_examples/lpspi/int_b2b_transfer/master
* cmsis_driver_examples/lpspi/int_b2b_transfer/slave
* demo_apps/hello_world
* driver_examples/canfd/loopback_transfer
* driver_examples/canfd/loopback
* driver_examples/canfd/interrupt_transfer
* driver_examples/edma/scatter_gather
* driver_examples/edma/memory_to_memory
* driver_examples/flexcan/loopback_edma_transfer
* driver_examples/flexcan/loopback_transfer
* driver_examples/flexcan/loopback
* driver_examples/flexcan/interrupt_transfer
* driver_examples/intmux
* driver_examples/lpadc/interrupt
* driver_examples/lpadc/polling
* driver_examples/lpi2c/edma_b2b_transfer/slave
* driver_examples/lpi2c/edma_b2b_transfer/master
* driver_examples/lpi2c/interrupt_b2b_transfer/slave
* driver_examples/lpi2c/interrupt_b2b_transfer/master
* driver_examples/lpi2c/polling_b2b_transfer/slave
* driver_examples/lpi2c/polling_b2b_transfer/master
* driver_examples/lpi2c/read_accel_value_transfer
* driver_examples/lpspi/edma_b2b_transfer/master
* driver_examples/lpspi/edma_b2b_transfer/slave
* driver_examples/lpspi/interrupt_b2b/master
* driver_examples/lpspi/interrupt_b2b/slave
* driver_examples/lpspi/interrupt_b2b_transfer/master
* driver_examples/lpspi/interrupt_b2b_transfer/slave
* driver_examples/lpspi/polling_b2b_transfer/master
* driver_examples/lpspi/polling_b2b_transfer/slave
* driver_examples/lpspi/polling_b2b_transfer/master
* driver_examples/lpspi/polling_b2b_transfer/slave
* driver_examples/lpit
* driver_examples/lpuart/edma_transfer
* driver_examples/lpuart/interrupt_rb_transfer
* driver_examples/lpuart/polling
* driver_examples/lpuart/interrupt_transfer
* driver_examples/lpuart/interrupt
* driver_examples/gpio/led_output
* driver_examples/rgpio/led_output
* driver_examples/sema42/uboot
* driver_examples/sema42/dual_core
* driver_examples/tpm/timer
* driver_examples/tpm/simple_pwm
* driver_examples/tpm/pwm_twochannel
* driver_examples/tpm/output_compare
* driver_examples/tpm/input_capture
* driver_examples/tpm/dual_edge_capture
* driver_examples/tpm/combine_pwm
* driver_examples/tstmr
* driver_examples/wdog32
* mmcau_examples/mmcau_api
* multicore_examples/rpmsg_lite_pingpong_rtos/linux_remote
* multicore_examples/rpmsg_lite_str_echo_rtos
* multicore_examples/rpmsg_lite_pingpong_rtos/sdk_remote
* multicore_examples/rpmsg_lite_pingpong_rtos/sdk_master
* rtos_examples/freertos_hello
* rtos_examples/freertos_queue
* rtos_examples/freertos_sem
* rtos_examples/freertos_generic
* rtos_examples/freertos_tickless
* rtos_examples/freertos_mutex
* rtos_examples/freertos_lpuart
* rtos_examples/freertos_event
* rtos_examples/freertos_swtimer
* rtos_examples/freertos_lpi2c
* rtos_examples/freertos_lpspi_b2b/master
* rtos_examples/freertos_lpspi_b2b/slave
* rtos_examples/freertos_lpspi
Additional demos are available as reference code, but require HW/SW customization.
<!--
* demo_apps/power_mode_switch
* driver_examples/enet/txrx_multiring_transfer
* driver_examples/enet/txrx_transfer
* driver_examples/enet/txrx_ptp1588_transfer
* lwip_examples/lwip_ping/bm
* lwip_examples/lwip_ping/freertos
* lwip_examples/lwip_iperf/bm
* lwip_examples/lwip_httpsrv/bm
* lwip_examples/lwip_httpsrv/freertos
* lwip_examples/lwip_tcpecho/bm
* lwip_examples/lwip_tcpecho/freertos
* lwip_examples/lwip_udpecho/bm
* lwip_examples/lwip_udpecho/freertos
* lwip_examples/lwip_dhcp/bm
* lwip_examples/lwip_dhcp/freertos
--><!--
{{#if: {{#var:SOC_HAS_SCU}} |
if needed, RPMSG functionality require applying the following kernel patch for the kernel 4.14.98
 
<pre>
diff --git a/arch/arm64/boot/dts/freescale/fsl-imx8qm-var-som-common.dtsi b/arch/arm64/boot/dts/freescale/fsl-imx8qm-var-som-common.dtsi
index 1814a639d8f0..dcc12eb85c0a 100644
--- a/arch/arm64/boot/dts/freescale/fsl-imx8qm-var-som-common.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-imx8qm-var-som-common.dtsi
@@ -1205,28 +1205,28 @@
};
&intmux_cm40 {
- status = "okay";
+ status = "didabled";
};
&rpmsg{
/*
* 64K for one rpmsg instance:
*/
- vdev-nums = <1>;
- reg = <0x0 0x90000000 0x0 0x10000>;
+ vdev-nums = <2>;
+ reg = <0x0 0x90000000 0x0 0x20000>;
status = "okay";
};
&intmux_cm41 {
- status = "okay";
+ status = "disabled";
};
&rpmsg1{
/*
* 64K for one rpmsg instance:
*/
- vdev-nums = <1>;
- reg = <0x0 0x90100000 0x0 0x10000>;
+ vdev-nums = <2>;
+ reg = <0x0 0x90100000 0x0 0x20000>;
status = "okay";
};
diff --git a/arch/arm64/boot/dts/freescale/fsl-imx8qm-var-spear-common.dtsi b/arch/arm64/boot/dts/freescale/fsl-imx8qm-var-spear-common.dtsi
index 982da0e412f8..5df8783e56aa 100644
--- a/arch/arm64/boot/dts/freescale/fsl-imx8qm-var-spear-common.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-imx8qm-var-spear-common.dtsi
@@ -1357,28 +1357,28 @@
};
&intmux_cm40 {
- status = "okay";
+ status = "disabled";
};
&rpmsg {
/*
* 64K for one rpmsg instance:
*/
- vdev-nums = <1>;
- reg = <0x0 0x90000000 0x0 0x10000>;
+ vdev-nums = <2>;
+ reg = <0x0 0x90000000 0x0 0x20000>;
status = "okay";
};
&intmux_cm41 {
- status = "okay";
+ status = "disabled";
};
&rpmsg1 {
/*
* 64K for one rpmsg instance:
*/
- vdev-nums = <1>;
- reg = <0x0 0x90100000 0x0 0x10000>;
+ vdev-nums = <2>;
+ reg = <0x0 0x90100000 0x0 0x20000>;
status = "okay";
};
</pre>
}}
--><section end=VAR-SOM-MX8_DEMOS_SECTION/>
 
=== NXP Memory types ===
<section begin=VAR-SOM-MX8_MEMORY-TYPES_NXP_SECTION/><!--
-->The SDK allow linking using 2 different memory types: DDR, TCM.
 
Here is available a short summary of memory areas used by Cortex-M4 as described in related linker file.
 
{| class="wikitable"
|-
! scope="col" | memory type
! scope="col" | M4 if
! scope="col" | M4 memory area
! scope="col" | memory lentgh
! scope="col" | linker file
|-
| DDR
| 0
| 0x88000000-0x881FFFFF (code)<br>0x88200000-0x883FFFFF (data)<br>0x88400000-0x887FFFFF (data2)
| 8MB (DDR)
| MIMX8QM6xxxFF_cm4_core0_ddr_ram.ld
|-
| DDR
| 1
| 0x88800000-0x88BFFFFF (code)<br>0x88C00000-0x88FFFFFF (data)<br>0x89000000-0x8FFFFFFF (data2)
| 120MB (DDR)
| MIMX8QM6xxxFF_cm4_core1_ddr_ram.ld
|-
| TCM
| 0
| 0x1FFE0000-0x1FFFFFFF (code)<br>0x20000000-0x2001FFFF (data)<br>0x88000000-0x887FFFFF (data2)
| 256kB (TCM) + 8MB (DDR)
| MIMX8QM6xxxFF_cm4_core0_ram.ld
|-
| TCM
| 1
| 0x1FFE0000-0x1FFFFFFF (code)<br>0x20000000-0x2001FFFF (data)<br>0x88800000-0x8FFFFFFF (data2)
| 256kB (TCM) + 120MB (DDR)
| MIMX8QM6xxxFF_cm4_core1_ram.ld
|-
|}
 
All linker files are locate in the '''armgcc''' folder of each demo.
 
After launching the build_all.sh command the following folder will be created in the armgcc folder
 
* '''ddr_debug''': containing DDR binaries compiled in debug mode (not stripped: symbols available)
* '''ddr_release''': containing DDR binaries compiled in release mode (stripped: no symbols available)
* '''debug''': containing TCM binaries compiled in debug mode (not stripped: symbols available)
* '''release''': containing TCM binaries compiled in release mode (stripped: no symbols available)
<!--
--><section end=VAR-SOM-MX8_MEMORY-TYPES_NXP_SECTION/>
 
=== JTAG ===
<section begin=VAR-SOM-MX8_JTAG_SECTION/><!--
-->The VAR-SOM-MX8 and SPEAR-MX8 exposes JTAG interface via an optional 10-pin header
 
Here is the pinout:
 
{| class="wikitable"
|-
! scope="col" | pin
! scope="col" | signal
! scope="col" | description
! scope="col" | pin
! scope="col" | signal (ball)
! scope="col" | description
|-
| '''1'''
| JTAG_VREF
| JTAG reference voltage (3.3V)
| '''2'''
| JTAG_TMS (AG35)
| JTAG Mode Select
|-
| '''3'''
| GND
| Digital Ground
| '''4'''
| JTAG_TCK (AE31)
| JTAG Clock
|-
| '''5'''
| GND
| Digital Ground
| '''6'''
| JTAG_TDO (AF32)
| JTAG Data Out
|-
| '''7'''
| RTCK
| JTAG Return clock
| '''8'''
| JTAG_TDI (AH34)
| JTAG Data In
|-
| '''9'''
| JTAG_TRST_B_CONN
| JTAG TAP reset
| '''10'''
| JTAG_SRST_B
| JTAG System reset
|-
|}
 
Please refer to SOM datasheet for further details.<!--
--><section end=VAR-SOM-MX8_JTAG_SECTION/>
 
== Releases ==
 
=== mcuxpresso-2.5.2-mx8qm-v1.0 ===
<section begin=MCUXPRESSO_2.5.2_V1.0_VAR-SOM-MX8/><!--
-->{{#vardefine:OS|FreeRTOS}}<!--
-->{{#vardefine:HARDWARE_NAME|VAR-SOM-MX8}}<!--
-->{{#vardefine:SOC_HAS_SCU|true}}<!--
-->{{#vardefine:SOC_HAS_M40_M41|true}}<!--
-->{{#vardefine:RELEASE_NAME|mcuxpresso-2.5.2-mx8qm-v1.0}}<!--
-->{{#vardefine:RELEASE_LINK|MCUXPRESSO_2.5.2_V1.0_VAR-SOM-MX8}}<!--
-->{{#vardefine:YOCTO_RELEASE_LINK|RELEASE_SUMO_V1.2_VAR-SOM-MX8}}<!--
-->{{#vardefine:MCUXPRESSO_VERSION|2.5.2}}<!--
-->{{#vardefine:SDK_PATH|~/var-mcuxpresso}}<!--
-->{{#vardefine:SDK_GIT_URL|https://github.com/varigit/freertos-variscite}}<!--
-->{{#vardefine:SDK_GIT_BRANCH|mcuxpresso_sdk_2.5.x-var01}}<!--
-->{{#vardefine:TOOLCHAIN_URL|https://developer.arm.com/-/media/Files/downloads/gnu-rm/7-2018q2/gcc-arm-none-eabi-7-2018-q2-update-linux.tar.bz2}}<!--
-->{{#vardefine:TOOLCHAIN_BZ2_NAME|gcc-arm-none-eabi-7-2018-q2-update-linux.tar.bz2}}<!--
-->{{#vardefine:TOOLCHAIN_FOLDER|gcc-arm-none-eabi-7-2018-q2-update}}<!--
-->{{#vardefine:BOARD_FOLDER|boards/som_mx8qm}}<!--
-->{{#vardefine:DOCS_FOLDER|docs}}<!--
-->{{#vardefine:PINS_SECTION|VAR-SOM-MX8_PINS_SECTION}}<!--
-->{{#vardefine:DEMOS_SECTION|VAR-SOM-MX8_DEMOS_SECTION}}<!--
-->{{#vardefine:DTBS_SECTION|VAR-SOM-MX8_DTBS_SECTION}}<!--
-->{{#vardefine:MEMORY_TYPES_SECTION|VAR-SOM-MX8_MEMORY-TYPES_NXP_SECTION}}<!--
-->{{#vardefine:JTAG_SECTION|VAR-SOM-MX8_JTAG_SECTION}}<!--
-->{{#vardefine:NXP_USER_GUIDE|Getting Started with MCUXpresso SDK for i.MX 8QuadMax.pdf}}<!--
-->{{#vardefine:NXP_REFERENCE_KIT|IMX8QM-MEK}}<!--
-->{{#vardefine:SCFW_SOC|mx8qm_b0}} <!--
-->{{#vardefine:SCFW_DEFINES_URL|https://github.com/varigit/imx-sc-firmware/blob/1.2.8/src/scfw_export_mx8qm_b0/platform/board/mx8qm_var_som/board.c#L79}} <!--
-->{{#vardefine:SDK_GIT_TAG|som-mx8qm_mcuxpresso-2.5.2_v10}} <!--
-->{{#vardefine:RELEASE_DATE|3/9/2020}} <!--
-->{{#vardefine:SUPPORTED_REV_SOM|v1.1 and higher}} <!--
-->{{#vardefine:SUPPORTED_REV_CARRIER|v1.1 and higher}} <!--
-->{{#vardefine:IMX_MKIMAGE_SOC|iMX8QM}} <!--
--><section end=MCUXPRESSO_2.5.2_V1.0_VAR-SOM-MX8/><!--
-->*HARDWARE_NAME = '''{{#var:HARDWARE_NAME}}'''
*SOC_HAS_SCU = '''{{#var:SOC_HAS_SCU}}'''
*SOC_HAS_M40_M41 = '''{{#var:SOC_HAS_M40_M41}}'''
*RELEASE_NAME = '''{{#var:RELEASE_NAME}}'''
*RELEASE_LINK = '''{{#var:RELEASE_LINK}}'''
*YOCTO_RELEASE_LINK = '''{{#var:YOCTO_RELEASE_LINK}}'''
*MCUXPRESSO_VERSION = '''{{#var:MCUXPRESSO_VERSION}}'''
*SDK_PATH = '''{{#var:SDK_PATH}}'''
*SDK_GIT_URL = '''{{#var:SDK_GIT_URL}}'''
*SDK_GIT_BRANCH = '''{{#var:SDK_GIT_BRANCH}}'''
*TOOLCHAIN_URL = '''{{#var:TOOLCHAIN_URL}}'''
*TOOLCHAIN_BZ2_NAME = '''{{#var:TOOLCHAIN_BZ2_NAME}}'''
*TOOLCHAIN_FOLDER = '''{{#var:TOOLCHAIN_FOLDER}}'''
*BOARD_FOLDER = '''{{#var:BOARD_FOLDER}}'''
*DOCS_FOLDER = '''{{#var:DOCS_FOLDER}}'''
*PINS_SECTION = '''{{#var:PINS_SECTION}}'''
*DEMOS_SECTION = '''{{#var:DEMOS_SECTION}}'''
*DTBS_SECTION = '''{{#var:DTBS_SECTION}}'''
*MEMORY_TYPES_SECTION = '''{{#var:MEMORY_TYPES_SECTION}}'''
*JTAG_SECTION = '''{{#var:JTAG_SECTION}}'''
*NXP_USER_GUIDE = '''{{#var:NXP_USER_GUIDE}}'''
*NXP_REFERENCE_KIT = '''{{#var:NXP_REFERENCE_KIT}}'''
*SCFW_SOC = = '''{{#var:SCFW_SOC}}
*SCFW_DEFINES_URL = = '''{{#var:SCFW_DEFINES_URL}}
*IMX_MKIMAGE_SOC = = '''{{#var:IMX_MKIMAGE_SOC}}
 
=== mcuxpresso-2.8.0-mx8qm-v1.0 ===
<section begin=MCUXPRESSO_2.8.0_V1.0_VAR-SOM-MX8/><!--
-->{{#vardefine:OS|FreeRTOS}}<!--
-->{{#vardefine:HARDWARE_NAME|VAR-SOM-MX8}}<!--
-->{{#vardefine:SOC_HAS_M40_M41|true}}<!--
-->{{#vardefine:RELEASE_NAME|mcuxpresso-2.8.0-mx8qm-v1.0}}<!--
-->{{#vardefine:RELEASE_LINK|MCUXPRESSO_2.8.0_V1.0_VAR-SOM-MX8}}<!--
-->{{#vardefine:YOCTO_RELEASE_LINK|RELEASE_SUMO_V1.2_VAR-SOM-MX8}}<!--
-->{{#vardefine:MCUXPRESSO_VERSION|2.8.0}}<!--
-->{{#vardefine:SDK_PATH|~/var-mcuxpresso}}<!--
-->{{#vardefine:SDK_GIT_URL|https://github.com/varigit/freertos-variscite}}<!--
-->{{#vardefine:SDK_GIT_BRANCH|mcuxpresso_sdk_2.8.x-var01}}<!--
-->{{#vardefine:TOOLCHAIN_URL|https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2020q2/gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2}}<!--
-->{{#vardefine:TOOLCHAIN_BZ2_NAME|gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2}}<!--
-->{{#vardefine:TOOLCHAIN_FOLDER|gcc-arm-none-eabi-9-2020-q2-update}}<!--
-->{{#vardefine:BOARD_FOLDER|boards/som_mx8qm}}<!--
-->{{#vardefine:DOCS_FOLDER|docs}}<!--
-->{{#vardefine:PINS_SECTION|VAR-SOM-MX8_PINS_SECTION}}<!--
-->{{#vardefine:DEMOS_SECTION|VAR-SOM-MX8_DEMOS_SECTION}}<!--
-->{{#vardefine:DTBS_SECTION|VAR-SOM-MX8_DTBS_SECTION}}<!--
-->{{#vardefine:MEMORY_TYPES_SECTION|VAR-SOM-MX8_MEMORY-TYPES_NXP_SECTION}}<!--
-->{{#vardefine:JTAG_SECTION|VAR-SOM-MX8_JTAG_SECTION}}<!--
-->{{#vardefine:NXP_USER_GUIDE|Getting Started with MCUXpresso SDK for MEK-MIMX8QM.pdf}}<!--
-->{{#vardefine:NXP_REFERENCE_KIT|IMX8QM-MEK}}<!--
-->{{#vardefine:SCFW_SOC|mx8qm_b0}} <!--
-->{{#vardefine:SCFW_DEFINES_URL|https://github.com/varigit/imx-sc-firmware/blob/1.2.8/src/scfw_export_mx8qm_b0/platform/board/mx8qm_var_som/board.c#L79}} <!--
-->{{#vardefine:IMX_MKIMAGE_SOC|iMX8QM}} <!--
-->{{#vardefine:SDK_GIT_TAG|som-mx8qm_mcuxpresso-2.8.0_v10}}<!--
-->{{#vardefine:RELEASE_DATE|02/19/2021}}<!--
-->{{#vardefine:SUPPORTED_REV_SOM|v1.1 and higher}} <!--
-->{{#vardefine:SUPPORTED_REV_CARRIER|v1.1 and higher}} <!--
-->{{#vardefine:YOCTO_RELEASE_TAG|dunfell-fslc-5.4-2.1.x-mx8-v1.1}}<!--
--><section end=MCUXPRESSO_2.8.0_V1.0_VAR-SOM-MX8/><!--
-->*HARDWARE_NAME = '''{{#var:HARDWARE_NAME}}'''
*SOC_HAS_SCU = '''{{#var:SOC_HAS_SCU}}'''
*SOC_HAS_M40_M41 = '''{{#var:SOC_HAS_M40_M41}}'''
*RELEASE_NAME = '''{{#var:RELEASE_NAME}}'''
*RELEASE_LINK = '''{{#var:RELEASE_LINK}}'''
*YOCTO_RELEASE_LINK = '''{{#var:YOCTO_RELEASE_LINK}}'''
*MCUXPRESSO_VERSION = '''{{#var:MCUXPRESSO_VERSION}}'''
*SDK_PATH = '''{{#var:SDK_PATH}}'''
*SDK_GIT_URL = '''{{#var:SDK_GIT_URL}}'''
*SDK_GIT_BRANCH = '''{{#var:SDK_GIT_BRANCH}}'''
*TOOLCHAIN_URL = '''{{#var:TOOLCHAIN_URL}}'''
*TOOLCHAIN_BZ2_NAME = '''{{#var:TOOLCHAIN_BZ2_NAME}}'''
*TOOLCHAIN_FOLDER = '''{{#var:TOOLCHAIN_FOLDER}}'''
*BOARD_FOLDER = '''{{#var:BOARD_FOLDER}}'''
*DOCS_FOLDER = '''{{#var:DOCS_FOLDER}}'''
*PINS_SECTION = '''{{#var:PINS_SECTION}}'''
*DEMOS_SECTION = '''{{#var:DEMOS_SECTION}}'''
*DTBS_SECTION = '''{{#var:DTBS_SECTION}}'''
*MEMORY_TYPES_SECTION = '''{{#var:MEMORY_TYPES_SECTION}}'''
*JTAG_SECTION = '''{{#var:JTAG_SECTION}}'''
*NXP_USER_GUIDE = '''{{#var:NXP_USER_GUIDE}}'''
*NXP_REFERENCE_KIT = '''{{#var:NXP_REFERENCE_KIT}}'''
*SCFW_SOC = = '''{{#var:SCFW_SOC}}
*SCFW_DEFINES_URL = = '''{{#var:SCFW_DEFINES_URL}}
*IMX_MKIMAGE_SOC = = '''{{#var:IMX_MKIMAGE_SOC}}
*SDK_GIT_TAG = '''{{#var:SDK_GIT_TAG}}
*RELEASE_DATE = '''{{#var:RELEASE_DATE}}
*SUPPORTED_REV_SOM = '''{{#var:SUPPORTED_REV_SOM}}
*SUPPORTED_REV_CARRIER = '''{{#var:SUPPORTED_REV_CARRIER}}
*YOCTO_RELEASE_TAG = '''{{#var:YOCTO_RELEASE_TAG}}
 
=== mcuxpresso-2.9.0-mx8qm-v1.0 ===
<section begin=MCUXPRESSO_2.9.0_V1.0_VAR-SOM-MX8/><!--
-->{{#vardefine:OS|FreeRTOS}}<!--
-->{{#vardefine:HARDWARE_NAME|VAR-SOM-MX8}}<!--
-->{{#vardefine:SOC_HAS_M40_M41|true}}<!--
-->{{#vardefine:RELEASE_NAME|mcuxpresso-2.9.0-mx8qm-v1.0}}<!--
-->{{#vardefine:RELEASE_LINK|MCUXPRESSO_2.9.0_V1.0_VAR-SOM-MX8}}<!--
-->{{#vardefine:YOCTO_RELEASE_LINK|RELEASE_SUMO_V1.2_VAR-SOM-MX8}}<!--
-->{{#vardefine:MCUXPRESSO_VERSION|2.9.0}}<!--
-->{{#vardefine:SDK_PATH|~/var-mcuxpresso}}<!--
-->{{#vardefine:SDK_GIT_URL|https://github.com/varigit/freertos-variscite}}<!--
-->{{#vardefine:SDK_GIT_BRANCH|mcuxpresso_sdk_2.9.x-var01}}<!--
-->{{#vardefine:TOOLCHAIN_URL|https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2020q2/gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2}}<!--
-->{{#vardefine:TOOLCHAIN_BZ2_NAME|gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2}}<!--
-->{{#vardefine:TOOLCHAIN_FOLDER|gcc-arm-none-eabi-9-2020-q2-update}}<!--
-->{{#vardefine:BOARD_FOLDER|boards/som_mx8qm}}<!--
-->{{#vardefine:DOCS_FOLDER|docs}}<!--
-->{{#vardefine:PINS_SECTION|VAR-SOM-MX8_PINS_SECTION}}<!--
-->{{#vardefine:DEMOS_SECTION|VAR-SOM-MX8_DEMOS_SECTION}}<!--
-->{{#vardefine:DTBS_SECTION|VAR-SOM-MX8_DTBS_SECTION}}<!--
-->{{#vardefine:MEMORY_TYPES_SECTION|VAR-SOM-MX8_MEMORY-TYPES_NXP_SECTION}}<!--
-->{{#vardefine:JTAG_SECTION|VAR-SOM-MX8_JTAG_SECTION}}<!--
-->{{#vardefine:NXP_USER_GUIDE|Getting Started with MCUXpresso SDK for MEK-MIMX8QM.pdf}}<!--
-->{{#vardefine:NXP_REFERENCE_KIT|IMX8QM-MEK}}<!--
-->{{#vardefine:SCFW_SOC|mx8qm_b0}} <!--
-->{{#vardefine:SCFW_DEFINES_URL|https://github.com/varigit/imx-sc-firmware/blob/1.2.8/src/scfw_export_mx8qm_b0/platform/board/mx8qm_var_som/board.c#L79}} <!--
-->{{#vardefine:IMX_MKIMAGE_SOC|iMX8QM}} <!--
-->{{#vardefine:SDK_GIT_TAG|som-mx8qm_mcuxpresso-2.9.0_v10}}<!--
-->{{#vardefine:RELEASE_DATE|03/15/2021}}<!--
-->{{#vardefine:SUPPORTED_REV_SOM|v1.1 and higher}} <!--
-->{{#vardefine:SUPPORTED_REV_CARRIER|v1.1 and higher}} <!--
-->{{#vardefine:YOCTO_RELEASE_TAG|dunfell-fslc-5.4-2.1.x-mx8-v1.1}}<!--
-->{{#vardefine:DEACTIVATE_LMEM_CACHE_PATCH|0002-i.MX8QM-CM40-deactivated-the-LMEM-caches-to-debug-in.patch}}<!--
--><section end=MCUXPRESSO_2.9.0_V1.0_VAR-SOM-MX8/><!--
-->*HARDWARE_NAME = '''{{#var:HARDWARE_NAME}}'''
*SOC_HAS_SCU = '''{{#var:SOC_HAS_SCU}}'''
*SOC_HAS_M40_M41 = '''{{#var:SOC_HAS_M40_M41}}'''
*RELEASE_NAME = '''{{#var:RELEASE_NAME}}'''
*RELEASE_LINK = '''{{#var:RELEASE_LINK}}'''
*YOCTO_RELEASE_LINK = '''{{#var:YOCTO_RELEASE_LINK}}'''
*MCUXPRESSO_VERSION = '''{{#var:MCUXPRESSO_VERSION}}'''
*SDK_PATH = '''{{#var:SDK_PATH}}'''
*SDK_GIT_URL = '''{{#var:SDK_GIT_URL}}'''
*SDK_GIT_BRANCH = '''{{#var:SDK_GIT_BRANCH}}'''
*TOOLCHAIN_URL = '''{{#var:TOOLCHAIN_URL}}'''
*TOOLCHAIN_BZ2_NAME = '''{{#var:TOOLCHAIN_BZ2_NAME}}'''
*TOOLCHAIN_FOLDER = '''{{#var:TOOLCHAIN_FOLDER}}'''
*BOARD_FOLDER = '''{{#var:BOARD_FOLDER}}'''
*DOCS_FOLDER = '''{{#var:DOCS_FOLDER}}'''
*PINS_SECTION = '''{{#var:PINS_SECTION}}'''
*DEMOS_SECTION = '''{{#var:DEMOS_SECTION}}'''
*DTBS_SECTION = '''{{#var:DTBS_SECTION}}'''
*MEMORY_TYPES_SECTION = '''{{#var:MEMORY_TYPES_SECTION}}'''
*JTAG_SECTION = '''{{#var:JTAG_SECTION}}'''
*NXP_USER_GUIDE = '''{{#var:NXP_USER_GUIDE}}'''
*NXP_REFERENCE_KIT = '''{{#var:NXP_REFERENCE_KIT}}'''
*SCFW_SOC = = '''{{#var:SCFW_SOC}}
*SCFW_DEFINES_URL = = '''{{#var:SCFW_DEFINES_URL}}
*IMX_MKIMAGE_SOC = = '''{{#var:IMX_MKIMAGE_SOC}}
*SDK_GIT_TAG = '''{{#var:SDK_GIT_TAG}}
*RELEASE_DATE = '''{{#var:RELEASE_DATE}}
*SUPPORTED_REV_SOM = '''{{#var:SUPPORTED_REV_SOM}}
*SUPPORTED_REV_CARRIER = '''{{#var:SUPPORTED_REV_CARRIER}}
*YOCTO_RELEASE_TAG = '''{{#var:YOCTO_RELEASE_TAG}}
 
<section begin=MCUXPRESSO_GLOBALS/>
<!--
    Set variables for all releases
 
    Cortex M4 or M7:
--> {{#vardefine:CORTEX_M_TYPE | <!--
-->    {{#switch:{{#var:HARDWARE_NAME}} | <!--
-->      VAR-SOM-MX8M-NANO = m7 | <!--
-->      DART-MX8M-PLUS = m7 | <!--
-->      VAR-SOM-MX93 = m33 | <!--
-->      m4 <!--
-->    }} <!--
--> }} <!--
--> {{#vardefine:CORTEX_M_TYPE_UC | <span style="text-transform: uppercase;">{{#var:CORTEX_M_TYPE}}</span>}}<!--
 
 
    SDK SOC_INCLUDE_PATH
--> {{#vardefine:SDK_DEVICE|<!--
-->    {{#switch:{{#var:HARDWARE_NAME}} | <!--
-->      VAR-SOM-MX8M-NANO = MIMX8MN6 | <!--
-->      DART-MX8M-MINI = MIMX8MM6 | <!--
-->      DART-MX8M-PLUS = MIMX8ML8 | <!--
-->      DART-MX8M = MIMX8MQ6 | <!--
-->      VAR-SOM-MX8 = MIMX8QM6 | <!--
-->      VAR-SOM-MX8X = MIMX8QX6 | <!--
-->    }} <!--
--> }} <!--
--> {{#vardefine:SOC_INCLUDE_PATH|{{#var:SDK_PATH}}/freertos-variscite/devices/{{#var:SDK_DEVICE}}}}<!--
--><section end=MCUXPRESSO_GLOBALS/>
{{#var:SOC_INCLUDE_PATH}}
 
 
= VAR-SOM-MX93=
 
== Sections ==
 
=== Available dtbs - VAR-SOM-MX93 ===
<section begin=VAR-SOM-MX93_DTBS_SECTION/><!--
-->To allow the Cortex-M33 to access shared resources without experiencing Linux kernel conflicts, a dedicated device tree must be loaded, by selecting the right version with the symbolic link in the /boot folder of the booting media.<br>
These device trees contain '''m33''' label in their name.
 
 
The below table lists an example dtb blob file name for VAR-SOM-MX93 (on the Symphony Board) with support for the '''M33''' for each kernel version / Yocto release:
 
{| class="wikitable"
|-
! scope="col" | File Name<br/>
! scope="col" | Description<br/>
|-
| style="padding: 5px;"| imx93-var-som-symphony-'''m33'''.dtb
| style="padding: 5px;"| VAR-SOM-MX93 (Rev 2.x+) device tree blob for kernel = 6.1.1 (Yocto Langdale) on Symphony-Board 1.4a and above.
|-
| style="padding: 5px;"| imx93-var-som-1.x-symphony-'''m33'''.dtb
| style="padding: 5px;"| VAR-SOM-MX93 (Rev 1.x) device tree blob for kernel = 6.1.1 (Yocto Langdale) on Symphony-Board 1.4a and above.
|-
|}
 
This device tree disables some of the base device tree nodes in order to avoid conflicts between the Cortex-A55 processors and Cortex-M33.
 
For the full list of device tree blob files, refer to the "Build Results" section in the appropriate wiki page for the specific Yocto/Debian release you are using.<!--
 
--><section end=VAR-SOM-MX93_DTBS_SECTION/>
 
=== Available dtbs - VAR-SOM-MX93/DART-MX93 ===
<section begin=VAR-SOM-MX93_DART-MX93_DTBS_SECTION/><!--
-->To allow the Cortex-M33 to access shared resources without experiencing Linux kernel conflicts, a dedicated device tree must be loaded, by selecting the right version with the symbolic link in the /boot folder of the booting media.<br>
These device trees contain '''m33''' label in their name.
 
 
The below table lists dtb blob file names for VAR-SOM-MX93 (on the Symphony Board) and DART-MX93 (on DT8MCustomBoard) with support for the '''M33''':
 
{| class="wikitable"
|-
! scope="col" | File Name<br/>
! scope="col" | Description<br/>
|-
| style="padding: 5px;"| imx93-var-som-symphony-'''m33'''.dtb
| style="padding: 5px;"| VAR-SOM-MX93 (Rev 2.x+) device tree blob for Symphony-Board 1.4a and above.
|-
| style="padding: 5px;"| imx93-var-dart-dt8mcustomboard-'''m33'''.dtb
| style="padding: 5px;"| DART-MX93 device tree blob for DT8MCustomBoard 2.0 and above.
|-
|}
 
These device trees disable some of the base device tree nodes in order to avoid conflicts between the Cortex-A55 processors and Cortex-M33.
 
For the full list of device tree blob files, refer to the "Build Results" section in the appropriate wiki page for the specific Yocto/Debian release you are using.<!--
 
--><section end=VAR-SOM-MX93_DART-MX93_DTBS_SECTION/>
 
=== Default M33 pins - VAR-SOM-MX93 ===
<section begin=VAR-SOM-MX93_PINS_SECTION/><!--
-->Default M33 pins used by the demos are:
 
{| class="wikitable"
|-
! scope="col" | Function
! scope="col" | SoC balls
! scope="col" | {{#var:HARDWARE_NAME}} Pins
! scope="col" | Symphony Pins
! scope="col" | Notes
|-
| UART7 RX/TX
| M21 / M20
| J1.175 / J1.124
| J18.5 / J18.3
|
|-
| TPM6-CH3 - PWM Output or Input Capture
| W21
| J1.69
| J18.2
|
|-
| CAN1 RX/TX
| J17 / G17
| J1.46 / J1.44
| J16.18 / J16.20, CANL / CANH levels (CAN transceiver mounted!)
| If enabled, CAN devices will no longer visible from Linux
|-
| LPSPI6 CS0/SCK/SDI/SDO
| J21 / K21 / J20 / K20
| J1.39 / J1.43 / J1.41 / J1.45
| J16.4 / J16.2 / J16.6 / J16.8
| If enabled, SPI6 devices will no longer be visible from Linux
|-
| LPI2C7 SCL/SDA
| L21 / L20
| J1.174 / J1.176
| J16.10 / J16.12
| If enabled, I2C7 devices will no longer be visible from Linux
|-
| GPIO GPIO4.28
| U4
| J1.75
| J17.6
| GPIO pin is 1.8V IO level!
|-
|}<!--
--><section end=VAR-SOM-MX93_PINS_SECTION/>
 
=== Default M33 pins - VAR-SOM-MX93/DART-MX93 ===
<section begin=VAR-SOM-MX93_DART-MX93_PINS_SECTION/><!--
-->Default M33 pins used by the demos are:
 
{| class="wikitable"
|-
! scope="col" | Function
! scope="col" | SoC balls
! scope="col" | DART-MX93 Pins
! scope="col" | DT8MCB Pins
! scope="col" | VAR-SOM-MX93 Pins
! scope="col" | Symphony Pins
! scope="col" | Notes
|-
| UART7 RX/TX
| M21 / M20
| J2.87 / J2.89
| J12.11 / J12.13
| J1.175 / J1.124
| J18.5 / J18.3
|
|-
| TPM6-CH3 - PWM Output or Input Capture
| W21
| J2.54
| J13.17
| J1.69
| J18.2
|
|-
| CAN1 RX/TX
| J17 / G17
| J2.56 / J2.50
| J16.9 / J16.7  on DT8MCB rev 2.x, CANL/CANH levels (CAN transceiver mounted!)
| J1.46 / J1.44
| J16.18 / J16.20, CANL / CANH levels (CAN transceiver mounted!)
| If enabled, CAN devices will no longer visible from Linux
|-
| LPSPI5 CS0/SCK/SDI/SDO
| R18 / T21 / R17 / T20
| J2.40 / J2.44 / J2.34 / J2.36
| J13.8 / J13.18 / J13.10 / J13.12
|
|
| If enabled, SPI5 devices will no longer be visible from Linux
|-
| LPSPI6 CS0/SCK/SDI/SDO
| J21 / K21 / J20 / K20
|
|
| J1.39 / J1.43 / J1.41 / J1.45
| J16.4 / J16.2 / J16.6 / J16.8
| If enabled, SPI6 devices will no longer be visible from Linux
|-
| LPI2C5 SCL/SDA
| U20 / U18
| J3.46 / J3.42
| J12.18 / J12.20
|
|
| If enabled, I2C5 devices will no longer be visible from Linux
|-
| LPI2C7 SCL/SDA
| L21 / L20
|
|
| J1.174 / J1.176
| J16.10 / J16.12
| If enabled, I2C7 devices will no longer be visible from Linux
|-
| GPIO GPIO4.01
| AA10
| J1.11
| J12.14
|
|
|
|-
| GPIO GPIO4.28
| U4
|
|
| J1.75
| J17.6
| GPIO pin is 1.8V IO level!
|-
|}<!--
--><section end=VAR-SOM-MX93_DART-MX93_PINS_SECTION/>
 
=== Available Demos ===
<section begin=VAR-SOM-MX93_DEMOS_SECTION/><!--
-->{{#switch: {{#var:RELEASE_NAME}}
| mcuxpresso-2.15.0-mx93-v1.1 =<!--
-->* demo_apps/ethosu_apps_rpmsg
* demo_apps/hello_world
* driver_examples/canfd/interrupt_transfer
* driver_examples/canfd/loopback_transfer
* driver_examples/canfd/loopback
* driver_examples/canfd/ping_pong_buffer_transfer
* driver_examples/edma4/channel_link*
* driver_examples/edma4/interleave_transfer
* driver_examples/edma4/memory_to_memory
* driver_examples/edma4/memory_to_memory_transfer
* driver_examples/edma4/memset
* driver_examples/edma4/wrap_transfer
* driver_examples/flexcan/efifo_interrupt_transfer
* driver_examples/flexcan/interrupt_transfer
* driver_examples/flexcan/loopback_edma_transfer
* driver_examples/flexcan/loopback_transfer
* driver_examples/flexcan/loopback
* driver_examples/flexcan/ping_pong_buffer_transfer
* driver_examples/lpi2c/interrupt_b2b_transfer/master
* driver_examples/lpi2c/interrupt_b2b_transfer/slave
* driver_examples/lpi2c/polling_b2b/master
* driver_examples/lpi2c/polling_b2b/slave
* driver_examples/lpit/chained_channel
* driver_examples/lpit/single_channel
* driver_examples/lpspi/interrupt_b2b/master
* driver_examples/lpspi/interrupt_b2b/slave
* driver_examples/lpspi/interrupt_b2b_transfer/master
* driver_examples/lpspi/interrupt_b2b_transfer/slave
* driver_examples/lpspi/polling_b2b_transfer/master
* driver_examples/lpspi/polling_b2b_transfer/slave
* driver_examples/edma/memory_to_memory
* driver_examples/edma/scatter_gather
* driver_examples/rgpio/led_output
* driver_examples/lptmr
* driver_examples/lpuart/interrupt_rb_transfer
* driver_examples/lpuart/interrupt_transfer
* driver_examples/lpuart/interrupt
* driver_examples/lpuart/polling
* driver_examples/tstmr
* multicore_examples/rpmsg_lite_pingpong_rtos/linux_remote
* multicore_examples/rpmsg_lite_str_echo_rtos
* freertos_examples/freertos_event
* freertos_examples/freertos_generic
* freertos_examples/freertos_hello
* freertos_examples/freertos_mutex
* freertos_examples/freertos_queue
* freertos_examples/freertos_sem
* freertos_examples/freertos_swtimer
<br>
<nowiki>*</nowiki>Not supported on the DART-MX93
<br>
Additional demos may be provided on this platform in a future release.<!--
--> | mcuxpresso-2.15.0-mx93-v1.0 =<!--
-->* demo_apps/ethosu_apps_rpmsg
* demo_apps/hello_world
* driver_examples/canfd/interrupt_transfer
* driver_examples/canfd/loopback_transfer
* driver_examples/canfd/loopback
* driver_examples/canfd/ping_pong_buffer_transfer
* driver_examples/edma4/channel_link*
* driver_examples/edma4/interleave_transfer
* driver_examples/edma4/memory_to_memory
* driver_examples/edma4/memory_to_memory_transfer
* driver_examples/edma4/memset
* driver_examples/edma4/wrap_transfer
* driver_examples/flexcan/efifo_interrupt_transfer
* driver_examples/flexcan/interrupt_transfer
* driver_examples/flexcan/loopback_edma_transfer
* driver_examples/flexcan/loopback_transfer
* driver_examples/flexcan/loopback
* driver_examples/flexcan/ping_pong_buffer_transfer
* driver_examples/lpi2c/interrupt_b2b_transfer/master
* driver_examples/lpi2c/interrupt_b2b_transfer/slave
* driver_examples/lpi2c/polling_b2b/master
* driver_examples/lpi2c/polling_b2b/slave
* driver_examples/lpit/chained_channel
* driver_examples/lpit/single_channel
* driver_examples/lpspi/interrupt_b2b/master
* driver_examples/lpspi/interrupt_b2b/slave
* driver_examples/lpspi/interrupt_b2b_transfer/master
* driver_examples/lpspi/interrupt_b2b_transfer/slave
* driver_examples/lpspi/polling_b2b_transfer/master
* driver_examples/lpspi/polling_b2b_transfer/slave
* driver_examples/edma/memory_to_memory
* driver_examples/edma/scatter_gather
* driver_examples/rgpio/led_output
* driver_examples/lptmr
* driver_examples/lpuart/interrupt_rb_transfer
* driver_examples/lpuart/interrupt_transfer
* driver_examples/lpuart/interrupt
* driver_examples/lpuart/polling
* driver_examples/tstmr
* multicore_examples/rpmsg_lite_pingpong_rtos/linux_remote
* multicore_examples/rpmsg_lite_str_echo_rtos
* freertos_examples/freertos_event
* freertos_examples/freertos_generic
* freertos_examples/freertos_hello
* freertos_examples/freertos_mutex
* freertos_examples/freertos_queue
* freertos_examples/freertos_sem
* freertos_examples/freertos_swtimer
<br>
Additional demos may be provided on this platform in a future release.<!--
--> | mcuxpresso-2.13.1-mx93-v1.0 =<!--
-->* demo_apps/ethosu_apps_rpmsg
* demo_apps/hello_world
* driver_examples/canfd/loopback
* driver_examples/canfd/loopback_transfer
* driver_examples/edma/memory_to_memory
* driver_examples/edma/scatter_gather
* driver_examples/edma4/channel_link
* driver_examples/edma4/interleave_transfer
* driver_examples/edma4/memory_to_memory
* driver_examples/edma4/memory_to_memory_transfer
* driver_examples/edma4/memset
* driver_examples/edma4/ping_pong_transfer
* driver_examples/edma4/scatter_gather
* driver_examples/edma4/wrap_transfer
* driver_examples/flexcan/loopback
* driver_examples/flexcan/loopback_edma_transfer
* driver_examples/flexcan/loopback_transfer
* driver_examples/lpit/chained_channel
* driver_examples/lpit/single_channel
* driver_examples/lptmr
* driver_examples/lpuart/interrupt
* driver_examples/lpuart/interrupt_rb_transfer
* driver_examples/lpuart/interrupt_transfer
* driver_examples/lpuart/polling
* driver_examples/tpm/input_capture
* driver_examples/tpm/output_compare
* driver_examples/tpm/simple_pwm
* driver_examples/tpm/timer
* driver_examples/tstmr
* multicore_examples/rpmsg_lite_pingpong_rtos
* multicore_examples/rpmsg_lite_str_echo_rtos
* rtos_examples/freertos_event
* rtos_examples/freertos_generic
* rtos_examples/freertos_hello
* rtos_examples/freertos_mutex
* rtos_examples/freertos_queue
* rtos_examples/freertos_sem
* rtos_examples/freertos_swtimer
<br>
Additional demos may be provided on this platform in a future release.<!--
--> | #default = <!--
-->* demo_apps/ethosu_apps_rpmsg/ethosu_apps_rpmsg
* demo_apps/hello_world/hello_world
* driver_examples/canfd/efifo_interrupt_transfer/canfd_efifo_interrupt_transfer
* driver_examples/canfd/interrupt_transfer/canfd_interrupt_transfer
* driver_examples/canfd/loopback_transfer/canfd_loopback_transfer
* driver_examples/canfd/loopback/canfd_loopback
* driver_examples/canfd/ping_pong_buffer_transfer/canfd_ping_pong_buffer_transfer
* driver_examples/edma4/channel_link/edma4_channel_link
* driver_examples/edma4/interleave_transfer/edma4_interleave_transfer
* driver_examples/edma4/memory_to_memory/edma4_memory_to_memory
* driver_examples/edma4/memory_to_memory_transfer/edma4_memory_to_memory_transfer
* driver_examples/edma4/memset/edma4_memset
* driver_examples/edma4/ping_pong_transfer/edma4_ping_pong_transfer
* driver_examples/edma4/scatter_gather/edma4_scatter_gather
* driver_examples/edma4/wrap_transfer/edma4_wrap_transfer
* driver_examples/flexcan/efifo_interrupt_transfer/flexcan_efifo_interrupt_transfer
* driver_examples/flexcan/interrupt_transfer/flexcan_interrupt_transfer
* driver_examples/flexcan/loopback_edma_transfer/flexcan_loopback_edma_transfer
* driver_examples/flexcan/loopback_transfer/flexcan_loopback_transfer
* driver_examples/flexcan/loopback/flexcan_loopback
* driver_examples/flexcan/ping_pong_buffer_transfer/flexcan_ping_pong_buffer_transfer
* driver_examples/lpi2c/interrupt_b2b_transfer/master/lpi2c_interrupt_b2b_transfer_master
* driver_examples/lpi2c/interrupt_b2b_transfer/slave/lpi2c_interrupt_b2b_transfer_slave
* driver_examples/lpi2c/polling_b2b/master/lpi2c_polling_b2b_master
* driver_examples/lpi2c/polling_b2b/slave/lpi2c_polling_b2b_slave
* driver_examples/lpit/chained_channel/lpit_chained_channel
* driver_examples/lpit/single_channel/lpit_single_channel
* driver_examples/lpspi/interrupt_b2b/master/lpspi_interrupt_b2b_master
* driver_examples/lpspi/interrupt_b2b/slave/lpspi_interrupt_b2b_slave
* driver_examples/lpspi/interrupt_b2b_transfer/master/lpspi_interrupt_b2b_transfer_master
* driver_examples/lpspi/interrupt_b2b_transfer/slave/lpspi_interrupt_b2b_transfer_slave
* driver_examples/lpspi/polling_b2b/master/lpspi_polling_b2b_master
* driver_examples/lpspi/polling_b2b_transfer/slave/lpspi_polling_b2b_transfer_slave
* driver_examples/edma/memory_to_memory/dma3_memory_to_memory
* driver_examples/edma/scatter_gather/dma3_scatter_gather
* driver_examples/flexcan/loopback_transfer/flexcan_loopback_transfer
* driver_examples/flexcan/loopback/flexcan_loopback
* driver_examples/flexcan/ping_pong_buffer_transfer/flexcan_ping_pong_buffer_transfer
* driver_examples/flexcan/efifo_interrupt_transfer/flexcan_efifo_interrupt_transfer
* driver_examples/flexcan/interrupt_transfer/flexcan_interrupt_transfer
* driver_examples/rgpio/led_output/rgpio_led_output
* driver_examples/lpi2c/polling_b2b/master/lpi2c_polling_b2b_master
* driver_examples/lpi2c/polling_b2b/slave/lpi2c_polling_b2b_slave
* driver_examples/lptmr/lptmr
* driver_examples/lpuart/interrupt_rb_transfer/lpuart_interrupt_rb_transfer
* driver_examples/lpuart/interrupt_transfer/lpuart_interrupt_transfer
* driver_examples/lpuart/interrupt/lpuart_interrupt
* driver_examples/lpuart/polling/lpuart_polling
* driver_examples/tstmr/tstmr
* multicore_examples/rpmsg_lite_pingpong_rtos/linux_remote/rpmsg_lite_pingpong_rtos_linux_remote
* multicore_examples/rpmsg_lite_str_echo_rtos/rpmsg_lite_str_echo_rtos_imxcm33
* rtos_examples/freertos_event/freertos_event
* rtos_examples/freertos_generic/freertos_generic
* rtos_examples/freertos_hello/freertos_hello
* rtos_examples/freertos_lpi2c_b2b/master/freertos_lpi2c_b2b_master
* rtos_examples/freertos_lpi2c_b2b/slave/freertos_lpi2c_b2b_slave
* rtos_examples/freertos_lpspi_b2b/master/freertos_lpspi_b2b_master
* rtos_examples/freertos_lpspi_b2b/slave/freertos_lpspi_b2b_slave
* rtos_examples/freertos_mutex/freertos_mutex
* rtos_examples/freertos_queue/freertos_queue
* rtos_examples/freertos_sem/freertos_sem
* rtos_examples/freertos_swtimer/freertos_swtimer
<br>
Additional demos may be provided on this platform in a future release.
<br><br>
{{note|The Wi-Fi/Bluetooth module interfaces have been disabled in the M33 device tree to not conflict with certain demos, however, if the module is present on your SoM, you should also disable the Wi-Fi service from running in Linux via "systemctl disable variscite-wifi"}}<!--
-->}}
<section end=VAR-SOM-MX93_DEMOS_SECTION/>
 
==Building Using Yocto==
<section begin=VAR-SOM-MX93_BUILDING_USING_YOCTO_SECTION/><!--
-->
In Yocto Dunfell and newer, Variscite provides a Yocto recipe for building and installing firmware into the Yocto image. Note, the examples below apply to the original release of this recipe in Dunfell and thus some of the syntax (such as the overrides) may need to be updated for newer versions.
 
https://github.com/varigit/meta-variscite-fslc/tree/dunfell/recipes-bsp/freertos-variscite
 
This recipe installs the following firmware files:
{{!}}-
{{!}} /boot/cm_<demo name>.bin.debug {{!}}{{!}} TCM {{!}}{{!}} U-Boot
{{!}}-
{{!}} /lib/firmware/cm_<demo name>.elf.debug {{!}}{{!}} TCM {{!}}{{!}} Linux Remoteproc Framework
 
If you have modified freertos-variscite in your own Git repository and kept the same directory structure, you can easily build your custom firmware by creating a bbappend file:
 
$ mkdir -p <your-layer>/recipes-bsp/freertos-variscite
$ nano <your-layer>/recipes-bsp/freertos-variscite/freertos-variscite_2.13.x.bbappend
 
Append '''SRC_URI''' and '''SRCREV''' to use your freertos-variscite Git repository
 
SRC_URI:remove = "git://github.com/varigit/freertos-variscite.git;protocol=git;branch=${MCUXPRESSO_BRANCH};"
SRC_URI:append = " <your Git repository>"
SRCREV = "<your Git commit id>"
 
Append '''CM_DEMOS''' to build your firmware. For example, to build rtos_examples/freertos_hello:
 
CM_DEMOS:append = "rtos_examples/freertos_hello"
 
Rebuild fsl-image-gui:
 
$ bitbake -c cleansstate freertos-variscite && bitbake fsl-image-gui
 
The firmware binary files should now be installed to /boot/ and elf files to /lib/firmware/
<section end=VAR-SOM-MX93_BUILDING_USING_YOCTO_SECTION/>
 
=== Running a demo ===
<section begin=VAR-SOM-MX93_RUNNING_DEMO_SECTION/><!--
-->
== Running a demo from U-Boot ==
 
To assist in loading M33 firmware from U-Boot prior to Linux boot, Variscite has created a dedicated set of U-Boot environment commands.
 
{{note|To allow Cortex-M accessing shared resources without experiencing Linux kernel conflicts, a dedicated device tree must be loaded.}}
 
To enable Cortex-M U-Boot auto-loading:
=> setenv use_m33 yes; saveenv
 
To disable Cortex-M U-Boot auto-loading:
=> setenv use_m33 no; saveenv
 
Note that the Cortex A55s and M33 have a different memory addressing "view" that is documented in the reference manual. Additionally, the bootaux command for the M33 uses secure aliases from the M33's point of view. Thus, two variables must be set properly in order to set the loading address (defaults used in the example below):
=> setenv m33_addr 0x201E0000
=> setenv m33_addr_auxview 0x1FFE0000
=> saveenv
 
To set the name of the Cortex-M binary
=> setenv m33_bin cm_hello_world.bin; saveenv
 
{{note|The .bin file is expected to exist in the directory /boot of the booting media.}}
<br>
After enabling as above, the U-Boot '''boot''' command will handle loading the Cortex-M firmware when the system begins the boot process. For testing, it is possible to invoke the Cortex-M33 boot process manually:
=> run loadm33bin && run runm33bin
 
After booting in Linux, the M33 will be listed as in the "attached" state by remoteproc:
# cat /sys/class/remoteproc/remoteproc0/state
attached
 
 
Additional details and step by step procedure to run each of the demos is available [{{#var:SDK_GIT_URL}}/blob/{{#var:SDK_GIT_BRANCH}}/{{#var:DOCS_FOLDER}}/{{urlencode:{{#var:NXP_USER_GUIDE}}|PATH}} online] or in the following document:
 
{{#var:SDK_PATH}}/freertos-variscite/{{#var:DOCS_FOLDER}}/{{#var:NXP_USER_GUIDE}}
 
{{note|This process can be simplified using /etc/remoteproc/variscite-rproc-u-boot in Linux<br>
Please refer to the Yocto Scripts section below for more information}}
 
== Running a demo from Linux ==
 
The Linux remoteproc framework can be used to load the Cortex-M33 firmware from Linux userspace.
 
{{note|The U-Boot M33 auto-loading must not be currently enabled in order to allow for remoteproc control and loading of the M33.}}
 
Increase kernel loglevel while debugging:
# sysctl kernel.printk=7;
 
If the state is 'running', stop the Cortex-M33
# echo stop > /sys/class/remoteproc/remoteproc0/state
 
Load new firmware
# echo cm_hello_world.elf > /sys/class/remoteproc/remoteproc0/firmware
{{note| The .elf file is expected to exist in the /lib/firmware directory}}
 
Run the new firmware
# echo start > /sys/class/remoteproc/remoteproc0/state
 
{{note|This process can be simplified using /etc/remoteproc/variscite-rproc-linux in Linux<br>
Please refer to the Yocto Scripts section below for more information}}
 
{{note|By default, Linux disables unused clocks. Certain M33 examples may use peripherals which are not enabled in Linux. Depending on the clock source, Linux may disable the clock by default, resulting in the example/peripheral not functioning. Therefore, when running M33 examples, it is recommended to override this. The easiest way to achieve this is to append the bootarg "clk_ignore_unused." }}
 
== Running a Demo using Yocto Scripts ==
 
In Yocto, Variscite provides scripts to simplify loading firmware via U-Boot or Linux:
 
{| class="wikitable"
|-
! Script
! Description
|-
| <span id="yocto_scripts_u_boot">/etc/remoteproc/variscite-rproc-u-boot</span> || Configure U-Boot to load firmware on boot
|-
| <span id="yocto_scripts_rproc">/etc/remoteproc/variscite-rproc-linux</span> || Load and run firmware using Linux remoteproc framework
|}
 
'''Examples'''
 
variscite-rproc-u-boot example on imx93-var-som:
root@imx93-var-som:~# /etc/remoteproc/variscite-rproc-u-boot -f /boot/cm_hello_world.bin.release
Configuring for TCM memory
+ fw_setenv m33_addr 0x201E0000
Cannot read environment, using default
+ fw_setenv fdt_file imx93-var-som-symphony-m33.dtb
+ fw_setenv use_m33 yes
+ fw_setenv m33_bin cm_hello_world.bin.release
+ fw_setenv kernelargs ' clk_ignore_unused'
+ fw_setenv m33_addr_auxview 0x1FFE0000
Finished: Please reboot, the m33 firmware will run during U-Boot
 
variscite-rproc-linux example on imx93-var-som:
root@imx93-var-som:~# /etc/remoteproc/variscite-rproc-linux -f /lib/firmware/cm_hello_world.elf.release
Cortex-M: Loading cm_hello_world.elf.release
Cortex-M: Starting
[  974.434796] remoteproc remoteproc0: powering up imx-rproc
[  974.442420] remoteproc remoteproc0: Booting fw image cm_hello_world.elf.release, size 99776
[  974.451172] remoteproc remoteproc0: header-less resource table
<section end=VAR-SOM-MX93_RUNNING_DEMO_SECTION/>
 
=== NXP Memory types ===
<section begin=VAR-SOM-MX93_MEMORY-TYPES_NXP_SECTION/><!--
-->The SDK currently allows linking only out of TCM.
 
Below is a short summary of memory areas used by Cortex-M33 as described in related linker file:
 
{| class="wikitable"
|-
! scope="col" | Memory Type
! scope="col" | M33 Memory Area
! scope="col" | A55 Memory Area
! scope="col" | Memory Length
! scope="col" | Linker File
|-
| TCM
| 0x0FFE0000 - 0x0FFFFFFF (code)<br>0x20000000 – 0x2001FFFF (data)
| 0x201E0000 – 0x201FFFFF (code)<br>0x20200000 – 0x2021FFFF (data)
| 128kB (Code TCM) + 128kB (System TCM)
| MIMX9352_cm33_ram.ld
|-
|}
 
All linker files are located in the '''armgcc''' folder of each demo. Please consult the linker file for the actual memory used by each demo.
 
After launching the build_all.sh command the following folder will be created in the armgcc folder
 
* '''debug''': containing TCM binaries compiled in debug mode (not stripped: symbols available)
* '''release''': containing TCM binaries compiled in release mode (stripped: no symbols available)
<!--
--><section end=VAR-SOM-MX93_MEMORY-TYPES_NXP_SECTION/>
 
=== JTAG ===
<section begin=VAR-SOM-MX93_JTAG_SECTION/><!--
-->The JTAG interface is not exposed directly on the VAR-SOM-MX93 but the associated signals are exposed via the J1 SOM connector, which are shown in the table below:<br>
 
{| class="wikitable"
|-
! scope="col" | Signal
! scope="col" | SoC balls
! scope="col" | VAR-SOM-MX93 Pins
! scope="col" | Symphony Pins
! scope="col" | Segger Adapter Pins
|-
| TCLK_SWCLK
| Y1
| J1.51
| J18.8
| 9
|-
| TDI
| W1
| J1.53
| J18.6
| 5
|-
| TDO_TRACESWO
| Y2
| J1.52
| J18.4
| 13
|-
| TMS_SWDIO
| W2
| J1.50
| J18.10
| 7
|-
| Vtref
|
| J3.2
| 1
|-
| GND
|
|
| J3.20
| 4
|-
|}
 
{{note|These signals are shared with the Wi-Fi module if present, so usage will require disabling this interface and making any appropriate pin muxing adjustments.<br><br>
Please refer to SoM datasheet for further details.}}
<!--
--><section end=VAR-SOM-MX93_JTAG_SECTION/>
 
<section begin=VAR-SOM-MX93_DART-MX93_JTAG_SECTION/><!--
-->The JTAG interface is not exposed directly on the VAR-SOM-MX93 / DART-MX93 but the associated signals are exposed via the J1 connector for the VAR-SOM-MX93 and via the J2 connector for the DART-MX93. They are shown in the table below:<br>
 
{| class="wikitable"
|-
! scope="col" | Signal
! scope="col" | SoC balls
! scope="col" | VAR-SOM-MX93 Pins
! scope="col" | Symphony Pins
! scope="col" | DART-MX93 Pins
! scope="col" | DT8MCB Pins
! scope="col" | Segger Adapter Pins
|-
| TCLK_SWCLK
| Y1
| J1.51
| J18.8
| J2.26
| J12.7
| 9
|-
| TDI
| W1
| J1.53
| J18.6
| J2.24
| J12.5
| 5
|-
| TDO_TRACESWO
| Y2
| J1.52
| J18.4
| J2.20
| J12.1
| 13
|-
| TMS_SWDIO
| W2
| J1.50
| J18.10
| J2.22
| J12.3
| 7
|-
| Vtref
|
| J3.2
|
| J13.3
| 1
|-
| GND
|
|
| J3.20
|
| J13.4
| 4
|-
|}
 
{{note|For both the DART-MX93 and VAR-SOM-MX93 "WBD" or "WBE" SoMs, the JTAG pins are configured as UART5 signals used by the Wi-Fi/Bluetooth module. To use JTAG, it is necessary to disable this interface and make the necessary pin muxing adjustments. The Cortex-M33 dedicated device trees, as mentioned in the Prerequisites section, already disable the Wi-Fi/Bluetooth module, allowing for JTAG use as described above.<br><br>
Please refer to SoM datasheet for further details.}}
<!--
--><section end=VAR-SOM-MX93_DART-MX93_JTAG_SECTION/>
 
<noinclude>{{:MPC_VAR-SOM-MX93}}</noinclude><includeonly><!--
--><section begin=MCUXPRESSO_2.13.1_V1.0_VAR-SOM-MX93/><!--
-->{{#lst:MPC_VAR-SOM-MX93|MCUXPRESSO_2.13.1_V1.0_VAR-SOM-MX93}}<!--
--><section end=MCUXPRESSO_2.13.1_V1.0_VAR-SOM-MX93/><!--
 
--><section begin=MCUXPRESSO_2.13.1_V1.1_VAR-SOM-MX93/><!--
-->{{#lst:MPC_VAR-SOM-MX93|MCUXPRESSO_2.13.1_V1.0_VAR-SOM-MX93}}<!--
-->{{#lst:MPC_VAR-SOM-MX93|MCUXPRESSO_2.13.1_V1.1_VAR-SOM-MX93}}<!--
--><section end=MCUXPRESSO_2.13.1_V1.1_VAR-SOM-MX93/><!--
 
--><section begin=MCUXPRESSO_2.15.0_V1.0_VAR-SOM-MX93/><!--
-->{{#lst:MPC_VAR-SOM-MX93|MCUXPRESSO_2.15.0_V1.0_VAR-SOM-MX93}}<!--
--><section end=MCUXPRESSO_2.15.0_V1.0_VAR-SOM-MX93/><!--
 
--><section begin=MCUXPRESSO_2.15.0_V1.1_VAR-SOM-MX93/><!--
-->{{#lst:MPC_VAR-SOM-MX93|MCUXPRESSO_2.15.0_V1.0_VAR-SOM-MX93}}<!--
-->{{#lst:MPC_VAR-SOM-MX93|MCUXPRESSO_2.15.0_V1.1_VAR-SOM-MX93}}<!--
--><section end=MCUXPRESSO_2.15.0_V1.1_VAR-SOM-MX93/><!--
-->


    SDK SOC_INCLUDE_PATH
</includeonly>
--> {{#vardefine:SDK_DEVICE|<!--
-->    {{#switch:{{#var:HARDWARE_NAME}} | <!--
-->      VAR-SOM-MX8M-NANO = MIMX8MN6 | <!--
-->      DART-MX8M-MINI = MIMX8MM6 | <!--
-->      DART-MX8M-PLUS = MIMX8ML8 | <!--
-->      DART-MX8M = MIMX8MQ6 | <!--
-->      VAR-SOM-MX8 = MIMX8QM6 | <!--
-->      VAR-SOM-MX8X = MIMX8QX6 | <!--
-->    }} <!--
--> }} <!--
--> {{#vardefine:SOC_INCLUDE_PATH|{{#var:SDK_PATH}}/freertos-variscite/devices/{{#var:SDK_DEVICE}}}}<!--
--><section end=MCUXPRESSO_GLOBALS/>
{{#var:SOC_INCLUDE_PATH}}

Latest revision as of 19:26, 30 October 2024


DART-MX8M

Sections

Available dtbs

To allow Cortex M4 accessing shared resources without experiencing Linux kernel conflicts, a dedicated device tree must be loaded, by selecting the right version with the symbolic link in the /boot folder of the booting media.
These device trees contain m4 label in their name.


The below table lists an example dtb blob file name for DART-MX8M (on DT8MCustomBoard rev. 1.3 and higher) with support for M4 (and SD card and LVDS), for each kernel version / Yocto release:

File Name
Description
imx8mq-var-dart-dt8mcustomboard-m4-sd-lvds.dtb For kernel >= 5.4.85 (Yocto >= Dunfell)
imx8mq-var-dart-m4-sd-lvds.dtb For kernel = 5.4.24 (Yocto Zeus)
fsl-imx8mq-var-dart-m4-sd-lvds.dtb For kernel = 4.19.35 (Yocto Warrior)
Image.gz-fsl-imx8mq-var-dart-m4-sd-lvds.dtb For kernel = 4.14.98 (Yocto Sumo)

For the full list of device tree blob files, refer to the "Build Results" section in the appropriate wiki page for the specific Yocto/Debian release you are using.

Default M4 pins

Default M4 pins used by the demos are:

Function Pin
debug UART (UART2) RX: J12.6 / TX: J12.4
GPIO (GPIO4_IO03) LED7 for DT8MCustomBoard 1.x
U43.2 / R228 for DT8MCustomBoard >= 2.0 (Use Oscilloscope to observe output signal)
I2C (I2C3) SCL: J12.18 / SDA: J12.20
PWM (PWM2) J14.3

Available Demos

  • driver_examples/i2c/interrupt_b2b_transfer/slave
  • driver_examples/i2c/interrupt_b2b_transfer/master
  • driver_examples/i2c/polling_b2b_transfer/slave
  • driver_examples/i2c/polling_b2b_transfer/master
  • driver_examples/wdog
  • driver_examples/gpio/led_output
  • driver_examples/tmu/tmu_monitor_report
  • driver_examples/pwm
  • driver_examples/uart/auto_baudrate_detect
  • driver_examples/uart/interrupt
  • driver_examples/uart/interrupt_rb_transfer
  • driver_examples/uart/polling
  • driver_examples/uart/interrupt_transfer
  • driver_examples/gpt/timer
  • driver_examples/gpt/capture
  • driver_examples/ecspi/ecspi_loopback
  • driver_examples/qspi/polling_transfer
  • driver_examples/rdc
  • driver_examples/sema4/uboot
  • rtos_examples/freertos_ecspi/ecspi_loopback
  • rtos_examples/freertos_hello
  • rtos_examples/freertos_queue
  • rtos_examples/freertos_sem
  • rtos_examples/freertos_generic
  • rtos_examples/freertos_uart
  • rtos_examples/freertos_tickless
  • rtos_examples/freertos_mutex
  • rtos_examples/freertos_event
  • rtos_examples/freertos_swtimer
  • rtos_examples/freertos_i2c
  • cmsis_driver_examples/i2c/int_b2b_transfer/slave
  • cmsis_driver_examples/i2c/int_b2b_transfer/master
  • cmsis_driver_examples/uart/interrupt_transfer
  • cmsis_driver_examples/ecspi/int_loopback_transfer
  • multicore_examples/rpmsg_lite_str_echo_rtos
  • multicore_examples/rpmsg_lite_pingpong_rtos/linux_remote
  • demo_apps/hello_world

Available Demos v2

  • driver_examples/i2c/interrupt_b2b_transfer/slave
  • driver_examples/i2c/interrupt_b2b_transfer/master
  • driver_examples/i2c/polling_b2b_transfer/slave
  • driver_examples/i2c/polling_b2b_transfer/master
  • driver_examples/wdog
  • driver_examples/gpio/led_output
  • driver_examples/tmu/tmu_monitor_report
  • driver_examples/pwm*
  • driver_examples/uart/auto_baudrate_detect
  • driver_examples/uart/interrupt
  • driver_examples/uart/interrupt_rb_transfer
  • driver_examples/uart/polling
  • driver_examples/uart/interrupt_transfer
  • driver_examples/gpt/timer
  • driver_examples/gpt/capture
  • driver_examples/ecspi/ecspi_loopback
  • driver_examples/qspi/polling_transfer
  • driver_examples/rdc
  • driver_examples/sema4/uboot
  • freertos_examples/freertos_hello
  • freertos_examples/freertos_queue
  • freertos_examples/freertos_sem
  • freertos_examples/freertos_generic
  • freertos_examples/freertos_tickless
  • freertos_examples/freertos_mutex
  • freertos_examples/freertos_event
  • freertos_examples/freertos_swtimer
  • cmsis_driver_examples/i2c/int_b2b_transfer/slave
  • cmsis_driver_examples/i2c/int_b2b_transfer/master
  • cmsis_driver_examples/uart/interrupt_transfer
  • cmsis_driver_examples/ecspi/int_loopback_transfer
  • multicore_examples/rpmsg_lite_str_echo_rtos
  • multicore_examples/rpmsg_lite_pingpong_rtos/linux_remote
  • demo_apps/hello_world


*Not supported running from U-Boot


NXP Memory types

The SDK allow linking using 2 different memory types: DDR, TCM.

Here is available a short summary of memory areas used by Cortex-M4 as described in related linker file.

memory type M4 memory area A53 memory area memory lentgh linker file
DDR 0x80000000-0x801FFFFF (code)
0x80200000-0x803FFFFF (data)
0x80400000-0x80FFFFFF (data2)
0x80000000-0x801FFFFF (code)
0x80200000-0x803FFFFF (data)
0x80400000-0x80FFFFFF (data2)
16MB (DDR) MIMX8MQ6xxxJZ_cm4_ddr_ram.ld
TCM 0x1FFE0000-0x1FFFFFFF (code)
0x20000000-0x2001FFFF (data)
0x80000000-0x80FFFFFF (data2)
0x007E0000-0x007FFFFF (code)
0x00800000-0x0081FFFF (data)
0x80000000-0x80FFFFFF (data2)
256kB (TCM) + 16MB (DDR) MIMX8MQ6xxxJZ_cm4_ram.ld

All linker files are locate in the armgcc folder of each demo.

The DDR reserved area must match the one declared in the kernel device tree: at least 2 GB of RAM is required on the SoM to allow Cortex-M4 accessing the range 0x80000000 - 0x80FFFFFF.

The RPMSG area is located at 0xB8000000: at least 3 GB of RAM is required on the SoM to allow Cortex-M4 accessing the RPMSG area. After launching the build_all.sh command the following folder will be created in the armgcc folder

  • ddr_debug: containing DDR binaries compiled in debug mode (not stripped: symbols available)
  • ddr_release: containing DDR binaries compiled in release mode (stripped: no symbols available)
  • debug: containing TCM binaries compiled in debug mode (not stripped: symbols available)
  • release: containing TCM binaries compiled in release mode (stripped: no symbols available)

Further details about memory mapping are available in the following i.MX 8M Applications Processor Reference Manual paragraphs:

  • 2.1.2 Cortex-A53 Memory Map
  • 2.1.3 Cortex-M4 Memory Map

Variscite Memory types

The SDK allow linking using 2 different memory types: DDR, TCM.

Here is available a short summary of memory areas used by Cortex-M4 as described in related linker file.

memory type M4 memory area A53 memory area memory lentgh linker file
DDR 0x7E000000-0x7E1FFFFF (code)
0x7E200000-0x7E3FFFFF (data)
0x7E400000-0x7EFFFFFF (data2)
0x7E000000-0x7E1FFFFF (code)
0x7E200000-0x7E3FFFFF (data)
0x7E400000-0x7EFFFFFF (data2)
16MB (DDR) MIMX8MQ6xxxJZ_cm4_ddr_ram.ld
TCM 0x1FFE0000-0x1FFFFFFF (code)
0x20000000-0x2001FFFF (data)
0x7E000000-0x7EFFFFFF (data2)
0x007E0000-0x007FFFFF (code)
0x00800000-0x0081FFFF (data)
0x7E000000-0x7EFFFFFF (data2)
256kB (TCM) + 16MB (DDR) MIMX8MQ6xxxJZ_cm4_ram.ld

All linker files are locate in the armgcc folder of each demo.

The DDR reserved area must match the one declared in the kernel device tree: at least 1 GB of RAM is required on the SoM to allow Cortex-M4 accessing the range 0x7E000000 - 0x7EFFFFFF. For some reason, Cortex-M4 is not able to access RAM locations below 0x60000000: SoMs with 512 MB of RAM are not suitable to use Cortex-M4.

The RPMSG area is located at 0x40000000: all SoMs allow Cortex-M4 accessing the RPMSG area.

After launching the build_all.sh command the following folder will be created in the armgcc folder

  • ddr_debug: containing DDR binaries compiled in debug mode (not stripped: symbols available)
  • ddr_release: containing DDR binaries compiled in release mode (stripped: no symbols available)
  • debug: containing TCM binaries compiled in debug mode (not stripped: symbols available)
  • release: containing TCM binaries compiled in release mode (stripped: no symbols available)

Further details about memory mapping are available in the following i.MX 8M Applications Processor Reference Manual paragraphs:

  • 2.1.2 Cortex-A53 Memory Map
  • 2.1.3 Cortex-M4 Memory Map

JTAG

The VAR-DT8MCustomBoard exports the DART-MX8M JTAG signals through J29, a standard 1.27" 10 pin header.

Here is the pinout:

pin signal description pin signal description
1 JTAG_VREF JTAG IO reference voltage,
connects to SOM_NVCC_3V3.
2 JTAG_TMS JTAG Mode Select signal
3 GND Digital Ground 4 JTAG_TCK JTAG Clock signal,
requires 10K pull down.
5 GND Digital Ground 6 JTAG_TDO JTAG Data Out signal
7 GND Digital Ground 8 JTAG_TDI JTAG Data In signal
9 JTAG_NTRST_C JTAG Reset signal 10 NRST_CON Programmer Reset,
used to put the SOC in reset state.

Please refer to board schematics for further details.

Releases

mcuxpresso-2.5.1-mx8mq-v1.0

  • HARDWARE_NAME = DART-MX8M
  • RELEASE_NAME = mcuxpresso-2.5.1-mx8mq-v1.0
  • RELEASE_LINK = MCUXPRESSO_2.5.1_V1.0_DART-MX8M
  • MCUXPRESSO_VERSION = 2.5.1
  • SDK_PATH = ~/var-mcuxpresso
  • SDK_GIT_URL = https://github.com/varigit/freertos-variscite
  • SDK_GIT_BRANCH = mcuxpresso_sdk_2.5.x-var01
  • TOOLCHAIN_URL = https://developer.arm.com/-/media/Files/downloads/gnu-rm/7-2018q2/gcc-arm-none-eabi-7-2018-q2-update-linux.tar.bz2
  • TOOLCHAIN_BZ2_NAME = gcc-arm-none-eabi-7-2018-q2-update-linux.tar.bz2
  • TOOLCHAIN_FOLDER = gcc-arm-none-eabi-7-2018-q2-update
  • BOARD_FOLDER = boards/dart_mx8mq
  • DOCS_FOLDER = docs
  • PINS_SECTION = DART-MX8M_PINS_SECTION
  • DEMOS_SECTION = DART-MX8M_DEMOS_SECTION
  • DTBS_SECTION = DART-MX8M_DTBS_SECTION
  • MEMORY_TYPES_SECTION = DART-MX8M_MEMORY-TYPES_NXP_SECTION
  • JTAG_SECTION = DART-MX8M_JTAG_SECTION
  • NXP_USER_GUIDE = Getting Started with MCUXpresso SDK i.MX 8M Devices.pdf
  • NXP_REFERENCE_KIT = EVK-MIMX8MQ

mcuxpresso-2.5.1-mx8mq-v1.1

   *HARDWARE_NAME = DART-MX8M
  • RELEASE_NAME = mcuxpresso-2.5.1-mx8mq-v1.1
  • RELEASE_LINK = MCUXPRESSO_2.5.1_V1.1_DART-MX8M
  • MCUXPRESSO_VERSION = 2.5.1
  • SDK_PATH = ~/var-mcuxpresso
  • SDK_GIT_URL = https://github.com/varigit/freertos-variscite
  • SDK_GIT_BRANCH = mcuxpresso_sdk_2.5.x-var01
  • TOOLCHAIN_URL = https://developer.arm.com/-/media/Files/downloads/gnu-rm/7-2018q2/gcc-arm-none-eabi-7-2018-q2-update-linux.tar.bz2
  • TOOLCHAIN_BZ2_NAME = gcc-arm-none-eabi-7-2018-q2-update-linux.tar.bz2
  • TOOLCHAIN_FOLDER = gcc-arm-none-eabi-7-2018-q2-update
  • BOARD_FOLDER = boards/dart_mx8mq
  • DOCS_FOLDER = docs
  • PINS_SECTION = DART-MX8M_PINS_SECTION
  • DEMOS_SECTION = DART-MX8M_DEMOS_SECTION
  • DTBS_SECTION = DART-MX8M_DTBS_SECTION
  • MEMORY_TYPES_SECTION = DART-MX8M_MEMORY-TYPES_VAR_SECTION
  • JTAG_SECTION = DART-MX8M_JTAG_SECTION
  • NXP_USER_GUIDE = Getting Started with MCUXpresso SDK i.MX 8M Devices.pdf
  • NXP_REFERENCE_KIT = EVK-MIMX8MQ

mcuxpresso-2.8.0-mx8mq-v1.0

 *HARDWARE_NAME = DART-MX8M
  • RELEASE_NAME = mcuxpresso-2.8.0-mx8mq-v1.0
  • RELEASE_LINK = MCUXPRESSO_2.8.0_V1.0_DART-MX8M
  • MCUXPRESSO_VERSION = 2.8.0
  • SDK_PATH = ~/var-mcuxpresso
  • SDK_GIT_URL = https://github.com/varigit/freertos-variscite
  • SDK_GIT_BRANCH = mcuxpresso_sdk_2.8.x-var01
  • TOOLCHAIN_URL = https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2020q2/gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2
  • TOOLCHAIN_BZ2_NAME = gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2
  • TOOLCHAIN_FOLDER = gcc-arm-none-eabi-9-2020-q2-update
  • BOARD_FOLDER = boards/dart_mx8mq
  • DOCS_FOLDER = docs
  • PINS_SECTION = DART-MX8M_PINS_SECTION
  • DEMOS_SECTION = DART-MX8M_DEMOS_SECTION
  • DTBS_SECTION = DART-MX8M_DTBS_SECTION
  • MEMORY_TYPES_SECTION = DART-MX8M_MEMORY-TYPES_VAR_SECTION
  • JTAG_SECTION = DART-MX8M_JTAG_SECTION
  • NXP_USER_GUIDE = Getting Started with MCUXpresso SDK for EVK-MIMX8MQ.pdf
  • NXP_REFERENCE_KIT = EVK-MIMX8MQ

mcuxpresso-2.9.0-mx8mq-v1.0

 *HARDWARE_NAME = DART-MX8M
  • RELEASE_NAME = mcuxpresso-2.9.0-mx8mq-v1.0
  • RELEASE_LINK = MCUXPRESSO_2.9.0_V1.0_DART-MX8M
  • MCUXPRESSO_VERSION = 2.9.0
  • SDK_PATH = ~/var-mcuxpresso
  • SDK_GIT_URL = https://github.com/varigit/freertos-variscite
  • SDK_GIT_BRANCH = mcuxpresso_sdk_2.9.x-var01
  • TOOLCHAIN_URL = https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2020q2/gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2
  • TOOLCHAIN_BZ2_NAME = gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2
  • TOOLCHAIN_FOLDER = gcc-arm-none-eabi-9-2020-q2-update
  • BOARD_FOLDER = boards/dart_mx8mq
  • DOCS_FOLDER = docs
  • PINS_SECTION = DART-MX8M_PINS_SECTION
  • DEMOS_SECTION = DART-MX8M_DEMOS_SECTION
  • DTBS_SECTION = DART-MX8M_DTBS_SECTION
  • MEMORY_TYPES_SECTION = DART-MX8M_MEMORY-TYPES_VAR_SECTION
  • JTAG_SECTION = DART-MX8M_JTAG_SECTION
  • NXP_USER_GUIDE = Getting Started with MCUXpresso SDK for EVK-MIMX8MQ.pdf
  • NXP_REFERENCE_KIT = EVK-MIMX8MQ
  • YOCTO_RELEASE_TAG = dunfell-fslc-5.4-2.1.x-mx8mq-v1.0

mcuxpresso-2.10.0-mx8mq-v1.0

 *HARDWARE_NAME = DART-MX8M
  • RELEASE_NAME = mcuxpresso-2.10.0-mx8mq-v1.0
  • RELEASE_LINK = MCUXPRESSO_2.10.0_V1.0_DART-MX8M
  • MCUXPRESSO_VERSION = 2.10.0
  • SDK_PATH = ~/var-mcuxpresso
  • SDK_GIT_URL = https://github.com/varigit/freertos-variscite
  • SDK_GIT_BRANCH = mcuxpresso_sdk_2.10.x-var01
  • TOOLCHAIN_URL = https://developer.arm.com/-/media/Files/downloads/gnu-rm/10-2020q4/gcc-arm-none-eabi-10-2020-q4-major-x86_64-linux.tar.bz2
  • TOOLCHAIN_BZ2_NAME = gcc-arm-none-eabi-10-2020-q4-major-x86_64-linux.tar.bz2
  • TOOLCHAIN_FOLDER = gcc-arm-none-eabi-10-2020-q4-major
  • BOARD_FOLDER = boards/dart_mx8mq
  • DOCS_FOLDER = docs
  • PINS_SECTION = DART-MX8M_PINS_SECTION
  • DEMOS_SECTION = DART-MX8M_DEMOS_SECTION
  • DTBS_SECTION = DART-MX8M_DTBS_SECTION
  • MEMORY_TYPES_SECTION = DART-MX8M_MEMORY-TYPES_VAR_SECTION
  • JTAG_SECTION = DART-MX8M_JTAG_SECTION
  • NXP_USER_GUIDE = Getting Started with MCUXpresso SDK for EVK-MIMX8MQ.pdf
  • NXP_REFERENCE_KIT = EVK-MIMX8MQ
  • YOCTO_RELEASE_TAG = dunfell-fslc-5.4-2.1.x-mx8mq-v1.3
  • DEACTIVATE_LMEM_CACHE_PATCH = 0001-iMX8MQ-deactivated-the-LMEM-caches-to-debug-in-exter.patch
  • BOARD_SDK = dart_mx8mq

mcuxpresso-2.11.1-mx8mq-v1.0

 *HARDWARE_NAME = DART-MX8M
  • RELEASE_NAME = mcuxpresso-2.11.1-mx8mq-v1.0
  • RELEASE_LINK = MCUXPRESSO_2.11.1_V1.0_DART-MX8M
  • MCUXPRESSO_VERSION = 2.11.1
  • SDK_PATH = ~/var-mcuxpresso
  • SDK_GIT_URL = https://github.com/varigit/freertos-variscite
  • SDK_GIT_BRANCH = mcuxpresso_sdk_2.11.x-var01
  • TOOLCHAIN_URL = https://developer.arm.com/-/media/Files/downloads/gnu-rm/10.3-2021.07/gcc-arm-none-eabi-10.3-2021.07-x86_64-linux.tar.bz2
  • TOOLCHAIN_BZ2_NAME = gcc-arm-none-eabi-10.3-2021.07-x86_64-linux.tar.bz2
  • TOOLCHAIN_FOLDER = gcc-arm-none-eabi-10.3-2021.07
  • BOARD_FOLDER = boards/dart_mx8mq
  • DOCS_FOLDER = docs
  • PINS_SECTION = DART-MX8M_PINS_SECTION
  • DEMOS_SECTION = DART-MX8M_DEMOS_SECTION
  • DTBS_SECTION = DART-MX8M_DTBS_SECTION
  • MEMORY_TYPES_SECTION = DART-MX8M_MEMORY-TYPES_VAR_SECTION
  • JTAG_SECTION = DART-MX8M_JTAG_SECTION
  • NXP_USER_GUIDE = Getting Started with MCUXpresso SDK for EVK-MIMX8MQ.pdf
  • NXP_REFERENCE_KIT = EVK-MIMX8MQ
  • YOCTO_RELEASE_TAG = dunfell-fslc-5.4-2.1.x-mx8mq-v1.5
  • DEACTIVATE_LMEM_CACHE_PATCH = 0001-iMX8MQ-deactivated-the-LMEM-caches-to-debug-in-exter.patch
  • BOARD_SDK = dart_mx8mq

mcuxpresso-2.12.1-mx8mq-v1.0

 *HARDWARE_NAME = DART-MX8M
  • RELEASE_NAME = mcuxpresso-2.12.1-mx8mq-v1.0
  • RELEASE_LINK = MCUXPRESSO_2.12.1_V1.0_DART-MX8M
  • MCUXPRESSO_VERSION = 2.12.1
  • SDK_PATH = ~/var-mcuxpresso
  • SDK_GIT_URL = https://github.com/varigit/freertos-variscite
  • SDK_GIT_BRANCH = mcuxpresso_sdk_2.12.x-var01
  • TOOLCHAIN_URL = https://developer.arm.com/-/media/Files/downloads/gnu-rm/10.3-2021.10/gcc-arm-none-eabi-10.3-2021.10-x86_64-linux.tar.bz2
  • TOOLCHAIN_BZ2_NAME = gcc-arm-none-eabi-10.3-2021.10-x86_64-linux.tar.bz2
  • TOOLCHAIN_FOLDER = gcc-arm-none-eabi-10.3-2021.10
  • BOARD_FOLDER = boards/dart_mx8mq
  • DOCS_FOLDER = docs
  • PINS_SECTION = DART-MX8M_PINS_SECTION
  • DEMOS_SECTION = DART-MX8M_DEMOS_SECTION
  • DTBS_SECTION = DART-MX8M_DTBS_SECTION
  • MEMORY_TYPES_SECTION = DART-MX8M_MEMORY-TYPES_VAR_SECTION
  • JTAG_SECTION = DART-MX8M_JTAG_SECTION
  • NXP_USER_GUIDE = Getting Started with MCUXpresso SDK for EVK-MIMX8MQ.pdf
  • NXP_REFERENCE_KIT = EVK-MIMX8MQ
  • YOCTO_RELEASE_TAG = mx8m-yocto-kirkstone-5.15-2.0.x-v1.0
  • DEACTIVATE_LMEM_CACHE_PATCH = 0001-iMX8MQ-deactivated-the-LMEM-caches-to-debug-in-exter.patch
  • BOARD_SDK = dart_mx8mq

mcuxpresso-2.13.0-mx8mq-v1.0

 *HARDWARE_NAME = DART-MX8M
  • RELEASE_NAME = mcuxpresso-2.13.0-mx8mq-v1.0
  • RELEASE_LINK = MCUXPRESSO_2.13.0_V1.0_DART-MX8M
  • MCUXPRESSO_VERSION = 2.13.0
  • SDK_PATH = ~/var-mcuxpresso
  • SDK_GIT_URL = https://github.com/varigit/freertos-variscite
  • SDK_GIT_BRANCH = mcuxpresso_sdk_2.13.x-var01
  • TOOLCHAIN_URL = https://developer.arm.com/-/media/Files/downloads/gnu-rm/10.3-2021.10/gcc-arm-none-eabi-10.3-2021.10-x86_64-linux.tar.bz2
  • TOOLCHAIN_BZ2_NAME = gcc-arm-none-eabi-10.3-2021.10-x86_64-linux.tar.bz2
  • TOOLCHAIN_FOLDER = gcc-arm-none-eabi-10.3-2021.10
  • BOARD_FOLDER = boards/dart_mx8mq
  • DOCS_FOLDER = docs
  • PINS_SECTION = DART-MX8M_PINS_SECTION
  • DEMOS_SECTION = DART-MX8M_DEMOS_SECTION
  • DTBS_SECTION = DART-MX8M_DTBS_SECTION
  • MEMORY_TYPES_SECTION = DART-MX8M_MEMORY-TYPES_VAR_SECTION
  • JTAG_SECTION = DART-MX8M_JTAG_SECTION
  • NXP_USER_GUIDE = Getting Started with MCUXpresso SDK for EVK-MIMX8MQ.pdf
  • NXP_REFERENCE_KIT = EVK-MIMX8MQ
  • YOCTO_RELEASE_TAG = mx8m-yocto-kirkstone-5.15-2.0.x-v1.2
  • DEACTIVATE_LMEM_CACHE_PATCH = 0001-iMX8MQ-deactivated-the-LMEM-caches-to-debug-in-exter.patch
  • BOARD_SDK = dart_mx8mq

mcuxpresso-2.15.0-mx8mq-v1.0

 *HARDWARE_NAME = DART-MX8M
  • RELEASE_NAME = mcuxpresso-2.15.0-mx8mq-v1.0
  • RELEASE_LINK = MCUXPRESSO_2.15.0_V1.0_DART-MX8M
  • MCUXPRESSO_VERSION = 2.15.0
  • SDK_PATH = ~/var-mcuxpresso
  • SDK_GIT_URL = https://github.com/varigit/freertos-variscite
  • SDK_GIT_BRANCH = mcuxpresso_sdk_2.15.x-var01
  • TOOLCHAIN_URL = https://developer.arm.com/-/media/Files/downloads/gnu/12.3.rel1/binrel/arm-gnu-toolchain-12.3.rel1-x86_64-arm-none-eabi.tar.xz
  • TOOLCHAIN_BZ2_NAME = arm-gnu-toolchain-12.3.rel1-x86_64-arm-none-eabi.tar.xz
  • TOOLCHAIN_FOLDER = arm-gnu-toolchain-12.3.rel1-x86_64-arm-none-eabi
  • BOARD_FOLDER = boards/dart_mx8mq
  • DOCS_FOLDER = docs
  • PINS_SECTION = DART-MX8M_PINS_SECTION
  • DEMOS_SECTION = DART-MX8M_DEMOS_SECTION_V2
  • DTBS_SECTION = DART-MX8M_DTBS_SECTION
  • MEMORY_TYPES_SECTION = DART-MX8M_MEMORY-TYPES_VAR_SECTION
  • JTAG_SECTION = DART-MX8M_JTAG_SECTION
  • NXP_USER_GUIDE = Getting Started with MCUXpresso SDK for EVK-MIMX8MQ.pdf
  • NXP_REFERENCE_KIT = EVK-MIMX8MQ
  • YOCTO_RELEASE_TAG = mx8m-yocto-mickledore-6.1.36_2.1.0-v1.0
  • DEACTIVATE_LMEM_CACHE_PATCH = 0001-iMX8MQ-deactivated-the-LMEM-caches-to-debug-in-exter.patch
  • BOARD_SDK = dart_mx8mq

DART-MX8M-MINI

Sections

Available dtbs

To allow Cortex M4 accessing shared resources without experiencing Linux kernel conflicts, a dedicated device tree must be loaded, containing m4 label in the name, using the fdt_file environment variable in U-Boot.

This device tree disables some of the base device tree nodes in order to avoid conflicts between the main processor and Cortex M4.

File Name
Description
imx8mm-var-dart-dt8mcustomboard-m4.dtb DART-MX8M-MINI device tree blob for kernel >= 5.4.74 (Yocto Dunfell)
imx8mm-var-dart-m4.dtb DART-MX8M-MINI device tree blob for kernel 5.4.3 (Yocto Zeus) on SOM rev. > 1.0
fsl-imx8mm-var-dart-m4.dtb DART-MX8M-MINI device tree blob for in kernels < 5.4.3 on SOM rev. > 1.0
imx8mm-var-som-symphony-m4.dtb VAR-SOM-MX8M-MINI device tree blob for kernel >= 5.4.74 (Yocto Dunfell) on Symphony-Board 1.4a and above
imx8mm-var-som-symphony-legacy-m4.dtb VAR-SOM-MX8M-MINI device tree blob for kernel >= 5.4.74 (Yocto Dunfell) on Symphony-Board 1.4 and below
imx8mm-var-som-m4.dtb VAR-SOM-MX8M-MINI device tree blob for kernel 5.4.3 (Yocto Zeus) on SOM rev. > 1.0
imx8mm-var-som-rev10-m4.dtb VAR-SOM-MX8M-MINI device tree blob for kernel 5.4.3 (Yocto Zeus) on SOM rev. 1.0
fsl-imx8mm-var-som-m4.dtb VAR-SOM-MX8M-MINI device tree blob for in kernels < 5.4.3 on SOM rev. > 1.0
fsl-imx8mm-var-som-rev10-m4.dtb VAR-SOM-MX8M-MINI device tree blob for in kernels < 5.4.3 on SOM rev. 1.0


Default M4 pins

Default M4 pins used by the demos are:

Function Pin
Debug UART (UART2) RX: J12.6 / TX: J12.4
GPIO (GPIO4_IO03) LED7
I2C (I2C4) SCL: J12.17 / SDA: J12.19
PWM (PWM2) J14.3

Default M4 pins v2

Default M4 pins used by the demos are:

Function SoC balls DART-MX8M-MINI pins DT8MCB pins VAR-SOM-MX8M-MINI pins Symphony pins Notes
UART3 RX/TX E18 / D18 J2.87 / J2.89 J12.11 / J12.13 J1.175 / J1.124 J18.5 / J18.3
GPIO4_IO03 AF15 J2.59 GPLED1 J1.84 J17.3 The led_output demo makes the GPLED1 blink for only DT8MCustomBoard 1.x, use the scope on one of the following test points for DT8MCustomBoard >= 2.x (U43.2/R228/MIPI-CSI pin 20)
I2C4 SCL/SDA D13 / E13 J1.17 / J1.19 J12.17/ J12.19 J1.174 / J1.176 J16.10 / J16.12
PWM3 AF9 J3.36 J14.7 J1.69 J18.2
SPI1 CS0/SCK/SDI/SDO B6 / D6 / A7 / B7 J2.79 / J2.77 / J2.81 / J2.83 J16.4/ J16.2 / J16.8 / J16.6 J1.39 / J1.43 / J1.41 / J1.45 J16.4/ J16.2 / J16.6 / J16.8 Enabling it SPI devices will be no longer visible from Linux

Available Demos

  • driver_examples/i2c/interrupt_b2b_transfer/slave
  • driver_examples/i2c/interrupt_b2b_transfer/master
  • driver_examples/i2c/polling_b2b_transfer/slave
  • driver_examples/i2c/polling_b2b_transfer/master
  • driver_examples/wdog
  • driver_examples/sdma/scatter_gather
  • driver_examples/sdma/memory_to_memory
  • driver_examples/gpio/led_output
  • driver_examples/pwm
  • driver_examples/uart/auto_baudrate_detect
  • driver_examples/uart/interrupt
  • driver_examples/uart/idle_detect_sdma_transfer
  • driver_examples/uart/interrupt_rb_transfer
  • driver_examples/uart/sdma_transfer
  • driver_examples/uart/polling
  • driver_examples/uart/interrupt_transfer
  • driver_examples/gpt/timer
  • driver_examples/gpt/capture
  • driver_examples/ecspi/ecspi_loopback
  • driver_examples/ecspi/interrupt_b2b_transfer/slave
  • driver_examples/ecspi/interrupt_b2b_transfer/master
  • driver_examples/ecspi/polling_b2b_transfer/slave
  • driver_examples/ecspi/polling_b2b_transfer/master
  • driver_examples/rdc
  • driver_examples/tmu_1/monitor_threshold
  • driver_examples/tmu_1/temperature_polling
  • driver_examples/sema4/uboot
  • rtos_examples/freertos_ecspi/ecspi_loopback
  • rtos_examples/freertos_hello
  • rtos_examples/freertos_queue
  • rtos_examples/freertos_sem
  • rtos_examples/freertos_generic
  • rtos_examples/freertos_uart
  • rtos_examples/freertos_tickless
  • rtos_examples/freertos_mutex
  • rtos_examples/freertos_event
  • rtos_examples/freertos_swtimer
  • rtos_examples/freertos_i2c
  • cmsis_driver_examples/i2c/int_b2b_transfer/slave
  • cmsis_driver_examples/i2c/int_b2b_transfer/master
  • cmsis_driver_examples/uart/sdma_transfer
  • cmsis_driver_examples/uart/interrupt_transfer
  • cmsis_driver_examples/ecspi/int_loopback_transfer
  • cmsis_driver_examples/ecspi/sdma_loopback_transfer
  • multicore_examples/rpmsg_lite_str_echo_rtos
  • multicore_examples/rpmsg_lite_pingpong_rtos/linux_remote
  • demo_apps/hello_world

Available Demos v2

  • driver_examples/i2c/interrupt_b2b_transfer/slave
  • driver_examples/i2c/interrupt_b2b_transfer/master
  • driver_examples/i2c/polling_b2b_transfer/slave
  • driver_examples/i2c/polling_b2b_transfer/master
  • driver_examples/wdog
  • driver_examples/sdma/scatter_gather
  • driver_examples/sdma/memory_to_memory
  • driver_examples/gpio/led_output
  • driver_examples/pwm
  • driver_examples/uart/auto_baudrate_detect
  • driver_examples/uart/interrupt
  • driver_examples/uart/idle_detect_sdma_transfer
  • driver_examples/uart/interrupt_rb_transfer
  • driver_examples/uart/sdma_transfer
  • driver_examples/uart/polling
  • driver_examples/uart/interrupt_transfer
  • driver_examples/gpt/timer
  • driver_examples/gpt/capture
  • driver_examples/ecspi/ecspi_loopback
  • driver_examples/ecspi/interrupt_b2b_transfer/slave
  • driver_examples/ecspi/interrupt_b2b_transfer/master
  • driver_examples/ecspi/polling_b2b_transfer/slave
  • driver_examples/ecspi/polling_b2b_transfer/master
  • driver_examples/rdc
  • driver_examples/tmu_1/monitor_threshold
  • driver_examples/tmu_1/temperature_polling
  • driver_examples/sema4/uboot
  • freertos_examples/freertos_hello
  • freertos_examples/freertos_queue
  • freertos_examples/freertos_sem
  • freertos_examples/freertos_generic
  • freertos_examples/freertos_tickless
  • freertos_examples/freertos_mutex
  • freertos_examples/freertos_event
  • freertos_examples/freertos_swtimer
  • cmsis_driver_examples/i2c/int_b2b_transfer/slave
  • cmsis_driver_examples/i2c/int_b2b_transfer/master
  • cmsis_driver_examples/uart/sdma_transfer
  • cmsis_driver_examples/uart/interrupt_transfer
  • cmsis_driver_examples/ecspi/int_loopback_transfer
  • cmsis_driver_examples/ecspi/sdma_loopback_transfer
  • multicore_examples/rpmsg_lite_str_echo_rtos
  • multicore_examples/rpmsg_lite_pingpong_rtos/linux_remote
  • demo_apps/hello_world

Variscite Memory types

The SDK allow linking using 2 different memory types: DDR, TCM.

Here is available a short summary of memory areas used by Cortex-M4 as described in related linker file.

memory type M4 memory area A53 memory area memory lentgh linker file
DDR 0x7E000000-0x7E1FFFFF (code)
0x7E200000-0x7E3FFFFF (data)
0x7E400000-0x7EFFFFFF (data2)
0x7E000000-0x7E1FFFFF (code)
0x7E200000-0x7E3FFFFF (data)
0x7E400000-0x7EFFFFFF (data2)
16MB (DDR) MIMX8MM6xxxxx_cm4_ddr_ram.ld
TCM 0x1FFE0000-0x1FFFFFFF (code)
0x20000000-0x2001FFFF (data)
0x7E000000-0x7EFFFFFF (data2)
0x007E0000-0x007FFFFF (code)
0x00800000-0x0081FFFF (data)
0x7E000000-0x7EFFFFFF (data2)
256kB (TCM) + 16MB (DDR) MIMX8MM6xxxxx_cm4_ram.ld

All linker files are locate in the armgcc folder of each demo.

The DDR reserved area must match the one declared in the kernel device tree: at least 1 GB of RAM is required on the SoM to allow Cortex-M4 accessing the range 0x7E000000 - 0x7EFFFFFF. For some reason, Cortex-M4 is not able to access RAM locations below 0x60000000: SoMs with 512 MB of RAM are not suitable to use Cortex-M4.

The RPMSG area is located at 0x40000000: all SoMs allow Cortex-M4 accessing the RPMSG area.

After launching the build_all.sh command the following folder will be created in the armgcc folder

  • ddr_debug: containing DDR binaries compiled in debug mode (not stripped: symbols available)
  • ddr_release: containing DDR binaries compiled in release mode (stripped: no symbols available)
  • debug: containing TCM binaries compiled in debug mode (not stripped: symbols available)
  • release: containing TCM binaries compiled in release mode (stripped: no symbols available)

Further details about memory mapping are available in the following i.MX 8M Mini Applications Processor Reference Manual paragraphs:

  • 2.1.2 Cortex-A53 Memory Map
  • 2.1.3 Cortex-M4 Memory Map

Releases

freertos-1.0.1-mx7-v1.0


mcuxpresso-2.5.0-mx8mm-v1.0

  • HARDWARE_NAME = DART-MX8M-MINI
  • RELEASE_NAME = mcuxpresso-2.5.0-mx8mm-v1.0
  • RELEASE_LINK = MCUXPRESSO_2.5.0_V1.0_DART-MX8M-MINI
  • MCUXPRESSO_VERSION = 2.5.0
  • SDK_PATH = ~/var-mcuxpresso
  • SDK_GIT_URL = https://github.com/varigit/freertos-variscite
  • SDK_GIT_BRANCH = mcuxpresso_sdk_2.5.x-var01
  • TOOLCHAIN_URL = https://developer.arm.com/-/media/Files/downloads/gnu-rm/7-2018q2/gcc-arm-none-eabi-7-2018-q2-update-linux.tar.bz2
  • TOOLCHAIN_BZ2_NAME = gcc-arm-none-eabi-7-2018-q2-update-linux.tar.bz2
  • TOOLCHAIN_FOLDER = gcc-arm-none-eabi-7-2018-q2-update
  • BOARD_FOLDER = boards/dart_mx8mm
  • DOCS_FOLDER = docs
  • PINS_SECTION = DART-MX8M-MINI_PINS_SECTION
  • DEMOS_SECTION = DART-MX8M-MINI_DEMOS_SECTION
  • DTBS_SECTION = DART-MX8M-MINI_DTBS_SECTION
  • MEMORY_TYPES_SECTION = DART-MX8M-MINI_MEMORY-TYPES_VAR_SECTION
  • JTAG_SECTION = DART-MX8M_JTAG_SECTION
  • NXP_USER_GUIDE = Getting Started with MCUXpresso SDK for i.MX 8M Mini.pdf
  • NXP_REFERENCE_KIT = EVK-MIMX8MM

mcuxpresso-2.5.0-mx8mm-v1.1

   *HARDWARE_NAME = DART-MX8M-MINI
  • RELEASE_NAME = mcuxpresso-2.5.0-mx8mm-v1.1
  • RELEASE_LINK = MCUXPRESSO_2.5.0_V1.1_DART-MX8M-MINI
  • MCUXPRESSO_VERSION = 2.5.0
  • SDK_PATH = ~/var-mcuxpresso
  • SDK_GIT_URL = https://github.com/varigit/freertos-variscite
  • SDK_GIT_BRANCH = mcuxpresso_sdk_2.5.x-var01
  • TOOLCHAIN_URL = https://developer.arm.com/-/media/Files/downloads/gnu-rm/7-2018q2/gcc-arm-none-eabi-7-2018-q2-update-linux.tar.bz2
  • TOOLCHAIN_BZ2_NAME = gcc-arm-none-eabi-7-2018-q2-update-linux.tar.bz2
  • TOOLCHAIN_FOLDER = gcc-arm-none-eabi-7-2018-q2-update
  • BOARD_FOLDER = boards/dart_mx8mm
  • DOCS_FOLDER = docs
  • PINS_SECTION = DART-MX8M-MINI_PINS_SECTION_V2
  • DEMOS_SECTION = DART-MX8M-MINI_DEMOS_SECTION
  • DTBS_SECTION = DART-MX8M-MINI_DTBS_SECTION
  • MEMORY_TYPES_SECTION = DART-MX8M-MINI_MEMORY-TYPES_VAR_SECTION
  • JTAG_SECTION = DART-MX8M_JTAG_SECTION
  • NXP_USER_GUIDE = Getting Started with MCUXpresso SDK for i.MX 8M Mini.pdf
  • NXP_REFERENCE_KIT = EVK-MIMX8MM

mcuxpresso-2.8.0-mx8mm-v1.0

   *HARDWARE_NAME = DART-MX8M-MINI
  • RELEASE_NAME = mcuxpresso-2.8.0-mx8mm-v1.0
  • RELEASE_LINK = MCUXPRESSO_2.8.0_V1.0_DART-MX8M-MINI
  • MCUXPRESSO_VERSION = 2.8.0
  • SDK_PATH = ~/var-mcuxpresso
  • SDK_GIT_URL = https://github.com/varigit/freertos-variscite
  • SDK_GIT_BRANCH = mcuxpresso_sdk_2.8.x-var01
  • TOOLCHAIN_URL = https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2020q2/gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2
  • TOOLCHAIN_BZ2_NAME = gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2
  • TOOLCHAIN_FOLDER = gcc-arm-none-eabi-9-2020-q2-update
  • BOARD_FOLDER = boards/dart_mx8mm
  • DOCS_FOLDER = docs
  • PINS_SECTION = DART-MX8M-MINI_PINS_SECTION_V2
  • DEMOS_SECTION = DART-MX8M-MINI_DEMOS_SECTION
  • DTBS_SECTION = DART-MX8M-MINI_DTBS_SECTION
  • MEMORY_TYPES_SECTION = DART-MX8M-MINI_MEMORY-TYPES_VAR_SECTION
  • JTAG_SECTION = DART-MX8M_JTAG_SECTION
  • NXP_USER_GUIDE = Getting Started with MCUXpresso SDK for EVK-MIMX8MM.pdf
  • NXP_REFERENCE_KIT = EVK-MIMX8MM

mcuxpresso-2.9.0-mx8mm-v1.0

   *HARDWARE_NAME = DART-MX8M-MINI
  • RELEASE_NAME = mcuxpresso-2.9.0-mx8mm-v1.0
  • RELEASE_LINK = MCUXPRESSO_2.9.0_V1.0_DART-MX8M-MINI
  • MCUXPRESSO_VERSION = 2.9.0
  • SDK_PATH = ~/var-mcuxpresso
  • SDK_GIT_URL = https://github.com/varigit/freertos-variscite
  • SDK_GIT_BRANCH = mcuxpresso_sdk_2.9.x-var01
  • TOOLCHAIN_URL = https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2020q2/gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2
  • TOOLCHAIN_BZ2_NAME = gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2
  • TOOLCHAIN_FOLDER = gcc-arm-none-eabi-9-2020-q2-update
  • BOARD_FOLDER = boards/dart_mx8mm
  • DOCS_FOLDER = docs
  • PINS_SECTION = DART-MX8M-MINI_PINS_SECTION_V2
  • DEMOS_SECTION = DART-MX8M-MINI_DEMOS_SECTION
  • DTBS_SECTION = DART-MX8M-MINI_DTBS_SECTION
  • MEMORY_TYPES_SECTION = DART-MX8M-MINI_MEMORY-TYPES_VAR_SECTION
  • JTAG_SECTION = DART-MX8M_JTAG_SECTION
  • NXP_USER_GUIDE = Getting Started with MCUXpresso SDK for EVK-MIMX8MM.pdf
  • NXP_REFERENCE_KIT = EVK-MIMX8MM
  • YOCTO_RELEASE_TAG = dunfell-fslc-5.4-2.1.x-mx8mm-v1.1

mcuxpresso-2.10.0-mx8mm-v1.0

   *HARDWARE_NAME = DART-MX8M-MINI
  • RELEASE_NAME = mcuxpresso-2.10.0-mx8mm-v1.0
  • RELEASE_LINK = MCUXPRESSO_2.10.0_V1.0_DART-MX8M-MINI
  • MCUXPRESSO_VERSION = 2.10.0
  • SDK_PATH = ~/var-mcuxpresso
  • SDK_GIT_URL = https://github.com/varigit/freertos-variscite
  • SDK_GIT_BRANCH = mcuxpresso_sdk_2.10.x-var01
  • TOOLCHAIN_URL = https://developer.arm.com/-/media/Files/downloads/gnu-rm/10-2020q4/gcc-arm-none-eabi-10-2020-q4-major-x86_64-linux.tar.bz2
  • TOOLCHAIN_BZ2_NAME = gcc-arm-none-eabi-10-2020-q4-major-x86_64-linux.tar.bz2
  • TOOLCHAIN_FOLDER = gcc-arm-none-eabi-10-2020-q4-major
  • BOARD_FOLDER = boards/dart_mx8mm
  • DEACTIVATE_LMEM_CACHE_PATCH = 0001-iMX8M-MINI-deactivated-the-LMEM-caches-to-debug-in-e.patch
  • DOCS_FOLDER = docs
  • PINS_SECTION = DART-MX8M-MINI_PINS_SECTION_V2
  • DEMOS_SECTION = DART-MX8M-MINI_DEMOS_SECTION
  • DTBS_SECTION = DART-MX8M-MINI_DTBS_SECTION
  • MEMORY_TYPES_SECTION = DART-MX8M-MINI_MEMORY-TYPES_VAR_SECTION
  • JTAG_SECTION = DART-MX8M_JTAG_SECTION
  • NXP_USER_GUIDE = Getting Started with MCUXpresso SDK for EVK-MIMX8MM.pdf
  • NXP_REFERENCE_KIT = EVK-MIMX8MM
  • YOCTO_RELEASE_TAG = hardknott-fslc-5.4-2.3.x-mx8mm-v1.1

mcuxpresso-2.11.1-mx8mm-v1.0

   *HARDWARE_NAME = DART-MX8M-MINI
  • RELEASE_NAME = mcuxpresso-2.11.1-mx8mm-v1.0
  • RELEASE_LINK = MCUXPRESSO_2.11.1_V1.0_DART-MX8M-MINI
  • MCUXPRESSO_VERSION = 2.11.1
  • SDK_PATH = ~/var-mcuxpresso
  • SDK_GIT_URL = https://github.com/varigit/freertos-variscite
  • SDK_GIT_BRANCH = mcuxpresso_sdk_2.11.x-var01
  • TOOLCHAIN_URL = https://developer.arm.com/-/media/Files/downloads/gnu-rm/10.3-2021.07/gcc-arm-none-eabi-10.3-2021.07-x86_64-linux.tar.bz2
  • TOOLCHAIN_BZ2_NAME = gcc-arm-none-eabi-10.3-2021.07-x86_64-linux.tar.bz2
  • TOOLCHAIN_FOLDER = gcc-arm-none-eabi-10.3-2021.07
  • BOARD_FOLDER = boards/dart_mx8mm
  • DEACTIVATE_LMEM_CACHE_PATCH = 0001-iMX8M-MINI-deactivated-the-LMEM-caches-to-debug-in-e.patch
  • DOCS_FOLDER = docs
  • PINS_SECTION = DART-MX8M-MINI_PINS_SECTION_V2
  • DEMOS_SECTION = DART-MX8M-MINI_DEMOS_SECTION
  • DTBS_SECTION = DART-MX8M-MINI_DTBS_SECTION
  • MEMORY_TYPES_SECTION = DART-MX8M-MINI_MEMORY-TYPES_VAR_SECTION
  • JTAG_SECTION = DART-MX8M_JTAG_SECTION
  • NXP_USER_GUIDE = Getting Started with MCUXpresso SDK for EVK-MIMX8MM.pdf
  • NXP_REFERENCE_KIT = EVK-MIMX8MM
  • YOCTO_RELEASE_TAG = hardknott-fslc-5.4-2.3.x-mx8mm-v1.4

mcuxpresso-2.12.1-mx8mm-v1.0

   *HARDWARE_NAME = DART-MX8M-MINI
  • RELEASE_NAME = mcuxpresso-2.12.1-mx8mm-v1.0
  • RELEASE_LINK = MCUXPRESSO_2.12.1_V1.0_DART-MX8M-MINI
  • MCUXPRESSO_VERSION = 2.12.1
  • SDK_PATH = ~/var-mcuxpresso
  • SDK_GIT_URL = https://github.com/varigit/freertos-variscite
  • SDK_GIT_BRANCH = mcuxpresso_sdk_2.12.x-var01
  • TOOLCHAIN_URL = https://developer.arm.com/-/media/Files/downloads/gnu-rm/10.3-2021.10/gcc-arm-none-eabi-10.3-2021.10-x86_64-linux.tar.bz2
  • TOOLCHAIN_BZ2_NAME = gcc-arm-none-eabi-10.3-2021.10-x86_64-linux.tar.bz2
  • TOOLCHAIN_FOLDER = gcc-arm-none-eabi-10.3-2021.10
  • BOARD_FOLDER = boards/dart_mx8mm
  • DEACTIVATE_LMEM_CACHE_PATCH = 0001-iMX8M-MINI-deactivated-the-LMEM-caches-to-debug-in-e.patch
  • DOCS_FOLDER = docs
  • PINS_SECTION = DART-MX8M-MINI_PINS_SECTION_V2
  • DEMOS_SECTION = DART-MX8M-MINI_DEMOS_SECTION
  • DTBS_SECTION = DART-MX8M-MINI_DTBS_SECTION
  • MEMORY_TYPES_SECTION = DART-MX8M-MINI_MEMORY-TYPES_VAR_SECTION
  • JTAG_SECTION = DART-MX8M_JTAG_SECTION
  • NXP_USER_GUIDE = Getting Started with MCUXpresso SDK for EVK-MIMX8MM.pdf
  • NXP_REFERENCE_KIT = EVK-MIMX8MM
  • YOCTO_RELEASE_TAG = mx8mm-yocto-kirkstone-5.15-2.0.x-v1.0

mcuxpresso-2.13.0-mx8mm-v1.0

   *HARDWARE_NAME = DART-MX8M-MINI
  • RELEASE_NAME = mcuxpresso-2.13.0-mx8mm-v1.0
  • RELEASE_LINK = MCUXPRESSO_2.13.0_V1.0_DART-MX8M-MINI
  • MCUXPRESSO_VERSION = 2.13.0
  • SDK_PATH = ~/var-mcuxpresso
  • SDK_GIT_URL = https://github.com/varigit/freertos-variscite
  • SDK_GIT_BRANCH = mcuxpresso_sdk_2.13.x-var01
  • TOOLCHAIN_URL = https://developer.arm.com/-/media/Files/downloads/gnu-rm/10.3-2021.10/gcc-arm-none-eabi-10.3-2021.10-x86_64-linux.tar.bz2
  • TOOLCHAIN_BZ2_NAME = gcc-arm-none-eabi-10.3-2021.10-x86_64-linux.tar.bz2
  • TOOLCHAIN_FOLDER = gcc-arm-none-eabi-10.3-2021.10
  • BOARD_FOLDER = boards/dart_mx8mm
  • DEACTIVATE_LMEM_CACHE_PATCH = 0001-iMX8M-MINI-deactivated-the-LMEM-caches-to-debug-in-e.patch
  • DOCS_FOLDER = docs
  • PINS_SECTION = DART-MX8M-MINI_PINS_SECTION_V2
  • DEMOS_SECTION = DART-MX8M-MINI_DEMOS_SECTION
  • DTBS_SECTION = DART-MX8M-MINI_DTBS_SECTION
  • MEMORY_TYPES_SECTION = DART-MX8M-MINI_MEMORY-TYPES_VAR_SECTION
  • JTAG_SECTION = DART-MX8M_JTAG_SECTION
  • NXP_USER_GUIDE = Getting Started with MCUXpresso SDK for EVK-MIMX8MM.pdf
  • NXP_REFERENCE_KIT = EVK-MIMX8MM
  • YOCTO_RELEASE_TAG = mx8mm-yocto-kirkstone-5.15-2.0.x-v1.1

mcuxpresso-2.15.0-mx8mm-v1.0

   *HARDWARE_NAME = DART-MX8M-MINI
  • RELEASE_NAME = mcuxpresso-2.15.0-mx8mm-v1.0
  • RELEASE_LINK = MCUXPRESSO_2.15.0_V1.0_DART-MX8M-MINI
  • MCUXPRESSO_VERSION = 2.15.0
  • SDK_PATH = ~/var-mcuxpresso
  • SDK_GIT_URL = https://github.com/varigit/freertos-variscite
  • SDK_GIT_BRANCH = mcuxpresso_sdk_2.15.x-var01
  • TOOLCHAIN_URL = https://developer.arm.com/-/media/Files/downloads/gnu/12.3.rel1/binrel/arm-gnu-toolchain-12.3.rel1-x86_64-arm-none-eabi.tar.xz
  • TOOLCHAIN_BZ2_NAME = arm-gnu-toolchain-12.3.rel1-x86_64-arm-none-eabi.tar.xz
  • TOOLCHAIN_FOLDER = arm-gnu-toolchain-12.3.rel1-x86_64-arm-none-eabi
  • BOARD_FOLDER = boards/dart_mx8mm
  • DEACTIVATE_LMEM_CACHE_PATCH = 0001-iMX8M-MINI-deactivated-the-LMEM-caches-to-debug-in-e.patch
  • LMEM_CACHE_FILE = MIMX8MM6/system_MIMX8MM6_cm4.c
  • DOCS_FOLDER = docs
  • PINS_SECTION = DART-MX8M-MINI_PINS_SECTION_V2
  • DEMOS_SECTION = DART-MX8M-MINI_DEMOS_SECTION_V2
  • DTBS_SECTION = DART-MX8M-MINI_DTBS_SECTION
  • MEMORY_TYPES_SECTION = DART-MX8M-MINI_MEMORY-TYPES_VAR_SECTION
  • JTAG_SECTION = DART-MX8M_JTAG_SECTION
  • NXP_USER_GUIDE = Getting Started with MCUXpresso SDK for EVK-MIMX8MM.pdf
  • NXP_REFERENCE_KIT = EVK-MIMX8MM
  • YOCTO_RELEASE_TAG = mx8mm-yocto-mickledore-6.1.36_2.1.0-v1.2

VAR-SOM-MX8M-NANO

Sections

Available dtbs

To allow Cortex M7 accessing shared resources without experiencing Linux kernel conflicts, a dedicated device tree must be loaded, containing m7 label in the name, using the fdt_file environment variable in U-Boot.

File Name
Description
imx8mn-var-som-symphony-m7.dtb VAR-SOM-MX8M-NANO device tree blob for kernel = 5.4.74 (Yocto Dunfell) on Symphony-Board 1.4a and above and for kernel >= 5.10.72 (Yocto Hardknott) on all Symphony-Boards
imx8mn-var-som-symphony-legacy-m7.dtb VAR-SOM-MX8M-NANO device tree blob for kernel = 5.4.74 (Yocto Dunfell) on Symphony-Board 1.4 and below
imx8mn-var-som-m7.dtb VAR-SOM-MX8M-NANO device tree blob for kernel 5.4.3 - 5.4.24 (Yocto Zeus) on som rev > 1.0
imx8mn-var-som-rev10-m7.dtb VAR-SOM-MX8M-NANO device tree blob for kernel 5.4.3 - 5.4.24 (Yocto Zeus) on som rev 1.0
fsl-imx8mn-var-som-m7.dtb VAR-SOM-MX8M-NANO device tree blob for kernel < 5.4.3 on som rev > 1.0
fsl-imx8mn-var-som-rev10-m7.dtb VAR-SOM-MX8M-NANO device tree blob for kernel < 5.4.3 on som rev 1.0

This device tree disables some of the base device tree nodes in order to avoid conflicts between the main processor and Cortex M7.

Default M7 pins

Default M7 pins used by the demos are:

Function SoC balls VAR-SOM-MX8M-NANO pins Symphony pins Notes
UART3 RX/TX E18 / D18 J1.175 / J1.124 J18.5 / J18.3
GPIO4_IO23 AC24 J1.21 J16.5
I2C4 SCL/SDA D13 / E13 J1.174 / J1.176 J16.10 / J16.12
PWM3 AF9 J1.69 J18.2
SPI1 CS0/SCK/SDI/SDO B6 / D6 / A7 / B7 J1.39 / J1.43 / J1.41 / J1.45 J16.4/ J16.2 / J16.6 / J16.8 Enabling it SPI devices will be no longer visible from Linux

Available Demos

  • driver_examples/i2c/interrupt_b2b_transfer/slave
  • driver_examples/i2c/interrupt_b2b_transfer/master
  • driver_examples/i2c/polling_b2b_transfer/slave
  • driver_examples/i2c/polling_b2b_transfer/master
  • driver_examples/wdog
  • driver_examples/gpio/led_output
  • driver_examples/pwm
  • driver_examples/uart/auto_baudrate_detect
  • driver_examples/uart/interrupt
  • driver_examples/uart/interrupt_rb_transfer
  • driver_examples/uart/polling
  • driver_examples/uart/interrupt_transfer
  • driver_examples/gpt/timer
  • driver_examples/gpt/capture
  • driver_examples/ecspi/ecspi_loopback
  • driver_examples/ecspi/interrupt_b2b_transfer/slave
  • driver_examples/ecspi/interrupt_b2b_transfer/master
  • driver_examples/ecspi/polling_b2b_transfer/slave
  • driver_examples/ecspi/polling_b2b_transfer/master
  • driver_examples/rdc
  • driver_examples/tmu/monitor_threshold
  • driver_examples/tmu/temperature_polling
  • driver_examples/sema4/uboot
  • freertos_examples/freertos_hello
  • freertos_examples/freertos_queue
  • freertos_examples/freertos_sem
  • freertos_examples/freertos_generic
  • freertos_examples/freertos_tickless
  • freertos_examples/freertos_mutex
  • freertos_examples/freertos_event
  • freertos_examples/freertos_swtimer
  • cmsis_driver_examples/i2c/int_b2b_transfer/slave
  • cmsis_driver_examples/i2c/int_b2b_transfer/master
  • cmsis_driver_examples/uart/interrupt_transfer
  • cmsis_driver_examples/ecspi/int_loopback_transfer
  • multicore_examples/rpmsg_lite_str_echo_rtos
  • multicore_examples/rpmsg_lite_pingpong_rtos/linux_remote
  • demo_apps/hello_world

Memory types

The SDK allow linking using 2 different memory types: DDR, TCM.

Here is available a short summary of memory areas used by Cortex-M7 as described in related linker file.

memory type M7 memory area A53 memory area memory lentgh linker file
DDR 0x7E000000-0x7E1FFFFF (code)
0x7E200000-0x7E3FFFFF (data)
0x7E400000-0x7EFFFFFF (data2)
0x7E000000-0x7E1FFFFF (code)
0x7E200000-0x7E3FFFFF (data)
0x7E400000-0x7EFFFFFF (data2)
16MB (DDR) MIMX8MN6xxxxx_cm7_ddr_ram.ld
TCM 0x00000000-0x0001FFFF (code)
0x20000000-0x2001FFFF (data)
0x7E000000-0x7EFFFFFF (data2)
0x007E0000-0x007FFFFF (code)
0x00800000-0x0081FFFF (data)
0x7E000000-0x7EFFFFFF (data2)
256kB (TCM) + 16MB (DDR) MIMX8MN6xxxxx_cm7_ram.ld

All linker files are locate in the armgcc folder of each demo.

The DDR reserved area must match the one declared in the kernel device tree: at least 1 GB of RAM is required on the SoM to allow Cortex-M7 accessing the range 0x7E000000 - 0x7EFFFFFF. For some reason, Cortex-M7 is not able to access RAM locations below 0x60000000: SoMs with 512 MB of RAM are not suitable to use Cortex-M7.

The RPMSG area is located at 0x40000000: all SoMs allow Cortex-M7 accessing the RPMSG area.

After launching the build_all.sh command the following folder will be created in the armgcc folder

  • ddr_debug: containing DDR binaries compiled in debug mode (not stripped: symbols available)
  • ddr_release: containing DDR binaries compiled in release mode (stripped: no symbols available)
  • debug: containing TCM binaries compiled in debug mode (not stripped: symbols available)
  • release: containing TCM binaries compiled in release mode (stripped: no symbols available)

Further details about memory mapping are available in the following i.MX 8M Nano Applications Processor Reference Manual paragraphs:

  • 2.1.2 Cortex-A53 Memory Map
  • 2.1.3 Cortex-M7 Memory Map

JTAG

VAR-SOM-MX8M-NANO exposes JTAG signals on a header (not assembled by default) on the SOM top left side.

Here is the pinout:

pin signal description pin signal description
1 JTAG_VREF JTAG IO reference voltage,
connected to SOM_3V3_PER via 150 Ohm.
2 JTAG_TMS JTAG Mode Select signal
3 GND Digital Ground 4 JTAG_TCK JTAG Clock signal,
include PD of 8.2K Ohm.
5 GND Digital Ground 6 JTAG_TDO JTAG Data Out signal
7 GND Digital Ground 8 JTAG_TDI JTAG Data In signal
9 JTAG_TRST_B JTAG Reset signal,
active low signal
10 POR_B Programmer Reset,
used to put the SOC in reset state.

Please refer to SoM datasheet for further details.

Releases

mcuxpresso-2.7.0-mx8mn-v1.0

   *HARDWARE_NAME = VAR-SOM-MX8M-NANO
  • SOC_HAS_M7 = true
  • RELEASE_NAME = mcuxpresso-2.7.0-mx8mn-v1.0
  • RELEASE_LINK = MCUXPRESSO_2.7.0_V1.0_VAR-SOM-MX8M-NANO
  • MCUXPRESSO_VERSION = 2.7.0
  • SDK_PATH = ~/var-mcuxpresso
  • SDK_GIT_URL = https://github.com/varigit/freertos-variscite
  • SDK_GIT_BRANCH = mcuxpresso_sdk_2.7.x-var01
  • TOOLCHAIN_URL = https://developer.arm.com/-/media/Files/downloads/gnu-rm/8-2019q3/RC1.1/gcc-arm-none-eabi-8-2019-q3-update-linux.tar.bz2
  • TOOLCHAIN_BZ2_NAME = gcc-arm-none-eabi-8-2019-q3-update-linux.tar.bz2
  • TOOLCHAIN_FOLDER = gcc-arm-none-eabi-8-2019-q3-update
  • BOARD_FOLDER = boards/som_mx8mn
  • DOCS_FOLDER = docs
  • PINS_SECTION = VAR-SOM-MX8M-NANO_PINS_SECTION
  • DEMOS_SECTION = VAR-SOM-MX8M-NANO_DEMOS_SECTION
  • DTBS_SECTION = VAR-SOM-MX8M-NANO_DTBS_SECTION
  • MEMORY_TYPES_SECTION = VAR-SOM-MX8MN_MEMORY-TYPES
  • JTAG_SECTION = VAR-SOM-MX8MN_JTAG_SECTION
  • NXP_USER_GUIDE = Getting Started with MCUXpresso SDK for EVK-MIMX8MN.pdf
  • NXP_REFERENCE_KIT = EVK-MIMX8MN

mcuxpresso-2.8.0-mx8mn-v1.0

 *HARDWARE_NAME = VAR-SOM-MX8M-NANO
  • SOC_HAS_M7 = true
  • RELEASE_NAME = mcuxpresso-2.8.0-mx8mn-v1.0
  • RELEASE_LINK = MCUXPRESSO_2.8.0_V1.0_VAR-SOM-MX8M-NANO
  • MCUXPRESSO_VERSION = 2.8.0
  • SDK_PATH = ~/var-mcuxpresso
  • SDK_GIT_URL = https://github.com/varigit/freertos-variscite
  • SDK_GIT_BRANCH = mcuxpresso_sdk_2.8.x-var01
  • TOOLCHAIN_URL = https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2020q2/gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2
  • TOOLCHAIN_BZ2_NAME = gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2
  • TOOLCHAIN_FOLDER = gcc-arm-none-eabi-9-2020-q2-update
  • BOARD_FOLDER = boards/som_mx8mn
  • DOCS_FOLDER = docs
  • PINS_SECTION = VAR-SOM-MX8M-NANO_PINS_SECTION
  • DEMOS_SECTION = VAR-SOM-MX8M-NANO_DEMOS_SECTION
  • DTBS_SECTION = VAR-SOM-MX8M-NANO_DTBS_SECTION
  • MEMORY_TYPES_SECTION = VAR-SOM-MX8MN_MEMORY-TYPES
  • JTAG_SECTION = VAR-SOM-MX8MN_JTAG_SECTION
  • NXP_USER_GUIDE = Getting Started with MCUXpresso SDK for EVK-MIMX8MN.pdf
  • NXP_REFERENCE_KIT = EVK-MIMX8MN

mcuxpresso-2.9.0-mx8mn-v1.0

 *HARDWARE_NAME = VAR-SOM-MX8M-NANO
  • SOC_HAS_M7 = true
  • RELEASE_NAME = mcuxpresso-2.9.0-mx8mn-v1.0
  • RELEASE_LINK = MCUXPRESSO_2.9.0_V1.0_VAR-SOM-MX8M-NANO
  • MCUXPRESSO_VERSION = 2.9.0
  • SDK_PATH = ~/var-mcuxpresso
  • SDK_GIT_URL = https://github.com/varigit/freertos-variscite
  • SDK_GIT_BRANCH = mcuxpresso_sdk_2.9.x-var01
  • TOOLCHAIN_URL = https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2020q2/gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2
  • TOOLCHAIN_BZ2_NAME = gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2
  • TOOLCHAIN_FOLDER = gcc-arm-none-eabi-9-2020-q2-update
  • BOARD_FOLDER = boards/som_mx8mn
  • DOCS_FOLDER = docs
  • PINS_SECTION = VAR-SOM-MX8M-NANO_PINS_SECTION
  • DEMOS_SECTION = VAR-SOM-MX8M-NANO_DEMOS_SECTION
  • DTBS_SECTION = VAR-SOM-MX8M-NANO_DTBS_SECTION
  • MEMORY_TYPES_SECTION = VAR-SOM-MX8MN_MEMORY-TYPES
  • JTAG_SECTION = VAR-SOM-MX8MN_JTAG_SECTION
  • NXP_USER_GUIDE = Getting Started with MCUXpresso SDK for EVK-MIMX8MN.pdf
  • NXP_REFERENCE_KIT = EVK-MIMX8MN
  • YOCTO_RELEASE_TAG = dunfell-fslc-5.4-2.1.x-mx8mn-v1.1

mcuxpresso-2.10.0-mx8mn-v1.0

 *HARDWARE_NAME = VAR-SOM-MX8M-NANO
  • SOC_HAS_M7 = true
  • RELEASE_NAME = mcuxpresso-2.10.0-mx8mn-v1.0
  • RELEASE_LINK = MCUXPRESSO_2.10.0_V1.0_VAR-SOM-MX8M-NANO
  • MCUXPRESSO_VERSION = 2.10.0
  • SDK_PATH = ~/var-mcuxpresso
  • SDK_GIT_URL = https://github.com/varigit/freertos-variscite
  • SDK_GIT_BRANCH = mcuxpresso_sdk_2.10.x-var01
  • TOOLCHAIN_URL = https://developer.arm.com/-/media/Files/downloads/gnu-rm/10-2020q4/gcc-arm-none-eabi-10-2020-q4-major-x86_64-linux.tar.bz2
  • TOOLCHAIN_BZ2_NAME = gcc-arm-none-eabi-10-2020-q4-major-x86_64-linux.tar.bz2
  • TOOLCHAIN_FOLDER = gcc-arm-none-eabi-10-2020-q4-major
  • BOARD_FOLDER = boards/som_mx8mn
  • DOCS_FOLDER = docs
  • PINS_SECTION = VAR-SOM-MX8M-NANO_PINS_SECTION
  • DEMOS_SECTION = VAR-SOM-MX8M-NANO_DEMOS_SECTION
  • DTBS_SECTION = VAR-SOM-MX8M-NANO_DTBS_SECTION
  • MEMORY_TYPES_SECTION = VAR-SOM-MX8MN_MEMORY-TYPES
  • JTAG_SECTION = VAR-SOM-MX8MN_JTAG_SECTION
  • NXP_USER_GUIDE = Getting Started with MCUXpresso SDK for EVK-MIMX8MN.pdf
  • NXP_REFERENCE_KIT = EVK-MIMX8MN
  • YOCTO_RELEASE_TAG = dunfell-fslc-5.4-2.1.x-mx8mn-v1.6

mcuxpresso-2.11.1-mx8mn-v1.0

 *HARDWARE_NAME = VAR-SOM-MX8M-NANO
  • SOC_HAS_M7 = true
  • RELEASE_NAME = mcuxpresso-2.11.1-mx8mn-v1.0
  • RELEASE_LINK = MCUXPRESSO_2.11.1_V1.0_VAR-SOM-MX8M-NANO
  • MCUXPRESSO_VERSION = 2.11.1
  • SDK_PATH = ~/var-mcuxpresso
  • SDK_GIT_URL = https://github.com/varigit/freertos-variscite
  • SDK_GIT_BRANCH = mcuxpresso_sdk_2.11.x-var01
  • TOOLCHAIN_URL = https://developer.arm.com/-/media/Files/downloads/gnu-rm/10.3-2021.07/gcc-arm-none-eabi-10.3-2021.07-x86_64-linux.tar.bz2
  • TOOLCHAIN_BZ2_NAME = gcc-arm-none-eabi-10.3-2021.07-x86_64-linux.tar.bz2
  • TOOLCHAIN_FOLDER = gcc-arm-none-eabi-10.3-2021.07
  • BOARD_FOLDER = boards/som_mx8mn
  • DOCS_FOLDER = docs
  • PINS_SECTION = VAR-SOM-MX8M-NANO_PINS_SECTION
  • DEMOS_SECTION = VAR-SOM-MX8M-NANO_DEMOS_SECTION
  • DTBS_SECTION = VAR-SOM-MX8M-NANO_DTBS_SECTION
  • MEMORY_TYPES_SECTION = VAR-SOM-MX8MN_MEMORY-TYPES
  • JTAG_SECTION = VAR-SOM-MX8MN_JTAG_SECTION
  • NXP_USER_GUIDE = Getting Started with MCUXpresso SDK for EVK-MIMX8MN.pdf
  • NXP_REFERENCE_KIT = EVK-MIMX8MN
  • YOCTO_RELEASE_TAG = dunfell-fslc-5.4-2.1.x-mx8mn-v1.8

mcuxpresso-2.12.1-mx8mn-v1.0

 *HARDWARE_NAME = VAR-SOM-MX8M-NANO
  • SOC_HAS_M7 = true
  • RELEASE_NAME = mcuxpresso-2.12.1-mx8mn-v1.0
  • RELEASE_LINK = MCUXPRESSO_2.12.1_V1.0_VAR-SOM-MX8M-NANO
  • MCUXPRESSO_VERSION = 2.12.1
  • SDK_PATH = ~/var-mcuxpresso
  • SDK_GIT_URL = https://github.com/varigit/freertos-variscite
  • SDK_GIT_BRANCH = mcuxpresso_sdk_2.12.x-var01
  • TOOLCHAIN_URL = https://developer.arm.com/-/media/Files/downloads/gnu-rm/10.3-2021.10/gcc-arm-none-eabi-10.3-2021.10-x86_64-linux.tar.bz2
  • TOOLCHAIN_BZ2_NAME = gcc-arm-none-eabi-10.3-2021.10-x86_64-linux.tar.bz2
  • TOOLCHAIN_FOLDER = gcc-arm-none-eabi-10.3-2021.10
  • BOARD_FOLDER = boards/som_mx8mn
  • DOCS_FOLDER = docs
  • PINS_SECTION = VAR-SOM-MX8M-NANO_PINS_SECTION
  • DEMOS_SECTION = VAR-SOM-MX8M-NANO_DEMOS_SECTION
  • DTBS_SECTION = VAR-SOM-MX8M-NANO_DTBS_SECTION
  • MEMORY_TYPES_SECTION = VAR-SOM-MX8MN_MEMORY-TYPES
  • JTAG_SECTION = VAR-SOM-MX8MN_JTAG_SECTION
  • NXP_USER_GUIDE = Getting Started with MCUXpresso SDK for EVK-MIMX8MN.pdf
  • NXP_REFERENCE_KIT = EVK-MIMX8MN
  • YOCTO_RELEASE_TAG = mx8mn-yocto-hardknott-5.10.72_2.2.1-v1.0

mcuxpresso-2.13.0-mx8mn-v1.0

 *HARDWARE_NAME = VAR-SOM-MX8M-NANO
  • SOC_HAS_M7 = true
  • RELEASE_NAME = mcuxpresso-2.13.0-mx8mn-v1.0
  • RELEASE_LINK = MCUXPRESSO_2.13.0_V1.0_VAR-SOM-MX8M-NANO
  • MCUXPRESSO_VERSION = 2.13.0
  • SDK_PATH = ~/var-mcuxpresso
  • SDK_GIT_URL = https://github.com/varigit/freertos-variscite
  • SDK_GIT_BRANCH = mcuxpresso_sdk_2.13.x-var01
  • TOOLCHAIN_URL = https://developer.arm.com/-/media/Files/downloads/gnu-rm/10.3-2021.10/gcc-arm-none-eabi-10.3-2021.10-x86_64-linux.tar.bz2
  • TOOLCHAIN_BZ2_NAME = gcc-arm-none-eabi-10.3-2021.10-x86_64-linux.tar.bz2
  • TOOLCHAIN_FOLDER = gcc-arm-none-eabi-10.3-2021.10
  • BOARD_FOLDER = boards/som_mx8mn
  • DOCS_FOLDER = docs
  • PINS_SECTION = VAR-SOM-MX8M-NANO_PINS_SECTION
  • DEMOS_SECTION = VAR-SOM-MX8M-NANO_DEMOS_SECTION
  • DTBS_SECTION = VAR-SOM-MX8M-NANO_DTBS_SECTION
  • MEMORY_TYPES_SECTION = VAR-SOM-MX8MN_MEMORY-TYPES
  • JTAG_SECTION = VAR-SOM-MX8MN_JTAG_SECTION
  • NXP_USER_GUIDE = Getting Started with MCUXpresso SDK for EVK-MIMX8MN.pdf
  • NXP_REFERENCE_KIT = EVK-MIMX8MN
  • YOCTO_RELEASE_TAG = mx8mn-yocto-kirkstone-5.15-2.0.x-v1.0

mcuxpresso-2.15.0-mx8mn-v1.0

 *HARDWARE_NAME = VAR-SOM-MX8M-NANO
  • SOC_HAS_M7 = true
  • RELEASE_NAME = mcuxpresso-2.15.0-mx8mn-v1.0
  • RELEASE_LINK = MCUXPRESSO_2.15.0_V1.0_VAR-SOM-MX8M-NANO
  • MCUXPRESSO_VERSION = 2.15.0
  • SDK_PATH = ~/var-mcuxpresso
  • SDK_GIT_URL = https://github.com/varigit/freertos-variscite
  • SDK_GIT_BRANCH = mcuxpresso_sdk_2.15.x-var01
  • TOOLCHAIN_URL = https://developer.arm.com/-/media/Files/downloads/gnu/12.3.rel1/binrel/arm-gnu-toolchain-12.3.rel1-x86_64-arm-none-eabi.tar.xz
  • TOOLCHAIN_BZ2_NAME = arm-gnu-toolchain-12.3.rel1-x86_64-arm-none-eabi.tar.xz
  • TOOLCHAIN_FOLDER = arm-gnu-toolchain-12.3.rel1-x86_64-arm-none-eabi
  • BOARD_FOLDER = boards/som_mx8mn
  • DOCS_FOLDER = docs
  • PINS_SECTION = VAR-SOM-MX8M-NANO_PINS_SECTION
  • DEMOS_SECTION = VAR-SOM-MX8M-NANO_DEMOS_SECTION
  • DTBS_SECTION = VAR-SOM-MX8M-NANO_DTBS_SECTION
  • MEMORY_TYPES_SECTION = VAR-SOM-MX8MN_MEMORY-TYPES
  • JTAG_SECTION = VAR-SOM-MX8MN_JTAG_SECTION
  • NXP_USER_GUIDE = Getting Started with MCUXpresso SDK for EVK-MIMX8MN.pdf
  • NXP_REFERENCE_KIT = EVK-MIMX8MN
  • YOCTO_RELEASE_TAG = mx8mn-yocto-mickledore-6.1.36_2.1.0-v1.0

DART-MX8M-PLUS

Sections

Available dtbs

To allow Cortex M7 accessing shared resources without experiencing Linux kernel conflicts, a dedicated device tree must be loaded, containing m7 label in the name, using the fdt_file environment variable in U-Boot.

This device tree disables some of the base device tree nodes in order to avoid conflicts between the main processor and Cortex M7.

File Name
Description
imx8mp-var-dart-dt8mcustomboard-m7.dtb DART-MX8M-PLUS device tree blob for kernel >= 5.4.70 (Yocto Zeus) on DT8MCustomBoard 2.x
imx8mp-var-dart-dt8mcustomboard-legacy-m7.dtb DART-MX8M-PLUS device tree blob for kernel >= 5.4.70 (Yocto Zeus) on on DT8MCustomBoard 1.x
imx8mp-var-som-symphony-m7.dtb VAR-SOM-MX8M-PLUS device tree blob for kernels >= 5.4.70 (Yocto Zeus) on on Symphony-Board
imx8mp-var-som-symphony-2nd-ov5640m7.dtb VAR-SOM-MX8M-PLUS device tree blob for kernels >= 5.4.70 (Yocto Zeus) on on Symphony-Board with 2nd OV5640


Default M7 pins v1

Default M7 pins used by the demos are:

Function SoC balls DART-MX8M-PLUS pins DT8MCB pins VAR-SOM-MX8M-PLUS pins Symphony pins Notes
UART3 RX/TX AE6 / AJ4 J2.87 / J2.89 J12.11 / J12.13
UART4 RX/TX AH5 / AJ5 J1.115 / J1.171 J18.9 / J18.7
GPIO3_IO14 R26 J1.79 J17.10
GPIO4_IO03 AF10 J2.59 GPLED1 on DT8MCB rev 1.x
J11.20 on DT8MCB rev 2.x
I2C3 SCL/SDA AJ7 / AJ6 J3.46 / J3.42 J12.18/ J12.20
I2C4 SCL/SDA AF8 / AD8 J1.92 / J1.90 J16.13 / J16.15 Enabling it SPI devices will be no longer visible from Linux
PWM2 D8 J1.69 J18.2
PWM3 AE18 J3.36 J14.7
SPI1 CS0/SCK/SDI/SDO AE20 / AF20 / AD20 / AC20 J2.79 / J2.77 / J2.81 / J2.83 J16.4/ J16.2 / J16.8 / J16.6 Enabling it SPI devices will be no longer visible from Linux
SPI2 CS0/SCK/SDI/SDO AJ22 / AH21 / AH20 / AJ21 J1.39 / J1.43 / J1.41 / J1.45 J16.4/ J16.2 / J16.6 / J16.8 Enabling it SPI devices will be no longer visible from Linux
FLEXCAN1 RX/TX AH15 / AJ16 j2.56 / j2.50 J13.11 / J13.5 on DT8MCB rev 1.x, TTL levels (CAN transceiver not mounted!) Enabling it FLEXCAN1 devices will be no longer visible from Linux
J16.9 / J16.7 on DT8MCB rev 2.x, CANL/CANH levels (CAN transceiver mounted!)
FLEXCAN2 RX/TX AJ4 / AE6 J1.46 / J1.44 J16.18 / J16.20, CANL/CANH levels (CAN transceiver mounted!) Enabling it FLEXCAN2 devices will be no longer visible from Linux

Available Demos

  • driver_examples/i2c/interrupt_b2b_transfer/slave
  • driver_examples/i2c/interrupt_b2b_transfer/master
  • driver_examples/i2c/polling_b2b_transfer/slave
  • driver_examples/i2c/polling_b2b_transfer/master
  • driver_examples/wdog
  • driver_examples/sdma/scatter_gather
  • driver_examples/sdma/memory_to_memory
  • driver_examples/gpio/led_output
  • driver_examples/pwm
  • driver_examples/uart/auto_baudrate_detect
  • driver_examples/uart/interrupt
  • driver_examples/uart/interrupt_rb_transfer
  • driver_examples/uart/polling
  • driver_examples/uart/interrupt_transfer
  • driver_examples/gpt/timer
  • driver_examples/gpt/capture
  • driver_examples/ecspi/ecspi_loopback
  • driver_examples/ecspi/interrupt_b2b_transfer/slave
  • driver_examples/ecspi/interrupt_b2b_transfer/master
  • driver_examples/ecspi/polling_b2b_transfer/slave
  • driver_examples/ecspi/polling_b2b_transfer/master
  • driver_examples/rdc
  • driver_examples/tmu/monitor_threshold
  • driver_examples/tmu/temperature_polling
  • driver_examples/sema4/uboot
  • rtos_examples/freertos_ecspi/ecspi_loopback
  • rtos_examples/freertos_hello
  • rtos_examples/freertos_queue
  • rtos_examples/freertos_sem
  • rtos_examples/freertos_generic
  • rtos_examples/freertos_uart
  • rtos_examples/freertos_tickless
  • rtos_examples/freertos_mutex
  • rtos_examples/freertos_event
  • rtos_examples/freertos_swtimer
  • rtos_examples/freertos_i2c
  • cmsis_driver_examples/i2c/int_b2b_transfer/slave
  • cmsis_driver_examples/i2c/int_b2b_transfer/master
  • cmsis_driver_examples/uart/interrupt_transfer
  • cmsis_driver_examples/ecspi/int_loopback_transfer
  • cmsis_driver_examples/ecspi/sdma_loopback_transfer
  • multicore_examples/rpmsg_lite_str_echo_rtos
  • multicore_examples/rpmsg_lite_pingpong_rtos/linux_remote
  • demo_apps/hello_world
  • driver_examples/uart/idle_detect_sdma_transfer
  • driver_examples/uart/sdma_transfer
  • cmsis_driver_examples/uart/sdma_transfer

Available Demos v2

  • driver_examples/i2c/interrupt_b2b_transfer/slave
  • driver_examples/i2c/interrupt_b2b_transfer/master
  • driver_examples/i2c/polling_b2b_transfer/slave
  • driver_examples/i2c/polling_b2b_transfer/master
  • driver_examples/wdog
  • driver_examples/gpio/led_output
  • driver_examples/pwm
  • driver_examples/uart/auto_baudrate_detect
  • driver_examples/uart/interrupt
  • driver_examples/uart/interrupt_rb_transfer
  • driver_examples/uart/polling
  • driver_examples/uart/interrupt_transfer
  • driver_examples/gpt/timer
  • driver_examples/gpt/capture
  • driver_examples/ecspi/ecspi_loopback
  • driver_examples/ecspi/interrupt_b2b_transfer/slave
  • driver_examples/ecspi/interrupt_b2b_transfer/master
  • driver_examples/ecspi/polling_b2b_transfer/slave
  • driver_examples/ecspi/polling_b2b_transfer/master
  • driver_examples/tmu/monitor_threshold
  • driver_examples/tmu/temperature_polling
  • driver_examples/sema4/uboot
  • freertos_examples/freertos_hello
  • freertos_examples/freertos_queue
  • freertos_examples/freertos_sem
  • freertos_examples/freertos_generic
  • freertos_examples/freertos_tickless
  • freertos_examples/freertos_mutex
  • freertos_examples/freertos_event
  • freertos_examples/freertos_swtimer
  • cmsis_driver_examples/i2c/int_b2b_transfer/slave
  • cmsis_driver_examples/i2c/int_b2b_transfer/master
  • cmsis_driver_examples/uart/interrupt_transfer
  • cmsis_driver_examples/ecspi/int_loopback_transfer
  • multicore_examples/rpmsg_lite_str_echo_rtos
  • multicore_examples/rpmsg_lite_pingpong_rtos/linux_remote
  • demo_apps/hello_world

Variscite Memory types

The SDK allow linking using 2 different memory types: DDR, TCM.

Here is available a short summary of memory areas used by Cortex-M7 as described in related linker file.

memory type M7 memory area A53 memory area memory lentgh linker file
DDR 0x80000000-0x801FFFFF (code)
0x80200000-0x803FFFFF (data)
0x80400000-0x80FFFFFF (data2)
0x80000000-0x801FFFFF (code)
0x80200000-0x803FFFFF (data)
0x80400000-0x80FFFFFF (data2)
16MB (DDR) MIMX8MN6xxxxx_cm7_ddr_ram.ld
TCM 0x00000000-0x0001FFFF (code)
0x20000000-0x2001FFFF (data)
0x80000000-0x80FFFFFF (data2)
0x007E0000-0x007FFFFF (code)
0x00800000-0x0081FFFF (data)
0x80000000-0x80FFFFFF (data2)
256kB (TCM) + 16MB (DDR) MIMX8MN6xxxxx_cm7_ram.ld

All linker files are locate in the armgcc folder of each demo.

The DDR reserved area must match the one declared in the kernel device tree: at least 1 GB of RAM is required on the SoM to allow Cortex-M7 accessing the range 0x80000000 - 0x80FFFFFF.

The RPMSG area is located at 0x40000000: all SoMs allow Cortex-M7 accessing the RPMSG area.

After launching the build_all.sh command the following folder will be created in the armgcc folder

  • ddr_debug: containing DDR binaries compiled in debug mode (not stripped: symbols available)
  • ddr_release: containing DDR binaries compiled in release mode (stripped: no symbols available)
  • debug: containing TCM binaries compiled in debug mode (not stripped: symbols available)
  • release: containing TCM binaries compiled in release mode (stripped: no symbols available)

Further details about memory mapping are available in the following i.MX 8M Plus Applications Processor Reference Manual paragraphs:

  • 2.2 Cortex-A53 Memory Map
  • 2.3 Cortex-M7 Memory Map

JTAG

The VAR-SOM-MX8M-PLUS exposes JTAG interface via an optional 10-pin header, on the SOM top left side.
The DART-MX8M-PLUS exports JTAG interface via an optional 10-pin header, on the DT8MCustomBoard top side.

Here is the pinout:

pin signal description pin signal description
1 JTAG_VREF JTAG IO reference voltage,
connected to SOM_3V3_PER via 150 Ohm.
2 JTAG_TMS JTAG Mode Select signal
3 GND Digital Ground 4 JTAG_TCK JTAG Clock signal,
include PD of 8.2K Ohm.
5 GND Digital Ground 6 JTAG_TDO JTAG Data Out signal
7 GND Digital Ground 8 JTAG_TDI JTAG Data In signal
9 JTAG_TRST_B JTAG Reset signal,
active low signal
10 POR_B Programmer Reset,
used to put the SOC in reset state.

Please refer to SoM datasheet for further details.

Releases

mcuxpresso-2.9.0-mx8mp-v1.0

   *HARDWARE_NAME = DART-MX8M-PLUS
  • RELEASE_NAME = mcuxpresso-2.9.0-mx8mp-v1.0
  • RELEASE_LINK = MCUXPRESSO_2.9.0_V1.0_DART-MX8M-PLUS
  • MCUXPRESSO_VERSION = 2.9.0
  • SDK_PATH = ~/var-mcuxpresso
  • SDK_GIT_URL = https://github.com/varigit/freertos-variscite
  • SDK_GIT_BRANCH = mcuxpresso_sdk_2.9.x-var01
  • TOOLCHAIN_URL = https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2020q2/gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2
  • TOOLCHAIN_BZ2_NAME = gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2
  • TOOLCHAIN_FOLDER = gcc-arm-none-eabi-9-2020-q2-update
  • BOARD_FOLDER = boards/dart_mx8mp
  • DOCS_FOLDER = docs
  • PINS_SECTION = DART-MX8M-PLUS_PINS_SECTION
  • DEMOS_SECTION = DART-MX8M-PLUS_DEMOS_SECTION
  • DTBS_SECTION = DART-MX8M-PLUS_DTBS_SECTION
  • MEMORY_TYPES_SECTION = DART-MX8M-PLUS_MEMORY-TYPES_VAR_SECTION
  • JTAG_SECTION = DART-MX8M-PLUS_JTAG_SECTION
  • NXP_USER_GUIDE = Getting Started with MCUXpresso SDK for EVK-MIMX8MP.pdf
  • NXP_REFERENCE_KIT = EVK-MIMX8MP
  • YOCTO_RELEASE_TAG = zeus-fsl-5.4.70_2.3.2-mx8mp-v1.1
  • SOM_CAN_SUPPORT_1GB_DDR = yes

mcuxpresso-2.10.0-mx8mp-v1.0

   *HARDWARE_NAME = DART-MX8M-PLUS
  • RELEASE_NAME = mcuxpresso-2.10.0-mx8mp-v1.0
  • RELEASE_LINK = MCUXPRESSO_2.10.0_V1.0_DART-MX8M-PLUS
  • MCUXPRESSO_VERSION = 2.10.0
  • SDK_PATH = ~/var-mcuxpresso
  • SDK_GIT_URL = https://github.com/varigit/freertos-variscite
  • SDK_GIT_BRANCH = mcuxpresso_sdk_2.10.x-var01
  • TOOLCHAIN_URL = https://developer.arm.com/-/media/Files/downloads/gnu-rm/10-2020q4/gcc-arm-none-eabi-10-2020-q4-major-x86_64-linux.tar.bz2
  • TOOLCHAIN_BZ2_NAME = gcc-arm-none-eabi-10-2020-q4-major-x86_64-linux.tar.bz2
  • TOOLCHAIN_FOLDER = gcc-arm-none-eabi-10-2020-q4-major
  • BOARD_FOLDER = boards/dart_mx8mp
  • DOCS_FOLDER = docs
  • PINS_SECTION = DART-MX8M-PLUS_PINS_SECTION
  • DEMOS_SECTION = DART-MX8M-PLUS_DEMOS_SECTION
  • DTBS_SECTION = DART-MX8M-PLUS_DTBS_SECTION
  • MEMORY_TYPES_SECTION = DART-MX8M-PLUS_MEMORY-TYPES_VAR_SECTION
  • JTAG_SECTION = DART-MX8M-PLUS_JTAG_SECTION
  • NXP_USER_GUIDE = Getting Started with MCUXpresso SDK for EVK-MIMX8MP.pdf
  • NXP_REFERENCE_KIT = EVK-MIMX8MP
  • YOCTO_RELEASE_TAG = hardknott-fsl-5.10.52_2.1.0-mx8mp-v1.2
  • SOM_CAN_SUPPORT_1GB_DDR = yes

mcuxpresso-2.11.1-mx8mp-v1.0

   *HARDWARE_NAME = DART-MX8M-PLUS
  • RELEASE_NAME = mcuxpresso-2.11.1-mx8mp-v1.0
  • RELEASE_LINK = MCUXPRESSO_2.11.1_V1.0_DART-MX8M-PLUS
  • MCUXPRESSO_VERSION = 2.11.1
  • SDK_PATH = ~/var-mcuxpresso
  • SDK_GIT_URL = https://github.com/varigit/freertos-variscite
  • SDK_GIT_BRANCH = mcuxpresso_sdk_2.11.x-var01
  • TOOLCHAIN_URL = https://developer.arm.com/-/media/Files/downloads/gnu-rm/10.3-2021.07/gcc-arm-none-eabi-10.3-2021.07-x86_64-linux.tar.bz2
  • TOOLCHAIN_BZ2_NAME = gcc-arm-none-eabi-10.3-2021.07-x86_64-linux.tar.bz2
  • TOOLCHAIN_FOLDER = gcc-arm-none-eabi-10.3-2021.07
  • BOARD_FOLDER = boards/dart_mx8mp
  • DOCS_FOLDER = docs
  • PINS_SECTION = DART-MX8M-PLUS_PINS_SECTION
  • DEMOS_SECTION = DART-MX8M-PLUS_DEMOS_SECTION
  • DTBS_SECTION = DART-MX8M-PLUS_DTBS_SECTION
  • MEMORY_TYPES_SECTION = DART-MX8M-PLUS_MEMORY-TYPES_VAR_SECTION
  • JTAG_SECTION = DART-MX8M-PLUS_JTAG_SECTION
  • NXP_USER_GUIDE = Getting Started with MCUXpresso SDK for EVK-MIMX8MP.pdf
  • NXP_REFERENCE_KIT = EVK-MIMX8MP
  • YOCTO_RELEASE_TAG = hardknott-fsl-5.10.52_2.1.0-mx8mp-v1.2
  • SOM_CAN_SUPPORT_1GB_DDR = yes

mcuxpresso-2.12.1-mx8mp-v1.0

   *HARDWARE_NAME = DART-MX8M-PLUS
  • RELEASE_NAME = mcuxpresso-2.12.1-mx8mp-v1.0
  • RELEASE_LINK = MCUXPRESSO_2.12.1_V1.0_DART-MX8M-PLUS
  • MCUXPRESSO_VERSION = 2.12.1
  • SDK_PATH = ~/var-mcuxpresso
  • SDK_GIT_URL = https://github.com/varigit/freertos-variscite
  • SDK_GIT_BRANCH = mcuxpresso_sdk_2.12.x-var01
  • TOOLCHAIN_URL = https://developer.arm.com/-/media/Files/downloads/gnu-rm/10.3-2021.10/gcc-arm-none-eabi-10.3-2021.10-x86_64-linux.tar.bz2
  • TOOLCHAIN_BZ2_NAME = gcc-arm-none-eabi-10.3-2021.10-x86_64-linux.tar.bz2
  • TOOLCHAIN_FOLDER = gcc-arm-none-eabi-10.3-2021.10
  • BOARD_FOLDER = boards/dart_mx8mp
  • DOCS_FOLDER = docs
  • PINS_SECTION = DART-MX8M-PLUS_PINS_SECTION
  • DEMOS_SECTION = DART-MX8M-PLUS_DEMOS_SECTION
  • DTBS_SECTION = DART-MX8M-PLUS_DTBS_SECTION
  • MEMORY_TYPES_SECTION = DART-MX8M-PLUS_MEMORY-TYPES_VAR_SECTION
  • JTAG_SECTION = DART-MX8M-PLUS_JTAG_SECTION
  • NXP_USER_GUIDE = Getting Started with MCUXpresso SDK for EVK-MIMX8MP.pdf
  • NXP_REFERENCE_KIT = EVK-MIMX8MP
  • YOCTO_RELEASE_TAG = mx8mp-yocto-kirkstone-5.15-2.0.x-v1.0
  • SOM_CAN_SUPPORT_1GB_DDR = yes

mcuxpresso-2.13.0-mx8mp-v1.0

   *HARDWARE_NAME = DART-MX8M-PLUS
  • RELEASE_NAME = mcuxpresso-2.13.0-mx8mp-v1.0
  • RELEASE_LINK = MCUXPRESSO_2.13.0_V1.0_DART-MX8M-PLUS
  • MCUXPRESSO_VERSION = 2.13.0
  • SDK_PATH = ~/var-mcuxpresso
  • SDK_GIT_URL = https://github.com/varigit/freertos-variscite
  • SDK_GIT_BRANCH = mcuxpresso_sdk_2.13.x-var01
  • TOOLCHAIN_URL = https://developer.arm.com/-/media/Files/downloads/gnu-rm/10.3-2021.10/gcc-arm-none-eabi-10.3-2021.10-x86_64-linux.tar.bz2
  • TOOLCHAIN_BZ2_NAME = gcc-arm-none-eabi-10.3-2021.10-x86_64-linux.tar.bz2
  • TOOLCHAIN_FOLDER = gcc-arm-none-eabi-10.3-2021.10
  • BOARD_FOLDER = boards/dart_mx8mp
  • DOCS_FOLDER = docs
  • PINS_SECTION = DART-MX8M-PLUS_PINS_SECTION
  • DEMOS_SECTION = DART-MX8M-PLUS_DEMOS_SECTION
  • DTBS_SECTION = DART-MX8M-PLUS_DTBS_SECTION
  • MEMORY_TYPES_SECTION = DART-MX8M-PLUS_MEMORY-TYPES_VAR_SECTION
  • JTAG_SECTION = DART-MX8M-PLUS_JTAG_SECTION
  • NXP_USER_GUIDE = Getting Started with MCUXpresso SDK for EVK-MIMX8MP.pdf
  • NXP_REFERENCE_KIT = EVK-MIMX8MP
  • YOCTO_RELEASE_TAG = mx8mp-yocto-kirkstone-5.15-2.0.x-v1.2
  • SOM_CAN_SUPPORT_1GB_DDR = yes

mcuxpresso-2.15.0-mx8mp-v1.0

   *HARDWARE_NAME = DART-MX8M-PLUS
  • RELEASE_NAME = mcuxpresso-2.15.0-mx8mp-v1.0
  • RELEASE_LINK = MCUXPRESSO_2.15.0_V1.0_DART-MX8M-PLUS
  • MCUXPRESSO_VERSION = 2.15.0
  • SDK_PATH = ~/var-mcuxpresso
  • SDK_GIT_URL = https://github.com/varigit/freertos-variscite
  • SDK_GIT_BRANCH = mcuxpresso_sdk_2.15.x-var01
  • TOOLCHAIN_URL = https://developer.arm.com/-/media/Files/downloads/gnu/12.3.rel1/binrel/arm-gnu-toolchain-12.3.rel1-x86_64-arm-none-eabi.tar.xz
  • TOOLCHAIN_BZ2_NAME = arm-gnu-toolchain-12.3.rel1-x86_64-arm-none-eabi.tar.xz
  • TOOLCHAIN_FOLDER = arm-gnu-toolchain-12.3.rel1-x86_64-arm-none-eabi
  • BOARD_FOLDER = boards/dart_mx8mp
  • DOCS_FOLDER = docs
  • PINS_SECTION = DART-MX8M-PLUS_PINS_SECTION
  • DEMOS_SECTION = DART-MX8M-PLUS_DEMOS_SECTION_V2
  • DTBS_SECTION = DART-MX8M-PLUS_DTBS_SECTION
  • MEMORY_TYPES_SECTION = DART-MX8M-PLUS_MEMORY-TYPES_VAR_SECTION
  • JTAG_SECTION = DART-MX8M-PLUS_JTAG_SECTION
  • NXP_USER_GUIDE = Getting Started with MCUXpresso SDK for EVK-MIMX8MP.pdf
  • NXP_REFERENCE_KIT = EVK-MIMX8MP
  • YOCTO_RELEASE_TAG = mx8mp-yocto-mickledore-6.1.36_2.1.0-v1.3

VAR-SOM-MX8X

Sections

Available dtbs

To allow Cortex M4 accessing shared resources without experiencing Linux kernel conflicts, a dedicated device tree must be loaded, containing m4 label in the name, using the fdt_file environment variable in U-Boot.

This device tree disables some of the base device tree nodes in order to avoid conflicts between the main processor and Cortex M4.

File Name
Description
imx8qxp-var-som-symphony-sd-m4.dtb VAR-SOM-MX8 device tree blob for kernel >= 5.4.85 (Yocto Dunfell)
imx8qxp-var-som-symphony-m4.dtb VAR-SOM-MX8 device tree blob for kernel >= 5.4.85 (Yocto Dunfell)


Default M4 pins

Default M4 pins used by the demos are:

Function Pin
debug UART (UART2) RX: J18.5 / TX: J18.3
I2C (I2C3) SCL: J16.10 / SDA: J16.12
M4 GPIO (M40_GPIO0_IO00) J16.3
M4 PWM (M40_TPM0_CH0) J16.7

Available Demos

  • cmsis_driver_examples/lpi2c/int_b2b_transfer/slave
  • cmsis_driver_examples/lpi2c/int_b2b_transfer/master
  • cmsis_driver_examples/lpi2c/edma_b2b_transfer/slave
  • cmsis_driver_examples/lpi2c/edma_b2b_transfer/master
  • cmsis_driver_examples/lpuart/edma_transfer
  • cmsis_driver_examples/lpuart/interrupt_transfer
  • demo_apps/hello_world
  • driver_examples/edma/scatter_gather
  • driver_examples/edma/memory_to_memory
  • driver_examples/intmux
  • driver_examples/lpi2c/edma_b2b_transfer/slave
  • driver_examples/lpi2c/edma_b2b_transfer/master
  • driver_examples/lpi2c/interrupt_b2b_transfer/slave
  • driver_examples/lpi2c/interrupt_b2b_transfer/master
  • driver_examples/lpi2c/polling_b2b_transfer/slave
  • driver_examples/lpi2c/polling_b2b_transfer/master
  • driver_examples/lpi2c/read_accel_value_transfer
  • driver_examples/lpit
  • driver_examples/lpuart/edma_transfer
  • driver_examples/lpuart/interrupt_rb_transfer
  • driver_examples/lpuart/polling
  • driver_examples/lpuart/interrupt_transfer
  • driver_examples/rgpio/led_output
  • driver_examples/sema42/uboot
  • driver_examples/tpm/input_capture
  • driver_examples/tpm/dual_edge_capture
  • driver_examples/tpm/timer
  • driver_examples/tpm/simple_pwm
  • driver_examples/tpm/output_compare
  • driver_examples/tstmr
  • driver_examples/wdog32
  • mmcau_examples/mmcau_api
  • multicore_examples/rpmsg_lite_pingpong_rtos/linux_remote
  • multicore_examples/rpmsg_lite_str_echo_rtos
  • rtos_examples/freertos_hello
  • rtos_examples/freertos_queue
  • rtos_examples/freertos_sem
  • rtos_examples/freertos_generic
  • rtos_examples/freertos_tickless
  • rtos_examples/freertos_mutex
  • rtos_examples/freertos_event
  • rtos_examples/freertos_swtimer

Additional demos are available as reference code, but require HW/SW customization.

NXP Memory types

The SDK allow linking using 2 different memory types: DDR, TCM.

Here is available a short summary of memory areas used by Cortex-M4 as described in related linker file.

memory type M4 memory area A35 memory area memory lentgh linker file
DDR 0x88000000-0x881FFFFF (code)
0x88200000-0x883FFFFF (data)
0x88400000-0x8FFFFFFF (data2)
0x88000000-0x881FFFFF (code)
0x88200000-0x883FFFFF (data)
0x88400000-0x8FFFFFFF (data2)
128MB (DDR) MIMX8QX6xxxFZ_cm4_ddr_ram.ld
TCM 0x1FFE0000-0x1FFFFFFF (code)
0x20000000-0x2001FFFF (data)
0x88000000-0x8FFFFFFF (data2)
0x34FE0000-0x34FFFFFF (code)
0x35000000-0x3501FFFF (data)
0x88000000-0x8FFFFFFF (data2)
256kB (TCM) + 128MB (DDR) MIMX8QX6xxxFZ_cm4_ram.ld

All linker files are locate in the armgcc folder of each demo.

After launching the build_all.sh command the following folder will be created in the armgcc folder

  • ddr_debug: containing DDR binaries compiled in debug mode (not stripped: symbols available)
  • ddr_release: containing DDR binaries compiled in release mode (stripped: no symbols available)
  • debug: containing TCM binaries compiled in debug mode (not stripped: symbols available)
  • release: containing TCM binaries compiled in release mode (stripped: no symbols available)

Further details about memory mapping are available in the following i.MX 8DualX/8DualXPlus/8QuadXPlus Applications Processor Reference Manual paragraphs:

  • 2.2 System Memory Map
  • 2.2.9 Cortex-M4 Memory Map

JTAG

The VAR-SOM-MX8X exposes JTAG interface via an optional 10-pin header

Here is the pinout:

pin signal description pin signal (ball) description
1 JTAG_VREF JTAG reference voltage (3.3V) 2 JTAG_TMS (AG35) JTAG Mode Select
3 GND Digital Ground 4 JTAG_TCK (AE31) JTAG Clock
5 GND Digital Ground 6 JTAG_TDO (AF32) JTAG Data Out
7 RTCK JTAG Return clock 8 JTAG_TDI (AH34) JTAG Data In
9 JTAG_TRST_B_CONN JTAG TAP reset 10 JTAG_SRST_B JTAG System reset

Please refer to SOM datasheet for further details.


Releases

mcuxpresso-2.5.2-mx8qx-v1.0

       *HARDWARE_NAME = VAR-SOM-MX8X

mcuxpresso-2.8.0-mx8qx-v1.0

     *HARDWARE_NAME = VAR-SOM-MX8X
  • SOC_HAS_SCU = true
  • RELEASE_NAME = mcuxpresso-2.8.0-mx8qx-v1.0
  • RELEASE_LINK = MCUXPRESSO_2.8.0_V1.0_VAR-SOM-MX8X
  • YOCTO_RELEASE_LINK = RELEASE_SUMO_V1.2_VAR-SOM-MX8X
  • MCUXPRESSO_VERSION = 2.8.0
  • SDK_PATH = ~/var-mcuxpresso
  • SDK_GIT_URL = https://github.com/varigit/freertos-variscite
  • SDK_GIT_BRANCH = mcuxpresso_sdk_2.8.x-var01
  • TOOLCHAIN_URL = https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2020q2/gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2
  • TOOLCHAIN_BZ2_NAME = gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2
  • TOOLCHAIN_FOLDER = gcc-arm-none-eabi-9-2020-q2-update
  • BOARD_FOLDER = boards/som_mx8qx
  • DOCS_FOLDER = docs
  • PINS_SECTION = VAR-SOM-MX8X_PINS_SECTION
  • DEMOS_SECTION = VAR-SOM-MX8X_DEMOS_SECTION
  • DTBS_SECTION = VAR-SOM-MX8X_DTBS_SECTION
  • MEMORY_TYPES_SECTION = VAR-SOM-MX8X_MEMORY-TYPES_NXP_SECTION
  • JTAG_SECTION = VAR-SOM-MX8X_JTAG_SECTION
  • NXP_USER_GUIDE = Getting Started with MCUXpresso SDK for MEK-MIMX8QX.pdf
  • NXP_REFERENCE_KIT = IMX8QXP-MEK
  • SCFW_SOC = = mx8qx_b0
  • SCFW_PATCH_URL = = https://variscite-public.nyc3.cdn.digitaloceanspaces.com/VAR-SOM-MX8X/Software/SCFW
  • SCFW_M4_PATCH = = 0002-mx8qxp-var-som_scfw-1.2.2_sample-M4-customization.diff
  • IMX_MKIMAGE_SOC = = iMX8QX
  • SDK_GIT_TAG = som-mx8qx_mcuxpresso-2.8.0_v10
  • RELEASE_DATE = 02/18/2021
  • SUPPORTED_REV_SOM = v1.1 and higher
  • SUPPORTED_REV_CARRIER = v1.1 and higher
  • YOCTO_RELEASE_TAG = dunfell-fslc-5.4-2.1.x-mx8x-v1.0

mcuxpresso-2.9.0-mx8qx-v1.0

     *HARDWARE_NAME = VAR-SOM-MX8X
  • SOC_HAS_SCU = true
  • RELEASE_NAME = mcuxpresso-2.9.0-mx8qx-v1.0
  • RELEASE_LINK = MCUXPRESSO_2.9.0_V1.0_VAR-SOM-MX8X
  • YOCTO_RELEASE_LINK = RELEASE_SUMO_V1.2_VAR-SOM-MX8X
  • MCUXPRESSO_VERSION = 2.9.0
  • SDK_PATH = ~/var-mcuxpresso
  • SDK_GIT_URL = https://github.com/varigit/freertos-variscite
  • SDK_GIT_BRANCH = mcuxpresso_sdk_2.9.x-var01
  • TOOLCHAIN_URL = https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2020q2/gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2
  • TOOLCHAIN_BZ2_NAME = gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2
  • TOOLCHAIN_FOLDER = gcc-arm-none-eabi-9-2020-q2-update
  • BOARD_FOLDER = boards/som_mx8qx
  • DOCS_FOLDER = docs
  • PINS_SECTION = VAR-SOM-MX8X_PINS_SECTION
  • DEMOS_SECTION = VAR-SOM-MX8X_DEMOS_SECTION
  • DTBS_SECTION = VAR-SOM-MX8X_DTBS_SECTION
  • MEMORY_TYPES_SECTION = VAR-SOM-MX8X_MEMORY-TYPES_NXP_SECTION
  • JTAG_SECTION = VAR-SOM-MX8X_JTAG_SECTION
  • NXP_USER_GUIDE = Getting Started with MCUXpresso SDK for MEK-MIMX8QX.pdf
  • NXP_REFERENCE_KIT = IMX8QXP-MEK
  • SCFW_SOC = = mx8qx_b0
  • SCFW_PATCH_URL = = https://variscite-public.nyc3.cdn.digitaloceanspaces.com/VAR-SOM-MX8X/Software/SCFW
  • SCFW_M4_PATCH = = 0002-mx8qxp-var-som_scfw-1.2.2_sample-M4-customization.diff
  • IMX_MKIMAGE_SOC = = iMX8QX
  • SDK_GIT_TAG = som-mx8qx_mcuxpresso-2.9.0_v10
  • RELEASE_DATE = 03/04/2021
  • SUPPORTED_REV_SOM = v1.1 and higher
  • SUPPORTED_REV_CARRIER = v1.1 and higher
  • YOCTO_RELEASE_TAG = dunfell-fslc-5.4-2.1.x-mx8x-v1.0

VAR-SOM-MX8

Sections

Available dtbs

To allow Cortex M4 accessing shared resources without experiencing Linux kernel conflicts, a dedicated device tree must be loaded, containing m4 label in the name, using the fdt_file environment variable in U-Boot.

This device tree disables some of the base device tree nodes in order to avoid conflicts between the main processor and Cortex M4.

File Name
Description
imx8qm-var-som-symphony-dp-m4.dtb DTB file for VAR-SOM-MX8 with DP display and Cortex-M4 on Symphony Board for kernel >= 5.10.72 (Yocto Hardknott)
imx8qm-var-som-symphony-hdmi-m4.dtb DTB file for VAR-SOM-MX8 with HDMI display and Cortex-M4 on Symphony Board for kernel >= 5.10.72 (Yocto Hardknott)
imx8qm-var-som-symphony-lvds-m4.dtb DTB file for VAR-SOM-MX8 with LVDS display and Cortex-M4 on Symphony Board for kernel >= 5.10.72 (Yocto Hardknott)
imx8qm-var-spear-sp8customboard-dp-m4.dtb DTB file for SPEAR-MX8 with DP display and Cortex-M4 on SP8CustomBoard for kernel >= 5.10.72 (Yocto Hardknott)
imx8qm-var-spear-sp8customboard-hdmi-m4.dtb DTB file for SPEAR-MX8 with HDMI display and Cortex-M4 on SP8CustomBoard for kernel >= 5.10.72 (Yocto Hardknott)
imx8qm-var-spear-sp8customboard-lvds.m4.dtb DTB file for SPEAR-MX8 with LVDS display and Cortex-M4 on SP8CustomBoard for kernel >= 5.10.72 (Yocto Hardknott)
imx8qm-var-som-dp-m4.dtb DTB file for VAR-SOM-MX8 with DP display and Cortex-M4 on Symphony Board for kernel = 5.4.142 (Yocto Dunfell)
imx8qm-var-som-hdmi-m4.dtb DTB file for VAR-SOM-MX8 with HDMI display and Cortex-M4 on Symphony Board for kernel = 5.4.142 (Yocto Dunfell)
imx8qm-var-som-lvds-m4.dtb DTB file for VAR-SOM-MX8 with LVDS display and Cortex-M4 on Symphony Board for kernel = 5.4.142 (Yocto Dunfell)
imx8qm-var-spear-dp-m4.dtb DTB file for SPEAR-MX8 with DP display and Cortex-M4 on SP8CustomBoard for kernel = 5.4.142 (Yocto Dunfell)
imx8qm-var-spear-hdmi-m4.dtb DTB file for SPEAR-MX8 with HDMI display and Cortex-M4 on SP8CustomBoard for kernel = 5.4.142 (Yocto Dunfell)
imx8qm-var-spear-lvds-m4.dtb DTB file for SPEAR-MX8 with LVDS display and Cortex-M4 on SP8CustomBoard for kernel = 5.4.142 (Yocto Dunfell)


Default M4 pins

Default M4 pins used by the demos are:

Function SoC balls VAR-SOM-MX8 pins Symphony pins SPEAR-MX8 pins SP8CustomBoard pins Notes
M40_UART0 RX / TX AM44 / AU51 N/A N/A J3.32 / J3.38 J40 SP8CustomBoard requires SW8 ON, SW9 OFF
DMA_UART2 RX / TX BE35 / BE37 J1.175 / J1.124 J18.5 / J18.3 J1.80 / J1.82 J26.19 /J26.17
DMA_UART4 RX / TX AR47 / AU53 J1.115 / J1.171 J18.9 / J18.7 J3.34 / J3.29 J20.2 / J20.4 SPEAR-MX8 demos do not refer it
FLEXCAN0 RX/TX C5 / H6 J1.46 / J1.44 J16.18 / J16.20 J4.79 / J4.80 J26.1 / J26.3
M41_I2C0 SCL/SDA AR45 / AU49 N/A N/A J1.9 / J3.36 J20.18 / J20.20
DMA_I2C0 SCL/SDA BN9 / BN7 J1.174 / J1.176 J16.10 / J16.12 J2.88 / J1.90 J26.2 / J26.4
DMA_SPI0 CS0 / SCK / SDI / SDO BC1 / BB4 / BA5 / AY6 J1.79 / J1.75 / J1.77 / J1.70 J17.10 / J17.6 / J17.8 / J17.4 J2.78 / j2.74 / J2.72 / J2.76 J20.7 / J20.1 / J20.5 / J20.3
ADC_IN6 AL9 J1.39 J16.4 J4.62 J29.16 VAR-SOM-MX8 requires enabling a buffer (refer to the datasheet)
M40_TPM0 0 / 1 AR47 / AU53 J1.115 / J1.171 J18.9 / J18.7 J3.34 / J3.29 J20.2 / J20.4 pins are share with with DMA_UART4
GPIO3_IO06 BA3 J1.40 J17.2 J2.80 J20.9

Available Demos

  • cmsis_driver_examples/lpi2c/int_b2b_transfer/master
  • cmsis_driver_examples/lpi2c/int_b2b_transfer/slave
  • cmsis_driver_examples/lpi2c/edma_b2b_transfer/master
  • cmsis_driver_examples/lpi2c/edma_b2b_transfer/slave
  • cmsis_driver_examples/lpuart/edma_transfer
  • cmsis_driver_examples/lpuart/interrupt_transfer
  • cmsis_driver_examples/lpspi/edma_b2b_transfer/master
  • cmsis_driver_examples/lpspi/edma_b2b_transfer/slave
  • cmsis_driver_examples/lpspi/int_b2b_transfer/master
  • cmsis_driver_examples/lpspi/int_b2b_transfer/slave
  • demo_apps/hello_world
  • driver_examples/canfd/loopback_transfer
  • driver_examples/canfd/loopback
  • driver_examples/canfd/interrupt_transfer
  • driver_examples/edma/scatter_gather
  • driver_examples/edma/memory_to_memory
  • driver_examples/flexcan/loopback_edma_transfer
  • driver_examples/flexcan/loopback_transfer
  • driver_examples/flexcan/loopback
  • driver_examples/flexcan/interrupt_transfer
  • driver_examples/intmux
  • driver_examples/lpadc/interrupt
  • driver_examples/lpadc/polling
  • driver_examples/lpi2c/edma_b2b_transfer/slave
  • driver_examples/lpi2c/edma_b2b_transfer/master
  • driver_examples/lpi2c/interrupt_b2b_transfer/slave
  • driver_examples/lpi2c/interrupt_b2b_transfer/master
  • driver_examples/lpi2c/polling_b2b_transfer/slave
  • driver_examples/lpi2c/polling_b2b_transfer/master
  • driver_examples/lpi2c/read_accel_value_transfer
  • driver_examples/lpspi/edma_b2b_transfer/master
  • driver_examples/lpspi/edma_b2b_transfer/slave
  • driver_examples/lpspi/interrupt_b2b/master
  • driver_examples/lpspi/interrupt_b2b/slave
  • driver_examples/lpspi/interrupt_b2b_transfer/master
  • driver_examples/lpspi/interrupt_b2b_transfer/slave
  • driver_examples/lpspi/polling_b2b_transfer/master
  • driver_examples/lpspi/polling_b2b_transfer/slave
  • driver_examples/lpspi/polling_b2b_transfer/master
  • driver_examples/lpspi/polling_b2b_transfer/slave
  • driver_examples/lpit
  • driver_examples/lpuart/edma_transfer
  • driver_examples/lpuart/interrupt_rb_transfer
  • driver_examples/lpuart/polling
  • driver_examples/lpuart/interrupt_transfer
  • driver_examples/lpuart/interrupt
  • driver_examples/gpio/led_output
  • driver_examples/rgpio/led_output
  • driver_examples/sema42/uboot
  • driver_examples/sema42/dual_core
  • driver_examples/tpm/timer
  • driver_examples/tpm/simple_pwm
  • driver_examples/tpm/pwm_twochannel
  • driver_examples/tpm/output_compare
  • driver_examples/tpm/input_capture
  • driver_examples/tpm/dual_edge_capture
  • driver_examples/tpm/combine_pwm
  • driver_examples/tstmr
  • driver_examples/wdog32
  • mmcau_examples/mmcau_api
  • multicore_examples/rpmsg_lite_pingpong_rtos/linux_remote
  • multicore_examples/rpmsg_lite_str_echo_rtos
  • multicore_examples/rpmsg_lite_pingpong_rtos/sdk_remote
  • multicore_examples/rpmsg_lite_pingpong_rtos/sdk_master
  • rtos_examples/freertos_hello
  • rtos_examples/freertos_queue
  • rtos_examples/freertos_sem
  • rtos_examples/freertos_generic
  • rtos_examples/freertos_tickless
  • rtos_examples/freertos_mutex
  • rtos_examples/freertos_lpuart
  • rtos_examples/freertos_event
  • rtos_examples/freertos_swtimer
  • rtos_examples/freertos_lpi2c
  • rtos_examples/freertos_lpspi_b2b/master
  • rtos_examples/freertos_lpspi_b2b/slave
  • rtos_examples/freertos_lpspi

Additional demos are available as reference code, but require HW/SW customization.


NXP Memory types

The SDK allow linking using 2 different memory types: DDR, TCM.

Here is available a short summary of memory areas used by Cortex-M4 as described in related linker file.

memory type M4 if M4 memory area memory lentgh linker file
DDR 0 0x88000000-0x881FFFFF (code)
0x88200000-0x883FFFFF (data)
0x88400000-0x887FFFFF (data2)
8MB (DDR) MIMX8QM6xxxFF_cm4_core0_ddr_ram.ld
DDR 1 0x88800000-0x88BFFFFF (code)
0x88C00000-0x88FFFFFF (data)
0x89000000-0x8FFFFFFF (data2)
120MB (DDR) MIMX8QM6xxxFF_cm4_core1_ddr_ram.ld
TCM 0 0x1FFE0000-0x1FFFFFFF (code)
0x20000000-0x2001FFFF (data)
0x88000000-0x887FFFFF (data2)
256kB (TCM) + 8MB (DDR) MIMX8QM6xxxFF_cm4_core0_ram.ld
TCM 1 0x1FFE0000-0x1FFFFFFF (code)
0x20000000-0x2001FFFF (data)
0x88800000-0x8FFFFFFF (data2)
256kB (TCM) + 120MB (DDR) MIMX8QM6xxxFF_cm4_core1_ram.ld

All linker files are locate in the armgcc folder of each demo.

After launching the build_all.sh command the following folder will be created in the armgcc folder

  • ddr_debug: containing DDR binaries compiled in debug mode (not stripped: symbols available)
  • ddr_release: containing DDR binaries compiled in release mode (stripped: no symbols available)
  • debug: containing TCM binaries compiled in debug mode (not stripped: symbols available)
  • release: containing TCM binaries compiled in release mode (stripped: no symbols available)


JTAG

The VAR-SOM-MX8 and SPEAR-MX8 exposes JTAG interface via an optional 10-pin header

Here is the pinout:

pin signal description pin signal (ball) description
1 JTAG_VREF JTAG reference voltage (3.3V) 2 JTAG_TMS (AG35) JTAG Mode Select
3 GND Digital Ground 4 JTAG_TCK (AE31) JTAG Clock
5 GND Digital Ground 6 JTAG_TDO (AF32) JTAG Data Out
7 RTCK JTAG Return clock 8 JTAG_TDI (AH34) JTAG Data In
9 JTAG_TRST_B_CONN JTAG TAP reset 10 JTAG_SRST_B JTAG System reset

Please refer to SOM datasheet for further details.

Releases

mcuxpresso-2.5.2-mx8qm-v1.0

      *HARDWARE_NAME = VAR-SOM-MX8

mcuxpresso-2.8.0-mx8qm-v1.0

    *HARDWARE_NAME = VAR-SOM-MX8

mcuxpresso-2.9.0-mx8qm-v1.0

    *HARDWARE_NAME = VAR-SOM-MX8


~/var-mcuxpresso/freertos-variscite/devices/MIMX8QM6


VAR-SOM-MX93

Sections

Available dtbs - VAR-SOM-MX93

To allow the Cortex-M33 to access shared resources without experiencing Linux kernel conflicts, a dedicated device tree must be loaded, by selecting the right version with the symbolic link in the /boot folder of the booting media.
These device trees contain m33 label in their name.


The below table lists an example dtb blob file name for VAR-SOM-MX93 (on the Symphony Board) with support for the M33 for each kernel version / Yocto release:

File Name
Description
imx93-var-som-symphony-m33.dtb VAR-SOM-MX93 (Rev 2.x+) device tree blob for kernel = 6.1.1 (Yocto Langdale) on Symphony-Board 1.4a and above.
imx93-var-som-1.x-symphony-m33.dtb VAR-SOM-MX93 (Rev 1.x) device tree blob for kernel = 6.1.1 (Yocto Langdale) on Symphony-Board 1.4a and above.

This device tree disables some of the base device tree nodes in order to avoid conflicts between the Cortex-A55 processors and Cortex-M33.

For the full list of device tree blob files, refer to the "Build Results" section in the appropriate wiki page for the specific Yocto/Debian release you are using.

Available dtbs - VAR-SOM-MX93/DART-MX93

To allow the Cortex-M33 to access shared resources without experiencing Linux kernel conflicts, a dedicated device tree must be loaded, by selecting the right version with the symbolic link in the /boot folder of the booting media.
These device trees contain m33 label in their name.


The below table lists dtb blob file names for VAR-SOM-MX93 (on the Symphony Board) and DART-MX93 (on DT8MCustomBoard) with support for the M33:

File Name
Description
imx93-var-som-symphony-m33.dtb VAR-SOM-MX93 (Rev 2.x+) device tree blob for Symphony-Board 1.4a and above.
imx93-var-dart-dt8mcustomboard-m33.dtb DART-MX93 device tree blob for DT8MCustomBoard 2.0 and above.

These device trees disable some of the base device tree nodes in order to avoid conflicts between the Cortex-A55 processors and Cortex-M33.

For the full list of device tree blob files, refer to the "Build Results" section in the appropriate wiki page for the specific Yocto/Debian release you are using.

Default M33 pins - VAR-SOM-MX93

Default M33 pins used by the demos are:

Function SoC balls VAR-SOM-MX8 Pins Symphony Pins Notes
UART7 RX/TX M21 / M20 J1.175 / J1.124 J18.5 / J18.3
TPM6-CH3 - PWM Output or Input Capture W21 J1.69 J18.2
CAN1 RX/TX J17 / G17 J1.46 / J1.44 J16.18 / J16.20, CANL / CANH levels (CAN transceiver mounted!) If enabled, CAN devices will no longer visible from Linux
LPSPI6 CS0/SCK/SDI/SDO J21 / K21 / J20 / K20 J1.39 / J1.43 / J1.41 / J1.45 J16.4 / J16.2 / J16.6 / J16.8 If enabled, SPI6 devices will no longer be visible from Linux
LPI2C7 SCL/SDA L21 / L20 J1.174 / J1.176 J16.10 / J16.12 If enabled, I2C7 devices will no longer be visible from Linux
GPIO GPIO4.28 U4 J1.75 J17.6 GPIO pin is 1.8V IO level!

Default M33 pins - VAR-SOM-MX93/DART-MX93

Default M33 pins used by the demos are:

Function SoC balls DART-MX93 Pins DT8MCB Pins VAR-SOM-MX93 Pins Symphony Pins Notes
UART7 RX/TX M21 / M20 J2.87 / J2.89 J12.11 / J12.13 J1.175 / J1.124 J18.5 / J18.3
TPM6-CH3 - PWM Output or Input Capture W21 J2.54 J13.17 J1.69 J18.2
CAN1 RX/TX J17 / G17 J2.56 / J2.50 J16.9 / J16.7 on DT8MCB rev 2.x, CANL/CANH levels (CAN transceiver mounted!) J1.46 / J1.44 J16.18 / J16.20, CANL / CANH levels (CAN transceiver mounted!) If enabled, CAN devices will no longer visible from Linux
LPSPI5 CS0/SCK/SDI/SDO R18 / T21 / R17 / T20 J2.40 / J2.44 / J2.34 / J2.36 J13.8 / J13.18 / J13.10 / J13.12 If enabled, SPI5 devices will no longer be visible from Linux
LPSPI6 CS0/SCK/SDI/SDO J21 / K21 / J20 / K20 J1.39 / J1.43 / J1.41 / J1.45 J16.4 / J16.2 / J16.6 / J16.8 If enabled, SPI6 devices will no longer be visible from Linux
LPI2C5 SCL/SDA U20 / U18 J3.46 / J3.42 J12.18 / J12.20 If enabled, I2C5 devices will no longer be visible from Linux
LPI2C7 SCL/SDA L21 / L20 J1.174 / J1.176 J16.10 / J16.12 If enabled, I2C7 devices will no longer be visible from Linux
GPIO GPIO4.01 AA10 J1.11 J12.14
GPIO GPIO4.28 U4 J1.75 J17.6 GPIO pin is 1.8V IO level!

Available Demos

  • demo_apps/ethosu_apps_rpmsg/ethosu_apps_rpmsg
  • demo_apps/hello_world/hello_world
  • driver_examples/canfd/efifo_interrupt_transfer/canfd_efifo_interrupt_transfer
  • driver_examples/canfd/interrupt_transfer/canfd_interrupt_transfer
  • driver_examples/canfd/loopback_transfer/canfd_loopback_transfer
  • driver_examples/canfd/loopback/canfd_loopback
  • driver_examples/canfd/ping_pong_buffer_transfer/canfd_ping_pong_buffer_transfer
  • driver_examples/edma4/channel_link/edma4_channel_link
  • driver_examples/edma4/interleave_transfer/edma4_interleave_transfer
  • driver_examples/edma4/memory_to_memory/edma4_memory_to_memory
  • driver_examples/edma4/memory_to_memory_transfer/edma4_memory_to_memory_transfer
  • driver_examples/edma4/memset/edma4_memset
  • driver_examples/edma4/ping_pong_transfer/edma4_ping_pong_transfer
  • driver_examples/edma4/scatter_gather/edma4_scatter_gather
  • driver_examples/edma4/wrap_transfer/edma4_wrap_transfer
  • driver_examples/flexcan/efifo_interrupt_transfer/flexcan_efifo_interrupt_transfer
  • driver_examples/flexcan/interrupt_transfer/flexcan_interrupt_transfer
  • driver_examples/flexcan/loopback_edma_transfer/flexcan_loopback_edma_transfer
  • driver_examples/flexcan/loopback_transfer/flexcan_loopback_transfer
  • driver_examples/flexcan/loopback/flexcan_loopback
  • driver_examples/flexcan/ping_pong_buffer_transfer/flexcan_ping_pong_buffer_transfer
  • driver_examples/lpi2c/interrupt_b2b_transfer/master/lpi2c_interrupt_b2b_transfer_master
  • driver_examples/lpi2c/interrupt_b2b_transfer/slave/lpi2c_interrupt_b2b_transfer_slave
  • driver_examples/lpi2c/polling_b2b/master/lpi2c_polling_b2b_master
  • driver_examples/lpi2c/polling_b2b/slave/lpi2c_polling_b2b_slave
  • driver_examples/lpit/chained_channel/lpit_chained_channel
  • driver_examples/lpit/single_channel/lpit_single_channel
  • driver_examples/lpspi/interrupt_b2b/master/lpspi_interrupt_b2b_master
  • driver_examples/lpspi/interrupt_b2b/slave/lpspi_interrupt_b2b_slave
  • driver_examples/lpspi/interrupt_b2b_transfer/master/lpspi_interrupt_b2b_transfer_master
  • driver_examples/lpspi/interrupt_b2b_transfer/slave/lpspi_interrupt_b2b_transfer_slave
  • driver_examples/lpspi/polling_b2b/master/lpspi_polling_b2b_master
  • driver_examples/lpspi/polling_b2b_transfer/slave/lpspi_polling_b2b_transfer_slave
  • driver_examples/edma/memory_to_memory/dma3_memory_to_memory
  • driver_examples/edma/scatter_gather/dma3_scatter_gather
  • driver_examples/flexcan/loopback_transfer/flexcan_loopback_transfer
  • driver_examples/flexcan/loopback/flexcan_loopback
  • driver_examples/flexcan/ping_pong_buffer_transfer/flexcan_ping_pong_buffer_transfer
  • driver_examples/flexcan/efifo_interrupt_transfer/flexcan_efifo_interrupt_transfer
  • driver_examples/flexcan/interrupt_transfer/flexcan_interrupt_transfer
  • driver_examples/rgpio/led_output/rgpio_led_output
  • driver_examples/lpi2c/polling_b2b/master/lpi2c_polling_b2b_master
  • driver_examples/lpi2c/polling_b2b/slave/lpi2c_polling_b2b_slave
  • driver_examples/lptmr/lptmr
  • driver_examples/lpuart/interrupt_rb_transfer/lpuart_interrupt_rb_transfer
  • driver_examples/lpuart/interrupt_transfer/lpuart_interrupt_transfer
  • driver_examples/lpuart/interrupt/lpuart_interrupt
  • driver_examples/lpuart/polling/lpuart_polling
  • driver_examples/tstmr/tstmr
  • multicore_examples/rpmsg_lite_pingpong_rtos/linux_remote/rpmsg_lite_pingpong_rtos_linux_remote
  • multicore_examples/rpmsg_lite_str_echo_rtos/rpmsg_lite_str_echo_rtos_imxcm33
  • rtos_examples/freertos_event/freertos_event
  • rtos_examples/freertos_generic/freertos_generic
  • rtos_examples/freertos_hello/freertos_hello
  • rtos_examples/freertos_lpi2c_b2b/master/freertos_lpi2c_b2b_master
  • rtos_examples/freertos_lpi2c_b2b/slave/freertos_lpi2c_b2b_slave
  • rtos_examples/freertos_lpspi_b2b/master/freertos_lpspi_b2b_master
  • rtos_examples/freertos_lpspi_b2b/slave/freertos_lpspi_b2b_slave
  • rtos_examples/freertos_mutex/freertos_mutex
  • rtos_examples/freertos_queue/freertos_queue
  • rtos_examples/freertos_sem/freertos_sem
  • rtos_examples/freertos_swtimer/freertos_swtimer


Additional demos may be provided on this platform in a future release.

The Wi-Fi/Bluetooth module interfaces have been disabled in the M33 device tree to not conflict with certain demos, however, if the module is present on your SoM, you should also disable the Wi-Fi service from running in Linux via "systemctl disable variscite-wifi"


Building Using Yocto

In Yocto Dunfell and newer, Variscite provides a Yocto recipe for building and installing firmware into the Yocto image. Note, the examples below apply to the original release of this recipe in Dunfell and thus some of the syntax (such as the overrides) may need to be updated for newer versions.

https://github.com/varigit/meta-variscite-fslc/tree/dunfell/recipes-bsp/freertos-variscite

This recipe installs the following firmware files: |- | /boot/cm_<demo name>.bin.debug || TCM || U-Boot |- | /lib/firmware/cm_<demo name>.elf.debug || TCM || Linux Remoteproc Framework

If you have modified freertos-variscite in your own Git repository and kept the same directory structure, you can easily build your custom firmware by creating a bbappend file:

$ mkdir -p <your-layer>/recipes-bsp/freertos-variscite
$ nano <your-layer>/recipes-bsp/freertos-variscite/freertos-variscite_2.13.x.bbappend

Append SRC_URI and SRCREV to use your freertos-variscite Git repository

SRC_URI:remove = "git://github.com/varigit/freertos-variscite.git;protocol=git;branch=${MCUXPRESSO_BRANCH};"
SRC_URI:append = " <your Git repository>"
SRCREV = "<your Git commit id>"

Append CM_DEMOS to build your firmware. For example, to build rtos_examples/freertos_hello:

CM_DEMOS:append = "rtos_examples/freertos_hello"

Rebuild fsl-image-gui:

$ bitbake -c cleansstate freertos-variscite && bitbake fsl-image-gui

The firmware binary files should now be installed to /boot/ and elf files to /lib/firmware/


Running a demo

Running a demo from U-Boot

To assist in loading M33 firmware from U-Boot prior to Linux boot, Variscite has created a dedicated set of U-Boot environment commands.


To allow Cortex-M accessing shared resources without experiencing Linux kernel conflicts, a dedicated device tree must be loaded.

To enable Cortex-M U-Boot auto-loading:

=> setenv use_m33 yes; saveenv

To disable Cortex-M U-Boot auto-loading:

=> setenv use_m33 no; saveenv

Note that the Cortex A55s and M33 have a different memory addressing "view" that is documented in the reference manual. Additionally, the bootaux command for the M33 uses secure aliases from the M33's point of view. Thus, two variables must be set properly in order to set the loading address (defaults used in the example below):

=> setenv m33_addr 0x201E0000
=> setenv m33_addr_auxview 0x1FFE0000
=> saveenv

To set the name of the Cortex-M binary

=> setenv m33_bin cm_hello_world.bin; saveenv


The .bin file is expected to exist in the directory /boot of the booting media.


After enabling as above, the U-Boot boot command will handle loading the Cortex-M firmware when the system begins the boot process. For testing, it is possible to invoke the Cortex-M33 boot process manually:

=> run loadm33bin && run runm33bin

After booting in Linux, the M33 will be listed as in the "attached" state by remoteproc:

# cat /sys/class/remoteproc/remoteproc0/state 
attached


Additional details and step by step procedure to run each of the demos is available online or in the following document:

~/var-mcuxpresso/freertos-variscite/docs/Getting Started with MCUXpresso SDK for MEK-MIMX8QM.pdf


This process can be simplified using /etc/remoteproc/variscite-rproc-u-boot in Linux
Please refer to the Yocto Scripts section below for more information

Running a demo from Linux

The Linux remoteproc framework can be used to load the Cortex-M33 firmware from Linux userspace.


The U-Boot M33 auto-loading must not be currently enabled in order to allow for remoteproc control and loading of the M33.

Increase kernel loglevel while debugging:

# sysctl kernel.printk=7;

If the state is 'running', stop the Cortex-M33

# echo stop > /sys/class/remoteproc/remoteproc0/state

Load new firmware

# echo cm_hello_world.elf > /sys/class/remoteproc/remoteproc0/firmware
The .elf file is expected to exist in the /lib/firmware directory

Run the new firmware

# echo start > /sys/class/remoteproc/remoteproc0/state


This process can be simplified using /etc/remoteproc/variscite-rproc-linux in Linux
Please refer to the Yocto Scripts section below for more information


By default, Linux disables unused clocks. Certain M33 examples may use peripherals which are not enabled in Linux. Depending on the clock source, Linux may disable the clock by default, resulting in the example/peripheral not functioning. Therefore, when running M33 examples, it is recommended to override this. The easiest way to achieve this is to append the bootarg "clk_ignore_unused."

Running a Demo using Yocto Scripts

In Yocto, Variscite provides scripts to simplify loading firmware via U-Boot or Linux:

Script Description
/etc/remoteproc/variscite-rproc-u-boot Configure U-Boot to load firmware on boot
/etc/remoteproc/variscite-rproc-linux Load and run firmware using Linux remoteproc framework

Examples

variscite-rproc-u-boot example on imx93-var-som:

root@imx93-var-som:~# /etc/remoteproc/variscite-rproc-u-boot -f /boot/cm_hello_world.bin.release 
Configuring for TCM memory
+ fw_setenv m33_addr 0x201E0000
Cannot read environment, using default
+ fw_setenv fdt_file imx93-var-som-symphony-m33.dtb
+ fw_setenv use_m33 yes
+ fw_setenv m33_bin cm_hello_world.bin.release
+ fw_setenv kernelargs ' clk_ignore_unused'
+ fw_setenv m33_addr_auxview 0x1FFE0000

Finished: Please reboot, the m33 firmware will run during U-Boot

variscite-rproc-linux example on imx93-var-som:

root@imx93-var-som:~# /etc/remoteproc/variscite-rproc-linux -f /lib/firmware/cm_hello_world.elf.release
Cortex-M: Loading cm_hello_world.elf.release
Cortex-M: Starting
[  974.434796] remoteproc remoteproc0: powering up imx-rproc
[  974.442420] remoteproc remoteproc0: Booting fw image cm_hello_world.elf.release, size 99776
[  974.451172] remoteproc remoteproc0: header-less resource table


NXP Memory types

The SDK currently allows linking only out of TCM.

Below is a short summary of memory areas used by Cortex-M33 as described in related linker file:

Memory Type M33 Memory Area A55 Memory Area Memory Length Linker File
TCM 0x0FFE0000 - 0x0FFFFFFF (code)
0x20000000 – 0x2001FFFF (data)
0x201E0000 – 0x201FFFFF (code)
0x20200000 – 0x2021FFFF (data)
128kB (Code TCM) + 128kB (System TCM) MIMX9352_cm33_ram.ld

All linker files are located in the armgcc folder of each demo. Please consult the linker file for the actual memory used by each demo.

After launching the build_all.sh command the following folder will be created in the armgcc folder

  • debug: containing TCM binaries compiled in debug mode (not stripped: symbols available)
  • release: containing TCM binaries compiled in release mode (stripped: no symbols available)


JTAG

The JTAG interface is not exposed directly on the VAR-SOM-MX93 but the associated signals are exposed via the J1 SOM connector, which are shown in the table below:

Signal SoC balls VAR-SOM-MX93 Pins Symphony Pins Segger Adapter Pins
TCLK_SWCLK Y1 J1.51 J18.8 9
TDI W1 J1.53 J18.6 5
TDO_TRACESWO Y2 J1.52 J18.4 13
TMS_SWDIO W2 J1.50 J18.10 7
Vtref J3.2 1
GND J3.20 4


These signals are shared with the Wi-Fi module if present, so usage will require disabling this interface and making any appropriate pin muxing adjustments.

Please refer to SoM datasheet for further details.


The JTAG interface is not exposed directly on the VAR-SOM-MX93 / DART-MX93 but the associated signals are exposed via the J1 connector for the VAR-SOM-MX93 and via the J2 connector for the DART-MX93. They are shown in the table below:

Signal SoC balls VAR-SOM-MX93 Pins Symphony Pins DART-MX93 Pins DT8MCB Pins Segger Adapter Pins
TCLK_SWCLK Y1 J1.51 J18.8 J2.26 J12.7 9
TDI W1 J1.53 J18.6 J2.24 J12.5 5
TDO_TRACESWO Y2 J1.52 J18.4 J2.20 J12.1 13
TMS_SWDIO W2 J1.50 J18.10 J2.22 J12.3 7
Vtref J3.2 J13.3 1
GND J3.20 J13.4 4


For both the DART-MX93 and VAR-SOM-MX93 "WBD" or "WBE" SoMs, the JTAG pins are configured as UART5 signals used by the Wi-Fi/Bluetooth module. To use JTAG, it is necessary to disable this interface and make the necessary pin muxing adjustments. The Cortex-M33 dedicated device trees, as mentioned in the Prerequisites section, already disable the Wi-Fi/Bluetooth module, allowing for JTAG use as described above.

Please refer to SoM datasheet for further details.


Releases

mcuxpresso-2.13.1-mx93-v1.0


mcuxpresso-2.13.1-mx93-v1.1


mcuxpresso-2.15.0-mx93-v1.0


mcuxpresso-2.15.0-mx93-v1.1


Release Notes

RN_MCUXPRESSO_2.13.1_V1.0_VAR-SOM-MX93

|- | Release 1.0 || |- | Initial release || MCUXPRESSO 2.13.1 release for the Cortex-M33 core on the VAR-SOM-MX93 |- | Examples provided and tested on many peripherals: || - CAN
- EDMA
- LPUART
- TPM/PWM
- TSTMR

See developers guide for a full list of available demos. |-


RN_MCUXPRESSO_2.13.1_V1.1_VAR-SOM-MX93

|- | Release 1.1 || |- | Several additional examples provided for many peripherals: || - CAN (board to board examples)
- LPSPI
- LPI2C
- GPIO

See developers guide for a full list of available demos. |-


RN_MCUXPRESSO_2.15.0_V1.0_VAR-SOM-MX93

|- | Release 1.0 || |- | Initial release || MCUXPRESSO 2.15.0 release for the Cortex-M33 core on the VAR-SOM-MX93 |- style="vertical-align:top;" | Examples provided and tested on many peripherals: || - CAN (board to board examples)
- LPSPI
- EDMA
- LPI2C
- LPUART
- GPIO
- TPM/PWM
- TSTMR

See developers guide for a full list of available demos.
Click here for a full detailed change list. |-


RN_MCUXPRESSO_2.15.0_V1.1_VAR-SOM-MX93

|- | Release 1.1 || |- style="vertical-align:top;" | Add initial support for DART-MX93 || MCUXPRESSO 2.15.0 release for the Cortex-M33 core on the DART-MX93 - CAN (board to board examples)
- LPSPI
- EDMA
- LPI2C
- LPUART
- GPIO
- TPM/PWM
- TSTMR

See developers guide for a full list of available demos.
Click here for a full detailed change list. |- | Update macros and readme files for the VAR-SOM-MX93 release || See 8deddc3fc...78afa00fe |- | Known Issues || |- | driver_examples/rgpio/led_output demo does not work properly on U-boot on the DART-MX93 || When running on U-boot, it stops working right after Linux finishes booting |-