Skip to content

Instantly share code, notes, and snippets.

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

Aitzia Aitzia

🖥️
:3
View GitHub Profile
@Aitzia
Aitzia / 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"