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.

TMDSEVM572X: DSP status check

Part Number: TMDSEVM572X
Other Parts Discussed in Thread: AM5728

Hello Ti Team,

My self Manish from Cimcon india. I have purchased Am572x board.

 I have some Query related to DSP core.

1-I have purchased Am572x(x is ?)Board and i want to know  what is processor name ?
2-What is Linux Command to check DSP Core information ?
3-How Can check DSP core utilization when running application with DSP core when below configuration.
processors.wiki.ti.com/.../OpenCV

 export TI_OCL_LOAD_KERNELS_ONCHIP=Y
 export TI_OCL_CACHE_KERNELS=Y
 export OPENCV_OPENCL_DEVICE='TI AM57:ACCELERATOR:TI Multicore C66 DSP'
 echo "OpenCL on, canny"

 regards,

 Manish

  • Hi,

    Processor is AM5728. I have asked the software team to comment on the other questions. They will respond here.
  • Manish,

    Manish Dabhi said:
    1-I have purchased Am572x(x is ?)Board and i want to know  what is processor name ?

    Do you purchased the below TI board?

    This board comes with AM5728 Processor.

    Manish Dabhi said:
    2-What is Linux Command to check DSP Core information ?
    3-How Can check DSP core utilization when running application with DSP core when below configuration.

    Check if dsptop command will be in help.

    Regards,
    Pavel

  • Hi Pavel,

    thanks for reply.

    processors.wiki.ti.com/.../OpenCV

    export TI_OCL_LOAD_KERNELS_ONCHIP=Y
    export TI_OCL_CACHE_KERNELS=Y
    export OPENCV_OPENCL_DEVICE='TI AM57:ACCELERATOR:TI Multicore C66 DSP'
    echo "OpenCL on, app"
    ./app &

    I have following above link/Command and run image processing application with OPENCL on, after run dsptop command on board, getting DSP core not utilize.

    I have mention dsptop command log:-

    dsptop - Elapsed Time 00:00:03
    Moving Average Mode
    Average DSP Usage:  0.00% Accuracy 100.00%

    >
    DSP    %USAGE   RUN TIME+     IDLE TIME+
    DSP_0    0.00  00:00:00.000  00:00:00.000
    >SP_1    0.00  00:00:00.000  00:00:00.000

    regards,

    Manish

  • Manish,

    Do you use AM57x PSDK v4.02?
    software-dl.ti.com/.../index_FDS.html

    I see also you are sing app. Can you try with canny_ex1 instead of app?

    Please provide full console log of your booting process plus canny_ex1 creation process plus canny_ex1 execution process.

    Regards,
    Pavel
  • Hello Pavel,

    I have attached full log file which is include below points.

    1-booting log

    2-canny_ex1.cpp

    3-set opencl on commands

    4-canny_ex1 execution process

    5 dsptop command output.

    U-Boot SPL 2015.07 (Jan 28 2016 - 14:19:33)
    DRA752 ES2.0
    reading args
    spl_load_image_fat_os: error reading image args, err - -1
    reading u-boot.img
    reading u-boot.img
    
    
    U-Boot 2015.07 (Jan 28 2016 - 14:19:33 -0500)
    
    CPU  : DRA752 ES2.0
    BoaI2C:   ready
    DRAM:  2 GiB
    MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
    reading uboot.env
    
    ** Unable to read "uboot.env" from mmc0:1 **
    Using default environment
    
    SATA link 0 timeout.
    AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
    flags: 64bit ncq stag pm led clo only pmp pio slum part ccc apst 
    SCSI:  SATA link 0 timeout.
    AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
    flags: 64bit ncq stag pm led clo only pmp pio slum part ccc apst 
    scanning bus for devices...
    Found 0 device(s).
    Net:   <ethaddr> not set. Validating first E-fuse MAC
    cpsw
    Hit any key to stop autoboot:  1  0 
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    reading boot.scr
    ** Unable to read file boot.scr **
    reading uEnv.txt
    574 bytes read in 4 ms (139.6 KiB/s)
    Loaded env from uEnv.txt
    Importing environment from mmc0 ...
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    3395008 bytes read in 196 ms (16.5 MiB/s)
    96185 bytes read in 28 ms (3.3 MiB/s)
    Booting from mmc0 ...
    Kernel image @ 0x82000000 [ 0x000000 - 0x33cdc0 ]
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 8ffe5000, end 8ffff7b8 ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Initializing cgroup subsys cpuset
    [    0.000000] Initializing cgroup subsys cpu
    [    0.000000] Initializing cgroup subsys cpuacct
    [    0.000000] Linux version 4.1.13-g8dc6617 (gtbldadm@ubuntu-12) (gcc version 4.9.3 20150413 (prerelease) (Linaro GCC 4.9-2015.05) ) #1 SMP PREEMPT Thu Jan 28 14:18:18 EST 2016
    [    0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=30c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    [    0.000000] Machine model: TI AM572x EVM ES2+
    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000095800000, size 56 MiB
    [    0.000000] Reserved memory: initialized node ipu2_cma@95800000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000099000000, size 64 MiB
    [    0.000000] Reserved memory: initialized node dsp1_cma@99000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x000000009d000000, size 32 MiB
    [    0.000000] Reserved memory: initialized node ipu1_cma@9d000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x000000009f000000, size 8 MiB
    [    0.000000] Reserved memory: initialized node dsp2_cma@9f000000, compatible id shared-dma-pool
    [    0.000000] cma: Reserved 24 MiB at 0x00000000fe400000
    [    0.000000] Forcing write-allocate cache policy for SMP
    [    0.000000] Memory policy: Data cache writealloc
    [    0.000000] DRA752 ES2.0
    [    0.000000] PERCPU: Embedded 12 pages/cpu @ee532000 s17088 r8192 d23872 u49152
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 472658
    [    0.000000] Kernel command line: console=ttyO2,115200n8 root=PARTUUID=05cf9b9e-02 rw rootfstype=ext4 rootwait
    [    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
    [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Memory: 1681116K/1897472K available (6347K kernel code, 293K rwdata, 2276K rodata, 332K init, 253K bss, 27940K reserved, 188416K cma-reserved, 1291264K highmem)
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    [    0.000000]     vmalloc : 0xf0000000 - 0xff000000   ( 240 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xef800000   ( 760 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc0874074   (8625 kB)
    [    0.000000]       .init : 0xc0875000 - 0xc08c8000   ( 332 kB)
    [    0.000000]       .data : 0xc08c8000 - 0xc09117a8   ( 294 kB)
    [    0.000000]        .bss : 0xc0914000 - 0xc09537cc   ( 254 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    [    0.000000] Preemptible hierarchical RCU implementation.
    [    0.000000] 	Additional per-CPU info printed with stalls.
    [    0.000000] NR_IRQS:16 nr_irqs:16 16
    [    0.000000] OMAP clockevent source: timer1 at 32768 Hz
    [    0.000000] clocksource 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
    [    0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 65535999984741ns
    [    0.000030] OMAP clocksource: 32k_counter at 32768 Hz
    [    0.000427] Architected cp15 timer(s) running at 6.14MHz (virt).
    [    0.000457] clocksource arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x16af5adb9, max_idle_ns: 440795202250 ns
    [    0.000462] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4398046511023ns
    [    0.000472] Switching to timer-based delay loop, resolution 162ns
    [    0.001008] Console: colour dummy device 80x30
    [    0.001023] WARNING: Your 'console=ttyO2' has been replaced by 'ttyS2'
    [    0.001029] This ensures that you still see kernel messages. Please
    [    0.001034] update your kernel commandline.
    [    0.001048] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
    [    0.001060] pid_max: default: 32768 minimum: 301
    [    0.001145] Security Framework initialized
    [    0.001182] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.001192] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.001724] Initializing cgroup subsys blkio
    [    0.001738] Initializing cgroup subsys memory
    [    0.001763] Initializing cgroup subsys devices
    [    0.001775] Initializing cgroup subsys freezer
    [    0.001786] Initializing cgroup subsys perf_event
    [    0.001807] CPU: Testing write buffer coherency: ok
    [    0.002055] /cpus/cpu@0 missing clock-frequency property
    [    0.002105] /cpus/cpu@1 missing clock-frequency property
    [    0.002115] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.002150] Setting up static identity map for 0x800082c0 - 0x80008318
    [    0.060698] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [    0.060766] Brought up 2 CPUs
    [    0.060779] SMP: Total of 2 processors activated (24.59 BogoMIPS).
    [    0.060785] CPU: All CPU(s) started in SVC mode.
    [    0.061168] devtmpfs: initialized
    [    0.086761] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [    0.087539] omap_hwmod: l3_main_2 using broken dt data from ocp
    [    0.100797] omap_hwmod: tptc0 using broken dt data from edma-controller
    [    0.101276] omap_hwmod: tptc1 using broken dt data from edma-controller
    [    0.275174] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.279286] pinctrl core: initialized pinctrl subsystem
    [    0.280094] NET: Registered protocol family 16
    [    0.281048] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.310630] cpuidle: using governor ladder
    [    0.340663] cpuidle: using governor menu
    [    0.347940] OMAP GPIO hardware version 0.1
    [    0.354297] irq: no irq domain found for /ocp/l4@4a000000/scm@2000/pinmux@1400 !
    [    0.378305] No ATAGs?
    [    0.378334] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [    0.378343] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [    0.380864] omap4_sram_init:Unable to allocate sram needed to handle errata I688
    [    0.380874] omap4_sram_init:Unable to get sram pool needed to handle errata I688
    [    0.381453] OMAP DMA hardware revision 0.0
    [    0.418403] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver
    [    0.421090] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver
    [    0.426336] omap-iommu 40d01000.mmu: 40d01000.mmu registered
    [    0.426514] omap-iommu 40d02000.mmu: 40d02000.mmu registered
    [    0.426671] omap-iommu 58882000.mmu: 58882000.mmu registered
    [    0.426826] omap-iommu 55082000.mmu: 55082000.mmu registered
    [    0.427091] omap-iommu 41501000.mmu: 41501000.mmu registered
    [    0.427277] omap-iommu 41502000.mmu: 41502000.mmu registered
    [    0.427519] vgaarb: loaded
    [    0.427889] SCSI subsystem initialized
    [    0.429014] palmas 0-0058: Irq flag is 0x00000008
    [    0.453094] palmas 0-0058: Muxing GPIO 2f, PWM 0, LED 0
    [    0.604540] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
    [    0.605091] omap_i2c 48060000.i2c: bus 2 rev0.12 at 400 kHz
    [    0.605651] omap_i2c 4807c000.i2c: bus 4 rev0.12 at 400 kHz
    [    0.605852] media: Linux media interface: v0.10
    [    0.605909] Linux video capture interface: v2.00
    [    0.605952] pps_core: LinuxPPS API ver. 1 registered
    [    0.605960] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.605985] PTP clock support registered
    [    0.606582] omap-mailbox 4883c000.mailbox: omap mailbox rev 0x400
    [    0.606868] omap-mailbox 4883e000.mailbox: omap mailbox rev 0x400
    [    0.607148] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
    [    0.607429] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
    [    0.607706] Advanced Linux Sound Architecture Driver Initialized.
    [    0.608359] Switched to clocksource arch_sys_counter
    [    0.618206] NET: Registered protocol family 2
    [    0.618799] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.618863] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
    [    0.618988] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.619035] UDP hash table entries: 512 (order: 2, 16384 bytes)
    [    0.619067] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
    [    0.619208] NET: Registered protocol family 1
    [    0.619442] RPC: Registered named UNIX socket transport module.
    [    0.619450] RPC: Registered udp transport module.
    [    0.619457] RPC: Registered tcp transport module.
    [    0.619463] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.620465] CPU PMU: Failed to parse /pmu/interrupt-affinity[0]
    [    0.620499] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
    [    0.622306] futex hash table entries: 512 (order: 3, 32768 bytes)
    [    0.622385] audit: initializing netlink subsys (disabled)
    [    0.622416] audit: type=2000 audit(0.609:1): initialized
    [    0.629409] VFS: Disk quotas dquot_6.6.0
    [    0.629568] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [    0.631551] NFS: Registering the id_resolver key type
    [    0.631592] Key type id_resolver registered
    [    0.631599] Key type id_legacy registered
    [    0.631651] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
    [    0.633675] NET: Registered protocol family 38
    [    0.633751] bounce: pool size: 64 pages
    [    0.633765] io scheduler noop registered
    [    0.633777] io scheduler deadline registered
    [    0.633814] io scheduler cfq registered (default)
    [    0.637298] pinctrl-single 4a003400.pinmux: 281 pins at pa fc003400 size 1124
    [    0.671088] dra7-pcie 51000000.pcie: PCI host bridge to bus 0000:00
    [    0.671102] pci_bus 0000:00: root bus resource [io  0x1000-0xffff]
    [    0.671116] pci_bus 0000:00: root bus resource [mem 0x20013000-0x2fffffff]
    [    0.671126] pci_bus 0000:00: root bus resource [bus 00-ff]
    [    0.671228] pci 0000:00:00.0: IOMMU is currently not supported for PCI
    [    0.671492] PCI: bus0: Fast back to back transfers disabled
    [    0.671617] PCI: bus1: Fast back to back transfers enabled
    [    0.671709] pci 0000:00:00.0: BAR 0: assigned [mem 0x20100000-0x201fffff]
    [    0.671724] pci 0000:00:00.0: BAR 1: assigned [mem 0x20020000-0x2002ffff]
    [    0.671736] pci 0000:00:00.0: PCI bridge to [bus 01]
    [    0.672662] backlight supply power not found, using dummy regulator
    [    0.675601] OMAP DSS rev 6.1
    [    0.675864] omapdss_dss 58000000.dss: bound 58001000.dispc (ops dispc_component_ops)
    [    0.676391] omapdss_dss 58000000.dss: bound 58040000.encoder (ops hdmi5_component_ops)
    [    0.680543] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [    0.683479] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 299, base_baud = 3000000) is a 8250
    [    1.656402] console [ttyS2] enabled
    [    1.660530] 48422000.serial: ttyS7 at MMIO 0x48422000 (irq = 300, base_baud = 3000000) is a 8250
    [    1.670558] [drm] Initialized drm 1.1.0 20060810
    [    1.683585] brd: module loaded
    [    1.690738] loop: module loaded
    [    1.694869] mtdoops: mtd device (mtddev=name/number) must be supplied
    [    1.748378] davinci_mdio 48485000.mdio: davinci mdio revision 1.6
    [    1.754502] davinci_mdio 48485000.mdio: detected phy mask fffffff9
    [    1.764694] libphy: 48485000.mdio: probed
    [    1.768743] davinci_mdio 48485000.mdio: phy[1]: device 48485000.mdio:01, driver Micrel KSZ9031 Gigabit PHY
    [    1.778454] davinci_mdio 48485000.mdio: phy[2]: device 48485000.mdio:02, driver Micrel KSZ9031 Gigabit PHY
    [    1.788738] cpsw 48484000.ethernet: Detected MACID = 5c:f8:21:34:4e:48
    [    1.795997] cpsw 48484000.ethernet: cpsw: Detected MACID = 5c:f8:21:34:4e:49
    [    1.804366] mousedev: PS/2 mouse device common for all mice
    [    1.809988] i2c /dev entries driver
    [    1.815830] gpio-fan gpio_fan: GPIO fan initialized
    [    1.821931] tmp102 0-0048: initialized
    [    1.828279] omap_hsmmc 4809c000.mmc: Got CD GPIO
    [    1.868978] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr25 mode
    [    1.875364] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr12 mode
    [    1.881978] vdd_3v3: supplied by regen1
    [    1.905560] mmc0: host does not support reading read-only switch, assuming write-enable
    [    1.915570] mmc0: new high speed SDHC card at address 59b4
    [    1.921440] mmcblk0: mmc0:59b4 USD00 14.7 GiB 
    [    1.926853]  mmcblk0: p1 p2 p3
    [    1.958711] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.965049] omap-aes 4b500000.aes: OMAP AES hw accel rev: 3.3
    [    1.971530] omap-aes 4b700000.aes: OMAP AES hw accel rev: 3.3
    [    1.977749] omap-des 480a5000.des: OMAP DES hw accel rev: 2.2
    [    1.984506] omap-sham 4b101000.sham: hw accel on OMAP rev 4.3
    [    1.993069] mmc1: MAN_BKOPS_EN bit is not set
    [    1.999065] oprofile: using timer interrupt.
    [    2.003562] Initializing XFRM netlink socket
    [    2.006391] mmc1: new DDR MMC card at address 0001
    [    2.006726] mmcblk1: mmc1:0001 S10004 3.56 GiB 
    [    2.006853] mmcblk1boot0: mmc1:0001 S10004 partition 1 4.00 MiB
    [    2.006979] mmcblk1boot1: mmc1:0001 S10004 partition 2 4.00 MiB
    [    2.008843]  mmcblk1: p1 p2 p3
    [    2.032340] NET: Registered protocol family 17
    [    2.036829] NET: Registered protocol family 15
    [    2.041377] Key type dns_resolver registered
    [    2.045771] omap_voltage_late_init: Voltage driver support not added
    [    2.052456] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.voltdm
    [    2.058768] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.voltdm
    [    2.065589] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.voltdm
    [    2.071950] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.voltdm
    [    2.079713] Power Management for TI OMAP4+ devices.
    [    2.084794] ThumbEE CPU extension supported.
    [    2.089104] Registering SWP/SWPB emulation handler
    [    2.094901] dmm 4e000000.dmm: workaround for errata i878 in use
    [    2.102104] dmm 4e000000.dmm: initialized all PAT entries
    [    2.120225] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [    2.126868] [drm] No driver support for vblank timestamp query.
    [    2.134615] [drm] Enabling DMM ywrap scrolling
    [    2.180236] Console: switching to colour frame buffer device 100x30
    [    2.188426] omapdrm omapdrm.0: fb0: omapdrm frame buffer device
    [    2.194368] omapdrm omapdrm.0: registered panic notifier
    [    2.228476] omapwb-m2m: Device registered as video10
    [    2.233460] [drm] Initialized omapdrm 1.0.0 20110917 on minor 0
    [    2.239956] hctosys: unable to open rtc device (rtc0)
    [    2.255745] ldousb: disabling
    [    2.259022] vmmcwl_fixed: disabling
    [    2.262526] aic_dvdd_fixed: disabling
    [    2.266371] ALSA device list:
    [    2.269366]   No soundcards found.
    [    5.526503] EXT4-fs (mmcblk0p2): recovery complete
    [    5.538304] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [    5.546520] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [    5.561633] devtmpfs: mounted
    [    5.564818] Freeing unused kernel memory: 332K (c0875000 - c08c8000)
    INIT: version 2.88 booting
    Starting udev
    [    6.136063] udevd[121]: starting version 182
    [    6.315916] omap-rproc 58820000.ipu: assigned reserved memory node ipu1_cma@9d000000
    [    6.355227]  remoteproc0: 58820000.ipu is available
    [    6.423361]  remoteproc0: Note: remoteproc is still under development and considered experimental.
    [    6.524771]  remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [    6.618611] omap_rng 48090000.rng: OMAP Random Number Generator ver. 20
    [    6.625940] omap_rtc 48838000.rtc: rtc core: registered 48838000.rtc as rtc2
    [    6.654490] omap-rproc 55020000.ipu: assigned reserved memory node ipu2_cma@95800000
    [    6.708454]  remoteproc1: 55020000.ipu is available
    [    6.777141]  remoteproc1: Note: remoteproc is still under development and considered experimental.
    [    6.855381] mt9t11x 4-003c: input-clock-freq: 32000000
    [    6.857699]  remoteproc1: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [    6.871678] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [    6.889358] rtc-ds1307 2-006f: SET TIME!
    [    6.892676] omap-rproc 40800000.dsp: assigned reserved memory node dsp1_cma@99000000
    [    6.892715]  remoteproc2: 40800000.dsp is available
    [    6.892718]  remoteproc2: Note: remoteproc is still under development and considered experimental.
    [    6.892720]  remoteproc2: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [    6.892957] omap-rproc 41000000.dsp: assigned reserved memory node dsp2_cma@9f000000
    [    6.892991]  remoteproc3: 41000000.dsp is available
    [    6.892993]  remoteproc3: Note: remoteproc is still under development and considered experimental.
    [    6.892995]  remoteproc3: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [    6.925060] mt9t11x 4-003c: pixel-clock-freq: 96000000
    [    6.979507] aic_dvdd_fixed: supplied by vdd_3v3
    [    7.040126] vpe 489d0000.vpe: loading firmware vpdma-1b8.bin
    [    7.068598] mt9t11x 4-003c: Product ID error ffffff87
    [    7.107773] omap-hdmi-audio omap-hdmi-audio.0.auto: snd-soc-dummy-dai <-> 58040000.encoder mapping ok
    [    7.122830] ahci 4a140000.sata: SSS flag set, parallel bus scan disabled
    [    7.147715] ahci 4a140000.sata: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl platform mode
    [    7.157995] rtc-ds1307 2-006f: rtc core: registered mcp7941x as rtc0
    [    7.178983] pixcir_ts 4-005c: pixcir_set_power_mode: can't read reg 0x33 : -121
    [    7.186369] pixcir_ts 4-005c: Failed to set IDLE mode
    [    7.214867] asoc-simple-card sound@0: tlv320aic3x-hifi <-> 48468000.mcasp mapping ok
    [    7.228239] ahci 4a140000.sata: flags: 64bit ncq sntf stag pm led clo only pmp pio slum part ccc apst 
    [    7.246890] palmas-usb 48070000.i2c:tps659038@58:tps659038_usb: USB-HOST cable is detached
    [    7.258566] vpe 489d0000.vpe: Device registered as /dev/video0
    [    7.259275] rtc-ds1307 2-006f: 64 bytes nvram
    [    7.275272] pixcir_ts: probe of 4-005c failed with error -121
    [    7.313217] palmas-rtc 48070000.i2c:tps659038@58:tps659038_rtc: rtc core: registered 48070000.i2c:tps659 as rtc1
    [    7.342148]  remoteproc0: registered virtio0 (type 7)
    [    7.392529] palmas_pwrbutton 48070000.i2c:tps659038@58:tps659038_pwr_button: h/w controlled shutdown duration=12 seconds
    [    7.413306] input: gpio_keys as /devices/platform/gpio_keys/input/input1
    [    7.427442] input: palmas_pwron as /devices/platform/44000000.ocp/48070000.i2c/i2c-0/0-0058/48070000.i2c:tps659038@58:tps659038_pwr_button/input/input2
    [    7.441432] (stk) :sysfs entries created
    [    7.441801] scsi host0: ahci
    [    7.442058] ata1: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a1410ff] port 0x100 irq 356
    [    7.443369] vip 48990000.vip: loading firmware vpdma-1b8.bin
    [    7.468384] vip 48990000.vip: VPDMA firmware loaded
    [    7.476455] random: nonblocking pool is initialized
    [    7.497211]  remoteproc0: powering up 58820000.ipu
    [    7.509528]  remoteproc0: Booting fw image dra7-ipu1-fw.xem4, size 6142375
    [    7.516517] omap-iommu 58882000.mmu: 58882000.mmu: version 2.1
    [    7.527043]  remoteproc0: remote processor 58820000.ipu is now up
    [    7.534513] virtio_rpmsg_bus virtio0: rpmsg host is online
    [    7.808391] ata1: SATA link down (SStatus 0 SControl 300)
    [    7.948775]  remoteproc1: powering up 55020000.ipu
    [    7.953752]  remoteproc1: Booting fw image dra7-ipu2-fw.xem4, size 3485072
    [    7.960787] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1
    [    8.035288]  remoteproc1: remote processor 55020000.ipu is now up
    [    8.053276] virtio_rpmsg_bus virtio1: rpmsg host is online
    [    8.056638] virtio_rpmsg_bus virtio1: creating channel rpmsg-rpc addr 0x3b
    [    8.060925] virtio_rpmsg_bus virtio0: creating channel rpmsg-client-sample addr 0x32
    [    8.061109] virtio_rpmsg_bus virtio0: creating channel rpmsg-client-sample addr 0x33
    [    8.062965] virtio_rpmsg_bus virtio0: creating channel rpmsg-omx addr 0x3c
    [    8.063135] virtio_rpmsg_bus virtio0: creating channel rpmsg-rpc addr 0x3b
    [    8.113425]  remoteproc1: registered virtio1 (type 7)
    [    8.161754] rpmsg_rpc rpmsg0: probing service rpmsg-dce with src 1024 dst 59
    [    8.170226] rpmsg_rpc rpmsg4: probing service rpc_example_2 with src 1024 dst 59
    [    8.170574] rpmsg_rpc rpmsg0: published functions = 8
    [    8.187473] rpmsg_rpc rpmsg4: published functions = 8
    [    8.931004] FAT-fs (mmcblk1p2): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [    8.947137] FAT-fs (mmcblk1p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [    8.979471] FAT-fs (mmcblk1p3): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [    9.084092] usbcore: registered new interface driver usbfs
    [    9.090061] usbcore: registered new interface driver hub
    [    9.095899] usbcore: registered new device driver usb
    [    9.565073] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
    [    9.570770] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1
    [    9.579026] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x00210010
    [    9.587989] xhci-hcd xhci-hcd.1.auto: irq 453, io mem 0x48890000
    [    9.594328] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [    9.601278] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    9.608655] usb usb1: Product: xHCI Host Controller
    [    9.613659] usb usb1: Manufacturer: Linux 4.1.13-g8dc6617 xhci-hcd
    [    9.620183] usb usb1: SerialNumber: xhci-hcd.1.auto
    [    9.626098] hub 1-0:1.0: USB hub found
    [    9.629918] hub 1-0:1.0: 1 port detected
    [    9.634176] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
    [    9.639719] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2
    [    9.647481] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    [    9.655737] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
    [    9.662574] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    9.669842] usb usb2: Product: xHCI Host Controller
    [    9.674738] usb usb2: Manufacturer: Linux 4.1.13-g8dc6617 xhci-hcd
    [    9.680952] usb usb2: SerialNumber: xhci-hcd.1.auto
    [    9.686561] hub 2-0:1.0: USB hub found
    [    9.690371] hub 2-0:1.0: 1 port detected
    [    9.765939] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [    9.776077] kjournald starting.  Commit interval 5 seconds
    [    9.783692] EXT3-fs (mmcblk0p3): using internal journal
    [    9.789114] EXT3-fs (mmcblk0p3): recovery complete
    [    9.793930] EXT3-fs (mmcblk0p3): mounted filesystem with ordered data mode
    [    9.948384] usb 1-1: new high-speed USB device number 2 using xhci-hcd
    [   10.008465] usb 2-1: new SuperSpeed USB device number 2 using xhci-hcd
    [   10.028628] usb 2-1: New USB device found, idVendor=0451, idProduct=8140
    [   10.035599] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
    [   10.047741] hub 2-1:1.0: USB hub found
    [   10.051802] hub 2-1:1.0: 4 ports detected
    [   10.088683] usb 1-1: New USB device found, idVendor=0451, idProduct=8142
    [   10.095647] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=1
    [   10.103049] usb 1-1: SerialNumber: 980200611D05
    [   10.111657]  remoteproc2: powering up 40800000.dsp
    [   10.116474]  remoteproc2: Booting fw image dra7-dsp1-fw.xe66, size 21591344
    [   10.130325] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
    [   10.136245] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0
    [   10.142146] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0
    [   10.148679] hub 1-1:1.0: USB hub found
    [   10.152494] hub 1-1:1.0: 4 ports detected
    [   10.163237]  remoteproc2: RSC_INTMEM is deprecated. Please do not use this resource type to support loading into internal memories.
    [   10.179996]  remoteproc2: remote processor 40800000.dsp is now up
    [   10.186912] virtio_rpmsg_bus virtio2: rpmsg host is online
    [   10.192832]  remoteproc2: registered virtio2 (type 7)
    [   10.313119]  remoteproc3: powering up 41000000.dsp
    [   10.317945]  remoteproc3: Booting fw image dra7-dsp2-fw.xe66, size 21591344
    [   10.322289] CMEMK module: reference Linux version 4.1.13
    [   10.330446] allocated heap buffer 0x40500000 of size 0x100000
    [   10.336262] cmemk initialized
    [   10.337177] omap_hwmod: mmu0_dsp2: _wait_target_disable failed
    [   10.337214] omap-iommu 41501000.mmu: 41501000.mmu: version 3.0
    [   10.337249] omap-iommu 41502000.mmu: 41502000.mmu: version 3.0
    [   10.349748]  remoteproc3: RSC_INTMEM is deprecated. Please do not use this resource type to support loading into internal memories.
    [   10.354228]  remoteproc3: remote processor 41000000.dsp is now up
    [   10.357124] virtio_rpmsg_bus virtio3: rpmsg host is online
    [   10.357152]  remoteproc3: registered virtio3 (type 7)
    [   10.385600] virtio_rpmsg_bus virtio3: creating channel rpmsg-proto addr 0x3d
    [   10.392901] virtio_rpmsg_bus virtio2: creating channel rpmsg-proto addr 0x3d
    [   10.422193] cryptodev: driver 1.6 loaded.
    [   10.461168] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    bootlogd: cannot allocate pseudo tty: No such file or directory
    Starting random number generator daemon.
    ALSA: Restoring mixer settings...
    Fri Jan 29 03:35:53 UTC 2016
    INIT: Entering runlevel: 5
    Configuring network interfaces... [   10.999932] net eth0: initializing cpsw version 1.15 (0)
    [   11.090094] net eth0: phy found : id is : 0x221622
    done.
    Starting system message bus: dbus.
    UIM SYSFS Node Found at /sys/./devices/platform/kim/install
    Starting uim-sysfs daemon.
    uim:@ main
    uim:install = /sys/./devices/platform/kim/install
    uim:dev_name = /sys/./devices/platform/kim/dev_name
    uim:baud_rate = /sys/./devices/platform/kim/baud_rate
    uim:flow_cntrl = /sys/./devices/platform/kim/flow_cntrl
    uim:begin polling...
    Initializing the graphics driver ...
    Starting Dropbear SSH server: [   12.008793] NET: Registered protocol family 10
    [   12.016535] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    dropbear.
    Starting telnet daemon.
    Starting tiipclad daemon
    GateMP support enabled on host
    
    Opened log file: lad.txt
    
    numProcessors = 5 id = 0 baseId = 0
    
    Spawned daemon: /usr/bin/lad_dra7xx
    
    .
    Starting rpcbind daemon...done.
    starting statd: done
    Starting syslogd/klogd: done
    Starting thttpd.
     * Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon
    [ ok ]
    Starting Telephony daemon
    Starting Lighttpd Web Server: [   12.960230] Bluetooth: Core ver 2.20
    [   12.963872] NET: Registered protocol family 31
    [   12.968449] Bluetooth: HCI device and connection manager initialized
    [   12.974843] Bluetooth: HCI socket layer initialized
    [   12.979829] Bluetooth: L2CAP socket layer initialized
    [   12.984935] Bluetooth: SCO socket layer initialized
    lighttpd.
    2016-01-29 03:35:55: (/home/gtbldadm/processor-sdk-linux-fido-build/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa15hf-vfp-neon-linux-gnueabi/lighttpd/1.4.35-r1/lighttpd-1.4.35/src/log.c.164) server started 
    Initializing /dev/gdbtty0 based on /lib/firmware/dra7-dsp1-fw.xe66 ...
    gdb_globalData (local)  = 00806000
    gdb_globalData (global) = 40806000
    Initializing /dev/gdbtty1 based on /lib/firmware/dra7-dsp2-fw.xe66 ...
    gdb_globalData (local)  = 00806000
    gdb_globalData (global) = 41006000
    /
    Starting Matrix GUI application.
    Enabling thermal zones...
    [   17.095587] cpsw 48484000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [   17.103972] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPLv3 packages:
    	autoconf
    	binutils-dev
    	binutils
    	bison-dev
    	bison
    	coreutils-dev
    	coreutils
    	cpp-symlinks
    	cpp
    	g++-symlinks
    	g++
    	gawk-dev
    	gawk
    	gcc-symlinks
    	gcc
    	gdb
    	gdbc6x
    	gdbserver
    	gstreamer1.0-libav
    	libgmp-dev
    	libgmp10
    	libgmpxx4
    	libmpc3
    	libmpfr4
    	make
    	parted
    	swig-dev
    	swig
    
    If you do not wish to distribute GPLv3 components please remove
    the above packages prior to distribution.  This can be done using
    the opkg remove command.  i.e.:
        opkg remove <package>
    Where <package> is the name printed in the list above
    
    NOTE: If the package is a dependency of another package you
          will be notified of the dependent packages.  You should
          use the --force-removal-of-dependent-packages option to
          also remove the dependent packages as well
    ***************************************************************
    ***************************************************************
    
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            
    
    Arago Project http://arago-project.org am57xx-evm /dev/ttyO2
    
    Arago 2015.12 am57xx-evm /dev/ttyO2
    
    am57xx-evm login: root
    root@am57xx-evm:~# cat /home/root/FPSTEST/DSP/canny_ex1.cpp 
    #include <opencv2/imgproc/imgproc.hpp>
    #include <opencv2/highgui/highgui.hpp>
    #include <opencv2/core/ocl.hpp>
    #include <time.h>
    #include <unistd.h>
    
    /* Time difference calculation, in ms units */
    double tdiff_calc(struct timespec &tp_start, struct timespec &tp_end)
    {
    	return (double)(tp_end.tv_nsec -tp_start.tv_nsec) * 0.000001 + (double)(tp_end.tv_sec - tp_start.tv_sec) * 1000.0;
    }
    using namespace cv;
    int main(int argc, char** argv)
    {
    	struct timespec tp0, tp1, tp2, tp3;
    	UMat img, gray;
    	while(1)
    	{
    		imread("lena.png", 1).copyTo(img);
    		clock_gettime(CLOCK_MONOTONIC, &tp0);
    		cvtColor(img, gray, COLOR_BGR2GRAY);
    		clock_gettime(CLOCK_MONOTONIC, &tp1);
    		GaussianBlur(img, gray, Size(5, 5), 1.25);
    		clock_gettime(CLOCK_MONOTONIC, &tp2);
    		Canny(gray, gray, 0, 30);
    		clock_gettime(CLOCK_MONOTONIC, &tp3);
    		//printf ("BGR2GRAY  tdiff=%lf ms \n", tdiff_calc(tp0, tp1));
    		//printf ("GaussBlur tdiff=%lf ms \n", tdiff_calc(tp1, tp2));
    		//printf ("Canny     tdiff=%lf ms \n", tdiff_calc(tp2, tp3));
    		imwrite("canny_proc.jpg", gray);
    	}
    }
    root@am57xx-evm:~# cd /home/root/FPSTEST/DSP/
    root@am57xx-evm:~/FPSTEST/DSP# 
    root@am57xx-evm:~/FPSTEST/DSP# 
    root@am57xx-evm:~/FPSTEST/DSP# 
    root@am57xx-evm:~/FPSTEST/DSP# g++ -std=c++11 -o canny_ex1 canny_ex1.cpp `pkg-co nfig opencv --cflags --libs`
    root@am57xx-evm:~/FPSTEST/DSP# 
    root@am57xx-evm:~/FPSTEST/DSP# 
    root@am57xx-evm:~/FPSTEST/DSP# 
    root@am57xx-evm:~/FPSTEST/DSP# export TI_OCL_LOAD_KERNELS_ONCHIP=Y
    root@am57xx-evm:~/FPSTEST/DSP# export TI_OCL_CACHE_KERNELS=Y
    root@am57xx-evm:~/FPSTEST/DSP# export OPENCV_OPENCL_DEVICE='TI AM57:ACCELERATOR: TI Multicore C66 DSP'
    root@am57xx-evm:~/FPSTEST/DSP# echo "OpenCL on, canny"_"e"x"1"
    OpenCL on, canny_ex1
    root@am57xx-evm:~/FPSTEST/DSP# . ./e canny_ex1 &
    [1] 1223
    root@am57xx-evm:~/FPSTEST/DSP# 
    root@am57xx-evm:~/FPSTEST/DSP# 
    root@am57xx-evm:~/FPSTEST/DSP# top
    Mem: 373892K used, 1495972K free, 9316K shrd, 24492K buff, 190624K cached
    CPU:  42% usr  14% sys   0% nic  42% idle   0% io   0% irq   0% sirq
    Load average: 0.04 0.07 0.06 2/96 1225
      PID  PPID USER     STAT   VSZ %VSZ %CPU COMMAND
     1223  1192 root     R     103m   6%  52% ./canny_ex1
     1045     1 root     S     178m  10%   0% /usr/bin/matrix_browser http://localho
      956   949 root     S    24764   1%   0% weston --idle-time=0
      966     1 root     S     9840   1%   0% /usr/bin/lad_dra7xx -g -l lad.txt
      982   956 root     S     8436   0%   0% /usr/lib/weston/weston-desktop-shell
      967   956 root     S     7400   0%   0% /usr/lib/weston/weston-keyboard
     1017     1 root     S     5192   0%   0% /usr/sbin/lighttpd -f /etc/lighttpd.co
     1009     1 root     S     4572   0%   0% /usr/sbin/ofonod
     1188     1 root     S     3400   0%   0% /bin/login --
      997     1 avahi    S     3392   0%   0% avahi-daemon: running [am57xx-evm.loca
      998   997 avahi    S     3392   0%   0% avahi-daemon: chroot helper
      121     1 root     S     3304   0%   0% /lib/udev/udevd -d
      363   121 root     S     3300   0%   0% /lib/udev/udevd -d
      364   121 root     S     3300   0%   0% /lib/udev/udevd -d
     1192  1188 root     S     2876   0%   0% -sh
      934     1 messageb S     2616   0%   0% /usr/bin/dbus-daemon --system
      991     1 nobody   S     2476   0%   0% /usr/sbin/thttpd -d /srv/www -p 8080
      949     1 root     S     2320   0%   0% {runWeston} /bin/bash /usr/bin/runWest
      960     1 root     S     2256   0%   0% /usr/sbin/dropbear -r /etc/dropbear/dr
      972     1 rpc      S     2220   0%   0% /usr/sbin/rpcbind
    root@am57xx-evm:~/FPSTEST/DSP# 
    root@am57xx-evm:~/FPSTEST/DSP# 
    root@am57xx-evm:~/FPSTEST/DSP# dsptop -s1 -d1 -p
    dsptop - Elapsed Time 00:00:00
    Moving Average Mode
    Average DSP Usage:  0.00% Accuracy 100.00%
    
    >
    DSP    %USAGE   RUN TIME+     IDLE TIME+ 
    DSP_0    0.00  00:00:00.000  00:00:00.000
    DSP_1    0.00  00:00:00.000  00:00:00.000>dsptop - Elapsed Time 00:00:01
    Moving Average Mode
    Average DSP Usage:  0.00% Accuracy 100.00%
    
    

    regards,

    Manish

  • Hello pavel,

    i am using "dsptop -s1 -d1 -p" command then getting some time bellow error .

    [  270.201412] ------------[ cut here ]------------
    [  270.208217] WARNING: CPU: 0 PID: 1201 at /home/gtbldadm/processor-sdk-linux-fido-build/build-CORTEX_1/arago-tmp-external-linaro-toolchain/wo
    rk-shared/am57xx-evm/kernel-source/drivers/bus/omap_l3_noc.c:147 l3_interrupt_handler+0x248/0x34c()
    [  270.229509] 44000000.ocp:L3 Custom Error: MASTER MPU TARGET L3_INSTR (Idle): Data Access in User mode during Functional access
    [  270.240943] Modules linked in: bluetooth ipv6 gdbserverproxy(O) cryptodev(O) cmemk(O) xhci_plat_hcd xhci_hcd usbcore rpmsg_rpc virtio_rpmsg_
    bus evdev dwc3 udc_core ti_vip snd_soc_omap_hdmi_audio ahci_platform libahci_platform mt9t11x snd_soc_simple_card rtc_ds1307 pixcir_i2c_ts palm
    as_pwrbutton libahci rtc_palmas extcon_palmas snd_soc_tlv320aic3x omapdrm_pvr(O) phy_omap_usb2 leds_gpio libata omap_wdt ti_vpe ti_vpdma dwc3_o
    map rtc_omap omap_rng rng_core st_drv debugss_kmodule(O) gpio_keys omap_remoteproc remoteproc virtio virtio_ring extcon_usb_gpio extcon
    [  270.290621] CPU: 0 PID: 1201 Comm: canny_ex1 Tainted: G           O    4.1.13-g8dc6617 #1
    [  270.298828] Hardware name: Generic DRA74X (Flattened Device Tree)
    [  270.304942] Backtrace:
    [  270.307408] [<c0012f78>] (dump_backtrace) from [<c001319c>] (show_stack+0x18/0x1c)
    [  270.315005]  r7:c030fc28 r6:00000093 r5:c08e7c0c r4:00000000
    [  270.320713] [<c0013184>] (show_stack) from [<c0631b2c>] (dump_stack+0x9c/0xdc)
    [  270.327965] [<c0631a90>] (dump_stack) from [<c0039a38>] (warn_slowpath_common+0x88/0xb8)
    [  270.336084]  r5:00000009 r4:d4d6de00
    [  270.339685] [<c00399b0>] (warn_slowpath_common) from [<c0039aa0>] (warn_slowpath_fmt+0x38/0x40)
    [  270.348414]  r8:c07e2fd8 r7:00000000 r6:ee1ac650 r5:c07e3098 r4:c07e313c
    [  270.355174] [<c0039a6c>] (warn_slowpath_fmt) from [<c030fc28>] (l3_interrupt_handler+0x248/0x34c)
    [  270.364078]  r3:ee1ac4c0 r2:c07e313c
    [  270.367673]  r4:80080003
    [  270.370222] [<c030f9e0>] (l3_interrupt_handler) from [<c0079f54>] (handle_irq_event_percpu+0x80/0x13c)
    [  270.379562]  r10:c0910f35 r9:ee1a7600 r8:00000017 r7:00000000 r6:00000000 r5:ee1a7660
    [  270.387452]  r4:ee1ac9c0
    [  270.390001] [<c0079ed4>] (handle_irq_event_percpu) from [<c007a054>] (handle_irq_event+0x44/0x64)
    [  270.398906]  r10:00000df0 r9:b1938282 r8:ee008000 r7:00000000 r6:ee1ac9c0 r5:ee1a7660
    [  270.406794]  r4:ee1a7600
    [  270.409341] [<c007a010>] (handle_irq_event) from [<c007cd80>] (handle_fasteoi_irq+0xb8/0x17c)
    [  270.417897]  r7:00000000 r6:c08cfa3c r5:ee1a7660 r4:ee1a7600
    [  270.423601] [<c007ccc8>] (handle_fasteoi_irq) from [<c00795b8>] (generic_handle_irq+0x34/0x44)
    [  270.432243]  r7:00000000 r6:00000000 r5:00000017 r4:00000017
    [  270.437948] [<c0079584>] (generic_handle_irq) from [<c0079890>] (__handle_domain_irq+0x64/0xbc)
    [  270.446677]  r5:00000017 r4:c08c4d2c
    [  270.450276] [<c007982c>] (__handle_domain_irq) from [<c00094ac>] (gic_handle_irq+0x2c/0x64)
    [  270.458657]  r9:b1938282 r8:30c5387d r7:fa212000 r6:d4d6dfb0 r5:c08ca948 r4:fa21200c
    [  270.466465] [<c0009480>] (gic_handle_irq) from [<c0637a68>] (__irq_usr+0x48/0x60)
    [  270.473974] Exception stack(0xd4d6dfb0 to 0xd4d6dff8)
    [  270.479042] dfa0:                                     00034b90 00000002 00038c10 00030b10
    [  270.487250] dfc0: 00034ba0 0002bbcc 0004ce80 0003cc80 0002bbc4 b1938282 00000df0 00000ffb
    [  270.495459] dfe0: 00030b20 bedff598 000037c0 b6bea8b4 20010010 ffffffff
    [  270.502096]  r7:30c5387d r6:ffffffff r5:20010010 r4:b6bea8b4
    [  270.507798] ---[ end trace e6dd9e773f4948b0 ]---

    I am using default image which is in SD card.

    Please provide sample  Application which is use DSP Core  so that i can check DSP core utilization.

    regards,

    Manish

  • Any Update, We are waiting for your response..
  • Part Number: TMDSEVM572X

    Tool/software: Linux

    Hello Team,

    I am from CIMCON  India Pvt. Ltd.  Ahmedabad. i have purchased Am5728 board. 

    I am using default image which is on SD card. Please let me know about below points.

    1- How to enable DSP core ?

    2- What is application which we can run on DSP ?

    3- How to test DSP core utilization when my application run on DSP ?

    regards,

    Manish

  • Manish,

    Check if the below pointers will be in help regarding dsptop usage:

    downloads.ti.com/.../profiling.html

    e2e.ti.com/.../581710
    e2e.ti.com/.../589994
    e2e.ti.com/.../620601

    Regarding example applications, check:

    root@am57xx-evm:/usr/share/ti/examples



    Regards,
    Pavel

  • Hi Team,

    I have wrote a below example for verify Opencl in my board.

    if (!ocl::haveOpenCL())
        {
            cout << "OpenCL is not avaiable..." << endl;
            return 0;
        }

    Ans:- OpenCL is not avaiable..

    Opencl library is not available  in Am5728 board?

    please tell me how to get it.

    regards,

    Manish

  • Manish,

    Yes, OpenCL is supported by default with AM57x PSDK v4.02, see the below wiki:

    processors.wiki.ti.com/.../Processor_SDK_Linux_Release_Notes

    For more info regarding AM57x OpenCL, please create new e2e thread in Sitara forum.

    Regards,
    Pavel