pikvm-rock64 icon indicating copy to clipboard operation
pikvm-rock64 copied to clipboard

PI-KVM fork for Rock64, NanoPi, Orange Pi and other boards

This is experimental and unsupported. Some features may not work.

Pre-built images are available here: https://github.com/Yura80/os/releases

To make OTG keyboard and mouse work on Rock64 and Libre Computer boards, use an A-to-A USB cable connected to the top left USB port.

Building

Generate a GPG key-pair if you don't have one already and export it to a public keyserver:

gpg --full-generate-key
gpg --keyserver keyserver.ubuntu.com --send-key XXXXXXXXXXXXXXXX

Clone the repositories:

git clone https://github.com/Yura80/pikvm-rock64.git
git clone https://github.com/Yura80/os.git
git clone https://github.com/Yura80/packages.git

Build the packages:

cd packages
make buildenv BOARD=generic ARCH=aarch64 _REPO_KEY=XXXXXXXXXXXXXXXX _PIBUILDER_REPO=https://github.com/Yura80/pi-builder
make update BOARD=generic ARCH=aarch64
make packages-generic BOARD=generic ARCH=aarch64 _REPO_KEY=XXXXXXXXXXXXXXXX _PIBUILDER_REPO=https://github.com/Yura80/pi-builder
make buildenv BOARD=generic ARCH=arm _REPO_KEY=XXXXXXXXXXXXXXXX _PIBUILDER_REPO=https://github.com/Yura80/pi-builder
make update BOARD=generic ARCH=arm
make packages-generic BOARD=generic ARCH=arm _REPO_KEY=XXXXXXXXXXXXXXXX _PIBUILDER_REPO=https://github.com/Yura80/pi-builder

Upload the repository to your web server:

make upload [email protected]:/var/www/pikvm/

Copy the config template for your board:

cd ../os
cp ../pikvm-rock64/config.mk.rock64 config.mk

Edit config.mk and set PIKVM_REPO_URL and PIKVM_REPO_KEY to the proper values for the repository on your server.

Build the image:

make os
make image