Location:
Search - linux-2.4.18
Search list
Description: 详细讲述了linux设备驱动程序的开发,想学习linux下设备驱动程序开发工作的人员可以参考。文件清单列出如下:
linuxdriver_code_tool
|-- 03
| `-- 2.6内核升级工具
| |-- device-mapper-1.00.19-2.i386.rpm
| |-- lvm2-2.00.25-1.01.i386.rpm
| |-- mkinitrd-4.2.0.3.tar.tar
| |-- module-init-tools-3.2.2.tar.bz2
| `-- modutils-2.4.5-1.src.rpm
|-- 04
| |-- 内核模块参数范例
| | `-- book.c
| |-- 内核模块导出符号
| | `-- export_symb.c
| `-- 最简单的内核模块
| `-- hello.c
|-- 05
| `-- udev源代码
| `-- udev-114.tar.gz
|-- 06
| |-- globalmem驱动
| | `-- globalmem.c
| `-- 包含2个globalmem设备的驱动
| `-- globalmem_two.c
|-- 07
| `-- 含并发控制的globalmem驱动
| `-- globalmem_lock.c
|-- 08
| |-- globalfifo驱动
| | `-- globalfifo.c
| `-- poll应用程序范例
| `-- pollmonitor.c
|-- 09
| |-- 异步通知应用程序范例
| | `-- asyncmonitor.c
| `-- 支持异步通知的globalfifo
| `-- globalfifo_async.c
|-- 10
| |-- S3C2410实时钟驱动
| | `-- s3c2410-rtc.c
| `-- 秒设备驱动与应用程序
| |-- second.c
| `-- second_test.c
|-- 11
| |-- DMA范例
| | |-- 3c505.c
| | |-- 3c505.h
| | `-- dma.h
| `-- 静态映射范例
| `-- mach-smdk2440.c
|-- 12
| |-- NVRAM驱动
| | `-- generic_nvram.c
| |-- 触摸屏驱动
| | |-- 作为input设备
| | | |-- s3c2410_ts.c
| | | `-- s3c2410_ts.h
| | `-- 作为普通字符设备
| | `-- s3c2410-ts.c
| |-- 看门狗驱动
| | `-- s3c2410_wdt.c
| `-- 平台设备
| `-- devs.c
|-- 13
| |-- IDE驱动
| | |-- ide-disk.c
| | `-- ide-h8300.c
| `-- RAMDISK驱动
| `-- rd.c
|-- 14
| |-- S3C2410串口驱动
| | |-- regs-gpio.h
| | |-- regs-serial.h
| | `-- s3c2410.c
| `-- 串口核心层
| |-- serial_core.c
| `-- serial_core.h
|-- 15
| |-- S3C2410 I2C主机驱动
| | |-- i2c-s3c2410.c
| | |-- iic.h
| | |-- regs-gpio.h
| | `-- regs-iic.h
| `-- SAA711x I2C设备驱动
| `-- saa711x.c
|-- 16
| `-- CS8900以太网设备驱动
| |-- cs89x0.c
| `-- cs89x0.h
|-- 17
| |-- ALSA工具及库
| | |-- alsa-driver-1.0.15.tar.bz2
| | |-- alsa-firmware-1.0.15.tar.bz2
| | |-- alsa-lib-1.0.15.tar.bz2
| | |-- alsa-oss-1.0.15.tar.bz2
| | |-- alsa-tools-1.0.15.tar.bz2
| | |-- alsa-utils-1.0.13.tar.bz2
| | `-- pyalsa-1.0.15.tar.bz2
| |-- ALSA驱动范例
| | |-- sa11xx-uda1341.c
| | `-- uda1341.h
| |-- ALSA应用程序范例
| | |-- pcm.c
| | `-- pcm_min.c
| |-- OSS驱动范例
| | `-- s3c2410-uda1341.c
| `-- OSS应用程序范例
| |-- mixer.c
| `-- sound.c
|-- 18
| |-- FRAMEBUFFER应用程序范例
| | `-- fb_display
| | |-- fb_display.c
| | |-- fb_display.h
| | |-- Makefile
| | |-- README
| | `-- test.c
| `-- S3C2410 LCD驱动
| |-- s3c2410fb.c
| `-- s3c2410fb.h
|-- 19
| |-- busybox源代码
| | `-- busybox-1.2.1.tar.bz2
| |-- MTD工具
| | `-- mtd-utils-1.0.0.tar.gz
| |-- nand驱动范例
| | `-- s3c2410.c
| |-- nor驱动范例
| | `-- s3c2410nor.c
| `-- yaffs&yaffs2源代码
| |-- yaffs.tar.gz
| `-- yaffs2.tar.gz
|-- 20
| |-- USB串口驱动
| | |-- usb-serial.c
| | `-- usb-serial.h
| |-- USB工具
| | `-- usbview-1.0.tar.tar
| |-- USB骨架程序
| | `-- usb-skeleton.c
| |-- USB键盘驱动
| | |-- input.h
| | |-- usb_input.h
| | `-- usbkbd.c
| `-- usb主机控制器驱动范例
| |-- ohci-s3c2410.c
| `-- usb-control.h
|-- 21
| |-- PCI骨架程序
| | `-- pci-skeleton.c
| `-- PCI驱动范例
| `-- i810_audio.c
`-- 22
|-- 范例代码
| |-- oops范例
| | |-- oops_example.asm
| | `-- oops_example.c
| `-- proc范例
| `-- sim_proc.c
`-- 内核调试工具
|-- ddd-3.3.11.tar.gz
|-- gdbmod-2.4.bz2
|-- kdb-v4.4-2.6.15-rc5-common-1.bz2
|-- kdb-v4.4-2.6.15-rc5-common-2.bz2
|-- kdb-v4.4-2.6.15-rc5-i386-1.bz2
`-- linux-2.6.15.5-kgdb-2.4.tar.tar
Platform: |
Size: 25078324 |
Author: zxx000 |
Hits:
Description: uda1341的linux-2.4.18音频驱动(s3c240)-uda1341 the linux-2.4.18 Audio Driver (s3c240)
Platform: |
Size: 7168 |
Author: keety |
Hits:
Description: linux2.4.18 SD卡的驱动程序-linux2.4.18 SD Card Driver
Platform: |
Size: 61440 |
Author: lusterzhang |
Hits:
Description: S3C2440 摄像头linux2.4.18的驱动-S3C2440 camera linux2.4.18 Driving
Platform: |
Size: 93184 |
Author: lusterzhang |
Hits:
Description: S3C2440 摄像头linux2.4.18的驱动测试程序
-S3C2440 camera linux2.4.18 the driving test procedures
Platform: |
Size: 16384 |
Author: lusterzhang |
Hits:
Description: linux下触摸屏驱动,实用性非常强,可以直接用在linux2.4.18版本,及2.6以上的版本-linux Touch-screen, practicality is very strong. can be directly used linux2.4.18 version 2.6 and above versions
Platform: |
Size: 2048 |
Author: 王麓平 |
Hits:
Description: Linux 2.4.18 s3c2440 led driver
使用dev-C++撰寫,需要linux 2.4.18 kernel include,編譯完成後產生led module。
insmod main.o //安裝模組
mknod /dev/leds c 221 0
使用方法:
int main(int argc, char *argv[])
{
int testdev
//led test...
testdev = open("/dev/QuickMarkLed",O_RDWR)
ioctl(testdev, 2, 1) //ioctl(device, led number, open/close) open=1
ioctl(testdev, argv[1][0]- 0 , argv[2][0]- 0 ) //ioctl(device, led number, open/close) open=1
close(testdev)
return 0
}
-Linux 2.4.18 s3c2440 led driver to use dev-C++ Writing, the need for linux 2.4.18 kernel include, compiled after the completion of led module. insmod main.o// install the module mknod/dev/leds c 221 0 to use: int main (int argc, char* argv []) (int testdev// led test ... testdev = open (/ dev/QuickMarkLed , O_RDWR) ioctl (testdev, 2, 1)// ioctl (device, led number, open/close) open = 1 ioctl (testdev, argv [1] [0]- 0, argv [2] [0]- 0 )// ioctl (device, led number, open/close) open = 1 close (testdev) return 0)
Platform: |
Size: 5120 |
Author: Jia-Yang Chen |
Hits:
Description: s3c2410平台,linux-2.4.18内核,控制芯片T6963的frambuff底层驱动-S3C2410 platform, linux-2.4.18 kernel, control of the T6963 chip frambuff bottom drive
Platform: |
Size: 9216 |
Author: 流域 |
Hits:
Description: s3c2410平台,linux-2.4.18内核,I/O口模拟ps/2口键盘驱动,含Makefile,直接编译使用-S3C2410 platform, linux-2.4.18 kernel, I/O port simulation ps/2 keyboard I drive, including Makefile, direct the compiler to use
Platform: |
Size: 84992 |
Author: 流域 |
Hits:
Description: 嵌入式linux的IIC驱动,全部为c代码。本程序在嵌入式linux2.4.18内核驱动的基础上加于修改,以适应多芯片的要求。-Embedded linux driver of the IIC, all for c code. This procedure linux2.4.18 in the embedded kernel drivers based on the increase in modified to adapt to the requirements of multi-chip.
Platform: |
Size: 8192 |
Author: 温 |
Hits:
Description: ARM9 S3C2440 i2c linux2.4.18驱动-ARM9 S3C2440 i2c linux2.4.18 drive
Platform: |
Size: 41984 |
Author: xzw |
Hits:
Description: linux下 双口ram驱动程序 2.4.18-linux under the dual-port ram driver 2.4.18
Platform: |
Size: 4096 |
Author: 孙磊 |
Hits:
Description: linux pci驱动程序 2.4.18
Platform: |
Size: 2048 |
Author: |
Hits:
Description: linux-2.4.18的下测MMC驱动程序,测试平台是s3c2440-linux-2.4.18 test next MMC driver, test platform is a S3C2440
Platform: |
Size: 40960 |
Author: Jason |
Hits:
Description: 刚学LINUX驱动模块时写的一个测试程序,在S3C2410平台,2.4.18版本上编译并运行,对linux刚入门的朋友应该是个帮助-LINUX driver just learning to write a module test procedures, the S3C2410 platform version 2.4.18 compiled and run on linux just getting started should be a friend to help
Platform: |
Size: 76800 |
Author: huming |
Hits:
Description: 1、将makefile中的
CROSS =/usr/local/arm/2.95.3/bin/arm-linux-
CFLAGS+=-I/usr/local/src/2.4.18-rmk7/include
CFLAGS+=-I/usr/local/src/2.4.18-rmk7/include/linux
CFLAGS+=-I/usr/local/arm/2.95.3/arm-linux/include
路径改为你宿主机上的。
2、#make,来编译驱动模块。
3、#export PATH=$PATH:/usr/local/arm/2.95.3/bin //取决于你宿主机上的交叉编译工具路径
#arm-linux-gcc -o gpio_test gpio_test.c //编译应用程序
最终在你的当前文件夹下会生成gpiodrv.o与gpio_test两个文件。
4、#mkdir /tmp/1
5、通过ftp的方法,把gpio_test与gpiodrv.o文件下载到你的开发板上的/tmp/1目录中。
6、#mknod /dev/gpio c 220 0 //创建文件节点
#insmod gpiodrv.o
#chmod +x gpio_test
#./gpio_test
然后,就可以看到四个LED灯在闪烁了。:)-1, the makefile in the CROSS =/usr/local/arm/2.95.3/bin/arm-linux- CFLAGS+ =- I/usr/local/src/2.4.18-rmk7/include CFLAGS+ =- I/usr/local/src/2.4.18-rmk7/include/linux CFLAGS+ =- I/usr/local/arm/2.95.3/arm-linux/include changed the path on your host. 2,# make, to compile driver modules. 3,# export PATH = $ PATH:/usr/local/arm/2.95.3/bin// depends on your host on the path of the cross compiler tool# arm-linux-gcc-o gpio_test gpio_test.c// compile the application procedures for the ultimate in your current folder will be generated under the two documents gpiodrv.o and gpio_test. 4,# mkdir/tmp/1 5, through the ftp way to gpiodrv.o File Download gpio_test with the development of your board/tmp/1 directory. 6,# mknod/dev/gpio c 220 0// create a file node# insmod gpiodrv.o# chmod+ x gpio_test#./Gpio_test then four LED lights can be seen in the flicker of. :)
Platform: |
Size: 9216 |
Author: 马工 |
Hits:
Description: 2410 2.4.18内核 8900网卡驱动-2410 s 8900 netcard s driver for linux 2.4.18kernel
Platform: |
Size: 8192 |
Author: ljinx |
Hits:
Description: 基于s3c2410(arm9)实验室开发板的linux 2.4.18内核的led驱动,驱动入门学习具有参考价值。-linux 2.4.18 kernel led driver for s3c2410 (arm9)
Platform: |
Size: 3072 |
Author: yuqilin |
Hits:
Description: Before starting driver development we set up our system for development. This article has been written and tested on Linux 2.4.18.
Platform: |
Size: 13312 |
Author: madhu |
Hits:
Description: XR21V1410/1412/1414 USB HUB驱动程序,适用于linux 2.6-3.4版本(The XR21V1410/1412/1414 USB HUB driver is available for the Linux 2.6-3.4 version)
Platform: |
Size: 19456 |
Author: 板砖
|
Hits: