mirror of
https://github.com/Dasharo/dcu.git
synced 2026-03-06 14:58:51 -08:00
v0.1.0
Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>
DCU - Dasharo Configuration Utility
Introduction
The Dasharo Configuration Utility is a tool designed to configure Dasharo firmware binary images. It includes task such as customizing the boot logo, and setting unique UUIDs or Serial Numbers in SMBIOS tables. This README provides only the most basic information. For details please refer to documentation.
Prerequisites
Following packages must be installed:
imagemagick(forconvertcommand)util-linux(foruuidparsecommand)- coreboot's cbfstool
Usage
Usage: dcu OPTIONS coreboot.rom
coreboot.rom - Dasharo coreboot file to modify
OPTIONS:
-u | --uuid <UUID> - UUID in RFC4122 format to be set in SMBIOS type 1 structure
-s | --serial-number <SERIAL> - Serial number to be set in SMBIOS type 1 and type 2 structure
-l | --logo <LOGO> - Custom logo in BMP/PNG/JPG/SVG format to be displayed on boot
Examples:
./dcu -u 96bcfa1a-42b4-6717-a44c-d8bbc18cbea4 -s D07229051 -l ~/logo.svg coreboot.rom
./dcu -u `dmidecode -s system-uuid` -s `dmidecode -s baseboard-serial-number` coreboot.rom
Above command will obtain the current SMBIOS UUID and Serial Number
from the system and patch the coreboot binary.
Description
Languages
Shell
100%