AM5748: Prebuilt TI RTOS MMCSD MLO for idkAM5748 custom board is not printing any MLO prints.

Part Number: AM5748
Other Parts Discussed in Thread: TDA4VM,

 Hi,

               We are trying to load SYS/BIOS application via SD card in our idkAM5748 custom board , so we a have tried to create bootable SD card, given in boot section of PDK 08_01_00_09 release notes, we have formatted SD card to vfat format and then we copied MLO and example app , but the UART console is blank it's not even showing any MLO prints such as "**** PDK SBL ****" and "Jumping to user application..." but linux MLO and u-boot is coming up in a same board, please provide support with respect to this issue.

Thanks & regards,

Phaneesh A

              

  • Hi Phaneesh,

    Can you please attach the CCS and check of the SBL is loaded or not?

    Please check the FAQ https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1121933/faq-tda4vm-debugging-sbl-boot-in-rtos-sdk for reference.

    The FAQ is meant for TDA4VM but the similar steps can be followed for AM57xx as well

    Regards,
    Parth

  • Hi  Parth,

                I've tried the above method in my case sbl.out  file should have halted at while but it's not halting at while condition. First I removed gel file import path at target configuration-> advanced tab then I connected the A15 core then I tried to load sbl.out file but the core was showing "no symbol defined"

    Regards,

    Phaneesh A

  • Hi,

    Let me try this on my end and get back

    Regards,
    Parth

  • Okay, Thanks for the response. please check this and let me know.

    Regards,

    Phaneesh

  • Hi,

    I can see the MLO logs with the pre-built MLO image on my side.
    Do you have TI IDK board with you? Can you please check the MLO on TI IDK board once?

      I've tried the above method in my case sbl.out  file should have halted at while but it's not halting at while condition. First I removed gel file import path at target configuration-> advanced tab then I connected the A15 core then I tried to load sbl.out file but the core was showing "no symbol defined"

    Also, can you please check where is your PC in this case?

    Regards,
    Parth

  • Hi Parth,

                    I don't have TI's IDK Board but I'm having Custom board which uses AM5748 SOC. and I have noticed that , it checks for EEPROM which we don't have in our board so how to bypass or modify the SBL_Configure_AVS() API in sbl_avs_config.c.

    regards,

    Phaneesh A

  • Hi,

    I believe the only point it is interacting with the EEPROM in  SBL_Configure_AVS()  is to get the board info in Board_getIDInfo which it is using to retrieve the boardID in SBL_GetBoardId

    You can hardcode this value to match with the your board name. Please refer to the implementation of SBL_GetBoardId.

    So basically you can comment out Board_getIDInfo and pass "AM574IDK" as the argument to SBL_GetBoardId

    Regards,
    Parth

  • Hi, 

                     I tried this method but still I'm not getting any prints on UART console, is there any alternative to debug or to know exactly where SBL is crashing.

    Regards,

    Phaneesh 

  • Hi,

    I can see the SBL halting at while loop and I have been able to debug from there.

    ega

    Did you give a clean build? If not can you please try cleaning the SBL first and then rebuild the SBL and try.

    Regards,
    Parth

  • Hi, 

            Please let me know these steps which I have followed to check sbl from CCS is right or wrong,

    1.  I have removed gel file path for A15 core in target configuration file at advanced tab.

    2.  I have connected A15 and tried to to load the symbol of sbl.out.

    3.  After following the above steps I'm not seeing the core halting at main() , it is still showing undefined symbols 

    Do I have to try to load the file sbl.out instead of symbol??

    regards,

    Phaneesh A 

  • Looks like it's not even reaching main. But you are able to see linux booting from it right? Are you using the same SD card for both? Can you try using a different SD card. Also, did you do any modification in MLO? If yes, can you please share your MLO binary? I'll try it once on my end.

    Regards,
    Parth

  • Hi Parth , 

                  This issue got resolved it was register settings issue in pll and ddr in board\soc\idkAM5748 directory we compared register settings with gel file and finally sbl started working for our custom board but we still have one issue our ipu_clkEnable part is getting stuck in ipu clock control register is showing module disabled state ,can you help us out here.

    Regards,

    Phaneesh A.

  • Hi Phaneesh,

    This issue got resolved it was register settings issue in pll and ddr in board\soc\idkAM5748 directory we compared register settings with gel file and finally sbl started working for our custom board

    Can you please point me to the changes that you have done? Are these specific to your board or that seems to be a generic issue?

    our ipu_clkEnable part is getting stuck in ipu clock control register is showing module disabled state ,can you help us out here.

    Can you please share the exact operation that is failing? Would be able to provide better suggestions based on that.

    Regards,
    Parth

  • Hi Parth,

                By mistake I replied that problem is solved to this thread sorry for that, from sbl_main.c file it is calling for SBL_TargetCorePrcmEnable() ,here it calls IPU1_ClkEnable()  but the CM_IPU1_IPU1_CLKCTRL register you can check in TRM is showing the value as  0x70000 which means.

    a. Module is in standby, for Module standby status.

    b. Module is disabled and cannot be accessed in  Module idle status

    But in case of gel file loading when we connect the target through JTAG it is showing 0x1000001 , which says clock in functional in auto mode.

    can you reply for this as soon as possible.

    Regards,

    Phaneesh A

  • Hi Phaneesh,

    Would you please confirm if you are using PROCESSOR-SDK-LINUX-AM57X or PROCESSOR-SDK-RTOS-AM57X? and could you please try any driver example on ccs.

    Regards,

    Karthik