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] MCU-PLUS-SDK-AM243X: PCIe boot on AM64x/AM24x

Part Number: MCU-PLUS-SDK-AM243X

Tool/software:

Hi,

How to enable PCIe boot on AM64x/AM24x?

Regards

Ashwani

  • Hi,

    Currently, we do not support PCIE boot as part of public MCU-PLUS-SDK-AM243X Software development kit (SDK) | TI.com.

    Here we are providing inputs/ steps, the customer can follow to test/ verify PCIE boot works fine on AM64x/AM243x.

    Regards

    Ashwani

     

  • Test Board AM64x/AM243x EVM

    Test Setup:  AM64x/AM243x EVM(PCIE-RC) <=> AM64x/AM243x EVM(PCIE-EP)

    PatchPatch for am64x-am243x-sbl-pcie-Adapt-to-changed-PCIe-driver

    ===============================================================

    Steps:

    1. Prepare an SD-card with the following files:
      1.   sbl_null.release.hs_fs.tiimage (e.g. from sbl_prebuilt) as "tiboot3.bin"
      2.   sbl_pcie.Release.hs_fs.tiimage (compiled after applying patch)
      3.   pcie_msi_irq_ep_am64x-evm_r5fss0-0_nortos_ti-arm-clang.appimage.hs_fs as "app"
    2. Use an unmodified AM64x EVM as an RC (AM24x should work as well)
      1. use a unmodified AM24x EVM as an EP and a cable with RefClk resistors soldered
      2. (see pcie_enumerate_ep documentation for necessary changes)
    3. Configure EP EVM for PCIe boot
    4. Turn RC and EP off
    5. Turn on RC, boot the RC with the NULL SBL
    6. Load and run the sbl_pcie_host application via CCS
    7. Turn on EP
    8. RC should output that it's sending SBL image an appimage

    ===============================================================

    Logs:

    ----------
    Sending SBL image - "/sd0/sbl_pcie.release.hs_fs.tiimage" of size 310733
    Sending appimage - "/sd0/app.ep" of size 57270
    Images transferred successfully
    ----------
     
    -> EP should output SBL bootloader logging and start PCIe EP MSI application:
     
    ----------
    DMSC Firmware Version 9.2.8--v09.02.08 (Kool Koala)
    DMSC Firmware revision 0x9
    DMSC ABI revision 3.1
     
    [BOOTLOADER_PROFILE] Boot Media       : undefined
    KPI_DATA: [BOOTLOADER_PROFILE] Boot Image Size  : 0 KB
    [BOOTLOADER_PROFILE] Cores present    :
    KPI_DATA: [BOOTLOADER PROFILE] SYSFW init                       :      12413us
    KPI_DATA: [BOOTLOADER PROFILE] System_init                      :      15204us
    KPI_DATA: [BOOTLOADER PROFILE] Drivers_open                     :         49us
    KPI_DATA: [BOOTLOADER PROFILE] Sciclient Get Version            :       9869us
    KPI_DATA: [BOOTLOADER PROFILE] Appimage reception via PCIE      :     244857us
    KPI_DATA: [BOOTLOADER PROFILE] CPU Load                         :        987us
    KPI_DATA: [BOOTLOADER_PROFILE] SBL Total Time Taken             :     283383us
     
    Image loading done, switching to application ...
    Device in EP mode
    ----------

    ================================================================

    Important Notes:

    • Booting sbl_pcie_host via sbl_sd not tested
    • Tested with pcie_sbl booted via ROM PCIe boot only
    • Tested for AM64x/AM243x EVM(RC) <=> AM64x/AM243x EVM(EP) setup only
    • This probably would not work with a Linux/x86 RC

    Regards

    Ashwani