Crates.io | cargo-ruspiro-push |
lib.rs | cargo-ruspiro-push |
version | 0.1.1 |
source | src |
created_at | 2019-12-19 20:30:36.870695 |
updated_at | 2020-02-14 20:42:59.689747 |
description | Cargo tool to push new RusPiRo Kernel's from the development machine (PC) to the Raspberry Pi if connected through a serial port. |
homepage | |
repository | https://github.com/RusPiRo/ruspiro-push |
max_upload_size | |
id | 190724 |
size | 25,894 |
This cargo
tool allows to push new RuspiRo kernel images to the Rapsberry Pi assuming the receiving
bare metal kernel Bootloader is running there and it is
connected through a serial port to the development machine.
Use cargo
to install this subcommand:
$> cargo install cargo-ruspiro-push
Once done you could call the tool like so:
$> cargo ruspiro-publish -k <image_file> -p <serial_port>
The target architecture will be derived from the filename. kernel7.img
will be handled as Aarch32
and kernel8.img
will handled as Aarch64 target. For any other file name you need to provide the
desired target architecture of the kernel file to be transfered using the -a
flag. Use the
--help
flag to see all available options for this command:
$> cargo ruspiro-push --help
Push a kernel image to Raspberry Pi 0.1.0
André Borrmann <pspwizard@gmx.de>
Send kernel files to raspberry Pi running RusPiRo Bootloader
USAGE:
cargo-ruspiro-push.exe [OPTIONS] --kernel <FILENAME> --port <PORT_NAME> [ruspiro-push]
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
-a, --aarch <32 | 64> Kernel architecture mode 32 for aarch32 or 64 for aarch64
-k, --kernel <FILENAME> Kernel filename (+path) to be uploaded to RPi
-p, --port <PORT_NAME> Serial Port Name to use for communication (e.g. 'COM5' on Windows machine)
ARGS:
<ruspiro-push>
Licensed under Apache License, Version 2.0, (LICENSE or http://www.apache.org/licenses/LICENSE-2.0)