|
摘 要
本文介绍了Linux内核的编译与注释。由于Linux操作系统近年来的飞速发展,而内核又是一个操作系统的基本问题,因此对内核的编译部分进行了介绍,并对编译过程中的配置选项做了详细的注释,力求将常用的、实用的功能注释清楚。
对于一个操作系统,是现今计算机课题的一个大的研究方向,在Windows视窗操作系统普遍使用的今天,有必要了解其他类型的操作系统,而Linux就是其中优秀的一种。Linux操作系统采用开放内核源代码的方式,得到了全世界程序爱好者的拥护与支持。学习Linux,可以对计算机有一个较为整体的认识,对于硬件与软件如何配合工作等,一些操作系统的基本知识有一定的认识。
本文先对Linux操作系统及其内核、起源与发展等做一些背景知识介绍;而后对内核编译所需要的准备条件、编译的步骤与操作等做一定的说明;然后对内核的配置选项中,一些比较常用的、实用的功能进行了注释;而对于一些个人计算机中比较不需要的、少用的功能,则只做了概括性地说明。
内核配置,可以为你的计算机量身定做一个操作系统,让你的计算机可以更高效、更稳定地运行。
关键词:Linux、内核、内核编译、配置注释
Abstract
In this paper, we introduce how to translate and edit the Linux kernel and annotation of the kernel configuration. As the Linux operation system has developed so quickly in recent years, and the kernel is the most important part of it, we make a simple introduction to how to translate and edit the kernel as well as a detailed annotation of the kernel configuration which are used commonly and helpfully.
The operation system is one of the most important research branch of the computer science, when the Windows operation system is so rifely used, it is necessary to know other kinds of the outstanding operation system, and Linux is just one of them. As the Linux open its kernel source to the whole world, it is supported and sustained by the programming fans all over the world. To learn Linux, it is helpful to have a holistic understanding of the computer, including how the hardware and software are working together.
In this paper, we first introduce some background knowledge of the Linux operation system, the appearance and the development of it; then we explain what condition should be prepare before translate and edit the kernel, the process and operation of it; and then make annotation to the configuration options which are commonly and helpfully used, those seldom used options are just given a synoptically narration.
Configuring the kernel can make a specific operation system for your own computer, and make your computer run more effectively and stably.
Keyword: Linux, kernel, translate and edit the kernel, configuration annotation
目录
摘 要 I
Abstract II
第一章 Linux简介 1
1.1 Linux简介与特性、 1
1.2 Linux的起源与发展 3
1.3 Linux的发行版本 4
本章小结: 5
第二章 Linux内核与内核编译 6
2.1 内核简介 6
2.2 内核版本号 6
2.3 为什么要重新编译内核 7
2.4 内核编译模式 7
2.5 内核编译前的准备工作 7
2.6 内核编译的步骤 8
本章小结: 12
第三章 内核配置注释 13
3.1 Code maturity level options(代码成熟度选项) 13
3.2 Loadable module support (可加载模块选项) 13
3.3 Processor type and features(处理器类型与特性) 14
3.4 General setup(常用设置) 15
3.5 Memory Technology Device(MTD)(存储技术设备支持) 18
3.6 Parallel port support(并口支持) 18
3.7 Plug and Play configuration(即插即用配置) 18
3.8 Block devices(块设备) 18
3.9 Multi-devices support(多设备支持) 19
3.10 Networking options(网络选项) 21
3.11 Telephony support(电话通信支持) 24
3.12 ATA/IDE/MFM/RLL support(硬盘、光驱接口支持) 24
3.13 SCSI support(小型计算机系统接口支持) 26
3.14 Fusion MPT device support 27
3.15 I20 device support(智能输入输出设备支持) 27
3.16 Network devices support(网络设备支持) 28
3.17 Amateur radio support(业余无线电支持) 30
3.18 IrDA (infrared) support(配置红外线(无线)通讯支持) 30
3.19 ISDN subsystem(综合服务数字网) 30
3.20 Old CD-ROM drivers(not SCSI not IDE)(旧式光驱支持) 30
3.21 Input core support (输入核心支持) 30
3.22 Character devices(字符设备支持) 31
3.23 Multimedia devices(多媒体设备) 33
3.24 Files System support(文件系统支持) 33
3.25 Console drivers(控制台设备) 37
3.26 Sound(声音配置) 37
3.27 USB support(通用串行总线架构支持) 37
3.28 Kernel hacking(内核破解) 39
本章小结: 39
结束语 40
参考文献 41
致谢 42 |
|