https://github.com/nicolamaritan/bija-os
Simple bootloader and kernel.
https://github.com/nicolamaritan/bija-os
bootloader kernel
Last synced: 8 months ago
JSON representation
Simple bootloader and kernel.
- Host: GitHub
- URL: https://github.com/nicolamaritan/bija-os
- Owner: nicolamaritan
- Created: 2023-08-08T19:54:42.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-04-26T12:51:49.000Z (about 1 year ago)
- Last Synced: 2025-05-07T19:57:19.616Z (about 1 year ago)
- Topics: bootloader, kernel
- Language: C
- Homepage:
- Size: 49.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# BijaOS
Simple bootloader and kernel.
## Build
A GCC cross-compiler for ```i686-elf``` is needed (https://wiki.osdev.org/GCC_Cross-Compiler). The build script assumes the ```opt``` directory is placed in ```~/Development/opt```.
To build, run
```
$ source build.sh
```
## Debug
To debug, use ```gdb```. As the kernel is loaded at address 0x100000, add the following lines at the beginning of your ```.gdbinit```:
```
add-symbol-file build/kernelfull.o 0x100000
```
To use QEMU, add
```
target remote | qemu-system-i386 -S -gdb stdio -hda bin/os.bin
```