Skip to content

Instantly share code, notes, and snippets.

View Fiwi1265's full-sized avatar
🖥️
:3

Fiwi1265 Fiwi1265

🖥️
:3
View GitHub Profile
@Fiwi1265
Fiwi1265 / u-boot-fit
Created September 10, 2025 17:24
u-boot-rpi4-scripts
#!/bin/bash
set -euo pipefail
if [ "$(id -u)" -ne 0 ]; then
echo "Error: This script must be run as root." >&2
exit 1
fi
generate_fit() {
local version="$1"