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.

OMAP-L138: NOR Flash secondary bootloader

Part Number: OMAP-L138

Hello,

I have been searching on E2E about the availability of a project of a secondary bootloader (SBL) for the OMAP-L138 using parallel NOR flash memories, but I have just found dead threads with no final answer like these for serial NOR flash memories

https://e2e.ti.com/support/processors/f/processors-forum/932071/omap-l138-programming-the-spi-nor-flash-connected-to-omap-l138

https://e2e.ti.com/support/processors/f/processors-forum/932784/omap-l138-programming-the-spi-nor-flash-connected-to-omap-l138

https://e2e-uat.ti.com/support/processors/f/processors-forum/377281/running-starterware-on-custom-nor-flash-board

In the Starterware package associated with the device, there is a project I have checked in CCS which is meant to be used with the lcdk evaluation board but it only support the lcdk on board NAND flash, the EVM SPI and MMCSD boot modes.

1) Could I have some references to know how to modify or create the secondary boorloader for my custom board having a parallel NOR flash?

I have seen that a ELF to RPRC conversion is needed to be able to flash the images for each core (ARM, DSP and I guess PRUSS too).

2) Where can I find more information of these RPRC file format and multi core image files used by the SBL in Starterware?

I hope someone could help me with this issue.

Gonzalo.

  • Hi Gonzalo,

    The Processor-SDK Developer's Guide has a section regarding SBL: https://software-dl.ti.com/processor-sdk-rtos/esd/docs/06_03_00_106/rtos/index_Foundational_Components.html#omapl137-omapl138-c6748

    You can find more information about the conversion tool. However, for OMAP-L138, the Processor-SDK only supports MMCSD SBL.

    Regards,

    Jianzhong

  • Hi,

    thank you Jianzhong for your reply. I came across with that information on the SDK documentation but as it only support MMCSD SBL I didn't follow that reference.

    I guess there must be some application notes or at least some manual where I could understand the details of the SBL functions and how to deal with the RPRC and multi core files formats that the SBL must parse from the non volatile memory as well as the tools to create the image to be flashed into the external memory.

    The module bl_copy_rprc from the Starteerware SBL seem to recognize the number of sections to be copied automaticaly form the RPRC header (Unfortunately only for NAND flash).

    I have already seen the OMAP-L138_FlashAndBootUtils_2_40 that give me some hope, but it just seems to implement a User Boot Loader (UBL) that copies only ony application image and not recognizing a multi core image. I will keep studing this package.

    Gonzalo.

  • Gonzalo,

    Did you mean OMAP-L138 Starterware from here? We don't support this SW package anymore. 

    The development board for OMAP-L138, OMAP L138 LCDK, only supports NAND and DDR2 memory interfaces. So the Starterware only supported NAND SBL.

    Regards,

    Jianzhong

  • Hi,

    well I realized that TI do not support any more that package by the years it has not be updated.

    That is the reason I am looking for references, application notes, guides and on the like to try to create or adapt some of the existing packages that do not support NOR flash and include that boot option for a secondary bootloader.

    Ideally, I wish I could understand well all the detailed steps the a secondary bootloader must do to set up the C environment for both OMAP-L138 cores: ARM and DSP. This way I could analyze well the existing bootloaders and do my adaptation.

    Best regards,

    Gonzalo.

  • Hi Gonzalo,

    Understood your situation. Maybe you can try to look at SBLs for other TI devices which have NOR flash and see if you can get any reference?

    Regards,

    Jianzhong

  • Hello,

    I had to put aside this issue for a while.

    I wonder if someone has a suggestion of a TI DSP or MCU nearly compatible with OMAP-L138 device having a SBL project managing a NOR flash memory as the boot source of code. 

    Otherwise, as I mentioned, a good reference about the booloading process steps and file formats needed for the OMAP-L138 will be much welcomed.

    Regards,

    Gonzalo

  • Hi Gonzalo,

    This application report of Using the OMAP-L132/L138 Bootloader may be a helpful resource for you.

    Regards,

    Jianzhong