1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 11:57:36 +00:00

Kernel: Add serial_debug cmdline parameter

serial_debug will output all the kprintf and dbgprintf data to COM1 at
8-N-1 57600 baud. this is particularly useful for debugging the boot
process on live hardware.

Note: it must be the first parameter in the boot cmdline.
This commit is contained in:
Conrad Pankoff 2019-08-11 14:43:38 +10:00 committed by Andreas Kling
parent ee83b1bcf4
commit 3026c37d5d
4 changed files with 89 additions and 8 deletions

View file

@ -1,6 +1,11 @@
timeout=0
timeout=1
menuentry 'Serenity' {
menuentry 'Serenity (normal)' {
root=hd0,1
multiboot /boot/kernel root=/dev/hda1
}
menuentry 'Serenity (with serial debug)' {
root=hd0,1
multiboot /boot/kernel serial_debug root=/dev/hda1
}