About mkimage during kernel image creation in Ubuntu

Source: Internet
Author: User
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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.