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.

PROCESSOR-SDK-AM62X: which drivers / tools i can disable in the kernel menuconfig in order to speed up the boot

Part Number: PROCESSOR-SDK-AM62X


Tool/software:

Hi Ti,

I did enabled below peripherals on my system in kernek .

serial GPS ,serial GSM , third part WIFI /BT, enabled R5 core for ipc mechanism, pac1710 (i2c voltage-current saensor) , i2c humidity-temperatire sensor, i2c mems sesnor ,i2c bq2562x battery charger, can , deepsleep .

which drivers / tools i can disable in the kernel menuconfig in order to speed up the bootup.

May i know  how to increase the bootup time ?

Thank you ,

Naresh

  • which drivers / tools i can disable in the kernel menuconfig in order to speed up the bootup.

    May i know  how to increase the bootup time ?

    Do you mean you want to both decrease and increase the boot time? They seem to be conflict requirements.

  • Hi Bin Liu,

    Sorry my mistake ,

    I want to reduce the bootup time 

    Thanks,

    Naresh

  • Hi Naresh,

    What is your current boot time? What is the boot time target?

    What does your board boot from?

  • Hi Bin Liu,

    My board is bootigm from dfu-usb .

    It's taking 1 min to boot now .

    Which kernel drivers / clocks / tools to disable from kernel menuconfig in- order reduce the boot time ?

    Thanks ,

    Naresh

  • Hi Naresh,

    The boot time optimization can be done in U-Boot, kernel config and device tree, and root filesystem, the exact details will depend on the boot time and software requirement of your project.

    First please break down the time consumed in each step of the boot process - uboot loading kernel image, kernel boot, and filesystem init. If you use minicom to connect to your board UART console, you can press 'Ctrl-A N' in minicom, it will add a timestemp on each line of the console message, then you can capture the entire Linux boot log with the timestamps, to understand the time spent on each boot process.

    Then you can analyze the boot time consumption to focus on the optimization.