【正文】
開發(fā)常用的“宿主機 /目標機”開發(fā)模式,使用嵌入式 Linux 系統(tǒng)下的各類編輯編譯程序的工具,改寫 Linux 內核驅動程序,通過編譯內核,更新內核程序,利用幀緩沖的方式,實現了液晶顯示器的驅動, 同時實現在 LCD 液晶顯示屏上動態(tài)顯示多張圖片 。 關鍵詞 : 嵌入式 ARM9 系列 LCD Linux 內核 動態(tài)顯示 關鍵技術 廣東石油化工學院本科畢業(yè) (設計 )論文: 基于 ARM+Linux 的 LCD 驅動設計 II Abstract In recent years, with the development of puter technology and integrated circuit technology, embedded technology is the growing popularity of playing an increasingly important role in munications, working, industrial, medical, electronics and other fields. Information age, the digital age makes embedded products was a great opportunity for development, show a bright future for the embedded market, but also new challenges for embedded. In this design, hardware platform of ARM9 more columns, the performance of highend chip. The ARM9 family processors mainstream British pany ARM embedded processors, new design, the more transistors can be achieved more than twice the processing capabilities of the ARM7 processor. This processing capability is achieved by increasing the clock frequency and reduce the cycle of instruction execution. Using model WXCAT35TG3 LCD display, the size of the LCD display is inch with a resolution of 320 240 touch screen response time less than 10ms. The software platform uses the Linux kernel version . Linux system more widely in the embedded field, with its own high degree of modular, open source, a wide range of hardware support, security and reliability, with excellent development tool, have a good work to support the Lee file system support and is fully patible with UNIX features are inseparable, so the design of Linux as a software platform. The ultimate goal of this design is a dynamic display on the LCD display multiple pictures related to the LCD driver layer to the application layer, key technologies, LCD driver, the picture decoding, LCD applications to achieve. Keywords: Embedded ARM9 series LCD Linux kernel Dynamic display key technologies 目錄 I 目 錄 摘 要 ................................................................. I Abstract .............................................................. II 引 言 ............................................................. 1 第一章 ARM9 s3c2410 簡介 ........................................... 2 ARM 技術 .................................................... 2 s3c2410 處理器介紹 .......................................... 2 AMBA、 AHB、 APB 總線特點 ............................... 3 S3C2410 處理器體系結構 ................................. 4 S3C2410 處理器體系結構 ................................. 4 S3C2410 處理器存儲器映射 ............................... 4 S3C2410 處理器時鐘和電源管理 ........................... 4 第二章 嵌入式 Linux簡介 ............................................ 6 嵌入式 Linux 系統(tǒng)概述 ........................................ 6 嵌入式 Linux 系統(tǒng)的優(yōu)勢 ...................................... 6 構建嵌入式 Linux ............................................ 7 精簡內核 .............................................. 7 系統(tǒng)啟動 .............................................. 8 設備驅動程序 .......................................... 9 第三章 開發(fā)工具 ................................................... 11 開發(fā)環(huán)境 .................................................. 11 虛擬機中安裝 .............................. 11 配置網絡 ............................................. 13 配置 samba 服務器 ..................................... 14 交叉編譯工具 .............................................. 15 安裝 TFTP 和 NFS 服務 ....................................... 15 安裝 TFTP 服務 ........................................ 16 安裝 NFS 服務 ......................................... 17 系統(tǒng)啟動環(huán)境搭建 .......................................... 18 uboot 啟動搭建 ........................................ 18 Linux 內核啟動搭建 .................................... 19 文件系統(tǒng)搭建 ......................................... 21 第四章 LCD 驅動實現 ............................................... 22 S3C2410 LCD 控制器分析 ..................................... 22 TFT 屏時序分析 ........................................ 23 LCD 控制器主要寄存器介紹 .............................. 24 LCD 驅動內核層次分析 ....................................... 26 FrameBuffer 的介紹 .................................... 27 FrameBuffer 的數據結構 ................................ 27 FrameBuffer 對驅動的統(tǒng)一管理 .......................... 30 實現消息分派 ......................................... 31 LCD 驅動實現代碼分析 ....................................... 32 設置 fb_info .......................................... 32 廣東石油化工學院本科畢業(yè) (設計 )論文: 基于 ARM+Linux 的 LCD 驅動設計 II 設置 LCD 硬件 ......................................... 38 注冊 fb_info .......................................... 50 添加驅動到內核 ............................................ 51 修改內核 Makefile ..................................... 51 支持啟動 LCD 顯示 ..................................... 51 第五章 LCD 應用程序實現 ........................................... 53 在 LCD 上顯示 JPG 格式圖片的主流程圖 ........................ 53 bmp 圖片格式分析 ........................................... 53 文件頭 ............................................... 54 信息頭 ............................................... 55 顏色 數據結構 ......................................... 56 提取圖像數據 ......................................... 56 應用程序代碼實現分析 ...................................... 57 獲取顯存地址 ......................................... 58 讀取 JPG 格式圖片 ..................................... 59 用位圖數據填充 LCD 顯存 ............................... 59 main 函數實現 .....................................