1
0
Fork 0
forked from koniifer/ableos
ableos-framebuffer/ableos
2021-11-22 06:58:35 -08:00
..
.cargo Paging works :3 2021-11-22 06:58:35 -08:00
.vscode
json_targets
keymaps
notes
shitty_code_to_rewrite
src Paging works :3 2021-11-22 06:58:35 -08:00
Cargo.lock
Cargo.toml Bruh- modifying the screen buffer without a lock omg 2021-11-22 01:51:11 -08:00
README.md
rust-toolchain
TODO.md

ableOS

Discord Code Size

Set up

Install Qemu

On Windows be sure to add C:\Program Files\qemu to your PATH variable

rustup component add rust-src

rustup component add llvm-tools-preview

cargo install bootimage

Srange workarounds

  • arm/build.rs has to move main.rs
  • conditional dependencies for bootloader are broken

Testing on real hardware

I recommend using an old x86_64 computer

  • cargo run --release to generate a binary image that is bootable
  • flash it to a USB device via dd or belenaEtcher
  • Remove said USB device and plug into test machine
  • assure test machine boots from USB devices