https://mirrors.edge.kernel.org/pub/linux/kernel/Historic/old-versions/ https://mirrors.edge.kernel.org/pub/linux/kernel/Historic/old-versions/linux-0.12.tar.gz https://kernel.googlesource.com/pub/scm/linux/kernel/git/nico/archive/+/v0.11 https://github.com/xiuxi/linux-0.11_2?tab=readme-ov-file
The old Linux kernel source ver 0.11 which has been tested under modern Linux, Mac OSX and Windows.
- a linux distribution: debian , ubuntu and mint are recommended
- some tools: gcc gdb qemu
- a linux-0.11 hardware image file: hdc-0.11.img, please download it from http://www.oldlinux.org, or http://mirror.lzu.edu.cn/os/oldlinux.org/, ant put it in the root directory.
- Now, This version already support the Ubuntu 16.04, enjoy it.
$ make help // get help
$ make // compile
$ make start // boot it on qemu
$ make debug // debug it via qemu & gdb, you'd start gdb to connect it.$ gdb tools/system
(gdb) target remote :1234
(gdb) b main
(gdb) c- install cross compiler gcc and binutils
- install qemu
- install gdb. you need download the gdb source and compile it to use gdb because port doesn't provide i386-elf-gdb, or you can use the pre-compiled gdb in the tools directory.
- a linux-0.11 hardware image file: hdc-0.11.img
$ sudo port install qemu
$ sudo port install i386-elf-binutils i386-elf-gccoptional
$ wget ftp://ftp.gnu.org/gnu/gdb/gdb-7.4.tar.bz2
$ tar -xzvf gdb-7.4.tar.bz2
$ cd gdb-7.4
$ ./configure --target=i386-elf
$ makesame as section 1.2
todo...