Embedded Linux Kernel configuration

Source: Internet
Author: User

How to Use ncurses to design a terminal menu interface ??

1. Download ncurses.tar.gz to the/opt/directory and decompress

2. Go to the ncurses directory and run the configure command (compiled as an ARM platform)

./Configure-host = arm-linux-disable-big-core-prefix =/usr/local

(If compiled on the X86 Platform)

./Configure-host = i386-linux-prefix =/usr

3. Make

4. Make install

In this case, the tic command tool is created under the/usr/bin directory on the menu interface. The corresponding terminal information is displayed in the/usr/share/terminfo directory.

 

 

Linux Kernel customization and cropping

 

Complete the terminal interface settings in the previous section and then create the Linux kernel.

 

1. decompress the downloaded Linux kernel to the/usr/src directory.

2, switch to/usr/src/linux-2.6-source directory

3. Save and exit after making menuconfig configures the corresponding options

<*> Compile this function module to the kernel

<> Disable this function ....

<M> compile the function into a module, which can be dynamically inserted to the kernel module as needed.

4. make clean (used to delete generated modules and target files)

5. Make dep (provide the relationship information of variable dependency)

6. Make bzImage (compile the kernel to generate a compressed image)

At this point, the path of the compressed image file after compilation is saved as arch/arm/boot/bzImage.

 

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.