This year36Aged FinlandLinus TorvaldsYesLinuxFounder of the operating system. He Yu1991Created inLinuxOperating System, constantly gaining volunteers on the Internet"ProgramEmployee"After more than a decade of developmentWindowsThe second largest
Windows static library files are. Lib files, and dynamic library files are. DLL files. The content is the same. All functions are encapsulated and compiled for you or others to call. The advantage is that the compiled library file is invisible.
Create and generate the PPM file in Ubuntu.
Method 1:
1. APT-Get install netpbm
2. Convert the JPEG, BMP, and etc to ppm. (taking the JPEG as an example)
Extends toppm *. JPEG> temp1.pnm (generating the PNM file)
Ppmquant 224 temp1.pnm>
How to avoid competition and Synchronization Control in Linux and Windows1) Avoid using global variables, global variables, and pointer passing with caution, especially in the kernel;
2) use semaphores, read/write semaphores, spin locks, and
When log4j is used, Chinese characters are displayed normally in the win system, but Chinese characters are garbled when published to the Linux system.
Because the encoding format (encoding) is not set in the log4j configuration file, log4j uses
Linux interruptions include hard interruptions and soft interruptions.
Hardware interruption is triggered by hardware devices. When a hard interrupt occurs on an I/O device, the interrupt controller sends an electrical signal, which is received by
In Linux kernel 2.4, the static timer mechanism in earlier kernel versions is removed, leaving only dynamic timers. Correspondingly, in the timer_bh () function, the run_old_timers () function is no longer used to run the old-fashioned static timer.
To disable the firewall for Linux, under system-> Administration-> firewall and SELinux, select the disable of firewall and check again. However, it is still enable.
1) take effect after restart:
Enable: chkconfig iptables on
Close: chkconfig
The ioctl function I mentioned here is in the driver, because I don't know whether IOCTL is used in other scenarios,Therefore, the scope of our discussion is defined. Why do I need to write an article? It's because I was mixed up by IOCTL some time
I. embeddedSystemDesignBackground of method change
Embedded SystemThe evolution of design methods is generally due to the traction of application requirements and the promotion of IT technology.
With the continuous innovation and development of
Introduction
Embedded Linux is based on open source resources and is already the most importantEmbeddedOne of the application technologies. Embedded Linux is a system installed on the target device. One embedded Linux system contains a majority of
I. Linux theoretical knowledge1. Basic computer theory; 2. CPU architecture; 3. Memory Management; 4. File System; 5. process scheduling; 6. Common Linux operations.Ii. Linux driver knowledge1. Add I2C driver 2. Add SPI driver and read/write3. Io
Common embedded Linux binary debugging tools (1)
ØReadelf
Readelf can be used to display information about executable files in ELF format. For example, you can use readelf to view the results of each section in hello. O as follows:
$
_ Setup the most commonly used macro in Linux kernel is to define the function and data structure for processing startup parameters of the kernel. The macro is defined as follows:
# DEFINE _ setup (STR, FN )\_ Setup_param (STR, FN, FN, 0)
# DEFINE _
[Test kernel: Linux-2.6.39]
The debug file system may be used for system debugging.
The following describes how to use the debug File System
1. Use debug File System in Kernel
Make menuconfig --> kernel hacking --> select the debug filesystem (
Objective: To study USB in depth and take notes here. Welcome to the discussion.
[Linux 3.2] [Driver/USB/CORE/driver. C]
Definition: usb_bus_type
struct bus_type usb_bus_type = {.name ="usb",.match =usb_device_match,.uevent =usb_uevent,};
[Linux 3
1. Linux File System allocation policy:
Block allocation and extent allocation)
Block allocation: file blocks on the disk are allocated to files as needed, avoiding the waste of storage space. However, when the file is expanded, the file blocks in
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