Scroll to navigation

REFORM-FLASH-UBOOT(1) User Commands REFORM-FLASH-UBOOT(1)

NAME

reform-flash-uboot - download and flash u-boot

DESCRIPTION

Usage:

reform-flash-uboot [--offline] [--force] [DEVICE...]

Download and flash u-boot for the current platform to DEVICE. Unless the --offline option is given, download latest u-boot to /boot/flash.bin. If one or more DEVICE is given, flash /boot/flash.bin with the correct offset to DEVICE. The short-hands 'sd' and 'emmc' can be used to flash u-boot to the SD-card or eMMC, respectively.

OPTIONS

One or more block device(s) to flash or short-hands 'sd' or 'emmc'
Display this help and exit.

-i IMAGE, --image=IMAGE

Custom image (default: /boot/flash.bin). Implies --offline and disables checksum verification.
Do not download latest u-boot to /boot/flash.bin.
No user interaction and flash to devices marked as 'warn'
Fill the space where u-boot would've been flashed to with zeroes

--machine=MACHINE

Force a different machine than the one this script is running on using the values from /proc/device-tree/model or the basenames of config files in /usr/share/reform-tools/machines/. This will change flashing offsets. Implies --offline. Requires a custom u-boot binary via --image. Device short-hands are disabled. Flashing to emmc is disabled.
December 2025 reform-flash-uboot 1.82