Porting Android to our BB board
来源:互联网 发布:高性能linux 编辑:程序博客网 时间:2024/05/18 03:29
我们的 BB 板 linux 版本是 2.6.23.17-xxxxx。
下载官方 linux2.6.23
下载linux2.6.23-android-m3-rc20
比较linux2.6.23 和 linux.26.23-android-m3-rc20
差别是
driver/android
driver/bind
inlcude/linux/android_alarm.h
inlcude/linux/android_gadger.h
inlcude/linux/android_power.h
inlcude/linux/binder_module.h
inlcude/linux/binder_type_constants.h
inlcude/linux/logger.h
将这些文件拷贝到我们BB板的kernel src内
修改
drivers/Kconfig
添加行:
source "drivers/android/Kconfig"
drivers/Makefile
添加行:
obj-y += android/
obj-$(CONFIG_BINDER) += binder/
drivers/char/Kconfig
添加:
config BINDER
tristate "OpenBinder IPC Driver"
default n
help
from openbinder.org
最后修改arch/arm/configs/android_config
CONFIG_ANDROID_POWER=y
CONFIG_ANDROID_LOGGER=y
CONFIG_ANDROID_POWER_STAT=y
CONFIG_BINDER=y
然后编译kernerl, kernel 会要求是否编译 BINDER, 选yes.
kernel 交叉编译通过
- Porting Android to our BB board
- Porting uClinux to Samsung S3C44B0X Board
- Porting uClinux to Samsung S3C44B0X Board
- Porting MT6620 driver to EDesk board
- Porting Android to S3C6410
- Porting LTP to Android
- Porting iperf to Android
- Android ALSA porting to smartq7
- Android ALSA porting to smartq7
- porting iperf to Android platform
- Android ALSA porting to smartq7
- Porting WiFi drivers to Android
- Porting WiFi drivers to Android
- porting iperf to Android platform
- Porting WiFi drivers to Android
- porting multimedia framework to android
- Porting WiFi drivers to Android
- Porting WiFi drivers to Android
- 关于近期闹的满城风雨的高考作弊问题的一些联想(转)
- 前台线程与后台线程
- 自己实现全排列:I found some old code were good:We should think in a reverse way
- 网吧服务器从“黑”到“白”的艰难过程(2)
- 计算机考研专业课大纲 09
- Porting Android to our BB board
- 必须坚决反击“谷歌搜索购物”
- iPhone开发四剑客之《iPhone开发秘籍》
- XAMPP 是一个易于安装且包含 MySQL、PHP 和 Perl 的 Apache 发行版
- Spring.net Could not load type from string value
- Symbian 中的sdp服务
- sybase常用函数介绍
- 用rand()和srand()产生为随机数的方法总结
- 指针引用的意义