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/PROCESSOR-SDK-DRA7X: Using VSDK built IPU2 firmware with PSDKLA

Part Number: PROCESSOR-SDK-DRA7X
Other Parts Discussed in Thread: DRA742, PMP, DRA752, TVP5158

Tool/software: Linux

Hello all,

I am trying to access EVEs present on Jacinto6 platform. For this purpose, I built IPU2 xem binary using VSDK and used this IPU2 xem instead of the default IPU2 xem present on the PSDKLA image. But the memory map for VSDK and corresponding PSDKLA seems to be different and hence I am getting IVA engine open failure. 

1. Is it possible to use VSDK built IPU2 xem with corresponding PSDKLA without modifications in the PSDKLA source? If not, why?

2. What are the changes needed to be done in PSDKLA source in order to be able to use the VSDK built IPU2 xem?

Used VSDK Version : VISION_SDK_02_12_02_00

Used PSDKLA Version : 3.02.00.03

  • Hi,

    I have forwarded your question to ipumm expert to comment.

    Regards,
    Yordan
  • Hi Abhijeet,
    1. Yes, it should be possible to use VSDK built IPU2 xem with the corresponding PSDKLA.
    In \VISION_SDK_02_12_00_00\vision_sdk\docs\Linux\VisionSDK_Linux_UserGuide.pdf section:
    2.4.2.4 Clone ipumm
    $> cd $INSTALL_DIR/ti_components/algorithms_codecs
    $> git clone git://git.ti.com/ivimm/ipumm.git
    $> cd ipumm/
    $> git checkout -b ipumm_dev cd93550

    To build IPUMM, you also need to enable IPUMM_INCLUDE as described in:
    \VISION_SDK_02_12_00_00\vision_sdk\docs\FeatureSpecificUserGuides\VisionSDK_UserGuide_BuildSystem.pdf
    Follow sect. 4.2.1 System level config parameters on "IPUMM_INCLUDE"

    Since IPUMM build is not enabled by default from VSDK, you will need to build ipumm library before building the firmware:
    cd \VISION_SDK_02_12_00_00\vision_sdk
    [Build the IPUMM library] make ipumm
    [Build the firmware which includes the IPUMM library] make vision_sdk

    2. Changes need to be done:
    * See section 4.2 of Build configuration mentioned above, the "IPUMM_INCLUDE=yes" and "IVAHD_INCLUDE=no" and "A15_TARGET_OS=Linux".
    * Memory map configuration.
    On \VISION_SDK_02_12_00_00\vision_sdk\build\tda2xx\mem_segment_definition_1024mb_linux.xs, it defines:
    IPU2_START_ADDR = 0x94000000;
    IPU2_CODE_SIZE = 8*MB;
    if (ipummSupport == "yes") {
    IPU2_DATA_SIZE = 60*MB;
    }
    else {
    IPU2_DATA_SIZE = 20*MB;
    }
    So, the TI kernel memory allocated for IPU2 similar to \ti_components\os_tools\linux\kernel\omap\arch\arm\boot\dts\dra7-evm-infoadas.dts needs to be updated as well.
    /* Update the CMA regions for Vision SDK binaries */
    &ipu2_cma_pool {
    reg = <0x94000000 0x5000000>;
    };

    This extra memory is only used when IPUMM is enabled
    Specified in \VISION_SDK_02_12_00_00\ti_components\os_tools\linux\kernel\linux-kernel-addon\kernel-patches\0006-arm-dts-infoadas-devicetree-based-on-vision-board.patch

    If the above configuration has been done, then can you please check the remoteproc traces for IPU2?

    cat /sys/kernel/debug/remoteproc/remoteproc1/trace0

    To see if the remoteproc is giving any error trace.

    Back in Nov 4, 2016, there is a similar issue reported by Ittiam on VISION SDK 2.10 and the issue is resolved by moving the EVE_MEM memory configuration (was set to 0xBC000000) as it was conflicting with TILER memory configuration (IPU_TILER_MODE_3)

    IPUMM does use TILER memory for parameter passing, and the default values for these mappings are as follows (taken from resource table):

    #define L3_TILER_MODE_0_1 0x60000000
    #define IPU_TILER_MODE_0_1 0xA0000000

    #define L3_TILER_MODE_2 0x70000000
    #define IPU_TILER_MODE_2 0xB0000000

    #define L3_TILER_MODE_3 0x78000000
    #define IPU_TILER_MODE_3 0xB8000000

    (size of the first one is 1M and size of the last two are 128MB)

    Where is your EVE start address memory configuration?
    Thanks.
    //Buddy
  • Hi Buddy,
    Thanks a lot for the explanation and the steps. However, the steps mentioned by you are pertaining to the PSDKLA version which is bundled along with the vision SDK. I tried these changes, and after that, when I am trying to run my application, the application is being killed by OOM killer. This OOM killer issue, can be reproduced with a simple application that tries to allocate and use more than 80 MB worth of DRM buffers.

    The actual purpose of asking this question was, however, to be able to use the Vision SDK xem with a separate PSDKLA installation.
    In that case, I assumed that the xs file and dtb files corresponding to the PSDKLA installation needs changing. Therefore, I tried to find the files in PSDKLA but failed to find both. The xs file is not present in the PSDKLA.
    For the change in ipu2_cma_pool memory section that you suggested, I was able to find the section which is setting this pool in PSDKLA. The section was defined in $INSTALL_DIR/ti-processor-sdk-linux-automotive-dra7xx-evm-03.02.00.03/board-support/linux/arch/arm/boot/dts/dra7-evm.dts
    But, in the above mentioned dts, the ipu2 pool starts at a different location than visionSDK and spans for lesser memory. This might be leading to failure of insertion of ipu2 since I was not able to find /sys/kernel/debug/remoteproc/remoteproc1/trace0.
    With this complete procedure, there are still few clarifications needed:

    1. The xs files and dts files should be changed from PSDKLA or from Vision SDK?
    2. If we have to use the files from VSDK itself, how can the changes in xs file be reflected in the PSDKLA linux image?
    3. If we need to change the PSDKLA files, which files precisely need changing? What all changes are needed in those files? Is there a direct mapping to the files in PSDKLA? Or do we need to change the addresses?

    As for the eve start address, it is currently set to 0xA2000000.

    Regards,
    Abhijeet
  • Hi Abhijeet,

    Since you mention dra7-evm.dts, that is a common dtb file. You will need to the correct device tree "dtb" used by your system: http://processors.wiki.ti.com/index.php/Processor_SDK_Linux_Automotive_Software_Developers_Guide#Choosing_the_correct_device_tree

    I am presuming that you are using J6 EVM rev.H with OSD display panel, which means you need to modify the 
    $INSTALL_DIR/ti-processor-sdk-linux-automotive-dra7xx-evm-03_02_00_03/board-support/linux/arch/arm/boot/dts/dra7-evm-lcd-osd.dts

    and match the memseg configuration done in .xs file of Vision SDK.

    If you look into how PSDKLA version which is bundled along the vision SDK for INFOADAS use case, then you will see \VISION_SDK_02_12_00_00\ti_components\os_tools\linux\kernel\linux-kernel-addon\kernel-patches\0006-arm-dts-infoadas-devicetree-based-on-vision-board.patch where it creates dra7-evm-infoadas.dts and add the cma_pool and cmem_pool for the IPU, DSP, and EVE used by Vision SDK, this will prevent Linux kernel to use those memory.

    1. It really depends on your use case, but I think it would be easier to update the PSDKLA dtb to match the memory configuration of Vision SDK. But if you are only using IPU2 and EVE and made modification on the VISION SDK memory configuration, then both PSDKLA dtb and Vision SDK memory configuration will need to be changed. Basically both needs to be matched.

    2. As mentioned above, to use the memory configuration .xs defined in Vision SDK, then you only need to make similar modification as patch 0006, by modifying PSDKLA dts to set the cma_pool and cmem_pool. That will prevent Linux kernel to use those memory used by Vision SDK and init or reset the components that are used by Vision SDK.

    3. I think you just need to modify the correct device tree and modify it similar to dra7-evm-infoadas.dts for the memory configuration and making sure thecomponents that are used by Vision SDK are not initialized or reset by Linux kernel.

    PSDKLA configuration/support team might provide other information than what I have provided.

    Thanks.
    //Buddy

  • Hi Buddy,
    Thanks for the explanation.
    Considering your points in mind, I tried to modify the dtb file of PSDKLA installation to align with VSDK. I am using a J6 EVM Rev G with LG LCD Display. So I modify dra7-evm-lcd-lg.dts with the changes done to infoadas. Keeping in mind that otherwise there are not other changes done to Vision SDK .xs file, this change should have worked. After the changes, I just did a clean build of kernel and tried to run But was faced with the same error. The error is as follows:

    MmRpc_create: Error: open failed, name=/dev/rpmsg-dce
    ../git/libdce.c:416: dce_ipc_init ERROR: Failed eError == DCE_EOK error val -4../git/libdce.c:479: Engine_open ERROR: Failed dce_ipc_init(coreIdx) == DCE_EOK error val -4../git/libdce.c:545: Engine_close ERROR: Failed engine != NULL error val -6

    Also the trace file which you told to cat is also not created and I get the following boot log.


    U-Boot SPL 2016.05-g97c89e23c8 (Mar 09 2017 - 08:17:38)
    DRA752-GP ES1.1
    MMC Device 1 not found
    *** Warning - No MMC card found, using default environment

    Trying to boot from MMC1
    MMC Device 1 not found
    *** Warning - No MMC card found, using default environment

    reading u-boot.img
    reading u-boot.img
    reading u-boot.img
    reading u-boot.img


    U-Boot 2016.05-g97c89e23c8 (Mar 09 2017 - 08:17:38 +0530)

    CPU : DRA752-GP ES1.1
    Model: TI DRA742
    Board: DRA74x EVM REV G.0
    DRAM: 1.5 GiB
    MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
    ** First descriptor is NOT a primary desc on 1:1 **
    *** Warning - bad CRC, using default environment

    GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
    part_get_info_efi: *** ERROR: Invalid GPT ***
    GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
    part_get_info_efi: *** ERROR: Invalid Backup GPT ***
    ERROR: cannot find partition: 'userdata'

    at arch/arm/cpu/armv7/omap-common/utils.c:195/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:
    Warning: ethernet@48484000 using MAC address from ROM
    eth0: ethernet@48484000
    Hit any key to stop autoboot: 2 1 0
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    reading boot.scr
    ** Unable to read file boot.scr **
    reading uEnv.txt
    258 bytes read in 4 ms (62.5 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
    3632848 bytes read in 371 ms (9.3 MiB/s)
    109915 bytes read in 76 ms (1.4 MiB/s)
    Booting from mmc0 ...
    Kernel image @ 0x82000000 [ 0x000000 - 0x376ed0 ]
    ## Flattened Device Tree blob at 88000000
    Booting using the fdt blob at 0x88000000
    Loading Device Tree to 8ffe2000, end 8ffffd5a ... 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.45-g89944627d5 (tiiappadmin@swubn03) (gcc version 5.3.1 20160113 (Linaro GCC 5.3-2016.02) ) #1 SMP PREEMPT Thu Mar 9 08:05:40 IST 2017
    [ 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] bootconsole [earlycon0] enabled
    [ 0.000000] Reserved memory: created CMA memory pool at 0x0000000095800000, size 56 MiB
    [ 0.000000] Reserved memory: initialized node ipu2_cma@95800000, compatible id shared-dma-pool
    [ 0.000000] Reserved memory: created CMA memory pool at 0x0000000099000000, size 64 MiB
    [ 0.000000] Reserved memory: initialized node dsp1_cma@99000000, compatible id shared-dma-pool
    [ 0.000000] Reserved memory: created CMA memory pool at 0x000000009d000000, size 32 MiB
    [ 0.000000] Reserved memory: initialized node ipu1_cma@9d000000, compatible id shared-dma-pool
    [ 0.000000] Reserved memory: created CMA memory pool at 0x000000009f000000, size 8 MiB
    [ 0.000000] Reserved memory: initialized node dsp2_cma@9f000000, compatible id shared-dma-pool
    [ 0.000000] cma: Reserved 64 MiB at 0x00000000dbc00000
    [ 0.000000] Forcing write-allocate cache policy for SMP
    [ 0.000000] Memory policy: Data cache writealloc
    [ 0.000000] OMAP4: Map 0x00000000dfd00000 to fe600000 for dram barrier
    [ 0.000000] DRA752 ES1.1
    [ 0.000000] PERCPU: Embedded 11 pages/cpu @ef1ad000 s14848 r8192 d22016 u45056
    [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 389440
    [ 0.000000] Kernel command line: console=ttyO0,115200n8 elevator=noop root=PARTUUID=496c0fba-02 rw rootwait earlyprintk fixrtc omapdrm.num_crtc=2 consoleblank=0 cma=64M rootfstype=ext4 snd.slots_reserved=1,1 ip=dhcp
    [ 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: 1309572K/1564672K available (6619K kernel code, 371K rwdata, 2560K rodata, 336K init, 290K bss, 25724K reserved, 229376K cma-reserved, 716800K 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 - 0xc08ff044 (9181 kB)
    [ 0.000000] .init : 0xc0900000 - 0xc0954000 ( 336 kB)
    [ 0.000000] .data : 0xc0954000 - 0xc09b0f50 ( 372 kB)
    [ 0.000000] .bss : 0xc09b2000 - 0xc09fa840 ( 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.008307] Switching to timer-based delay loop, resolution 162ns
    [ 0.014962] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
    [ 0.025224] OMAP clocksource: 32k_counter at 32768 Hz
    [ 0.030978] Console: colour dummy device 80x30
    [ 0.035635] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [ 0.042426] This ensures that you still see kernel messages. Please
    [ 0.048943] update your kernel commandline.
    [ 0.053333] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
    [ 0.063967] pid_max: default: 32768 minimum: 301
    [ 0.068875] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.075763] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.083612] Initializing cgroup subsys io
    [ 0.087833] Initializing cgroup subsys memory
    [ 0.092406] Initializing cgroup subsys devices
    [ 0.097055] Initializing cgroup subsys freezer
    [ 0.101714] Initializing cgroup subsys perf_event
    [ 0.106632] Initializing cgroup subsys pids
    [ 0.111030] CPU: Testing write buffer coherency: ok
    [ 0.116326] /cpus/cpu@0 missing clock-frequency property
    [ 0.121871] /cpus/cpu@1 missing clock-frequency property
    [ 0.127426] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [ 0.133349] Setting up static identity map for 0x80008380 - 0x800083e0
    [ 0.220559] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [ 0.220619] Brought up 2 CPUs
    [ 0.229639] SMP: Total of 2 processors activated (24.59 BogoMIPS).
    [ 0.236079] CPU: All CPU(s) started in HYP mode.
    [ 0.240897] CPU: Virtualization extensions available.
    [ 0.246538] devtmpfs: initialized
    [ 0.279403] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [ 0.288328] omap_hwmod: l3_main_2 using broken dt data from ocp
    [ 0.501379] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [ 0.515989] pinctrl core: initialized pinctrl subsystem
    [ 0.522311] NET: Registered protocol family 16
    [ 0.527923] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [ 0.565142] cpuidle: using governor ladder
    [ 0.595170] cpuidle: using governor menu
    [ 0.608104] OMAP GPIO hardware version 0.1
    [ 0.616495] GPIO line 161 (radio_rst) hogged as output/low
    [ 0.624561] irq: no irq domain found for /ocp/l4@4a000000/scm@2000/pinmux@1400 !
    [ 0.649586] omap-gpmc 50000000.gpmc: GPMC revision 6.0
    [ 0.654963] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
    [ 0.673348] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [ 0.681666] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [ 0.688204] omap4_sram_init:Unable to allocate sram needed to handle errata I688
    [ 0.695897] omap4_sram_init:Unable to get sram pool needed to handle errata I688
    [ 0.704145] OMAP DMA hardware revision 0.0
    [ 0.749736] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported)
    [ 0.760690] edma 43300000.edma: memcpy is disabled
    [ 0.770434] edma 43300000.edma: TI EDMA DMA engine driver
    [ 0.780420] omap-iommu 40d01000.mmu: 40d01000.mmu registered
    [ 0.786493] omap-iommu 40d02000.mmu: 40d02000.mmu registered
    [ 0.792554] omap-iommu 58882000.mmu: 58882000.mmu registered
    [ 0.798594] omap-iommu 55082000.mmu: 55082000.mmu registered
    [ 0.804787] omap-iommu 41501000.mmu: 41501000.mmu registered
    [ 0.810869] omap-iommu 41502000.mmu: 41502000.mmu registered
    [ 0.820131] palmas 0-0058: IRQ missing: skipping irq request
    [ 0.837154] palmas 0-0058: Muxing GPIO 2e, PWM 0, LED 0
    [ 0.909476] pcf857x 0-0020: probed
    [ 0.913612] pcf857x 0-0021: probed
    [ 0.917581] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
    [ 0.937471] GPIO line 463 (vin6_sel_s0) hogged as output/low
    [ 0.943453] pcf857x 1-0026: probed
    [ 0.947751] omap_i2c 48072000.i2c: bus 1 rev0.12 at 400 kHz
    [ 0.953921] omap_i2c 48060000.i2c: bus 2 rev0.12 at 400 kHz
    [ 0.979987] pcf857x 3-0021: probed
    [ 0.983584] omap_i2c 4807a000.i2c: bus 3 rev0.12 at 400 kHz
    [ 0.989610] media: Linux media interface: v0.10
    [ 0.994411] Linux video capture interface: v2.00
    [ 0.999272] pps_core: LinuxPPS API ver. 1 registered
    [ 1.004466] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [ 1.013943] PTP clock support registered
    [ 1.018112] EDAC MC: Ver: 3.0.0
    [ 1.022148] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
    [ 1.028794] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
    [ 1.035482] Advanced Linux Sound Architecture Driver Initialized.
    [ 1.042705] clocksource: Switched to clocksource arch_sys_counter
    [ 1.059474] NET: Registered protocol family 2
    [ 1.064544] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [ 1.071919] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
    [ 1.078751] TCP: Hash tables configured (established 8192 bind 8192)
    [ 1.085412] UDP hash table entries: 512 (order: 2, 16384 bytes)
    [ 1.091596] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
    [ 1.098431] NET: Registered protocol family 1
    [ 1.103255] RPC: Registered named UNIX socket transport module.
    [ 1.109418] RPC: Registered udp transport module.
    [ 1.114346] RPC: Registered tcp transport module.
    [ 1.119257] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 1.127049] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
    [ 1.138004] futex hash table entries: 512 (order: 3, 32768 bytes)
    [ 1.152009] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [ 1.158783] NFS: Registering the id_resolver key type
    [ 1.164099] Key type id_resolver registered
    [ 1.168477] Key type id_legacy registered
    [ 1.172750] ntfs: driver 2.1.32 [Flags: R/O].
    [ 1.179297] bounce: pool size: 64 pages
    [ 1.183502] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
    [ 1.191186] io scheduler noop registered (default)
    [ 1.196234] io scheduler deadline registered
    [ 1.200729] io scheduler cfq registered
    [ 1.209795] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128
    [ 1.220445] PCI host bridge /ocp/axi@0/pcie_rc@51000000 ranges:
    [ 1.226652] No bus range found for /ocp/axi@0/pcie_rc@51000000, using [bus 00-ff]
    [ 1.234656] IO 0x20003000..0x20012fff -> 0x00000000
    [ 1.240028] MEM 0x20013000..0x2fffffff -> 0x20013000
    [ 1.278087] dra7-pcie 51000000.pcie_rc: link is not up
    [ 1.283620] dra7-pcie 51000000.pcie_rc: PCI host bridge to bus 0000:00
    [ 1.290412] pci_bus 0000:00: root bus resource [bus 00-ff]
    [ 1.296146] pci_bus 0000:00: root bus resource [io 0x0000-0xffff]
    [ 1.302576] pci_bus 0000:00: root bus resource [mem 0x20013000-0x2fffffff]
    [ 1.310125] PCI: bus0: Fast back to back transfers disabled
    [ 1.316063] PCI: bus1: Fast back to back transfers enabled
    [ 1.321852] pci 0000:00:00.0: BAR 0: assigned [mem 0x20100000-0x201fffff]
    [ 1.328930] pci 0000:00:00.0: BAR 1: assigned [mem 0x20020000-0x2002ffff]
    [ 1.336003] pci 0000:00:00.0: PCI bridge to [bus 01]
    [ 1.341395] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt
    [ 1.372852] fpd3_serdes: probe of 7-002c failed with error -5
    [ 1.378979] fpd3_serdes 1-001b: Serializer fpd3_24b_ser ready
    [ 1.386536] fpd3_serdes 7-002c: Deserializer fpd3_24b_des ready
    [ 1.452963] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [ 1.463009] 4806a000.serial: ttyS0 at MMIO 0x4806a000 (irq = 301, base_baud = 3000000) is a 8250
    [ 1.472190] console [ttyS0] enabled
    [ 1.472190] console [ttyS0] enabled
    [ 1.479392] bootconsole [earlycon0] disabled
    [ 1.479392] bootconsole [earlycon0] disabled
    [ 1.489052] 4806c000.serial: ttyS1 at MMIO 0x4806c000 (irq = 302, base_baud = 3000000) is a 8250
    [ 1.498756] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 303, base_baud = 3000000) is a 8250
    [ 1.508873] [drm] Initialized drm 1.1.0 20060810
    [ 1.515614] OMAP DSS rev 6.1
    [ 1.519388] omapdss_dss 58000000.dss: bound 58001000.dispc (ops dispc_component_ops)
    [ 1.527868] omapdss_dss 58000000.dss: bound 58040000.encoder (ops hdmi5_component_ops)
    [ 1.537912] connector-hdmi connector@1: failed to find video source
    [ 1.550736] loop: module loaded
    [ 1.554900] nand: No NAND device found
    [ 1.558669] omap2-nand 8000000.nand: scan failed, may be bus-width mismatch
    [ 1.568610] m25p80 spi32766.0: s25fl256s1 (32768 Kbytes)
    [ 1.574032] 7 ofpart partitions found on MTD device spi32766.0
    [ 1.579890] Creating 7 MTD partitions on "spi32766.0":
    [ 1.585067] 0x000000000000-0x000000040000 : "QSPI.SPL"
    [ 1.591128] 0x000000040000-0x000000140000 : "QSPI.u-boot"
    [ 1.597441] 0x000000140000-0x0000001c0000 : "QSPI.u-boot-spl-os"
    [ 1.604365] 0x0000001c0000-0x0000001d0000 : "QSPI.u-boot-env"
    [ 1.611008] 0x0000001d0000-0x0000001e0000 : "QSPI.u-boot-env.backup1"
    [ 1.618355] 0x0000001e0000-0x0000009e0000 : "QSPI.kernel"
    [ 1.624638] 0x0000009e0000-0x000002000000 : "QSPI.file-system"
    [ 1.632333] libphy: Fixed MDIO Bus: probed
    [ 1.682741] davinci_mdio 48485000.mdio: davinci mdio revision 1.6
    [ 1.688866] davinci_mdio 48485000.mdio: detected phy mask fffffff3
    [ 1.699353] libphy: 48485000.mdio: probed
    [ 1.703428] davinci_mdio 48485000.mdio: phy[2]: device 48485000.mdio:02, driver unknown
    [ 1.711469] davinci_mdio 48485000.mdio: phy[3]: device 48485000.mdio:03, driver unknown
    [ 1.720197] cpsw 48484000.ethernet: Detected MACID = 20:c3:8f:4a:95:c8
    [ 1.726895] cpsw 48484000.ethernet: cpts: overflow check period 800
    [ 1.733902] cpsw 48484000.ethernet: cpsw: Detected MACID = 20:c3:8f:4a:95:c9
    [ 1.742613] mousedev: PS/2 mouse device common for all mice
    [ 1.749350] input: LDC 3001 TouchScreen Controller as /devices/platform/44000000.ocp/48070000.i2c/i2c-0/0-0018/input/input0
    [ 1.760990] i2c /dev entries driver
    [ 1.766869] tvp5158 1-0058: Camera sensor driver registered
    [ 1.772840] ov1063x 1-0037: Failed writing register 0x0103!
    [ 1.778450] ov1063x: probe of 1-0037 failed with error -121
    [ 1.784861] vpe 489d0000.vpe: loading firmware vpdma-1b8.bin
    [ 1.791926] vip 48970000.vip: loading firmware vpdma-1b8.bin
    [ 1.802468] omap_hsmmc 4809c000.mmc: Got CD GPIO
    [ 1.807312] vpe 489d0000.vpe: Device registered as /dev/video0
    [ 1.813206] vip 48970000.vip: VPDMA firmware loaded
    [ 1.818228] vip1-s0: Port A: Using subdev tvp5158 1-0058 for capture
    [ 1.824821] vip1-s0: device registered as video1
    [ 1.829602] vip1-s0: device registered as video2
    [ 1.834427] vip1-s0: device registered as video3
    [ 1.839199] vip1-s0: device registered as video4
    [ 1.843397] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr25 mode
    [ 1.843404] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr12 mode
    [ 1.843550] evm_3v3_sw: supplied by sysen1
    [ 1.936484] mmc0: MAN_BKOPS_EN bit is not set
    [ 1.946359] mmc0: new HS200 MMC card at address 0001
    [ 1.951780] mmcblk0: mmc0:0001 MMC08G 7.25 GiB
    [ 1.956583] mmcblk0boot0: mmc0:0001 MMC08G partition 1 8.00 MiB
    [ 1.962785] mmcblk0boot1: mmc0:0001 MMC08G partition 2 8.00 MiB
    [ 2.014670] GPIO line 445 (LVDS_CLKSel) hogged as output/high
    [ 2.017341] omap_hsmmc 480d1000.mmc: card claims to support voltages below defined range
    [ 2.028340] mmc1: queuing unknown CIS tuple 0x91 (3 bytes)
    [ 2.029283] mmc1: new high speed SDIO card at address 0001
    [ 2.315987] ledtrig-cpu: registered to indicate activity on CPUs
    [ 2.324519] hwspinlock_user gatemp: requested 10 hwspinlocks
    [ 2.332008] aic_dvdd: supplied by evm_3v3_sw
    [ 2.338868] davinci-mcasp 48464000.mcasp: DAI is shared
    [ 2.344803] davinci-mcasp 48468000.mcasp: ERRATA i868 workaround is enabled
    [ 2.352017] davinci-mcasp 48474000.mcasp: DAI is shared
    [ 2.357359] davinci-mcasp 48474000.mcasp: ERRATA i868 workaround is enabled
    [ 2.364553] davinci-mcasp 4847c000.mcasp: invalid tdm slots: 0
    [ 2.371611] omap-hdmi-audio omap-hdmi-audio.0.auto: snd-soc-dummy-dai <-> 58040000.encoder mapping ok
    [ 2.382456] NET: Registered protocol family 10
    [ 2.397760] sit: IPv6 over IPv4 tunneling driver
    [ 2.403010] NET: Registered protocol family 17
    [ 2.407699] Key type dns_resolver registered
    [ 2.412146] omap_voltage_late_init: Voltage driver support not added
    [ 2.419092] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm
    [ 2.425321] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm
    [ 2.431920] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm
    [ 2.438174] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm
    [ 2.446437] Power Management for TI OMAP4+ devices.
    [ 2.451539] Registering SWP/SWPB emulation handler
    [ 2.458464] dmm 4e000000.dmm: initialized all PAT entries
    [ 2.475129] backlight supply power not found, using dummy regulator
    [ 2.483198] omap_hsmmc 4809c000.mmc: Got CD GPIO
    [ 2.529149] asoc-simple-card sound@0: tlv320aic3x-hifi <-> 48468000.mcasp mapping ok
    [ 2.542617] asoc-simple-card jamr3_sound: tlv320aic3x-hifi <-> 48474000.mcasp mapping ok
    [ 2.585497] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [ 2.592140] [drm] No driver support for vblank timestamp query.
    [ 2.605192] [drm] Enabling DMM ywrap scrolling
    [ 2.649413] Console: switching to colour frame buffer device 160x50
    [ 2.660747] omapdrm omapdrm.0: fb0: omapdrm frame buffer device
    [ 2.693024] mmc2: host does not support reading read-only switch, assuming write-enable
    [ 2.701138] mmc2: new SDHC card at address e624
    [ 2.705745] [drm] Initialized omapdrm 1.0.0 20110917 on minor 0
    [ 2.713125] input: gpio_keys as /devices/platform/gpio_keys/input/input1
    [ 2.719996] mmcblk1: mmc2:e624 SU04G 3.69 GiB
    [ 2.725132] hctosys: unable to open rtc device (rtc0)
    [ 2.737978] mmcblk1: p1 p2
    [ 2.744045] net eth0: initializing cpsw version 1.15 (0)
    [ 2.749405] net eth0: initialized cpsw ale version 1.4
    [ 2.754578] net eth0: ALE Table size 1024
    [ 2.846585] net eth0: phy found : id is : 0x20005c7a
    [ 2.858081] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [ 2.863988] net eth1: initializing cpsw version 1.15 (0)
    [ 2.956825] net eth1: phy found : id is : 0x20005c7a
    [ 2.966772] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
    [ 6.850305] cpsw 48484000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
    [ 6.862737] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [ 6.882721] Sending DHCP requests .., OK
    [ 10.872724] IP-Config: Got DHCP answer from 172.20.32.3, my address is 172.20.34.111
    [ 10.885611] IP-Config: Complete:
    [ 10.888856] device=eth0, hwaddr=20:c3:8f:4a:95:c8, ipaddr=172.20.34.111, mask=255.255.240.0, gw=172.20.47.254
    [ 10.899292] host=172.20.34.111, domain=ittiam.com, nis-domain=(none)
    [ 10.906149] bootserver=0.0.0.0, rootserver=0.0.0.0, rootpath=
    [ 10.912181] nameserver0=172.20.32.3, nameserver1=172.20.32.2, nameserver2=172.20.32.9
    [ 10.920906] aic_dvdd: disabling
    [ 10.924079] vmmcwl_fixed: disabling
    [ 10.927799] ldousb: disabling
    [ 10.931284] ALSA device list:
    [ 10.934284] #0: DRA7xx-EVM
    [ 10.937174] #1: HDMI 58040000.encoder
    [ 10.941023] #2: DRA7xx-JAMR3
    [ 13.984666] EXT4-fs (mmcblk1p2): recovery complete
    [ 13.991882] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
    [ 14.000054] VFS: Mounted root (ext4 filesystem) on device 179:50.
    [ 14.007810] devtmpfs: mounted
    [ 14.010992] Freeing unused kernel memory: 336K (c0900000 - c0954000)
    [ 14.017387] This architecture does not have kernel memory protection.
    [ 14.363153] systemd[1]: System time before build time, advancing clock.
    [ 14.419469] random: systemd: uninitialized urandom read (16 bytes read, 49 bits of entropy available)
    [ 14.433099] random: systemd: uninitialized urandom read (16 bytes read, 49 bits of entropy available)
    [ 14.444845] 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)
    [ 14.463374] systemd[1]: Detected architecture arm.

    Welcome to Arago 2016.12!

    [ 14.494551] systemd[1]: Set hostname to <dra7xx-evm>.
    [ 14.585031] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 51 bits of entropy available)
    [ 14.609340] random: systemd-gpt-aut: uninitialized urandom read (16 bytes read, 51 bits of entropy available)
    [ 14.619736] random: systemd-gpt-aut: uninitialized urandom read (16 bytes read, 51 bits of entropy available)
    [ 14.637801] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 52 bits of entropy available)
    [ 14.659866] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 53 bits of entropy available)
    [ 14.797997] random: systemd: uninitialized urandom read (16 bytes read, 56 bits of entropy available)
    [ 14.807528] random: systemd: uninitialized urandom read (16 bytes read, 56 bits of entropy available)
    [ 14.817413] random: systemd: uninitialized urandom read (16 bytes read, 56 bits of entropy available)
    [ 15.281545] systemd[1]: sysinit.target: Found ordering cycle on sysinit.target/start
    [ 15.289378] systemd[1]: sysinit.target: Found dependency on alignment.service/start
    [ 15.297153] systemd[1]: sysinit.target: Found dependency on sysinit.target/start
    [ 15.304639] systemd[1]: sysinit.target: Breaking ordering cycle by deleting job alignment.service/start
    [ 15.314092] 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
    [ 15.345266] systemd[1]: Listening on udev Kernel Socket.
    [ OK ] Listening on udev Kernel Socket.
    [ 15.363085] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [ OK ] Started Forward Password Requests to Wall Directory Watch.
    [ 15.383099] systemd[1]: Listening on Network Service Netlink Socket.
    [ OK ] Listening on Network Service Netlink Socket.
    [ 15.402900] systemd[1]: Reached target Remote File Systems.
    [ OK ] Reached target Remote File Systems.
    [ 15.422989] systemd[1]: Listening on Journal Socket (/dev/log).
    [ OK ] Listening on Journal Socket (/dev/log).
    [ 15.443215] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
    [ OK ] Listening on /dev/initctl Compatibility Named Pipe.
    [ 15.462976] systemd[1]: Listening on udev Control Socket.
    [ OK ] Listening on udev Control Socket.
    [ 15.484174] systemd[1]: Created slice System Slice.
    [ OK ] Created slice System Slice.
    [ 15.503498] systemd[1]: Created slice system-serial\x2dgetty.slice.
    [ OK ] Created slice system-serial\x2dgetty.slice.
    [ 15.523463] systemd[1]: Created slice system-getty.slice.
    [ OK ] Created slice system-getty.slice.
    [ 15.542991] systemd[1]: Listening on Journal Socket.
    [ OK ] Listening on Journal Socket.
    [ 15.602900] systemd[1]: Mounting Debug File System...
    Mounting Debug File System...
    [ 15.625026] systemd[1]: Starting Setup Virtual Console...
    Starting Setup Virtual Console...
    [ 15.642157] systemd[1]: Mounting Temporary Directory...
    Mounting Temporary Directory...
    [ 15.675019] systemd[1]: Starting Remount Root and Kernel File Systems...
    Starting Remount Root and Kernel File Systems...
    [ 15.692575] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
    [ 15.705164] systemd[1]: Mounting POSIX Message Queue File System...
    Mounting POSIX Message Queue File System...
    [ 15.738556] systemd[1]: Starting Load Kernel Modules...
    Starting Load Kernel Modules...
    [ 15.761716] CMEMK module: reference Linux version 4.4.45
    [ 15.769596] systemd[1]: Starting Create list of required static device nodes for the current kernel...
    [ 1.779212] no physical memory specified
    [ 15.783247] cmemk initialized
    Starting Create list of required st... nodes for the current kernel...
    [ 15.803076] systemd[1]: Listening on Syslog Socket.
    [ OK ] Listening on Syslog Socket.
    [ 15.809070] cryptodev: driver 1.8 loaded.
    [ 15.853331] systemd[1]: Starting Journal Service...
    Starting Journal Service...
    [ 15.873137] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [ OK ] Started Dispatch Password Requests to Console Directory Watch.
    [ 15.902936] systemd[1]: Reached target Paths.
    [ OK ] Reached target Paths.
    [ 15.922953] systemd[1]: Reached target Swap.
    [ OK ] Reached target Swap.
    [ 15.943649] systemd[1]: Created slice User and Session Slice.
    [ OK ] Created slice User and Session Slice.
    [ 15.972957] systemd[1]: Reached target Slices.
    [ OK ] Reached target Slices.
    [ 16.029811] systemd[1]: Mounted Debug File System.
    [ OK ] Mounted Debug File System.
    [ 16.052957] systemd[1]: Mounted POSIX Message Queue File System.
    [ OK ] Mounted POSIX Message Queue File System.
    [ 16.073000] systemd[1]: Mounted Temporary Directory.
    [ OK ] Mounted Temporary Directory.
    [ 16.103130] systemd[1]: Started Journal Service.
    [ OK ] Started Journal Service.
    [ OK ] Started Setup Virtual Console.
    [ OK ] Started Remount Root and Kernel File Systems.
    [ OK ] Started Load Kernel Modules.
    [ OK ] Started Create list of required sta...ce nodes for the current kernel.
    Starting Create Static Device Nodes in /dev...
    Starting Apply Kernel Variables...
    Starting udev Coldplug all Devices...
    Starting Flush Journal to Persistent Storage...
    [ OK ] Started Apply Kernel Variables.
    [ OK ] Started Create Static Device Nodes in /dev.
    [ 16.769344] systemd-journald[160]: Received request to flush runtime journal from PID 1
    Starting udev Kernel Device Manager...
    [ OK ] Reached target Local File Systems (Pre).
    Mounting /media/ram...
    Mounting /var/volatile...
    [ OK ] Mounted /media/ram.
    [ OK ] Mounted /var/volatile.
    [ OK ] Started udev Kernel Device Manager.
    [ OK ] Started Flush Journal to Persistent Storage.
    Starting Load/Save Random Seed...
    [ OK ] Reached target Local File Systems.
    Starting Create Volatile Files and Directories...
    [ 17.291263] omap-rproc 58820000.ipu: assigned reserved memory node ipu1_cma@9d000000
    [ OK ] Started Load/Save Random Seed.
    [ 17.344212] remoteproc0: 58820000.ipu is available
    [ 17.349120] remoteproc0: Note: remoteproc is still under development and considered experimental.
    [ OK ] Started Create Volatile Files and Directories.
    [ 17.412901] remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [ 17.437084] omap-rproc 55020000.ipu: assigned reserved memory node ipu2_cma@95800000
    [ OK ] Started udev Coldplug all Devices.[ 17.459239] remoteproc1: 55020000.ipu is available

    [ 17.475992] remoteproc1: Note: remoteproc is still under development and considered experimental.
    [ 17.510576] remoteproc1: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [ 17.550103] omap-rproc 40800000.dsp: assigned reserved memory node dsp1_cma@99000000
    [ 17.581857] remoteproc2: 40800000.dsp is available
    [ 17.605459] remoteproc2: Note: remoteproc is still under development and considered experimental.
    [ OK ] Found device /dev/ttyS0.[ 17.632631] remoteproc2: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.

    [ 17.663335] omap-rproc 41000000.dsp: assigned reserved memory node dsp2_cma@9f000000
    [ 17.675904] remoteproc3: 41000000.dsp is available
    [ 17.689371] remoteproc3: Note: remoteproc is still under development and considered experimental.
    [ 17.707910] remoteproc3: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    Starting Network Time Synchronization...
    Starting Update UTMP about System Boot/Shutdown...
    [ 18.035808] omap-des 480a5000.des: OMAP DES hw accel rev: 2.2
    [ 18.053229] alg: skcipher: setkey failed on test 5 for ecb-des-omap: flags=100
    [ 18.065905] alg: skcipher-ddst: setkey failed on test 5 for ecb-des-omap: flags=100
    [ 18.075642] alg: skcipher-ddst: setkey failed on test 5 for ecb-des-omap: flags=100
    [ 18.089658] omap_rtc 48838000.rtc: rtc core: registered 48838000.rtc as rtc0
    [ 18.146876] omap_rng 48090000.rng: OMAP Random Number Generator ver. 20
    [ OK ] Started Update UTMP about System Boot/Shutdown.
    [ OK ] Started Network Time Synchronization.[ 18.592928] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec

    [ OK ] Reached target System Time Synchronized.
    [ 18.628163] omap-sham 4b101000.sham: hw accel on OMAP rev 4.3
    Starting Synchronize System and HW clocks...
    [ 18.959139] SCSI subsystem initialized
    [ 18.964364] CAN device driver interface
    [ OK ] Started Synchronize System and HW clocks.
    [ OK ] Reached target System Initialization.
    [ OK ] Listening on D-Bus System Message Bus Socket.
    [ 19.451817] remoteproc0: registered virtio0 (type 7)
    [ OK ] Listening on dropbear.socket.
    [ OK ] Listening on RPCbind Server Activation Socket.
    [ OK ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [ OK ] Reached target Sockets.
    [ OK ] Reached target Basic System.
    [ OK ] Started Kernel Logging Service.
    Starting Telephony service...
    [ 19.856297] random: nonblocking pool is initialized
    [ OK ] Started System Logging Service.
    [ OK ] Started strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf.
    Starting Permit User Sessions...
    Starting uim-sysfs.service...
    [ 20.183552] omap-aes 4b500000.aes: OMAP AES hw accel rev: 3.3
    [ 20.218110] remoteproc2: registered virtio1 (type 7)
    Starting Save/Restore Sound Card State...
    [ 20.309232] remoteproc3: registered virtio2 (type 7)
    Starting Avahi mDNS/DNS-SD Stack...
    [ 20.374841] omap-aes 4b700000.aes: OMAP AES hw accel rev: 3.3
    Starting Login Service...
    [ 20.385430] c_can_platform 4ae3c000.can: c_can_platform device registered (regs=fce3c000, irq=365)
    Starting Print notice about GPLv3 packages...
    [ 20.426782] ahci 4a140000.sata: SSS flag set, parallel bus scan disabled
    [ 20.460372] ahci 4a140000.sata: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl platform mode
    [ OK ] Started D-Bus System Message Bus.
    [ 20.479516] ahci 4a140000.sata: flags: 64bit ncq sntf stag pm led clo only pmp pio slum part ccc apst
    [ 20.569750] scsi host0: ahci
    [ 20.573113] ata1: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a1410ff] port 0x100 irq 345
    [ 20.607058] [drm] Initialized pvr 1.14.3699939 20110701 on minor 1
    [ 20.942780] ata1: SATA link down (SStatus 0 SControl 300)
    [ 21.683741] remoteproc0: powering up 58820000.ipu
    [ 21.731243] remoteproc0: Booting fw image dra7-ipu1-fw.xem4, size 4870616
    [ 21.738931] omap-iommu 58882000.mmu: 58882000.mmu: version 2.1
    [ 21.753678] remoteproc0: remote processor 58820000.ipu is now up
    [ 21.760906] virtio_rpmsg_bus virtio0: rpmsg host is online
    [ 21.768146] virtio_rpmsg_bus virtio0: creating channel rpmsg-client-sample addr 0x32
    [ 21.777565] remoteproc2: powering up 40800000.dsp
    [ 21.788675] virtio_rpmsg_bus virtio0: creating channel rpmsg-client-sample addr 0x33
    [ 21.803950] virtio_rpmsg_bus virtio0: creating channel rpmsg-omx addr 0x3c
    [ 21.814534] remoteproc2: Booting fw image dra7-dsp1-fw.xe66, size 5792160
    [ 21.823047] virtio_rpmsg_bus virtio0: creating channel rpmsg-rpc addr 0x65
    [ 21.828963] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
    [ 21.829003] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0
    [ 21.829094] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0
    [ 21.853845] remoteproc2: remote processor 40800000.dsp is now up
    [ 21.860858] virtio_rpmsg_bus virtio1: rpmsg host is online
    [ 21.861992] virtio_rpmsg_bus virtio1: creating channel rpmsg-client-sample addr 0x32
    [ 21.862326] virtio_rpmsg_bus virtio1: creating channel rpmsg-client-sample addr 0x33
    [ 21.862644] virtio_rpmsg_bus virtio1: creating channel rpmsg-omx addr 0x3c
    [ 21.863031] virtio_rpmsg_bus virtio1: creating channel rpmsg-rpc addr 0x65
    [ 21.913293] remoteproc3: powering up 41000000.dsp
    [ 21.924533] remoteproc3: Booting fw image dra7-dsp2-fw.xe66, size 5792188
    [ 21.938056] omap_hwmod: mmu0_dsp2: _wait_target_disable failed
    [ 21.943946] omap-iommu 41501000.mmu: 41501000.mmu: version 3.0
    [ 21.949894] omap-iommu 41502000.mmu: 41502000.mmu: version 3.0
    [ 21.963010] remoteproc3: remote processor 41000000.dsp is now up
    [ 21.970035] virtio_rpmsg_bus virtio2: rpmsg host is online
    [ 21.971306] virtio_rpmsg_bus virtio2: creating channel rpmsg-client-sample addr 0x32
    [ 21.971662] virtio_rpmsg_bus virtio2: creating channel rpmsg-client-sample addr 0x33
    [ 21.971956] virtio_rpmsg_bus virtio2: creating channel rpmsg-omx addr 0x3c
    [ 21.972335] virtio_rpmsg_bus virtio2: creating channel rpmsg-rpc addr 0x65
    [ 22.082553] rpmsg_rpc rpmsg3: probing service rpc_example_2 with src 1024 dst 101
    [ 22.090945] rpmsg_rpc rpmsg7: probing service rpc_example_4 with src 1024 dst 101
    [ 22.091444] rpmsg_rpc rpmsg3: published functions = 8
    [ 22.104040] rpmsg_rpc rpmsg11: probing service rpc_example_3 with src 1024 dst 101
    [ 22.104602] rpmsg_rpc rpmsg7: published functions = 8
    [ 22.119667] rpmsg_rpc rpmsg11: published functions = 8
    [ 22.395747] FAT-fs (mmcblk1p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [ 22.460679] wl18xx_driver wl18xx.1.auto: Direct firmware load for ti-connectivity/wl1271-nvs.bin failed with error -2
    [ 22.532855] usbcore: registered new interface driver usbfs
    [ 22.538868] usbcore: registered new interface driver hub
    [ 22.544849] usbcore: registered new device driver usb
    [ OK ] Started Telephony service.
    [ OK ] Started Avahi mDNS/DNS-SD Stack.
    Starting Network Service...
    [ OK ] Started Daily Cleanup of Temporary Directories.
    [ OK ] Reached target Timers.
    [ OK ] Started Permit User Sessions.
    [ OK ] Started uim-sysfs.service.
    [ OK ] Started Save/Restore Sound Card State.
    [ 22.692285] dwc3 48890000.usb: otg: primary host xhci-hcd.2.auto registered
    [ 22.700000] dwc3 48890000.usb: otg: shared host xhci-hcd.2.auto registered
    [ 22.710042] dwc3 48890000.usb: otg: can't start till gadget registers
    [ 22.717843] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller
    [ 22.724866] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 1
    [ 22.736072] xhci-hcd xhci-hcd.3.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x00210010
    [ 22.745039] xhci-hcd xhci-hcd.3.auto: irq 511, io mem 0x488d0000
    [ 22.755468] hub 1-0:1.0: USB hub found
    [ 22.759341] hub 1-0:1.0: 1 port detected
    [ 22.766120] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller
    [ 22.771643] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 2
    [ 22.781576] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    [ 22.792485] hub 2-0:1.0: USB hub found
    [ 22.812353] hub 2-0:1.0: 1 port detected
    [ 22.883396] wlcore: wl18xx HW: 18xxQ, PG 2.3 (ROM 0x3)
    [ 22.971579] wlcore: loaded
    [ 23.017363] Bluetooth: Core ver 2.21
    [ 23.021531] NET: Registered protocol family 31
    [ 23.026068] Bluetooth: HCI device and connection manager initialized
    [ 23.035923] Bluetooth: HCI socket layer initialized
    [ 23.040833] Bluetooth: L2CAP socket layer initialized
    [ 23.048407] Bluetooth: SCO socket layer initialized
    [ 23.175442] cfg80211: World regulatory domain updated:
    [ 23.180614] cfg80211: DFS Master region: unset
    [ 23.185981] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
    [ 23.196066] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
    [ 23.206283] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
    [ 23.215185] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
    [ 23.224012] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
    [ 23.234977] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
    [ 23.245530] NET: Registered protocol family 15
    [ 23.246285] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
    [ 23.246290] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
    [ 23.246295] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
    [ OK ] Started Network Service.
    [ 23.535224] Initializing XFRM netlink socket
    [ 23.632014] remoteproc1: powering up 55020000.ipu
    [ 23.637408] remoteproc1: Booting fw image dra7-ipu2-fw.xem4, size 25808516
    [ OK ] Reached target Network.
    [ 23.675517] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1
    [ 23.682640] omap-rproc 55020000.ipu: dma_alloc_coherent err: 71303168
    Starting Lightning Fast Webserver With Light System Requirements...[ 23.691606] remoteproc1: Failed to process resources: -12

    [ 23.702210] remoteproc1: rproc_boot() failed -12
    [ 23.707826] virtio_rpmsg_bus: probe of virtio3 failed with error -12
    [ 23.714894] remoteproc1: registered virtio3 (type 7)
    Starting Network Name Resolution...
    [ OK ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
    [ OK ] Created slice system-systemd\x2dbacklight.slice.
    Starting Load/Save Screen Backlight...htness of backlight:backlight...
    [ OK ] Reached target Sound Card.
    Starting rc.pvr.service...
    [ OK ] Started Getty on tty1.
    [ OK ] Started Serial Getty on ttyS0.
    [ OK ] Started Login Service.
    Starting Load/Save RF Kill Switch Status...
    [ OK ] Started Load/Save Screen Backlight Brightness of backlight:backlight.
    [ 23.915613] wlcore: PHY firmware version: Rev 8.2.0.0.232
    [ OK ] Started Load/Save RF Kill Switch Status.
    [ 24.046044] wlcore: firmware booted (Rev 8.9.0.0.48)
    [ 24.061312] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    [ 24.090408] net eth1: initializing cpsw version 1.15 (0)
    [ 24.120183] PVR_K: UM DDK-(3699939) and KM DDK-(3699939) match. [ OK ]
    [ OK ] Started Lightning Fast Webserver With Light System Requirements.
    [ OK ] Started Network Name Resolution.
    [ 24.176572] net eth1: phy found : id is : 0x20005c7a
    [ 24.186450] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
    [ OK ] Started rc.pvr.service.
    Starting weston.service...
    [ OK ] Started weston.service.
    Starting telnetd.service...
    Starting tiipclad-daemon.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.

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

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

    Arago 2016.12 dra7xx-evm ttyS0

    dra7xx-evm login: [ 32.150536] omap_hwmod: mmu1_dsp1: _wait_target_disable failed
    [ 32.163689] omap_hwmod: mmu1_dsp2: _wait_target_disable failed
    [ 32.176967] omap_hwmod: mmu0_dsp2: _wait_target_disable failed
    [ 32.190074] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
    ***************************************************************
    ***************************************************************
    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
    root@dra7xx-evm:~# insmod /lib/modules/4.4.45-g89944627d5/extra/galcore.ko baseAddress=0x8 0000000 physSize=0x60000000
    [ 43.110548] GC320 IRQ: 330
    [ 43.113390] Galcore version 5.0.11.33433
    root@dra7xx-evm:~#
    root@dra7xx-evm:~# cat cat /sys/kernel/debug/remoteproc/remoteproc1/trace0
    cat: can't open '/sys/kernel/debug/remoteproc/remoteproc1/trace0': No such file or directory
    root@dra7xx-evm:~#


    Any idea what I might have missed here?

    Further, When you say similar changes to PSDKLA dtb, I assumed that the way dts inclusion works and the way layout is picked up while booting is same in Vision SDK and TI_PSDKLA.
    Also, in the uenv.txt generated by clean build of PSDKLA, there was no mention of dtb file to be taken. This I added later to the uenv, before preparing the SD cart for boot.

    Thanks for the help.
    Regards,
    Abhijeet
  • Hello,

    Any memory you reserved from Linux would result in reduction of available lowmem in Linux.
    DRM driver uses lowmem to allocated buffers and it'll trigger OOM if it runs out of it.

    Your problem is that the DRM memory requirement in higher.
    So I'd suggest you reduce the reserved memory for Vision SDK (Currently around 300MB) to match your usecase.
    Specially the SR1 regions is quiet high, Reduce it according to your usecase

    Accordingly change the XS file, mem_config.h (HEAP SIZE for SR) and reserved_mem in DTB
    Then you;ll see that the lowmem is increased and the OOM should not be triggered

    Regards
    Nikhil D