Congatec System Utility - CGUTIL
congatec System Utility - cgutil
by Arthur Besler
Introduction
The congatec System Utility is a unified tool for all congatec COM (Computer-on-Module) and SBC (Single Board Computer) products.
It includes six main modules:
- BIOS Update Module Allows updating the system BIOS on a congatec board.
- Firmware Update Module Enables firmware updates for the congatec board controller.
- Panel Configuration Module Simplifies configuration of local flat panel displays.
- BIOS Module Modification Module Offers functions to customize a standard congatec system BIOS by adding OEM defined BIOS modules, such as:
- Boot logos
- BIOS setup defaults and settings
- OEM code or data modules
- BIOS/Board Information Module Provides access to congatec-specific BIOS and hardware information.
- BIOS Setup Configuration Module Allows modification of the BIOS setup menu.
Operating Modes
The utility supports two modes:
- Board Mode Run the utility directly on a congatec system. It uses the CGOS API and drivers to access hardware directly. BIOS modifications are written straight to the onboard BIOS Flash memory.
- BIOS File Mode Perform changes on a BIOS file, which can later be flashed to the target board. This mode can run on a standard host PC but is limited to BIOS module modifications and some panel configuration functions that alter the BIOS.
Important Notice
Modifying the BIOS can lead to corruption. To prevent permanent damage:
- Always test modifications using a congatec evaluation baseboard.
- Make sure to back up the original BIOS to the external Flash memory on the baseboard.
- If the onboard BIOS becomes corrupted, you can recover the system by booting from the external Flash and restoring the original BIOS.
For a copy of the original BIOS file to store on your baseboard, please contact congatec support.
Installation
The congatec System Utility package is available on the congatec website at www.congatec.com. The package includes the following utility
versions in a single ZIP file:
- Windows command line and GUI
- Linux command line
- UEFI Shell
Note
The Windows and Linux versions require the CGOS driver set, which can be found in the driver section of each product on the congatec website.
Windows command line and GUI
The folder CGUTIL\WIN32 of the utility package contains the Windows command line (CGUTLCMD.EXE) and GUI version (CGUTLGUI.EXE)
of the congatec System Utility. The executables may be placed in any directory. However, both versions need additional files from the CGOS
driver package.
In order to use the utility in ‘BIOS File’ mode (modification of congatec BIOS file only) on a host or target system, extract the Windows version
of the file CGOS.DLL from the CGOS driver package. Copy this file into the same directory as the utility executable or into the WINDOWS\
SYSTEM32 folder. Installation is not required.
In order to use the utility in ‘Board’ mode (direct target system modification) on a congatec board, install the complete CGOS driver package
on the system. Ensure that you have ‘Administrative Rights’ on the system and follow the installation instructions in the CGOS driver package.
Linux command line
In order to build the Linux command line version of the congatec System Utility (cgutlcmd), run ‘make’ in the folder cgutillx/cgutlcmd. Installation
is not required. It may be placed in any directory. However, additional files from the CGOS driver package for Linux are required.
In order to use the utility in ‘BIOS File’ mode (modification of congatec BIOS file only) on a host or target system, extract the Linux version of
the CGOS interface library (libcgos.so) from the CGOS driver package. Copy this file into the same directory as the utility executable or into
the standard system library directory. Installation is not required.
In order to use the utility in ‘Board’ mode (direct target system modification) on a congatec board, install the CGOS interface library and
kernel driver on the system. For detailed information about CGOS driver setup on a Linux system, refer to the documentation included in the
respective CGOS driver package.
UEFI Shell
The UEFI Shell version of the congatec System Utility is located in the folder cgutil/uefi/X64 of the package. In order to use cgutlcmd from the
UEFI Shell, copy the file cgutlcmd.efi to an UEFI Shell accessible medium. Installation and additional files are not required.
Note
All of these packages contain readme.txt and/or version.txt files. These files contain detailed information about installation and use.
System Utility Usage Overview
The congatec System Utility offers multiple function modules, accessible via command line or Windows GUI. Since the Linux, Windows, and UEFI Shell command line versions share the same syntax, they are collectively referred to as the command line version.
Each module description may include a brief reference to related BIOS features; detailed BIOS documentation is provided separately by congatec.
The utility supports two main modes:
- Board mode (requires a target system; enables all functions)
- BIOS File mode (functions limited to file operations)
Additionally, the GUI version supports EPI File Only mode, which is restricted to creating and modifying EPI panel data set files without requiring a board or BIOS file.
In the Windows GUI (CGUTLGUI), the main window allows target selection and access to modules. Functions unavailable in the chosen mode are disabled. When using BIOS File mode, an input BIOS file must be selected. An output file is then specified for modifications. If the original BIOS file is reused as output, changes are saved directly to it. To preserve the original, define a separate output file. For read-only use, skip the output file selection.
The following functions are explained:
- congatec System Utility Main Module
- BIOS Update Module
- Firmware Update Module
- Panel Configuration Module
- Windows GUI Version
- BIOS Modification Module
- BIOS Module Types
- Board and BIOS Information Module
- BIOS Setup Configuration Module
1. congatec System Utility Main Module
1.1. Windows GUI Version
Execute CGUTLGUI.exe. The following window will appear:
After selecting the input BIOS file, the following dialog appears: