Update Readme.md
This commit is contained in:
parent
3bce55fb8f
commit
f44c8a5a92
1 changed files with 3 additions and 12 deletions
15
Readme.md
15
Readme.md
|
|
@ -8,23 +8,14 @@ which could serve as a platform for experimentation in the future.
|
|||
|
||||
You will need:
|
||||
|
||||
- A x86\_64 cross-compiler GNU toolchain [https://www.kernel.org/pub/tools/crosstool/]
|
||||
- A x86\_64 cross-compiler GNU toolchain
|
||||
- GNU make (the current Makefile is unfortunately not compatible with BSD make)
|
||||
- mkbootimg (part of [^BOOTBOOT])
|
||||
- qemu-system-x86\_64 to run the kernel in an emulator
|
||||
|
||||
## Building
|
||||
## Installing Dependencies, Building, and Running
|
||||
|
||||
Specify the paths in the default config file for bootboot and the cross compiler.
|
||||
|
||||
`make all` builds the entire kernel and creates a bootable disk image in `build/disk.img`.
|
||||
Building for the first time copies the file `config.default.mk` to `config.mk`.
|
||||
The latter can be used to configure the build and to adapt it to the host machine.
|
||||
`config.mk` is not checked into the git repository.
|
||||
|
||||
|
||||
Do make after adding files, files need to be specified in the makefile.
|
||||
run-qemu.sh will start qemu and load the disks and run the kernel.
|
||||
See our wiki page.
|
||||
|
||||
## References
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue