cargo-vika

Crates.iocargo-vika
lib.rscargo-vika
version0.0.1
sourcesrc
created_at2021-11-05 06:27:12.996055
updated_at2024-05-31 18:38:56.910843
descriptioncargo tool to ease creating UEFI projects
homepage
repositoryhttps://github.com/OrbitalStation/Old-Repositories/tree/cosmos/used-by-crates.io/cargo-vika
max_upload_size
id477196
size28,381
Orbital Station (OrbitalStation)

documentation

https://docs.rs/cargo_vika

README

⚠️ WARNING!!! ⚠️

This crate is no longer supported and is here only because I cannot fully pull it out of crates.io(yanking doesn't count)

Cargo-vika

Special tool to ease UEFI development

WARNING!!! Only x86_64 and AArch64 support for now!

Cargo-vika is a cargo command that can be obtained by executing "cargo install cargo-vika".

Can be used like this: "cargo vika [COMMAND] [ARGS]"

It supports few commands:

run qemu:

builds & runs application in QEMU

Args:

  • --ovmf <DIR> <-- specify directory where OVMF files are located(default current dir and then system paths)
  • --exitp <PORT> <-- specify port that will be used as QEMU exit port(default 0xF4)
  • --cores <CORES> <-- specify number of cores to emulate(default 4)
  • --mem <MEM> <-- specify amount of RAM to emulate(default 256M)
  • --vga <VGA> <-- specify QEMU which VGA to use("-" to use QEMU's default, default std)
  • --dev <DEVICE> <-- can be specified multiple times; specify QEMU extra device to use
  • --features <FEATURES> <-- app features to enable, e.g. to enable features foo, bar & baz, pass --features foo,bar,baz
  • --debug <-- tell QEMU to wait until GDB will connect(check this too)
  • --debug-port <PORT> <-- use together with --debug, specify GDB and QEMU which TCP port to use to connect by
  • --pass-output <-- everything that will be printed to QEMU using UEFI.stdout() will be printed to console too

new <NAME>

creates new package with template inside, just like "cargo new"

build

builds application

Args:

  • --features <FEATURES> <-- same as run.features

P.S. I really don't mind if you send to my email(check Cargo.toml.authors) your own variant of this README, 'cause I'm not a good designer :)

Commit count: 0

cargo fmt