Environment used. The program mentioned in this article is based on the Linux release version: Fedora Core Release 1, which contains the Linux automake and automake that we will use. Starting with helloworld, we start with helloworld, the most
Linux kernel debugging
This article describes how to debug the Linux kernel. Our environment is as follows:
HOST: Ubuntu 11.04
Virtual Machine: ubuntu11.04 of virtualbox
First, make the following preparations:
1.
To share files between the host
Study overview this week
● System call
● Standard I/O Library
● Process Control
● Inter-process communication: pipelines, named pipelines, and message queues
● Basic signal operations
● Basic thread operations
The details are as follows:
●
I. Disk partitioning
1. If the system is newly installed, consider the security of Disk Partitions:1) the root directory (/), user directory (/home), temporary directory (/tmp), And/var directory should be separated to different disk partitions;2)
1. What is a Linux Device File System?
First, we do not look at the definition. The definition is always too abstract and hard to understand. Let's look at the phenomenon first. After porting a new file system to the Development Board (if drivers of
Http://hohoqi.blog.163.com/blog/static/10795561201091011199438/
FindFind is a very effective tool that can traverse the current directory or even the entire file system to find some files or directories. Main options:-name
Search for files by file
In Linux, development often encounters many errors (set errno). eagain is a common error (for example, used in non-blocking operations ).
Literally, We are prompted to try again. This error often occurs when the application performs non-blocking
Baby Wang ran recently wants to get married to someone!
A user wangran is created on a Linux host. There are two people, Wang ran and Wang Qi, who know the user's wangran password PW. In this case, Wang ran knows the root password while Wang ran
Use pipelines for programming in Linux
Http://www.lupaworld.com/tutorial-view-aid-10366.html
Introduction
In this article, we will learn about the GNU/Linux pipeline. Although the pipeline model is very old, it is still a very useful inter-process
Linux boot process analysis and grub boot program
Boot is simple for each of us. But what process does it take to start the entire boot process?
Generally, the Linux boot process follows the following steps:
1. Load BIOS hardware information,
Compile geekos:
Open the terminal and enter the following three commands.
Cd ~ /Geekos-0.3.0/src/project0/build/Note :~ Not less ,~ The main directory of the current user. Makebochs
Possible problems
1. This error occurs during the first make
Linux system information is stored in files, which are similar to common official files. Each file has its own name, content, storage address, and other management information, such as the user and size of the file. A file can be a letter, an
How does the Linux Device Driver access the peripheral I/O port (Register)
Almost every type of peripherals is carried out by reading and writing registers on the device, usually including control registers, status registers, and data registers. The
When debugging a hardware board, we often need to make multiple jffs2 root file system images, and sometimes compare the available jffs2 root file system images from other channels.However, jffs2's file system images can be mounted via loop devices
In Win32, you can use dllmain to initialize and ~ Initialize the dynamic library, but Linux does not have a function that exactly corresponds to it, but some methods can be used to simulate some of its functions. Some people may say that it is very
1. Set a breakpoint)
We use the break command to set breakpoints. There are several ways to set breakpoints on the front:
Break Stops when you enter the specified function. In C ++, you can use the class: function or function (type, type) format to
The previous article introduced how to create a static Link Library and dynamic link library (http://blog.csdn.net/love_cppandc/article/details/8502773) in windows, this article describes how to create a static Link Library and dynamic link library
Now that you know how to write a module, writing a device driver is naturally not difficult. I believe that no one who writes a module will find it difficult to write a device driver. if you are not sure about yourself, you can ask Ge You, And he
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service