1246 views|0 replies

290

Posts

0

Resources
The OP
 

Mingyuan Zhirui MY-RK3288-EK314 ANDROID5.1 Compilation Manual (2) [Copy link]

[Continue from the previous chapterMingyuan ZhiruiMY-RK3288-EK314 ANDROID5.1 Compilation Manual (1)]
5.4 Compileandroid source code
· Setandroid environment variables
$ cd ~/rk3288-myzr/ $ source build.sh
· Settingsandroid version configuration
$ lunch rk3288_box-userdebug
· Compile
$ make -j16 Note: The screenshot uses16 threads for compilation. · Compilation completed
· Target files
boot.img, misc.img, kernel.img, resource.img, recovery.img, and system.img are the target files obtained by compilation. You can use the ls command to view the file information. $ ./mkimage.sh $ ls rockdev/Image-rk3288_box/
6 Packaging batch filesrelase_android_update.img
6.1 Compile packaging tools
Note: If you have compiledrk2918_tools.tar.bz2, you do not need to recompile and can skip this step. By default copyrk2918_tools.tar.bz2 to the directory ~/rk3288-myzr/rockdev$ cd ~/rk3288-myzr/rockdev $ tar jxf rk2918_tools.tar.bz2 $ cd rk2918_tools/ $ make -j4 $ sudo cp afptool img_unpack img_maker mkkrnlimg /usr/local/bin/
6.2 Create a new folder and copy the image
The files in rockdev/Image-rk3288_box/ correspond to the Image\android folder of the burning tool, rename rk3288box-3.10-uboot-ubuntu.parameter.txt to parameter, RK3288UbootLoader_V2.30.10.bin corresponds to RKLoader.bin, and copy update-script and recover-script in the burning tool. Rename the contents of package-file according to the corresponding files, as follows:
$ mkdir -p rockdev/android/Image $ cd rockdev/android/Image/ $ cp ~/rk3288-myzr/rockdev/Image-rk3288_box/* ./ $ rm pc* $ $ ls
6.3 , 37, 37)]$ afptool -pack . ../update.img $ img_maker -rk32 RKLoader.bin update.img relase_android_update.img37)]


This post is from ARM Technology
Personal signature明远智睿 您的一站式 嵌入式 方案提供商
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list