Skip to content
LeafKVM

Developing

LeafKVM is designed with developers in mind. It provides several development-oriented modes—SSH access, firmware loader mode, and a dedicated serial console—to support debugging, customization, and firmware experimentation.

Whether you are testing new builds, extending system functionality, or contributing upstream, the following sections outline the key tools available.


  1. Open Web UI → Settings → Advanced.
  2. Navigate to SSH Access section.
  3. Paste your SSH public key into the input box.
  4. Save the configuration.

If you don’t have a ssh-key, please see below.


Terminal window
ssh-keygen -t rsa -b 4096
  • Press Enter to accept the default file location: ~/.ssh/id_rsa.
  • Optionally enter a passphrase for added security.
  • Your public key will be created at: ~/.ssh/id_rsa.pub.
Terminal window
ssh-keygen -t rsa -b 4096
  • Press Enter to accept the default path: C:\Users\<username>\.ssh\id_rsa
  • The public key will be stored at: C:\Users\<username>\.ssh\id_rsa.pub

Once Developer Mode is enabled:

Terminal window
ssh root@<leafkvm-ip-address>

If your key has a passphrase, you will be prompted to enter it.


Loader Mode—also known as DFU mode—allows firmware recovery or low-level updates. This mode is useful when SSH or the main system is not accessible, or when testing development images.

LeafKVM's ports diagram

  1. Boot the LeafKVM.
  2. Press and hold the RESET button until the countdown appears.
  3. Keep holding until the device reboots.
  4. Release the button; the device will enter Loader (DFU) Mode.

TBD — The exact tooling and flashing commands will be documented when the DFU utilities are finalized.


LeafKVM provides a dedicated Debug USB-C port for serial console access. This port includes an onboard CH340 USB-to-UART bridge, exposing system logs, boot messages, and shell access during early boot stages.

connects to RV1106G3’s UART2_M1

  • Connect a USB-C cable from the Debug USB-C port to your computer.
  • A serial port such as /dev/tty.usbserial-* (macOS/Linux) or COMx (Windows) will appear automatically.
  • Open it using a terminal tool (PuTTY / minicom / screen).

© 2025 LeafKVM Team
Contact