【正文】
sed to Control, Monitor or Assist the Operation of Equipment, Machinery or Plants )。嵌入式系統(tǒng)已得到越來越廣泛的應(yīng)用。對(duì)以后 Linux開發(fā)打下了很好的基礎(chǔ)。 以上燒寫的文件均是官網(wǎng)下載的,這樣可以使得 Linux 在開發(fā)板上更流暢的運(yùn)行。 本次設(shè)計(jì)主要研究了嵌入式 Linux系統(tǒng)從 PC 機(jī)向開發(fā)板上移植的過程,硬件平臺(tái)是基于 CPU:三星 S3C2440A,采用 ARM920T 內(nèi)核,主頻 400MHZ。 基于 ARM9 的 LINUX 操作系統(tǒng)移植 Transplantation of Linux Operation System Based on ARM9 Ⅰ 摘 要 隨著電子技術(shù)的不斷更新,嵌入式已經(jīng)涉及到各行各業(yè)了,在智能家電,數(shù)字移動(dòng)終端等這些行業(yè)嵌入式軟件開發(fā)的需求下,嵌入式集成開發(fā)環(huán)境已經(jīng)成為目前嵌入式系統(tǒng)發(fā)展的趨勢。 Linux作為優(yōu)秀的開源操作系統(tǒng)軟件被廣泛應(yīng)用到嵌入式操作系統(tǒng)中,它的實(shí)用性,可移植性,支持大容量的內(nèi)存, MMU(微控制器)和 I/O系統(tǒng)等得到了體現(xiàn)。本文介紹了嵌入式系統(tǒng)的概念和現(xiàn)狀以及嵌入式系統(tǒng)的開發(fā)模式,介紹了內(nèi)核啟動(dòng)流程,對(duì)Bootloader 啟動(dòng)進(jìn)行了分析,移植了 Linux 內(nèi)核,移植了文件系統(tǒng) yaffs 以及自己的LED 程序移植。 本次設(shè)計(jì)成功的將嵌入式 Linux系統(tǒng)移植到了 FL2440 開發(fā)板,文件系統(tǒng)運(yùn)行正常,可通過觸摸屏進(jìn)行操作, LED 程序 調(diào)試成功,并在開發(fā)板上得到了運(yùn)行結(jié)果。 關(guān)鍵詞: 嵌入式系統(tǒng) Linux Bootloader 文件系統(tǒng) Ⅱ Abstract Along with the continuous renewal of electronic technology, the development of embedded system has bee the mainstream of science and technology, under the requirements of embedded software development in the intelligent home appliance, digital mobile industry, the embedded integrated development environment has bee the trend of the development of the embedded system at present. Linux as excellent open source operating system software has been widely applied to embedded operating system,whose featares such of practical applicability, portability, supporting large capacity memory, MMU (microcontroller) and I/O system have been reflected. Mainly from the PC to transplant process the embedded Linux system are studied on the development board, hardware platform is based on CPU: samsung S3C2440A, adopted ARM920T kernel, dominant frequency 400 MHZ. This paper introduces the concept of embedded system and the status quo and development mode of the embedded system, the kernel boot process is introduced, the Bootloader startup was analyzed, and the transplantation of the Linux kernel, transplant yaffs file system as well as their own LED transplant program. The above writing files are the official website to download, so you can make the Linux more smoothly in the development board to run. The design successful porting embedded Linux system to FL2440 development board, file system running normal, can be operated by touch screen, LED program debugging is successful, and gets the results on the development board. For future study Linux development laid a good foundation. Key words: embedded system Linux Bootloader file system Ⅲ 目 錄 摘要 ................................................................................................................................ I Abstract ........................................................................................................................ II 緒論 ............................................................................................................................... 1 1 嵌入式 Li nux 系統(tǒng)構(gòu)成和軟件開發(fā)環(huán)境 .............................................................. 5 嵌入式 Linux系統(tǒng)的體系結(jié)構(gòu) .......................................................................... 5 嵌入式 Linux系統(tǒng)硬件平臺(tái) ............................................................................... 5 S3C2440A 處理器簡介 .................................................................................... 5 硬件系統(tǒng)整體結(jié)構(gòu) ........................................................................................... 7 嵌入式 Linux開發(fā)軟件平臺(tái)建立 ..................................................................... 12 集成開發(fā)環(huán)境 .................................................................................. 12 DNW 串口調(diào)試軟件 ....................................................................................... 12 2 嵌入式 Linux 的引導(dǎo) BootLoader 程序 ............................................................... 14 BootLoader 概述 ................................................................................................ 14 NAND Flash 和 NOR Flash的區(qū)別 .................................................................. 14 BootLoader 移植 ................................................................................................ 15 3 Linux 內(nèi)核的編譯、移植 ..................................................................................... 21 內(nèi)核的新特性簡介 ............................................................................. 21 Linux內(nèi)核啟動(dòng)流程 .......................................................................................... 21 內(nèi)核移植的實(shí)現(xiàn) ................................................................................................ 22 4 移植文件系統(tǒng) yaffs .............................................................................................. 24 yaffs 文件系統(tǒng)簡介 ........................................................................................... 24 yaffs 文件系統(tǒng)移植的實(shí)現(xiàn) ............................................................................... 24