-docs.txtA list of external documents about kernel development. If not found in the kernel internal document? For more information, see the list.Do ***** entation/applying-patches.txtThis section describes what patches are and how to apply patches to different kernel development
(Kthreadd, NULL, CLONE_FS | Clone_files);
Click (here) to collapse or open
Creates a Kthreadd kernel thread that manages and dispatches other kernel threads.
It loops through a function called Kthreadd, which is the function of running the kernel thread maintained in the Kthread_create_list global list.
Call Kthread_create to create a k
in the dictionary there are two main definitions, one is "soft, a nut edible part", for Linux kernel, of course, the second definition: "The core part of something." So broadly speaking, Linux kernel is the most central part of the Linux operating system, and in the narrow
calls this middle layer to prevent users from operating hardware devices abnormally. c. The user processes run in virtual spaces as separate entities, this is also the reason for providing such an interface between the system and the user process. It is the same as installing multiple virtual machines on a hardware. the posix api, POSIX, and C library POSIX are a set of General API Interface Standard C libraries that implement the call process of most API user States stipulated by POSIX: applic
transmits fd to the upper layer. The upper layer uses a select or epoll to listen to this descriptor. The underlying layer writes the message to this file every time there is a message, then use a flag to notify the upper layer ,?After the upper layer detects the file, it reads the file according to the mutually defined structure. In this way, a communication can be completed.
Netlink and 8 are asynchronous notifications. Generally, they are suitable for sending data from the underlying layer t
systems allow most or all of the functionsProcessAll of them run in the kernel, so that you can directly call the function to eliminate frequent context switches. The following are typical examples of the micro-kernel. Linux is a single kernel, but it draws on the essence of the micro
the future development trend. However, because a single mode (in most cases) runs well in Linux, and kernel porting is relatively difficult, it does not obviously impede the work of the programmers, they have enthusiastically transplanted the kernel to most of the existing real systems, not to mention some seemingly u
Http://www.ibm.com/developerworks/cn/linux/l-kdb/index.htmlThis article will first introduce some kernel code monitoring and error tracing techniques on the Linux kernel, which vary depending on the required usage environment and usage methods, and then focus on the source-level debugging methods of the three
option is interactive;2.make menuconfig: Configuration window based on curses text mode;3.make gconfig: A window Configuration interface based on the GTK development environment; Generally, as long as the "desktop Platform development" package group is installed;4.make xconfig: A window Configuration interface based on the Qt development environment; Generally,
Compiling the Linux kernel is the basic function of kernel development, and if we add kernel functionality by directly modifying the Linux kernel code, the modified
Introduction to the Linux kernel module the overall structure of the Linux kernel is already very large, and it contains many components. How can we include all the required parts in the kernel?One way is to compile all required functions into the
Deep understanding of the Linux Kernel (Third edition pdf)In-depth analysis of the Linux kernel source code tutorial PDF full VersionLinux from beginner to proficient tutorial PDF full
feel it.Android, however, is still stable in the beta version of the Linux kernel for years.Why did the android team choose linux? Maybe because the development board they bought at the time only supports linux....... The following is a joke:1.
mkinitrd depends on the package device-mapper, device-mapper depends on lvm2. Therefore, you need to download lvm2, device-mapper, and mkinitrd.:Http://down1.chinaunix.net/distfiles/LVM2.2.02.51.tgzHttp://down1.chinaunix.net/distfiles/device-mapper.1.02.28.tgzHttp://down1.chinaunix.net/distfiles/mkinitrd-4.2.0.3.tar.bz2Their installation is similar to installing module-init-tools.
2. kernel-related operationsDownload KernelClick the Version Download
One, why to learn the kernel?
Some people have to learn the kernel, while others can not learn it. If you want to engage in system development or drive development in the future, you should learn the kernel.
Just contact the kernel
1. Why should we learn the kernel?
Some people want to learn the kernel, while others do not. If you want to engage in system development or driver development in the future, you must learn the kernel.
I just got started with the kernel
is the-stable kernel. They contain some security for a given 2.6.x kernel
Problems as well as the restoration of important degradation found.
For those who want the most recent stable kernel and are not interested in the experimental version of the test development
For users, we recommend this branch.
If there is no 2
designed, such as STREAMS, and ignores outdated standards that are not actually used at all.
· Linux represents the essence of freedom. The existing Linux feature set is the result of the free development of the Linux public development model. If a feature has no value or h
try to read a kconfig file.
OK, now that we have an understanding of these keywords, let's take a look at the formation of this menu list. After running make menuconfig, the system's configuration tool first analyzes the/arch/arch/kconfig corresponding to the architectureThe file (the Arch argument that appears here is at the end of this article). It actually refers to the
second, another important role------introduction of Kbuild Makefile
The Kconfig file helps the user complete the confi
Specific questions
Reference Solutions
Solution Ideas
Deep solution
1. Specific questions:After porting the kernel of 3.6.6, download the startup card to die, specifically the serial printing information stuck in "uncompressing Linux ... done, booting the kernel."2. Reference Solution:According to the online statement to ensure that the following
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.