Question:
how do i make a kernel?
2011-07-26 02:39:15 UTC
i want to start a new open souce kernel like linux can any one help me get started like what are the steps and stuff?
Three answers:
?
2011-07-26 02:49:33 UTC
This is a sizeable project, so let's start with an overview of the steps:



1. Download the kernel source.

* Understand the kernel versioning system.

* Verify the digital signature (proving data integrity and source identity, at least within a reasonable level of confidence).

2. Install the kernel source in /usr/src/linux/.

3. Configure a new kernel build.

* Start with a useful initial kernel configuration file.

* Go into the build configuration tool and customize your new kernel.

4. Build that new kernel.

* You can build it the traditional way, as a large collection of files, or you can build it as a package and plug it into your configuration management scheme.

5. Install that new kernel.

6. Reboot and run your new kernel!
adaviel
2011-07-26 10:13:13 UTC
That is just too much work for one person - modern kernels have thousands of person-years of code, and thousands of device drivers that need to be written for them every time someone makes new hardware devices like disks and network chips or updates old ones.

Trying to reinvent Linux or FreeBSD on mainstream Intel CPUs is just crazy.



You could try writing a scheduler for some simpler embedded chip like Arduino or Propeller.



It would be cool to make a true parallel operating system that ran on GPU cores, but that's probably too hard for anyone.
Alex
2011-07-26 09:49:49 UTC
Title:Write A Simple Operating System Now

http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=3570&lngWId=3


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...