▷ Log in to the RevPi via a terminal.

▷ Enter one of the following commands to query device information:

Command Description

revpi-device-info

Returns the device information (only for devices with HAT EEPROM).

cat /etc/revpi/image-release

Returns the name of the most recently installed image version (.img).

cat /etc/os-release

Returns the name and version of the Debian operating system used.

getconf LONG_BIT

Returns the number of bits in the architecture used on the system (32-bit or 64-bit).

uname -a

Returns detailed information about the operating system.

cat /etc/machine-info

Returns machine-specific metadata.

lsblk

Lists all block storage devices and their partitions in a tree structure. Find eMMC memory as mmcblk0.

cat /proc/device-tree/hat/custom_1

Returns the device’s serial number.

See also: