mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 08:19:28 +00:00
![Finn Thain](/assets/img/avatar_default.png)
Make the boot console available to more m68k platforms by leveraging the head.S debug console. The boot console is enabled by the "earlyprintk" command line argument which is how most other architectures do this. This is a change of behaviour for the Mac but does not negatively impact the common use-case which is not debugging. This is also a change of behaviour for other platforms because it means the serial port stays quiet when CONFIG_EARLY_PRINTK is not enabled. This is also an improvement for the common use-case. Signed-off-by: Finn Thain <fthain@telegraphics.com.au> Tested-by: Stephen N Chivers <schivers@csc.com.au> [Geert: CONSOLE_DEBUG should depend on CONFIG_FONT_SUPPORT] Reported-by: kbuild test robot <fengguang.wu@intel.com> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
54 lines
1.3 KiB
Text
54 lines
1.3 KiB
Text
menu "Kernel hacking"
|
|
|
|
source "lib/Kconfig.debug"
|
|
|
|
config BOOTPARAM
|
|
bool 'Compiled-in Kernel Boot Parameter'
|
|
|
|
config BOOTPARAM_STRING
|
|
string 'Kernel Boot Parameter'
|
|
default 'console=ttyS0,19200'
|
|
depends on BOOTPARAM
|
|
|
|
config EARLY_PRINTK
|
|
bool "Early printk"
|
|
depends on !(SUN3 || M68360 || M68000 || COLDFIRE)
|
|
help
|
|
Write kernel log output directly to a serial port.
|
|
Where implemented, output goes to the framebuffer as well.
|
|
PROM console functionality on Sun 3x is not affected by this option.
|
|
|
|
Pass "earlyprintk" on the kernel command line to get a
|
|
boot console.
|
|
|
|
This is useful for kernel debugging when your machine crashes very
|
|
early, i.e. before the normal console driver is loaded.
|
|
You should normally say N here, unless you want to debug such a crash.
|
|
|
|
if !MMU
|
|
|
|
config FULLDEBUG
|
|
bool "Full Symbolic/Source Debugging support"
|
|
help
|
|
Enable debugging symbols on kernel build.
|
|
|
|
config HIGHPROFILE
|
|
bool "Use fast second timer for profiling"
|
|
depends on COLDFIRE
|
|
help
|
|
Use a fast secondary clock to produce profiling information.
|
|
|
|
config NO_KERNEL_MSG
|
|
bool "Suppress Kernel BUG Messages"
|
|
help
|
|
Do not output any debug BUG messages within the kernel.
|
|
|
|
config BDM_DISABLE
|
|
bool "Disable BDM signals"
|
|
depends on COLDFIRE
|
|
help
|
|
Disable the ColdFire CPU's BDM signals.
|
|
|
|
endif
|
|
|
|
endmenu
|