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.

some questions about 6678 RBL

deat all

I download the 6678 RBL from http://software-dl.ti.com/sdoemb/sdoemb_public_sw/rbl/1_0_C6678/index_FDS.html.

there are my questions:

question 1:I want to boot my 6678 from spi .so the RBL code will execute spimain.c ?

question 2: I find out that the function 'void bootInitBootParamsSpi()' does not execute in  bootMainSpi () , where does the function  'void bootInitBootParamsSpi()' execute?

question 3: which file define the 'BOOT_PARAMS_SPI_T' in the shannon folder?

thanks!  

  • 1. Yes, if your booting 6678 from spi , the device will initialize the boot media and device using the boot paramter table and then execute the spimain (contains SPI boot mode specific process ) as described in the flowchart in Figure 2-2 provided in the bootloader user guide.

    2. That function is executed from the boot parameter table . Please locate the function call in  the file nysh.c

    3.  tiboot.h file defines BOOT_PARAMS_SPI_T structure.

    Regards,

    Rahul

  • Hi Rahul Prabhu,

    About question 2: I look into the nysh.c. when the function 'chipInitBootParams()' will be executed, which function will call function 'chipInitBootParams()' to be executed? I can not find 'chipInitBootParams' in 'spimain()';

    thanks a lot.

  • boot_init_boot_params function defined in the rmain.c calls the function chipInitBootParams

    Regards,

    Rahul