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.

AM3358: Linux boot file sequence

Part Number: AM3358

hello

my question is to which file first execute in sitara kit after power ON

and next file sequence whenever we turn on the sitara kit power on

i am gone through sys_info.c and board.c

but before sys_info.c which files running and its possible to add printf in those files so that i can print file name of files in terminal log while file called...?

  • Raju,

    can you provide some more details of what are you trying to do? What software are you running?

    Regards, Andreas

  • hi

    thank you so much for your interest with this matter

    and sorry for UN-sufficient information in question

    right now i am working in ti AM335x Starter Kit and using ti latest sdk 6

    i want to understand the file execution sequence in kit

    but i am unable to find which file execute after power on in AM335x Starter Kit and file sequence i which files execute in kit ...?

    aim to understand this file sequence in depth we have developing a custom board with ref design of AM335x Starter Kit and in future we are planning to port linux to that board.

    yah RBL load SPL/MLO in internal RAM and

    MLO load uboot in external RAM and U-boot load linux kernel in RAM

  • hello

    really very sorry to bothering you

    but i am still unable to here any reply from your side

    Thank You !..

  • RAJU KUMARKHANIYA said:

    yah RBL load SPL/MLO in internal RAM and

    MLO load uboot in external RAM and U-boot load linux kernel in RAM

    Yes this is essentially the start of the sequence. Then also...

    • U-Boot also loads the device tree file (alongside with the Kernel) needed for the boot, in your case the dtb file for the AM335x Starter Kit
    • Kernel loads various drivers (modules) and firmwares as needed
    • Kernel loads and runs /sbin/init which is really the first process run by the system

    If you need any more details on any of those items a quick google search should produce a wealth of information, there is nothing "TI-special" really about the entire flow.

    Regards, Andreas

  • hello,

    I am grateful for your support.

    your reply really appreciated, Thank you for your assistance with this matter

    Thank You !..