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.

  • TI Thinks Resolved

Linux/AM3358: kernel 4.4.88-ti-r125 uboot s_init routine?

Part Number: AM3358

Tool/software: Linux

http://processors.wiki.ti.com/index.php/Sitara_Linux_Training:_uboot_linux_debug_with_ccsv5

From the above training, there is the following instructions:

5. Now open the source file so we can set a breakpoint in the s_init function

  • Click File -> Open File
  • Browse to /home/sitara/ti-sdk-am335x-evm-xx.xx.xx.xx/board-support/u-boot-xx.xx.xx/board/ti/am335x/
  • select the board.c file and click OK
  • Use CTRL+F to search for s_init

For the v2017.09 uboot, there is no s_init routine.  There is a board_init() routine in board/ti/am335x/board.c. 

1)  The instructions above are for omap2 and omap3 that use s_init()?

2) Is the s_init routine equivalent to the board_init in board/init/arm335xboard.c in the current uboot version?  This is the board specific setup after pnmux. Pulled source for uboot and kernel as follows:eewiki.net/.../BeagleBone Black

3) What is the link or repo to the TI specific BSP uboot/kernel for BBB?

4) Has TI pushed the TI BSP  to the community, or is there still TI specific changes not pushed to the community?  For example, drivers or anything that might impact BBB booting if 4.4 and latest uboot is pulled from the community?

  • Hi Tracy,

    I will have a look on this and come back to you.

    Regards,
    Pavel



  • Hi Tracy,

    From where you get this 4.4.48 kernel? This kernel is NOT supported by AM335x TI SDK. The 4.4.x kernel versions supported by AM335x SDKs are 4.4.12 (PSDK3.0), 4.4.19 (PSDK3.1), 4.4.32 (PSDK3.2) and 4.4.41 (PSDK3.3). I would suggest you to switch to 4.4.x version supported by AM335x TI PSDK3 or if possible to 4.9.x version supported by AM335x TI PSDK4

    Tracy Smith6

    For the v2017.09 uboot, there is no s_init routine.  There is a board_init() routine in board/ti/am335x/board.c. 

    1)  The instructions above are for omap2 and omap3 that use s_init()?

    The latest version of u-boot supported by AM335x TI PSDK4.1 is v2017.01. This PSDK4.1 comes with 4.9.41 kernel.

    The instructions in this wiki are for older version of AM335x SDK, SDK5.05 that comes with u-boot 2011.09 and kernel 3.2. We have update version in below link:

    processors.wiki.ti.com/index.php/Sitara_Linux_Training:_uboot_linux_debug_with_ccsv5_sdk7

    This wiki is also not up-to-date with u-boot 2017, refer to the below e2e threads:

    Tracy Smith6
    2) Is the s_init routine equivalent to the board_init in board/init/arm335xboard.c in the current uboot version?  This is the board specific setup after pnmux. Pulled source for uboot and kernel as follows:eewiki.net/.../BeagleBone Black

    In this forum, we support u-boot and kernel that comes with TI SDK. For other linux distributions you can ask/post in the beagle org community

    Tracy Smith6
    3) What is the link or repo to the TI specific BSP uboot/kernel for BBB?

    Tracy Smith6
    4) Has TI pushed the TI BSP  to the community, or is there still TI specific changes not pushed to the community?  For example, drivers or anything that might impact BBB booting if 4.4 and latest uboot is pulled from the community?

    Regarding mainline linux, refer to the below link:

    Regards,
    Pavel



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.