U-Boot/Tools
< U-Boot
Jump to navigation
Jump to search
Installing the U-Boot tools
On openSUSE
zypper install u-boot-tools
Installing on Arch Linux
pacman -S uboot-tools
Installing on Gentoo Linux
emerge u-boot-tools
Installing on Fedora Linux
dnf install uboot-tools
Tool documentation
dumpimage
fw_printenv
fw_setenv
img2srec
jtagconsole
mkenvimage
The mkenvimage tool takes a key=value input file (same as would a `printenv' show) and generates the corresponding environment image, ready to be flashed. See this article for more details: https://bootlin.com/blog/mkenvimage-uboot-binary-env-generator/
mkimage
The mkimage command is used to create images for use with the U-Boot boot loader. Thes eimages can contain the linux kernel, device tree blob, root file system image, firmware images etc., either separate or combined.
The U-Boot article describes how to create a boot.scr from a boot.cmd file. The Initial Ramdisk article is used to convert an initramfs into a uInitrd.