Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/morinokami/osbook
https://github.com/morinokami/osbook
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/morinokami/osbook
- Owner: morinokami
- Created: 2021-03-19T15:53:19.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-05-26T13:10:00.000Z (over 3 years ago)
- Last Synced: 2024-10-13T11:09:15.997Z (3 months ago)
- Language: C++
- Size: 1.14 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## 資料
* MikanOS ソースコード: https://github.com/uchan-nos/mikanos
* MikanOS 開発環境: https://github.com/uchan-nos/mikanos-build
* サポートサイト: http://zero.osdev.jp (https://github.com/uchan-nos/os-from-zero)
* 東京工業大学 システム開発プロジェクト: https://www.youtube.com/channel/UCJx-rgFp80y-x7_JeBJ35yA
* uchan C++ 講習会: https://www.youtube.com/watch?v=pLuZOUusBYI## 準備
```sh
$ git clone [email protected]:morinokami/osbook.git
$ cd osbook/devenv
$ python -m venv venv
$ source venv/bin/activate
$ pip install ansible
$ ansible-playbook -K -i ansible_inventory ansible_provision.yml
$ cd edk2
$ ln -s /path/to/mikanos/MikanLoaderPkg ./
$ source edksetup.sh
$ vim Conf/target.txt # https://github.com/uchan-nos/mikanos-build#%E3%83%96%E3%83%BC%E3%83%88%E3%83%AD%E3%83%BC%E3%83%80%E3%83%BC%E3%81%AE%E3%83%93%E3%83%AB%E3%83%89
$ build
$ ls Build/MikanLoaderX64/DEBUG_CLANG38/X64/Loader.efi
```## ブートローダのビルド
```sh
$ cd devenv/edk2
$ source edksetup.sh
$ build
```## カーネルのビルド
```sh
$ source devenv/buildenv.sh
$ cd mikanos/kernel
$ make
```## 実行
```
$ ./devenv/run_qemu.sh ./devenv/edk2/Build/MikanLoaderX64/DEBUG_CLANG38/X64/Loader.efi ./mikanos/kernel/kernel.elf
```