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.

Linux/EVMK2H: How can i determine drivers being loaded at boot up.

Part Number: EVMK2H

Tool/software: Linux

Hi, 

I need to determine which of the drivers are currently being loaded at System boot up. And maybe the services currently running in my system, Moreover how can i stop the drivers i do not need to load at boot up? and stop the services from initializing? The main goal of this effort is to reduce the System boot up time.

Best regards

Sheraz

  • Hi,

    You need to check arch/arm/configs/tisdk_k2hk-evm_defconfig file. Modules set with y, such as:
    CONFIG_KEYBOARD_GPIO=y
    CONFIG_INPUT_KEYBOARD=y
    CONFIG_SERIAL_8250=y
    CONFIG_I2C_CHARDEV=y

    Are loaded directly in the kernel image (zImage) and they are loaded upon device bootup. The ones set as m are built as modules and user needs to insmod them manually after device is booted.

    You can also see which modules are directly loaded with lsmod command.

    Best Regards,
    Yordan