Making an embedded Linux kernel

Source: Internet
Author: User

Get an embedded Linux kernel code, first make Distclean

Next, if on the x86 platform, make menuconfig directly, if it is on the arm platform, make Menuconfig directly arch=arm

For my mini2440, the friendly arm of the data directory under the Linux directory

After the folder is unzipped under the Linux system

Through the ls-a command to see these files, this is provided by the friendly arm, according to your screen model select the profile you need, my screen model is TD35, so through the CP config_mini2440_td35./.config This command will Config_ MINI2440_TD35 copy and modify the. config file.

Then execute make menuconfig arch=arm

Then compile the kernel

x86 platform is make bzimage, but on arm platform is make uimage arch=arm cross_compile=arm-linux-

will appear to make Uimage unsuccessful, it is because of a mkimage program, the program in the U-boot Tools folder, copy it to the root directory under the USR folder under the Bin folder, and then execute the previous statement.

Then you can download the generated uimage to the Development Board via TFTP.

My kernel boot success picture is like this

Making an embedded Linux kernel

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.