This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[FAQ] [参考译文] [常见问题解答] PROCESSOR-SDK-DRA8X-TDA4X:如何在 OSPI 中启用 DMA 并在 SBL 和引导应用中提高 OSPI 读取性能?

Guru**** 2539500 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/946654/faq-processor-sdk-dra8x-tda4x-how-to-enable-dma-in-ospi-and-improve-ospi-read-performance-in-sbl-and-bootapp

器件型号:PROCESSOR-SDK-DRA8X-TDA4X

本文介绍了如何在 OSPI 中启用 DMA 以及如何在 SBL 和 TDA4xVM 的引导应用中提高 OSPI 读取性能。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    SBL 和引导应用程序当前使用非 DMA 模式从 PSDKRA6.2和 PSDKRA7.0版本中的 OSPI 闪存进行读取。 当固件映像较大时、从 OSPI 读取这些映像需要大量时间。

    所附 zip 文件中的两个补丁可为 OSPI 闪存启用 DMA。 请按照步骤在 OSPI 闪存中启用 DMA

    1. 在 PSDK_RTOS_auto_J7_07_00_00_11\pdk_jacinto_07_00_00_00_00\文件夹上应用'0001-pdk-pdk-5691-SBL-support-external-OSPI-dma-usage.patch'补丁
    2. 在 PSDK_RTOS_auto_J7_07_00_00_11\mcusw 文件夹上应用'0001-MCAL-4816-Boot-App-Add-support-for-boot-with -OSPI-DM.patch'补丁
    3. 在  PSDK_RTOS_auto_J7_07_00_00_11\pdk_Jacinto_07_00_00_00_00\packeges\ti\boot\sbl\component.mk 文件中为 SBL_ospi_img/sbl 和 sb_lib_ospi/sbl_us_dma 启用标志 SBL_use_dma
    4. 使用重建 SBL  
      1. 使-s -J4 Board=j721e_EVM core=mcu1_0 build_profile=release pdk_libs
      2. make -s -J4 Board=j721e_EVM core=mcu1_0 build_profile=release SBL_ospi_img/sbL_cust_img
    5. 在  PSDK_RTOS_auto_J7_07_00_11\mcusw\mcus_demos\boot_app_mcu_rtos\makefile 文件中将 FLAG ENABLE_OSPI_DMA 设置为 yes
    6. 转至 PSDK_RTOS_auto_J7_07_00_00_11\mcusw\build 文件夹并使用重建引导应用程序
      1. make -s -j4 CAN_BOOT_APP_MCU_RTOS Board=j721e_EVM SOC=j721e build_profile=release core=mcu1_0 build_OS_type=tirtos

    e2e.ti.com/.../OSPI_5F00_DMA.zip

    此致、

    Brijesh