Home > System Tutorial > LINUX > The most traditional text-based Linux configuration interface, makemenuconfig

The most traditional text-based Linux configuration interface, makemenuconfig

王林
Release: 2024-02-04 08:35:02
forward
1224 people have browsed it

1. Install the virtual machine and Ubuntu system provided by the CD Detailed explanation of Linux device driver development (2nd edition)Download redhat linux, the Linux kernel is in the /home/baohua/develop/linux directory.

When compiling the kernelLinux device driver development detailed explanation (2nd edition), you need to configure the kernel, you can use one of the following commands:

#makeconfig (the most traditional text-based configuration interface, not recommended)

linux设备驱动程序开发_linux驱动开发工具_linux设备驱动开发详解(第2版)

#makemenuconfig (configuration interface based on text menu)

#makexconfig (requires QT to be installed)

linux驱动开发工具_linux设备驱动程序开发_linux设备驱动开发详解(第2版)

#makegconfig (requires GTK to be installed)

Run makeARCH=armmenuconfig in the /home/baohua/develop/linux directory to configure the kernel.

The way to compile the kernel and modules is:

makeARCH=armzImage

makeARCH=armmodules

linux驱动开发工具_linux设备驱动开发详解(第2版)_linux设备驱动程序开发

In the above command, if ARCH=arm has been imported as an environment variable, there is no need to write this option after the make command. After executing the above command, you will get the uncompressed kernel image vmlinux and kernel symbol table file System.map in the root directory of the source code, and you will get the compressed kernel image zImage in the arch/arm/boot/ directory. Get the selected kernel module in the corresponding directory.

tips:

1. The most well-known bootloader in the field of embedded Linux is U-Boot, and its code library is located in

The above is the detailed content of The most traditional text-based Linux configuration interface, makemenuconfig. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:itcool.net
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template