Skip to content

esturzu/dingOS

Repository files navigation

dingOS

Using the Makefile, to build with no debug print statements:

make qemu

With debug print statements:

make qemu DEBUG_ENABLED=1

To clean the build:

make clean

To quit QEMU, Ctrl + A, then X.

Logfile

To specify a logfile, use the argument QEMU_LOG=kernel_output.log, for example:

make qemu DEBUG_ENABLED=1 QEMU_LOG=output.log

Debug

Use the Make target

make debug

and follow the instructions from there.

To help simplify debugging, use debug.sh, which will build the kernel with debug symbols and attach the GDB script, gdb-init-script.gdb.

The script run_until_unexpected.sh will continuously run the kernel until the last line of kernel output is different than expected. You will need to change the variables at the top of the script to your desired values.

About

OS built in C++, ARM64, on a Raspberry Pi 3B QEMU

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 11