【正文】
.................................................................... 1 本文主要的研究意義 ................................................................................................ 2 本文的研究內(nèi)容 ........................................................................................................ 2 第 2 章 系統(tǒng)設(shè)計(jì)綜述 ............................................................................................................ 4 操作系統(tǒng)的選擇 ........................................................................................................ 4 嵌入式系統(tǒng)的發(fā)展 過程 .................................................................................. 4 嵌入式的特點(diǎn) .................................................................................................. 4 嵌入式程序的開發(fā) .......................................................................................... 5 系統(tǒng)硬件的選擇 ........................................................................................................ 5 LCD 液晶屏 ..................................................................................................... 6 ARM9 處理器 .................................................................................................. 7 S3C2440 處理器 ............................................................................................. 7 第 3 章 創(chuàng)建嵌入式 linux 軟件開發(fā)平臺(tái) .............................................................................. 9 Linux 系統(tǒng) ................................................................................................................. 9 Linux 的發(fā)展過程 ..................................................................................................... 9 Linux 系統(tǒng)的優(yōu)點(diǎn) ................................................................................................... 10 基于 ARM 的嵌入式 Linux 交叉開發(fā)環(huán)境 ........................................................... 11 開發(fā)主機(jī) linux 操作系統(tǒng)的安裝 .................................................................. 11 開發(fā)主機(jī)基本服務(wù)及程序的安裝、配置與使用 ........................................ 11 Linux 下模塊操作命令簡介 ......................................................................... 11 建立交叉編譯環(huán)境 ........................................................................................ 12 Makefile.......................................................................................................... 13 第 4 章 設(shè)備驅(qū)動(dòng)程序關(guān)鍵技術(shù)介紹 .................................................................................. 15 嵌入式 Linux 驅(qū)動(dòng)程序 .......................................................................................... 15 設(shè)備驅(qū)動(dòng)程序的作用 .................................................................................... 15 Linux 驅(qū)動(dòng)程序關(guān)鍵技術(shù) ....................................................................................... 15 內(nèi)存與 I/O 端口 ............................................................................................. 15 并發(fā)控制 ........................................................................................................ 17 哈爾濱 工業(yè)大學(xué)畢業(yè)設(shè)計(jì)(論文) IV 第 5 章 LCD 驅(qū)動(dòng)分析與實(shí)現(xiàn) ............................................................................................. 19 LCD 硬件原理 ......................................................................................................... 19 LCD 硬件需求與驅(qū)動(dòng)控制分析 ................................................................... 19 S3C2440 CPU 相關(guān)的 GPIO 介紹 ................................................................ 22 幀緩沖 framebuffer ................................................................................................. 24 幀緩沖設(shè)備驅(qū)動(dòng)結(jié)構(gòu) .................................................................................... 24 Linux 幀緩沖的關(guān)鍵數(shù)據(jù)結(jié)構(gòu) ..................................................................... 25 LCD 的關(guān)鍵數(shù)據(jù)結(jié)構(gòu) ............................................................................................. 28 LCD 驅(qū)動(dòng)程序設(shè)計(jì) ................................................................................................. 29 創(chuàng)建設(shè)備 ........................................................................................................ 29 注冊設(shè)備驅(qū)動(dòng) ................................................................................................ 30 LCD 驅(qū)動(dòng)的測試程序 ............................................................................................. 31 結(jié)論 .......................................................................................................................................... 33 參考文獻(xiàn) .................................................................................................................................. 34 附錄 1 ....................................................................................................................................... 36 致謝 .......................................................................................................................................... 64 哈爾濱 工業(yè)大學(xué)畢業(yè)設(shè)計(jì)(論文) 1 第一章 緒論 概述 現(xiàn)在的嵌入式開發(fā)始于微機(jī)時(shí)代的嵌入式應(yīng)用的。 device driver。 關(guān)鍵詞 :嵌入式; Linux;設(shè)備驅(qū)動(dòng);幀緩沖; LCD 哈爾濱 工業(yè)大學(xué)畢業(yè)設(shè)計(jì)(論文) II Abstract AbstractEmbedded devices because of its variety of plex and diverse characteristics of the decision to embedded devices must develop their own device drivers, device driver plays an important role in embedded systems. In this paper, indepth study and design of embedded Linuxbased LCD driver. ARM9 development board as the target machine, using a bination of VMware virtualization platform, as well as Windows and Linux operating systems software development platform to build a research and design the required crosspiler environment. Indepth study of the key technologies of memory and I/O access, concurrency control and so on. And then using the frame buffer technology, research and development of the LCD driver,LCD display control, and kernel programming. To show the application of fiv