2018-02-13 18:32:17 +00:00
|
|
|
# Building
|
2018-02-13 18:32:46 +00:00
|
|
|
### Environment
|
2018-03-24 01:05:20 +00:00
|
|
|
All platforms where the required packages are available.
|
2018-02-13 18:29:45 +00:00
|
|
|
|
2018-02-13 18:32:46 +00:00
|
|
|
### Required packages
|
2018-10-02 06:43:30 +00:00
|
|
|
For compiling kernel only (make compile):
|
|
|
|
|
|
|
|
nasm, clang, lld, llvm
|
|
|
|
|
|
|
|
To make bootable ISO (make all):
|
|
|
|
|
|
|
|
xorriso; grub-pc-bin for bios; grub-efi-amd64-bin, mtools for UEFI.
|
2018-02-13 18:29:45 +00:00
|
|
|
|
2018-02-13 18:32:46 +00:00
|
|
|
### Compiling
|
2018-10-02 06:43:30 +00:00
|
|
|
Run "make all" or "make compile" in the root directory.
|
2018-02-13 18:33:24 +00:00
|
|
|
|
2018-10-02 06:43:30 +00:00
|
|
|
This will generate secxkrnl.elf, secxkrnl.dmp, (and secxkrnl.iso) in "out" folder
|
2018-02-18 04:38:23 +00:00
|
|
|
|
|
|
|
Run "make clean" to clean a build.
|
|
|
|
|
2018-10-02 06:43:30 +00:00
|
|
|
|
2018-02-18 04:38:23 +00:00
|
|
|
# Running
|
2018-10-02 06:43:30 +00:00
|
|
|
Load the iso with your favorite simulator or use "-kernel" option with QEMU.
|
|
|
|
|
|
|
|
For UEFI simulation, use qemu_bios.bin in the root dir with QEMU.
|
2018-02-13 18:29:45 +00:00
|
|
|
|