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.

Bootlog section in C665x RBL code

We are debuging a C6657 Nand boot issue, and after read the RBL code downloaded from below link;

http://software-dl.ti.com/sdoemb/sdoemb_public_sw/rbl/1_0_C6657/index_FDS.html

We found that there are some bootlog which can store the debug info during the boot process, it benefits for our test, I captured the definition in the end of this post.

According to C6657 datasheet, "The bootloader uses a section of the L2 SRAM (start address 0x0087 2DC0 and
end address 0x0087 FFFF) during initial booting of the device" But we don't know where the exact address of below two sections also there is no MAP file on these sections in RBL code. Is it possible to provide the detailed address on these sections? 

#pragma DATA_SECTION (fname, ".fname")

#pragma DATA_SECTION (bootLog, ".bootLog")

/*****************************************************************************************
 * FUNCTION PURPOSE: Add an entry to the log
 *****************************************************************************************
 * DESCRIPTION: A new entry is made if there is room.
 *****************************************************************************************/
void bootLogEntry (char *fname, UINT32 line, SINT32 code)
{
    if (bootLog.idx >= bootLog.maxIdx)
        return;

    bootLog.entry[bootLog.idx].fileName = fname;
    bootLog.entry[bootLog.idx].line     = line;
    bootLog.entry[bootLog.idx].logCode  = code;

    bootLog.idx += 1;

} /* bootLogEntry */

 

  • Hi Thomas,

    We don`t publish the map file for the bootROM due to security related symbols in the map file for the RBL. However, if you provide a memory dump, we can analyze the log and provide insights regarding the boot failure. the data section .fname is present at location 0x20b15a40 and the .bootlog memory section is at 0x008ffa80.

    Regards,
    Rahul
  • Hi Rahul,

    sorry, it is one of the bad answers from TI. The documentation of RBL and as well C6657 have many gaps and errors. When will finally updated the data sheet?

    It is needed a correct address list of boot status and boot configuration tables.
    Please, would you provide such tables?

    Kind regards
    Sven