Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   1) # SPDX-License-Identifier: GPL-2.0-only
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   2) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   3) # Video configuration
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   4) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   5) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   6) menu "Console display driver support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   7) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   8) config VGA_CONSOLE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   9) 	bool "VGA text console" if EXPERT || !X86
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  10) 	depends on !4xx && !PPC_8xx && !SPARC && !M68K && !PARISC &&  !SUPERH && \
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  11) 		(!ARM || ARCH_FOOTBRIDGE || ARCH_INTEGRATOR || ARCH_NETWINDER) && \
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  12) 		!ARM64 && !ARC && !MICROBLAZE && !OPENRISC && !NDS32 && !S390
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  13) 	default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  14) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  15) 	  Saying Y here will allow you to use Linux in text mode through a
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  16) 	  display that complies with the generic VGA standard. Virtually
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  17) 	  everyone wants that.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  18) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  19) 	  The program SVGATextMode can be used to utilize SVGA video cards to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  20) 	  their full potential in text mode. Download it from
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  21) 	  <ftp://ibiblio.org/pub/Linux/utils/console/>.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  22) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  23) 	  Say Y.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  24) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  25) config MDA_CONSOLE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  26) 	depends on !M68K && !PARISC && ISA
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  27) 	tristate "MDA text console (dual-headed)"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  28) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  29) 	  Say Y here if you have an old MDA or monochrome Hercules graphics
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  30) 	  adapter in your system acting as a second head ( = video card). You
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  31) 	  will then be able to use two monitors with your Linux system. Do not
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  32) 	  say Y here if your MDA card is the primary card in your system; the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  33) 	  normal VGA driver will handle it.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  34) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  35) 	  To compile this driver as a module, choose M here: the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  36) 	  module will be called mdacon.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  37) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  38) 	  If unsure, say N.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  39) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  40) config SGI_NEWPORT_CONSOLE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  41) 	tristate "SGI Newport Console support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  42) 	depends on SGI_IP22 && HAS_IOMEM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  43) 	select FONT_SUPPORT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  44) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  45) 	  Say Y here if you want the console on the Newport aka XL graphics
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  46) 	  card of your Indy.  Most people say Y here.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  47) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  48) config DUMMY_CONSOLE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  49) 	bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  50) 	default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  51) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  52) config DUMMY_CONSOLE_COLUMNS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  53) 	int "Initial number of console screen columns"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  54) 	depends on DUMMY_CONSOLE && !ARM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  55) 	default 160 if PARISC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  56) 	default 80
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  57) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  58) 	  On PA-RISC, the default value is 160, which should fit a 1280x1024
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  59) 	  monitor.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  60) 	  Select 80 if you use a 640x480 resolution by default.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  61) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  62) config DUMMY_CONSOLE_ROWS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  63) 	int "Initial number of console screen rows"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  64) 	depends on DUMMY_CONSOLE && !ARM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  65) 	default 64 if PARISC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  66) 	default 25
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  67) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  68) 	  On PA-RISC, the default value is 64, which should fit a 1280x1024
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  69) 	  monitor.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  70) 	  Select 25 if you use a 640x480 resolution by default.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  71) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  72) config FRAMEBUFFER_CONSOLE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  73) 	bool "Framebuffer Console support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  74) 	depends on FB && !UML
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  75) 	select VT_HW_CONSOLE_BINDING
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  76) 	select CRC32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  77) 	select FONT_SUPPORT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  78) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  79) 	  Low-level framebuffer-based console driver.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  80) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  81) config FRAMEBUFFER_CONSOLE_LEGACY_ACCELERATION
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  82) 	bool "Enable legacy fbcon hardware acceleration code"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  83) 	depends on FRAMEBUFFER_CONSOLE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  84) 	default y if PARISC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  85) 	default n
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  86) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  87) 	  This option enables the fbcon (framebuffer text-based) hardware
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  88) 	  acceleration for graphics drivers which were written for the fbdev
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  89) 	  graphics interface.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  90) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  91) 	  On modern machines, on mainstream machines (like x86-64) or when
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  92) 	  using a modern Linux distribution those fbdev drivers usually aren't used.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  93) 	  So enabling this option wouldn't have any effect, which is why you want
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  94) 	  to disable this option on such newer machines.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  95) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  96) 	  If you compile this kernel for older machines which still require the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  97) 	  fbdev drivers, you may want to say Y.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  98) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  99) 	  If unsure, select n.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 100) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 101) config FRAMEBUFFER_CONSOLE_DETECT_PRIMARY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 102)        bool "Map the console to the primary display device"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 103)        depends on FRAMEBUFFER_CONSOLE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 104)        default n
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 105) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 106) 	 If this option is selected, the framebuffer console will
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 107) 	 automatically select the primary display device (if the architecture
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 108) 	 supports this feature).  Otherwise, the framebuffer console will
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 109) 	 always select the first framebuffer driver that is loaded. The latter
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 110) 	 is the default behavior.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 111) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 112) 	 You can always override the automatic selection of the primary device
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 113) 	 by using the fbcon=map: boot option.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 114) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 115) 	 If unsure, select n.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 116) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 117) config FRAMEBUFFER_CONSOLE_ROTATION
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 118)        bool "Framebuffer Console Rotation"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 119)        depends on FRAMEBUFFER_CONSOLE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 120)        help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 121) 	 Enable display rotation for the framebuffer console.  This is done
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 122) 	 in software and may be significantly slower than a normally oriented
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 123) 	 display.  Note that the rotation is done at the console level only
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 124) 	 such that other users of the framebuffer will remain normally
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 125) 	 oriented.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 126) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 127) config FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 128) 	bool "Framebuffer Console Deferred Takeover"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 129) 	depends on FB=y && FRAMEBUFFER_CONSOLE && DUMMY_CONSOLE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 130) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 131) 	  If enabled this defers the framebuffer console taking over the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 132) 	  console from the dummy console until the first text is displayed on
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 133) 	  the console. This is useful in combination with the "quiet" kernel
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 134) 	  commandline option to keep the framebuffer contents initially put up
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 135) 	  by the firmware in place, rather then replacing the contents with a
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 136) 	  black screen as soon as fbcon loads.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 137) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 138) config STI_CONSOLE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 139) 	bool "STI text console"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 140) 	depends on PARISC && HAS_IOMEM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 141) 	select FONT_SUPPORT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 142) 	select CRC32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 143) 	default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 144) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 145) 	  The STI console is the builtin display/keyboard on HP-PARISC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 146) 	  machines.  Say Y here to build support for it into your kernel.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 147) 	  The alternative is to use your primary serial port as a console.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 148) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 149) endmenu
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 150)