Spaces:

arjun.a
range data
5aefcf4
Ticket Name: Linux/TDA2: Usecase working in VSDK 3.02 but not in VSDK 3.03
Query Text:
Part Number: TDA2 Tool/software: Linux Hello, I'm using Ubuntu 16.04 with kernel version 4.16.7. I have a usecase that is working with VSDK 3.02 but when it is built with VSDK 3.03 one of the links' processData() never gets called so nothing is happening. There is no error reported. I would like to ask what might be causing this and if there is any significant difference between VSDK 3.02 and 3.03. Thanks in advance. Regards, Nick
Responses:
Hi, For any major changes please refer the release notes. Can you tell about your usecase. You need to 1st debug which link is not getting the SYSTEM_NEW_DATA cmd. Check the previous link whether its sending the that command to the next link. Is the buffers are available to all link or it went to a hang state due to unavailability of buffers. Regards, Anuj
Hi Anuj, The usecase obtains video from Capture link (IPU2) after which it is Duplicated and one branch goes to Display link (IPU2) and the other one goes to a custom link (A15) which is supposed to send the frame over PCIe to the usecase running on another SoC. The strange thing is that the usecase runs correctly on VSDK 3.02 but when the same code is built in VSDK 3.03 it is like explained in original post. The processData() doesn't get called even once so I would not say that it is due to unavailability of buffers. Is there any reason why the Capture link wouldn't send a SYSTEM_NEW_DATA cmd to the next links in the chain? Regards, Nick
Hi, Which link is not getting the SYSTEM_NEW_DATA cmd? Your custom link on A15 or the link running on other soc. Regards, Anuj
Hi, The custom link on A15 is not getting the SYSTEM_NEW_DATA cmd. The other SoC is not a problem, at least for now. Regards, Nick
Hi, Have you verifed inside the tskMain function of A15 link that its not receiving any command. Can you please verify the same on ipc link on A15 whether that it receiving the cmd or not. Please confirm also that capture link is sending any cmd or not? Regards, Anuj
Hi Anuj, I added some debug printfs and it seems that the Capture link is not sending SYSTEM_NEW_DATA commands. I also tried another usecase which is only Capture -> Display and it works correctly, Capture link prints that the SYSTEM_NEW_DATA cmd is being sent. So, it has something to with the usecase from original post. Is there any reason why Capture would not send the SYSTEM_NEW_DATA there? Regards, Nick
Hi, So according to you capture link itself is not sending cmd but in a simpler usecase it send the cmd. Can you check inside the process function of capture link where exactly it is stucking. Regards, Anuj
Hi Anuj, I managed to track down the place where the execution gets stuck and it is in captureLink_tsk.c within CaptureLink_tskRun(). status = Utils_tskRecvMsg(pTsk, &pRunMsg, BSP_OSAL_WAIT_FOREVER); This is the call that the execution gets stuck in. What would be the next steps? Regards, Nick
Hi, can you check whether you are registering the call back function CaptureLink_drvCallback if(!pInst->isSubframeEnabled) { pInst->cbPrm.cbFxn = &CaptureLink_drvCallback; } please add log inside the if condition and check whether its hitting the if condition or not If its hitting then add log inside CaptureLink_drvCallback function and check whether driver is giving any callbacks or not? Regards, Anuj
Hi Anuj, The logs have shown that the callback gets registered (so it goes into the 'if' branch) but the driver is not giving any callbacks. Do you have any idea why this would happen? Regards, Nick
Hi, Please confirm the below question. 1. Did you not get even 1 log inside the callback function.? 2. Earlier you said you are able to run capture->display usecase, is that on VSK3.3? 3.If that is on 3.3 the can you verify the capture link params from both the usecase and make sure both are same. 4. Can you add a dup link and put a display link with the 2nd output queue of dup and check whether you are going inside the callback function? 5.If you have access to ccs and jtag then can you add a global variable in code and inside the callback function change that variable to a particular value and after running check that value in ccs.(Sometimes logs are not reliable so you can use this technique) Regards, Anuj
Hi Anuj, 1. I did not get any logs inside callback function, not even 1. 2. Yes, the mentioned usecase was on VSDK 3.03. 3. I can confirm that the params are the same for both usecases. 4. I made a usecase as follows: Capture -> Dup Dup -> Null (A15) Dup -> Display GrpxSrc -> Display_Grpx It is very close to the usecase with problems, only has Null on A15 instead of my custom link. It works correctly. Not sure what could be making Capture stuck in my usecase. As I mentioned, it works on VSDK 3.02. 5. Unfortunately I have no jtag in my possession. Regards, Nick
Hi, Please do not use null link instead of your custom link. Use the belo usecase Capture -> Dup Dup -> custom link(A15) Dup -> Display GrpxSrc -> Display_Grpx Share the complete log of this usecase from the create phase and press p and share that log too. Please try to replace capture link by a NullSrc link in the above usecase and share the log. Regards, Anuj
Hi Anuj, The usecase that you have written in the previous post is exactly the same as the usecase I have problems with. Find its log attached as 1.log. As for the change from Capture to NullSrc, that usecase throws a lot of errors and its log can be found attached as 2.log. Regards, Nick 1.log 2.log
U-Boot SPL 2016.05 (Jul 12 2018 - 21:07:33)
DRA752-GP ES2.0
no pinctrl for hs200_1_8v
no pinctrl for ddr_1_8v
Card did not respond to voltage select!
*** Warning - MMC init failed, using default environment
Trying to boot from MMC1
reading dra7-ipu2-fw.lzop
spl_load_file_fat: error reading file dra7-ipu2-fw.lzop, err - -1
spl: error reading image dra7-ipu2-fw.lzop, err - -1
Error loading remotecore IPU2!,Continuing with boot ...
reading dra7-dsp1-fw.lzop
spl_load_file_fat: error reading file dra7-dsp1-fw.lzop, err - -1
spl: error reading image dra7-dsp1-fw.lzop, err - -1
Error loading remotecore DSP1!,Continuing with boot ...
reading dra7-dsp2-fw.lzop
spl_load_file_fat: error reading file dra7-dsp2-fw.lzop, err - -1
spl: error reading image dra7-dsp2-fw.lzop, err - -1
Error loading remotecore DSP2!,Continuing with boot ...
reading dra7-ipu1-fw.lzop
spl_load_file_fat: error reading file dra7-ipu1-fw.lzop, err - -1
spl: error reading image dra7-ipu1-fw.lzop, err - -1
Error loading remotecore IPU1!,Continuing with boot ...
Card did not respond to voltage select!
*** Warning - MMC init failed, using default environment
reading u-boot.img
reading u-boot.img
reading u-boot.img
reading u-boot.img
U-Boot 2016.05 (Jul 12 2018 - 21:07:33 +0200)
CPU : DRA752-GP ES2.0
Model: TI DRA742
Board: DRA74x EVM REV
DRAM: 1.5 GiB
MMC: i2c_write: error waiting for data ACK (status=0x116)
pcf8575_i2c_write_le16 i2c write failed to addr 21
OMAP SD/MMC: 0, OMAP SD/MMC: 1
Card did not respond to voltage select!
*** Warning - MMC init failed, using default environment
Warning: fastboot.board_rev: unknown board revision
Card did not respond to voltage select!
ERROR: invalid mmc device
at arch/arm/cpu/armv7/omap-common/utils.c:193/mmc_get_part_size()
Warning: fastboot.userdata_size: unable to calc
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: Could not get PHY for ethernet@48484000: addr 2
Warning: ethernet@48484000 using MAC address from ROM
eth0: ethernet@48484000
Hit any key to stop autoboot: 2  1  0
i2c_write: error waiting for data ACK (status=0x116)
pcf8575_i2c_write_le16 i2c write failed to addr 21
i2c_write: error waiting for data ACK (status=0x116)
pcf8575_i2c_write_le16 i2c write failed to addr 21
switch to partitions #0, OK
mmc0 is current device
i2c_write: error waiting for data ACK (status=0x116)
pcf8575_i2c_write_le16 i2c write failed to addr 21
i2c_write: error waiting for data ACK (status=0x116)
pcf8575_i2c_write_le16 i2c write failed to addr 21
SD/MMC found on device 0
reading boot.scr
** Unable to read file boot.scr **
reading uEnv.txt
163 bytes read in 3 ms (52.7 KiB/s)
Loaded env from uEnv.txt
Importing environment from mmc0 ...
i2c_write: error waiting for data ACK (status=0x116)
pcf8575_i2c_write_le16 i2c write failed to addr 21
i2c_write: error waiting for data ACK (status=0x116)
pcf8575_i2c_write_le16 i2c write failed to addr 21
switch to partitions #0, OK
mmc0 is current device
i2c_write: error waiting for data ACK (status=0x116)
pcf8575_i2c_write_le16 i2c write failed to addr 21
i2c_write: error waiting for data ACK (status=0x116)
pcf8575_i2c_write_le16 i2c write failed to addr 21
SD/MMC found on device 0
3563528 bytes read in 175 ms (19.4 MiB/s)
106972 bytes read in 40 ms (2.6 MiB/s)
Booting from mmc0 ...
Kernel image @ 0x82000000 [ 0x000000 - 0x366008 ]
## Flattened Device Tree blob at 88000000
Booting using the fdt blob at 0x88000000
Loading Device Tree to 8ffe2000, end 8ffff1db ... 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.4.84 (rtrk@rtrkw637-lin) (gcc version 5.3.1 20160113 (Linaro GCC 5.3-2016.02) ) #12 SMP PREEMPT Tue Aug 7 09:35:59 CEST 2018
[ 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 DRA742
[ 0.000000] Reserved memory: created DMA memory pool at 0x0000000040300000, size 3 MiB
[ 0.000000] Reserved memory: initialized node cmem@40300000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: regions without no-map are not yet supported
[ 0.000000] Reserved memory: created CMA memory pool at 0x0000000099000000, size 80 MiB
[ 0.000000] Reserved memory: initialized node ipu2_cma@95800000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created CMA memory pool at 0x000000009e000000, size 32 MiB
[ 0.000000] Reserved memory: initialized node ipu1_cma@9d000000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: regions without no-map are not yet supported
[ 0.000000] Reserved memory: created CMA memory pool at 0x00000000a1000000, size 32 MiB
[ 0.000000] Reserved memory: initialized node dsp1_cma@99000000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created CMA memory pool at 0x00000000a3000000, size 32 MiB
[ 0.000000] Reserved memory: initialized node dsp2_cma@9f000000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: regions without no-map are not yet supported
[ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a9000000, size 64 MiB
[ 0.000000] Reserved memory: initialized node cmem@A9000000, compatible id shared-dma-pool
[ 0.000000] cma: Reserved 24 MiB at 0x00000000be400000
[ 0.000000] Forcing write-allocate cache policy for SMP
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] OMAP4: Map 0x00000000bfd00000 to fe600000 for dram barrier
[ 0.000000] DRA752 ES2.0
[ 0.000000] PERCPU: Embedded 11 pages/cpu @ef62b000 s14912 r8192 d21952 u45056
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 243264
[ 0.000000] Kernel command line: console=ttyO0,115200n8 vram=16M root=PARTUUID=1f69d138-02 rw rootwait ip=none mem=1024M
[ 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: 410804K/979968K available (6643K kernel code, 320K rwdata, 2400K rodata, 336K init, 290K bss, 364364K reserved, 204800K cma-reserved, 234496K highmem)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xf0800000 - 0xff800000 ( 240 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xf0000000 ( 768 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0008000 - 0xc08dd02c (9045 kB)
[ 0.000000] .init : 0xc08de000 - 0xc0932000 ( 336 kB)
[ 0.000000] .data : 0xc0932000 - 0xc0982260 ( 321 kB)
[ 0.000000] .bss : 0xc0984000 - 0xc09cc8c0 ( 291 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] Build-time adjustment of leaf fanout to 32.
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] ti_dt_clocks_register: failed to lookup clock node gmac_gmii_ref_clk_div
[ 0.000000] OMAP clockevent source: timer1 at 32786 Hz
[ 0.000000] Architected cp15 timer(s) running at 6.14MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x16af5adb9, max_idle_ns: 440795202250 ns
[ 0.000005] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4398046511023ns
[ 0.000016] Switching to timer-based delay loop, resolution 162ns
[ 0.000338] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
[ 0.000345] OMAP clocksource: 32k_counter at 32768 Hz
[ 0.000783] Console: colour dummy device 80x30
[ 0.000799] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
[ 0.000805] This ensures that you still see kernel messages. Please
[ 0.000811] update your kernel commandline.
[ 0.000825] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
[ 0.000838] pid_max: default: 32768 minimum: 301
[ 0.000937] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000947] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.001491] Initializing cgroup subsys io
[ 0.001508] Initializing cgroup subsys memory
[ 0.001533] Initializing cgroup subsys devices
[ 0.001546] Initializing cgroup subsys freezer
[ 0.001557] Initializing cgroup subsys perf_event
[ 0.001569] Initializing cgroup subsys pids
[ 0.001595] CPU: Testing write buffer coherency: ok
[ 0.001792] /cpus/cpu@0 missing clock-frequency property
[ 0.001807] /cpus/cpu@1 missing clock-frequency property
[ 0.001818] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.001850] Setting up static identity map for 0x80008380 - 0x800083e0
[ 0.080059] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.080126] Brought up 2 CPUs
[ 0.080139] SMP: Total of 2 processors activated (24.59 BogoMIPS).
[ 0.080145] CPU: All CPU(s) started in HYP mode.
[ 0.080151] CPU: Virtualization extensions available.
[ 0.080527] devtmpfs: initialized
[ 0.109084] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
[ 0.110050] omap_hwmod: l3_main_2 using broken dt data from ocp
[ 0.313099] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.313121] futex hash table entries: 512 (order: 3, 32768 bytes)
[ 0.317371] pinctrl core: initialized pinctrl subsystem
[ 0.318217] NET: Registered protocol family 16
[ 0.319136] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.340214] cpuidle: using governor ladder
[ 0.370237] cpuidle: using governor menu
[ 0.378637] OMAP GPIO hardware version 0.1
[ 0.382726] omap_gpio 4805d000.gpio: could not find pctldev for node /ocp/l4@4a000000/scm@2000/pinmux@1400/gpio6_pins, deferring probe
[ 0.384708] irq: no irq domain found for /ocp/l4@4a000000/scm@2000/pinmux@1400 !
[ 0.400988] omap-gpmc 50000000.gpmc: GPMC revision 6.0
[ 0.401001] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
[ 0.410276] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.410286] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.410750] omap4_sram_init:Unable to allocate sram needed to handle errata I688
[ 0.410759] omap4_sram_init:Unable to get sram pool needed to handle errata I688
[ 0.411348] OMAP DMA hardware revision 0.0
[ 0.451526] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported)
[ 0.457436] edma 43300000.edma: TI EDMA DMA engine driver
[ 0.461791] omap-iommu 40d01000.mmu: 40d01000.mmu registered
[ 0.461967] omap-iommu 40d02000.mmu: 40d02000.mmu registered
[ 0.462125] omap-iommu 58882000.mmu: 58882000.mmu registered
[ 0.462286] omap-iommu 55082000.mmu: 55082000.mmu registered
[ 0.462575] omap-iommu 41501000.mmu: 41501000.mmu registered
[ 0.462766] omap-iommu 41502000.mmu: 41502000.mmu registered
[ 0.465765] palmas 0-0058: IRQ missing: skipping irq request
[ 0.481206] palmas 0-0058: Muxing GPIO 2e, PWM 0, LED 0
[ 0.543357] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
[ 0.543769] omap_i2c 48060000.i2c: bus 2 rev0.12 at 400 kHz
[ 0.543972] media: Linux media interface: v0.10
[ 0.544024] Linux video capture interface: v2.00
[ 0.544064] pps_core: LinuxPPS API ver. 1 registered
[ 0.544071] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]>
[ 0.544095] PTP clock support registered
[ 0.544147] EDAC MC: Ver: 3.0.0
[ 0.544895] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
[ 0.545187] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
[ 0.545517] Advanced Linux Sound Architecture Driver Initialized.
[ 0.546362] clocksource: Switched to clocksource arch_sys_counter
[ 0.556981] NET: Registered protocol family 2
[ 0.557477] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.557540] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.557665] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.557717] UDP hash table entries: 512 (order: 2, 16384 bytes)
[ 0.557749] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[ 0.557957] NET: Registered protocol family 1
[ 0.558219] RPC: Registered named UNIX socket transport module.
[ 0.558228] RPC: Registered udp transport module.
[ 0.558235] RPC: Registered tcp transport module.
[ 0.558242] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.559242] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
[ 0.569137] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.569778] NFS: Registering the id_resolver key type
[ 0.569803] Key type id_resolver registered
[ 0.569811] Key type id_legacy registered
[ 0.569872] ntfs: driver 2.1.32 [Flags: R/O].
[ 0.571157] bounce: pool size: 64 pages
[ 0.571311] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[ 0.571325] io scheduler noop registered
[ 0.571338] io scheduler deadline registered
[ 0.571371] io scheduler cfq registered (default)
[ 0.576978] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128
[ 0.639636] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
[ 0.642988] 4806a000.serial: ttyS0 at MMIO 0x4806a000 (irq = 268, base_baud = 3000000) is a 8250
[ 1.560265] console [ttyS0] enabled
[ 1.564660] 4806c000.serial: ttyS1 at MMIO 0x4806c000 (irq = 269, base_baud = 3000000) is a 8250
[ 1.574364] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 270, base_baud = 3000000) is a 8250
[ 1.584413] [drm] Initialized drm 1.1.0 20060810
[ 1.590465] OMAP DSS rev 6.1
[ 1.594205] omapdss_dss 58000000.dss: bound 58001000.dispc (ops dispc_component_ops)
[ 1.609895] loop: module loaded
[ 1.613445] vmemexp device MAJOR num = 246
[ 1.617598] vmemexp class registered
[ 1.621312] /dev/vmemexp device registered
[ 1.625426] ioctl DBUFIOC_EXPORT_VIRTMEM = -1072899120
[ 1.631122] nand: No NAND device found
[ 1.634892] omap2-nand 8000000.nand: scan failed, may be bus-width mismatch
[ 1.644808] m25p80 spi32766.0: s25fl256s1 (32768 Kbytes)
[ 1.650228] 7 ofpart partitions found on MTD device spi32766.0
[ 1.656087] Creating 7 MTD partitions on "spi32766.0":
[ 1.661265] 0x000000000000-0x000000040000 : "QSPI.SPL"
[ 1.667431] 0x000000040000-0x000000140000 : "QSPI.u-boot"
[ 1.673762] 0x000000140000-0x0000001c0000 : "QSPI.u-boot-spl-os"
[ 1.680699] 0x0000001c0000-0x0000001d0000 : "QSPI.u-boot-env"
[ 1.687403] 0x0000001d0000-0x0000001e0000 : "QSPI.u-boot-env.backup1"
[ 1.694762] 0x0000001e0000-0x0000009e0000 : "QSPI.kernel"
[ 1.701118] 0x0000009e0000-0x000002000000 : "QSPI.file-system"
[ 1.708879] libphy: Fixed MDIO Bus: probed
[ 1.715764] cpsw 48484000.ethernet: Detected MACID = 9c:1d:58:cc:ff:fe
[ 1.722446] cpsw 48484000.ethernet: cpts: overflow check period 800
[ 1.729424] cpsw 48484000.ethernet: cpsw: Detected MACID = 9c:1d:58:cc:ff:ff
[ 1.738065] mousedev: PS/2 mouse device common for all mice
[ 1.744318] i2c /dev entries driver
[ 1.753661] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr25 mode
[ 1.760094] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr12 mode
[ 1.766662] evm_3v3_sw: supplied by sysen1
[ 1.937222] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.947296] aic_dvdd: supplied by evm_3v3_sw
[ 1.953191] davinci-mcasp 4847c000.mcasp: invalid tdm slots: 0
[ 1.960737] NET: Registered protocol family 10
[ 1.976033] sit: IPv6 over IPv4 tunneling driver
[ 1.981243] NET: Registered protocol family 17
[ 1.985924] Key type dns_resolver registered
[ 1.990366] omap_voltage_late_init: Voltage driver support not added
[ 1.997255] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm
[ 2.003464] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm
[ 2.010165] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm
[ 2.016395] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm
[ 2.023708] Power Management for TI OMAP4+ devices.
[ 2.028839] Registering SWP/SWPB emulation handler
[ 2.034901] dmm 4e000000.dmm: workaround for errata i878 in use
[ 2.042449] dmm 4e000000.dmm: initialized all PAT entries
[ 2.050383] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 2.057046] [drm] No driver support for vblank timestamp query.
[ 2.063468] [drm] Initialized omapdrm 1.0.0 20110917 on minor 0
[ 2.090912] pcf857x: probe of 0-0020 failed with error -121
[ 2.096757] pcf857x: probe of 0-0021 failed with error -121
[ 2.146390] davinci_mdio 48485000.mdio: davinci mdio revision 1.6
[ 2.152513] davinci_mdio 48485000.mdio: no live phy, scanning all
[ 2.160132] davinci_mdio: probe of 48485000.mdio failed with error -5
[ 2.167268] omap_hsmmc 4809c000.mmc: Got CD GPIO
[ 2.208493] asoc-simple-card sound0: tlv320aic3x-hifi <-> 48468000.mcasp mapping ok
[ 2.228919] hctosys: unable to open rtc device (rtc0)
[ 2.246385] evm_1v8: disabling
[ 2.249465] aic_dvdd: disabling
[ 2.252815] ldousb: disabling
[ 2.256284] ALSA device list:
[ 2.259283] #0: DRA7xx-EVM
[ 2.263045] Waiting for root device PARTUUID=1f69d138-02...
[ 2.903441] mmc2: host does not support reading read-only switch, assuming write-enable
[ 2.913389] mmc2: new high speed SDHC card at address 1234
[ 2.919403] mmcblk0: mmc2:1234 SA16G 14.5 GiB
[ 2.924958] mmcblk0: p1 p2
[ 2.938023] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities
[ 2.947603] EXT4-fs (mmcblk0p2): couldn't mount as ext2 due to feature incompatibilities
[ 2.978819] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 2.987014] VFS: Mounted root (ext4 filesystem) on device 179:2.
[ 2.995835] devtmpfs: mounted
[ 2.999050] Freeing unused kernel memory: 336K
[ 3.003512] This architecture does not have kernel memory protection.
[ 3.256198] systemd[1]: System time before build time, advancing clock.
[ 3.313867] random: systemd: uninitialized urandom read (16 bytes read, 13 bits of entropy available)
[ 3.327226] random: systemd: uninitialized urandom read (16 bytes read, 13 bits of entropy available)
[ 3.339017] systemd[1]: systemd 229 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT +GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN)
[ 3.357593] systemd[1]: Detected architecture arm.
Welcome to Arago 2016.12!
[ 3.387476] systemd[1]: Set hostname to <dra7xx-evm>.
[ 3.444587] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 14 bits of entropy available)
[ 3.484682] random: systemd-gpt-aut: uninitialized urandom read (16 bytes read, 15 bits of entropy available)
[ 3.485991] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 15 bits of entropy available)
[ 3.491199] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 15 bits of entropy available)
[ 3.514808] random: systemd-gpt-aut: uninitialized urandom read (16 bytes read, 16 bits of entropy available)
[ 3.592372] random: systemd: uninitialized urandom read (16 bytes read, 18 bits of entropy available)
[ 3.601940] random: systemd: uninitialized urandom read (16 bytes read, 18 bits of entropy available)
[ 3.611923] random: systemd: uninitialized urandom read (16 bytes read, 18 bits of entropy available)
[ 3.981278] systemd[1]: basic.target: Found ordering cycle on basic.target/start
[ 3.988752] systemd[1]: basic.target: Found dependency on sysinit.target/start
[ 3.996016] systemd[1]: basic.target: Found dependency on alignment.service/start
[ 4.003593] systemd[1]: basic.target: Found dependency on basic.target/start
[ 4.010703] systemd[1]: basic.target: Breaking ordering cycle by deleting job alignment.service/start
[ 4.020027] systemd[1]: alignment.service: Job alignment.service/start deleted to break ordering cycle starting with basic.target/start
[ SKIP ] Ordering cycle found, skipping alignment.service
[ 4.069941] systemd[1]: Reached target Remote File Systems.
[ OK ] Reached target Remote File Systems.
[ 4.096808] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[ OK ] Listening on /dev/initctl Compatibility Named Pipe.
[ 4.126819] systemd[1]: Listening on Network Service Netlink Socket.
[ OK ] Listening on Network Service Netlink Socket.
[ 4.156581] systemd[1]: Reached target Swap.
[ OK ] Reached target Swap.
[ 4.176666] systemd[1]: Listening on Syslog Socket.
[ OK ] Listening on Syslog Socket.
[ 4.198093] systemd[1]: Created slice User and Session Slice.
[ OK ] Created slice User and Session Slice.
[ 4.226703] systemd[1]: Listening on Journal Socket (/dev/log).
[ OK ] Listening on Journal Socket (/dev/log).
[ 4.257254] systemd[1]: Created slice System Slice.
[ OK ] Created slice System Slice.
[ 4.287304] systemd[1]: Created slice system-getty.slice.
[ OK ] Created slice system-getty.slice.
[ 4.316607] systemd[1]: Reached target Slices.
[ OK ] Reached target Slices.
[ 4.337285] systemd[1]: Created slice system-serial\x2dgetty.slice.
[ OK ] Created slice system-serial\x2dgetty.slice.
[ 4.366705] systemd[1]: Listening on Journal Socket.
[ OK ] Listening on Journal Socket.
[ 4.436781] systemd[1]: Starting Load Kernel Modules...
Starting Load Kernel Modules...
[ 4.469080] systemd[1]: Mounting Debug File System...
Mounting Debug File System...
[ 4.483755] systemd[1]: Mounting Temporary Directory...
Mounting Temporary Directory...
[ 4.519141] systemd[1]: Mounting POSIX Message Queue File System...
Mounting POSIX Message Queue File System...
[ 4.549002] systemd[1]: Starting Setup Virtual Console...
Starting Setup Virtual Console...
[ 4.579094] systemd[1]: Starting Journal Service...
Starting Journal Service...
[ 4.609398] systemd[1]: Starting Create list of required static device nodes for the current kernel...
Starting Create list of required st... nodes for the current kernel...
[ 4.686812] systemd[1]: Starting Remount Root and Kernel File Systems...
Starting Remount Root and Kernel File Systems...
[ 4.706991] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[ OK ] Started Dispatch Password Requests to Console Directory Watch.[ 4.716939] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 4.746962] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[[0;32m OK  ]Started Forward Password Requests to Wall Dirctory Watch.
[ 4.776622] systemd[1]: Reached target Paths.
[ OK ] Reached target Paths.
[ 4.796991] systemd[1]: Listening on udev Control Socket.
[ OK ] Listening on udev Control Socket.
[ 4.826655] systemd[1]: Listening on udev Kernel Socket.
[ OK ] Listening on udev Kernel Socket.
[ 4.881778] systemd[1]: Mounted POSIX Message Queue File System.
[ OK ] Mounted POSIX Message Queue File System.
[ 4.906678] systemd[1]: Mounted Debug File System.
[ OK ] Mounted Debug File System.
[ 4.926650] systemd[1]: Mounted Temporary Directory.
[ OK ] Mounted Temporary Directory.
[ 4.956860] systemd[1]: Started Journal Service.
[ OK ] Started Journal Service.
[FAILED] Failed to start Load Kernel Modules.
See 'systemctl status systemd-modules-load.service' for details.
[ OK ] Started Setup Virtual Console.
[ OK ] Started Create list of required sta...ce nodes for the current kernel.
[ OK ] Started Remount Root and Kernel File Systems.
Starting udev Coldplug all Devices...
Starting Create Static Device Nodes in /dev...
Starting Apply Kernel Variables...
Mounting Configuration File System...
Starting Flush Journal to Persistent Storage...
[ OK ] Mounted Configuration File System.
[ OK ] Started Create Static Device Nodes in /dev.
[ OK ] Started Apply Kernel Variables.
[ 5.815379] systemd-journald[130]: Received request to flush runtime journal from PID 1
[ OK ] Started Flush Journal to Persistent Storage.
Starting udev Kernel Device Manager...
[ OK ] Reached target Local File Systems (Pre).
Mounting /media/ram...
Mounting /var/volatile...
[ OK ] Mounted /var/volatile.
[ OK ] Mounted /media/ram.
[ OK ] Started udev Kernel Device Manager.
[ OK ] Started udev Coldplug all Devices.
[ 6.336015] omap-rproc 55020000.ipu: assigned reserved memory node ipu2_cma@95800000
[ 6.351962] remoteproc0: 55020000.ipu is available
[ 6.356886] remoteproc0: Note: remoteproc is still under development and considered experimental.
[ 6.399952] remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[ 6.427047] omap-rproc 40800000.dsp: assigned reserved memory node dsp1_cma@99000000
[ 6.459054] remoteproc1: 40800000.dsp is available
[ 6.472224] remoteproc1: Note: remoteproc is still under development and considered experimental.
[ 6.517550] remoteproc1: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[ 6.554845] remoteproc1: Direct firmware load for dra7-dsp1-fw.xe66 failed with error -2
[ 6.564978] omap-rproc 41000000.dsp: assigned reserved memory node dsp2_cma@9f000000
[ 6.573883] remoteproc2: 41000000.dsp is available
[ 6.578165] remoteproc1: failed to load dra7-dsp1-fw.xe66
[ 6.612623] remoteproc2: Note: remoteproc is still under development and considered experimental.
Starting Load/Save Random Seed...
[ 6.629994] remoteproc2: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[ 6.656777] remoteproc2: Direct firmware load for dra7-dsp2-fw.xe66 failed with error -2
[ 6.679663] remoteproc2: failed to load dra7-dsp2-fw.xe66
[ OK ] Reached target Local File Systems.
[ 6.764741] omap_rng 48090000.rng: OMAP Random Number Generator ver. 20
Starting Create Volatile Files and Directories...
[ 6.832076] remoteproc0: registered virtio0 (type 7)
[ 6.838378] omap-des 480a5000.des: OMAP DES hw accel rev: 2.2
[ OK ] Started Load/Save Random Seed.[ 6.877096] omap_rtc 48838000.rtc: rtc core: registered 48838000.rtc as rtc0
[ OK ] Found device /dev/ttyS0.
[ OK ] Started Create Volatile Files and Directories.
[ 7.169554] omap-sham 4b101000.sham: hw accel on OMAP rev 4.3
[ 7.189515] CAN device driver interface
[ 7.233357] SCSI subsystem initialized
[ 7.300755] c_can_platform 4ae3c000.can: c_can_platform device registered (regs=fce3c000, irq=325)
Starting Network Time Synchronization...
Starting Update UTMP about System Boot/Shutdown...[ 7.356952] omap-aes 4b500000.aes: OMAP AES hw accel rev: 3.3
[ 7.437394] omap-aes 4b700000.aes: OMAP AES hw accel rev: 3.3
[ OK ] Started Network Time Synchronization.
[ 7.678897] [drm] Initialized pvr 1.14.3699939 20110701 on minor 1
[ 7.698607] ahci 4a140000.sata: SSS flag set, parallel bus scan disabled
[ 7.714110] ahci 4a140000.sata: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl platform mode
[ 7.767318] ahci 4a140000.sata: flags: 64bit ncq sntf stag pm led clo only pmp pio slum part ccc apst
[ 7.863564] scsi host0: ahci
[ 7.866970] ata1: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a1410ff] port 0x100 irq 309
[ OK ] Started Update UTMP about System Boot/Shutdown.
[ OK ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
[ OK ] Reached target Sound Card.
Starting Synchronize System and HW clocks...
[ OK ] Reached target System Time Synchronized.
[ OK ] Started Synchronize System and HW clocks.
[ 8.256426] ata1: SATA link down (SStatus 0 SControl 300)
[ 8.364945] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 8.472269] remoteproc0: powering up 55020000.ipu
[ 8.495796] remoteproc0: Booting fw image dra7-ipu2-fw.xem4, size 5723312
[ 8.522055] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1
[ 8.589234] remoteproc0: remote processor 55020000.ipu is now up
[ 8.597274] virtio_rpmsg_bus virtio0: rpmsg host is online
[ 8.640672] virtio_rpmsg_bus virtio0: creating channel rpmsg-proto addr 0x50
[ 8.667402] NET: Registered protocol family 41
[ OK ] Reached target System Initialization.
[ OK ] Listening on dropbear.socket.
[ OK ] Listening on RPCbind Server Activation Socket.
[ OK ] Listening on D-Bus System Message Bus Socket.
[ OK ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[ OK ] Reached target Sockets.
[ OK ] Reached target Basic System.
Starting Permit User Sessions...
[ OK ] Started D-Bus System Message Bus.
Starting Print notice about GPLv3 packages...
[ OK ] Started strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf.
[ OK ] Started System Logging Service.
[ OK ] Started Kernel Logging Service.
Starting TI MultiCore Tools Daemon...
Starting Login Service...
Starting Avahi mDNS/DNS-SD Stack...
Starting Network Service...
Starting uim-sysfs.service...
Starting Save/Restore Sound Card State...
[ OK ] Started Daily Cleanup of Temporary Directories.
[ OK ] Reached target Timers.
Starting Telephony service...
[ OK ] Started Permit User Sessions.
[ OK ] Started Save/Restore Sound Card State.
[FAILED] Failed to start TI MultiCore Tools Daemon.
See 'systemctl status ti-mct-daemon.service' for details.
[ 9.641680] net eth1: initializing cpsw version 1.15 (0)
[ OK ] Started Network Service.
[ 9.661557] net eth0: initialized cpsw ale version 1.4
[ 9.675404] net eth0: ALE Table size 1024
[ 9.690151] libphy: PHY 48485000.mdio:03 not found
[ 9.694974] net eth1: phy "48485000.mdio:03" not found on slave 1, err -19
[ 9.733110] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[ 9.756738] net eth0: initializing cpsw version 1.15 (0)
[ 9.772082] libphy: PHY 48485000.mdio:07 not found
[ 9.785999] net eth0: phy "48485000.mdio:07" not found on slave 0, err -19
[ 9.822803] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 9.922487] Bluetooth: Core ver 2.21
[ 9.932682] NET: Registered protocol family 31
[ 9.951040] Bluetooth: HCI device and connection manager initialized
[ 9.964962] Bluetooth: HCI socket layer initialized
[ 9.977619] Bluetooth: L2CAP socket layer initialized
[ 9.989453] Bluetooth: SCO socket layer initialized
[ OK ] Started Telephony service.
[ OK ] Started Avahi mDNS/DNS-SD Stack.
[ OK ] Started Login Service.
[ OK ] Reached target Network.
[ 10.075517] NET: Registered protocol family 15
Starting Lightning Fast Webserver With Light System Requirements...
Starting Network Name Resolution...
[ OK ] Started Serial Getty on ttyS0.
[ OK ] Started Getty on tty1.
[ OK ] Started Lightning Fast Webserver With Light System Requirements.
[ OK ] Started Network Name Resolution.
[ 10.396932] Initializing XFRM netlink socket
[ 10.946657] random: nonblocking pool is initialized
[ OK ] Started uim-sysfs.service.
Starting rc.pvr.service...
[ 11.198554] PVR_K: UM DDK-(3699939) and KM DDK-(3699939) match. [ OK ]
[ OK ] Started rc.pvr.service.
Starting weston.service...
[ OK ] Started weston.service.
Starting tiipclad-daemon.service...
Starting telnetd.service...
[ OK ] Started telnetd.service.
[ OK ] Started tiipclad-daemon.service.
Starting thttpd.service...
[ OK ] Started thttpd.service.
Starting rng-tools.service...
[ OK ] Started rng-tools.service.
Starting gdbserverproxy.service...
[ OK ] Started gdbserverproxy.service.
Starting matrix-gui-2.0.service...
[ OK ] Started matrix-gui-2.0.service.
Starting thermal-zone-init.service...
[ OK ] Started thermal-zone-init.service.
***************************************************************
***************************************************************
NOTICE: This file system contains the following GPLv3 packages:
autoconf
binutils-dev
binutils
bison-dev
bison
cpp-symlinks
cpp
dosfstools
g++-symlinks
g++
gawk-dev
gawk
gcc-symlinks
gcc
gdb
gdbc6x
gdbserver
gstreamer1.0-libav
libcairo-perf-utils
libgmp10
libidn11
libmpc3
libmpfr4
m4-dev
m4
make
nettle
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 dra7xx-evm ttyS0
Arago 2016.12 dra7xx-evm ttyS0
dra7xx-evm login: root
78root@dra7xx-evm:~# cd /opvi  t/vision_sdk/
root@dra7xx-evm:/opt/vision_sdk# ./vision_sdk_load.sh
[ 37.649470] DMA: Module install successful, device major num = 243
[ 37.656019] DRV: Module install successful
[ 37.681969] CMEMK module: reference Linux version 4.4.84
[ 37.688036] cmemk initialized
./disableDssInterruptsOnA15.sh: line 11: @0x4A002AC6:: command not found
./disableDssInterruptsOnA15.sh: line 12: @0x4A002AC6:: command not found
./disableDssInterruptsOnA15.sh: line 13: @0x4A002AC6:: command not found
./disableDssInterruptsOnA15.sh: line 14: @0x4A002AC6:: command not found
./disableDssInterruptsOnA15.sh: line 15: @0x4A002AC6:: command not found
./disableDssInterruptsOnA15.sh: line 16: @0x4A002AC6:: command not found
./disableDssInterruptsOnA15.sh: line 17: @0x4A002AC6:: command not found
./disableDssInterruptsOnA15.sh: line 18: @0x4A002AC6:: command not found
./disableDssInterruptsOnA15.sh: line 19: @0x4A002AC6:: command not found
updated 0x4A002AC6 value is 00930000
root@dra7xx-evm:/opt/vision_sdk# ./ub914_config.sh
config UB914...
config UB913...
Config DONE...
root@dra7xx-evm:/opt/vision_sdk# ./ov1063x_config.sh
OV1063X config ...
OV1063X config DONE
root@dra7xx-evm:/opt/vision_sdk# ./p apps.out \  
[HOST] OSA: MEM: 0: Mapped 0xa0100000 to 0xb694b000 of size 0x00100000
[HOST] OSA: MEM: 1: Mapped 0x84203000 to 0xa6f4b000 of size 0x0fa00000
[HOST] OSA: MEM: 2: Mapped 0xa0200000 to 0xa6e8b000 of size 0x00040000
[HOST] OSA: MEM: 3: Mapped 0xa02c0000 to 0xa6ecb000 of size 0x00080000
[HOST] OSA: MEM: 4: Mapped 0xa0440000 to 0xa6c8b000 of size 0x00200000
[HOST] OSA: HOST Remote Log Shared Memory @ 0xa024f140
[HOST] OSA: IPU2 Remote Log Shared Memory @ 0xa0363da0
[HOST] [HOST ] 56.582840 s: SYSTEM: System A15 Init in progress !!!
[HOST] [HOST ] 56.582931 s: SYSTEM: IPC: Init in progress !!!
[HOST] [HOST ] 56.582931 s: SYSTEM: IPC: Notify init in progress !!!
[HOST] [HOST ] 56.583206 s: SYSTEM: IPC: [IPU2] socket bind success !!! (dst vproc = 1, endpt = 81)
[HOST] [HOST ] 56.583236 s: SYSTEM: IPC: [IPU2] socket info (family = 41, dst proc id = -1, endpt = 81) !!!
[HOST] [HOST ] 56.583267 s: SYSTEM: IPC: [IPU2] socket connect success !!! (dst vproc = 1, endpt = 80)
[HOST] [HOST ] 56.583267 s: SYSTEM: IPC: [IPU2] socket info (family = 41, dst proc id = -1, endpt = 1024) !!!
[HOST] [HOST ] 56.583389 s: SYSTEM: IPC: Notify init DONE !!!
[HOST] [HOST ] 56.583419 s: SYSTEM: MSGQ: MsgQ init in progress !!!
[HOST] [HOST ] 56.583511 s: SYSTEM: MSGQ: MsgQ init DONE !!!
[HOST] [HOST ] 56.583541 s: SYSTEM: IPC: Init DONE !!!
[HOST] [HOST ] 56.583541 s: SYSTEM: Initializing A15 Links !!!
[HOST] [HOST ] 56.583663 s: IPC_OUT_0 : Init done - linkid-0x2000000
[HOST] [HOST ] 56.583785 s: IPC_OUT_1 : Init done - linkid-0x2000001
[HOST] [HOST ] 56.583877 s: IPC_OUT_2 : Init done - linkid-0x2000002
[HOST] [HOST ] 56.583999 s: IPC_OUT_3 : Init done - linkid-0x2000003
[HOST] [HOST ] 56.584090 s: IPC_OUT_4 : Init done - linkid-0x2000004
[HOST] [HOST ] 56.584487 s: IPC_IN_0 : Init done - linkid-0x200000a
[HOST] [HOST ] 56.584578 s: IPC_IN_1 : Init done - linkid-0x200000b
[HOST] [HOST ] 56.584700 s: IPC_IN_2 : Init done - linkid-0x200000c
[HOST] [HOST ] 56.584822 s: IPC_IN_3 : Init done - linkid-0x200000d
[HOST] [HOST ] 56.584914 s: IPC_IN_4 : Init done - linkid-0x200000e
[HOST] [HOST ] 56.585036 s: IPC_IN_5 : Init done - linkid-0x200000f
[HOST] [HOST ] 56.585127 s: IPC_IN_6 : Init done - linkid-0x2000010
[HOST] [HOST ] 56.585249 s: NULL_0 : Init done - linkid-0x2000014
[HOST] [HOST ] 56.585402 s: NULL_1 : Init done - linkid-0x2000015
[HOST] [HOST ] 56.585585 s: NULL_SRC_0 : Init done - linkid-0x2000039
[HOST] [HOST ] 56.585737 s: PCIE_S_0 : Init done - linkid-0x2000043
[HOST] [HOST ] 56.585890 s: PCIE_R_0 : Init done - linkid-0x2000044
[HOST] [HOST ] 56.586073 s: ALGORITHM_0 : Init done - linkid-0x2000031
[HOST] [HOST ] 56.586225 s: ALGORITHM_1 : Init done - linkid-0x2000032
[HOST] [HOST ] 56.586378 s: ALGORITHM_2 : Init done - linkid-0x2000033
[HOST] [HOST ] 56.586530 s: ALGORITHM_3 : Init done - linkid-0x2000034
[HOST] [HOST ] 56.586683 s: ALGORITHM_4 : Init done - linkid-0x2000035
[HOST] [HOST ] 56.586805 s: ALGORITHM_5 : Init done - linkid-0x2000036
[HOST] [HOST ] 56.586957 s: ALGORITHM_6 : Init done - linkid-0x2000037
[HOST] [HOST ] 56.587110 s: ALGORITHM_7 : Init done - linkid-0x2000038
[HOST] [HOST ] 56.587293 s: DUP0 : Init done - linkid-0x0
[HOST] [HOST ] 56.587537 s: DUP1 : Init done - linkid-0x0
[HOST] [HOST ] 56.587781 s: DUP2 : Init done - linkid-0x0
[HOST] [HOST ] 56.587994 s: DUP3 : Init done - linkid-0x0
[HOST] [HOST ] 56.588238 s: DUP4 : Init done - linkid-0x0
[HOST] [HOST ] 56.588421 s: SYNC_0 : Init done - linkid-0x0
[HOST] [HOST ] 56.588574 s: SYNC_1 : Init done - linkid-0x0
[HOST] [HOST ] 56.588757 s: SYNC_2 : Init done - linkid-0x0
[HOST] [HOST ] 56.588909 s: SYNC_3 : Init done - linkid-0x0
[HOST] [HOST ] 56.589092 s: MERGE_0 : Init done - linkid-0x0
[HOST] [HOST ] 56.589275 s: MERGE_1 : Init done - linkid-0x0
[HOST] [HOST ] 56.589428 s: MERGE_2 : Init done - linkid-0x0
VX_ZONE_INIT:Enabled[ 50.999208] omap_l3_noc 44000000.ocp: L3 application error: target 3 mod:2 (unclearable)
[ 51.023612] omap_l3_noc 44000000.ocp: L3 debug error: target 3 mod:2 (unclearable)
VX_ZONE_ERROR:Enabled
VX_ZONE_WARNING:Enabled
[HOST] [HOST ] 56.589611 s: MERGE_3 : Init done - linkid-0x0
[HOST] [HOST ] 56.589794 s: MERGE_4 : Init done - linkid-0x0
[HOST] [HOST ] 56.589946 s: SELECT_0 : Init done - linkid-0x0
[HOST] [HOST ] 56.590129 s: SELECT_1 : Init done - linkid-0x0
[HOST] [HOST ] 56.590343 s: GATE_0 : Init done - linkid-0x0
[HOST] [HOST ] 56.590526 s: GATE_1 : Init done - linkid-0x0
[HOST] [HOST ] 56.590678 s: GATE_2 : Init done - linkid-0x0
[HOST] [HOST ] 56.590800 s: GATE_3 : Init done - linkid-0x0
[HOST] [HOST ] 56.590953 s: SGXFRMCPY_0 : Init done - linkid-0x2000046
[HOST] [HOST ] 56.590953 s: SYSTEM: Initializing A15 Links ... DONE !!!
[HOST] [HOST ] 56.591319 s: OSA: Adjusting global time, timeH by 0 units!!!
[HOST] [IPU2 ] 14.567437 s: ***** IPU2 Firmware build time 14:54:54 Aug 8 2018
[HOST] [IPU2 ] 14.567620 s: *** SYSTEM: CPU Frequency <ORG = 212800000 Hz>, <NEW = 212800000 Hz>
[HOST] [IPU2 ] 14.570548 s: SYSTEM: System Common Init in progress !!!
[HOST] [IPU2 ] 14.580064 s: UTILS: CIO: Init Done !!!
[HOST] [IPU2 ] 14.580156 s: SYSTEM: IPC init in progress !!!
[HOST] [IPU2 ] 14.580247 s: SYSTEM: Notify init done !!!
[HOST] [IPU2 ] 14.581986 s: SYSTEM: MsgQ init done !!!
[HOST] [IPU2 ] 14.582901 s: RpmsgInit in progress...
[HOST] [IPU2 ] 14.582992 s: Connection established with HLOS, calling rpmsgInit
[HOST] [IPU2 ] 14.583633 s: SYSTEM: IPC init DONE !!!
[HOST] [IPU2 ] 14.588726 s: SYSTEM: Initializing TIOVX ...
[HOST] [IPU2 ] 14.588940 s: VX_ZONE_INIT:Enabled
[HOST] [IPU2 ] 14.589062 s: VX_ZONE_ERROR:Enabled
[HOST] [IPU2 ] 14.589184 s: VX_ZONE_WARNING:Enabled
[HOST] [IPU2 ] 14.592783 s: VX_ZONE_INIT:[tivxInit:48] Initialization Done !!!
[HOST] [IPU2 ] 14.592936 s: SYSTEM: Initializing TIOVX ... Done !!!
[HOST] [IPU2 ] 14.592997 s: SYSTEM: System Common Init Done !!!
[HOST] [IPU2 ] 14.593058 s: SYSTEM: System Init in progress !!!
[HOST] [IPU2 ] 14.593149 s: SYSTEM: BSP Common Init in progress !!!
[HOST] [IPU2 ] 14.593210 s: SYSTEM: BSP Common Init Done !!!
[HOST] [IPU2 ] 14.593271 s: SYSTEM: BSP Platform Init in progress !!!
[HOST] [IPU2 ] 14.596870 s: SYSTEM: BSP Platform Init Done !!!
[HOST] [IPU2 ] 14.596931 s: SYSTEM: FVID2 Init in progress !!!
[HOST] [IPU2 ] 14.597084 s: SYSTEM: FVID2 Init Done !!!
[HOST] [IPU2 ] 14.597145 s: SYSTEM: VPS Init in progress !!!
[HOST] [IPU2 ] 14.597206 s: SYSTEM: VPDMA Descriptor Memory Address translation ENABLED [0x80000000 -> 0x80000000]
[HOST] [IPU2 ] 14.600164 s: *** VPDMA Firmware Loading... ***
[HOST] [IPU2 ] 14.600286 s: VPDMA Firmware Address = 0xa035c4c0
[HOST] [IPU2 ] 14.600347 s: VPDMA Load Address = 0x4897d004
[HOST] [IPU2 ] 14.600469 s: VPDMA Firmware Version = 0x4d0001b8
[HOST] [IPU2 ] 14.600530 s: VPDMA List Busy Status = 0x00000000
[HOST] [IPU2 ] 14.600622 s: *** VPDMA Firmware Load Success ***
[HOST] [IPU2 ] 14.600957 s: *** VPDMA Firmware Loading... ***
[HOST] [IPU2 ] 14.601049 s: VPDMA Firmware Address = 0xa035c4c0
[HOST] [IPU2 ] 14.601140 s: VPDMA Load Address = 0x4899d004
[HOST] [IPU2 ] 14.601232 s: VPDMA Firmware Version = 0x4d0001b8
[HOST] [IPU2 ] 14.601323 s: VPDMA List Busy Status = 0x00000000
[HOST] [IPU2 ] 14.601384 s: *** VPDMA Firmware Load Success ***
[HOST] [IPU2 ] 14.601689 s: *** VPDMA Firmware Loading... ***
[HOST] [IPU2 ] 14.601781 s: VPDMA Firmware Address = 0xa035c4c0
[HOST] [IPU2 ] 14.601872 s: VPDMA Load Address = 0x489bd004
[HOST] [IPU2 ] 14.601994 s: VPDMA Firmware Version = 0x4d0001b8
[HOST] [IPU2 ] 14.602055 s: VPDMA List Busy Status = 0x00000000
[HOST] [IPU2 ] 14.602147 s: *** VPDMA Firmware Load Success ***
[HOST] [IPU2 ] 14.602452 s: *** VPDMA Firmware Loading... ***
[HOST] [IPU2 ] 14.602543 s: VPDMA Firmware Address = 0xa035c4c0
[HOST] [IPU2 ] 14.602635 s: VPDMA Load Address = 0x489dd004
[HOST] [IPU2 ] 14.602726 s: VPDMA Firmware Version = 0x4d0001b8
[HOST] [IPU2 ] 14.602818 s: VPDMA List Busy Status = 0x00000000
[HOST] [IPU2 ] 14.602909 s: *** VPDMA Firmware Load Success ***
[HOST] [IPU2 ] 14.661196 s: SYSTEM: VPS Init Done !!!
[HOST] [IPU2 ] 14.662081 s: UTILS: DMA: HWI Create for INT25 !!!
[HOST] [IPU2 ] 14.662355 s: SYSTEM: SW Message Box Msg Pool, Free Msg Count = 1024
[HOST] [IPU2 ] 14.662447 s: SYSTEM: Heap = LOCAL_DDR @ 0x00000000, Total size = 262144 B (256 KB), Free size = 260608 B (254 KB)
[HOST] [IPU2 ] 14.662599 s: SYSTEM: Heap = SR_OCMC @ 0x00000000, Total size = 0 B (0 KB), Free size = 0 B (0 KB)
[HOST] [IPU2 ] 14.662752 s: SYSTEM: Heap = SR_DDR_CACHED @ 0x84203000, Total size = 262144000 B (250 MB), Free size = 262144000 B (250 MB)
[HOST] [IPU2 ] 14.662965 s: SYSTEM: Heap = SR_DDR_NON_CACHED @ 0xa0100000, Total size = 1047168 B (0 MB), Free size = 1047168 B (0 MB)
[HOST] [IPU2 ] 14.663148 s: SYSTEM: Initializing Links !!!
[HOST] [IPU2 ] 14.925516 s: SYSTEM: Initializing Links ... DONE !!!
[HOST] [IPU2 ] 14.925944 s: CHAINS: Application Started !!!
[HOST] [IPU2 ] 14.936131 s: BOARD: Board Init in progress !!!
[HOST] [IPU2 ] 14.936558 s: BOARD: Board Init Done !!!
[HOST] [IPU2 ] 14.944671 s:
[HOST] [HOST ] 56.940980 s: SYSTEM: System A15 Init Done !!!
[HOST] [HOST ] 56.941163 s: NETWORK_CTRL: Starting Server (port=5000) !!!
[HOST] [HOST ] 56.941224 s: NETWORK_CTRL: Starting Server ... DONE (port=5000) !!!
[HOST] [HOST ] 57.475538 s:
[HOST] [HOST ]
[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 ]
[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 ]
1
[HOST] [HOST ] 59.618312 s:
[HOST] [HOST ]
[HOST] [HOST ] Single Camera Usecases
[HOST] [HOST ] ------------------------
[HOST] [HOST ] 1: FFN Single Camera View
[HOST] [HOST ]
[HOST] [HOST ] 2: Capture + pcieS
[HOST] [HOST ]
[HOST] [HOST ]
[HOST] [HOST ] x: Exit
[HOST] [HOST ]
[HOST] [HOST ] Enter Choice:
[HOST] [HOST ]
2
[HOST] [HOST ] 61.241841 s:
[HOST] [HOST ] 62.315927 s: IPC_IN_0 : Create in progress !!!
[HOST] [HOST ] 62.316385 s: IPC_IN_0 : Create Done !!!
[HOST] [IPU2 ] 62.315317 s: IPC_OUT_0 : Create in progress !!!
[HOST] [IPU2 ] 62.315683 s: IPC_OUT_0 : Create Done !!!
[HOST] [IPU2 ] 62.316629 s: DISPLAY: Create in progress !!!
[HOST] [IPU2 ] 62.317269 s: DISPLAY: Create Done !!!
[HOST] [IPU2 ] 62.317605 s: GRPXSRC: Create in progress !!!
[HOST] [IPU2 ] 63.888824 s: GRPXSRC: Create Done !!!
[HOST] [IPU2 ] 63.889282 s: DISPLAY: Create in progress !!!
[HOST] [IPU2 ] 63.889800 s: DISPLAY: Create Done !!!
[HOST] [IPU2 ] 63.890471 s: *** UTILS: CPU KHz = 20000 Khz ***
[HOST] [IPU2 ] 63.990575 s: SYSTEM: SW Message Box Msg Pool, Free Msg Count = 1023
[HOST] [IPU2 ] 63.990697 s: SYSTEM: Heap = LOCAL_DDR @ 0x00000000, Total size = 262144 B (256 KB), Free size = 255176 B (249 KB)
[HOST] [IPU2 ] 63.990880 s: SYSTEM: Heap = SR_OCMC @ 0x00000000, Total size = 0 B (0 KB), Free size = 0 B (0 KB)
[HOST] [IPU2 ] 63.991002 s: SYSTEM: Heap = SR_DDR_CACHED @ 0x84203000, Total size = 262144000 B (250 MB), Free size = 255692800 B (243 MB)
[HOST] [IPU2 ] 63.991246 s: SYSTEM: Heap = SR_DDR_NON_CACHED @ 0xa0100000, Total size = 1047168 B (0 MB), Free size = 1047168 B (0 MB)
[HOST] [IPU2 ] 63.991673 s: DISPLAY: Start in progress !!!
[HOST] [IPU2 ] 63.991734 s: DISPLAY: Start Done !!!
58.089232] virtio_rpmsg_bus virtio0: msg received with no recipient
[H OST] [HOST ] 64.002013 s:
[HOST] [HOST ]
[HOST][HOST ] ====================
[HOST] [HOST ] Chains Run-time Menu
[HOST] [HOST ] ====================
[HOST] [HOST[ 58.133132] virtio_rpmsg_bus virtio0: msg received with no recipient
]
[HOST] [HOST ] 0: Stop Chain
[HOST] [HOST ]
[OST] [HOST ] p: Print Performance Statistics
[HOST] [HOST ]
[HOST] [HOST ] Enter Choice:
[HOST] [HOST ]
[HOST] [IPU2 ] 64.000762 s: DISPLAY: Start in progress !!!
[HOST] [IPU2 ] 64.000854 s: DISPLAY: Start Done !!!
****** Segmentation fault caught ....
Faulty address is 0xffffffff, called from 0x2c51b
Totally Obtained 0 stack frames. signal number =11
Signal number = 11, Signal errno = 0
SI code = 1 (Address not mapped to object)
Fault addr = 0xffffffff
[bt] Execution path:
58.156311] virtio_rpmsg_bus virtio0: msg received with no recipient
orot@dra7xx-evm:/opt/vision_sdk# [ 60.960595] virtio_rpmsg_bus virtio0: msg received with no recipient
orot@dra7xx-evm:/opt/vision_sdk#
Hi, I have asked you to replace capture link By Null link in your faulty usecase to confirm that the issue is with capture link or your custome link. Currently from the log i can say that the issue seems to be in your custom link but just wanted to be sure about that. Can you take a refrence from bios null_src_display usecase and try the null link. Can you tell me what basically your custom link is doing and if it has any kind of dependency from any driver? Regards, Anuj
Hi Anuj, I added some stuff from null_src_display to my usecase with NullSource and it works without errors meaning the SYSTEM_CMD_NEW_DATA is being sent from NullSource and received by IPC_In and my custom link on A15. My custom link receives a frame, copies is to a buffer which is allocated in kernel space and mmaped up to VSDK, that kernel space buffer is then sent over PCIe by a driver to a driver on another SoC where it is copied from driver to its custom link and then displayed. Regards, Nick
Hi, Can you share your capture link params. Regards, Anuj
Hi, Did you able to resolve the issue. Regards, Anuj
Hi Anuj, I have not resolved my issue and have quit trying for now since other stuff to work on came by. Thank you for your assistance so far, maybe I'll get back to it when I have more time. Regards, Nick
Hi, So can you close this issue? Regards, Anuj