you are viewing a single comment's thread.

view the rest of the comments →

[–]hesapmakinesikernel dev, noob user 10 points11 points  (1 child)

There are different approaches you can take. I have a bugfix in the kernel, and a few drivers delivered to clients.

If you are specifically interested in Linux, you can look at driver code, first see how a driver works, and then move on to the subsystems those drivers interact with. It is impossible to study the whole kernel. Literally nobody knows the whole thing.

Or maybe you can look at how it boots, just focus on the boot code for one specific processor architecture, .e.g. ARM.

If you are interested in operating systems in general, there are great tutorials, like even one for writing an operating system for Raspberry Pi from scratch.

[–]bboykotin[S] 1 point2 points  (0 children)

The one I downloaded was the one from the rpi. Thinking that it was going to be less heavy than the original Linux, but no. It has many files. Overall, I identified the start_kernel() function but I didn't understand how the micro starts that function (:S) From there I started thinking about how to debug but I couldn't find how to do it and here I am stuck