GET STARTED
Start Walking
⚠️

This documentation is under construction and incomplete.

Setup

  1. Flash the Image to the SD Card Download the OpenLCH image from the releases page (opens in a new tab).

Use Balena Etcher (or any other flashing tool) to flash the image onto your SD card.

Once flashing is complete, remove and reinsert the SD card into your computer.

  1. Configure Wi-Fi on Startup Open the boot folder on the SD card (it should be visible on macOS since it is formatted as FAT32). Create a new file named wpa_supplicant.conf in the boot folder and add the following content:
ctrl_interface=/var/run/wpa_supplicant
ap_scan=1
update_config=1
 
network={
  ssid="YOURWIFINAME"
  psk="YOURPASSWORD"
  key_mgmt=WPA-PSK
}

Replace YOURWIFINAME and YOURPASSWORD with your Wi-Fi credentials.

  1. Connect via USB If you're connecting via USB, use the following details:
  • IP Address: 192.168.42.1
  • Username: root
  • Password: milkv

SSH: ssh [email protected]

If there's a keygen issue: ssh-keygen -R 192.168.42.1

  1. Build Runtime
cargo check && gitlab-ci-local # check and build
  1. Transfer Files to the Target Device Find binaries in target/riscv64gc-unknown-linux-musl/release/

scp -O target/riscv64gc-unknown-linux-musl/release/runtime $MILKV_IP:/usr/local/bin/

Debug: Note that you cannot ping the device in Cursor editor terminal for some reason. Try:

ping 192.168.42.1
  1. Run the Application To run the servo setup, execute the following on the target device:
 
# List available binaries
ls /usr/local/bin/
 
# Run your desired binary (example: runtime)
 /usr/local/bin/runtime

If the board is connected over usb, ip is 192.168.42.1