android bsp学习_基于Android的BSP移植自动适配技术

本文提出了一种基于源代码分类管理的Android BSP移植管理框架,通过形式化定义重构规则,将Android Linux内核源码分为原生Linux内核、Google Android驱动和厂商硬件相关BSP代码三类,设计了自动适配工具,实现了特定开发板和Linux内核版本的自动生成,从而提高了移植和升级效率。
摘要由CSDN通过智能技术生成

TP302

基金项目

:

国家科技重大专项基金资助项目

新一代宽带无线移动通信网

”(2011

ZX

03006

-

003)。

作者简介

:

杨海民

(1990

-

),

,

硕士研究生

,

主研方向

:

嵌入式系统

,

信息安全

;

,

教授

;

,

讲师

收稿日期

:

2013

-

10

-

28

修回日期

:

2013

-

12

-

29

E-mail

:

151********@

163

.

com

基于

Android

BSP

移植自动适配技术

杨海民

a

,

a

,

a

,

a

,

b

(

解放军理工大学

a.

指挥信息系统学院

;

b.

通信工程学院

,

南京

210007)

:

当前

Android

的板级支持包

(

BSP

)

移植开发人员不仅需要熟悉具体型号芯片的开发手册

,

还需要调整部

分驱动封装代码

,

工作效率较低

为此

,

通过对

Android

Linux

内核源代码进行重构

,

设计并实现一种基于源代码分

类管理的

Andriod

BSP

移植管理框架

形式化定义

Android

Linux

内核源码重构规则

,

基于该规则对

Android

Linux

内核源码按照原生

Linux

内核代码

Google

Android

驱动程序

厂商板硬件相关

BSP

代码

3

类进行管理

,

设计

Android

BSP

移植自动适配工具

,

实现面向特定开发板和特定

Linux

内核版本的

Android

Linux

内核源代码自动生

测试结果表明

,

该管理框架能够提高

BSP

移植开发人员移植和升级开发板

Android

Linux

内核的工作效率

关键词

:

Linux

内核

;

Android

Linux

内核源码

;

组织结构

;

重构

;

板级支持包移植

;

自动适配技术

中文引用格式

:

杨海民

,

,

,

.

基于

Android

BSP

移植自动适配技术

[

J

]

.

计算机工程

,2014,

40(11):245

-

249

.

英文引用格式

:

Yang

Haimin

,

Zhang

Tao

,

Zhao

Min

,

et

al.

BSP

Transplantation

Automatically

Adapting

Technology

Based

on

Android

[

J

]

.

Computer

Engineering

,2014,40(11):245

-

249

.

BSP

Transplantation

Automatically

Adapting

Technology

Based

on

Android

YANG

Haimin

a

,

ZHANG

Tao

a

,

ZHAO

Min

a

,

YOU

Jun

a

,

DONG

Min

b

(

a.

Institute

of

Command

Information

System

;

b.

Institute

of

Communication

Engineering

,

PLA

University

of

Science

and

Technology

,

Nanjing

210007,

China

)

Abstract

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.

Key

words

Linux

kernel

;

Android

Linux

kernel

source

code

;

organizational

structure

;

reconstruction

;

Board

Support

Package

(

BSP

)

transplantation

;

automatically

adapting

technology

DOI

:10

.

3969

/

j.

issn.

1000

-

3428

.

2014

.

11

.

049

1

概述

Google

Android

2007

11

月首次发布以来

,

已经历了数个版本更新

,

市场上采用该系统的移动

设备数量也在飞速增长

为便于系统的移植和硬件

适配

,

Google

Android

系统被设计成分层的架构

,

底向上分别是

Linux

内核层

本地层

(

Native

)

/

运行

时层

(

Runtime

)、

(

Framework

)

(

Application

)

[1]

Android

系统运行的基础是

Linux

,

所有的硬件驱动程序

设备管理和进程间通信机制

都在底层

Linux

内核中实现

为了在不同架构

同配置的硬件设备上移植运行

Android

系统

,

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值