https://github.com/zixu-w/zxos
Bare bone kernel from tutorial http://wiki.osdev.org/
https://github.com/zixu-w/zxos
c kernel os osdev
Last synced: about 1 year ago
JSON representation
Bare bone kernel from tutorial http://wiki.osdev.org/
- Host: GitHub
- URL: https://github.com/zixu-w/zxos
- Owner: zixu-w
- Created: 2017-08-02T12:04:22.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2019-05-21T05:56:16.000Z (about 7 years ago)
- Last Synced: 2025-03-29T03:41:29.694Z (over 1 year ago)
- Topics: c, kernel, os, osdev
- Language: C
- Homepage:
- Size: 81.1 KB
- Stars: 6
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# zxOS
Bare bone kernel based on tutorial http://wiki.osdev.org/
## How to build
### Pre-requisites
#### Cross-platform Tool-chain
You need a set of cross-platform tools to build the kernel. To build such a tool-chain, you can run `make dependencies`. The tool-chain will be installed at `/usr/local/cross` by default. If you want to install to another place, run
```
export CROSS_PATH=
make dependencies
```
, or `CROSS_PATH= make dependencies` directly.
If you prefer to build a cross-platform tool-chain by yourself, make sure to export its path prefix to `CROSS_PATH` before building the kernel.
#### Other Tools
To build an image of zxOS, you will need to install `xorriso`:
###### Ubuntu/Debian
```
sudo apt-get install xorriso
```
And you can also launch zxOS locally in a virtual machine with [`qemu`](https://www.qemu.org/). To install:
###### Ubuntu/Debian
```
sudo apt-get install qemu
```
### Build the Kernel
With all prerequisites met, you can build zxOS by simply running
```
make
make install
```
The system image can be built by running
```
make image
```
The generated iso image can be found under `image/`.
To start a qemu virtual machine, run
```
make qemu-run
```