Re: How to debug the very first part of kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Here you are:
https://en.wikibooks.org/wiki/The_Linux_Kernel/System#Booting_and_halting
You are welcome to update with your research results.

Regards

On Sat, 4 Sept 2021 at 09:32, 候 磊 <ameansone@xxxxxxxxxxx> wrote:
>
> I've read some kernel code recently, and I want to see how it actually works. I found a lot of articles about how to debug kernel with qemu, but all i found are about setting a breakpoint at start_kernel, so i wonder if there's way i can debug before start_kernel, those setup code and decompression code in arch/x86/boot folder. More specifically, I want to debug start at 0x200 offset of kernal image if I'm not misunderstanding boot protocol document.
>
> I would be appreciated for any reply and i'm sorry if i have weird english expression.
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies@xxxxxxxxxxxxxxxxx
> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



-- 
Constantine Shulyupin

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]

  Powered by Linux