Skip to content

A collection of scripts and simple applications

License

Notifications You must be signed in to change notification settings

raspberrypi/utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

0401e0a · May 15, 2025
May 15, 2025
Mar 14, 2025
Mar 16, 2025
Oct 23, 2023
Apr 15, 2025
May 14, 2025
May 14, 2025
May 14, 2025
Apr 15, 2024
Sep 3, 2024
May 23, 2024
Sep 3, 2024
Feb 21, 2018
Nov 15, 2024
Feb 21, 2023
May 14, 2025

Repository files navigation

utils

A collection of scripts and simple applications

  • 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.
  • 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.
  • vclog - A tool to get VideoCore 'assert' or 'msg' logs with optional -f to wait for new logs to arrive.

Build Instructions

Install the prerequisites with "sudo apt install cmake device-tree-compiler libfdt-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.
  • make
  • sudo make install

About

A collection of scripts and simple applications

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published