Fast linux boot (5 S boot time)

Author: drivermonkey Contact way: 196568501 (qq), bookworepeng.hotmail.com Test environment: Processor: Ti am335x Test Board: Ti am3359beaglebone Boot Mode: uboot SD card boot Drop module: All Network Module All file systems except ext3 All

Linux Device Driver framework code (open, release, write close)

Driver code: #include #include #include #include #include #include #include struct message_to_app_dev{struct cdev* pcdev;dev_t devno;struct class *message_class;};static int message_open(struct inode *node, struct file *filp){printk("message_open()+

Linux key-driven simple instance

This chapter describes the driver development of the Linux input subsystem. The Linux input subsystem not only supports mouse, keyboard, and other conventional input devices, but also supports buzzer, touch screen and other devices. This chapter

Support for hot USB disk plugging in linux

Mail: bookworepeng@Hotmail.com Qq: 196568501 Author: Driver Monkey Phone: 13410905075 1. Compile the mdev function into busyboxLinux System Utilities --->[*] Mdev[*] Support/etc/mdev. conf[*] Support command execution at device addition/removal 2.

Example of registering a bus from a linux Kernel

Mail: bookworepeng@Hotmail.com Qq: 196568501 Author: Driver Monkey Phone: 13410905075 #include #include #include #include #include MODULE_LICENSE("Dual BSD/GPL");MODULE_AUTHOR("Driver Monkey");static int monkey_match(struct device *dev, struct

View library dependencies in linux

View library dependency on PC Linux You can directly use the ldd command to view executable programs, such: Root @ forlinx :~ # Ldd/bin/mvLinux-gate.so.1 => (0x00c7b000)Libselinux. so.1 =>/lib/i386-linux-gnu/libselinux. so.1 (0x00136000)Librt. so.1 =

Linux Message Queue example

/Author: DriverMonkey// Mobile: 13410905075// Mail: bookworepeng@Hotmail.com// Qq: 196568501 # Include # Include # Include # Include # Include # Include # Include # Define MAX_SEND_SIZE 80# Define RETURN_MSG_TYPE 0XAA# Define SEND_MSG_TYPE

Linux high-precision timer example

//author:DriverMonkey//phone:13410905075//mail:bookworepeng@Hotmail.com//qq:196568501#include #include #include #include #include #include #include #include #include #include #include #include #include #include #define GPIO_TO_PIN(bank,

Example of generating a PPM driver in Linux

APP: //author:DriverMonkey//phone:13410905075//mail:bookworepeng@Hotmail.com//qq:196568501#include#include#include#include#include#include#define US (1000)#define PPM_CHANEL 8#define FIX_LOW_TIME 100*US#define FIX_SYNC_TIME 5000static long long ppm_

First knowledge of GCC in Linux

Initial learning of GCC 1. What is GCC? GCC is also called gnu c compiler. GCC advantages: 1. Open Source 2. Efficient Ii. Basic usage Create a file and write the program Hello. c # Include int main (void) {printf ("Hello, word! \ N ");

Design of Robot Control System Based on arm9-and Linux

Design of Robot Control System Based on arm9-and Linux [Date:] Source: single-chip microcomputer and Embedded System Application by Luo Lei Dai Xuefeng, Qiqihar University, Liu shudong [Font:Large Medium Small]

An epiphany for the UNIX/Linux style!

After reading Hawkins's blog, I mentioned how to correct the time to the local time in Fedora Core 6, and I also checked how ubuntu was set, Suddenly realized the relationship between system programs, system startup scripts, and configuration files,

How to Learn about linux kernel

There are several stages. Start viewing ulk,The best thing about ulk is that he advocated a particularly good learning method. When you want to learn something, first read the header file and do not look at the implementation code before figuring

Analysis of linux Operating Performance

1. Analysis of cpu load Mpstat-P ALL Linux 3.11.0-rc3 08/13/2013 _ i686 _ (4 CPU) At 02:41:45 CPU % usr % nice % sys % iowait % irq % soft % steal % guest % idle02:41:45 all 4.17 0.00 1.67 1.65 0.00 0.01 0.00 0.00 92.4902:41:45 PM 0 4.27 0.00 2.53 2

Description of the fstab file automatically mounted when Linux is started

1. Functions of the fstab fileFile/etc/fstab stores the file system information in the system. When the file is correctly set, you can run the "mount/directoryname" command to load a file system. Each file system corresponds to an independent line,

Common viewing information set in LINUX

# Uname-A # view kernel/operating system/CPU Information# Cat/proc/version # view the kernel# Cat/etc/issue # view the operating system version# Head-N 1/etc/issue # view the operating system version# Cat/proc/cpuinfo # view CPU Information#

Analysis of file system and storage mechanism in Embedded Linux

// UNKNOWN SOURCE Embedded systems are different from general-purpose PCs. Generally, they do not have storage devices such as hard disks. Instead, they use Flash chips, small Flash cards, and other storage devices designed for embedded systems,

Remove excess Linux kernels (fedora, ubuntu)

After the Linxu system kernel is upgraded Grub boot items display the boot options for the new and old kernels, How to delete unnecessary boot items: 1. Find the kernel version installed in the system Ubuntu command: $ dpkg --

A letter to embedded linux students

For new users who have just entered the embedded field, I don't want to talk too much about technical issues, due to technical issues, many senior lecturers from the far-sighted perspective of Huaqing will give you a detailed explanation in future

Use of Thread Mutex in ACE in linux

The ACE Library provides two classes for thread synchronization: ACE_Thread_Mutex and ACE_REcursive_Thread_Mutex. In my opinion, we can use ACE_REcursive_Thread_Mutex instead of ACE_Thread_Mutex for Thread Synchronization in linux. The reason is

Total Pages: 5467 1 .... 4799 4800 4801 4802 4803 .... 5467 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.