Skip to content

Commit e069e90

Browse files
authored
Create README.md
1 parent ebf5f81 commit e069e90

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# rustboot-x86
2+
An experimental pure-Rust x86 bootloader for the [planned second edition](https://github.com/phil-opp/blog_os/issues/360) of the [Writing an OS in Rust](https://os.phil-opp.com) series.
3+
4+
**This is still work in progress**.
5+
6+
## Build and Run
7+
You need a nightly [Rust](https://www.rust-lang.org) compiler, [xargo](https://github.com/japaric/xargo), [objcopy](https://sourceware.org/binutils/docs/binutils/objcopy.html) (or a similar tool), and [QEMU](https://www.qemu.org/) (for running it).
8+
9+
```
10+
> RUST_TARGET_PATH=(pwd) xargo build --target test
11+
> objcopy -O binary -S target/test/debug/elf_loader test-bin
12+
> qemu-system-x86_64 -hda test-bin -d int -s
13+
```

0 commit comments

Comments
 (0)