hello every one ! I am trying to trace Linux kernel booting process for ARM architecture. Right now i am doing it manually . I am getting problem in reading assembly codes (like in head.s and other files) . Can any body tell me the correct way of tracing the linux kernel booting process ? Is there any guide which perfectly document Linux kernel files function by function ? Thank You!
On Mon, 02 Jun 2014 21:23:16 +0530, Saurabh Jain said:
I am trying to trace Linux kernel booting process for ARM architecture. Right now i am doing it manually . I am getting problem in reading assembly codes (like in head.s and other files) . Can any body tell me the correct way of tracing the linux kernel booting process ? Is there any guide which perfectly document Linux kernel files function by function ?
Guide? When there's literally a million lines of new or changed code every release? Who is going to maintain the guide? Hint: Even the *source* doesn't perfectly document things function by function.
Hi, On Mon, Jun 2, 2014 at 7:53 PM, Saurabh Jain <saurabh4768jain@gmail.com> wrote:
I am trying to trace Linux kernel booting process for ARM architecture. Right now i am doing it manually . I am getting problem in reading assembly codes (like in head.s and other files) . Can any body tell me the correct way of tracing the linux kernel booting process ? Is there any guide which perfectly document Linux kernel files function by function ?
Not *the* (supposedly only) correct way, just one possible way is to use gdb connected to qemu to step through your kernel code. Google suggests the following, which looks pretty decent: http://files.meetup.com/1590495/debugging-with-qemu.pdf -- Thanks. -- Max
On Mon, Jun 2, 2014 at 12:53 PM, Saurabh Jain <saurabh4768jain@gmail.com> wrote:
hello every one !
I am trying to trace Linux kernel booting process for ARM architecture. Right now i am doing it manually . I am getting problem in reading assembly codes (like in head.s and other files) . Can any body tell me the correct way of tracing the linux kernel booting process ? Is there any guide which perfectly document Linux kernel files function by function ?
Hi Saurabh, I don't know of any guide for Linux ARM boot code. But there are some guides for Linux x86 boot code for ancient Linux Kernels, like this: http://www.oldlinux.org/Linux.old/study/eclk-03-boot.pdf Best regards! -- Augusto Mecking Caringi
Hi Saurabh, You can take a look at the DOC mentioned here. Its kind of gives an overview (not in depth) of every function in Booting process in ARM linux : http://www.linux-arm.org/pub/LinuxPlatform/RealViewLink/Booting_ARM_Linux_SM... Its a good start to dive into the internals. Thanks and regards, Vignesh Radhakrishnan On Mon, Jun 2, 2014 at 11:32 PM, Augusto Mecking Caringi <augustocaringi@gmail.com> wrote:
On Mon, Jun 2, 2014 at 12:53 PM, Saurabh Jain <saurabh4768jain@gmail.com> wrote:
hello every one !
I am trying to trace Linux kernel booting process for ARM architecture. Right now i am doing it manually . I am getting problem in reading assembly codes (like in head.s and other files) . Can any body tell me the correct way of tracing the linux kernel booting process ? Is there any guide which perfectly document Linux kernel files function by function ?
Hi Saurabh,
I don't know of any guide for Linux ARM boot code.
But there are some guides for Linux x86 boot code for ancient Linux Kernels, like this:
http://www.oldlinux.org/Linux.old/study/eclk-03-boot.pdf
Best regards!
-- Augusto Mecking Caringi
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
participants (5)
-
Augusto Mecking Caringi -
Max Filippov -
Saurabh Jain -
Valdis.Kletnieks@vt.edu -
Vignesh Radhakrishnan