Other Parts Discussed in Thread: AM5749
hello everybody:
i use beagleboard x15 ,i run example in sdk, but ...
how can i use it?
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.
Hi, are you using Linux PSDK 6.x and did you create SD card image with windows image? .. if so, this could be a known issue, and a workaround is to copy a file as shown below:
cp /lib/firmware/dra7-ipu1-fw.xem4.opencl-monitor /run/media/mmcblk0p1/dra7-ipu1-fw.xem4
For additional details, you can check may 28 post in below E2E:
thank you,
Paula
hi paula:
I create sd card again with sdk creat-sd.sh ,and copy the file to mmcblk0p1, now I run success with dsp,but when i run J11v2 with 2 dsp + 2 eve ,failed
thank you ! hope for your reply
Hi, which AM57x do you have? how many cores EVEs?... if you don't know can you please run "/usr/share/ti/examples/opencl/platforms/platforms"?.
If you have EVEs cores it would print below line per core, if you don't see below printed twice or four times, then you only have DSPs cores.
thank you,
Paula
Hi, have you tried any other demo?.. it is pretty odd that DSP-only demo is hanging.. could we try to run DSP+EVE?
./tidl_classification -g 2 -d 1 -e 2 -l ./imagenet.txt -s ./classlist.txt -i 1 -c ./stream_config_j11_v2.txt ./tidl_classification -g 2 -d 1 -e 2 -l ./imagenet.txt -s ./classlist.txt -i ./clips/test10.mp4 -c ./stream_config_j11_v2.txt
Thank you,
Paula
Hi, it is probably related to CMEM.. could you please re-run "/usr/share/ti/examples/opencl/platforms/platforms" and copy the results here?.. There are environmental variables that we can change to setup DSP and EVE heap sizes accordingly with your platform memory.. if you want to take a look to some examples, TIDL demos GUI wrapper scripts are in rootfs partition /usr/bin/runTidl*, for example runTidlLiveCam_lg2.sh.
Also, does TIDL GUI demos (Deep Learning gui sub-menu) run OK?
thank you,
Paula
Hi, thanks for the screenshot. You mentioned above that GUI demos with EVE cores fail, what about if you try to run them with only DSP (-e)? do they work?. Also, could you run below command?
# cat /proc/cmem
Ideally we would see 0x20000000, in my board AM5749 I see 0x18000000 (384MB) which is more than OK as I have 2 DSP+ 2EVEs
Could you run classification with 1 EVE as a test? example below
./tidl_classification -g 2 -d 1 -e 1 -l ./imagenet.txt -s ./classlist.txt -i ./clips/test10.mp4 -c ./stream_config_j11_v2.txt
I found some environmental values we used for a Mobilenet demo.. so depending on the demo and NN this could change, but just to give you and idea..
export TIDL_PARAM_HEAP_SIZE_DSP=15000000
export TIDL_NETWORK_HEAP_SIZE_DSP=5000000
export TIDL_PARAM_HEAP_SIZE_EVE=15000000
export TIDL_NETWORK_HEAP_SIZE_EVE=99000000
Just for your information, TIDL_PARAM_HEAP_SIZE_DSP and TIDL_PARAM_HEAP_SIZE_EVE are the Heap sizes for constant parameters. TIDL_NETWORK_HEAP_SIZE_DSP and TIDL_NETWORK_HEAP_SIZE_EVE are the heap sizes for network scratch memory (activation).
If CMEM is 512MB we can give a try to above heap sizes and try 2 DSP + 4 EVEs demos..
Thank you,
Paula