Tools
This page describes the utilities for Orca. It covers the installation of the tools and provides usage details for utilities.
Skip the following step if you already enabled and updated the repository.
Enable and Update the DeGirum repository
Install prerequisites:
sudo apt install curlDownload DeGirum public key:
Ubuntu 20.04:
wget -O - -q http://assets.degirum.com/apt-repo/DeGirum.gpg.key | sudo apt-key add -Ubuntu 22.04 and Ubuntu 24.04:
curl -fsSL http://assets.degirum.com/apt-repo/DeGirum.gpg.key | sudo gpg --dearmor -o /usr/share/keyrings/degirum.gpgAdd the DeGirum software repository to your APT sources:
Ubuntu 20.04:
echo deb [arch=amd64,arm64] https://assets.degirum.com/apt-repo ORCA main | sudo tee -a /etc/apt/sources.listUbuntu 22.04 and Ubuntu 24.04:
echo deb [arch=amd64,arm64 signed-by=/usr/share/keyrings/degirum.gpg] https://assets.degirum.com/apt-repo ORCA main | sudo tee -a /etc/apt/sources.listUpdate package information from configured sources:
sudo apt updateInstallation procedure for ORCA utilities
Download and install DeGirum tools package:
sudo -E apt install dgotools-dgThis installs the dgopwc, dgoinfo, and qflup utilities.
dgoinfo - DeGirum ORCA info
Description
dgoinfo prints information about ORCA devices. If no board is specified, the utility lists all detected boards.
Parameters
dgoinfo command [options]
Available commands:
hw - Print out information about hardware
fw - Print out information about firmware
pwr - Print out information about power control
stats - Print out information about device statistic
all - Print out all above information (Default command)Options
-b bus, --bus=bus Device bus address: part of BDF for PCIe device, USB Controller / Hub Path for USB device.
-d dev, --dev=dev Device address on a bus: part of BDF for a PCIe device, or the USB connection device address.
-p port, --port=port Device port on a USB bus: N/A for PCIe device, the USB controller or hub port address.
-n number, --ndev=number [=0 by default] If previous parameters matched multiple devices (for example, only the bus was specified) or nothing was specified, then number selects the device in the OS-specific order.
Sample run
dgopwc - DeGirum ORCA power control
Description
dgopwc is a utility to set/get power parameters on ORCA device with PCIe/USB interfaces.
Parameters
dgopwc command [options]
Common options
-b bus, --bus=bus Device bus address: part of BDF for PCIe device, USB Controller / Hub Path for USB device.
-d dev, --dev=dev Device address on a bus: part of BDF for a PCIe device, or the USB connection device address.
-p port, --port=port Device port on a USB bus: N/A for PCIe device, the USB controller or hub port address.
-n number, --ndev=number [=0 by default] If previous parameters matched multiple devices (for example, only the bus was specified) or nothing was specified, then number selects the device in the OS-specific order.
-S, --sua [user by default] Super user access.
Sample run
qflup - QSPI flash updater
Description
qflup is a utility for erasing, reading, checking, updating firmware image on QSPI flash on ORCA device with PCIe/USB interfaces.
Parameters
qflup command [options]
Available commands:
Common options
-b bus, --bus=bus Device bus address: part of BDF for PCIe device, USB Controller / Hub Path for USB device.
-d dev, --dev=dev Device address on a bus: part of BDF for a PCIe device, or the USB connection device address.
-p port, --port=port Device port on a USB bus: N/A for PCIe device, the USB controller or hub port address.
-n number, --ndev=number [=0 by default] If previous parameters matched multiple devices (for example, only the bus was specified) or nothing was specified, then number selects the device in the OS-specific order.
-y, --yesall Confirm 'yes' for questions about any change data operations.
Update command parameter and options:
qflup update fw_image_path [ [-s|--size=size] | [-m|--md5=1] | [-N|--noverif=1] ]
fw_image_path Path to file with new firmware image.
-s size, --size=size [=0 by default] Firmware image size to update. If not specified or set to zero, the size of the firmware image file is used.
-m, --size [no by default] Calculate the MD5 checksum for the written block of firmware and print it. If not specified, the tool prints nothing.
-N, --noverif [verify by default] Skip firmware writing verification. If not specified, the tool verifies the written data.
Sample run updating firmware image in the device with bus number 3:
Read command options:
qflup read [ [output_file_path] | [-a|--address=address] | [-s|--size=size] ]
-a address, --size=address [=0 by default] Start address in the flash to read.
-s size, --size=size [=1MB by default] Size of the area to read. If not specified, it defaults to 1MB. If the size is 0, it uses the full flash size. The data is written to the file specified by output_file_path or printed to the console.
Sample run (reading a part of the flash from device with bus address 3)
Check command options:
qflup check [ [-a|--address=address] | [-s|--size=size] ]
-a address, --size=address [=0 by default] Start address in the flash to read.
-s size, --size=size [=0 by default] Size of checking area. If size is not specified it is set to board defined flash size. If firmware image is found on the flash and the image is valid for this tool the tool will print out the version of found firmware.
Sample run of checking firmware in the flash from device with bus address 4:
Was this helpful?

