forked from M-Labs/nix-servo
1.3 KiB
1.3 KiB
Firmware for the Sinara 8462 Fast-Servo
Building
Reproducible build with Nix
- Run
nix build .#packages.armv7l-linux.fast-servo-sd-image
to build the sd card image. - Run
nix develop
to build a dev shell to access the GUI.
Flashing
- Plug in your SD card to your computer and run
lsblk
to locate SD card - If there are any partitions on the SD card, run
umount <mount point>
all the related mount points. - Run
sudo dd if=<path to the SD Card Image> of=/dev/<SD Card Device Name in lsblk> bs=4M status=progress oflag=sync
- Eject the SD Card before removal
Usage
- Make sure the onboard DIP Switch is in the following condition.
- EN: OFF
- MODE: ON
- Install the SD Card, power up the board via the power jack or PoE and plug in the RJ45 Ethernet cable.
- Wait for all the front panel LEDs except the termination status LEDs to turn off. It can take a minutes or two for first boot. If it does not boot up, try to flash the SD Card again.
- Run
ssh <fast servo ip address> -p 3030
to ssh into fast-servo and runlinien-server run
to start the linien server. - In the dev shell, run
linien
to launch the GUI. Add new device. Username isroot
and it does not take any password to log in. You leave the password field with any text. - Select the newly added device and click connect in the GUI to connect and start the GUI.