-
R58的公板改动的文件20160621自动适应bma250+l3gd20+bmg160.7z下载
资源介绍
R58的公板改动的文件20160621自动适应bma250+l3gd20+bmg160.7z
bma250为开发板自带。
l3gd20和bmg160为外挂的陀螺仪模块!
编译选项为F1。
一、文件解压(备注:项目文件夹为R16)
1、将lichee.tar.gz解压至项目文件夹R16中;
2、在项目文件夹中,新建“android”文件夹,并把“android1.tar.gz”、“android2.tar.gz”、“android3.tar.gz”、
“android4.tar.gz”、“android5.tar.gz”压缩包分别解压至“android”文件夹中;
二、编译
1、编译lichee:
cm@cm-System-Product-Name:/R16/lichee$ ./build.sh config
Welcome to mkscript setup progress
All available chips:
0. sun8iw5p1
Choice: 0
All available platforms:
0. android
1. dragonboard
2. linux
3. tina
Choice: 0
All available kernel:
0. linux-3.4
Choice: 0
All available boards:
0. bell-one
1. evb
2. evb-20
3. evb-rtl8723bs
4. sc3813r
Choice: 2
cm@cm-System-Product-Name:/R16/lichee$
cm@cm-System-Product-Name:/R16/lichee$ ./build.sh
INFO: ----------------------------------------
INFO: build lichee ...
INFO: chip: sun8iw5p1
INFO: platform: android
INFO: kernel: linux-3.4
INFO: board: evb-20
INFO: output: out/sun8iw5p1/android/evb-20
INFO: ----------------------------------------
INFO: build buildroot ...
external toolchain has been installed
INFO: build buildroot OK.
INFO: build kernel ...
INFO: prepare toolchain ...
Building kernel
^C
2、编译Android:
cm@cm-System-Product-Name:/R16/android$
$ source build/envsetup.sh
cm@cm-System-Product-Name:/R16/android$
$ lunch
You're building on Linux
Lunch menu... pick a combo:
1. aosp_arm-eng
2. aosp_x86-eng
3. aosp_mips-eng
4. vbox_x86-eng
5. aosp_deb-userdebug
6. aosp_flo-userdebug
7. aosp_grouper-userdebug
8. aosp_tilapia-userdebug
9. mini_armv7a_neon-userdebug
10. mini_mips-userdebug
11. mini_x86-userdebug
12. aosp_hammerhead-userdebug
13. aosp_mako-userdebug
14. aosp_manta-userdebug
15. astar_evb-eng
16. astar_evb20-eng
17. bellone_sc3813r-eng
18. r16_bell_one-eng
Which would you like? [full-eng] 16
cm@cm-System-Product-Name:/R16/android$
$ extract-bsp
/media/sda2/R16/android/device/*/astar-evb20/bImage copied!
/media/sda2/R16/android/device/*/astar-evb20/modules copied!
cm@cm-System-Product-Name:/R16/android$
$ make -j32 //make -jN N为服务器支持的CPU核心数 一般设置为4 或者8 我的服务器是32核
软件打包
$pack -d