kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* Re: How to debug the very first part of kernel
       [not found] <SG2PR02MB2447774F3010644D0314825CBED09@SG2PR02MB2447.apcprd02.prod.outlook.com>
@ 2021-09-04 16:12 ` Constantine Shulyupin
  0 siblings, 0 replies; only message in thread
From: Constantine Shulyupin @ 2021-09-04 16:12 UTC (permalink / raw)
  To: 候 磊; +Cc: kernelnewbies

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@outlook.com> 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@kernelnewbies.org
> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



-- 
Constantine Shulyupin

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-09-04 16:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <SG2PR02MB2447774F3010644D0314825CBED09@SG2PR02MB2447.apcprd02.prod.outlook.com>
2021-09-04 16:12 ` How to debug the very first part of kernel Constantine Shulyupin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).