Mkimage” command not found – U-Boot images will not be bui

  
 

If you use make uImage to generate a kernel file booted by uboot, you need to use uboot/tools/mkimage. You can add a statement at the end of the /etc/bashrc file: export PATH:=$PATH:/usr/src/Arm/u-boot-1.1.5/tools can directly reference the mkimage command.

The premise is that there is a mkimage tool in the uboot/tools directory, which needs to be compiled to generate:

Modify the Makefile to find ifif($(ARCH),arm)CROSS_COMPILE=Change to ifaq($(ARCH) ),arm)CROSS_COMPILE = arm-softfloat-linux-gnu-

(CROSS_COMPILE = #arm-none-linux-gnueabi- can also be tested) make distcleanmake at91sam9260ek_configmake

The generated tool is Uboot's tools, the mkimage test to /usr/bin on the line:

#cp mkimage /usr/bin/mkimage


If you are using Ubuntu 9.10 You can use the following command to install mkimage:

#apt-get install uboot-mkimage

Simply put the mkimage tool in the uboot/tools directory under /usr/bin Just fine:

Copyright © Windows knowledge All Rights Reserved