Today, I wrote a key-driven program in Ubuntu. After downloading it to the Development Board, I found that the corresponding interrupt number cannot be applied. Check and find that the Development Board has a key driver and is directly in the kernel. It cannot be uninstalled. So I want to create a new kernel image without a key driver. After makemenuconfig, when I use makeuImage to generate a new kernel image uImage, the message "mkimage" commandnotfound-U-Bootima
Today, I wrote a key-driven program in Ubuntu. After downloading it to the Development Board, I found that the corresponding interrupt number cannot be applied. Check and find that the Development Board has a key driver and is directly in the kernel. It cannot be uninstalled. So I want to create a new kernel image without a key driver.
After make menuconfig, when I use make uImage to generate a new kernel image, the following message is displayed:
"Mkimage" command not found-U-Boot images will not be built
But I have copied the mkimage file to the/usr/bin folder. Why? After searching for a long time on the Internet, some www.linuxidc.com said it was a version problem, and some said it was okay to copy the mkimage to the Cross-compilation installation directory, but it did not solve the problem at last! Finally, I called Yang Chuang technology (the development board I bought) and immediately solved the problem. The original problem is as follows:
I only copy mkimage to/usr/bin, but in fact, mkimage only has the "r" permission ",
[Root @ localhost bin] # ls-l | grep mkimage
-Rw-r --. 1 root 13196 04-28 :01 mkimage
No execution permission. Therefore, you must have the execution permission!
[Root @ localhost bin] # chmod 755 mkimage
[Root @ localhost bin] # ls-l | grep mkimage
-Rwxr-xr-x. 1 root 13196 04-28 :01 mkimage
After modification, the uImage image file is generated!
Pay attention to copying things later! View the permissions of the Copied object.