Kernel of the Laplace project
This is the kernel of the Laplace project.
- Booting
To use the kernel, you can build the project and run the kernel.
make
- Part 0: Introduction ✅
- Part 1: Building & Boot Protocols ✅
- Part 2: Architecture and Basic Drivers
- Part 3: Video Output
- Part 4: Memory Management
- Part 5: Scheduling
- Part 6: Getting to Userspace
- Part 7: Inter-Process Communication
- Part 8: File System
- Part 9: Loading & Executing ELFs
- Part 10: Going Beyond
- Extras: Appendices
sudo apt update
sudo apt install build-essential bison flex libgmp3-dev libmpc-dev libmpfr-dev texinfo
mkdir -p ~/src
cd ~/src
wget http://ftp.gnu.org/gnu/binutils/binutils-2.36.tar.gz
tar -xvf binutils-2.36.tar.gz
wget http://ftp.gnu.org/gnu/gcc/gcc-10.2.0/gcc-10.2.0.tar.gz
tar -xvf gcc-10.2.0.tar.gz
mkdir -p ~/src/build-binutils
cd ~/src/build-binutils
../binutils-2.36/configure --target=i686-elf --prefix=/usr/local/i686-elf --disable-nls --disable-werror
make
sudo make install
mkdir -p ~/src/build-gcc
cd ~/src/build-gcc
../gcc-10.2.0/configure --target=i686-elf --prefix=/usr/local/i686-elf --disable-nls --enable-languages=c,c++ --without-headers
make all-gcc
make all-target-libgcc
sudo make install-gcc
sudo make install-target-libgcc
echo 'export PATH=/usr/local/i686-elf/bin:$PATH' >> ~/.bashrc
source ~/.bashrc
./clean.sh
./iso.sh
./qemu.sh
This project is licensed under the MIT License - see the LICENSE file for details.
This project is authored by Master Laplace.