Single-core and micro-kernel-general Linux technology-Linux programming and kernel information. The following is a detailed description. Single Kernel: the kernel is implemented as a large process and runs in a separate address space at the same time. All kernel services run
Source: http://www.top-e.org/jiaoshi/html? 196. html
"It's really cool to tell me that the real entry address of the C program compiled using the glibc library in Linux is _ start (). Isn't that enough ?" The rotten eggs flat.
Well, I just want to use a special way to describe the problem. I pay more attention to the ways of thinking embodied in the process of exploration and the fun of it.
Return to our topic. Why is the Linux Kernel not executed fr
1. Review the kernel commands that need to be updated:Apt-cache Search LinuxThe command will show all the kernels that can be obtained2. Install the kernel, assuming you want to install a kernel of 2.6.39-0, use the following commandsudo apt-get install linux-headers-2.6.39-0-generic linux-image-2.6.39-0-genericAfter installation, reboot can, after reboot, both s
1.SoC Linux Bottom drive composition and status
To allow Linux to run on a brand new arm SOC, there are a number of underlying support, such as timer beats, interrupt controllers, SMP booting, CPU HotPlug, and the underlying GPIO, clock, Pinctrl, and DMA hardware packages. Timer beats, interrupt controllers, SMP boot, and CPU hotplug are relatively not as cluttered as the early Gpio, clock, Pinctrl, and DMA implementations, and basically have a fixed routine. Timer beats for Linux based on time
(This chapter is based on: linux-4.4.0-37)
There are many ways to communicate between the kernel and user space, NetLink is one of them, and the others are/proc, IOCTL, sockopt, shared memory, and so on. NetLink is characterized by asynchronous Full-duplex.
NetLink uses 32-bit port addressing, called PID (not related to the process number), where the kernel's PID address is 0. The main characteristics of NetLink are as follows:
1 supports Full-duple
Linux kernel source code compilation and Linux kernel source code compilation
Ubuntu14.04 system compilation 3.16.1 Kernel
My system is completely new (just installed and updated 20140906)Download the linux-3.16.1 system and unzip it to/usr/src:
Mkproper
Unable to execute this command, indicating that the related software is missing. Just install it online.
Sudo
Add a kernel module in linux and a kernel module in linux
1. Introduction to Kernel Modules
The Linux kernel has a very large integer structure, and many components are contained in the package. How can I use the components required?
Method 1: compile all the components into the ke
First, preface
1, the Linux kernel five major functions:
Process Management (CPU)Memory Management (memory)Device Management (Driver)Network Management (Network protocol TCP/IP)File System (VFS)
2. Linux version number:
Linux 2.6 2---> Major version number 6----> Minor version number: Odd for test version even for stable version
This article uses the kernel version of linux3.14
3. Linux directory structur
Label:Name: Jiang id:fuchen1994 Date of experiment: 2016.3.13 Experimental guidance
Open the shell with a virtual machine in the lab building
CD linuxkernel/
Qemu-kernel linux-3.18.6/arch/x86/boot/bzimage -initrd rootfs.img
After the kernel boot is completed into the menu program ("Software Engineering C Coding Practice" course project), support three commands help, ve
How to add the graphics card module (private driver) of the old kernel for the new kernel-Linux general technology-Linux programming and kernel information. The following is a detailed description. Ask about the make localmodconfig command used by the newly compiled kernel. Because the system used for compilation is th
I. Linux configuration and compilation
Linux has the following advantages:
1. Clear temporary files, intermediate files, and configuration files
(1) make clean: delete most of the generated files, but keep the configuration file
(2) Make mrproper: delete all generated files and configuration files
(3) make distclean: Delete the patch and backup files of the editor based on make mrproper.
2. Determine the hardware and software configurations of the target system, such as the CPU type,
Bootloader and kernel with the start-up process--------------------------------------------The ARM9 board has a Norflash chip that stores the basic Bootlader code, which is the 0 address where the CPU executes the code. The 4kRam space inside the CPU acts as the stack and data segment storage at this time. Because it is Samsung's own chip, so the hardware above can be implemented to Nandflash before the 4K code automatically copied to the Iram (the im
Kernel Synchronization Method
1. atomic operation
Atomic operations can ensure that commands are executed in an atomic manner-the execution process is not interrupted. The kernel provides two sets of atomic operation interfaces, one for integer operations, and the other for separate bit operations.
Atomic operations on integers can only process atomic_t data.
In addition to the atomic Integer Ope
CentOS kernel compilation (kernel upgrade)
1. view the system kernel version
# Uname-r2.6.18-92. el5
2,# Wgetwget https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.13.tar.gzDownload linux-3.13.tar.gzKernel source code file
3, # cd/usr/src/linux-3.13
4. # make mrproperClear environment variables, that is, clear the c
Transferred from: http://blog.csdn.net/bullbat/article/details/7401688A common pattern in kernel programming is to initialize an activity outside the current thread, and then wait for the activity to end. The activity might be to create a new kernel thread or a new user-space process, a request for an existing process, or some type of hardware action, and so on. In this case, we can use semaphores to synchr
"copyright notice: respect for the original, reproduced please retain the source: blog.csdn.net/shallnet. The article is for academic communication only and should not be used for commercial purposes " the memory image of a process consists of the following parts: code snippet, data segment, BSS segmentand Stack segments. And the area of the memory map,memory-mapped function mmap (), which is responsible for mapping the contents of the file to the virtual memory space of the process, through rea
Modify the Linux kernel kernel boot picture (originally a small penguin picture).
Reprint please indicate the source: Http://blog.csdn.net/wang_zheng_kai
Navigation guidance and Control laboratory December 10, 2014
This article mainly introduces three parts of the content:
1 "How to make the Linux kernel required to boot picture (ppm format);"
2 The two ways to m
Linus discusses the relationship between kernel header files and kernel source code-Linux general technology-Linux programming and kernel information. The following is a detailed description.
CODE: From: Linus Torvalds (torvalds@transmeta.com)Date: Thu Jul 27 2000-02:39:51 ESTIn article
,
Boszormenyi Zoltan
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.