天堂国产午夜亚洲专区-少妇人妻综合久久蜜臀-国产成人户外露出视频在线-国产91传媒一区二区三区

當前位置:主頁 > 科技論文 > 計算機論文 >

基于ARM的嵌入式Linux字符驅(qū)動程序研究

發(fā)布時間:2018-01-16 00:35

  本文關(guān)鍵詞:基于ARM的嵌入式Linux字符驅(qū)動程序研究 出處:《哈爾濱理工大學》2013年碩士論文 論文類型:學位論文


  更多相關(guān)文章: 嵌入式系統(tǒng) Linux 設備驅(qū)動 字符設備 內(nèi)核模塊


【摘要】:隨著信息化,網(wǎng)絡化,智能化的發(fā)展,嵌入式技術(shù)獲得廣闊的發(fā)展空間。Linux憑借其內(nèi)核微小、可裁剪性、免費開源、可靠安全和多平臺性迅速成為主流嵌入式開發(fā)平臺。嵌入式設備種類繁多,,大多數(shù)應用在字符設備。設備驅(qū)動程序在嵌入式系統(tǒng)中占據(jù)舉足輕重的地位。因此本文針對嵌入式Linux字符驅(qū)動程序設計原理和方法進行研究。 首先,介紹嵌入式系統(tǒng)開發(fā)環(huán)境搭建。內(nèi)容包括宿主機Linux系統(tǒng)搭建,內(nèi)核源碼樹的構(gòu)建,交叉編譯工具鏈的制作,S3C2410平臺簡單介紹,Linux內(nèi)核的裁剪和移植,BootLoader和根文件系統(tǒng)。 其次,重點研究了Linux設備驅(qū)動關(guān)鍵技術(shù)。深入了解內(nèi)核并發(fā)技術(shù)如信號量和自旋鎖,內(nèi)核定時器包括Tasklet機制、工作隊列等技術(shù),與硬件通信的I/O內(nèi)存和I/O端口技術(shù),中斷處理及調(diào)試技術(shù)。 再者,研究了字符設備驅(qū)動程序的基本原理和方法。介紹了內(nèi)核模塊開發(fā)技術(shù),包括模塊的初始化和退出,錯誤處理和模塊參數(shù)等內(nèi)容。重點研究了字符設備的設備號及注冊,關(guān)于字符設備的重要數(shù)據(jù)結(jié)構(gòu),并對字符設備驅(qū)動的讀和寫方法、ioctl接口及阻塞與非阻塞等技術(shù)進行研究。 最后,將本文研究的設備驅(qū)動技術(shù)應用于USB鍵盤,介紹了USB鍵盤驅(qū)動核心數(shù)據(jù)結(jié)構(gòu)和基本方法。
[Abstract]:With the development of information, networking and intelligence, embedded technology has gained a broad development space. Linux with its tiny kernel, tailoring, free open source. Reliable security and multi-platform have become the mainstream embedded development platform rapidly. There are many kinds of embedded devices. Most of the applications are used in character devices. Device drivers play an important role in embedded systems. Therefore, the design principle and method of embedded Linux character drivers are studied in this paper. First of all, introduce the embedded system development environment, including host Linux system construction, the construction of the kernel source tree, cross-compile tool chain production of S3C2410 platform. Linux kernel clipping and porting Boot Loader and root file system. Secondly, the key technologies of Linux device driver are studied, such as semaphore and spin lock. Kernel timer includes Tasklet mechanism, work queue and so on. I / O memory and I / O port technology, interrupt processing and debugging technology for communicating with hardware. Thirdly, the basic principle and method of the character device driver are studied, and the kernel module development technology is introduced, including the initialization and exit of the module. Error handling and module parameters. This paper mainly studies the device number and registration of the character device, the important data structure about the character device, and the reading and writing method of the character device driver. The ioctl interface and blocking and non-blocking technologies are studied. Finally, the device driver technology studied in this paper is applied to USB keyboard, and the core data structure and basic method of USB keyboard driver are introduced.
【學位授予單位】:哈爾濱理工大學
【學位級別】:碩士
【學位授予年份】:2013
【分類號】:TP368.1

【參考文獻】

相關(guān)期刊論文 前4條

1 李世勇;肖竟華;;基于Linux驅(qū)動程序的編寫技術(shù)[J];電腦與信息技術(shù);2006年03期

2 王璇;;Linux下USB設備驅(qū)動加載策略分析[J];福建電腦;2008年11期

3 高巖;李珊;;基于ARM9的嵌入式控制系統(tǒng)實驗平臺的研制[J];實驗技術(shù)與管理;2007年04期

4 錢磊;中國Linux市場現(xiàn)狀與發(fā)展趨勢[J];中國政府采購;2005年08期



本文編號:1430810

資料下載
論文發(fā)表

本文鏈接:http://sikaile.net/kejilunwen/jisuanjikexuelunwen/1430810.html


Copyright(c)文論論文網(wǎng)All Rights Reserved | 網(wǎng)站地圖 |

版權(quán)申明:資料由用戶b7dbb***提供,本站僅收錄摘要或目錄,作者需要刪除請E-mail郵箱bigeng88@qq.com