peter 发表于 2018-6-4 12:58:52

tinkerboard android源码下载

How to build Android(AOSP) source codeRequirementInstall Google's repo command tool ref :https://source.android.com/setup/downloading Make sure you have a bin/ directory in your home directory and that it is included in your path:
mkdir ~/bin
PATH=~/bin:$PATH Download the Repo tool and ensure that it is executable:
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repoAndroid 6.0.1 AOSP Get source code:
$ repo init -u https://git@bitbucket.org/TinkerBoard_Android/manifest.git -b sbc/tinkerboard/asus/Android-6.0.1
$ repo sync -c -d找到 编译指导文档.
/RKDocs/android_SOP_eng_6.0.1.docx
配套内核编译
How to build Kernel source codeAndroid 6.0.1 kernel Get source code:
$ git clone https://github.com/TinkerBoard/android-6.0.1_kernel.git -b releaseBuilding image:
$ cd android_kernel
$ make rockchip_defconfig -j4
$ make rk3288-miniarm.img -j4Flash image:
Prepare one sdcard which has the full Android image inside.
then insert the sdcard into a linux based OS, and suppose the block device of the sdcard is /dev/sdx
$ sudo dd if=./resource.img of=/dev/sdx seek=32768
$ sudo dd if=./kernel.img of=/dev/sdx seek=65536





页: [1]
查看完整版本: tinkerboard android源码下载