ObjectiveIn recent months, the Linux kernel has probably been studied, the following need to conduct in-depth specific analysis. The main development Board of S3C2440 is a hardware entity. It probably contains such things as the following:1 bootloader analysis, to Uboot-based, combined with detailed development of the board. My goal is to explain clearly how uboot works (to be honest, the analysis does not
The kernel learning notes, since it is a note to remember the key things, assorted slowly again. Here are a few simple steps to compile the kernel:
1. Go to www.kernel.org download kernel
2. mkdir/usr/src/linux-2.6.37CP 2.6.37.tar.bz2/usr/src/linux-2.6.37 (just out)
3. The
Article Title: How is the Linux kernel module transferred to the kernel ?. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, emb
virtual address, theoretically we can directly read and write the I/O memory resources like the read/write Ram. To ensure the cross-platform portability of the driver, we should use special functions in Linux to access the I/O memory resources, instead of the core virtual address pointer.
[MMAP]
MMAP is used to map a device, which means that an address in the user space is associated with the device memory. This allows the program to read or write d
Linux kernel design and implementation (1)-Introduction to the kernel this section briefly introduces the basic concepts related to the kernel. Main content: single-core and micro-kernel version 1. single-core and micro-kernel www
Preface
In the last few months, I have made a rough research on Linux kernel. Next I need to perform in-depth and detailed analysis. It mainly uses a Development Board of S3C2440 as the hardware entity. It includes the following content:
1 bootloader analysis, mainly uboot, combined with the specific situation of the Development Board. My goal is to explain how uboot works (to be honest, I don't want to be
One of the new installation items is: Download now:Download www.kernel.org,
Decompress the package to/usr/src:Bzip2-DC linux-2.6.24.4.tar.bz2 | tar xvf-Rename the folder linux-2.6.24.4 as: Linux-Kernel
Under any folder, write a shell file named A. Sh with the following content:
#! /Bin/bash
Mkdir-P/home/name/build
Last introduced the Linus Torvalds, this time introduced him to develop the "kernel".Often hear people mention "linux kernel", but if asked what is the "kernel? , it would be surprisingly difficult to answer.So, what exactly is kernel? "
First, How does the Linux kernel organize the files in each directory tree and compile them? and build a kernel with specific features as needed? in theLinuxin the kernel, there are two types of files:Makefile,Kconfig. The two files are distributed in the various levels of the
instructions in the critical section are executed continuously, and may be executed in the critical section half way, Because the scheduler is preempted or interrupted, the CPU does not continue to execute within the critical zone, which means the execution is interrupted.But that still guarantees the avoidance of competitive conditions, the reason is that if a process outside of the interrupted process is scheduled, the process will have to access the critical section, the lock or semaphore, a
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
Tags: http bootstra strip image 16px net BSP CSDN developmentObjectiveIn recent months, the Linux kernel has probably been studied, the following need to conduct in-depth detailed analysis. The main development Board of S3C2440 is a hardware entity. Probably includes the following content:1 bootloader analysis, to Uboot-based, combined with the specific development Board situation. My goal is to explain how
(lkp_cleanup); - +Module_license ("GPL");A simple analysis:Line 1th: Linux/module.h is a necessary header file that must be included in the kernel module code.Line 2nd: linux/kernel.h contains common kernel functions.Line 3rd: linux/init.h contains macros _init and _exit,
MB ()
Stop the loading and storage actions across the barrier from being sorted again
SMP_RMB ()
RMB () function on SMP with barrier () function on up
Smp_read_barrier_depends ()
Provides read_barrier_depends () functionality on the SMP. Barrier () feature available on Up
SMP_WMB ()
WMB () feature on SMP with barrier () function on up
SMP_MB ()
MB () feature on SMP with barrier () function on up
Compare the android Linux kernel downloaded from Google's official website (http://code.google.com/p/android/downloads/list) with the standard Linux 2.6.25 version of kernel, the android system kernel mainly adds the following content:
1. Add the gold-fish platform based on
First, let's talk about how this problem came about. (When analyzing a technology, we should first consider what problems it wants to solve, or when learning new knowledge, what is the purpose of this knowledge ).
When compiling the kernel, I found a file named vmlinux. LDS. s under the arch/ARM/kernel directory. At first glance, do you want to compile a file? It seems that it is not. So what does it do?
Mod_name Loading ModuleModprobe-r mod_name Unload ModuleModprobe-r FloppyModprobe FloppyModinfo: View specific information about the moduleModinfo Mod_nameModinfo FloppyInsmod/path/to/module_file: Load ModuleRmmod Mod_name removing modulesDepmod/path/to/modiles_dirInstall the driver: Download the source code, compile into KO, load the moduleKernel and kernel modules must be fully consistent2.6.32-1 kernel
Preparatory work for the first stage 1 Building the environment 1.1 Download the kernel source code and compile the kernelCreate a directory and enter the directory:Download Source:Unzip, and enter the directory: xz-d linux-3.18.6.tar.xzTAR-XVF linux-3.18.6CD linux-3.18.6Compile related files for the selected x86 sche
1./proc DirectoryThe Linux kernel provides a mechanism for accessing kernel internal data structures and changing kernel settings at run time through the/proc file system. The proc file system is a pseudo-file system that only exists in memory and does not occupy external memory space. It provides an interface for acce
Android Linux kernel compilation and androidlinux Kernel
Platform:
Wind7_64 + Ubuntu12_04_64 + VMware
Here we use Android5.0 as an example:
Android5.0 can be downloaded here:
Android-5.0.tar.gz115 online storage package code: 5lbd7crtk1wzHttp://115.com/lb/5lbd7crtk1wz
Linux_source_goldfish can be downloaded here:
Linux_source_goldfish.tar.gz115 online storage
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.