2021-05-04 12:59:38 +09:00
|
|
|
# firmament: 🌄 Challenge of building operating system (referring to MikanOS)
|
2021-05-04 10:45:18 +09:00
|
|
|
## Setup
|
|
|
|
1. Build container on Visual Studio Code.
|
2021-05-04 11:04:59 +09:00
|
|
|
1. Run: `.devcontainer/init.sh` (on `/workspaces/firmament`)
|
|
|
|
1. Run: `cd ~/edk2; source edksetup.sh`
|
2021-05-04 10:45:18 +09:00
|
|
|
## Utils
|
|
|
|
### Build
|
|
|
|
* Run: `cd ~/edk2; build`
|
|
|
|
### Make disk
|
|
|
|
* Run: `sudo ~/make_disk.sh`
|
2021-05-04 11:10:30 +09:00
|
|
|
### Run Firmament on QEMU (uses VcXsrv; please configure it before running this)
|
2021-05-04 10:45:18 +09:00
|
|
|
* Run: `~/run_qemu.sh`
|
2021-05-04 11:10:30 +09:00
|
|
|
#### Configuring VcXsrv
|
|
|
|
* You can refer to my `config.xlaunch` file (placed on .devcontainer/config.xlaunch).
|
2021-05-04 12:59:38 +09:00
|
|
|
* All you need is to install VcXsrv and open `config.xlaunch` on Windows.
|
|
|
|
(You can use `.devcontainer/config.xlaunch` with no edit.)
|
2021-05-04 11:10:30 +09:00
|
|
|
* Please make sure allow VcXsrv connections via both private & public network in Windows Defender Firewall.
|
|
|
|
## License
|
|
|
|
### .devcontainer/
|
|
|
|
* MIT License
|
|
|
|
### LoaderPkg/
|
|
|
|
* Apache License 2.0
|