Open frno7 opened 5 years ago
@akuhak, perhaps we could have a new CONFIG_EARLY_PRINTK_GS
config knob, default off, to disable this and thereby improve compatibility with video hardware not supporting 1920×1080p video resolutions? It’s only used for examining very early boot crashes, but these days we’re supplying precompiled kernels, so it shouldn’t be needed for most people. That said I think the ideas in https://github.com/frno7/linux/issues/28#issuecomment-1103568374 are interesting.
The conventional
putc
prints to a serial port, that requires soldering on the PlayStation 2. The provisionalputc
in commit 31aa46563fdfbb6554c0f5e3d5c1f493efe40ef0 instead prints to a video frame buffer using the Graphics Synthesizer, which at the moment is fixed at the video resolution 1920x1080p for component video or HDMI.The following three lines are the first ones visible on the screen:
An early
printk
is very helpful, especially with unmodified PlayStation 2 hardware.printk
into the kernel?