Chapter One introduction to the Linux kernelFirst, the History of Unix1. The Unix system is the root cause of a strong, robust and stable operating system:(1) Simple(2) in Unix, many things are treated as files. This abstraction enables both the data and the operation of the device to be done through a set of identical system invocation excuses: open (), read (), write (), Lseek (), and Close ().(3) Unix kernel and related system Tools software is wri
Unlike user-space applications, the kernel cannot invoke standard C libraries or any other libraries that are not part of the kernel. The main reason is the speed and size limits.The standard C library is too big for the kernel.Many of the commonly used LIBC functions have been implemented in the kernel. The library files in the
How to remove the old kernel after Linux kernel upgradeFirst we need to look at which kernel is currently in use:
Uname-r This command will tell you the kernel version currently in use
Next, if you are compiling the kernel yourself, please delete the following files and
one, the Linux kernel, user space memory partition:
The following figure: Kernel space partition 0~3g for user space, 3~4g for kernel space. Please refer to "Linux User space and kernel space" in detail
Note: The scope of the kernel address space is 0xc0000000 ~ 0xFFFFFFF
Tags: include dev unsigned linu for static files is ace SubLinux kernel programming has always been a skill I'd like to master. If you ask me why, I can not say.Maybe one day my id also appears in the message list of the kernel development group? or the kernel release file on the credits file?Maybe it is. In fact more, may be for the bottom of the worship, as wel
Introduction to Linux Kernel
Now let's look at the architecture of the Gnu/linux operating system from a relatively high altitude. You can consider the operating system from two levels, as shown in Figure 2.
Figure 2. Basic architecture of Gnu/linux operating system
The top is the user (or application) space. This is where the user application executes. Under User space is the kernel space, where the L
Because I do not have a real machine environment, so I need to simulate in the simulator, so I want to download the source code version of the support simulator, and the goldfish version is specifically provided for the simulator environment.
The Goldfish project contains the kernel sources for the emulated platforms.
One, first, to
git clone https://android.googlesource.com/kernel/goldfish.git downloads
Press the power supply, click it, start the computer, and then the BIOS screen will pop up. after a while, the GRUB interface will pop up, and a line after line of characters will pop up on the black screen, from time to time there are OK words
Press the power supply, click it, start the computer, and then the BIOS screen will pop up. after a while, the GRUB interface will pop up, and a line after line of characters will pop up on the black screen, from time to time there are OK words. oh, don't
Linux Kernel module notes, Linux kernel module
Topic: 1. basic embedded knowledge 2. linux Kernel Introduction 3. kernel compilation and installation (x86) 4. first Module 5. module related tools 6. module symbol export 7. module parameter job: 1. check linux/module. h. The location of the header file that is exposed t
This HTML page address: http://oss.org.cn/kernel-book/In- depth analysisLinuxKernel sourceObjectiveChapter I. into Linux1.1 GNU and Linux growth1.2 Linux development model and operation mechanism1.3 into Linux Kernel 1.3.1 Features of the Linux kernel1.3.2 changes to the Linux kernel version1.4 Analyzing Linux the meaning of the
What does the Linux system consist of?Consists of user space (application +gnu C standard library) and kernel space (System call interface + kernel + Kernel architecture code).What exactly is the Linux kernel? and composition.Seven types of operating levels for arm?What is the role of the
Recommended blog posts:Linux Kernel "problem Gate"-learning issues and experience highlights
Recommended download:Methodology of essence edition of "Cultivation of Linux kernel"
Just now, I was glad to hear that during the trial run of the Sb, the residents of Shanghai visited the site were in a very stable mood and showed their style with great comfort. So here we need to reflect on why
I. Kernel configuration and compilation of the Development Board
1. decompress the kernel package and copy the smdk6410_config Kernel configuration file to. config (default configuration file) to the kernel source code tree. Generally, the platform configuration file is stored in the arch/ARM/configs/directory of the
Kernel Configuration and compilationFirst, kernel cleanupThe first thing we need to do when we get to the kernel is to clean up the kernel and prevent others from configuring the generated intermediate files to affect us:1. config generated by the configuration process.2. Compile the intermediate file (. o) to generate
The previous chapter describes how to compile the Linux kernel. After an image is obtained, it can be burned to the Development Board for running. However, this will also cause some problems: for example, if you want to add or modify some Linux kernel configurations and components, you must re-compile the Linux kernel and then install it on the Development Board.
"copyright notice: respect for the original, reproduced please retain the source: Blog.csdn.net/shallnet, the article is only for learning exchange, do not use for commercial use " The previous section says that the mechanism of putting the work forward to a time other than the present is the second half, but when you need to postpone the work to a certain period of time, using a timer is a good choice. The last section of kernel time management men
He Bong + Original works reproduced please specify the source + "Linux kernel analysis" MOOC course http://mooc.study.163.com/course/USTC-1000029000I. Experimental process1, open the shell, enter the start command, the kernel starts to enter the menu program, support three commands help, version and quit.2. Then use GDB to trace the debug kernel, enter the comman
Kernel synchronizationSynchronous introductionThe concept of synchronizationCritical section: Also known as a critical segment, is the code snippet that accesses and operates shared data.Competition conditions: 2 or more than 2 threads are executed simultaneously in the critical section, which constitutes a competitive condition.The so-called synchronization, in fact, prevent the formation of competitive conditions in the critical area.If the critical
One pageThe kernel takes the physical page as the basic unit of memory management; the Memory Management Unit (MMU) transforms the virtual address into a physicalAddresses, which are typically processed in pages. The MMU manages the tables in the system in the page size unit.32-bit system: Page size 4KB64-bit system: Page size 8KBThe kernel represents each physical page in the system with the corresponding
Compared with version 2.4, the new Linux 2.6 kernel has many improvements. The kernel Network option is an area of technological progress. Although most files related to network options are improved, This article focuses only on the improvement and increase of the Main features that affect the entire system, rather than the specific files.
Specifically, this article will introduce the improvement of Network
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.