|¿Alguna vez te preguntaste cómo era el kernel de Linux cuando se publicó por primera vez? Bueno, ahora podés saciar tu curiosidad echando un ojo al código fuente de la versión 0.01. Está disponible para su descarga desde los archivos del kernel.|
This is a free minix-like kernel for i386(+) based AT-machines. Full source is included, and this source has been used to produce a running kernel on two different machines. Currently there are no kernel binaries for public viewing, as they have to be recompiled for different machines. You need to compile it with gcc (I use 1.40, don’t know if 1.37.1 will handle all __asm__-directives), after having changed the relevant configuration file(s).
As the version number (0.01) suggests this is not a mature product. Currently only a subset of AT-hardware is supported (hard-disk, screen, keyboard and serial lines), and some of the system calls are not yet fully implemented (notably mount/umount aren’t even implemented). See comments or readme’s in the code.
This version is also meant mostly for reading – ie if you are interested in how the system looks like currently. It will compile and produce a working kernel, and though I will help in any way I can to get it working on your machine (mail me), it isn’t really supported. Changes are frequent, and the first «production» version will probably differ wildly from this pre-alpha-release.
Hardware needed for running linux:
– 386 AT
– VGA/EGA screen
– AT-type harddisk controller (IDE is fine)
– Finnish keyboard (oh, you can use a US keyboard, but not
without some practise
The Finnish keyboard is hard-wired, and as I don’t have a US one I cannot change it without major problems. See kernel/keyboard.s for details. If anybody is willing to make an even partial port, I’d be
grateful. Shouldn’t be too hard, as it’s tabledriven (it’s assembler though, so …)
Although linux is a complete kernel, and uses no code from minix or other sources, almost none of the support routines have yet been coded. Thus you currently need minix to bootstrap the system. It might be possible to use the free minix demo-disk to make a filesystem and run linux without having minix, but I don’t know…