Early boot debigging

Alexander Kuleshov <[email protected]> Sat, 29 Nov 2014 12:41:47 +0600
Newsgroups org.kernel.vger.linux-newbie
Message-ID <CANCZXo7R046PsjGS3HSE3XvHcJtmzbySfWpULhkvQ2f6FJPt9w@mail.gmail.com>
Hello all,

How can i debug early kernel booting, even before early_printk
(x86_64). I'm interesting in part which starts to execute right after
bootloader (https://github.com/torvalds/linux/blob/master/arch/x86/boot/header.S#L297).
How to do it better? Write grub and vmlinuz to disk with
losetup/grub-install and connect with gdb, or there is something
another way to do it?

Thank you.
--
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs