簡易檢索 / 詳目顯示

研究生: 張憲榕
Hsien-Jung Chang
論文名稱: Android系統移植及應用程式開發
Android system porting and Application Development
指導教授: 邱炳樟
Bin-Chang Chieu
口試委員: 柳宗禹
Tzong-Yeu Leou
方文賢
Wen-Hsien Fang
學位類別: 碩士
Master
系所名稱: 電資學院 - 電子工程系
Department of Electronic and Computer Engineering
論文出版年: 2011
畢業學年度: 99
語文別: 中文
論文頁數: 95
中文關鍵詞: 嵌入式ARMCortex A8OMAPAndroid
外文關鍵詞: Embedded System, ARM, Cortex A8, OMAP, Android
相關次數: 點閱:240下載:0
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • Android系統自2008年10月上市以來,投入的廠商越來越多,根據ComScore的調查報告,今年一月美國的智慧型手機有31.2%是Android系統,正式超過了RIM的黑莓機,也就是Android系統的手機從開始上市到市占率第一只花了27個月就達到目標,成為最受消費者歡迎及成長率最快的手機作業系統。

    但Android本著開放源碼讓所有人都能取得系統原始碼,使得Android已經不只被用在行動電話系統上,例如智慧型電視,機上盒,平板電腦,PC,車用電子(導航或影音系統),甚至工業控制電腦上,而硬體平台也不只被移植到ARM系統上,其他如X86或MIPS等都能成功的移植,基本上有支援LINUX 2.6.29及之後版本作業系統的硬體平台多半能順利的移植,而越來越多樣的產品線採用Android後,使得越來越多廠商熟悉這平台,進而開發出更多的應用程式,因此又吸引更多的消費者購買Android相關的產品,市場做大後又能創造出更多的廠商投入,使得未來熟悉Android開發的技術人才會是電子產品市場亟需要的人力資源。

    本論文是以TI的OMAP 3530(ARM Cortex A8 Core)硬體平台來實作整個系統的移植,其中包含底層硬體驅動程式的移植,到中間的中介層(Middle Ware),最後到上層的應用程式開發環境建立到完成一個DLNA Player應用程式的過程,希望能作為想進入Android平台開發的人員作為參考的資源之一。


    More and more vendors have used Android system since it launched October 2008. According to the survey from ComScore, Android system holds an overall US’s smart phone market shares of 31.2%, surpassing RIM’s blackberry. In other words, the mobile handsets with Android system only spend 27 months to reach the target of the first market share since it launched in the beginning and become the most popular to consumers and fastest growth rate of mobile operating system.

    Everyone can access the system source code from Android with open source code and consequently Android not only be used on the mobile phone system but others such as smart TVs, set-top boxes, tablet PCs, PCs, automotive electronics (navigation or entertainment system) and even the industrial computers. In terms of hardware platform, it can be ported not only on the ARM system but also X86 or MIPS successfully. Basically most of the hardware platform support LINUX 2.6.29 and its update version can be ported with Android system smoothly. More and more vendors are familiar with this platform due to more and more products adopted with Android; therefore more Apps are under development and attract more consumers to buy Android-related products. Bigger market share will cause investment from more vendors and this will make technical of talents who are familiar with Android system development are in great demand in terms of human resource of electronics market.

    The thesis is using TI’s OMAP 3530(ARM Cortex A8 Core)as the hardware platform to implement the system porting which contains the accomplishment for whole progress of DLNA Player application program from porting driver at the bottom layer through the middle wave at the middle layer then to the application development of programming environment at the most upper layer. Recommend it to be one of the resources to the entry-level of Android system developers.

    摘要II AbstractIII 誌謝V 目錄VI 圖目錄IX 表目錄X 第一章 序論1 1.1研究動機1 1.2目標功能2 1.3論文架構3 第二章 硬體開發平臺介紹5 2.1DEVKIT8000 OMAP3530 開發板介紹5 2.2OMAP 3530 應用處理器介紹7 2.2.1ARM Cortex A8之介紹7 2.2.2OMAP 3530 內部架構介紹9 2.3外接硬體規格11 2.3.1觸控TFT LCD11 2.3.2SDIO WiFi 無線網路卡12 2.3.36x6矩陣鍵盤13 第三章 軟體元件介紹15 3.1X-Loader介紹15 3.2U-Boot介紹15 3.3Linux Kernel and device driver16 3.4Middleware17 3.5Android root file system介紹17 3.6DLNA Player – an Android application19 3.6.2DLNA的基本組件23 3.6.3DLNA軟體架構:25 3.7Android Debug Bridge (ADB)26 3.8Android模擬器27 第四章 系統移植及應用程式開發28 4.1Linux及Android開發環境建立System28 4.2編譯Android及Linux核心29 4.2.1取得Android及Kernel Source Code29 4.2.2編譯Android30 4.2.3加速編譯速度:31 4.2.4Android Make 編譯的選項31 4.2.5編譯Linux Kernel32 4.3設備驅動程式移植33 4.3.1矩陣鍵盤33 4.3.2Linux核心的鍵盤支援程式36 4.3.3開發板相關的Linux底層鍵盤驅動程式37 4.3.4Android系統內的鍵盤相關設定檔案39 4.3.5指定使用keyboard layout和mapping檔案42 4.3.6Debug keyboard event42 4.3.7Android加入WiFi支援44 4.3.8SDIO介面:44 4.3.9在Linux核心加入SDIO支援46 4.3.10修改Linux WLAN kernel driver51 4.3.11Android系統加入支援WiFi的編譯選項55 4.3.12設定WiFi的wpa_supplicant連線選項55 4.3.13Android系統WiFi的啟始化設定56 4.3.14Dev8000 開發板的網路介面起始化59 4.3.15Android系統內WiFi相關程式修改59 4.4建立Android系統應用程式61 4.4.1Android SDK 發展系統安裝61 4.4.2以SVN下載DLNA源碼66 4.4.3Android應用程式的組成元件69 4.4.4建立Android Application Project69 4.4.5Android程式編譯階段Debug70 4.4.6安裝應用程式72 4.5測試環境建立73 4.6系統測試75 4.6.1測試前置作業75 4.6.2Android程式執行階段Debug75 第五章 結論與未來展望80 5.1結論80 5.2未來展望80 參考文獻82 作者簡介85

    【1】ARM : Cortex-A8 Processor
    http://www.arm.com/products/processors/cortex-a/cortex-a8.php
    【2】GNU 通用公共許可證(GPL)
    http://www.gnu.org/copyleft/gpl.html
    【3】Jserv's blog : GPL 授權的晦暗一面
    http://blog.linux.org.tw/~jserv/archives/001805.html
    【4】TI : OMAP3530 Application Processor
    http://focus.ti.com/docs/prod/folders/print/omap3530.html
    【5】OMAP3530評估套件-DevKit8000
    http://elinux.org/DevKit8000
    http://www.timll.com/products/Devkit8000.asp
    【6】Bo Pang : Android Middleware
    http://www.cse.tkk.fi/fi/opinnot/T-110.7111/2010/luennot-files/Android%20Middleware.ppt
    【7】维基百科 : Secure Digital
    http://zh.wikipedia.org/wiki/Secure_Digital
    【8】SD Accociation : SDIO
    http://www.sdcard.org/developers/tech/sdio/
    【9】Marvell 88W8686 WiFi Chip
    http://www.marvell.com/products/wireless/wi-fi.html
    【10】ArchLinux : WPA(Wi-Fi Protected Access) supplicant
    https://wiki.archlinux.org/index.php/WPA_supplicant
    【11】ExamplesNow : Wi-Fi Protected Access client and IEEE 802.1X supplicant
    http://www.examplenow.com/wpa_supplicant/
    【12】Nicu Pavel : Porting WiFi driver to Android
    http://blog.linuxconsulting.ro/2010/04/porting-wifi-drivers-to-android.html
    【13】0xLab : WiFi Patch for Android
    http://groups.google.com/group/0xlab-devel/browse_thread/thread/ec619807a84ff461?pli=1
    【14】Home of DLNA
    http://www.dlna.org/home
    【15】Teojala : Android Dlna Player
    http://sourceforge.net/projects/droiddlnaplayer/
    【16】DLNA for HD Video Streaming in Home Networking Environments
    http://www.dlna.org/about_us/about/DLNA_Whitepaper.pdf
    【17】0xLab : Get 0xDroid source code from 0xLab
    http://code.google.com/p/0xdroid/wiki/Source
    【18】0xLab : 0xDroid Roadmap
    http://code.google.com/p/0xdroid/wiki/Roadmap
    【19】0xLab : Technical Preview video of 0xDroid
    http://code.google.com/p/0xdroid/wiki/TechPreview
    【20】Google inc., Android Developers : What is the NDK?
    http://developer.android.com/sdk/ndk/overview.html
    【21】Google inc., Android Developers : Install Android SDK
    http://developer.android.com/sdk/installing.html
    【22】Google inc., Android Developers : Install Android debug tool in Eclipse IDE
    http://developer.android.com/sdk/eclipse-adt.html#installing
    【23】Google inc., Android Developers : Android Debug Bridge
    http://developer.android.com/guide/developing/tools/adb.html
    【24】Google inc., Android Developers : Android Emulator
    http://developer.android.com/guide/developing/tools/emulator.html

    【25】Liang Kuo : SVN (Subversion 、TortoiseSVN)設定大全
    http://blog.liangkuo.org/2007/03/svn-subversion-tortoisesvn.html
    【26】Engadget 中文版 : Android@Home,會否一統家庭自動化產業標準?
    http://chinese.engadget.com/2011/05/14/can-android-at-home-lead-home-automation-standard/
    【27】Michael Thuresson 2006/1月號 電子科技 : Z-Wave與ZigBee競爭成為標準
    【28】TI : OMAP3/4 development DSP Bridge project
    https://gforge.ti.com/gf/project/omapbridge/
    【29】DSP on Beagleboard running Android
    http://zh-hk.facebook.com/note.php?note_id=191539049361

    無法下載圖示 全文公開日期 2016/07/26 (校內網路)
    全文公開日期 本全文未授權公開 (校外網路)
    全文公開日期 本全文未授權公開 (國家圖書館:臺灣博碩士論文系統)
    QR CODE