ARM Trusted Firmware Support

This BSP supports ARM Trusted Firmware

Arm Trusted Firmware is enabled by default. To disable the feature you must make changes to the BSP source code and then rebuild the QNX IPL and QNX IFS as described in the Build the BSP chapter of this guide. The following sections describe the changes you need to make before you build.
Disable ATF in the QNX IPL
To disable the ARM Trusted Firmware feature, do the following and then rebuild the QNX IPL:
  • In $BSP_ROOT_DIR/src/hardware/ipl/boards/imx/imx8x/qm/cpu-mek/aarch64/le/extra.mk, set IMX_ARM_TRUSTED_FW to 0:
    ...
    ...
    IMX_ARM_TRUSTED_FW=0
    ...
    ...                 
Disable ATF in the QNX IFS
To disable the ARM Trusted Firmware feature, set IMX_ARM_TRUSTED_FIRMWARE_ENABLED to 0:
  • In $BSP_ROOT_DIR/src/hardware/startup/boards/imx/imx8x/qm/cpu-mek/board.h, set IMX_ARM_TRUSTED_FIRMWARE_ENABLED to 0:
    ...
    ...
    /* Enables ARM Trusted Firmware support */
    #define IMX_ARM_TRUSTED_FIRMWARE_ENABLED   0
    ...
    ...                 
Disable ATF when you build the image
To disable the ARM Trusted Firmware feature when you build the image, do the following:
  • In the $BSP_ROOT_DIR/images/mek/Makefile, uncomment out the SCFW_FLAGS. Here's the change you would make:
    ...
    ...
    # When using Arm Trusted Firmware please comment the line below (SCFW going to move all resources to secure partition)
    SCFW_FLAGS = -flags 0x00010000
    ...
    ...                 
Page updated: