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.

AM1705 Serial Flash and Boot utils build failing

Other Parts Discussed in Thread: OMAP-L137, AM1705, OMAP-L138

Hello,

I have several doubts regarding the Serial Flash and Boot utils. My questions are the following:

I'm using the OMAP-L137_FlashAndBootUtils_2_40 version.

1) How do I know if I need to rebuild the host and target side applications?

2) What do I need to modify in the case of a custom board (my case)?

3) How can I build them? I followed the  instructions in the wiki and the ones explaind by Shankari at https://e2e.ti.com/support/dsp/omap_applications_processors/f/42/p/464743/1676838, however I haven't been able to build them. I have tried several times and no result.

4) For the AM1705 can I use any of these applicacitions OMAP-L137_FlashAndBootUtils_2_40 and OMAP-L138_FlashAndBootUtils_2_40? They are mentioned in the forum as they are equivalent and is very confusing.

I will really appreciate your advice, I'm stuck. Please help.

Best regards,

Patricio Cohen


  • 2) What do I need to modify in the case of a custom board (my case)?

    Refer to this wiki page.
    processors.wiki.ti.com/.../User:Clintonr


    1) How do I know if I need to rebuild the host and target side applications?
    3) How can I build them? I followed the instructions in the wiki and the ones explaind by Shankari at e2e.ti.com/.../1676838, however I haven't been able to build them. I have tried several times and no result.

    Please try to rebuild without any modification in source code, if rebuild succeed then modify for your custom board by referring the below TI wiki.
    processors.wiki.ti.com/.../Rebuilding_the_Flash_and_Boot_Utils_Package

    Please share the log what you have tried and let me know the issues while you are rebuilding the SFH.


    4) For the AM1705 can I use any of these applicacitions OMAP-L137_FlashAndBootUtils_2_40 and OMAP-L138_FlashAndBootUtils_2_40? They are mentioned in the forum as they are equivalent and is very confusing.

    Use " OMAP-L137_FlashAndBootUtils_2_40" package for OMAPL137 platform.
  • Hi Patricio,

    Patricio said:
    1) How do I know if I need to rebuild the host and target side applications?

    4) For the AM1705 can I use any of these applicacitions OMAP-L137_FlashAndBootUtils_2_40 and OMAP-L138_FlashAndBootUtils_2_40? They are mentioned in the forum as they are equivalent and is very confusing.

    Good question.

    Here, I presume that the host side application is the serial flasher utility and the target side applications are the TI released packages ( like BSL/rCSL/Starterware etc ) for the particular TI EVM platforms such as OMAPL137-Logic PD EVM, DA830 EVM and AM17x EVM etc. The ARM core of OMAPL137 is equivalent/same to the ARM core used in the AM17x.

    So, you can use the flash utilities of OMAPl137. Pass the parameter , "targettype" as OMAPL137.

    Patricio said:
    2) What do I need to modify in the case of a custom board (my case)?

    Compare and identify the peripheral differences between the TI released EVM of AM17x and your custom boards using their schematics.

    Consider if few peripheral's parts are changed in your custom boards, you have to modify the source code of the serial flasher accordingly. As well as the eample driver program you used to experiment will undego changes.

    Please visit this section for more info. which will talk about the modification of custom board.

    Patricio said:
    3) How can I build them? I followed the  instructions in the wiki and the ones explaind by Shankari at , however I haven't been able to build them. I have tried several times and no result.

    Post the erros you recieved while re-building.

  • Hello Titus and Shankari,

    After a lot of struggling I was able to compile the applications. The problem was the C6000 compiler.

    The latest C6000 compiler version produced several errors, but when I changed it to 7.3.0 version it compiled fine.

    I think it is important to compile the tools with a compiler version the same or very close to the one when the programs were released.

    Now I'm making changes to the files you explained me for the case of a custom board.

    I will appreciate if you can answer the following questions:

    1) For the AM1705 is an UBL required?

    2) Or can I just use an AIS signed Uboot image without an UBL?

    3) If 2) is negative. Why?

    Please see this reference:

    http://processors.wiki.ti.com/index.php/OMAP-L138_Bootloader#Do_I_need_a_secondary_bootloader_.28UBL.29.3F

    Thank you.

    Best regards,

    Patricio

  • Dear Patricio,
    Yes, you can go with 2nd option.

    It is also depends on the u-boot version you use.
    If your SDK has UBL and u-boot source code then you can also try to use UBL and u-boot combination.
  • Hi Patrico,

    patrico said:
    2) Or can I just use an AIS signed Uboot image without an UBL?

    3) If 2) is negative. Why?



    If you can generate or build the AIS formatted u-boot, UBL is not required. Check whether the option is available to build and generate the binary of the u-boot which is of "AIS format"