Other Parts Discussed in Thread: TDA2, SYSBIOS, DRA742, DRA752
Tool/software: Linux
Hello,
I would like to use tidl on linux, and I found that "SDK_VISION_03_07" contained tidl_openvx in hlos.
after compiling, I could run linux on TDA2, but I got a mistake:
[HOST] [HOST ] ====================
[HOST] [HOST ] Vision SDK Usecases
[HOST] [HOST ] ====================
[HOST] [HOST ] 1: Single Camera Usecases
[HOST] [HOST ] 2: Multi-Camera LVDS Usecases
[HOST] [HOST ] 3: Open-Compute Usecases
[HOST] [HOST ] 6: Radar Usecases
[HOST] [HOST ]
[HOST] [HOST ] 7: PCIe SSD card Write Test
[HOST] [HOST ] p: CPU Status
[HOST] [HOST ] i: Show IP Addr (IPU + NDK + AVB)
[HOST] [HOST ]
[HOST] [HOST ] s: System Settings
[HOST] [HOST ]
[HOST] [HOST ] x: Exit
[HOST] [HOST ] z: Exit - AND SHUTDOWN Remote CPUs
[HOST] [HOST ]
[HOST] [HOST ] Enter Choice:
[HOST] [HOST ]
3
[HOST] [HOST ] 61.475050 s:
[HOST] [HOST ]
[HOST] [HOST ] OpenCompute Usecases
[HOST] [HOST ] ----------------------------
[HOST] [HOST ]
[HOST] [HOST ] x: Exit
[HOST] [HOST ]
[HOST] [HOST ] Enter Choice:
[HOST] [HOST ]
[HOST] [HOST ] 61.475080 s:
[HOST] [HOST ] 61.475080 s: Unsupported option '
[HOST] [HOST ] '. Please try again
[HOST] [HOST ] 61.475080 s:
[HOST] [HOST ]
[HOST] [HOST ] OpenCompute Usecases
[HOST] [HOST ] ----------------------------
[HOST] [HOST ]
[HOST] [HOST ] x: Exit
Option 3 could't run .
=============================================
Before run app.out,
I did something:
1. source load_ocl_kos.sh
2. ./vision_sdk_load.sh
root@dra7xx-evm:/opt/vision_sdk# source load_ocl_kos.sh
Opened log file: lad.txt
numProcessors = 5 id = 0 baseId = 0
Spawned daemon: /usr/bin/lad_dra7xx
[ 1591.076692] CMEMK module: reference Linux version 4.4.84
[ 1591.082943] CMEMK Error: Failed to request_mem_region(0xa9000000, 0x4000000)
insmod: ERROR: could not insert module /opt/vision_sdk/cmemk.ko: Bad address
insmod: ERROR: could not load module /opt/vision_sdk/debugss_kmodule.ko: No such file or directory
root@dra7xx-evm:/opt/vision_sdk# ./vision_sdk_load.sh
insmod: ERROR: could not insert module ./bin/memcache.ko: File exists
insmod: ERROR: could not load module ./bin/cmemk.ko: No such file or directory
mknod: /dev/memcache: File exists
./disableDssInterruptsOnA15.sh: line 11: COMMANDS: command not found
./disableDssInterruptsOnA15.sh: line 12: COMMANDS: command not found
./disableDssInterruptsOnA15.sh: line 13: COMMANDS: command not found
./disableDssInterruptsOnA15.sh: line 14: COMMANDS: command not found
./disableDssInterruptsOnA15.sh: line 15: COMMANDS: command not found
./disableDssInterruptsOnA15.sh: line 16: COMMANDS: command not found
./disableDssInterruptsOnA15.sh: line 17: COMMANDS: command not found
./disableDssInterruptsOnA15.sh: line 18: COMMANDS: command not found
./disableDssInterruptsOnA15.sh: line 19: COMMANDS: command not found
updated value is
COMMANDS
### WARNING ###: use the following [read | write | set bit | clear bit | dump] commands at your own risk!
No address check done, may generate:
- bus error (invalid or not accessible <physical address>,
- platform crash/hang (bad <value>).
Read any OMAP memory address (register), given its <physical address> or <name> as listed in TRM.
Write <value> at any OMAP memory address (register), given its <physical address> or <name> as listed in TRM.
Set bit at <position> into any OMAP memory address (register), given its <physical address> or <name> as listed in TRM.
Clear bit at <position> into any OMAP memory address (register), given its <physical address> or <name> as listed in TRM.
Dump a range of OMAP memory addresses, from <start address> to <end address>.
Note all addresses within given range must be valid and accessible.
### WARNING ###: use the following I2C [read | write] commands at your own risk!
No address check done, may generate:
- I2C bus error (invalid or not accessible <physical address>,
- platform crash/hang (bad <value>).
Read I2C register at address <addr> from I2C chip at <chip-addr> on I2C <bus>.
Write <value> in I2C register at address <addr> from I2C chip at <chip-addr> on I2C <bus>.
=============================================
I have no idea,
how could I do to run tidl usecase ?
Thanks,
Ting