Hello,
Actually, i require to install some library with AM5728 SDK. Means that i could not use any linux command here like "sudo apt-get install ...." or any else.
So,how can install any library to AM5728 EVM board?
Thanks and Regards,
Kishan Patel.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello,
Actually, i require to install some library with AM5728 SDK. Means that i could not use any linux command here like "sudo apt-get install ...." or any else.
So,how can install any library to AM5728 EVM board?
Thanks and Regards,
Kishan Patel.
Hello Margarita,
I have followed above thread and tried to build "Cmake", but i got some errors as below:
ERROR: Task (/home/jenex05/tisdk/sources/oe-core/meta/recipes-devtools/cmake/cmake_3.6.1.bb:do_compile) failed with exit code '1' ERROR: linux-ti-staging-4.9.41+gitAUTOINC+e3a80a1c5c-r7c.arago5.tisdk9 do_create_srcipk: Function failed: do_create_srcipk (log file is located at /home/jenex05/tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/linux-ti-staging/4.9.41+gitAUTOINC+e3a80a1c5c-r7c.arago5.tisdk9/temp/log.do_create_srcipk.23013) ERROR: Logfile of failure stored in: /home/jenex05/tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/linux-ti-staging/4.9.41+gitAUTOINC+e3a80a1c5c-r7c.arago5.tisdk9/temp/log.do_create_srcipk.23013
What should be issue behind this?.
I have also tried to build library, but that package not available.
Regards,
Kishan Patel.
Hello,
kishan patel14 said:ERROR: Logfile of failure stored in: /home/jenex05/tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/linux-ti-staging/4.9.41+gitAUTOINC+e3a80a1c5c-r7c.arago5.tisdk9/temp/log.do_create_srcipk.23013
Please make sure that you have executed this step from the guide:
sudo dpkg-reconfigure dash
Select "No" when prompted.
I would recommend you to check the log file, especially for error "cannot allocate memory". This means that your host machine is out of memory and you have to increase the SWAP.
BR
Margarita
Hello Margarita,
Yes,i make sure that i have executed this step from the guide:
sudo dpkg-reconfigure dash
Then Select "No" when prompted.
I have also attached log file,please check that.
Regards,
Kishan Patel.3681.log.do_compile.txt
Hello,
Please execute this command :
mms@ubuntu:~$ ls -al `which sh`
The output should be something like:
lrwxrwxrwx 1 root root 4 Feb 28 10:22 /bin/sh -> bash
If /bin/sh -> dash execute sudo dpkg-reconfigure dash again. Execute (MACHINE=am57xx-evm bitbake -c clean cmake-native and try again.
I have build MACHINE=am57xx-evm bitbake cmake-native and I do not see any issue on my side.
BR
Margarita
Hello Margarita,
Any idea about what should be issue behind this?
Regards,
Kishan Patel.
Hello Margarita,
When i execute command "MACHINE=am57xx-evm bitbake -c clean cmake-native", i got output as below:
kishan@kishan-ThinkPad-T430s:~/tisdk/build$ MACHINE=am57xx-evm bitbake -c clean cmake-native
Loading cache: 100% |#####################################################################################################################################| Time: 0:00:01
Loaded 3257 entries from dependency cache.
WARNING: No recipes available for:
/home/kishan/tisdk/sources/meta-openamp/recipes-bsp/device-tree/device-tree-generation_%.bbappend
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.32.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "Ubuntu-16.04"
TARGET_SYS = "arm-linux-gnueabi"
MACHINE = "am57xx-evm"
DISTRO = "arago"
DISTRO_VERSION = "2017.06"
TUNE_FEATURES = "arm armv7a vfp thumb neon callconvention-hard"
TARGET_FPU = "hard"
meta-processor-sdk = "HEAD:2b7f7b00654eb3faaea7c66271ebe508b9ffc019"
meta-arago-distro
meta-arago-extras = "HEAD:8f49ed67d0627a04ac72fd388fda7756273ba2d7"
meta-browser = "HEAD:08576b03af624b65ad949c410d84c11c7d1f2e39"
meta-openamp = "HEAD:8a214032bfb7e8124bc1485c70c69f7d60abb819"
meta-qt5 = "HEAD:2c9f0e4eb0e9097f6f872ec1e1d81768a8ab5f1b"
meta-networking
meta-ruby
meta-python
meta-oe
meta-gnome = "HEAD:fe5c83312de11e80b85680ef237f8acb04b4b26e"
meta-ti = "HEAD:a18d57af8384ced25996739bb66d197c69efb77b"
meta-linaro-toolchain
meta-optee = "HEAD:49b0f32d7e955f250b0022d1b2f403f45a2c2d9c"
meta = "HEAD:e3911133ee9aad7cc3ae89faea80a097f6614fab"
Initialising tasks: 100% |################################################################################################################################| Time: 0:00:00
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 1 tasks of which 0 didn't need to be rerun and all succeeded.
Summary: There was 1 WARNING message shown.
kishan@kishan-ThinkPad-T430s:~/tisdk/build$
Regards,
Kishan Patel.
Hello,
It make the system hung. I had tried many times,but system has hanging all time.
Regards,
Kishan Patel.
Hello Margarita,
I had tried from beginning, but system has hang when i am trying to clean or build cmake-native.
Regards,
Kishan Patel.
Hello Margarita,
Thanks for Reply. I have seen above link, it shows that there is swap memory require.Right?
Can you tell me how much will be need to build cmake-native. Please,check the memory details as below:
kishan@kishan-ThinkPad-T430s:~$ free
total used free shared buff/cache available
Mem: 3739656 2632940 136844 507876 969872 336992
Swap: 0 0 0
kishan@kishan-ThinkPad-T430s:~$
Regards,
Kishan Patel.
Hello Margarita,
I dont know but there is some issue to build cmake. So, i have trying an alternative method.
I had compiled opencv for ARM processor and generate library and include folder.
Now, when i try to compile application by giving path of genrated library, i got some error.
So, how can i compile application for AM5728 EVM board?
Thanks and Regards,
Kishan Patel.
Hello,
kishan patel14 said:I think guide which you has provide me is for compile application on board.
This is correct.
kishan patel14 said:So, which one should i prefer?
Up to you. But please if you follow the guide keep in mind that for example "g++ -I/usr/local/include/opencv..." you should remove " local " from the path.
Hope this helps.
BR
Margarita
Hello Margarita,
I had compile opencv for ARM processor then transfer opencv to the board.
Now, when i try to compile by including path using command line argument, files could not include.
I am trying to include folder opencv as well as opencv2, files from one folder has been included but from other folder it could not include.
Please, check the command which i have executed to compile application.
"g++ OnlineFaceRec.cpp -I/home/root/opencv-2.4.13.6/build_arm/install/include/opencv -I/home/root/opencv-2.4.13.6/build_arm/install/include/opencv2 -L/home/root/opencv-2.4.13.6/build_arm/install/lib -o OnlineFaceRec"
If i try to include file in a code, its working. But there are too many files which require to include file.
Regards,
Kishan Patel.
Hello Kishan Patel,
Since the question regarding opencv installation is solved please verify this thread.
Please open a new topic regarding opencv app compilation issue and post the errorthat you are observing etc.
Best Regards,
Margarita
Hello Margarita,
Thanks for the documents.
I read that documents. But i think it is a process to use opencv on board.
We have building cmake-native for AM5728. Now it has done as we check the log.
But now how can we use that cmake-native with board means which file we have to move from system to the processor-board?
Regards,
Kishan Patel.
Hello Kishan,
In the rootfs by default you have cmake under /usr/bin folder. And as I said in the one of my previous posts by default you have opencv libs in the rootfs.
However check this /build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/cmake-native/3.6.1-r0/build
BR
Margarita
Hello Margarita,
I think we are going on different track.
Let me clarify our requirements and what we have done.
Actually, we were trying to install some library on board which is needed for face recognition process.
But opencv is already installed on AM5728 evm board and its version is 3.1.
So, we are trying to build cmake on system for AM5728 EVM board and planned to install library or require extra packages.
We have build cmake on system. Now, what should be next steps to install library on board and capable for face-recognition on board?
Regards,
Kishan Patel.