Compilation of cam_app for imx8m plus

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Compilation of cam_app for imx8m plus

797 Views
darsh_dev
Contributor V

Hi,

I am trying to compile cam_app given in appshell directory of https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/isp-imx-4.2.2.13.0.bin.

I have followed the steps given in read me and tried to setup environment as mentioned in read me file. However, I am not able to compile. It seems that given package(https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/isp-imx-4.2.2.13.0.bin) don't have all the required files for compilation of cam_app.

Could you please provide proper steps to compile cam_app?

Thanks

Labels (1)
0 Kudos
3 Replies

792 Views
joanxie
NXP TechSupport
NXP TechSupport

how did you compile this? let me reproduce this on my board, but let me remind, if you use ./build-all-isp.sh, the source code isn't full public released to customer

0 Kudos

780 Views
darsh_dev
Contributor V

Hi @joanxie ,

I am doing cross compilation for Android platform on Linux host machine. I used below steps.

  • ./isp-imx-4.2.2.13.0.bin
  • cd isp-imx-4.2.2.13.0
  • export ARCH="arm64"
  • export CROSS_COMPILE="aarch64-linux-gnu-"
  • export ANDROID_ROOT_PATH=<android root path>/imx-android-11.0.0_2.0.0/android_build/
  • export ANDROID_NDK_HOME="/opt/android-ndk-r21"
  • cd appshell
  • mkdir build-android
  • cd build-android
  • cp ../android-build.sh . (Change -DQTLESS=1 to -DQTLESS=0)
  • ./android-build.sh
  • make cam_app
0 Kudos

745 Views
joanxie
NXP TechSupport
NXP TechSupport

currently I haven't android source code to build for you, only have yocto bsp, so could you share your logfile to me? what error do you get after make

 

0 Kudos