Linux Kernel
spark_fountain
这个作者很懒,什么都没留下…
展开
-
Linux Kernel training (2) Gpio
General Purpose Input Output (通用输入/输出)简称为GPIO,或总线扩展器,利用工业标准I2C、SMBus™或SPI™接口简化了I/O口的扩展。当微控制器或芯片组没有足够的 I/O端口,或当系统需要采用远端串行通信或控制时,GPIO产品能够提供额外的控制和监视功能。One Module driver example, #include #inc原创 2012-04-20 17:05:42 · 679 阅读 · 0 评论 -
Linux Kerner training (1) Lauterbach and trace32 debug u-boot
LinuxKernel TrainingRefrences:$ git cloneGit://igloocommunity.org/git/kernerl/igloo-kerner.githttp://igloocommunity.org/support/Technical_documentationhttps://wiki.linaro.org/Platform/Andr原创 2012-04-20 16:47:18 · 5578 阅读 · 0 评论 -
Linux Kernel -- chess game
DescriptionThis is an exercise for kernel coding.Focus on,EXPORT_SYMBOL //communicate between moduleswork_queuewait_queuespinlocklistThere are 3 modules, chess.ko, chessplayer0.ko, che原创 2012-07-25 17:24:31 · 919 阅读 · 0 评论 -
Linux Kernel -- Debug VirtualBox
references:http://fotis.loukos.me/blog/?p=25Kgdb is a source level debugger for the linux kernel. It requires two machines, one running a kernel compiled with kgdb enabled and the seco原创 2012-07-25 16:37:36 · 1189 阅读 · 0 评论 -
USB Descriptor
From: http://blog.csdn.net/wavemcu/article/details/7220697USB描述符的分类与介绍USB的符述符分为几类?有人可能会答:设备描述符、配置描述符、接口描述符、端点描述符、字符串描述符等。但这里说的不是这样的。上面的几类描述符属于USB标准描述符。另外还有HID描述符和Hub描述符。所以分类是这样的:1. 标准描述符转载 2012-05-30 13:35:58 · 1284 阅读 · 0 评论 -
Linux Kernel -- notify chain
From http://bbs.chinaunix.net/thread-2011776-1-1.html1.通知链表简介 大多数内核子系统都是相互独立的,因此某个子系统可能对其它子系统产生的事件感兴趣。为了满足这个需求,也即是让某个子系统在发生某个事件时通知其它的子系统,Linux内核提供了通知链的机制。通知链表只能够在内核的子系统之间使用,而不能够在内核与用户空间之间进行转载 2012-07-26 14:42:31 · 1572 阅读 · 0 评论 -
Linux kernel 中的链表list 使用示例
有了这个头文件,可以在用户空间使用kernel的list。如下代码的获取路径http://isis.poly.edu/kulesh/stuff/src/klist/list.h 1 #ifndef __LIST_H 2 #define __LIST_H 3 4 /* This file is from Linux Kernel (include/linux/list转载 2012-07-24 14:03:15 · 1421 阅读 · 0 评论 -
Linux下USB驱动之skeleton分析
From http://www.linuxidc.com/Linux/2008-10/16887.htmUsb_skeleton.c,是USB驱动的框架,适合USB驱动的初学者。1.结构体内核其实就是一坨坨的数据结构,加上一根根链表。对于初学者,如果直接看USB驱动代码,大概会被那些名字相近的结构体弄得晕头转向,比如usb_host_interface和usb_inte转载 2012-07-23 16:55:21 · 764 阅读 · 0 评论 -
Porting u-boot
If you want to port u-boot to a new board, you need to care these aspects. This article is based on snowball u8500.Directory structureboard ------------ Platform, board-levels files. The b原创 2012-08-07 11:06:04 · 1447 阅读 · 0 评论 -
Linux USB Joystick游戏杆驱动
[cpp] view plaincopyclass="cpp" name="code">//驱动代码(中断传输)#include #include #include #include #include #include #include #include #include // Define转载 2012-07-23 16:57:19 · 1402 阅读 · 0 评论 -
Linux kernel --- VirtualBox
This article describe about how to roadmap android kernel on VirtualBoxSoftware environment: Ubuntu 10.0.4LS1. Download android source codehttp://source.android.com/source/downloading.html原创 2012-07-16 16:02:46 · 1401 阅读 · 0 评论