June 2017
Intermediate to advanced
478 pages
13h 14m
English
The kernel command line is a string that is passed to the kernel by the bootloader, via the bootargs variable in the case of U-Boot; it can also be defined in the device tree, or set as part of the kernel configuration in CONFIG_CMDLINE.
We have seen some examples of the kernel command line already, but there are many more. There is a complete list in Documentation/kernel-parameters.txt. Here is a smaller list of the most useful ones:
| Name | Description |
| debug | Sets the console log level to the highest level, 8, to ensure that you see all the kernel messages on the console. |
| init= | The init program to run from a mounted root filesystem, which defaults to /sbin/init. |
| lpj= | Sets loops_per_jiffy to a given constant. There ... |
Read now
Unlock full access