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.

Linux/TDA2PXEVM: Issue in running Vision SDK demo application on TDA2PX

Part Number: TDA2PXEVM
Other Parts Discussed in Thread: PMP, CSD, PGA460

Tool/software: Linux

Hi All,

Please see below details:

VSDK Version : 03.04.00.00, TDA2PX EVM

We are using Custom boardbased on TDA2PX EVM hardware.

We have followed all the steps for build mentioned in 'VSDK Linux User Guide'. Only change in our hardware compared to TDA2PX EVM is DDR size = 512 MB. We have referred to section '6.6 How To - Modify 1GB Linux Memory map to 512MB Linux Memory map' in 'VisionSDK_UserGuide_MemoryMap.pdf' and made necessary changes in all the files. 

When I try to run demo app.out file , system seems to be hanged after the print ' [HOST] [HOST  ]     38.098334 s:  SYSTEM: System A15 Init in progress !!!'. When I tried to debug the code it seems that this is happening in function 'System_waitAppInitComplete' function in file 'system_common.c' file. From the few debug prints which I have added it seems that IPU2 system Init is done correctly where as DSP1,DSP2 & A15system init status is still zero which leads to this hang in while 1 loop. I can see from the boot log that DSP1,DSP2 & IPU2 all are bring up correctly, so I am not sure why this is happening when I try to run apps.out file. 

Also one more strange thing I observed when running 'make -s -j depend' command is below error:

# CPUs that are required but not included in config [ tda2px_evm_linux_all ],
#
# ERROR: IPU1_0 MUST be included in application
# ERROR: EVE1 MUST be included in application

Where as EVE1 is selected in the 'CPUs to included in build'.

Any pointers as to where this might be going wrong?

Thank you!

Please refer below Log:

=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2018.08.01 14:05:58 =~=~=~=~=~=~=~=~=~=~=~=

U-Boot SPL 2016.05-00010-g9551b3d-dirty (Aug 01 2018 - 12:30:55)
DRA762-GP ES1.0
no pinctrl for hs200_1_8v
no pinctrl for ddr_1_8v
*** Warning - MMC init failed, using default environment

i2c_write: error waiting for data ACK (status=0x116)
i2c_write: error waiting for data ACK (status=0x116)
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 ...
spl: falcon_args_file not set in environment, falling back to default
reading single-stage-boot.dtb
spl_load_image_fat_os: error reading image single-stage-boot.dtb, err - -1
reading u-boot.img
reading u-boot.img
reading u-boot.img
reading u-boot.img


U-Boot 2016.05-00010-g9551b3d-dirty (Aug 01 2018 - 12:30:55 +0800)

CPU : DRA762-GP ES1.0
Model: TI DRA762 EVM
Board: DRA74x EVM REV
DRAM: 512 MiB
MMC: mmc@4809c000: fail to find sdr104 mode FDT_ERR_NOTFOUND
no pinctrl for sdr104
mmc@4809c000: fail to find ddr50 mode FDT_ERR_NOTFOUND
no pinctrl for ddr50
mmc@4809c000: fail to find sdr50 mode FDT_ERR_NOTFOUND
no pinctrl for sdr50
mmc@4809c000: fail to find sdr25 mode FDT_ERR_NOTFOUND
no pinctrl for sdr25
mmc@4809c000: fail to find sdr12 mode FDT_ERR_NOTFOUND
no pinctrl for sdr12
OMAP SD/MMC: 0, OMAP SD/MMC: 1
*** Warning - MMC init failed, using default environment

Warning: fastboot.board_rev: unknown board revision
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
## Error: "board_findfdt" not defined
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
165 bytes read in 2 ms (80.1 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
3559608 bytes read in 171 ms (19.9 MiB/s)
107957 bytes read in 31 ms (3.3 MiB/s)
Booting from mmc0 ...
Kernel image @ 0x82000000 [ 0x000000 - 0x3650b8 ]
## Flattened Device Tree blob at 88000000
Booting using the fdt blob at 0x88000000
Loading Device Tree to 8ffe2000, end 8ffff5b4 ... OK
flag = 0x00000400
fake = 0x00000000

######################## From announce_and_cleanup from arm#########################

Starting kernel ...


######################## Completed bootstage_mark_name #########################

######################## Completed cleanup_before_linux #########################
[ 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-00027-g018eb62-dirty (rohanadivarekar@RohansUbuntu-1404) (gcc version 5.3.1 20160113 (Linaro GCC 5.3-2016.02) ) #97 SMP PREEMPT Wed Aug 1 12:12:17 CST 2018
[ 0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[ 0.000000] Machine model: TI DRA762 EVM
[ 0.000000] Reserved memory: OVERLAP DETECTED!
[ 0.000000] ipu1_cma@9d000000 (0x9d000000--0x9e000000) overlaps with vsdk_eve_mem@9D100000 (0x9d100000--0x9d200000)
[ 0.000000] Reserved memory: created DMA memory pool at 0x40300000, 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 0x99000000, size 32 MiB
[ 0.000000] Reserved memory: initialized node ipu2_cma@95800000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created CMA memory pool at 0x9b000000, size 16 MiB
[ 0.000000] Reserved memory: initialized node dsp1_cma@99000000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created CMA memory pool at 0x9c000000, size 16 MiB
[ 0.000000] Reserved memory: initialized node dsp2_cma@9f000000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created CMA memory pool at 0x9d000000, size 16 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 DMA memory pool at 0x9d200000, size 32 MiB
[ 0.000000] Reserved memory: initialized node cmem@9D200000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: regions without no-map are not yet supported
[ 0.000000] cma: Reserved 24 MiB at 0x97800000
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] OMAP4: Map 0x9fe00000 to fe600000 for dram barrier
[ 0.000000] DRA762 ES1.0
[ 0.000000] PERCPU: Embedded 11 pages/cpu @df5c9000 s14912 r8192 d21952 u45056
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 120192
[ 0.000000] Kernel command line: console=ttyO0,115200n8 vram=16M root=PARTUUID=25e3264b-02 rw rootwait ip=none mem=512M
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Memory: 161696K/485376K available (6663K kernel code, 318K rwdata, 2392K rodata, 332K init, 286K bss, 217184K reserved, 106496K cma-reserved, 0K highmem)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xe0800000 - 0xff800000 ( 496 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0008000 - 0xc08e000c (9057 kB)
[ 0.000000] .init : 0xc08e1000 - 0xc0934000 ( 332 kB)
[ 0.000000] .data : 0xc0934000 - 0xc09839e0 ( 319 kB)
[ 0.000000] .bss : 0xc0985000 - 0xc09cc980 ( 287 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.000004] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4398046511023ns
[ 0.000016] Switching to timer-based delay loop, resolution 162ns
[ 0.000332] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
[ 0.000340] OMAP clocksource: 32k_counter at 32768 Hz
[ 0.000799] Console: colour dummy device 80x30
[ 0.000815] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
[ 0.000821] This ensures that you still see kernel messages. Please
[ 0.000828] update your kernel commandline.
[ 0.000839] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
[ 0.000851] pid_max: default: 32768 minimum: 301
[ 0.000946] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000956] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.001491] Initializing cgroup subsys io
[ 0.001508] Initializing cgroup subsys memory
[ 0.001534] Initializing cgroup subsys devices
[ 0.001546] Initializing cgroup subsys freezer
[ 0.001558] Initializing cgroup subsys perf_event
[ 0.001569] Initializing cgroup subsys pids
[ 0.001595] CPU: Testing write buffer coherency: ok
[ 0.001799] /cpus/cpu@0 missing clock-frequency property
[ 0.001816] /cpus/cpu@1 missing clock-frequency property
[ 0.001826] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.001871] Setting up static identity map for 0x80008340 - 0x800083a0
[ 0.080091] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.080159] Brought up 2 CPUs
[ 0.080172] SMP: Total of 2 processors activated (24.59 BogoMIPS).
[ 0.080179] CPU: All CPU(s) started in HYP mode.
[ 0.080184] CPU: Virtualization extensions available.
[ 0.081225] devtmpfs: initialized
[ 0.111126] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
[ 0.112083] omap_hwmod: l3_main_2 using broken dt data from ocp
[ 0.229596] omap_hwmod: dcan1: _wait_target_disable failed
[ 0.326648] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.326672] futex hash table entries: 512 (order: 3, 32768 bytes)
[ 0.328041] ------------[ cut here ]------------
[ 0.328061] WARNING: CPU: 0 PID: 1 at mm/cma.c:117 cma_init_reserved_areas+0x13c/0x21c()
[ 0.328068] Modules linked in:
[ 0.328083] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.4.84-00027-g018eb62-dirty #97
[ 0.328091] Hardware name: Generic DRA74X (Flattened Device Tree)
[ 0.328097] Backtrace:
[ 0.328117] [<c0013b1c>] (dump_backtrace) from [<c0013d18>] (show_stack+0x18/0x1c)
[ 0.328125] r7:c08f9e48 r6:60000013 r5:00000000 r4:c0953590
[ 0.328154] [<c0013d00>] (show_stack) from [<c02b39a8>] (dump_stack+0x8c/0xa0)
[ 0.328166] [<c02b391c>] (dump_stack) from [<c003581c>] (warn_slowpath_common+0x88/0xb8)
[ 0.328172] r7:c08f9e48 r6:00000075 r5:00000009 r4:00000000
[ 0.328195] [<c0035794>] (warn_slowpath_common) from [<c00358f0>] (warn_slowpath_null+0x24/0x2c)
[ 0.328201] r8:024080c0 r7:c0981340 r6:0009d200 r5:c082c650 r4:0009d000
[ 0.328226] [<c00358cc>] (warn_slowpath_null) from [<c08f9e48>] (cma_init_reserved_areas+0x13c/0x21c)
[ 0.328238] [<c08f9d0c>] (cma_init_reserved_areas) from [<c000988c>] (do_one_initcall+0x98/0x1e4)
[ 0.328244] r10:00000000 r9:c08e1600 r8:000000ab r7:d75f4580 r6:c09396f0 r5:c08f9d0c
[ 0.328267] r4:c09396f0
[ 0.328280] [<c00097f4>] (do_one_initcall) from [<c08e1f40>] (kernel_init_freeable+0x1d4/0x268)
[ 0.328287] r10:00000002 r9:c08e1600 r8:000000ab r7:c0921820 r6:c092f2a4 r5:c0985000
[ 0.328308] r4:c0985000
[ 0.328324] [<c08e1d6c>] (kernel_init_freeable) from [<c06837f4>] (kernel_init+0x18/0xf4)
[ 0.328330] r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c06837dc
[ 0.328350] r4:c0985000
[ 0.328363] [<c06837dc>] (kernel_init) from [<c000fd18>] (ret_from_fork+0x14/0x3c)
[ 0.328369] r5:c06837dc r4:00000000
[ 0.328393] ---[ end trace cd1a3e67782adc0e ]---
[ 0.329173] pinctrl core: initialized pinctrl subsystem
[ 0.330012] NET: Registered protocol family 16
[ 0.330990] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.360212] cpuidle: using governor ladder
[ 0.390236] cpuidle: using governor menu
[ 0.398842] OMAP GPIO hardware version 0.1
[ 0.403029] GPIO line 161 (radio_rst) hogged as output/low
[ 0.405439] irq: no irq domain found for /ocp/l4@4a000000/scm@2000/pinmux@1400 !
[ 0.431043] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.431053] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.431554] omap4_sram_init:Unable to allocate sram needed to handle errata I688
[ 0.431563] omap4_sram_init:Unable to get sram pool needed to handle errata I688
[ 0.432040] OMAP DMA hardware revision 0.0
[ 0.471610] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported)
[ 0.472802] edma 43300000.edma: memcpy is disabled
[ 0.477595] edma 43300000.edma: TI EDMA DMA engine driver
[ 0.482544] omap-iommu 40d01000.mmu: 40d01000.mmu registered
[ 0.482720] omap-iommu 40d02000.mmu: 40d02000.mmu registered
[ 0.482890] omap-iommu 58882000.mmu: 58882000.mmu registered
[ 0.483046] omap-iommu 55082000.mmu: 55082000.mmu registered
[ 0.483334] omap-iommu 41501000.mmu: 41501000.mmu registered
[ 0.483525] omap-iommu 41502000.mmu: 41502000.mmu registered
[ 0.486718] palmas 0-0058: IRQ missing: skipping irq request
[ 0.500822] palmas 0-0058: Muxing GPIO 51, PWM 0, LED 2
[ 0.551347] irq: no irq domain found for /ocp/i2c@48070000/tps65917@58 !
[ 0.551901] pcf857x: probe of 0-0020 failed with error -121
[ 0.552156] pcf857x: probe of 0-0021 failed with error -121
[ 0.552389] pcf857x: probe of 0-0026 failed with error -121
[ 0.552556] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
[ 0.552957] omap_i2c 48060000.i2c: bus 2 rev0.12 at 400 kHz
[ 0.570676] pcf857x: probe of 3-0021 failed with error -121
[ 0.570714] omap_i2c 4807a000.i2c: bus 3 rev0.12 at 400 kHz
[ 0.570915] media: Linux media interface: v0.10
[ 0.570966] Linux video capture interface: v2.00
[ 0.571010] pps_core: LinuxPPS API ver. 1 registered
[ 0.571017] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.571041] PTP clock support registered
[ 0.571083] EDAC MC: Ver: 3.0.0
[ 0.571844] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
[ 0.572143] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
[ 0.572498] Advanced Linux Sound Architecture Driver Initialized.
[ 0.573346] clocksource: Switched to clocksource arch_sys_counter
[ 0.583706] NET: Registered protocol family 2
[ 0.584200] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.584240] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.584307] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.584343] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.584363] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.584553] NET: Registered protocol family 1
[ 0.584816] RPC: Registered named UNIX socket transport module.
[ 0.584825] RPC: Registered udp transport module.
[ 0.584831] RPC: Registered tcp transport module.
[ 0.584837] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.585863] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
[ 0.594885] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.595518] NFS: Registering the id_resolver key type
[ 0.595547] Key type id_resolver registered
[ 0.595555] Key type id_legacy registered
[ 0.595622] ntfs: driver 2.1.32 [Flags: R/O].
[ 0.597039] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[ 0.597053] io scheduler noop registered
[ 0.597065] io scheduler deadline registered
[ 0.597096] io scheduler cfq registered (default)
[ 0.599512] vsys_5v0: supplied by vsys_12v0
[ 0.599560] ldo3: supplied by vsys_5v0
[ 0.603272] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128
[ 0.606711] PCI host bridge /ocp/axi@0/pcie_rc@51000000 ranges:
[ 0.606723] No bus range found for /ocp/axi@0/pcie_rc@51000000, using [bus 00-ff]
[ 0.606757] IO 0x20003000..0x20012fff -> 0x00000000
[ 0.606779] MEM 0x20013000..0x2fffffff -> 0x20013000
[ 0.636627] dra7-pcie 51000000.pcie_rc: link is not up
[ 0.636791] dra7-pcie 51000000.pcie_rc: PCI host bridge to bus 0000:00
[ 0.636804] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 0.636815] pci_bus 0000:00: root bus resource [io 0x0000-0xffff]
[ 0.636825] pci_bus 0000:00: root bus resource [mem 0x20013000-0x2fffffff]
[ 0.637234] PCI: bus0: Fast back to back transfers disabled
[ 0.637352] PCI: bus1: Fast back to back transfers enabled
[ 0.637433] pci 0000:00:00.0: BAR 0: assigned [mem 0x20100000-0x201fffff]
[ 0.637448] pci 0000:00:00.0: BAR 1: assigned [mem 0x20020000-0x2002ffff]
[ 0.637460] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 0.637687] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt
[ 0.698381] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
[ 0.701760] 4806a000.serial: ttyS0 at MMIO 0x4806a000 (irq = 301, base_baud = 3000000) is a 8250
[ 1.912163] console [ttyS0] enabled
[ 1.916555] 4806c000.serial: ttyS1 at MMIO 0x4806c000 (irq = 302, base_baud = 3000000) is a 8250
[ 1.926247] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 303, base_baud = 3000000) is a 8250
[ 1.936319] [drm] Initialized drm 1.1.0 20060810
[ 1.941811] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 1.948497] [drm] No driver support for vblank timestamp query.
[ 1.954653] [drm] Initialized vdrm 1.0.0 20110917 on minor 0
[ 1.961534] vsys_3v3: supplied by vsys_12v0
[ 1.965827] ldo5: supplied by vsys_3v3
[ 1.970182] OMAP DSS rev 6.1
[ 1.973961] omapdss_dss 58000000.dss: bound 58001000.dispc (ops dispc_component_ops)
[ 1.989766] loop: module loaded
[ 1.995715] vmemexp device MAJOR num = 245
[ 1.999842] vmemexp class registered
[ 2.003574] /dev/vmemexp device registered
[ 2.007686] ioctl DBUFIOC_EXPORT_VIRTMEM = -1072899120
[ 2.016008] m25p80 spi32766.0: unrecognized JEDEC id bytes: 00, 0, 0
[ 2.023521] libphy: Fixed MDIO Bus: probed
[ 2.073370] davinci_mdio 48485000.mdio: davinci mdio revision 1.6
[ 2.079494] libphy: 48485000.mdio: probed
[ 2.086947] davinci_mdio 48485000.mdio: phy[3]: device 48485000.mdio:03, driver unknown
[ 2.095692] cpsw 48484000.ethernet: Detected MACID = f4:84:4c:14:9b:7e
[ 2.102334] cpsw 48484000.ethernet: cpts: overflow check period 800
[ 2.109321] cpsw 48484000.ethernet: cpsw: Detected MACID = f4:84:4c:14:9b:7f
[ 2.118026] mousedev: PS/2 mouse device common for all mice
[ 2.134275] i2c /dev entries driver
[ 2.143051] omap_hsmmc 4809c000.mmc: Got CD GPIO
[ 2.147935] omap_hsmmc 4809c000.mmc: no pinctrl state for sdr104 mode
[ 2.154425] omap_hsmmc 4809c000.mmc: no pinctrl state for ddr50 mode
[ 2.160806] omap_hsmmc 4809c000.mmc: no pinctrl state for sdr50 mode
[ 2.167202] omap_hsmmc 4809c000.mmc: no pinctrl state for sdr25 mode
[ 2.173599] omap_hsmmc 4809c000.mmc: no pinctrl state for sdr12 mode
[ 2.180165] vio_3v3: supplied by vsys_3v3
[ 2.184406] vio_3v3_sd: supplied by vio_3v3
[ 2.188746] ldo4: supplied by vsys_5v0
[ 2.243789] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr25 mode
[ 2.250172] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr12 mode
[ 2.273519] smps5: supplied by vsys_3v3
[ 2.277572] vio_1v8: supplied by smps5
[ 2.334205] ledtrig-cpu: registered to indicate activity on CPUs
[ 2.346723] hwspinlock_user gatemp: requested 20 hwspinlocks
[ 2.353700] aic_dvdd: supplied by vio_3v3
[ 2.358982] davinci-mcasp 48464000.mcasp: DAI is shared
[ 2.365091] davinci-mcasp 48474000.mcasp: DAI is shared
[ 2.371585] NET: Registered protocol family 10
[ 2.386922] sit: IPv6 over IPv4 tunneling driver
[ 2.392104] NET: Registered protocol family 17
[ 2.396810] Key type dns_resolver registered
[ 2.401207] omap_voltage_late_init: Voltage driver support not added
[ 2.408102] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm
[ 2.414323] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm
[ 2.420603] buck10: supplied by vsys_3v3
[ 2.425197] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm
[ 2.431404] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm
[ 2.438732] Power Management for TI OMAP4+ devices.
[ 2.443832] Registering SWP/SWPB emulation handler
[ 2.449931] dmm 4e000000.dmm: workaround for errata i878 in use
[ 2.457307] dmm 4e000000.dmm: initialized all PAT entries
[ 2.465065] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 2.471708] [drm] No driver support for vblank timestamp query.
[ 2.476659] ###### In function mmc_attach_sd ######
[ 2.477277] ###### mmc_send_app_op_cond returned with 0 ######
[ 2.477281] ###### mmc_attach_bus returned with host->ocr_avail_sd = 0 ######
[ 2.477284] ###### mmc_select_voltage returned with 2097152 ######
[ 2.502264] [drm] Initialized omapdrm 1.0.0 20110917 on minor 1
[ 2.510293] asoc-simple-card sound0: tlv320aic3x-hifi <-> 48468000.mcasp mapping ok
[ 2.531064] hctosys: unable to open rtc device (rtc0)
[ 2.536808] ###### mmc_send_app_op_cond returned with 0 ######
[ 2.542666] ###### OCR = 0x402000008 ######
[ 2.553368] ###### ROCR = 0xd749de588 ######
[ 2.562473] aic_dvdd: disabling
[ 2.565687] ###### mmc_sd_get_cid returned with 0 ######
[ 2.565927] ALSA device list:
[ 2.565931] #0: DRA7xx-EVM
[ 2.577802] Waiting for root device PARTUUID=25e3264b-02...
[ 2.577810] ###### mmc_sd_get_csd returned with 0 ######
[ 2.583438] ###### mmc_select_card returned with 0 ######
[ 2.599751] mmc0: host does not support reading read-only switch, assuming write-enable
[ 2.607825] ###### mmc_sd_setup_card returned with 0 ######
[ 2.616813] ###### mmc_sd_init_card returned with 0 ######
[ 2.622334] mmc0: new high speed SDHC card at address aaaa
[ 2.638337] mmcblk0: mmc0:aaaa SS08G 7.40 GiB
[ 2.643964] mmcblk0: p1 p2
[ 2.654093] ###### In function mmc_attach_sd ######
[ 2.660422] ###### mmc_send_app_op_cond returned with -110 ######
[ 2.704120] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities
[ 2.712701] EXT4-fs (mmcblk0p2): couldn't mount as ext2 due to feature incompatibilities
[ 2.736159] mmc1: MAN_BKOPS_EN bit is not set
[ 2.736638] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 2.736668] VFS: Mounted root (ext4 filesystem) on device 179:2.
[ 2.762070] mmc1: mmc_select_hs200 failed, error -74
[ 2.767153] devtmpfs: mounted
[ 2.767173] : switch to mmc1 failed
[ 2.773895] Freeing unused kernel memory: 332K
[ 2.778366] This architecture does not have kernel memory protection.
[ 2.785090] mmc1: new MMC card at address 0001
[ 2.790074] mmcblk1: mmc1:0001 DG4008 7.28 GiB
[ 2.805443] mmcblk1boot0: mmc1:0001 DG4008 partition 1 4.00 MiB
[ 2.821912] mmcblk1boot1: mmc1:0001 DG4008 partition 2 4.00 MiB
[ 3.014508] systemd[1]: System time before build time, advancing clock.
[ 3.060062] random: systemd: uninitialized urandom read (16 bytes read, 11 bits of entropy available)
[ 3.073295] random: systemd: uninitialized urandom read (16 bytes read, 11 bits of entropy available)
[ 3.091036] 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.109667] systemd[1]: Detected architecture arm.

Welcome to Arago 2016.12!

[ 3.134500] systemd[1]: Set hostname to <dra7xx-evm>.
[ 3.203794] random: systemd-gpt-aut: uninitialized urandom read (16 bytes read, 12 bits of entropy available)
[ 3.203979] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 12 bits of entropy available)
[ 3.222501] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 13 bits of entropy available)
[ 3.227842] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 13 bits of entropy available)
[ 3.244052] random: systemd-gpt-aut: uninitialized urandom read (16 bytes read, 14 bits of entropy available)
[ 3.321364] random: systemd: uninitialized urandom read (16 bytes read, 16 bits of entropy available)
[ 3.330905] random: systemd: uninitialized urandom read (16 bytes read, 16 bits of entropy available)
[ 3.341077] random: systemd: uninitialized urandom read (16 bytes read, 16 bits of entropy available)
[ 3.735449] systemd[1]: sysinit.target: Found ordering cycle on sysinit.target/start
[ 3.743241] systemd[1]: sysinit.target: Found dependency on alignment.service/start
[ 3.750967] systemd[1]: sysinit.target: Found dependency on basic.target/start
[ 3.758271] systemd[1]: sysinit.target: Found dependency on sockets.target/start
[ 3.765728] systemd[1]: sysinit.target: Found dependency on dbus.socket/start
[ 3.772900] systemd[1]: sysinit.target: Found dependency on sysinit.target/start
[ 3.780353] systemd[1]: sysinit.target: Breaking ordering cycle by deleting job alignment.service/start
[ 3.789814] systemd[1]: alignment.service: Job alignment.service/start deleted to break ordering cycle starting with sysinit.target/start
[ SKIP ] Ordering cycle found, skipping alignment.service
[ 3.825844] systemd[1]: Listening on Journal Socket (/dev/log).
[ OK ] Listening on Journal Socket (/dev/log).
[ 3.853775] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ OK ] Started Forward Password Requests to Wall Directory Watch.
[ 3.886173] systemd[1]: Created slice System Slice.
[ OK ] Created slice System Slice.
[ 3.913827] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[ OK ] Started Dispatch Password Requests to Console Directory Watch.
[ 3.944299] systemd[1]: Created slice system-serial\x2dgetty.slice.
[ OK ] Created slice system-serial\x2dgetty.slice.
[ 3.983886] systemd[1]: Listening on Journal Socket.
[ OK ] Listening on Journal Socket.
[ 4.053552] systemd[1]: Mounting Temporary Directory...
Mounting Temporary Directory...
[ 4.086208] 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.153744] systemd[1]: Starting Load Kernel Modules...
Starting Load Kernel Modules...
[ 4.167297] systemd[1]: Created slice system-getty.slice.
[ OK ] Created slice system-getty.slice.
[ 4.196120] systemd[1]: Mounting POSIX Message Queue File System...
Mounting POSIX Message Queue File System...
[ 4.223764] systemd[1]: Listening on udev Kernel Socket.
[ OK ] Listening on udev Kernel Socket.
[ 4.283785] systemd[1]: Starting Remount Root and Kernel File Systems...
Starting Remount Root and Kernel File Systems...
[ 4.300634] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 4.313650] systemd[1]: Reached target Swap.
[ OK ] Reached target Swap.
[ 4.333893] systemd[1]: Listening on Network Service Netlink Socket.
[ OK ] Listening on Network Service Netlink Socket.
[ 4.393758] systemd[1]: Starting Setup Virtual Console...
Starting Setup Virtual Console...
[ 4.425983] systemd[1]: Mounting Debug File System...
Mounting Debug File System...
[ 4.453702] systemd[1]: Listening on Syslog Socket.
[ OK ] Listening on Syslog Socket.
[ 4.513755] systemd[1]: Starting Journal Service...
Starting Journal Service...
[ 4.533729] systemd[1]: Listening on udev Control Socket.
[ OK ] Listening on udev Control Socket.
[ 4.563780] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[ OK ] Listening on /dev/initctl Compatibility Named Pipe.
[ 4.593613] systemd[1]: Reached target Paths.
[ OK ] Reached target Paths.
[ 4.614312] systemd[1]: Created slice User and Session Slice.
[ OK ] Created slice User and Session Slice.
[ 4.643602] systemd[1]: Reached target Slices.
[ OK ] Reached target Slices.
[ 4.663559] systemd[1]: Reached target Remote File Systems.
[ OK ] Reached target Remote File Systems.
[ 4.728881] systemd[1]: Mounted Debug File System.
[ OK ] Mounted Debug File System.
[ 4.753647] systemd[1]: Mounted POSIX Message Queue File System.
[ OK ] Mounted POSIX Message Queue File System.
[ 4.783593] systemd[1]: Mounted Temporary Directory.
[ OK ] Mounted Temporary Directory.
[ 4.813802] systemd[1]: Started Journal Service.
[ OK ] Started Journal Service.
[ OK ] Started Create list of required sta...ce nodes for the current kernel.
[FAILED] Failed to start Load Kernel Modules.
See 'systemctl status systemd-modules-load.service' for details.
[ OK ] Started Remount Root and Kernel File Systems.
[ OK ] Started Setup Virtual Console.
Starting udev Coldplug all Devices...
Starting Apply Kernel Variables...
Starting Create Static Device Nodes in /dev...
Starting Flush Journal to Persistent Storage...
[ OK ] Started Apply Kernel Variables.
[ OK ] Started Create Static Device Nodes in /dev.
[ 5.589616] systemd-journald[143]: Received request to flush runtime journal from PID 1
[ OK ] Reached target Local File Systems (Pre).
Mounting /var/volatile...
Mounting /media/ram...
Starting udev Kernel Device Manager...
[ OK ] Mounted /var/volatile.
[ OK ] Mounted /media/ram.
[ OK ] Started udev Kernel Device Manager.
[ OK ] Started Flush Journal to Persistent Storage.
[ OK ] Reached target Local File Systems.
Starting Create Volatile Files and Directories...
[ 6.159769] CAN device driver interface
Starting Load/Save Random Seed...[ 6.175046] omap-rproc 55020000.ipu: assigned reserved memory node ipu2_cma@95800000

[ 6.187571] remoteproc0: 55020000.ipu is available
[ 6.206815] remoteproc0: Note: remoteproc is still under development and considered experimental.
[ 6.218826] remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[ 6.232174] m_can 42c01a00.mcan: hclk could not be found
[ OK ] Started udev Coldplug all Devices.
[ 6.243450] m_can 42c01a00.mcan: m_can device registered (irq=361, version=32)
[ 6.251001] omap-rproc 40800000.dsp: assigned reserved memory node dsp1_cma@99000000
[ 6.265212] remoteproc1: 40800000.dsp is available
[ 6.283427] remoteproc1: Note: remoteproc is still under development and considered experimental.
[ 6.306017] remoteproc1: THE BINARY FORMATIS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[ OK ] Started Create Volatile Files and Directories.[ 6.321181] omap-rproc 41000000.dsp: assigned reserved memory node dsp2_cma@9f000000

[ 6.346334] remoteproc2: 41000000.dsp is available
[ 6.32854] remoteproc2: Note: remoteproc is still under development and considered experimental.
[ 6.361865] remoteproc2: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[ OK ] Started Load/Save Random Seed.
[ OK ] Found device /dev/ttyS0.
[ 6.668722] omap-des 480a5000.des: OMAP DES hw accel rev: 2.2
[ 6.857119] omap_rng 48090000.rng: OMAP Random Number Generator ver. 20
Starting Update UTMP about System Boot/Shutdown...
Starting Network Time Synchronization...
[ 7.083038] remoteproc1: registered virtio0 (type 7)
[ 7.351207] remoteproc2: registered virtio1 (type 7)
[ 7.509251] remoteproc0: registered virtio2 (type 7)
[ 7.591955] omap-sham 4b101000.sham: hw accel on OMAP rev 4.3
[ 7.679062] omap-aes 4b500000.aes: OMAP AES hw accel rev: 3.3
[ 7.698723] omap-aes 4b700000.aes: OMAP AES hw accel rev: 3.3
[ 7.774609] [drm] Initialized pvr 1.14.3699939 20110701 on minor 2
[ 7.789475] SCSI subsystem initialized
[ OK ] Started Network Time Synchronization.
[ OK ] Reached target System Time Synchronized.
Starting Synchronize System and HW clocks...
[ OK ] Started Update UTMP about System Boot/Shutdown.
[FAILED] Failed to start Synchronize System and HW clocks.
See 'systemctl status sync-clocks.service' for details.
[ 8.084870] ahci 4a140000.sata: SSS flag set, parallel bus scan disabled
[ 8.091636] ahci 4a140000.sata: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl platform mode
[ 8.173436] ahci 4a140000.sata: flags: 64bit ncq sntf stag pm led clo only pmp pio slum part ccc apst
[ 8.222304] scsi host0: ahci
[ 8.228594] ata1: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a1410ff] port 0x100 irq 341
[ OK ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
[ OK ] Reached target Sound Card.
[ OK ] Reached target System Initialization.
[ OK ] Started Daily Cleanup of Temporary Directories.
[ OK ] Reached target Timers.
[ OK ] Listening on D-Bus System Message Bus Socket.
[ OK ] Reached target Sockets.
[ OK ] Reached target Basic System.
[ 8.613683] ata1: SATA link down (SStatus 0 SControl 300)
[ OK ] Started Kernel Logging Service.
Starting Permit User Sessions...
Starting Login Service...
[ OK ] Started D-Bus System Message Bus.
[ 8.788580] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
Starting Save/Restore Sound Card State...
Starting Network Service...
[ 9.018783] remoteproc1: powering up 40800000.dsp
Starting rc.pvr.service...
[ OK ] Started System Logging Service.[ 9.082504] remoteproc1: Booting fw image dra7-dsp1-fw.xe66, size 5584003

[ 9.124019] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
[ 9.129920] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0
[ 9.135875] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0
[ OK ] Started Permit User Sessions.
[ OK ] Started Save/Restore Sound Card State.
[ 9.195479] remoteproc1: remote processor 40800000.dsp is now up
[ 9.209696] net eth1: initializing cpsw version 1.15 (0)
[ OK ] Started Network Service.
[ 9.221002] net eth0: initialized cpsw ale version 1.4
[ 9.228184] PVR_K: UM DDK-(3699939) and KM DDK-(3699939) match. [ OK ]
[ 9.232306] net eth0: ALE Table size 1024
[ 9.238988] net eth1: phy found : id is : 0x1ccb00
[ 9.251037] virtio_rpmsg_bus virtio0: rpmsg host is online
[ 9.273745] remoteproc2: powering up 41000000.dsp
[ 9.276652] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[ 9.288163] net eth0: initializing cpsw version 1.15 (0)
[ 9.308729] libphy: PHY 48485000.mdio:02 not found
[ 9.324998] remoteproc2: Booting fw image dra7-dsp2-fw.xe66, size 5584003
[ 9.327731] net eth0: phy "48485000.mdio:02" not found on slave 0, err -19
[ 9.333002] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 9.380474] omap_hwmod: mmu0_dsp2: _wait_target_disable failed
[ 9.386369] omap-iommu 41501000.mmu: 41501000.mmu: version 3.0
[ 9.392301] omap-iommu 41502000.mmu: 41502000.mmu: version 3.0
[ 9.465182] remoteproc2: remote processor 41000000.dsp is now up
[ OK ] Started rc.pvr.service.
[ 9.484306] virtio_rpmsg_bus virtio1: rpmsg host is online
[ 9.490871] remoteproc0: powering up 55020000.ipu
[ 9.526729] remoteproc0: Booting fw image dra7-ipu2-fw.xem4, size 9388328
[ 9.544384] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1
[ 9.600952] remoteproc0: remote processor 55020000.ipu is now up
[ 9.609247] virtio_rpmsg_bus virtio2: rpmsg host is online
[ 9.702516] usbcore: registered new interface driver usbfs
[ 9.714543] usbcore: registered new interface driver hub
[ 9.719990] usbcore: registered new device driver usb
[ 9.791569] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
[ 9.797156] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 1
[ 9.808073] xhci-hcd xhci-hcd.2.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x00210010
[ 9.818379] xhci-hcd xhci-hcd.2.auto: irq 464, io mem 0x488d0000
[ 9.826531] hub 1-0:1.0: USB hub found
[ 9.830341] hub 1-0:1.0: 1 port detected
[ 9.837523] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
[ 9.843048] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 2
[ 9.853281] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[ 9.863139] hub 2-0:1.0: USB hub found
[ 9.868456] hub 2-0:1.0: 1 port detected
Starting weston.service...
[ OK ] Reached target Network.
Starting Network Name Resolution...
[ OK ] Started Getty on tty1.
[ OK ] Started Serial Getty on ttyS0.
[ OK ] Started weston.service.
[ OK ] Started Network Name Resolution.
[ OK ] Started Login Service.
Starting tiipclad-daemon.service...
Starting telnetd.service...
[ OK ] Started tiipclad-daemon.service.
[ OK ] Started telnetd.service.

_____ _____ _ _
| _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_
| | _| .'| . | . | | __| _| . | | | -_| _| _|
|__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_|
|___| |___|

Arago Project http://arago-project.org dra7xx-evm ttyS0

Arago 2016.12 dra7xx-evm ttyS0

dra7xx-evm login: root
root@dra7xx-evm:~# cd /opt/vision_sdk/
root@dra7xx-evm:/opt/vision_sdk# source ./vision_sdk_load.sh
[ 28.463790] DMA: Module install successful, device major num = 242
[ 28.470095] DRV: Module install successful
insmod: ERROR: could not load module ./bin/cmemk.ko: No such file or directory
Error: I2C Read failed
Error: I2C Read failed
Error: I2C Read failed
./disableDssInterruptsOnA15.sh: line 11: @0x4A002ACA:: command not found
./disableDssInterruptsOnA15.sh: line 12: @0x4A002ACA:: command not found
./disableDssInterruptsOnA15.sh: line 13: @0x4A002ACA:: command not found
./disableDssInterruptsOnA15.sh: line 14: @0x4A002ACA:: command not found
./disableDssInterruptsOnA15.sh: line 15: @0x4A002ACA:: command not found
./disableDssInterruptsOnA15.sh: line 16: @0x4A002ACA:: command not found
./disableDssInterruptsOnA15.sh: line 17: @0x4A002ACA:: command not found
./disableDssInterruptsOnA15.sh: line 18: @0x4A002ACA:: command not found
./disableDssInterruptsOnA15.sh: line 19: @0x4A002ACA:: command not found
updated 0x4A002ACA value is 00930000
root@dra7xx-evm:/opt/vision_sdk# ./apps.out
[HOST] OSA: MEM: 0: Mapped 0x7fc00000 to 0xb6929000 of size 0x00100000
[HOST] OSA: MEM: 1: Mapped 0x84203000 to 0xa9c29000 of size 0x0cd00000
[HOST] OSA: MEM: 2: Mapped 0x7fd00000 to 0xa9b69000 of size 0x00040000
[HOST] OSA: MEM: 3: Mapped 0x7fdc0000 to 0xa9ba9000 of size 0x00080000
[HOST] OSA: MEM: 4: Mapped 0x00000000 to 0x00000000 of size 0x00000000
[HOST] OSA: HOST Remote Log Shared Memory @ 0x7fd4f140
[HOST] OSA: DSP1 Remote Log Shared Memory @ 0x7fd769e0
[HOST] OSA: DSP2 Remote Log Shared Memory @ 0x7fd9e280
[HOST] OSA: IPU2 Remote Log Shared Memory @ 0x7fe63da0
[HOST] [HOST ] 38.098334 s: SYSTEM: System A15 Init in progress !!!
[HOST] [HOST ] 38.098395 s: OSA_mutexCreate returned with Status = 0
[HOST] [HOST ] 38.098426 s: OSA_mbxCreate returned with Status = 0
[HOST] [HOST ] 38.098426 s: ProcID = 03 initDone = 00 ProcState = 0
[HOST] [HOST ] 38.098456 s: ProcID = 04 initDone = 00 ProcState = 0
[HOST] [HOST ] 38.098456 s: ProcID = 09 initDone = 00 ProcState = 0
[HOST] [HOST ] 38.099554 s: In System_waitAppInitComplete function
[HOST] [HOST ] 38.099585 s: ProcID = 03 initDone = 00 ProcState = 0
[HOST] [HOST ] 38.099585 s: ProcID = 04 initDone = 00 ProcState = 0
[HOST] [HOST ] 38.099615 s: ProcID = 09 initDone = 00 ProcState = 0
[HOST] [HOST ] 38.100683 s: In System_waitAppInitComplete function
[HOST] [HOST ] 38.100713 s: ProcID = 03 initDone = 00 ProcState = 0
[HOST] [HOST ] 38.100713 s: ProcID = 04 initDone = 00 ProcState = 0
[HOST] [HOST ] 38.100744 s: ProcID = 09 initDone = 00 ProcState = 0
[HOST] [HOST ] 38.101842 s: In System_waitAppInitComplete function
[HOST] [HOST ] 38.101842 s: ProcID = 03 initDone = 00 ProcState = 0
[HOST] [HOST ] 38.101872 s: ProcID = 04 initDone = 00 ProcState = 0
[HOST] [HOST ] 38.101872 s: ProcID = 09 initDone = 00 ProcState = 0
[HOST] [HOST ] 38.102970 s: In System_waitAppInitComplete function
[HOST] [HOST ] 38.102970 s: ProcID = 03 initDone = 00 ProcState = 0
[HOST] [HOST ] 38.103001 s: ProcID = 04 initDone = 00 ProcState = 0
[HOST] [HOST ] 38.103001 s: ProcID = 09 initDone = 00 ProcState = 0
[HOST] [HOST ] 38.104099 s: In System_waitAppInitComplete function
[HOST] [HOST ] 38.104129 s: ProcID = 03 initDone = 00 ProcState = 0
[HOST] [HOST ] 38.104129 s: ProcID = 04 initDone = 00 ProcState = 0
[HOST] [HOST ] 38.104160 s: ProcID = 09 initDone = 00 ProcState = 0
[HOST] [HOST ] 38.105227 s: In System_waitAppInitComplete function
[HOST] [HOST ] 38.105258 s: ProcID = 03 initDone = 00 ProcState = 0
[HOST] [HOST ] 38.105258 s: ProcID = 04 initDone = 00 ProcState = 0
[HOST] [HOST ] 38.105288 s: ProcID = 09 initDone = 00 ProcState = 0
[HOST] [HOST ] 38.106356 s: In System_waitAppInitComplete function
[HOST] [HOST ] 38.106386 s: ProcID = 03 initDone = 00 ProcState = 0
[HOST] [HOST ] 38.106386 s: ProcID = 04 initDone = 00 ProcState = 0
[HOST] [HOST ] 38.106417 s: ProcID = 09 initDone = 00 ProcState = 0
[HOST] [HOST ] 38.107484 s: In System_waitAppInitComplete function
[HOST] [HOST ] 38.107515 s: ProcID = 03 initDone = 00 ProcState = 0
[HOST] [HOST ] 38.107515 s: ProcID = 04 initDone = 00 ProcState = 0
[HOST] [HOST ] 38.107545 s: ProcID = 09 initDone = 00 ProcState = 0
[HOST] [HOST ] 38.108643 s: In System_waitAppInitComplete function
[HOST] [HOST ] 38.108643 s: ProcID = 03 initDone = 00 ProcState = 0
[HOST] [HOST ] 38.108674 s: ProcID = 04 initDone = 00 ProcState = 0
[HOST] [HOST ] 38.108674 s: ProcID = 09 initDone = 00 ProcState = 0
[HOST] [HOST ] 89.836576 s: In System_waitAppInitComplete function
[HOST] [HOST ] 89.836607 s: ProcID = 03 initDone = 00 ProcState = 0
[HOST] [HOST ] 89.836607 s: ProcID = 04 initDone = 00 ProcState = 0
[HOST] [HOST ] 89.836637 s: ProcID = 09 initDone = 00 ProcState = 0
[HOST] [HOST ] 89.837705 s: In System_waitAppInitComplete function
[HOST] [HOST ] 89.837735 s: ProcID = 03 initDone = 00 ProcState = 0
[HOST] [HOST ] 89.837735 s: ProcID = 04 initDone = 00 ProcState = 0
[HOST] [HOST ] 89.837766 s: ProcID = 09 initDone = 00 ProcState = 0
[HOST] [HOST ] 89.838833 s: In System_waitAppInitComplete function
[HOST] [HOST ] 89.838864 s: ProcID = 03 initDone = 00 ProcState = 0
[HOST] [HOST ] 89.838864 s: ProcID = 04 initDone = 00 ProcState = 0
[HOST] [HOST ] 89.838894 s: ProcID = 09 initDone = 00 ProcState = 0
[HOST] [HOST ] 89.839962 s: In System_waitAppInitComplete function
[HOST] [HOST ] 89.839992 s: ProcID = 03 initDone = 00 ProcState = 0
[HOST] [HOST ] 89.839992 s: ProcID = 04 initDone = 00 ProcState = 0
[HOST] [HOST ] 89.840023 s: ProcID = 09 initDone = 00 ProcState = 0
[HOST] [HOST ] 89.841670 s: In System_waitAppInitComplete function
[HOST] [HOST ] 89.841670 s: ProcID = 03 initDone = 00 ProcState = 0
[HOST] [HOST ] 89.841700 s: ProcID = 04 initDone = 00 ProcState = 0
[HOST] [HOST ] 89.841700 s: ProcID = 09 initDone = 00 ProcState = 0
[HOST] [HOST ] 89.842798 s: In System_waitAppInitComplete function
[HOST] [HOST ] 89.842829 s: ProcID = 03 initDone = 00 ProcState = 0
[HOST] [HOST ] 89.842829 s: ProcID = 04 initDone = 00 ProcState = 0
[HOST] [HOST ] 89.842859 s: ProcID = 09 initDone = 00 ProcState = 0
[HOST] [HOST ] 89.843927 s: In System_waitAppInitComplete function
[HOST] [HOST ] 89.843957 s: ProcID = 03 initDone = 00 ProcState = 0
[HOST] [HOST ] 89.843957 s: ProcID = 04 initDone = 00 ProcState = 0
[HOST] [HOST ] 89.843988 s: ProcID = 09 initDone = 00 ProcState = 0
[HOST] [HOST ] 89.845055 s: In System_waitAppInitComplete function
[HOST] [HOST ] 89.845086 s: ProcID = 03 initDone = 00 ProcState = 0
[HOST] [HOST ] 89.845086 s: ProcID = 04 initDone = 00 ProcState = 0
[HOST] [HOST ] 89.845116 s: ProcID = 09 initDone = 00 ProcState = 0
[HOST] [HOST ] 89.846184 s: In System_waitAppInitComplete function
[HOST] [HOST ] 89.846214 s: ProcID = 03 initDone = 00 ProcState = 0
[HOST] [HOST ] 89.846214 s: ProcID = 04 initDone = 00 ProcState = 0
[HOST] [HOST ] 89.846245 s: ProcID = 09 initDone = 00 ProcState = 0
[HOST] [HOST ] 89.847312 s: In System_waitAppInitComplete function
[HOST] [HOST ] 89.847343 s: ProcID = 03 initDone = 00 ProcState = 0
[HOST] [HOST ] 89.847343 s: ProcID = 04 initDone = 00 ProcState = 0
[HOST] [HOST ] 89.847373 s: ProcID = 09 initDone = 00 ProcState = 0
[HOST] [HOST ] 89.848471 s: In System_waitAppInitComplete function
[HOST] [HOST ] 89.848471 s: ProcID = 03 initDone = 00 ProcState = 0
[HOST] [HOST ] 89.848502 s: ProcID = 04 initDone = 00 ProcState = 0
[HOST] [HOST ] 89.848502 s: ProcID = 09 initDone = 00 ProcState = 0
[HOST] [HOST ] 89.849600 s: In System_waitAppInitComplete function
[HOST] [HOST ] 89.849600 s: ProcID = 03 initDone = 00 ProcState = 0
[HOST] [HOST ] 89.849630 s: ProcID = 04 initDone = 00 ProcState = 0
[HOST] [HOST ] 89.849630 s: ProcID = 09 initDone = 00 ProcState = 0
[HOST] [HOST ] 89.850728 s: In System_waitAppInitComplete function
[HOST] [HOST ] 89.850728 s: ProcID = 03 initDone = 00 ProcState = 0
[HOST] [HOST ] 89.850759 s: ProcID = 04 initDone = 00 ProcState = 0
[HOST] [HOST ] 89.850759 s: ProcID = 09 initDone = 00 ProcState = 0

  • Hi,

    Can you tell me which configuration are you using?
    tda2px_evm_bios_all, tda2px_evm_linux_all?

    And which application are you building ?
    apps or sample_app?

    Please check your config's cfg.mk file and check whether you have added all cores as yes?

    Regards,
    Anuj
  • Hi Anuj,

    I am using tda2px_evm_linux_all configuration and I am building apps application. Below are the values from my cfg.mk file:
    PROC_IPU1_0_INCLUDE=no
    PROC_IPU1_1_INCLUDE=no
    PROC_IPU2_INCLUDE=yes
    PROC_A15_0_INCLUDE=yes
    PROC_DSP1_INCLUDE=yes
    PROC_DSP2_INCLUDE=yes
    PROC_EVE1_INCLUDE=no (Checked with Yes and no both)
    PROC_EVE2_INCLUDE=no

    Regards,
    RohanA
  • Hi,

    Can you tell me output of make showconfig?

    Regards,
    Anuj
  • Hi Anuj,
    Below is the output of make showconfig:
    #
    # Build Config is [ tda2px_evm_linux_all ]
    # Build Config file is @ /home/rohanadivarekar/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/configs/tda2px_evm_linux_all/cfg.mk
    # Build Config .h file is @ /home/rohanadivarekar/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/links_fw/include/config/apps/tda2px_evm_linux_all/system_cfg.h
    # Build CPUs is @ ipu2 a15_0 dsp1 dsp2
    #
    # CPUs included in application,
    # PROC_IPU1_0_INCLUDE=no
    # PROC_IPU1_1_INCLUDE=no
    # PROC_IPU2_INCLUDE=yes
    # PROC_DSP1_INCLUDE=yes
    # PROC_DSP2_INCLUDE=yes
    # PROC_EVE1_INCLUDE=no
    # PROC_EVE2_INCLUDE=no
    # PROC_EVE3_INCLUDE=no
    # PROC_EVE4_INCLUDE=no
    # PROC_A15_0_INCLUDE=yes
    #
    # Platform config,
    # VSDK_BOARD_TYPE=TDA2PX_EVM [options: TDA2XX_EVM TDA2EX_EVM TDA3XX_EVM TDA3XX_RVP TDA2XX_RVP]
    # PLATFORM=tda2px-evm
    # DUAL_A15_SMP_BIOS=no
    # IPU1_SMP_BIOS=no
    # DDR_MEM=DDR_MEM_1024M [options: DDR_MEM_128M DDR_MEM_512M DDR_MEM_1024M]
    # EMIFMODE=SINGLE_EMIF_512MB [options: SINGLE_EMIF_512MB SINGLE_EMIF_1GB ref build_pdk.mk]
    # NDK_PROC_TO_USE=none [options: a15_0 ipu1_0 ipu1_1 ipu2 none]
    # NSP_TFDTP_INCLUDE=no [options: yes no]
    # TDA2EX_ETHSRV_BOARD=no [options: yes no]
    # FATFS_PROC_TO_USE=none [options: ipu1_0 none]
    # RADAR_BOARD=none [options: TDA3XX_AR12_ALPS TDA3XX_AR12_VIB_DAB_BOOSTER TDA3XX_RADAR_RVP none]
    #
    # Build config,
    # BUILD_OS=Linux [options: Windows_NT Linux]
    # BUILD_DEPENDENCY_ALWAYS=no
    # BUILD_ALGORITHMS=no
    # BUILD_INFOADAS=no
    # PROFILE=release [options: debug release]
    # KW_BUILD=no
    # CPLUSPLUS_BUILD=no
    # IPU_PRIMARY_CORE=ipu2 [options: ipu1_0 ipu2]
    # IPU_SECONDARY_CORE=ipu1_0 [options: ipu1_0 ipu2]
    # A15_TARGET_OS=Linux [options: Bios Linux Qnx]
    # BSP_STW_PACKAGE_SELECT=all [options: all vps-iss-dss-only vps-vip-vpe]
    #
    # Safety Module config,
    # RTI_INCLUDE=no
    # ECC_FFI_INCLUDE=no
    # DCC_ESM_INCLUDE=no
    #
    # Video Module config,
    # IVAHD_INCLUDE=yes
    # VPE_INCLUDE=yes
    # CAL_INCLUDE=yes
    # ISS_INCLUDE=yes
    # ISS_ENABLE_DEBUG_TAPS=no
    # WDR_LDC_INCLUDE=no
    # DSS_INCLUDE=yes
    #
    # Open Compute config,
    # OPENCL_INCLUDE=no
    # TARGET_ROOTDIR=/home/rohanadivarekar/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/../ti_components/os_tools/linux/targetfs
    # ENABLE_OPENCV=no
    # ENABLE_OPENCV_TESTS=no
    # OPENVX_INCLUDE=no
    #
    # Log config,
    # ENABLE_UART_LOG=yes
    # ENABLE_NETWORK_LOG=no
    # ENABLE_CCS_LOG=no
    # CIO_REDIRECT=yes
    #
    # IPC config,
    # WORKQ_INCLUDE=no
    # IPC_LIB_INCLUDE=no
    #
    # Surround View config,
    # SRV_FAST_BOOT_INCLUDE=no
    #
    # Other Module config,
    # AVB_INCLUDE=no
    # DCAN_INCLUDE=no
    # RADAR_ONLY=no
    # CPU_IDLE_ENABLED=yes
    # FAST_BOOT_INCLUDE=no
    # DATA_VIS_INCLUDE=no
    # HS_DEVICE=no
    # ULTRASONIC_INCLUDE=no
    # PGA450=no
    # PGA460=yes
    # ENABLE_ALL_DEPTH=yes
    #
    # Linux config,
    # DEFAULT_UBOOT_CONFIG=dra7xx_evm_vision_config
    # DEFAULT_KERNEL_CONFIG=ti_sdk_dra7x_release_defconfig
    # DEFAULT_DTB=dra76-evm-infoadas.dtb
    # CMEM_INCLUDE=yes
    # IPUMM_INCLUDE=no
    # IPU1_EVELOADER_INCLUDE=no
    # ROBUST_RVC_INCLUDE=no
    # BUILD_ADAM_CAR=no
    #
    # Alg plugins included in build,
    # ALG_autocalibration ALG_dmaSwMs ALG_framecopy ALG_sceneobstruction ALG_surroundview ALG_iss_aewb
    #
    # Use-cases included in build,
    # UC_iss_capture_isp_simcop_display UC_srv_calibration UC_lvds_vip_multi_cam_3d_srv UC_csi2Cal_multi_cam_3d_srv UC_csi2Cal_multi_cam_view UC_lvds_vip_multi_cam_view_sgx_display UC_vip_single_cam_connectorLinksA15_sgx_display UC_vip_single_cam_enc_dec_sgx_display UC_vip_single_cam_framecopy_sgx_display UC_vip_single_cam_framecopyEve_sgx_display UC_vip_single_cam_sgx_display UC_iss_multi_cam_isp_sgx_3d_srv_display UC_iss_multi_cam_isp_sgx_2mp_3d_srv UC_iss_multi_cam_isp_sgx_2mp_3d_srv_adaptive
    #
    make -s -fbuild_makeconfig.mk check_cpu_include
    make[2]: Entering directory `/home/rohanadivarekar/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/configs'
    #
    # CPUs that are NOT required but included in config [ tda2px_evm_linux_all ],
    #
    # WARNING: DSP2 can be excluded from application
    #
    # CPUs that are required but not included in config [ tda2px_evm_linux_all ],
    #
    # ERROR: IPU1_0 MUST be included in application
    # ERROR: EVE1 MUST be included in application
    #
    # Edit /home/rohanadivarekar/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/build/configs/tda2px_evm_linux_all/cfg.mk to include or exclude CPUs in an application
    #
    make[2]: Leaving directory `/home/rohanadivarekar/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/configs'
    make[1]: Leaving directory `/home/rohanadivarekar/PROCESSOR_SDK_VISION_03_04_00_00/vision_sdk/apps/configs'
  • Hi All, Any update on this? Any pointers on where to look for the issue would be appreciated.

    Regards,
    Rohan
  • Hi Rohan,

    I have build the Vision SDK for TDA2PXX.I copied the packages from vsdk folder to C:\ti folder and changed the paths in build files accordingly
    and was able to build it successfully.
    Hope it helps you to build successfully.

    Regards
    Mayank
  • Hi Mayank,

    I don't have any issues in the build process. My build is successful, I am facing issue when I am trying to run apps.out file. Can you please refer to question once again. Have you tried running apps.out file and if yes were you able to run it without any issues?

    Regards,
    Rohan
  • Hi,

    Can you try to enable only IPU2 and A15_0 cores in the cfg.mk file and try the same experiment.
    It will be easier to debug the issue with less no of cores.

    Regards,
    Anuj
  • Hi Anuj & all,

    Just one update regarding this issue. While following steps to change the Linux memory map from 1GB to 512MB I had committed two mistakes. When I corrected all the mistakes and did a clean build, I was able to run the use case successfully with all configured cores up and running.

    Thank you for all your help!
  • Hi,

    Glad to know that you are able to resolve your issue.

    Regards,
    Anuj