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/AM5726: eMMC format and boot image

Part Number: AM5726

Tool/software: TI-RTOS

Hi everybody , 

in my application I want to use  emmC and TIrtos .

so some  questions:

-  how to divide eMMC into partitions and format it on-board?   any sw tools to do this  or script available ?   I saw Uboot  used in linux systems . 

- how to mount 2 or more partitions with FATFS?

about  the image to  create  :

- how to create bootloader compatible with bootrom.

- how to put bootloader to eMMC and create file system at offset that does not overlaps with bootloader.

- is there any ELF-file reader in TI library

best regards

Carlo

  • Carlo,

    The Processor SDK RTOS currently doesn`t support eMMC booting of application like the Processor SDK Linux. We currently only support SD card and QSPI boot in the Processor SDK RTOS as highlighted in our software documentation.

    The complete design of the TI secondary bootloader for AM57xx devices is described in the link below. The ELF binary (.out) for each core is converted to an out2rprc format and combined into a multicore boot image which is then parsed by the bootloader and loaded. The out2rprc and multi-core image format is described in the link provided above.
    processors.wiki.ti.com/.../Processor_SDK_RTOS_BOOT_AM57x

    The ROM bootloader on the device supports raw boot from the boot parition on the eMMC but the secondary bootloader that is required to initialize DDR and perform multi-core boot is only validated with SD card and QSPI flash interface. We provide an MMC/SD driver that allows users to perform raw read/write access to eMMC from application but don`t provide a utility to FAT format or further partition the user data partition on the eMMC.

    Regards,
    Rahul

    PS: The boot image for eMMC like all flash media boot, uses GP Header format that has been described in Section 33.8 in the TRM.