摘要
当前Android的板级支持包(BSP)移植开发人员不仅需要熟悉具体型号芯片的开发手册,还需要调整部分驱动封装代码,工作效率较低。为此,通过对Android Linux内核源代码进行重构,设计并实现一种基于源代码分类管理的Andriod BSP移植管理框架。形式化定义Android Linux内核源码重构规则,基于该规则对Android Linux内核源码按照原生Linux内核代码、Google Android驱动程序、厂商板硬件相关BSP代码3类进行管理,设计Android BSP移植自动适配工具,实现面向特定开发板和特定Linux内核版本的Android Linux内核源代码自动生成。测试结果表明,该管理框架能够提高BSP移植开发人员移植和升级开发板Android Linux内核的工作效率。
Considering the fact that,Android Board Support Package( BSP) transplantation personnel not only needs to be familiar with the specific model chip development manual over again,but also needs to adjust the package code of some parts of the drivers and other issues,this paper reconstructs Android Linux source code to design and implement a framework of Android BSP transplantation based on the classified management of source code. The framework defines Android Linux kernel source code reconstruction rules. Based on the rules,it manages Android Linux kernel source code in accordance with the native Linux kernel code, Google Android drivers and BSP code associated with manufacturer board. In addition,an Android BSP transplantation automatic adaptation tool is designed which implements the automatic constitution of Android Linux kernel source code. Test result proves that the framework can significantly improve work efficiency of transplanting and upgrading board Android Linux kernel.
出处
《计算机工程》
CAS
CSCD
2014年第11期245-249,共5页
Computer Engineering
基金
国家科技重大专项基金资助项目"新一代宽带无线移动通信网"(2011ZX03006-003)
关键词
LINUX内核
ANDROID
Linux内核源码
组织结构
重构
板级支持包移植
自动适配技术
Linux kernel
Android Linux kernel source code
organizational structure
reconstruction
Board Support Package( BSP) transplantation
automatically adapting technology