Kconfig.debug 61 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846
  1. # SPDX-License-Identifier: GPL-2.0
  2. config ARM_PTDUMP_CORE
  3. def_bool n
  4. config ARM_PTDUMP_DEBUGFS
  5. bool "Export kernel pagetable layout to userspace via debugfs"
  6. depends on DEBUG_KERNEL
  7. depends on MMU
  8. select ARM_PTDUMP_CORE
  9. select DEBUG_FS
  10. help
  11. Say Y here if you want to show the kernel pagetable layout in a
  12. debugfs file. This information is only useful for kernel developers
  13. who are working in architecture specific areas of the kernel.
  14. It is probably not a good idea to enable this feature in a production
  15. kernel.
  16. If in doubt, say "N"
  17. config ARM_DEBUG_WX
  18. bool "Warn on W+X mappings at boot"
  19. depends on MMU
  20. select ARM_PTDUMP_CORE
  21. help
  22. Generate a warning if any W+X mappings are found at boot.
  23. This is useful for discovering cases where the kernel is leaving
  24. W+X mappings after applying NX, as such mappings are a security risk.
  25. Look for a message in dmesg output like this:
  26. arm/mm: Checked W+X mappings: passed, no W+X pages found.
  27. or like this, if the check failed:
  28. arm/mm: Checked W+X mappings: FAILED, <N> W+X pages found.
  29. Note that even if the check fails, your kernel is possibly
  30. still fine, as W+X mappings are not a security hole in
  31. themselves, what they do is that they make the exploitation
  32. of other unfixed kernel bugs easier.
  33. There is no runtime or memory usage effect of this option
  34. once the kernel has booted up - it's a one time check.
  35. If in doubt, say "Y".
  36. choice
  37. prompt "Choose kernel unwinder"
  38. default UNWINDER_ARM if AEABI
  39. default UNWINDER_FRAME_POINTER if !AEABI
  40. help
  41. This determines which method will be used for unwinding kernel stack
  42. traces for panics, oopses, bugs, warnings, perf, /proc/<pid>/stack,
  43. livepatch, lockdep, and more.
  44. config UNWINDER_FRAME_POINTER
  45. bool "Frame pointer unwinder"
  46. depends on !THUMB2_KERNEL
  47. select ARCH_WANT_FRAME_POINTERS
  48. select FRAME_POINTER
  49. help
  50. This option enables the frame pointer unwinder for unwinding
  51. kernel stack traces.
  52. config UNWINDER_ARM
  53. bool "ARM EABI stack unwinder"
  54. depends on AEABI
  55. select ARM_UNWIND
  56. help
  57. This option enables stack unwinding support in the kernel
  58. using the information automatically generated by the
  59. compiler. The resulting kernel image is slightly bigger but
  60. the performance is not affected. Currently, this feature
  61. only works with EABI compilers.
  62. endchoice
  63. config ARM_UNWIND
  64. bool
  65. config BACKTRACE_VERBOSE
  66. bool "Verbose backtrace"
  67. depends on EXPERT
  68. help
  69. When the kernel produces a warning or oops, the kernel prints a
  70. trace of the call chain. This option controls whether we include
  71. the numeric addresses or only include the symbolic information.
  72. In most cases, say N here, unless you are intending to debug the
  73. kernel and have access to the kernel binary image.
  74. config DEBUG_USER
  75. bool "Verbose user fault messages"
  76. help
  77. When a user program crashes due to an exception, the kernel can
  78. print a brief message explaining what the problem was. This is
  79. sometimes helpful for debugging but serves no purpose on a
  80. production system. Most people should say N here.
  81. In addition, you need to pass user_debug=N on the kernel command
  82. line to enable this feature. N consists of the sum of:
  83. 1 - undefined instruction events
  84. 2 - system calls
  85. 4 - invalid data aborts
  86. 8 - SIGSEGV faults
  87. 16 - SIGBUS faults
  88. # These options are only for real kernel hackers who want to get their hands dirty.
  89. config DEBUG_LL
  90. bool "Kernel low-level debugging functions (read help!)"
  91. depends on DEBUG_KERNEL
  92. help
  93. Say Y here to include definitions of printascii, printch, printhex
  94. in the kernel. This is helpful if you are debugging code that
  95. executes before the console is initialized.
  96. Note that selecting this option will limit the kernel to a single
  97. UART definition, as specified below. Attempting to boot the kernel
  98. image on a different platform *will not work*, so this option should
  99. not be enabled for kernels that are intended to be portable.
  100. choice
  101. prompt "Kernel low-level debugging port"
  102. depends on DEBUG_LL
  103. config DEBUG_ALPINE_UART0
  104. bool "Kernel low-level debugging messages via Alpine UART0"
  105. depends on ARCH_ALPINE
  106. select DEBUG_UART_8250
  107. help
  108. Say Y here if you want kernel low-level debugging support
  109. on Alpine based platforms.
  110. config DEBUG_ASM9260_UART
  111. bool "Kernel low-level debugging via asm9260 UART"
  112. depends on MACH_ASM9260
  113. help
  114. Say Y here if you want the debug print routines to direct
  115. their output to an UART or USART port on asm9260 based
  116. machines.
  117. DEBUG_UART_PHYS | DEBUG_UART_VIRT
  118. 0x80000000 | 0xf0000000 | UART0
  119. 0x80004000 | 0xf0004000 | UART1
  120. 0x80008000 | 0xf0008000 | UART2
  121. 0x8000c000 | 0xf000c000 | UART3
  122. 0x80010000 | 0xf0010000 | UART4
  123. 0x80014000 | 0xf0014000 | UART5
  124. 0x80018000 | 0xf0018000 | UART6
  125. 0x8001c000 | 0xf001c000 | UART7
  126. 0x80020000 | 0xf0020000 | UART8
  127. 0x80024000 | 0xf0024000 | UART9
  128. config DEBUG_AT91_RM9200_DBGU
  129. bool "Kernel low-level debugging on AT91RM9200, AT91SAM9, SAM9X60 DBGU"
  130. select DEBUG_AT91_UART
  131. depends on SOC_AT91RM9200 || SOC_AT91SAM9 || SOC_SAM9X60
  132. help
  133. Say Y here if you want kernel low-level debugging support
  134. on the DBGU port of:
  135. at91rm9200, at91sam9260, at91sam9g20, at91sam9261,
  136. at91sam9g10, at91sam9n12, at91sam9rl64, at91sam9x5, sam9x60
  137. config DEBUG_AT91_SAM9263_DBGU
  138. bool "Kernel low-level debugging on AT91SAM{9263,9G45,A5D3} DBGU"
  139. select DEBUG_AT91_UART
  140. depends on SOC_AT91SAM9 || SOC_SAMA5D3
  141. help
  142. Say Y here if you want kernel low-level debugging support
  143. on the DBGU port of:
  144. at91sam9263, at91sam9g45, at91sam9m10,
  145. sama5d3
  146. config DEBUG_AT91_SAMA5D2_UART1
  147. bool "Kernel low-level debugging on SAMA5D2 UART1"
  148. select DEBUG_AT91_UART
  149. depends on SOC_SAMA5D2
  150. help
  151. Say Y here if you want kernel low-level debugging support
  152. on the UART1 port of sama5d2.
  153. config DEBUG_AT91_SAMA5D4_USART3
  154. bool "Kernel low-level debugging on SAMA5D4 USART3"
  155. select DEBUG_AT91_UART
  156. depends on SOC_SAMA5D4
  157. help
  158. Say Y here if you want kernel low-level debugging support
  159. on the USART3 port of sama5d4.
  160. config DEBUG_AT91_SAMV7_USART1
  161. bool "Kernel low-level debugging via SAMV7 USART1"
  162. select DEBUG_AT91_UART
  163. depends on SOC_SAMV7
  164. help
  165. Say Y here if you want the debug print routines to direct
  166. their output to the USART1 port on SAMV7 based
  167. machines.
  168. config DEBUG_AT91_SAMA7G5_FLEXCOM3
  169. bool "Kernel low-level debugging on SAMA7G5 FLEXCOM3"
  170. select DEBUG_AT91_UART
  171. depends on SOC_SAMA7G5
  172. help
  173. Say Y here if you want kernel low-level debugging support
  174. on the FLEXCOM3 port of SAMA7G5.
  175. config DEBUG_AT91_LAN966_FLEXCOM
  176. bool "Kernel low-level debugging on LAN966 FLEXCOM USART"
  177. select DEBUG_AT91_UART
  178. depends on SOC_LAN966
  179. help
  180. Say Y here if you want kernel low-level debugging support
  181. on the FLEXCOM port of LAN966.
  182. DEBUG_UART_PHYS | DEBUG_UART_VIRT
  183. 0xe0040200 | 0xfd040200 | FLEXCOM0
  184. 0xe0044200 | 0xfd044200 | FLEXCOM1
  185. 0xe0060200 | 0xfd060200 | FLEXCOM2
  186. 0xe0064200 | 0xfd064200 | FLEXCOM3
  187. 0xe0070200 | 0xfd070200 | FLEXCOM4
  188. By default, enabling FLEXCOM3 port. Based on requirement, use
  189. DEBUG_UART_PHYS and DEBUG_UART_VIRT configurations from above
  190. table.
  191. config DEBUG_BCM2835
  192. bool "Kernel low-level debugging on BCM2835 PL011 UART"
  193. depends on ARCH_BCM2835 && ARCH_MULTI_V6
  194. select DEBUG_UART_PL01X
  195. config DEBUG_BCM2836
  196. bool "Kernel low-level debugging on BCM2836 PL011 UART"
  197. depends on ARCH_BCM2835 && ARCH_MULTI_V7
  198. select DEBUG_UART_PL01X
  199. config DEBUG_BCM_5301X
  200. bool "Kernel low-level debugging on BCM5301X/NSP UART1"
  201. depends on ARCH_BCM_5301X || ARCH_BCM_NSP
  202. select DEBUG_UART_8250
  203. config DEBUG_BCMBCA
  204. bool "Kernel low-level debugging on BCMBCA UART0"
  205. depends on ARCH_BCMBCA
  206. config DEBUG_BCM_HR2
  207. bool "Kernel low-level debugging on Hurricane 2 UART2"
  208. depends on ARCH_BCM_HR2
  209. select DEBUG_UART_8250
  210. config DEBUG_BCM_IPROC_UART3
  211. bool "Kernel low-level debugging on BCM IPROC UART3"
  212. depends on ARCH_BCM_CYGNUS
  213. select DEBUG_UART_8250
  214. help
  215. Say Y here if you want the debug print routines to direct
  216. their output to the third serial port on these devices.
  217. config DEBUG_BCM_KONA_UART
  218. bool "Kernel low-level debugging messages via BCM KONA UART"
  219. depends on ARCH_BCM_MOBILE
  220. select DEBUG_UART_8250
  221. help
  222. Say Y here if you want kernel low-level debugging support
  223. on Broadcom SoC platforms.
  224. This low level debug works for Broadcom
  225. mobile SoCs in the Kona family of chips (e.g. bcm28155,
  226. bcm11351, etc...)
  227. config DEBUG_BCM63XX_UART
  228. bool "Kernel low-level debugging on BCM63XX UART"
  229. depends on ARCH_BCMBCA
  230. config DEBUG_BERLIN_UART
  231. bool "Marvell Berlin SoC Debug UART"
  232. depends on ARCH_BERLIN
  233. select DEBUG_UART_8250
  234. help
  235. Say Y here if you want kernel low-level debugging support
  236. on Marvell Berlin SoC based platforms.
  237. config DEBUG_BRCMSTB_UART
  238. bool "Use BRCMSTB UART for low-level debug"
  239. depends on ARCH_BRCMSTB
  240. help
  241. Say Y here if you want the debug print routines to direct
  242. their output to the first serial port on these devices. The
  243. UART physical and virtual address is automatically provided
  244. based on the chip identification register value.
  245. If you have a Broadcom STB chip and would like early print
  246. messages to appear over the UART, select this option.
  247. config DEBUG_CLPS711X_UART1
  248. bool "Kernel low-level debugging messages via UART1"
  249. depends on ARCH_CLPS711X
  250. help
  251. Say Y here if you want the debug print routines to direct
  252. their output to the first serial port on these devices.
  253. config DEBUG_CLPS711X_UART2
  254. bool "Kernel low-level debugging messages via UART2"
  255. depends on ARCH_CLPS711X
  256. help
  257. Say Y here if you want the debug print routines to direct
  258. their output to the second serial port on these devices.
  259. config DEBUG_DAVINCI_DA8XX_UART1
  260. bool "Kernel low-level debugging on DaVinci DA8XX using UART1"
  261. depends on ARCH_DAVINCI_DA8XX
  262. select DEBUG_UART_8250
  263. help
  264. Say Y here if you want the debug print routines to direct
  265. their output to UART1 serial port on DaVinci DA8XX devices.
  266. config DEBUG_DAVINCI_DA8XX_UART2
  267. bool "Kernel low-level debugging on DaVinci DA8XX using UART2"
  268. depends on ARCH_DAVINCI_DA8XX
  269. select DEBUG_UART_8250
  270. help
  271. Say Y here if you want the debug print routines to direct
  272. their output to UART2 serial port on DaVinci DA8XX devices.
  273. config DEBUG_DC21285_PORT
  274. bool "Kernel low-level debugging messages via footbridge serial port"
  275. depends on FOOTBRIDGE
  276. help
  277. Say Y here if you want the debug print routines to direct
  278. their output to the serial port in the DC21285 (Footbridge).
  279. config DEBUG_DIGICOLOR_UA0
  280. bool "Kernel low-level debugging messages via Digicolor UA0"
  281. depends on ARCH_DIGICOLOR
  282. help
  283. Say Y here if you want the debug print routines to direct
  284. their output to the UA0 serial port in the CX92755.
  285. config DEBUG_EP93XX
  286. bool "Kernel low-level debugging messages via ep93xx UART"
  287. depends on ARCH_EP93XX
  288. select DEBUG_UART_PL01X
  289. help
  290. Say Y here if you want kernel low-level debugging support
  291. on Cirrus Logic EP93xx based platforms.
  292. config DEBUG_FOOTBRIDGE_COM1
  293. bool "Kernel low-level debugging messages via footbridge 8250 at PCI COM1"
  294. depends on FOOTBRIDGE
  295. select DEBUG_UART_8250
  296. help
  297. Say Y here if you want the debug print routines to direct
  298. their output to the 8250 at PCI COM1.
  299. config DEBUG_GEMINI
  300. bool "Kernel low-level debugging messages via Cortina Systems Gemini UART"
  301. depends on ARCH_GEMINI
  302. select DEBUG_UART_8250
  303. help
  304. Say Y here if you want kernel low-level debugging support
  305. on Cortina Gemini based platforms.
  306. config DEBUG_HI3620_UART
  307. bool "Hisilicon HI3620 Debug UART"
  308. depends on ARCH_HI3xxx
  309. select DEBUG_UART_PL01X
  310. help
  311. Say Y here if you want kernel low-level debugging support
  312. on HI3620 UART.
  313. config DEBUG_HIGHBANK_UART
  314. bool "Kernel low-level debugging messages via Highbank UART"
  315. depends on ARCH_HIGHBANK
  316. select DEBUG_UART_PL01X
  317. help
  318. Say Y here if you want the debug print routines to direct
  319. their output to the UART on Highbank based devices.
  320. config DEBUG_HIP01_UART
  321. bool "Hisilicon Hip01 Debug UART"
  322. depends on ARCH_HIP01
  323. select DEBUG_UART_8250
  324. help
  325. Say Y here if you want kernel low-level debugging support
  326. on HIP01 UART.
  327. config DEBUG_HIP04_UART
  328. bool "Hisilicon HiP04 Debug UART"
  329. depends on ARCH_HIP04
  330. select DEBUG_UART_8250
  331. help
  332. Say Y here if you want kernel low-level debugging support
  333. on HIP04 UART.
  334. config DEBUG_HIX5HD2_UART
  335. bool "Hisilicon Hix5hd2 Debug UART"
  336. depends on ARCH_HIX5HD2
  337. select DEBUG_UART_PL01X
  338. help
  339. Say Y here if you want kernel low-level debugging support
  340. on Hix5hd2 UART.
  341. config DEBUG_IMX1_UART
  342. bool "i.MX1 Debug UART"
  343. depends on SOC_IMX1
  344. help
  345. Say Y here if you want kernel low-level debugging support
  346. on i.MX1.
  347. config DEBUG_IMX23_UART
  348. bool "i.MX23 Debug UART"
  349. depends on SOC_IMX23
  350. select DEBUG_UART_PL01X
  351. help
  352. Say Y here if you want kernel low-level debugging support
  353. on i.MX23.
  354. config DEBUG_IMX25_UART
  355. bool "i.MX25 Debug UART"
  356. depends on SOC_IMX25
  357. help
  358. Say Y here if you want kernel low-level debugging support
  359. on i.MX25.
  360. config DEBUG_IMX27_UART
  361. bool "i.MX27 Debug UART"
  362. depends on SOC_IMX27
  363. help
  364. Say Y here if you want kernel low-level debugging support
  365. on i.MX27.
  366. config DEBUG_IMX28_UART
  367. bool "i.MX28 Debug UART"
  368. depends on SOC_IMX28
  369. select DEBUG_UART_PL01X
  370. help
  371. Say Y here if you want kernel low-level debugging support
  372. on i.MX28.
  373. config DEBUG_IMX31_UART
  374. bool "i.MX31 Debug UART"
  375. depends on SOC_IMX31
  376. help
  377. Say Y here if you want kernel low-level debugging support
  378. on i.MX31.
  379. config DEBUG_IMX35_UART
  380. bool "i.MX35 Debug UART"
  381. depends on SOC_IMX35
  382. help
  383. Say Y here if you want kernel low-level debugging support
  384. on i.MX35.
  385. config DEBUG_IMX50_UART
  386. bool "i.MX50 Debug UART"
  387. depends on SOC_IMX50
  388. help
  389. Say Y here if you want kernel low-level debugging support
  390. on i.MX50.
  391. config DEBUG_IMX51_UART
  392. bool "i.MX51 Debug UART"
  393. depends on SOC_IMX51
  394. help
  395. Say Y here if you want kernel low-level debugging support
  396. on i.MX51.
  397. config DEBUG_IMX53_UART
  398. bool "i.MX53 Debug UART"
  399. depends on SOC_IMX53
  400. help
  401. Say Y here if you want kernel low-level debugging support
  402. on i.MX53.
  403. config DEBUG_IMX6Q_UART
  404. bool "i.MX6Q/DL Debug UART"
  405. depends on SOC_IMX6Q
  406. help
  407. Say Y here if you want kernel low-level debugging support
  408. on i.MX6Q/DL.
  409. config DEBUG_IMX6SL_UART
  410. bool "i.MX6SL Debug UART"
  411. depends on SOC_IMX6SL
  412. help
  413. Say Y here if you want kernel low-level debugging support
  414. on i.MX6SL.
  415. config DEBUG_IMX6SX_UART
  416. bool "i.MX6SX Debug UART"
  417. depends on SOC_IMX6SX
  418. help
  419. Say Y here if you want kernel low-level debugging support
  420. on i.MX6SX.
  421. config DEBUG_IMX6UL_UART
  422. bool "i.MX6UL Debug UART"
  423. depends on SOC_IMX6UL
  424. help
  425. Say Y here if you want kernel low-level debugging support
  426. on i.MX6UL.
  427. config DEBUG_IMX7D_UART
  428. bool "i.MX7D Debug UART"
  429. depends on SOC_IMX7D
  430. help
  431. Say Y here if you want kernel low-level debugging support
  432. on i.MX7D.
  433. config DEBUG_INTEGRATOR
  434. bool "Kernel low-level debugging messages via ARM Integrator UART"
  435. depends on ARCH_INTEGRATOR
  436. select DEBUG_UART_PL01X
  437. help
  438. Say Y here if you want kernel low-level debugging support
  439. on ARM Integrator platforms.
  440. config DEBUG_KEYSTONE_UART0
  441. bool "Kernel low-level debugging on KEYSTONE2 using UART0"
  442. depends on ARCH_KEYSTONE
  443. select DEBUG_UART_8250
  444. help
  445. Say Y here if you want the debug print routines to direct
  446. their output to UART0 serial port on KEYSTONE2 devices.
  447. config DEBUG_KEYSTONE_UART1
  448. bool "Kernel low-level debugging on KEYSTONE2 using UART1"
  449. depends on ARCH_KEYSTONE
  450. select DEBUG_UART_8250
  451. help
  452. Say Y here if you want the debug print routines to direct
  453. their output to UART1 serial port on KEYSTONE2 devices.
  454. config DEBUG_LPC18XX_UART0
  455. bool "Kernel low-level debugging via LPC18xx/43xx UART0"
  456. depends on ARCH_LPC18XX
  457. select DEBUG_UART_8250
  458. help
  459. Say Y here if you want kernel low-level debugging support
  460. on NXP LPC18xx/43xx UART0.
  461. config DEBUG_LPC32XX
  462. bool "Kernel low-level debugging messages via NXP LPC32xx UART"
  463. depends on ARCH_LPC32XX
  464. select DEBUG_UART_8250
  465. help
  466. Say Y here if you want kernel low-level debugging support
  467. on NXP LPC32xx based platforms.
  468. config DEBUG_MESON_UARTAO
  469. bool "Kernel low-level debugging via Meson6 UARTAO"
  470. depends on ARCH_MESON
  471. help
  472. Say Y here if you want kernel low-lever debugging support
  473. on Amlogic Meson6 based platforms on the UARTAO.
  474. config DEBUG_MMP_UART2
  475. bool "Kernel low-level debugging message via MMP UART2"
  476. depends on ARCH_MMP
  477. select DEBUG_UART_8250
  478. help
  479. Say Y here if you want kernel low-level debugging support
  480. on MMP UART2.
  481. config DEBUG_MMP_UART3
  482. bool "Kernel low-level debugging message via MMP UART3"
  483. depends on ARCH_MMP
  484. select DEBUG_UART_8250
  485. help
  486. Say Y here if you want kernel low-level debugging support
  487. on MMP UART3.
  488. config DEBUG_MVEBU_UART0
  489. bool "Kernel low-level debugging messages via MVEBU UART0 (old bootloaders)"
  490. depends on ARCH_MVEBU
  491. depends on ARCH_MVEBU && CPU_V7
  492. select DEBUG_UART_8250
  493. help
  494. Say Y here if you want kernel low-level debugging support
  495. on MVEBU based platforms on UART0.
  496. This option should be used with the old bootloaders
  497. that left the internal registers mapped at
  498. 0xd0000000. As of today, this is the case on
  499. platforms such as the Globalscale Mirabox or the
  500. Plathome OpenBlocks AX3, when using the original
  501. bootloader.
  502. This option will not work on older Marvell platforms
  503. (Kirkwood, Dove, MV78xx0, Orion5x), which should pick
  504. the "new bootloader" variant.
  505. If the wrong DEBUG_MVEBU_UART* option is selected,
  506. when u-boot hands over to the kernel, the system
  507. silently crashes, with no serial output at all.
  508. config DEBUG_MVEBU_UART0_ALTERNATE
  509. bool "Kernel low-level debugging messages via MVEBU UART0 (new bootloaders)"
  510. depends on ARCH_MVEBU || ARCH_DOVE || ARCH_MV78XX0 || ARCH_ORION5X
  511. select DEBUG_UART_8250
  512. help
  513. Say Y here if you want kernel low-level debugging support
  514. on MVEBU based platforms on UART0. (Armada XP, Armada 3xx,
  515. Kirkwood, Dove, MV78xx0, Orion5x).
  516. This option should be used with the new bootloaders
  517. that remap the internal registers at 0xf1000000.
  518. If the wrong DEBUG_MVEBU_UART* option is selected,
  519. when u-boot hands over to the kernel, the system
  520. silently crashes, with no serial output at all.
  521. config DEBUG_MVEBU_UART1_ALTERNATE
  522. bool "Kernel low-level debugging messages via MVEBU UART1 (new bootloaders)"
  523. depends on ARCH_MVEBU
  524. select DEBUG_UART_8250
  525. help
  526. Say Y here if you want kernel low-level debugging support
  527. on MVEBU based platforms on UART1. (Armada XP, Armada 3xx,
  528. Kirkwood, Dove, MV78xx0, Orion5x).
  529. This option should be used with the new bootloaders
  530. that remap the internal registers at 0xf1000000.
  531. All of the older (pre Armada XP/370) platforms also use
  532. this address, regardless of the boot loader version.
  533. If the wrong DEBUG_MVEBU_UART* option is selected,
  534. when u-boot hands over to the kernel, the system
  535. silently crashes, with no serial output at all.
  536. config DEBUG_MSTARV7_PMUART
  537. bool "Kernel low-level debugging messages via MSTARV7 PM UART"
  538. depends on ARCH_MSTARV7
  539. select DEBUG_UART_8250
  540. help
  541. Say Y here if you want kernel low-level debugging support
  542. for MSTAR ARMv7-based platforms on PM UART.
  543. config DEBUG_MT6589_UART0
  544. bool "Mediatek mt6589 UART0"
  545. depends on ARCH_MEDIATEK
  546. select DEBUG_UART_8250
  547. help
  548. Say Y here if you want kernel low-level debugging support
  549. for Mediatek mt6589 based platforms on UART0.
  550. config DEBUG_MT8127_UART0
  551. bool "Mediatek mt8127/mt6592 UART0"
  552. depends on ARCH_MEDIATEK
  553. select DEBUG_UART_8250
  554. help
  555. Say Y here if you want kernel low-level debugging support
  556. for Mediatek mt8127 based platforms on UART0.
  557. config DEBUG_MT8135_UART3
  558. bool "Mediatek mt8135 UART3"
  559. depends on ARCH_MEDIATEK
  560. select DEBUG_UART_8250
  561. help
  562. Say Y here if you want kernel low-level debugging support
  563. for Mediatek mt8135 based platforms on UART3.
  564. config DEBUG_NOMADIK_UART
  565. bool "Kernel low-level debugging messages via NOMADIK UART"
  566. depends on ARCH_NOMADIK
  567. select DEBUG_UART_PL01X
  568. help
  569. Say Y here if you want kernel low-level debugging support
  570. on NOMADIK based platforms.
  571. config DEBUG_NSPIRE_CLASSIC_UART
  572. bool "Kernel low-level debugging via TI-NSPIRE 8250 UART"
  573. depends on ARCH_NSPIRE
  574. select DEBUG_UART_8250
  575. help
  576. Say Y here if you want kernel low-level debugging support
  577. on TI-NSPIRE classic models.
  578. config DEBUG_NSPIRE_CX_UART
  579. bool "Kernel low-level debugging via TI-NSPIRE PL011 UART"
  580. depends on ARCH_NSPIRE
  581. select DEBUG_UART_PL01X
  582. help
  583. Say Y here if you want kernel low-level debugging support
  584. on TI-NSPIRE CX models.
  585. config DEBUG_OMAP1UART1
  586. bool "Kernel low-level debugging via OMAP1 UART1"
  587. depends on ARCH_OMAP1
  588. select DEBUG_UART_8250
  589. help
  590. Say Y here if you want kernel low-level debugging support
  591. on OMAP1 based platforms (except OMAP730) on the UART1.
  592. config DEBUG_OMAP1UART2
  593. bool "Kernel low-level debugging via OMAP1 UART2"
  594. depends on ARCH_OMAP1
  595. select DEBUG_UART_8250
  596. help
  597. Say Y here if you want kernel low-level debugging support
  598. on OMAP1 based platforms (except OMAP730) on the UART2.
  599. config DEBUG_OMAP1UART3
  600. bool "Kernel low-level debugging via OMAP1 UART3"
  601. depends on ARCH_OMAP1
  602. select DEBUG_UART_8250
  603. help
  604. Say Y here if you want kernel low-level debugging support
  605. on OMAP1 based platforms (except OMAP730) on the UART3.
  606. config DEBUG_OMAP2UART1
  607. bool "OMAP2/3/4 UART1 (omap2/3 sdp boards and some omap3 boards)"
  608. depends on ARCH_OMAP2PLUS
  609. select DEBUG_UART_8250
  610. help
  611. This covers at least h4, 2430sdp, 3430sdp, 3630sdp,
  612. omap3 torpedo and 3530 lv som.
  613. config DEBUG_OMAP2UART2
  614. bool "Kernel low-level debugging messages via OMAP2/3/4 UART2"
  615. depends on ARCH_OMAP2PLUS
  616. select DEBUG_UART_8250
  617. config DEBUG_OMAP2UART3
  618. bool "Kernel low-level debugging messages via OMAP2 UART3 (n8x0)"
  619. depends on ARCH_OMAP2PLUS
  620. select DEBUG_UART_8250
  621. config DEBUG_OMAP3UART3
  622. bool "Kernel low-level debugging messages via OMAP3 UART3 (most omap3 boards)"
  623. depends on ARCH_OMAP2PLUS
  624. select DEBUG_UART_8250
  625. help
  626. This covers at least cm_t3x, beagle, crane, devkit8000,
  627. igep00x0, ldp, n900, n9(50), pandora, overo, touchbook,
  628. and 3517evm.
  629. config DEBUG_OMAP4UART3
  630. bool "Kernel low-level debugging messages via OMAP4/5 UART3 (omap4 blaze, panda, omap5 sevm)"
  631. depends on ARCH_OMAP2PLUS
  632. select DEBUG_UART_8250
  633. config DEBUG_OMAP3UART4
  634. bool "Kernel low-level debugging messages via OMAP36XX UART4"
  635. depends on ARCH_OMAP2PLUS
  636. select DEBUG_UART_8250
  637. config DEBUG_OMAP4UART4
  638. bool "Kernel low-level debugging messages via OMAP4/5 UART4"
  639. depends on ARCH_OMAP2PLUS
  640. select DEBUG_UART_8250
  641. config DEBUG_TI81XXUART1
  642. bool "Kernel low-level debugging messages via TI81XX UART1 (ti8148evm)"
  643. depends on ARCH_OMAP2PLUS
  644. select DEBUG_UART_8250
  645. config DEBUG_TI81XXUART2
  646. bool "Kernel low-level debugging messages via TI81XX UART2"
  647. depends on ARCH_OMAP2PLUS
  648. select DEBUG_UART_8250
  649. config DEBUG_TI81XXUART3
  650. bool "Kernel low-level debugging messages via TI81XX UART3 (ti8168evm)"
  651. depends on ARCH_OMAP2PLUS
  652. select DEBUG_UART_8250
  653. config DEBUG_AM33XXUART1
  654. bool "Kernel low-level debugging messages via AM33XX UART1"
  655. depends on ARCH_OMAP2PLUS
  656. select DEBUG_UART_8250
  657. config DEBUG_ZOOM_UART
  658. bool "Kernel low-level debugging messages via Zoom2/3 UART"
  659. depends on ARCH_OMAP2PLUS
  660. select DEBUG_OMAP2PLUS_UART
  661. config DEBUG_PXA_UART1
  662. depends on ARCH_PXA
  663. bool "Use PXA UART1 for low-level debug"
  664. select DEBUG_UART_8250
  665. help
  666. Say Y here if you want kernel low-level debugging support
  667. on PXA UART1.
  668. config DEBUG_QCOM_UARTDM
  669. bool "Kernel low-level debugging messages via QCOM UARTDM"
  670. depends on ARCH_QCOM
  671. help
  672. Say Y here if you want the debug print routines to direct
  673. their output to the serial port on Qualcomm devices.
  674. ARCH DEBUG_UART_PHYS DEBUG_UART_VIRT
  675. APQ8064 0x16640000 0xf0040000
  676. APQ8084 0xf995e000 0xfa75e000
  677. IPQ4019 0x078af000 0xf78af000
  678. MSM8X60 0x19c40000 0xf0040000
  679. MSM8960 0x16440000 0xf0040000
  680. MSM8974 0xf991e000 0xfa71e000
  681. Please adjust DEBUG_UART_PHYS and DEBUG_UART_BASE configuration
  682. options based on your needs.
  683. config DEBUG_REALVIEW_STD_PORT
  684. bool "RealView Default UART"
  685. depends on ARCH_REALVIEW
  686. select DEBUG_UART_PL01X
  687. help
  688. Say Y here if you want the debug print routines to direct
  689. their output to the serial port on RealView EB, PB11MP, PBA8
  690. and PBX platforms.
  691. config DEBUG_REALVIEW_PB1176_PORT
  692. bool "RealView PB1176 UART"
  693. depends on MACH_REALVIEW_PB1176
  694. select DEBUG_UART_PL01X
  695. help
  696. Say Y here if you want the debug print routines to direct
  697. their output to the standard serial port on the RealView
  698. PB1176 platform.
  699. config DEBUG_RV1108_UART0
  700. bool "Kernel low-level debugging messages via Rockchip RV1108 UART0"
  701. depends on ARCH_ROCKCHIP
  702. select DEBUG_UART_8250
  703. help
  704. Say Y here if you want kernel low-level debugging support
  705. on Rockchip RV1108 based platforms.
  706. config DEBUG_RV1108_UART1
  707. bool "Kernel low-level debugging messages via Rockchip RV1108 UART1"
  708. depends on ARCH_ROCKCHIP
  709. select DEBUG_UART_8250
  710. help
  711. Say Y here if you want kernel low-level debugging support
  712. on Rockchip RV1108 based platforms.
  713. config DEBUG_RV1108_UART2
  714. bool "Kernel low-level debugging messages via Rockchip RV1108 UART2"
  715. depends on ARCH_ROCKCHIP
  716. select DEBUG_UART_8250
  717. help
  718. Say Y here if you want kernel low-level debugging support
  719. on Rockchip RV1108 based platforms.
  720. config DEBUG_RK29_UART0
  721. bool "Kernel low-level debugging messages via Rockchip RK29 UART0"
  722. depends on ARCH_ROCKCHIP
  723. select DEBUG_UART_8250
  724. help
  725. Say Y here if you want kernel low-level debugging support
  726. on Rockchip based platforms.
  727. config DEBUG_RK29_UART1
  728. bool "Kernel low-level debugging messages via Rockchip RK29 UART1"
  729. depends on ARCH_ROCKCHIP
  730. select DEBUG_UART_8250
  731. help
  732. Say Y here if you want kernel low-level debugging support
  733. on Rockchip based platforms.
  734. config DEBUG_RK29_UART2
  735. bool "Kernel low-level debugging messages via Rockchip RK29 UART2"
  736. depends on ARCH_ROCKCHIP
  737. select DEBUG_UART_8250
  738. help
  739. Say Y here if you want kernel low-level debugging support
  740. on Rockchip based platforms.
  741. config DEBUG_RK3X_UART0
  742. bool "Kernel low-level debugging messages via Rockchip RK30/RK31 UART0"
  743. depends on ARCH_ROCKCHIP
  744. select DEBUG_UART_8250
  745. help
  746. Say Y here if you want kernel low-level debugging support
  747. on Rockchip based platforms.
  748. config DEBUG_RK3X_UART1
  749. bool "Kernel low-level debugging messages via Rockchip RK30/RK31 UART1"
  750. depends on ARCH_ROCKCHIP
  751. select DEBUG_UART_8250
  752. help
  753. Say Y here if you want kernel low-level debugging support
  754. on Rockchip based platforms.
  755. config DEBUG_RK3X_UART2
  756. bool "Kernel low-level debugging messages via Rockchip RK30/RK31 UART2"
  757. depends on ARCH_ROCKCHIP
  758. select DEBUG_UART_8250
  759. help
  760. Say Y here if you want kernel low-level debugging support
  761. on Rockchip based platforms.
  762. config DEBUG_RK3X_UART3
  763. bool "Kernel low-level debugging messages via Rockchip RK30/RK31 UART3"
  764. depends on ARCH_ROCKCHIP
  765. select DEBUG_UART_8250
  766. help
  767. Say Y here if you want kernel low-level debugging support
  768. on Rockchip based platforms.
  769. config DEBUG_RK32_UART2
  770. bool "Kernel low-level debugging messages via Rockchip RK32 UART2"
  771. depends on ARCH_ROCKCHIP
  772. select DEBUG_UART_8250
  773. help
  774. Say Y here if you want kernel low-level debugging support
  775. on Rockchip RK32xx based platforms.
  776. config DEBUG_R7S72100_SCIF2
  777. bool "Kernel low-level debugging messages via SCIF2 on R7S72100"
  778. depends on ARCH_R7S72100
  779. help
  780. Say Y here if you want kernel low-level debugging support
  781. via SCIF2 on Renesas RZ/A1H (R7S72100).
  782. config DEBUG_R7S9210_SCIF2
  783. bool "Kernel low-level debugging messages via SCIF2 on R7S9210"
  784. depends on ARCH_R7S9210
  785. help
  786. Say Y here if you want kernel low-level debugging support
  787. via SCIF2 on Renesas RZ/A2M (R7S9210).
  788. config DEBUG_R7S9210_SCIF4
  789. bool "Kernel low-level debugging messages via SCIF4 on R7S9210"
  790. depends on ARCH_R7S9210
  791. help
  792. Say Y here if you want kernel low-level debugging support
  793. via SCIF4 on Renesas RZ/A2M (R7S9210).
  794. config DEBUG_RCAR_GEN1_SCIF0
  795. bool "Kernel low-level debugging messages via SCIF0 on R8A7778"
  796. depends on ARCH_R8A7778
  797. help
  798. Say Y here if you want kernel low-level debugging support
  799. via SCIF0 on Renesas R-Car M1A (R8A7778).
  800. config DEBUG_RCAR_GEN1_SCIF2
  801. bool "Kernel low-level debugging messages via SCIF2 on R8A7779"
  802. depends on ARCH_R8A7779
  803. help
  804. Say Y here if you want kernel low-level debugging support
  805. via SCIF2 on Renesas R-Car H1 (R8A7779).
  806. config DEBUG_RCAR_GEN2_SCIF0
  807. bool "Kernel low-level debugging messages via SCIF0 on R-Car Gen2 and RZ/G1"
  808. depends on ARCH_R8A7743 || ARCH_R8A7744 || ARCH_R8A7790 || \
  809. ARCH_R8A7791 || ARCH_R8A7792 || ARCH_R8A7793
  810. help
  811. Say Y here if you want kernel low-level debugging support
  812. via SCIF0 on Renesas RZ/G1M (R8A7743), RZ/G1N (R8A7744),
  813. R-Car H2 (R8A7790), M2-W (R8A7791), V2H (R8A7792), or
  814. M2-N (R8A7793).
  815. config DEBUG_RCAR_GEN2_SCIF1
  816. bool "Kernel low-level debugging messages via SCIF1 on R8A77470"
  817. depends on ARCH_R8A77470
  818. help
  819. Say Y here if you want kernel low-level debugging support
  820. via SCIF1 on Renesas RZ/G1C (R8A77470).
  821. config DEBUG_RCAR_GEN2_SCIF2
  822. bool "Kernel low-level debugging messages via SCIF2 on R8A7794"
  823. depends on ARCH_R8A7794
  824. help
  825. Say Y here if you want kernel low-level debugging support
  826. via SCIF2 on Renesas R-Car E2 (R8A7794).
  827. config DEBUG_RCAR_GEN2_SCIF4
  828. bool "Kernel low-level debugging messages via SCIF4 on R8A7745"
  829. depends on ARCH_R8A7745
  830. help
  831. Say Y here if you want kernel low-level debugging support
  832. via SCIF4 on Renesas RZ/G1E (R8A7745).
  833. config DEBUG_RCAR_GEN2_SCIFA2
  834. bool "Kernel low-level debugging messages via SCIFA2 on R8A7742"
  835. depends on ARCH_R8A7742
  836. help
  837. Say Y here if you want kernel low-level debugging support
  838. via SCIFA2 on Renesas RZ/G1H (R8A7742).
  839. config DEBUG_RMOBILE_SCIFA0
  840. bool "Kernel low-level debugging messages via SCIFA0 on R8A73A4"
  841. depends on ARCH_R8A73A4
  842. help
  843. Say Y here if you want kernel low-level debugging support
  844. via SCIFA0 on Renesas R-Mobile APE6 (R8A73A4).
  845. config DEBUG_RMOBILE_SCIFA1
  846. bool "Kernel low-level debugging messages via SCIFA1 on R8A7740"
  847. depends on ARCH_R8A7740
  848. help
  849. Say Y here if you want kernel low-level debugging support
  850. via SCIFA1 on Renesas R-Mobile A1 (R8A7740).
  851. config DEBUG_RMOBILE_SCIFA4
  852. bool "Kernel low-level debugging messages via SCIFA4 on SH73A0"
  853. depends on ARCH_SH73A0
  854. help
  855. Say Y here if you want kernel low-level debugging support
  856. via SCIFA4 on Renesas SH-Mobile AG5 (SH73A0).
  857. config DEBUG_S3C_UART0
  858. depends on PLAT_SAMSUNG || ARCH_S5PV210 || ARCH_EXYNOS
  859. select DEBUG_EXYNOS_UART if ARCH_EXYNOS
  860. select DEBUG_S3C64XX_UART if ARCH_S3C64XX
  861. select DEBUG_S5PV210_UART if ARCH_S5PV210
  862. bool "Use Samsung S3C UART 0 for low-level debug"
  863. help
  864. Say Y here if you want the debug print routines to direct
  865. their output to UART 0. The port must have been initialised
  866. by the boot-loader before use.
  867. config DEBUG_S3C_UART1
  868. depends on PLAT_SAMSUNG || ARCH_S5PV210 || ARCH_EXYNOS
  869. select DEBUG_EXYNOS_UART if ARCH_EXYNOS
  870. select DEBUG_S3C64XX_UART if ARCH_S3C64XX
  871. select DEBUG_S5PV210_UART if ARCH_S5PV210
  872. bool "Use Samsung S3C UART 1 for low-level debug"
  873. help
  874. Say Y here if you want the debug print routines to direct
  875. their output to UART 1. The port must have been initialised
  876. by the boot-loader before use.
  877. config DEBUG_S3C_UART2
  878. depends on PLAT_SAMSUNG || ARCH_S5PV210 || ARCH_EXYNOS
  879. select DEBUG_EXYNOS_UART if ARCH_EXYNOS
  880. select DEBUG_S3C64XX_UART if ARCH_S3C64XX
  881. select DEBUG_S5PV210_UART if ARCH_S5PV210
  882. bool "Use Samsung S3C UART 2 for low-level debug"
  883. help
  884. Say Y here if you want the debug print routines to direct
  885. their output to UART 2. The port must have been initialised
  886. by the boot-loader before use.
  887. config DEBUG_S3C_UART3
  888. depends on ARCH_EXYNOS || ARCH_S5PV210
  889. select DEBUG_EXYNOS_UART if ARCH_EXYNOS
  890. select DEBUG_S3C64XX_UART if ARCH_S3C64XX
  891. select DEBUG_S5PV210_UART if ARCH_S5PV210
  892. bool "Use Samsung S3C UART 3 for low-level debug"
  893. help
  894. Say Y here if you want the debug print routines to direct
  895. their output to UART 3. The port must have been initialised
  896. by the boot-loader before use.
  897. config DEBUG_SA1100
  898. depends on ARCH_SA1100
  899. bool "Use SA1100 UARTs for low-level debug"
  900. help
  901. Say Y here if you want kernel low-level debugging support
  902. on SA-11x0 UART ports. The kernel will check for the first
  903. enabled UART in a sequence 3-1-2.
  904. config DEBUG_SD5203_UART
  905. bool "Hisilicon SD5203 Debug UART"
  906. depends on ARCH_SD5203
  907. select DEBUG_UART_8250
  908. help
  909. Say Y here if you want kernel low-level debugging support
  910. on SD5203 UART.
  911. config DEBUG_SOCFPGA_UART0
  912. depends on ARCH_INTEL_SOCFPGA
  913. bool "Use SOCFPGA UART0 for low-level debug"
  914. select DEBUG_UART_8250
  915. help
  916. Say Y here if you want kernel low-level debugging support
  917. on SOCFPGA(Cyclone 5 and Arria 5) based platforms.
  918. config DEBUG_SOCFPGA_ARRIA10_UART1
  919. depends on ARCH_INTEL_SOCFPGA
  920. bool "Use SOCFPGA Arria10 UART1 for low-level debug"
  921. select DEBUG_UART_8250
  922. help
  923. Say Y here if you want kernel low-level debugging support
  924. on SOCFPGA(Arria 10) based platforms.
  925. config DEBUG_SOCFPGA_CYCLONE5_UART1
  926. depends on ARCH_INTEL_SOCFPGA
  927. bool "Use SOCFPGA Cyclone 5 UART1 for low-level debug"
  928. select DEBUG_UART_8250
  929. help
  930. Say Y here if you want kernel low-level debugging support
  931. on SOCFPGA(Cyclone 5 and Arria 5) based platforms.
  932. config DEBUG_SUN9I_UART0
  933. bool "Kernel low-level debugging messages via sun9i UART0"
  934. depends on MACH_SUN9I
  935. select DEBUG_UART_8250
  936. help
  937. Say Y here if you want kernel low-level debugging support
  938. on Allwinner A80 based platforms on the UART0.
  939. config DEBUG_SUNXI_UART0
  940. bool "Kernel low-level debugging messages via sunXi UART0"
  941. depends on ARCH_SUNXI
  942. select DEBUG_UART_8250
  943. help
  944. Say Y here if you want kernel low-level debugging support
  945. on Allwinner A1X based platforms on the UART0.
  946. config DEBUG_SUNXI_UART1
  947. bool "Kernel low-level debugging messages via sunXi UART1"
  948. depends on ARCH_SUNXI
  949. select DEBUG_UART_8250
  950. help
  951. Say Y here if you want kernel low-level debugging support
  952. on Allwinner A1X based platforms on the UART1.
  953. config DEBUG_SUNXI_R_UART
  954. bool "Kernel low-level debugging messages via sunXi R_UART"
  955. depends on MACH_SUN6I || MACH_SUN8I
  956. select DEBUG_UART_8250
  957. help
  958. Say Y here if you want kernel low-level debugging support
  959. on Allwinner A31/A23 based platforms on the R_UART.
  960. config DEBUG_SPEAR3XX
  961. bool "Kernel low-level debugging messages via ST SPEAr 3xx/6xx UART"
  962. depends on ARCH_SPEAR3XX || ARCH_SPEAR6XX
  963. select DEBUG_UART_PL01X
  964. help
  965. Say Y here if you want kernel low-level debugging support
  966. on ST SPEAr based platforms.
  967. config DEBUG_SPEAR13XX
  968. bool "Kernel low-level debugging messages via ST SPEAr 13xx UART"
  969. depends on ARCH_SPEAR13XX
  970. select DEBUG_UART_PL01X
  971. help
  972. Say Y here if you want kernel low-level debugging support
  973. on ST SPEAr13xx based platforms.
  974. config DEBUG_STIH41X_ASC2
  975. bool "Use StiH415/416 ASC2 UART for low-level debug"
  976. depends on ARCH_STI
  977. help
  978. Say Y here if you want kernel low-level debugging support
  979. on STiH415/416 based platforms like b2000, which has
  980. default UART wired up to ASC2.
  981. If unsure, say N.
  982. config DEBUG_STIH41X_SBC_ASC1
  983. bool "Use StiH415/416 SBC ASC1 UART for low-level debug"
  984. depends on ARCH_STI
  985. help
  986. Say Y here if you want kernel low-level debugging support
  987. on STiH415/416 based platforms like b2020. which has
  988. default UART wired up to SBC ASC1.
  989. If unsure, say N.
  990. config DEBUG_STIH418_SBC_ASC0
  991. bool "Use StiH418 SBC ASC0 UART for low-level debug"
  992. depends on ARCH_STI
  993. help
  994. Say Y here if you want kernel low-level debugging support
  995. on STiH418 based platforms which has default UART wired
  996. up to SBC ASC0.
  997. If unsure, say N.
  998. config STM32F4_DEBUG_UART
  999. bool "Use STM32F4 UART for low-level debug"
  1000. depends on MACH_STM32F429 || MACH_STM32F469
  1001. select DEBUG_STM32_UART
  1002. help
  1003. Say Y here if you want kernel low-level debugging support
  1004. on STM32F4 based platforms, which default UART is wired on
  1005. USART1, but another UART instance can be selected by modifying
  1006. CONFIG_DEBUG_UART_PHYS.
  1007. If unsure, say N.
  1008. config STM32F7_DEBUG_UART
  1009. bool "Use STM32F7 UART for low-level debug"
  1010. depends on MACH_STM32F746 || MACH_STM32F769
  1011. select DEBUG_STM32_UART
  1012. help
  1013. Say Y here if you want kernel low-level debugging support
  1014. on STM32F7 based platforms, which default UART is wired on
  1015. USART1, but another UART instance can be selected by modifying
  1016. CONFIG_DEBUG_UART_PHYS.
  1017. If unsure, say N.
  1018. config STM32H7_DEBUG_UART
  1019. bool "Use STM32H7 UART for low-level debug"
  1020. depends on MACH_STM32H743
  1021. select DEBUG_STM32_UART
  1022. help
  1023. Say Y here if you want kernel low-level debugging support
  1024. on STM32H7 based platforms, which default UART is wired on
  1025. USART1, but another UART instance can be selected by modifying
  1026. CONFIG_DEBUG_UART_PHYS.
  1027. If unsure, say N.
  1028. config STM32MP1_DEBUG_UART
  1029. bool "Use STM32MP1 UART for low-level debug"
  1030. depends on MACH_STM32MP157
  1031. select DEBUG_STM32_UART
  1032. help
  1033. Say Y here if you want kernel low-level debugging support on
  1034. STM32MP1-based platforms, where the default UART is wired to
  1035. UART4, but another UART instance can be selected by modifying
  1036. CONFIG_DEBUG_UART_PHYS and CONFIG_DEBUG_UART_VIRT.
  1037. If unsure, say N.
  1038. config TEGRA_DEBUG_UART_AUTO_ODMDATA
  1039. bool "Kernel low-level debugging messages via Tegra UART via ODMDATA"
  1040. depends on ARCH_TEGRA
  1041. select DEBUG_TEGRA_UART
  1042. help
  1043. Automatically determines which UART to use for low-level
  1044. debug based on the ODMDATA value. This value is part of
  1045. the BCT, and is written to the boot memory device using
  1046. nvflash, or other flashing tool. When bits 19:18 are 3,
  1047. then bits 17:15 indicate which UART to use; 0/1/2/3/4
  1048. are UART A/B/C/D/E.
  1049. config TEGRA_DEBUG_UARTA
  1050. bool "Kernel low-level debugging messages via Tegra UART A"
  1051. depends on ARCH_TEGRA
  1052. select DEBUG_TEGRA_UART
  1053. help
  1054. Say Y here if you want kernel low-level debugging support
  1055. on Tegra based platforms.
  1056. config TEGRA_DEBUG_UARTB
  1057. bool "Kernel low-level debugging messages via Tegra UART B"
  1058. depends on ARCH_TEGRA
  1059. select DEBUG_TEGRA_UART
  1060. help
  1061. Say Y here if you want kernel low-level debugging support
  1062. on Tegra based platforms.
  1063. config TEGRA_DEBUG_UARTC
  1064. bool "Kernel low-level debugging messages via Tegra UART C"
  1065. depends on ARCH_TEGRA
  1066. select DEBUG_TEGRA_UART
  1067. help
  1068. Say Y here if you want kernel low-level debugging support
  1069. on Tegra based platforms.
  1070. config TEGRA_DEBUG_UARTD
  1071. bool "Kernel low-level debugging messages via Tegra UART D"
  1072. depends on ARCH_TEGRA
  1073. select DEBUG_TEGRA_UART
  1074. help
  1075. Say Y here if you want kernel low-level debugging support
  1076. on Tegra based platforms.
  1077. config TEGRA_DEBUG_UARTE
  1078. bool "Kernel low-level debugging messages via Tegra UART E"
  1079. depends on ARCH_TEGRA
  1080. select DEBUG_TEGRA_UART
  1081. help
  1082. Say Y here if you want kernel low-level debugging support
  1083. on Tegra based platforms.
  1084. config DEBUG_UX500_UART
  1085. depends on ARCH_U8500
  1086. bool "Use Ux500 UART for low-level debug"
  1087. help
  1088. Say Y here if you want kernel low-level debugging support
  1089. on Ux500 based platforms.
  1090. config DEBUG_VERSATILE
  1091. bool "Kernel low-level debugging messages via ARM Versatile UART"
  1092. depends on ARCH_VERSATILE
  1093. select DEBUG_UART_PL01X
  1094. help
  1095. Say Y here if you want kernel low-level debugging support
  1096. on ARM Versatile platforms.
  1097. config DEBUG_VEXPRESS_UART0_DETECT
  1098. bool "Autodetect UART0 on Versatile Express Cortex-A core tiles"
  1099. depends on ARCH_VEXPRESS && CPU_CP15_MMU
  1100. help
  1101. This option enables a simple heuristic which tries to determine
  1102. the motherboard's memory map variant (original or RS1) and then
  1103. choose the relevant UART0 base address.
  1104. Note that this will only work with standard A-class core tiles,
  1105. and may fail with non-standard SMM or custom software models.
  1106. config DEBUG_VEXPRESS_UART0_CA9
  1107. bool "Use PL011 UART0 at 0x10009000 (V2P-CA9 core tile)"
  1108. depends on ARCH_VEXPRESS
  1109. select DEBUG_UART_PL01X
  1110. help
  1111. This option selects UART0 at 0x10009000. Except for custom models,
  1112. this applies only to the V2P-CA9 tile.
  1113. config DEBUG_VEXPRESS_UART0_RS1
  1114. bool "Use PL011 UART0 at 0x1c090000 (RS1 complaint tiles)"
  1115. depends on ARCH_VEXPRESS
  1116. select DEBUG_UART_PL01X
  1117. help
  1118. This option selects UART0 at 0x1c090000. This applies to most
  1119. of the tiles using the RS1 memory map, including all new A-class
  1120. core tiles, FPGA-based SMMs and software models.
  1121. config DEBUG_VEXPRESS_UART0_CRX
  1122. bool "Use PL011 UART0 at 0xb0090000 (Cortex-R compliant tiles)"
  1123. depends on ARCH_VEXPRESS && !MMU
  1124. select DEBUG_UART_PL01X
  1125. help
  1126. This option selects UART0 at 0xb0090000. This is appropriate for
  1127. Cortex-R series tiles and SMMs, such as Cortex-R5 and Cortex-R7
  1128. config DEBUG_VF_UART
  1129. bool "Vybrid UART"
  1130. depends on SOC_VF610
  1131. help
  1132. Say Y here if you want kernel low-level debugging support
  1133. on Vybrid based platforms.
  1134. config DEBUG_VT8500_UART0
  1135. bool "Use UART0 on VIA/Wondermedia SoCs"
  1136. depends on ARCH_VT8500
  1137. help
  1138. This option selects UART0 on VIA/Wondermedia System-on-a-chip
  1139. devices, including VT8500, WM8505, WM8650 and WM8850.
  1140. config DEBUG_ZYNQ_UART0
  1141. bool "Kernel low-level debugging on Xilinx Zynq using UART0"
  1142. depends on ARCH_ZYNQ
  1143. help
  1144. Say Y here if you want the debug print routines to direct
  1145. their output to UART0 on the Zynq platform.
  1146. config DEBUG_ZYNQ_UART1
  1147. bool "Kernel low-level debugging on Xilinx Zynq using UART1"
  1148. depends on ARCH_ZYNQ
  1149. help
  1150. Say Y here if you want the debug print routines to direct
  1151. their output to UART1 on the Zynq platform.
  1152. If you have a ZC702 board and want early boot messages to
  1153. appear on the USB serial adaptor, select this option.
  1154. config DEBUG_ICEDCC
  1155. bool "Kernel low-level debugging via EmbeddedICE DCC channel"
  1156. help
  1157. Say Y here if you want the debug print routines to direct
  1158. their output to the EmbeddedICE macrocell's DCC channel using
  1159. co-processor 14. This is known to work on the ARM9 style ICE
  1160. channel and on the XScale with the PEEDI.
  1161. Note that the system will appear to hang during boot if there
  1162. is nothing connected to read from the DCC.
  1163. config DEBUG_SEMIHOSTING
  1164. bool "Kernel low-level debug output via semihosting I/O"
  1165. help
  1166. Semihosting enables code running on an ARM target to use
  1167. the I/O facilities on a host debugger/emulator through a
  1168. simple SVC call. The host debugger or emulator must have
  1169. semihosting enabled for the special svc call to be trapped
  1170. otherwise the kernel will crash.
  1171. This is known to work with OpenOCD, as well as
  1172. ARM's Fast Models, or any other controlling environment
  1173. that implements semihosting.
  1174. For more details about semihosting, please see
  1175. chapter 8 of DUI0203I_rvct_developer_guide.pdf from ARM Ltd.
  1176. config DEBUG_LL_UART_8250
  1177. bool "Kernel low-level debugging via 8250 UART"
  1178. help
  1179. Say Y here if you wish the debug print routes to direct
  1180. their output to an 8250 UART. You can use this option
  1181. to provide the parameters for the 8250 UART rather than
  1182. selecting one of the platform specific options above if
  1183. you know the parameters for the port.
  1184. This option is preferred over the platform specific
  1185. options; the platform specific options are deprecated
  1186. and will be soon removed.
  1187. config DEBUG_LL_UART_PL01X
  1188. bool "Kernel low-level debugging via ARM Ltd PL01x Primecell UART"
  1189. help
  1190. Say Y here if you wish the debug print routes to direct
  1191. their output to a PL01x Primecell UART. You can use
  1192. this option to provide the parameters for the UART
  1193. rather than selecting one of the platform specific
  1194. options above if you know the parameters for the port.
  1195. This option is preferred over the platform specific
  1196. options; the platform specific options are deprecated
  1197. and will be soon removed.
  1198. endchoice
  1199. config DEBUG_AT91_UART
  1200. bool
  1201. depends on ARCH_AT91
  1202. config DEBUG_EXYNOS_UART
  1203. bool
  1204. config DEBUG_S3C64XX_UART
  1205. bool
  1206. config DEBUG_S5PV210_UART
  1207. bool
  1208. config DEBUG_S3C_UART
  1209. depends on DEBUG_S3C64XX_UART || DEBUG_S5PV210_UART || \
  1210. DEBUG_EXYNOS_UART
  1211. int
  1212. default "0" if DEBUG_S3C_UART0
  1213. default "1" if DEBUG_S3C_UART1
  1214. default "2" if DEBUG_S3C_UART2
  1215. default "3" if DEBUG_S3C_UART3
  1216. config DEBUG_OMAP2PLUS_UART
  1217. bool
  1218. depends on ARCH_OMAP2PLUS
  1219. config DEBUG_IMX_UART_PORT
  1220. int "i.MX Debug UART Port Selection"
  1221. depends on DEBUG_IMX1_UART || \
  1222. DEBUG_IMX25_UART || \
  1223. DEBUG_IMX27_UART || \
  1224. DEBUG_IMX31_UART || \
  1225. DEBUG_IMX35_UART || \
  1226. DEBUG_IMX50_UART || \
  1227. DEBUG_IMX51_UART || \
  1228. DEBUG_IMX53_UART || \
  1229. DEBUG_IMX6Q_UART || \
  1230. DEBUG_IMX6SL_UART || \
  1231. DEBUG_IMX6SX_UART || \
  1232. DEBUG_IMX6UL_UART || \
  1233. DEBUG_IMX7D_UART
  1234. default 1
  1235. help
  1236. Choose UART port on which kernel low-level debug messages
  1237. should be output.
  1238. config DEBUG_VF_UART_PORT
  1239. int "Vybrid Debug UART Port Selection" if DEBUG_VF_UART
  1240. default 1
  1241. range 0 3
  1242. depends on SOC_VF610
  1243. help
  1244. Choose UART port on which kernel low-level debug messages
  1245. should be output.
  1246. config DEBUG_TEGRA_UART
  1247. bool
  1248. depends on ARCH_TEGRA
  1249. config DEBUG_STM32_UART
  1250. bool
  1251. depends on ARCH_STM32
  1252. config DEBUG_UART_FLOW_CONTROL
  1253. bool "Enable flow control (CTS) for the debug UART"
  1254. depends on DEBUG_LL
  1255. default y if DEBUG_FOOTBRIDGE_COM1 || DEBUG_GEMINI || ARCH_RPC
  1256. help
  1257. Some UART ports are connected to terminals that will use modem
  1258. control signals to indicate whether they are ready to receive text.
  1259. In practice this means that the terminal is asserting the special
  1260. control signal CTS (Clear To Send). If your debug UART supports
  1261. this and your debug terminal will require it, enable this option.
  1262. config DEBUG_LL_INCLUDE
  1263. string
  1264. default "debug/sa1100.S" if DEBUG_SA1100
  1265. default "debug/palmchip.S" if DEBUG_UART_8250_PALMCHIP
  1266. default "debug/8250.S" if DEBUG_LL_UART_8250 || DEBUG_UART_8250
  1267. default "debug/at91.S" if DEBUG_AT91_UART
  1268. default "debug/asm9260.S" if DEBUG_ASM9260_UART
  1269. default "debug/clps711x.S" if DEBUG_CLPS711X_UART1 || DEBUG_CLPS711X_UART2
  1270. default "debug/dc21285.S" if DEBUG_DC21285_PORT
  1271. default "debug/meson.S" if DEBUG_MESON_UARTAO
  1272. default "debug/pl01x.S" if DEBUG_LL_UART_PL01X || DEBUG_UART_PL01X
  1273. default "debug/exynos.S" if DEBUG_EXYNOS_UART
  1274. default "debug/icedcc.S" if DEBUG_ICEDCC
  1275. default "debug/imx.S" if DEBUG_IMX1_UART || \
  1276. DEBUG_IMX25_UART || \
  1277. DEBUG_IMX27_UART || \
  1278. DEBUG_IMX31_UART || \
  1279. DEBUG_IMX35_UART || \
  1280. DEBUG_IMX50_UART || \
  1281. DEBUG_IMX51_UART || \
  1282. DEBUG_IMX53_UART || \
  1283. DEBUG_IMX6Q_UART || \
  1284. DEBUG_IMX6SL_UART || \
  1285. DEBUG_IMX6SX_UART || \
  1286. DEBUG_IMX6UL_UART || \
  1287. DEBUG_IMX7D_UART
  1288. default "debug/msm.S" if DEBUG_QCOM_UARTDM
  1289. default "debug/omap2plus.S" if DEBUG_OMAP2PLUS_UART
  1290. default "debug/renesas-scif.S" if DEBUG_R7S72100_SCIF2
  1291. default "debug/renesas-scif.S" if DEBUG_R7S9210_SCIF2
  1292. default "debug/renesas-scif.S" if DEBUG_R7S9210_SCIF4
  1293. default "debug/renesas-scif.S" if DEBUG_RCAR_GEN1_SCIF0
  1294. default "debug/renesas-scif.S" if DEBUG_RCAR_GEN1_SCIF2
  1295. default "debug/renesas-scif.S" if DEBUG_RCAR_GEN2_SCIF0
  1296. default "debug/renesas-scif.S" if DEBUG_RCAR_GEN2_SCIF1
  1297. default "debug/renesas-scif.S" if DEBUG_RCAR_GEN2_SCIF2
  1298. default "debug/renesas-scif.S" if DEBUG_RCAR_GEN2_SCIF4
  1299. default "debug/renesas-scif.S" if DEBUG_RCAR_GEN2_SCIFA2
  1300. default "debug/renesas-scif.S" if DEBUG_RMOBILE_SCIFA0
  1301. default "debug/renesas-scif.S" if DEBUG_RMOBILE_SCIFA1
  1302. default "debug/renesas-scif.S" if DEBUG_RMOBILE_SCIFA4
  1303. default "debug/s3c24xx.S" if DEBUG_S3C64XX_UART
  1304. default "debug/s5pv210.S" if DEBUG_S5PV210_UART
  1305. default "debug/sti.S" if DEBUG_STIH41X_ASC2
  1306. default "debug/sti.S" if DEBUG_STIH41X_SBC_ASC1
  1307. default "debug/sti.S" if DEBUG_STIH418_SBC_ASC0
  1308. default "debug/stm32.S" if DEBUG_STM32_UART
  1309. default "debug/tegra.S" if DEBUG_TEGRA_UART
  1310. default "debug/ux500.S" if DEBUG_UX500_UART
  1311. default "debug/vexpress.S" if DEBUG_VEXPRESS_UART0_DETECT
  1312. default "debug/vf.S" if DEBUG_VF_UART
  1313. default "debug/vt8500.S" if DEBUG_VT8500_UART0
  1314. default "debug/zynq.S" if DEBUG_ZYNQ_UART0 || DEBUG_ZYNQ_UART1
  1315. default "debug/bcm63xx.S" if DEBUG_BCM63XX_UART || DEBUG_BCMBCA
  1316. default "debug/digicolor.S" if DEBUG_DIGICOLOR_UA0
  1317. default "debug/brcmstb.S" if DEBUG_BRCMSTB_UART
  1318. default "mach/debug-macro.S"
  1319. # Compatibility options for PL01x
  1320. config DEBUG_UART_PL01X
  1321. bool
  1322. # Compatibility options for 8250
  1323. config DEBUG_UART_8250
  1324. def_bool ARCH_IXP4XX || ARCH_RPC
  1325. config DEBUG_UART_PHYS
  1326. hex "Physical base address of debug UART"
  1327. default 0x01c28000 if DEBUG_SUNXI_UART0
  1328. default 0x01c28400 if DEBUG_SUNXI_UART1
  1329. default 0x01d0c000 if DEBUG_DAVINCI_DA8XX_UART1
  1330. default 0x01d0d000 if DEBUG_DAVINCI_DA8XX_UART2
  1331. default 0x01f02800 if DEBUG_SUNXI_R_UART
  1332. default 0x02530c00 if DEBUG_KEYSTONE_UART0
  1333. default 0x02531000 if DEBUG_KEYSTONE_UART1
  1334. default 0x03010fe0 if ARCH_RPC
  1335. default 0x07000000 if DEBUG_SUN9I_UART0
  1336. default 0x09530000 if DEBUG_STIH418_SBC_ASC0
  1337. default 0x10009000 if DEBUG_REALVIEW_STD_PORT || \
  1338. DEBUG_VEXPRESS_UART0_CA9
  1339. default 0x1010c000 if DEBUG_REALVIEW_PB1176_PORT
  1340. default 0x10124000 if DEBUG_RK3X_UART0
  1341. default 0x10126000 if DEBUG_RK3X_UART1
  1342. default 0x101f1000 if DEBUG_VERSATILE
  1343. default 0x101fb000 if DEBUG_NOMADIK_UART
  1344. default 0x10210000 if DEBUG_RV1108_UART2
  1345. default 0x10220000 if DEBUG_RV1108_UART1
  1346. default 0x10230000 if DEBUG_RV1108_UART0
  1347. default 0x11002000 if DEBUG_MT8127_UART0
  1348. default 0x11006000 if DEBUG_MT6589_UART0
  1349. default 0x11009000 if DEBUG_MT8135_UART3
  1350. default 0x16000000 if DEBUG_INTEGRATOR
  1351. default 0x1600d000 if DEBUG_SD5203_UART
  1352. default 0x18000300 if DEBUG_BCM_5301X
  1353. default 0x18000400 if DEBUG_BCM_HR2
  1354. default 0x18023000 if DEBUG_BCM_IPROC_UART3
  1355. default 0x1c090000 if DEBUG_VEXPRESS_UART0_RS1
  1356. default 0x1f221000 if DEBUG_MSTARV7_PMUART
  1357. default 0x20001000 if DEBUG_HIP01_UART
  1358. default 0x20060000 if DEBUG_RK29_UART0
  1359. default 0x20064000 if DEBUG_RK29_UART1 || DEBUG_RK3X_UART2
  1360. default 0x20068000 if DEBUG_RK29_UART2 || DEBUG_RK3X_UART3
  1361. default 0x20201000 if DEBUG_BCM2835
  1362. default 0x3e000000 if DEBUG_BCM_KONA_UART
  1363. default 0x3f201000 if DEBUG_BCM2836
  1364. default 0x40010000 if STM32MP1_DEBUG_UART
  1365. default 0x40011000 if STM32F4_DEBUG_UART || STM32F7_DEBUG_UART || \
  1366. STM32H7_DEBUG_UART
  1367. default 0x40028000 if DEBUG_AT91_SAMV7_USART1
  1368. default 0x40081000 if DEBUG_LPC18XX_UART0
  1369. default 0x40090000 if DEBUG_LPC32XX
  1370. default 0x40100000 if DEBUG_PXA_UART1
  1371. default 0x42000000 if DEBUG_GEMINI
  1372. default 0x44e09000 if DEBUG_AM33XXUART1
  1373. default 0x48020000 if DEBUG_OMAP4UART3 || DEBUG_TI81XXUART1
  1374. default 0x48022000 if DEBUG_TI81XXUART2
  1375. default 0x48024000 if DEBUG_TI81XXUART3
  1376. default 0x4806a000 if DEBUG_OMAP2UART1
  1377. default 0x4806c000 if DEBUG_OMAP2UART2
  1378. default 0x4806e000 if DEBUG_OMAP2UART3 || DEBUG_OMAP4UART4
  1379. default 0x49020000 if DEBUG_OMAP3UART3
  1380. default 0x49042000 if DEBUG_OMAP3UART4
  1381. default 0x7c0003f8 if DEBUG_FOOTBRIDGE_COM1
  1382. default 0x7f005000 if DEBUG_S3C64XX_UART && DEBUG_S3C_UART0
  1383. default 0x7f005400 if DEBUG_S3C64XX_UART && DEBUG_S3C_UART1
  1384. default 0x7f005800 if DEBUG_S3C64XX_UART && DEBUG_S3C_UART2
  1385. default 0x7f005c00 if DEBUG_S3C64XX_UART && DEBUG_S3C_UART3
  1386. default 0x80010000 if DEBUG_ASM9260_UART
  1387. default 0x80070000 if DEBUG_IMX23_UART
  1388. default 0x80074000 if DEBUG_IMX28_UART
  1389. default 0x808c0000 if DEBUG_EP93XX || ARCH_EP93XX
  1390. default 0x90020000 if DEBUG_NSPIRE_CLASSIC_UART || DEBUG_NSPIRE_CX_UART
  1391. default 0xb0090000 if DEBUG_VEXPRESS_UART0_CRX
  1392. default 0xc8000000 if ARCH_IXP4XX && !CPU_BIG_ENDIAN
  1393. default 0xc8000003 if ARCH_IXP4XX && CPU_BIG_ENDIAN
  1394. default 0xd0000000 if DEBUG_SPEAR3XX
  1395. default 0xd0012000 if DEBUG_MVEBU_UART0
  1396. default 0xc81004c0 if DEBUG_MESON_UARTAO
  1397. default 0xd4017000 if DEBUG_MMP_UART2
  1398. default 0xd4018000 if DEBUG_MMP_UART3
  1399. default 0xe0000000 if DEBUG_SPEAR13XX
  1400. default 0xe0064200 if DEBUG_AT91_LAN966_FLEXCOM
  1401. default 0xe1824200 if DEBUG_AT91_SAMA7G5_FLEXCOM3
  1402. default 0xe4007000 if DEBUG_HIP04_UART
  1403. default 0xe6c40000 if DEBUG_RMOBILE_SCIFA0
  1404. default 0xe6c50000 if DEBUG_RMOBILE_SCIFA1
  1405. default 0xe6c60000 if DEBUG_RCAR_GEN2_SCIFA2
  1406. default 0xe6c80000 if DEBUG_RMOBILE_SCIFA4
  1407. default 0xe6e58000 if DEBUG_RCAR_GEN2_SCIF2
  1408. default 0xe6e60000 if DEBUG_RCAR_GEN2_SCIF0
  1409. default 0xe6e68000 if DEBUG_RCAR_GEN2_SCIF1
  1410. default 0xe6ee0000 if DEBUG_RCAR_GEN2_SCIF4
  1411. default 0xe8008000 if DEBUG_R7S72100_SCIF2 || DEBUG_R7S9210_SCIF2
  1412. default 0xe8009000 if DEBUG_R7S9210_SCIF4
  1413. default 0xf0000000 if DEBUG_DIGICOLOR_UA0
  1414. default 0xf1012000 if DEBUG_MVEBU_UART0_ALTERNATE
  1415. default 0xf1012100 if DEBUG_MVEBU_UART1_ALTERNATE
  1416. default 0xf7fc9000 if DEBUG_BERLIN_UART
  1417. default 0xf8020000 if DEBUG_AT91_SAMA5D2_UART1
  1418. default 0xf8b00000 if DEBUG_HIX5HD2_UART
  1419. default 0xf991e000 if DEBUG_QCOM_UARTDM
  1420. default 0xfc00c000 if DEBUG_AT91_SAMA5D4_USART3
  1421. default 0xfcb00000 if DEBUG_HI3620_UART
  1422. default 0xfd883000 if DEBUG_ALPINE_UART0
  1423. default 0xfe531000 if DEBUG_STIH41X_SBC_ASC1
  1424. default 0xfed32000 if DEBUG_STIH41X_ASC2
  1425. default 0xff690000 if DEBUG_RK32_UART2
  1426. default 0xff800640 if DEBUG_BCMBCA
  1427. default 0xffc02000 if DEBUG_SOCFPGA_UART0
  1428. default 0xffc02100 if DEBUG_SOCFPGA_ARRIA10_UART1
  1429. default 0xffc03000 if DEBUG_SOCFPGA_CYCLONE5_UART1
  1430. default 0xffe40000 if DEBUG_RCAR_GEN1_SCIF0
  1431. default 0xffe42000 if DEBUG_RCAR_GEN1_SCIF2
  1432. default 0xfff36000 if DEBUG_HIGHBANK_UART
  1433. default 0xfffb0000 if DEBUG_OMAP1UART1
  1434. default 0xfffb0800 if DEBUG_OMAP1UART2
  1435. default 0xfffb9800 if DEBUG_OMAP1UART3
  1436. default 0xfffe8600 if DEBUG_BCM63XX_UART
  1437. default 0xffffee00 if DEBUG_AT91_SAM9263_DBGU
  1438. default 0xfffff200 if DEBUG_AT91_RM9200_DBGU
  1439. depends on ARCH_EP93XX || \
  1440. DEBUG_LL_UART_8250 || DEBUG_LL_UART_PL01X || \
  1441. DEBUG_UART_8250 || DEBUG_UART_PL01X || DEBUG_MESON_UARTAO || \
  1442. DEBUG_QCOM_UARTDM || DEBUG_R7S72100_SCIF2 || \
  1443. DEBUG_R7S9210_SCIF2 || DEBUG_R7S9210_SCIF4 || \
  1444. DEBUG_RCAR_GEN1_SCIF0 || DEBUG_RCAR_GEN1_SCIF2 || \
  1445. DEBUG_RCAR_GEN2_SCIF0 || DEBUG_RCAR_GEN2_SCIF1 || \
  1446. DEBUG_RCAR_GEN2_SCIF2 || DEBUG_RCAR_GEN2_SCIF4 || \
  1447. DEBUG_RCAR_GEN2_SCIFA2 || \
  1448. DEBUG_RMOBILE_SCIFA0 || DEBUG_RMOBILE_SCIFA1 || \
  1449. DEBUG_RMOBILE_SCIFA4 || \
  1450. DEBUG_S3C64XX_UART || \
  1451. DEBUG_BCM63XX_UART || DEBUG_BCMBCA || DEBUG_ASM9260_UART || \
  1452. DEBUG_DIGICOLOR_UA0 || \
  1453. DEBUG_AT91_UART || DEBUG_STM32_UART || \
  1454. DEBUG_STIH41X_ASC2 || DEBUG_STIH41X_SBC_ASC1 || \
  1455. DEBUG_STIH418_SBC_ASC0
  1456. config DEBUG_UART_VIRT
  1457. hex "Virtual base address of debug UART"
  1458. default 0xc881f000 if DEBUG_RV1108_UART2
  1459. default 0xc8821000 if DEBUG_RV1108_UART1
  1460. default 0xc8912000 if DEBUG_RV1108_UART0
  1461. default 0xe0010fe0 if ARCH_RPC
  1462. default 0xe0824200 if DEBUG_AT91_SAMA7G5_FLEXCOM3
  1463. default 0xf0010000 if DEBUG_ASM9260_UART
  1464. default 0xf0100000 if DEBUG_DIGICOLOR_UA0
  1465. default 0xf01fb000 if DEBUG_NOMADIK_UART
  1466. default 0xf0201000 if DEBUG_BCM2835 || DEBUG_BCM2836
  1467. default 0xf0221000 if DEBUG_MSTARV7_PMUART
  1468. default 0xf1000300 if DEBUG_BCM_5301X
  1469. default 0xf1000400 if DEBUG_BCM_HR2
  1470. default 0xf1002000 if DEBUG_MT8127_UART0
  1471. default 0xf1006000 if DEBUG_MT6589_UART0
  1472. default 0xf1009000 if DEBUG_MT8135_UART3
  1473. default 0xf1023000 if DEBUG_BCM_IPROC_UART3
  1474. default 0xf11f1000 if DEBUG_VERSATILE
  1475. default 0xf1600000 if DEBUG_INTEGRATOR
  1476. default 0xf1c28000 if DEBUG_SUNXI_UART0
  1477. default 0xf1c28400 if DEBUG_SUNXI_UART1
  1478. default 0xf1f02800 if DEBUG_SUNXI_R_UART
  1479. default 0xf31004c0 if DEBUG_MESON_UARTAO
  1480. default 0xf4090000 if DEBUG_LPC32XX
  1481. default 0xf4200000 if DEBUG_GEMINI
  1482. default 0xf6200000 if DEBUG_PXA_UART1
  1483. default 0xf7000000 if DEBUG_SUN9I_UART0
  1484. default 0xf7000000 if DEBUG_S3C64XX_UART && DEBUG_S3C_UART0
  1485. default 0xf7000400 if DEBUG_S3C64XX_UART && DEBUG_S3C_UART1
  1486. default 0xf7000800 if DEBUG_S3C64XX_UART && DEBUG_S3C_UART2
  1487. default 0xf7000c00 if DEBUG_S3C64XX_UART && DEBUG_S3C_UART3
  1488. default 0xf7020000 if DEBUG_AT91_SAMA5D2_UART1
  1489. default 0xf7fc9000 if DEBUG_BERLIN_UART
  1490. default 0xf8007000 if DEBUG_HIP04_UART
  1491. default 0xf8009000 if DEBUG_VEXPRESS_UART0_CA9
  1492. default 0xf8090000 if DEBUG_VEXPRESS_UART0_RS1
  1493. default 0xf8ffee00 if DEBUG_AT91_SAM9263_DBGU
  1494. default 0xf8fff200 if DEBUG_AT91_RM9200_DBGU
  1495. default 0xf9530000 if DEBUG_STIH418_SBC_ASC0
  1496. default 0xf9e09000 if DEBUG_AM33XXUART1
  1497. default 0xfa020000 if DEBUG_OMAP4UART3 || DEBUG_TI81XXUART1
  1498. default 0xfa022000 if DEBUG_TI81XXUART2
  1499. default 0xfa024000 if DEBUG_TI81XXUART3
  1500. default 0xfa06a000 if DEBUG_OMAP2UART1
  1501. default 0xfa06c000 if DEBUG_OMAP2UART2
  1502. default 0xfa06e000 if DEBUG_OMAP2UART3 || DEBUG_OMAP4UART4
  1503. default 0xfa71e000 if DEBUG_QCOM_UARTDM
  1504. default 0xfb009000 if DEBUG_REALVIEW_STD_PORT
  1505. default 0xfb00c000 if DEBUG_AT91_SAMA5D4_USART3
  1506. default 0xfb020000 if DEBUG_OMAP3UART3
  1507. default 0xfb042000 if DEBUG_OMAP3UART4
  1508. default 0xfb10c000 if DEBUG_REALVIEW_PB1176_PORT
  1509. default 0xfcfe8600 if DEBUG_BCM63XX_UART
  1510. default 0xfd000000 if DEBUG_SPEAR3XX || DEBUG_SPEAR13XX
  1511. default 0xfd064200 if DEBUG_AT91_LAN966_FLEXCOM
  1512. default 0xfd531000 if DEBUG_STIH41X_SBC_ASC1
  1513. default 0xfd883000 if DEBUG_ALPINE_UART0
  1514. default 0xfdd32000 if DEBUG_STIH41X_ASC2
  1515. default 0xfe010000 if STM32MP1_DEBUG_UART
  1516. default 0xfe017000 if DEBUG_MMP_UART2
  1517. default 0xfe018000 if DEBUG_MMP_UART3
  1518. default 0xfe100000 if DEBUG_IMX23_UART || DEBUG_IMX28_UART
  1519. default 0xfe300000 if DEBUG_BCM_KONA_UART
  1520. default 0xfe300640 if DEBUG_BCMBCA
  1521. default 0xfeb00000 if DEBUG_HI3620_UART || DEBUG_HIX5HD2_UART
  1522. default 0xfeb24000 if DEBUG_RK3X_UART0
  1523. default 0xfeb26000 if DEBUG_RK3X_UART1
  1524. default 0xfeb30c00 if DEBUG_KEYSTONE_UART0
  1525. default 0xfeb31000 if DEBUG_KEYSTONE_UART1
  1526. default 0xfec02000 if DEBUG_SOCFPGA_UART0
  1527. default 0xfec02100 if DEBUG_SOCFPGA_ARRIA10_UART1
  1528. default 0xfec03000 if DEBUG_SOCFPGA_CYCLONE5_UART1
  1529. default 0xfec12000 if DEBUG_MVEBU_UART0 || DEBUG_MVEBU_UART0_ALTERNATE
  1530. default 0xfec12100 if DEBUG_MVEBU_UART1_ALTERNATE
  1531. default 0xfec90000 if DEBUG_RK32_UART2
  1532. default 0xfed0c000 if DEBUG_DAVINCI_DA8XX_UART1
  1533. default 0xfed0d000 if DEBUG_DAVINCI_DA8XX_UART2 || DEBUG_SD5203_UART
  1534. default 0xfed60000 if DEBUG_RK29_UART0
  1535. default 0xfed64000 if DEBUG_RK29_UART1 || DEBUG_RK3X_UART2
  1536. default 0xfed68000 if DEBUG_RK29_UART2 || DEBUG_RK3X_UART3
  1537. default 0xfedc0000 if DEBUG_EP93XX
  1538. default 0xfee003f8 if DEBUG_FOOTBRIDGE_COM1
  1539. default 0xfee20000 if DEBUG_NSPIRE_CLASSIC_UART || DEBUG_NSPIRE_CX_UART
  1540. default 0xfec00000 if ARCH_IXP4XX && !CPU_BIG_ENDIAN
  1541. default 0xfec00003 if ARCH_IXP4XX && CPU_BIG_ENDIAN
  1542. default 0xfef36000 if DEBUG_HIGHBANK_UART
  1543. default 0xff0b0000 if DEBUG_OMAP1UART1
  1544. default 0xff0b0800 if DEBUG_OMAP1UART2
  1545. default 0xff0b9800 if DEBUG_OMAP1UART3
  1546. default 0xffd01000 if DEBUG_HIP01_UART
  1547. default DEBUG_UART_PHYS if !MMU
  1548. depends on DEBUG_LL_UART_8250 || DEBUG_LL_UART_PL01X || \
  1549. DEBUG_UART_8250 || DEBUG_UART_PL01X || DEBUG_MESON_UARTAO || \
  1550. DEBUG_QCOM_UARTDM || \
  1551. DEBUG_S3C64XX_UART || \
  1552. DEBUG_BCM63XX_UART || DEBUG_BCMBCA || DEBUG_ASM9260_UART || \
  1553. DEBUG_DIGICOLOR_UA0 || \
  1554. DEBUG_AT91_UART || DEBUG_STM32_UART || \
  1555. DEBUG_STIH41X_ASC2 || DEBUG_STIH41X_SBC_ASC1 || \
  1556. DEBUG_STIH418_SBC_ASC0
  1557. config DEBUG_UART_8250_SHIFT
  1558. int "Register offset shift for the 8250 debug UART"
  1559. depends on DEBUG_LL_UART_8250 || DEBUG_UART_8250
  1560. default 0 if DEBUG_FOOTBRIDGE_COM1 || DEBUG_BCM_5301X || \
  1561. DEBUG_BCM_HR2
  1562. default 3 if DEBUG_MSTARV7_PMUART
  1563. default 2
  1564. config DEBUG_UART_8250_WORD
  1565. bool "Use 32-bit accesses for 8250 UART"
  1566. depends on DEBUG_LL_UART_8250 || DEBUG_UART_8250
  1567. depends on DEBUG_UART_8250_SHIFT >= 2
  1568. default y if DEBUG_SOCFPGA_UART0 || DEBUG_SOCFPGA_ARRIA10_UART1 || \
  1569. DEBUG_SOCFPGA_CYCLONE5_UART1 || DEBUG_KEYSTONE_UART0 || \
  1570. DEBUG_KEYSTONE_UART1 || DEBUG_ALPINE_UART0 || \
  1571. DEBUG_DAVINCI_DA8XX_UART1 || DEBUG_DAVINCI_DA8XX_UART2 || \
  1572. DEBUG_BCM_IPROC_UART3 || DEBUG_BCM_KONA_UART || \
  1573. DEBUG_RK32_UART2
  1574. config DEBUG_UART_8250_PALMCHIP
  1575. bool "8250 UART is Palmchip BK-310x"
  1576. depends on DEBUG_LL_UART_8250 || DEBUG_UART_8250
  1577. help
  1578. Palmchip provides a UART implementation compatible with 16550
  1579. except for having a different register layout. Say Y here if
  1580. the debug UART is of this type.
  1581. config DEBUG_UNCOMPRESS
  1582. bool "Enable decompressor debugging via DEBUG_LL output"
  1583. depends on !ARCH_MULTIPLATFORM
  1584. depends on !(ARCH_FOOTBRIDGE || ARCH_RPC || ARCH_SA1100)
  1585. depends on DEBUG_LL && !DEBUG_OMAP2PLUS_UART && \
  1586. (!DEBUG_TEGRA_UART || !ZBOOT_ROM) && \
  1587. !DEBUG_BRCMSTB_UART && !DEBUG_SEMIHOSTING
  1588. help
  1589. Say Y here to enable debug output in the decompressor code, using
  1590. the selected DEBUG_LL output method.
  1591. config UNCOMPRESS_INCLUDE
  1592. string
  1593. default "mach/uncompress.h" if ARCH_FOOTBRIDGE || ARCH_RPC || ARCH_SA1100
  1594. default "debug/uncompress.h"
  1595. config EARLY_PRINTK
  1596. bool "Early printk"
  1597. depends on DEBUG_LL
  1598. help
  1599. Say Y here if you want to have an early console using the
  1600. kernel low-level debugging functions. Add earlyprintk to your
  1601. kernel parameters to enable this console.
  1602. config ARM_KPROBES_TEST
  1603. tristate "Kprobes test module"
  1604. depends on KPROBES && MODULES
  1605. help
  1606. Perform tests of kprobes API and instruction set simulation.
  1607. config PID_IN_CONTEXTIDR
  1608. bool "Write the current PID to the CONTEXTIDR register"
  1609. depends on CPU_COPY_V6
  1610. help
  1611. Enabling this option causes the kernel to write the current PID to
  1612. the PROCID field of the CONTEXTIDR register, at the expense of some
  1613. additional instructions during context switch. Say Y here only if you
  1614. are planning to use hardware trace tools with this kernel.
  1615. source "drivers/hwtracing/coresight/Kconfig"