Recently, I plan to build my M8 mobile phone into an android Development Board and compile the kernel of linux2.6.27,ProgramWhen the screen is dead on the penguin screen, we analyze the screen and paste the analysis process. For your reference.
1. Learn to write simple makefile
2. Compile an applicationProgramCan be run with makefile
3. Learn to write the driver makefile
4. Write a simple char driver. The makefile is compiled and can be insmod, lsmod, or rmmod. Print Hello world
There are two physical NICs on the PC. The physical network card corresponding to eth0 in the virtual machine is connected to the TP-link router (192.168.1.1), and the physical network card corresponding to eth1 is connected to a local database (192.
Write in LinuxProgramWhen writing to the memory, make sure that the memory is writable. Otherwise, a memory write Protection Segment error occurs, and the program crashes, therefore, to ensure the security of the memory address operation (that is,
I have bought several classic Android books a few times ago, but I found that I didn't talk about the Linux basics. Although I understand some of the basics of arm, but I almost don't know anything about Linux, so I have to master the Framework
Gnome-Open/etc
Nautilus/etc in Ubuntu
Nautilus ['n' hour t hour l hour S]This command opens a window with the root permission to manage files. For example, you can directly click on a computer with many folders and files that are root users,
It is generally said that swap partitions are suitable for one to two times the memory size, but some people say that as a general purpose, 1 ~ 2G is on the top. It is impossible to improve the system performance from the virtual memory. It is king
Recently, I saw some friends discussing how to use minicom to communicate with the Development Board in some embedded development groups or forums. After all, there are many friends who use Linux in virtual machines like me. The following method is
// Server/******** server program (server. c) ************/# include # include # include # include # include # include # include # include # include # include int main (INT argc, char * argv []) {int sockfd, new_fd; struct sockaddr_in
Partition type
Introduction
Remarks
/Boot
Start Partition
Generally, 100 m-200 m is set. The Boot directory contains the kernel of the operating system and the files to be used during system startup.
/
Root Partition
When I learned the board_init () function, I found that the value of the CPU register can be set through the structure pointer. This is quite interesting. Study it ~
After research, I found that the principle is very simple and I am sorry to write
How to share files with vmwarevm Linux on Windows XPUse Shared FoldersBy sharing folders, you can easily share files between virtual machines and host machines. If you want to use a shared folder, you must install the same VM-tools as
1. Linux variable types
Linux variables are divided by the life cycle of variables. There are two types of Linux variables:
1.1 permanent: the configuration file needs to be modified, and the variable takes effect permanently.
1.2 temporary: Use the
When using sudo, the message "XXX is not in the sudoers file. This incident will be reported. XXX is your user name, that is, your user name has no permission to use sudo,
You only need to modify the/etc/sudoers file.
The solution is as follows:
1)
# Include # Include # Include # Include # Include Using namespace STD;
Int main (INT argc, char * argv []){For (INT I = 0; I Cout Cout
Cout String filename;Cin> filename;String cmd = "Du-k" + filename + "> xiaojiba.txt ";System (const_cast (CMD. c_
Add a Chinese source (Sohu, 163) to Fedora)
Solution 1
In China 163 and Sohu provide good sources. Now we add them to our source database.1. Add source of SohuGo to the website http://mirrors.sohu.com/, find the fedora directory on the left, click
How to Use ADSL to access the Internet in Linux
Make sure that the broadband connection is correct. Make sure that the ADSL light is on normally. Make sure that the NIC is normal and that the nic and ads are connected normally.Then start the system
2. ifconfigIfconfig is the most commonly used tool in Linux to display and SET network devices. "If" is the abbreviation of "interface. It can be used to display the status of the device Nic or the current settings.The following describes the common
From: http:// OS .51cto.com/art/201003/187407.htm
Linux schedules many processes. This involves the concept of Linux Process Scheduling timing. The schedule () function in the Linux Kernel determines whether to perform process switching, if you want
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