请选择 进入手机版 | 继续访问电脑版

tinkerboard android源码下载

[复制链接]
peter 发表于 2018-6-4 12:58:52 | 显示全部楼层 |阅读模式
How to build Android(AOSP) source codeRequirement
Install Google's repo command tool ref :
  1. Make sure you have a bin/ directory in your home directory and that it is included in your path:
  2. mkdir ~/bin
  3. PATH=~/bin:$PATH
复制代码
  1. Download the Repo tool and ensure that it is executable:
  2. curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
  3. chmod a+x ~/bin/repo
复制代码
Android 6.0.1 AOSP
  1. Get source code:
  2. $ repo init -u https://git@bitbucket.org/TinkerBoard_Android/manifest.git -b sbc/tinkerboard/asus/Android-6.0.1
  3. $ repo sync -c -d
复制代码
  1. 找到 编译指导文档.
  2. [source code]/RKDocs/android_SOP_eng_6.0.1.docx
复制代码

配套内核编译
How to build Kernel source codeAndroid 6.0.1 kernel
  1. Get source code:
  2. $ git clone https://github.com/TinkerBoard/android-6.0.1_kernel.git -b release
复制代码
  1. Building image:
  2. $ cd android_kernel
  3. $ make rockchip_defconfig -j4
  4. $ make rk3288-miniarm.img -j4
复制代码
  1. Flash image:
  2. Prepare one sdcard which has the full Android image inside.
  3. then insert the sdcard into a linux based OS, and suppose the block device of the sdcard is /dev/sdx
  4. $ sudo dd if=./resource.img of=/dev/sdx seek=32768
  5. $ sudo dd if=./kernel.img of=/dev/sdx seek=65536
复制代码






回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册用户

本版积分规则

 
QQ在线咨询
点击这里给我发消息
点击这里给我发消息
电话咨询
0755-23012315
快速回复 返回顶部 返回列表