Changes

Jump to: navigation, search

Orange Pi 3

2,116 bytes added, 15:58, 17 June 2022
no edit summary
INFO: skip make rootfs for android<br>
INFO: build rootfs OK.<br>
<span style="border-top:1px dashed #000;border-bottom:1px dashed #000;display:inline-block;padding: 10px 0">build sun50iw6p1 android 7.x lichee OK</span>
</div>
<br>
The kernel code is in the lichee / linux-3.10 directory. Executing the above commands will automatically copy the configuration file from lichee / linux-3.10 / arch / arm64 / configs / sun50iw6p1smp_android_7.x_defconfig to lichee / linux-3.10 / .config as the default configuration before compiling , You can run ./build.sh directly in the lichee directory for the next compilation, and will continue to use the previous .config configuration.
* '''uboot / boot0 compilation process (optional)'''<br>
<br>
Normally, you do not need to recompile uboot, but if you have custom modifications to uboot, you can compile. The compilation method is as follows:
<br>
<br>
<div style="border:1px solid #000;background:#f1f1f1">
cd lichee/brandy/u-boot-2014.07<br>
make distclean && make sun50iw6p1_config && make -j5 # compile uboot<br>
<br>
cd lichee/brandy/u-boot-2014.07<br>
make distclean && make sun50iw6p1_config && make spl # compile boot0<br>
</div>
If uboot / boot0 is not compiled, the default is to use the pre-compiled results of lichee
/ tools / pack / chips / sun50iw6p1 / bin. After recompiling with the above command, the above files will be replaced automatically.
<br>
<br>
* '''Android code compilation process'''
<br>
<div style="border:1px solid #000;background:#f1f1f1">
$ cd android<br>
$ source ./build/envsetup.sh<br>
$ lunch '''petrel_fvd_p1-eng'''<br>
$ extract-bsp<br>
$ make -j8 && pack
</div>
<br>
The pack command is used to generate the firmware. If the compilation and packaging process passes successfully, the following message will be prompted:
<br>
<br>
<div style="border:1px solid #dddddd;background:#f1f1f1;padding:5px;">
Dragon execute image.cfg SUCCESS !<br>
----------image is at----------<br>
OrangePi_3/lichee/tools/pack/sun50iw6p1_android_petrel-p1_uart0.img<br>
<br>
pack finish
</div>
<br>
According to the prompt, you can see the generated Android firmware sun50iw6p1_android_petrel-p1_uart0.img in the OrangePi_3 / lichee / tools / pack / directory. Below, please refer to the "Android Firmware Burning" section to complete the Android firmware burning.

Navigation menu