【Android源码 栏目提醒】:网学会员为需要Android源码 的朋友们搜集整理了Android操作系统分析与移植 - 硕士论文相关资料,希望对各位网友有所帮助!
摘要 随着现代工业及计算机科学技术的发展 消费类移动电子产品越来越普及 新产品也不断地出现 quot嵌入式操作系统在移动电子设备上发挥着越来越重要的作用 quot伴随着嵌入式移动电子产品和嵌入式技术的发展 嵌入式操作系统也越来越受人关注 quot寻找一款稳定 开放的嵌入式操作系统 成了各大开发厂商的首要任务 quot 以往各大厂商基本上都是开发自己的操作系统 但是这种方式成本很大 开发周期也很长 而且不同系统间兼容性差 不利于平台的推广 quot但是 自从 G oogle 公司发布了 A ndroi 操作系统之后 d各大厂商以及很多研究人员都加入到该系统的开发 希望可以将该系统应用于自己的产 oi品硬件平台quotAndr d 是一个专门为移动设备设计的操作系统平台 凭借其良好的稳定性 可移植性和开放性 迅速攻占了大部分的移动电子设备市场 quot 随着嵌入式硬件技术 d的发展 以及对操作系统的功能需求以日俱增 A ndroi 操作系统在嵌入式领域中有着越来越广阔的前景 quot oid 本文针对A ndr 操作系统对大多数嵌入式硬件平台都支持的特点 oid提出将A ndr 操作系统移植到S3C 2440开发板的课题 希望得到一个稳定可用的平台并应用到平板电脑产品上quot 本文所做的工作包括: 1 项目的背景研究 quot通过将 A ndroi 操作系统与国内外各大平板电脑操作系统的 d发展现状比较 突出其优势 quot接着对 A ndroi 的应用发展状况以及国内外学术界对该系 d统的研究进行分析 quot并在此基础上 分析本课题的意义所在 quot 2 Andr d 操作系统之研究quot包括了解 Andr d 系统运行的硬件需要求以及对 oi oi d dA ndroi 系统的架构及其特色作出分析 并重点对 A ndroi 的启动流程进行研究 为移植的工作打下基础 quot 3 A ndroi 移植前期分析与准备 quot主要是明确移植目标和移植流程 为 A ndroid 的 d移植搭建好开发环境 quot 4 oi 系统 Andr d 内核移 quot 括某些 植包 与平台相关性代码的修改以及驱动代码的移植quot通过对驱动代码的修改 保证了硬件设备的正常工作状态 quot最后对修改内核代码启动测试 保证系统可以正常启动运行 为 A ndr 文件系统程序的运行提供服务保证 quot oid 5 A ndroi 文件系统移植 quot包括修改根文件系统源码以支持 A rm v4 指令集 以及 d生成 Y A FFS2 格式根文件系统等 保证系统在开机后可正常运行 quot 6 A ndroi W i 功能 d Fi 模块和电源管理模块的移植和测试quot主要工作包 Fi 括对 W i 模 I块和电源管理模块的工作原理 工作流程分析 以及针对移植前这两个模块不能正常工作的问题产生原因进行代码修改 并在目标板上进行测试等 quot保证系统 W iFi 模块和电源管理模块能正常工作 提高系统的可用性和稳定性 quot 7 对移植的 A ndr d 系统整合性测试 quot根据我们的移植目标 对所移植的 A ndroi oi d系统在目标板上进行测试 设计出有代表性的测试方案和测试用例 检验系统的健壮性和稳定性 验证其可以应用于平板电脑产品的结论 quot 键 : oi 作 统 植 nux 植 Fi 块 植 源 理 块 植关 词 Andr d 操 系 移 Li 移 W i 模 移 电 管 模 移 II A bstract t he opm n ndust er enc W ih t devel ent of m oder i ry and Com put Sci e and Technology um le roni easingl popul new product arecons er m obi elect cs products are becom ing incr y ar s so anty gi n he . atng em ays easi yal const l emer ng i t market Em bedded oper i syst pl an incr nglm ant e n ectr emi port rol i m obile el onic devices.M oreover em bedded operating syst gets m ore n t opm e ectroni product andand m ore concer w ih the devel ent of em bedded m obil el c s echnolem bedded t able open em bedded operat system has becom e ogy. Looking for a st inghe m y ious devel ent com pani In t past m ost of t devel entt pri ar task of var opm es. he he opm es op hei atng ecompani devel t r ow n oper i syst m butt s met cost a l l t a ver l hi hod s ot ass y ong opm e bilty ffer chdevel ent cycl and causes poor com pati i am ong di ent system s w hi is not ve on m e eased t A ndroiconduci for the prom oti of platfor . H ow ever since G oogl rel he d ati em ious m anufactur and roper ng syst var ers oined this syst developi esearchers have j em ng oject aim t apply it to t hardw are pl form of t products. A ndroi is operatipr o he at heir d ng t ator gne f all orsys em pl f m which is desi d speciic y f m obi devi . W ih excelentstbilt le ces t l a iy tabi t t ur he l ectonic device m arket rapipor liy and openness i capt ed m ost of t m obie el r dly. th dw e echnology as w el as t iW i the developm ent of em bedded har ar t ng l he ncreasi dem andor he ati em ion ing si ure nf t oper ng syst funct A ndroid operat system has a m ore prom i ng fut ihe echnol fi C onsi ng t char eris cs t A ndr operat s emt em bedded t ogy eld. deri he act ti hat oid ing ystcan s t t a ormst s author pr es t subj of uppor m os ofthe em bedded hardware pltf hi opos he ectranspl ng the A ndr oper ng syst to t subj of S3C 2440 devel ent boardt anti oid ati em he ect opm m tabl labl at o ablet PC prai to get a s e avai e pl form and apply itt the t oduct. n hi low O ur w ork i t s paper is showed as fol : ound research of t pr 1. The backgr . ng he he oject C om pari t developm ent status betweenhe d a ng em or et tng ys oad het Androi oper ti syst and maj Tabl PC operai s tem athome and abr t ti e ghli he ages. Then i analyzes t appl ion and t dom esti andar cl hi ghts t advant t he icat he corei earch of t A ndroi system .A nd based on t anal i point outtf gn academ ic res he d he yses t s he hem eaning oft project. earch of t A ndroi operat s 2. The res he d t ncludes real ng the har are ing ystem . I i izi dwequi m unni oi yst lyzng he r ure eri i her re ent of r ng A ndr d s em ana i t stuct and charact stc of t II I d em aunch process of A ndr sA ndroi syst and focusing on the l he oid ystem w hich is for toundati of the tansplant ion.f on r at ysi e aton he oi e-tanspl . s t s nl 3. The anal s and pr par i of t A ndr d pr r ant T hi par i mai y ici ranspl atonw hi i f t bett devel entexpl t about the aim and process of the t ant i ch s or he er opm r he rans ant on he d tenvionmentof t t pl ati oft Androi sysem . ranspl 4. Kernel t ion d ystem .It i antat of A ndroi s ncludes cert m odi ain ficati of plat on form rel on ansplantat of dri code. T hrcor ati code and tr ion ver he si ough t revi on of driver code w e antee the norm al w ork of hardware devices Fi y star t i of the r sed kernelguar . nall t estng evi o ure he em y ding service guarant fcodet ens thatt syst can startand operate norm all provi ee or ut on oi l e ogram.exec i ofA ndr d fiesyst m pr oid l plant i I i 5. A ndr fie system trans ng s le em ce aton. t ncludes m odifyi root fi syst sour nst i ati oot e ystem to guarantcode to support A rm v4 i ructon set and gener ng YA FFS2 r fil s ee n i er arsystem i norm aloperaton aft st tup. plant on and tes of W iFi funct 6. Trans ati t e e n ional m odul and pow er m anagem ent m odul i oi t j k udes anal ng operat pr pl and fl of W iAndr d sysem . O ur m a or w or incl yzi ing inci e ow Fi ying t code accordi t the cause ofm odule and pow er m anagem ent m oduleand m odif he ng ohese t o m odules can not w ork nor al before transplant i then t ing on the t gett w m ly aton est ar d e e m lyboar etc. Ensure W iFi m odul and pow er m anagem ent m odul can w ork nor al andm li abil y hei prove usabi ty and st it of t system . t nt aton es ant oi di o l 7. Sysem i egr i t t of Transpl ed A ndr d. Accor ng t our goa ofransplt ion w e test the t antat ranspl anted A ndr oid syst he arget board des em in t t ignepresent i t pl and testcases ai to testt accur and st it of t syst andr atve est an m he acy abil y he em ify usion that i can be appl to tabl PC productver the concl t ied et s. : d ati em r plant iK eyw ords Androi O per ng Syst tans aton Li ux tanspl atonW i m odul n r ant i Fi e ranspl t ion rans ati antat Pow er m anagem entm odule t plant on V I 目录 ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ....I摘要.. ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ...... ... r .................................................................. IAbstact..................................................................II ...............................................................第一章 绪论...............................................................1 1 ........................................................... 1. 研究背景...........................................................1 . ...... ...... ...... ...... ...... .... 1.2 移动设备嵌入式操作系统的发展现状 ... ...... ...... ...... ...... ...... .. 1 3 oid ......................................3 1. A ndr 操作系统的应用研究现状....................................... 3. oid .................................................3 1. 1 A ndr 的优势.................................................. 3.2 oid ...... ...... ...... ...... .... 1. A ndr 在各种移动设备的应用发展状况 . ...... ...... ...... ...... .. 4 3. oid .....................................5 1. 3 A ndr 应用软件的发展现状...................................... 3. oi ....................................5 1. 4 学术界对 A ndr d 系统的研究..................................... ... ...... ...... ...... ...... ...... ...... ...... .... 1.4 研究内容及研究意义 ..... ...... ...... ...... ...... ...... ...... ...... .. 6 5 ..................................................... 1. 论文的组织结构.....................................................7 6 ........................................................... 1. 本章小结...........................................................7 d ...... ...... ...... ...... ...... ...... ...... ....第二章 A ndroi 操作系统之研究.. ...... ...... ...... ...... ...... ...... ...... .. 8 1 oid ..........................................8 2. A ndr 平台运行的硬件需求........................................... 2 oid ........................................8 2. A ndr 操作系统架构及其特色......................................... 3 oid ...................................................10 2. A ndr 内核分析.................................................... 4 oid ...........................................12 2. A ndr 文件系统组织结构............................................ nux oid ding .. ...... ...... ...... .13 2.5 传统 L i 与 A ndr 的 B uil Environm ent 分析 . ...... ...... ...... ... 6 oid .........................................14 2. A ndr 系统的启动流程分析.......................................... 6. t 程 ......................................................15 2. 1 ini 进 ....................................................... 6.2 e ...... ...... ...... ...... ...... ...... ...... ...... ...... .18 2. Z ygot ...... ...... ...... ...... ...... ...... ...... ...... ...... ... 6. .................................................... 2. 3 H ome 启动....................................................19 6.4 .. ...... ...... ...... ...... ...... ...... ...... ...... ... 2. 本章小结 .... ...... ...... ...... ...... ...... ...... ...... ...... .19 d 植前期第三章 A ndroi 移 分析与 ......................................... 准备.........................................20 1 ................................................ 3. 移植目标和移植流程................................................20 ... ...... ...... ...... ...... ...... ...... ...... ... 3.2 目标平台的硬件规格 ..... ...... ...... ...... ...... ...... ...... ...... .21 V ... ...... ...... ...... ...... ...... ...... ...... ...... ... 3.3 移植准备工作 ..... ...... ...... ...... ...... ...... ...... ...... ...... .21 3. ................................... 3. 1 获取内核源码和文件系统源码...................................21 3. ......................................... 3. 2 下载并编译交叉工具链.........................................22 4 .......................................................... 3. 本.上一篇:Android例子大全(带运行截图)