Linux debug-debugfs

Mail: bookworepeng@Hotmail.com QQ: 196568501 Author: drivermonkey Undertake various embedded outsourcing projects (phone: 13410905075) Usage: 1. Enable the debugfs function in the kernel. Location:-> Kernel hacking Debug filesystem 2.

Linux kconfig syntax description default

----- Peng Xiaolin The following is my kconfig test script. Tristate "test counter1" # No compilation by defaultDefault nHelpThis is for Pulse counter test.Config test_counter2Tristate "test counter2" # The default compilation is the

One-step Linux learning-virtualbox running Ubuntu and Windows File Sharing on the host

1. virualobox setting-> shared folders-> added shared folders: Enter the folder path and select make permanent for the folder name. 2. Modify the fstab file path/etc/fstab to add # Proc/proc nodev, noexec, nosuid 0 0Hdata/Media/window_disk

Linux-related commands for compression and decompression

01-.tar formatUnpack: [********] $ tar xvf filename.tarPackage: [*******] $ tar CVF filename.tar dirname (Note: tar is packed, not compressed !) 02-.gz formatExtract 1: [********] $ gunzip filename.gzDecompress 2: [********] $ gzip-D

Linux kernel source code structure

Source codeAll in the directory:/usr/src/Linux (mostlyLinuxReleasing Version)   Arch:Includes hardware architecture-relatedCodeEach platform occupies a directory. The 32-bit PC-related code is stored in the i386 directory, including the kernel

Linux code modifications to support led control (board-am335xevm)

QQ: 196568501 Mail: bookworepeng@hotmail.com Welcome to exchange! Note: All the codes are changed at the file board-am335xevm.c Define led informations Static struct gpio_led am335x_evm_gpio_leds [] = {{. name = "omap3evm: LEDA",/

Linux thread creation example

// Author: drivermonkey // Phone: 13410905075 // mail: bookworepeng@Hotmail.com // QQ: 196568501 # include # include # include using namespace STD; static void * thead_gui (void * Arg); static void * thread_logic (void * Arg); int main () {pthread_

Linux api test code

Mail: bookworepeng@Hotmail.comQQ: 196568501Author: drivermonkeyUndertake various embedded outsourcing projects (phone: 13410905075)1/* 2 * SPI testing utility (using spidev driver) 3*4 * Copyright (c) 2007 MontaVista Software, Inc.5 * Copyright (c) 2

Linux rootfs script for automatic mounting of U Disks

Author: DriverMonkey Mail: bookworepeng@hotmail.com Qq: 196568501 Phone: 13410905075 -Welcome to the discussion Testing hardware platform-am335x (linux 3.2) Prerequisites: 1. busybox supports mdev 2. the kernel has reached the USB flash drive. 1)

Linux putty Installation and Use

4. Install and use puttyI used minicom just now. It is indeed usable, but it is not very convenient and inconvenient to use. That is, the window size of the terminal cannot be adjusted by dragging and dropping, the display content is gone, and the

LINUX waiting queue

(Reproduced) bojan on: PublicI also want to add my favoriteIn the Linux driver, you can use the wait queue to wake up the blocked process. Wait queue appeared in the Linux kernel as a basic function unit for a long time. It uses the basic queue data

Linux External Interrupt example

Code: #include #include #include #include #include #include #include #include #include #include #include #include #include #include #define GPIO_TO_PIN(bank, gpio) (32 * (bank) + (gpio))struct fpga_key_dev { struct cdev cdev;

Linux character driver example

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");struct mmap_dev_t{dev_t dev_num;char *dev_name;struct

Basic Programming for Linux

If you want to learn the basic operations in linux again, you should be familiar with the commands. Repeat the state-embedded experiment. Although I have done it before, I have not made any records, so I feel a little confused now, so starting with

Linux learning-Time Programming + file Programming

File programming and time programming: 1. There are two methods for file programming: System Call and c-library function call. The former depends on the linux operating system used, while the latter does not. 2. time Programming is to get the local

Root password cracking in linux Learning

Sometimes, when we forget the root password, this will bring us great inconvenience, but through some system settings we can eliminate the root password, but I think the premise is that you have to be able to access the root user. Step into the

Process Control for linux Learning

Process-related concepts I. Theoretical Basis of process control: in the operating system, a process is defined as a running activity of a program with certain independent functions. A program is called a process during running. 2. The process has

Installation Tools for arm + linux bare metal environment setup (gcc and gdb)

1. Install arm-linux-gcc-4.3.2 1. Download the installation package arm-linux-gcc-4.3.2.tgz 2. Run the following command to install Tar-ivzxf arm-linux-gcc-4.3.2.tgz-C/(install to the specified root directory C represents change) 3. Run gedit/root/.

How to: Compile Linux kernel 2.6

Http://www.cyberciti.biz/tips/compiling-linux-kernel-26.html   Step #1 Get latest Linux kernel code   $ CD/tmp$ Wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-x.y.z.tar.bz2   Step #2 extract tar (.tar.bz2) File   # Tar-xjvf

Linux 0.12: Task Switching condition

Quoted from InterIntel 80386Programmer's ReferenceManual   The 80386 switches execution to another task in any of four cases: Task Switching occurs in the following situations:   1. The current task executes a JMP or CALL that refers to a TSS

Total Pages: 5467 1 .... 3493 3494 3495 3496 3497 .... 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.