Installing Devkit Drivers¶
Welcome to the guide for the quadric devkit. To install drivers for the devkit, please follow the guide below.
Note
You must have a quadric devkit to follow this guide. Please contact sales@quadric.io to order a quadric devkit.
Requirements¶
A quadric devkit.
quadric SDK Version 0.9.0 or greater.
Steps¶
Navigate to the
drivers
folder within the your quadric SDK package.$ cd drivers
Install the drivers using the command below. This process will require sudo privileges.
$ ./install_drivers.sh Preparing to unpack thor-dkms_0.1.0-1_all.deb ... Unpacking thor-dkms (0.1.0-1) over (0.1.0-1) ... Setting up thor-dkms (0.1.0-1) ... Loading new thor-0.1.0 DKMS files... Building for 4.15.0-136-generic Building initial module for 4.15.0-136-generic Done. thor: Running module version sanity check. - Original module - No original module exists within this kernel - Installation - Installing to /lib/modules/4.15.0-136-generic/updates/dkms/ depmod... DKMS: install completed. Installing collected packages: thor Attempting uninstall: thor Running setup.py develop for thor Successfully installed thor-1.0.0 Driver installation complete
Use the
thor-tool
to detect your attached quadric devkit. A successful message resembles the output below.$ thor-tool probe /dev/thor0 chip_id 0x00010000 clk_status 0x0000003f
Updating Devkit Firmware¶
Follow the guide below to install new firmware on the quadric devkit.
Steps¶
First locate the firmware file provided (denoted as an
.img
), then simply use thethor-tool
command line tool as shown below.$ thor-tool firmware flash thor_fw.img Firmware size 16980 bytes. Using region 1 (offset 0x00020000, size 126976). Erasing region... [############################################################] 100% | 5 / 5 sectors Writing firmware... [############################################################] 100% | 67 / 67 pages Reading back firmware... [############################################################] 100% | 67 / 67 pages Verifying firmware... Committing new firmware... Successfully flashed firmware.
To complete the update, reboot the machine.
$ sudo reboot