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)]
|