“mkimage“ command not found - U-Boot images will not be builtmake[2]: *** [arch/arm/boot/uImage] Err

problem

Today, when compiling the Linux 4.9.7 kernel in HarmonyOS, an error was reported:

"mkimage" command not found - U-Boot images will not be built
make[2]: *** [arch/arm/boot/uImage] Error 1
make[1]: *** [uImage] Error 2

Insert picture description here

solve

The general idea is that what it lacks, we can find the corresponding dependency and package it.
But it mkimagehas been deprecated, but can be u-boot-toolsfound in, so:

sudo apt-get install u-boot-tools

It can be solved! ! !

Guess you like

Origin blog.csdn.net/qq_30722795/article/details/109277786