0d94776c46
[build] Remove makest from build script
...
Removing the outdated reference to makest from the build scripts, which
should have been removed as part of the build_symbol_table.py change.
2020-08-09 17:23:14 -07:00
e7f9d8f1d7
[scripts] Add symbol table building script
...
Create a script that builds a simple-to-read symbol table from the
output of `nm`. Include running that script over the kernel in the
build, and including that output in the initrd.
Tags: callstack debugging
2020-08-06 21:11:19 -07:00
Justin C. Miller
c713f4ff6f
[boot] Build the kernel mem map from the UEFI one
...
Created kernel args memory map structure, looping through UEFI's memory
map to copy and condense.
Tags: boot memory
2020-05-10 16:26:17 -07:00
Justin C. Miller
83897048ab
Update for bonnibel 2.0
2019-07-20 23:19:21 -07:00
Justin C. Miller
6285517ef7
Rename Popcorn to jsix.
...
See README.md for more information.
2019-05-27 14:07:29 -07:00
Justin C. Miller
b9c8edb657
Allow clang to colorize output in ninja
2019-04-18 00:28:23 -07:00
Justin C. Miller
ee6d69bcd2
Move builds to bonnibel 0.2
2019-03-30 01:33:00 -07:00
Justin C. Miller
ed3f9410a6
Make nulldrv a small C++ program
2019-03-24 13:44:25 -07:00
Justin C. Miller
bf8286d15f
Improve debugging functions
...
- More sensible stack tracer, in C++ (no symbols yet)
- Was forgetting to add null frame to new kernel stacks
- __kernel_assert was using an old vector
- A GP fault will only print its associated table entry
2019-03-15 00:47:46 -07:00
Justin C. Miller
4379256c11
Split OVMF into _code and _vars
2019-03-12 10:02:37 -07:00
Justin C. Miller
870ca1db45
Allow debug option to be communicated at boot
2019-03-11 03:04:57 -07:00
Justin C. Miller
2955e6c9c1
Add debugging files to build process
2019-03-10 23:34:47 -07:00
Justin C. Miller
ec20e9f3d9
Stripping the kernel
...
Strip the kernel version that we put into the disk image, but keep the
debug symbols in a separate file for GDB.
2019-02-17 23:43:59 -08:00
Justin C. Miller
79711be46a
Dump compiler args and defines.
...
As part of the build, dump the compiler arguments and defines per target
into files.
2019-02-07 17:39:10 -08:00
Justin C. Miller
f2d39f7df8
Refactoring build system for more control of inputs
2019-02-03 18:32:45 -08:00
Justin C. Miller
237c242f96
Fix ninja not reloading buildfiles on regen
2019-02-03 00:20:01 -08:00
Justin C. Miller
bc01a37452
Ninja-based buildsystem now building a running kernel!
2019-02-02 21:35:39 -08:00
Justin C. Miller
acdca19f59
Ninja buildsystem produces working bootloader
2019-02-02 18:24:58 -08:00
Justin C. Miller
73df20d195
Ninja-based system now builds the disk images
2019-02-02 14:43:55 -08:00
Justin C. Miller
8d23fac6cc
Allow for ninja files to regenerate themselves
2019-02-02 11:52:05 -08:00
Justin C. Miller
0f8efdb55e
Moving to a ninja-based build system
2019-02-02 02:59:45 -08:00