akern-gkgoat-fork/ableos
2022-01-01 19:12:39 -08:00
..
.cargo work done 2021-12-24 03:30:27 -06:00
json_targets ableOS build system 2021-11-16 00:09:27 -06:00
keymaps breaking changes 2021-11-23 05:53:06 -06:00
notes :> 2021-11-23 08:49:41 -06:00
shitty_code_to_rewrite ableOS build system 2021-11-16 00:09:27 -06:00
src merge again because my dumb butt forgot to fix conflicts 2022-01-01 19:12:39 -08:00
Cargo.lock colorify integrated into print 2021-12-28 02:56:29 -06:00
Cargo.toml adding system info (X86_64 only) 2022-01-01 18:06:46 -06:00
README.md ableOS build system 2021-11-16 00:09:27 -06:00
rust-toolchain ableOS build system 2021-11-16 00:09:27 -06:00
TODO.md ableOS build system 2021-11-16 00:09:27 -06:00

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