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
solve
The general idea is that what it lacks, we can find the corresponding dependency and package it.
But it mkimage
has been deprecated, but can be u-boot-tools
found in, so:
sudo apt-get install u-boot-tools
It can be solved! ! !