Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

raspberrypi/utils

Open more actions menu

Repository files navigation

utils

A collection of scripts and simple applications

  • dtapply - A script that reads a Raspberry Pi config.txt and uses dtmerge to apply all its dtparam and dtoverlay directives to a base .dtb file.
  • dtmerge - A tool for applying compiled DT overlays (*.dtbo) to base Device Tree files (*.dtb). Also includes the dtoverlay and dtparam utilities.
  • eeptools - Tools for creating and managing EEPROMs for HAT+ and HAT board.
  • kdtc - A tool for compiling overlays with #includes, etc., as used in the kernel tree.
  • otamaker - A tool for building Remote Update artefacts, as used by Raspberry Pi Connect Remote Update.
  • otpset - A short script to help with reading and setting the customer OTP bits.
  • overlaycheck - A tool for validating the overlay files and README in a kernel source tree.
  • ovmerge - A tool for merging DT overlay source files (*-overlay.dts), flattening and sorting .dts files for easy comparison, displaying the include tree, etc.
  • pinctrl - A more powerful replacement for raspi-gpio, a tool for displaying and modifying the GPIO and pin muxing state of a system, bypassing the kernel.
  • piolib - A library for accessing the Pi 5's PIO hardware.
  • raspinfo - A short script to dump information about the Pi. Intended for the submission of bug reports.
  • rpieepromab - A tool to update and manage the AB EEPROM partitions on a device in the Pi 5 family.
  • rpifwcrypto - A command line application and shared library for the firmware cryptography service. Intended for use with Raspberry Pi Connect and secure-boot provisioner.
  • rpi-gpu-usage - A tool for showing the per-process usage of the V3D GPU on Raspberry Pi 4 and 5.
  • vcgencmd - A tool to send commands to the VideoCore firmware and display the results.
  • vclog - A tool to get VideoCore 'assert' or 'msg' logs with optional -f to wait for new logs to arrive.
  • vcmailbox - A low-level tool giving access the VideoCore mailbox interface.

Build Instructions

Install the prerequisites with "sudo apt install cmake device-tree-compiler libncurses-dev libfdt-dev libgnutls28-dev" - you need at least version 3.10 of cmake. Run the following commands to build and install everything, or see the README files in the subdirectories to just build utilities individually:

  • cmake . N.B. Use cmake -DBUILD_SHARED_LIBS=1 . to build the libraries in the subprojects (libdtovl, gpiolib and piolib) as shared (as opposed to static) libraries. Add -DCMAKE_INSTALL_PREFIX=/usr to override the default install path of /usr/local.
  • make
  • sudo make install

About

A collection of scripts and simple applications

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.