3.4. Embedded Linux kernel production

Source: Internet
Author: User

3.4. Embedded Linux kernel production

?

?

?

We've made the Uboot, and the next step is to make kernel.

First enter the kernel source code, execute make Distclean. Clears the files generated by the previous compilation.

Note that there is a arch=arm condition when configuring the kernel.

Enter the arm's configuration menu after the carriage return:

Just like we configured the Linux kernel in front of us, we will also look for a configured configuration file:

Copy the config-file to our kernel code directory:

Then copy the config-file into. config.

Re-enter the configuration interface and discover that the configuration is in effect.

The next step is to compile the kernel:

?

?

?

This error occurs during the compilation process:

This is because, our executable file, has a file header, is mkimage to help us add to. The system cannot find it now. He is under the Uboot tools file:

We'll copy the tool to the/bin directory. Cp Mkimage/bin Recompile:

Make Uimage arch=arm cross_compile=arm-linux-

As shown above, the compilation is complete and the uimage is born. Next, burn him down to the Development Board to start.

?

?

Then burn him down to the Development Board and run:

?

?

?

?

?

?

?

?

?

?

?

?

3.4. Embedded Linux kernel production

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.