Skip to content
This repository has been archived by the owner on Oct 14, 2022. It is now read-only.

Latest commit

 

History

History
executable file
·
39 lines (25 loc) · 842 Bytes

cmdline.md

File metadata and controls

executable file
·
39 lines (25 loc) · 842 Bytes

内核 cmdline

必要参数

pd_ignore_unused clk_ignore_unused efi=novamap 
  • pd_ignore_unused

Keep all power domains already enabled by bootloader on, even if no driver has claimed them.

  • clk_ignore_unused

Keep boot clocks on, even if no driver has claimed them.

  • efi=novamap

SetVirtualAddressMap() is not called after ExitBootServices()

可选参数

earlycon=efifb,mem video=efifb:off debug panic=10
  • earlycon=efifb,mem

Enable early kernel messages output on EFI framebuffer. Very useful and recommended for early kernel debugging.

  • video=efifb:off

Disable the efifb framebuffer. efifb highly affects performance on my phone for unknown reasons. Disabling it can improve performance. Do not disable unless you have an alternative framebuffer such as simplefb