Advertisement
Guest User

kconfig

a guest
Feb 14th, 2020
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.55 KB | None | 0 0
  1. menu "Boot options"
  2.  
  3. config CMDLINE
  4. string "Default kernel command string"
  5. default "androidboot.hardware=qcom msm_rtb.filter=0x237 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 androidboot.bootdevice=7824900.sdhci earlycon=msm_hsl_uart,0x78B0000 androidboot.selinux=permissive"
  6. help
  7. Provide a set of default command-line options at build time by
  8. entering them here. As a minimum, you should specify the the
  9. root device (e.g. root=/dev/nfs).
  10.  
  11. choice
  12. prompt "Kernel command line type" if CMDLINE != "androidboot.hardware=qcom msm_rtb.filter=0x237 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 androidboot.bootdevice=7824900.sdhci earlycon=msm_hsl_uart,0x78B0000 androidboot.selinux=permissive"
  13. default CMDLINE
  14.  
  15. config CMDLINE_FROM_BOOTLOADER
  16. bool "Use bootloader kernel arguments if available"
  17. default n
  18. help
  19. Uses the command-line options passed by the boot loader. If
  20. the boot loader doesn't provide any, the default kernel command
  21. string provided in CMDLINE will be used.
  22.  
  23. config CMDLINE_EXTEND
  24. bool "Extend bootloader kernel arguments"
  25. default n
  26. help
  27. The command-line arguments provided by the boot loader will be
  28. appended to the default kernel command string.
  29.  
  30. config CMDLINE_FORCE
  31. bool "Always use the default kernel command string"
  32. default y
  33. help
  34. Always use the default kernel command string, even if the boot
  35. loader passes other arguments to the kernel.
  36. This is useful if you cannot or don't want to change the
  37. command-line options your boot loader passes to the kernel.
  38. endchoice
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement