How to install mkimage: method 1, sudo apt-get install uboot-mkimage or sudo apt-get install u-boot-tools:i386 method 2, step 1: compile u-boot step 2: cp ../../../../open_source/u-boot/u-boot-2020.01/tools/mkimage /usr/bin/