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.

RTOS/AM5746: How to boot smp project from SD card

Part Number: AM5746
Other Parts Discussed in Thread: SYSBIOS

Tool/software: TI-RTOS

Hi,

My customers want to boot SMP project from SD card.

Would you tell me the procedure?

Regards,

Rei

  • Hi Rei,

    You can create bootable SD card, copy the sbl binary(MLO) to SD card, then copy the Application image (app) (dhry.out) to SD card, then boot AM57x board from that SD card.

    Refer to below pointers for details:

    software-dl.ti.com/.../index_Foundational_Components.html
    software-dl.ti.com/.../index_examples_demos.html

    Regards,
    Pavel
  • Hi Pavel.
    Thank you for your reply.

    We confirmed the build and load procedure from CCS of SMP Project and the procedure of SD Card boot (including Multi core).

    My customers used AM57xImageGen.bat. And the app file was generated by MulticoreImageGen.exe.
    However, they failed in SD Card boot of SMP project.

    My customers considered the following failure reasons:
    ・When the program is loaded from CCS, the program counter(PC) starts from ti_sysbios_family_arm_a15_smp_Core_resetOMAP5xxx .(both of core0 and core1)
    ・When booting from SD card , the PC starts from c_int00. (both of core0 and core1)
    ・Each program counter is different.

    Would you tell me about the following.
    1. Start sequence of SMP project
    2. How to boot the SMP project from SD Card.

    ■Environment
    HW:TMDSIDK574
    SW:pdk_am57xx_1_0_11

    Regards,
    Rei

  • Hi Pavel,

    I would like to know about smp project.

    Regards,
    Rei
  • Rei,

    Do you use the pre-built out file or you are generating your own out file?

    processor_sdk_rtos_am57xx_5_02_00_10/demos/posix-smp/bin/AM572x/armv7/debug/dhry.out

    For converting the .out file to a format loadable by TI’s Secondary Boot Loader (SBL), you must follow these two steps:

    1. out2rprc.exe [.out file] [rprc output]
    2. MulticoreImageGen.exe LE 55 [output name] 0 [rprc output]

    Refer to the below sections of the user guide:

    3.2.2.3. Creating the SD Card Loadable Files
    4.6.3.2.4. Tools and Binary Formats

    Regards,
    Pavel