Kconfig.debug 58 KB

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