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.

x-loader file loading sequence and gpio_129 muxing not happening

Other Parts Discussed in Thread: DM3730, OMAP3530

Hi all, 

           I am trying to know which files in x-loader starts working and in which sequence.

I am using gingerbread. I came to know first file is start.s in x-loader/lib. Now my question is, there is a directory 'x-loader/board/omap3evm/omap3evm.c' in which one function s_init () calls all the pin multiplexing functions as set _mux_conf_regs() and other initialisations of which i am not very sure right now.

this function s_init () is called from platform.s. I want to know if there is any way to confirm that s_init () is called or not from platform.s file . I am trying to print the changed mux configurations in u-boot but this print not working and  it hangs.

The reason to confirm this is to know if my gpio_129 mux is configured or not. Currently its not working.

  • Hi Mrigendra,

    The board file is the main file which is performed. For the omap3530/dm3730 evm board this is omap3evm.c file as you note. After you have made some changes in this file and build the x-loader check the data and time of the omap3evm.o file. If they match with the compilation date and time this means that your changes on omap3evm.c present in the x-loader built.

    Of course you can use printf command as it is used already in the omap3evm.c file.

    About the changes of configuration of gpio_129 mux you can look at the definition of the MUX_DEFAULT() macro and add your settings. Also your settings can be overwritten in the u-boot because the pin mux configuration is made there again.

    BR

    Tsvetolin Shulev

  • Hi Tsvetolin, 

                Thanks for your reply. Can you tell me that is there something special with a group of gpios like 129 to configure like some PBIAS settings? When should we use these settings?

  • Hi Mrigenda,

    All possible modes for the gpio_129 are described in the Table 7-4. Core Control Module Pad Configuration Register Fields in the TRM which can be downloaded from the omap3530 product page or at:

    http://www.ti.com/lit/ug/spruf98y/spruf98y.pdf

    Look at the Figure 24-2. General-Purpose Interface Typical Application System Overview and caution below for some additional clarifications.

    BR

    Tsvetolin Shulev