Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to compile simpleCame separately based on SAIL-IMX6

Shulou Source: shulou.com Published: 2022-05-31 21:28:42 10月02日 Update

This article mainly introduces how to compile simpleCame separately based on SAIL-IMX6, which has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to understand it.

1. Enter the android_m6.0.1_sailfish/ directory and execute the command:

Source build/envsetup.sh

two。 Execute the command: # lunch

eleven

Execute the compilation command: # make-j8 2 > & 1 | teebuild-log.txt

Compile the source code, J8 number according to the computer configuration to fill in to improve the compilation speed. )

Execute the command: # mmm

. / packages/apps/fsl_imx_demo/simpleCamera

(compile simpleCamera in a specific directory separately)

Execute the compilation command: # make snod

(include the apk compiled in the previous step into the image file)

At this point, the camera application has been compiled, and the burn files generated by the compilation are in the out/target/product/sabresd_6dq/ directory, which are boot-sail-imx6q.img recovery-sail-imx6q.img u-boot-imx6q1.imx u-boot-imx6q2.imx boot-sail-imx6dl.img recovery-sail-imx6dl.img u-boot-imx6q1.imx u-boot-imx6q2.imx system.img.

Thank you for reading this article carefully. I hope the article "how to compile simpleCame separately based on SAIL-IMX6" shared by the editor will be helpful to everyone. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!

Tags: Compile command article directory file success value interest at the same time camera number more friends source code computer knowledge tape so far industry information Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Redmi Shulou Technology Microsoft NVidia OPPO Reno