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/danfmihai/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.
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/danfmihai/pikvm-rock64.git
git clone https://github.com/danfmihai/os.git
git clone https://github.com/danfmihai/packages.git
Build the packages:
cd packages
make buildenv BOARD=generic ARCH=aarch64 _REPO_KEY=1200949956026A69 _PIBUILDER_REPO=https://github.com/danfmihai/pi-builder
make update BOARD=generic ARCH=aarch64
make packages-generic BOARD=generic ARCH=aarch64 _REPO_KEY=1200949956026A69 _PIBUILDER_REPO=https://github.com/danfmihai/pi-builder
make buildenv BOARD=generic ARCH=arm _REPO_KEY=1200949956026A69 _PIBUILDER_REPO=https://github.com/danfmihai/pi-builder
make update BOARD=generic ARCH=arm
make packages-generic BOARD=generic ARCH=arm _REPO_KEY=1200949956026A69 _PIBUILDER_REPO=https://github.com/danfmihai/pi-builder
Upload the repository to your web server:
make upload _REPO_DEST=root@example.com:/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