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.

AM5728: How to use DSP for echo cancellation from A15 processor?

Part Number: AM5728

Hi,

->I wanted to use the DSP using opencl on the AM5827 SOC based board.

->There are some examples in the /opt/ti-processor-sdk-linux-am57xx-evm-06.03.00.106/example-applications/opencl-examples-1.2.00.02 directory(for example ccode and vecadd etc). These use opencl to offload the task to DSP cores present in AM5728 SOC. I was not able to run any of these applications. There were runtime errors.

->Could  anyone suggest a way to successfully run these applications? Also, I wanted to use the ECU (Echo cancellation) feature of DSP. Is there a tutorial which uses OPENCL to use the ECU feature of the DSP. I mean I  want to send the RTP packets received on A15 core from the network to DSP for processing, and then send the processed packet back to A15 core from DSP.  How can we implement the feature using OPENCL (IPC)?

->So basically I am asking as to to how to implement an application (which uses opencl or any other way)on A15 core(arm linux)  which can offload ECU on DSP and do packet processing?

  !!

Regards

Vishal Maheshwari

  • Hi Vishal,

    What SDK version are you using?

    Also, OpenCL examples require that you use the OpenCL related firmwares. What do you see with ls -l /lib/firmware?

    regards

    Suman


  • I am using linux SDK 6.03 for AM5728

    output of ls -l /lib/firmware

    -rw-r--r--    1 root     root          2046 Apr 20  2020 LICENCE.iwlwifi_firmware
    -rw-r--r--    1 root     root         75723 Sep 28 18:11 TIInit_11.8.32.bts
    lrwxrwxrwx    1 root     root            49 Apr 20  2020 am57xx-pru1_0-fw -> /lib/firmware/pru/PRU_RPMsg_Echo_Interrupt1_0.out
    lrwxrwxrwx    1 root     root            49 Apr 20  2020 am57xx-pru1_1-fw -> /lib/firmware/pru/PRU_RPMsg_Echo_Interrupt1_1.out
    lrwxrwxrwx    1 root     root            49 Apr 20  2020 am57xx-pru2_0-fw -> /lib/firmware/pru/PRU_RPMsg_Echo_Interrupt2_0.out
    lrwxrwxrwx    1 root     root            49 Apr 20  2020 am57xx-pru2_1-fw -> /lib/firmware/pru/PRU_RPMsg_Echo_Interrupt2_1.out
    lrwxrwxrwx    1 root     root            46 Apr 20  2020 dra7-dsp1-fw.xe66 -> /lib/firmware/dra7-dsp1-fw.xe66.opencl-monitor
    -rw-rw-r--    1 root     root      20482288 Apr 20  2020 dra7-dsp1-fw.xe66.opencl-monitor
    -rw-r--r--    1 root     root       8953696 Apr 20  2020 dra7-dsp1-fw.xe66.openvx
    lrwxrwxrwx    1 root     root            46 Apr 20  2020 dra7-dsp2-fw.xe66 -> /lib/firmware/dra7-dsp2-fw.xe66.opencl-monitor
    -rw-rw-r--    1 root     root      20482288 Apr 20  2020 dra7-dsp2-fw.xe66.opencl-monitor
    -rw-r--r--    1 root     root       8953696 Apr 20  2020 dra7-dsp2-fw.xe66.openvx
    lrwxrwxrwx    1 root     root            46 Apr 20  2020 dra7-ipu1-fw.xem4 -> /lib/firmware/dra7-ipu1-fw.xem4.opencl-monitor
    -rw-rw-r--    1 root     root       6887428 Apr 20  2020 dra7-ipu1-fw.xem4.opencl-monitor
    lrwxrwxrwx    1 root     root            40 Apr 20  2020 dra7-ipu2-fw.xem4 -> /lib/firmware/dra7-ipu2-fw.xem4.ipumm-fw
    -rw-r--r--    1 root     root       3747220 Apr 20  2020 dra7-ipu2-fw.xem4.ipumm-fw
    -rw-r--r--    1 root     root        581349 Apr 20  2020 dra7-ipu2-fw.xem4.map
    -rw-r--r--    1 root     root           186 Apr 19  2020 goodix_9271_cfg.bin
    drwxr-xr-x    6 root     root          4096 Apr 20  2020 ipc
    -rw-r--r--    1 root     root        918268 Apr 20  2020 iwlwifi-3160-17.ucode
    -rw-r--r--    1 root     root       1745176 Apr 20  2020 iwlwifi-8000C-13.ucode
    -rw-r--r--    1 root     root       2351636 Apr 20  2020 iwlwifi-8000C-16.ucode
    -rw-r--r--    1 root     root       2394060 Apr 20  2020 iwlwifi-8000C-21.ucode
    -rw-r--r--    1 root     root       2120860 Apr 20  2020 iwlwifi-8000C-22.ucode
    -rw-r--r--    1 root     root       2227284 Apr 20  2020 iwlwifi-8000C-27.ucode
    -rw-r--r--    1 root     root       2310116 Apr 20  2020 iwlwifi-8000C-31.ucode
    -rw-r--r--    1 root     root       2448976 Apr 20  2020 iwlwifi-8000C-34.ucode
    -rw-r--r--    1 root     root       2486572 Apr 20  2020 iwlwifi-8000C-36.ucode
    -rw-r--r--    1 root     root       2389968 Apr 20  2020 iwlwifi-8265-21.ucode
    -rw-r--r--    1 root     root       1811984 Apr 20  2020 iwlwifi-8265-22.ucode
    -rw-r--r--    1 root     root       2234528 Apr 20  2020 iwlwifi-8265-27.ucode
    -rw-r--r--    1 root     root       2307104 Apr 20  2020 iwlwifi-8265-31.ucode
    -rw-r--r--    1 root     root       2440780 Apr 20  2020 iwlwifi-8265-34.ucode
    -rw-r--r--    1 root     root       2498044 Apr 20  2020 iwlwifi-8265-36.ucode
    -rw-r--r--    1 root     root         67592 Apr 20  2020 jailhouse.bin
    drwxr-xr-x    2 root     root          4096 Apr 20  2020 pru
    -rw-r--r--    1 root     root          4196 Apr 20  2020 regulatory.db
    -rw-r--r--    1 root     root          1182 Apr 20  2020 regulatory.db.p7s
    drwxr-xr-x    2 root     root          4096 Apr 20  2020 ti-connectivity
    drwxr-xr-x    2 root     root          4096 Apr 20  2020 ti-pruss
    -rw-r--r--    1 root     root          4002 Apr 19  2020 vpdma-1b8.bin

    Also, here is the output of running vecadd from A15:-

    root@am57xx-evm:/mnt# ./vecadd
    Ipc_start: LAD_connect() failed: 4
    vecadd: /oe/bld/build-CORTEX_1/arago-tmp-external-arm-toolchain/work/am57xx_evm-linux-gnueabi/opencl/1.2.00.02-r0.0/git/host/src/core/dsp/tal/mbox_impl_msgq.cpp:89: MBoxMsgQ::MBoxMsgQ(Coal::DSPDevice*): Assertion `status == Ipc_S_SUCCESS || status == Ipc_S_ALREADYSETUP' failed.
    Aborted (core dumped)

    What can I do to solve this ?

  • Hi Vishal,

    Can you provide the full kernel boot log? Please double check the IPC LAD daemon is running and rpmsg_proto module/driver is loaded. Also, ensure the CMEM kernel module is loaded and memory has been carved out for CMEM.

    regards

    Suman

  • Hi ,

    Please see below:-

    root@am57xx-evm:~# lsmod | grep cmem
    cmemk                  45056  2

    root@am57xx-evm:~# lsmod | grep rpmsg
    rpmsg_proto            16384  0
    rpmsg_rpc              32768  0
    virtio_rpmsg_bus       20480  0
    remoteproc             49152  4 pru_rproc,rpmsg_rpc,omap_remoteproc,rpmsg_proto

    I am not sure about IPC LAD daemon. I am attaching dmesg.txt for kernel boot logs

    root@am57xx-evm:~# cat /tmp/dmesg.log 
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.19.94-gbe5389fd85 (root@cdot-ProLiant-BL460c-Gen9) (gcc version 8.3.0 (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36))) #53 SMP PREEMPT Fri Oct 1 11
    [    0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=30c5387d
    [    0.000000] CPU: div instructions available: patching division code
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    [    0.000000] OF: fdt: Machine model: TI AM5728 BeagleBoard-X15 rev C
    [    0.000000] Memory policy: Data cache writealloc
    [    0.000000] efi: Getting EFI parameters from FDT:
    [    0.000000] efi: UEFI not found.
    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000095800000, size 56 MiB
    [    0.000000] OF: reserved mem: initialized node ipu2-memory@95800000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000099000000, size 64 MiB
    [    0.000000] OF: reserved mem: initialized node dsp1-memory@99000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009d000000, size 32 MiB
    [    0.000000] OF: reserved mem: initialized node ipu1-memory@9d000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x000000009f000000, size 8 MiB
    [    0.000000] OF: reserved mem: initialized node dsp2-memory@9f000000, compatible id shared-dma-pool
    [    0.000000] cma: Reserved 24 MiB at 0x00000000fd800000
    [    0.000000] OMAP4: Map 0x000000027fd00000 to (ptrval) for dram barrier
    [    0.000000] Hit pending asynchronous external abort (FSR=0x00000211) during first unmask, this is most likely caused by a firmware/bootloader bug.
    [    0.000000] On node 0 totalpages: 986112
    [    0.000000]   DMA zone: 1728 pages used for memmap
    [    0.000000]   DMA zone: 0 pages reserved
    [    0.000000]   DMA zone: 139008 pages, LIFO batch:31
    [    0.000000]   HighMem zone: 847104 pages, LIFO batch:63
    [    0.000000] DRA752 ES2.0
    [    0.000000] random: get_random_bytes called from start_kernel+0xb4/0x470 with crng_init=0
    [    0.000000] percpu: Embedded 15 pages/cpu s32396 r8192 d20852 u61440
    [    0.000000] pcpu-alloc: s32396 r8192 d20852 u61440 alloc=15*4096
    [    0.000000] pcpu-alloc: [0] 0 [0] 1 
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 984384
    [    0.000000] Kernel command line: console=ttyS2,115200n8 root=PARTUUID=6d5adca3-02 rw rootfstype=ext4 rootwait
    [    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: 3735908K/3944448K available (10240K kernel code, 336K rwdata, 2892K rodata, 2048K init, 278K bss, 52892K reserved, 155648K cma-reserved, 3363840K highmem)
    [    0.000000] Virtual kernel memory layout:
                       vector  : 0xffff0000 - 0xffff1000   (   4 kB)
                       fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
                       vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
                       lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
                       pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
                       modules : 0xbf000000 - 0xbfe00000   (  14 MB)
                         .text : 0x(ptrval) - 0x(ptrval)   (12256 kB)
                         .init : 0x(ptrval) - 0x(ptrval)   (2048 kB)
                         .data : 0x(ptrval) - 0x(ptrval)   ( 337 kB)
                          .bss : 0x(ptrval) - 0x(ptrval)   ( 279 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000]  Tasks RCU enabled.
    [    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
    [    0.000000] GIC: Using split EOI/Deactivate mode
    [    0.000000] OMAP clockevent source: timer1 at 31475 Hz
    [    0.000000] arch_timer: cp15 timer(s) running at 5.90MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x15c70fb29, max_idle_ns: 440795202138 ns
    [    0.000005] sched_clock: 56 bits at 5MHz, resolution 169ns, wraps every 4398046511093ns
    [    0.000019] Switching to timer-based delay loop, resolution 169ns
    [    0.000295] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
    [    0.000306] OMAP clocksource: 32k_counter at 32768 Hz
    [    0.000751] Console: colour dummy device 80x30
    [    0.000794] Calibrating delay loop (skipped), value calculated using timer frequency.. 11.80 BogoMIPS (lpj=59016)
    [    0.000809] pid_max: default: 32768 minimum: 301
    [    0.000936] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.000949] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.001504] CPU: Testing write buffer coherency: ok
    [    0.001541] CPU0: Spectre v2: using ICIALLU workaround
    [    0.001753] /cpus/cpu@0 missing clock-frequency property
    [    0.001773] /cpus/cpu@1 missing clock-frequency property
    [    0.001787] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.059919] Setting up static identity map for 0x80200000 - 0x80200060
    [    0.079933] rcu: Hierarchical SRCU implementation.
    [    0.100125] EFI services will not be available.
    [    0.119996] smp: Bringing up secondary CPUs ...
    [    0.200391] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [    0.200397] CPU1: Spectre v2: using ICIALLU workaround
    [    0.200519] smp: Brought up 1 node, 2 CPUs
    [    0.200531] SMP: Total of 2 processors activated (23.60 BogoMIPS).
    [    0.200540] CPU: All CPU(s) started in HYP mode.
    [    0.200548] CPU: Virtualization extensions available.
    [    0.201121] devtmpfs: initialized
    [    0.217683] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [    0.217956] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.217975] futex hash table entries: 512 (order: 3, 32768 bytes)
    [    0.220630] pinctrl core: initialized pinctrl subsystem
    [    0.221154] DMI not present or invalid.
    [    0.221432] NET: Registered protocol family 16
    [    0.222564] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.223510] omap_hwmod: l3_main_2 using broken dt data from ocp
    [    0.405072] cpuidle: using governor ladder
    [    0.405107] cpuidle: using governor menu
    [    0.415512] gpio gpiochip0: (gpio-0-31): added GPIO chardev (254:0)
    [    0.415580] gpiochip_setup_dev: registered GPIOs 0 to 31 on device: gpiochip0 (gpio-0-31)
    [    0.415624] OMAP GPIO hardware version 0.1
    [    0.416245] gpio gpiochip1: (gpio-32-63): added GPIO chardev (254:1)
    [    0.416311] gpiochip_setup_dev: registered GPIOs 32 to 63 on device: gpiochip1 (gpio-32-63)
    [    0.416943] gpio gpiochip2: (gpio-64-95): added GPIO chardev (254:2)
    [    0.417012] gpiochip_setup_dev: registered GPIOs 64 to 95 on device: gpiochip2 (gpio-64-95)
    [    0.417645] gpio gpiochip3: (gpio-96-127): added GPIO chardev (254:3)
    [    0.417714] gpiochip_setup_dev: registered GPIOs 96 to 127 on device: gpiochip3 (gpio-96-127)
    [    0.418345] gpio gpiochip4: (gpio-128-159): added GPIO chardev (254:4)
    [    0.418409] gpiochip_setup_dev: registered GPIOs 128 to 159 on device: gpiochip4 (gpio-128-159)
    [    0.419057] gpio gpiochip5: (gpio-160-191): added GPIO chardev (254:5)
    [    0.419125] gpiochip_setup_dev: registered GPIOs 160 to 191 on device: gpiochip5 (gpio-160-191)
    [    0.419749] gpio gpiochip6: (gpio-192-223): added GPIO chardev (254:6)
    [    0.419813] gpiochip_setup_dev: registered GPIOs 192 to 223 on device: gpiochip6 (gpio-192-223)
    [    0.420476] gpio gpiochip7: (gpio-224-255): added GPIO chardev (254:7)
    [    0.420546] gpiochip_setup_dev: registered GPIOs 224 to 255 on device: gpiochip7 (gpio-224-255)
    [    0.442170] No ATAGs?
    [    0.442243] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [    0.442258] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [    0.443110] OMAP DMA hardware revision 0.0
    [    0.454708] edma 43300000.edma: memcpy is disabled
    [    0.458036] edma 43300000.edma: TI EDMA DMA engine driver
    [    0.465179] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported)
    [    0.465742] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator-main_12v0[0]'
    [    0.465990] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator-evm_5v0[0]'
    [    0.466014] evm_5v0: supplied by main_12v0
    [    0.466276] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator-vdd_3v3[0]'
    [    0.466507] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator-aic_dvdd[0]'
    [    0.466767] of_get_named_gpiod_flags: parsed 'gpio' property of node '/fixedregulator-vtt[0]' - status (0)
    [    0.469427] omap-iommu 40d01000.mmu: 40d01000.mmu registered
    [    0.469609] omap-iommu 40d02000.mmu: 40d02000.mmu registered
    [    0.469851] omap-iommu 58882000.mmu: 58882000.mmu registered
    [    0.470094] omap-iommu 55082000.mmu: 55082000.mmu registered
    [    0.470470] omap-iommu 41501000.mmu: 41501000.mmu registered
    [    0.470702] omap-iommu 41502000.mmu: 41502000.mmu registered
    [    0.470990] iommu: Adding device 58820000.ipu to group 1
    [    0.471073] iommu: Adding device 55020000.ipu to group 2
    [    0.471201] iommu: Adding device 40800000.dsp to group 0
    [    0.471444] iommu: Adding device 41000000.dsp to group 3
    [    0.472612] SCSI subsystem initialized
    [    0.473671] palmas 0-0058: Irq flag is 0x00000008
    [    0.502187] palmas 0-0058: Muxing GPIO 2b, PWM 0, LED 0
    [    0.503773] SMPS12: supplied by regulator-dummy
    [    0.505434] SMPS3: supplied by regulator-dummy
    [    0.507064] SMPS45: supplied by regulator-dummy
    [    0.508851] SMPS6: supplied by regulator-dummy
    [    0.510249] SMPS7: supplied by regulator-dummy
    [    0.511614] SMPS8: supplied by regulator-dummy
    [    0.512852] SMPS9: supplied by regulator-dummy
    [    0.513518] LDO1: supplied by regulator-dummy
    [    0.521342] LDO2: supplied by regulator-dummy
    [    0.531080] random: fast init done
    [    0.531196] LDO3: supplied by regulator-dummy
    [    0.541218] LDO4: supplied by regulator-dummy
    [    0.551242] LDO5: supplied by regulator-dummy
    [    0.551919] LDO6: supplied by regulator-dummy
    [    0.552605] LDO7: supplied by regulator-dummy
    [    0.553293] LDO8: supplied by regulator-dummy
    [    0.553990] LDO9: supplied by regulator-dummy
    [    0.561268] LDOLN: supplied by regulator-dummy
    [    0.571282] LDOUSB: supplied by regulator-dummy
    [    0.582907] gpiochip_find_base: found new base at 504
    [    0.583053] gpio gpiochip8: (48070000.i2c:tps659038@58:tps659038_gpio): added GPIO chardev (254:8)
    [    0.583120] gpiochip_setup_dev: registered GPIOs 504 to 511 on device: gpiochip8 (48070000.i2c:tps659038@58:tps659038_gpio)
    [    0.583463] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
    [    0.584371] omap_i2c 48072000.i2c: bus 1 rev0.12 at 400 kHz
    [    0.585005] omap_i2c 48060000.i2c: bus 2 rev0.12 at 400 kHz
    [    0.585512] omap_i2c 4807a000.i2c: bus 3 rev0.12 at 400 kHz
    [    0.586016] omap_i2c 4807c000.i2c: bus 4 rev0.12 at 400 kHz
    [    0.586234] media: Linux media interface: v0.10
    [    0.586273] videodev: Linux video capture interface: v2.00
    [    0.586354] pps_core: LinuxPPS API ver. 1 registered
    [    0.586364] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.586385] PTP clock support registered
    [    0.586416] EDAC MC: Ver: 3.0.0
    [    0.587211] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
    [    0.587461] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
    [    0.587984] Advanced Linux Sound Architecture Driver Initialized.
    [    0.588414] Bluetooth: Core ver 2.22
    [    0.588454] NET: Registered protocol family 31
    [    0.588464] Bluetooth: HCI device and connection manager initialized
    [    0.588479] Bluetooth: HCI socket layer initialized
    [    0.588492] Bluetooth: L2CAP socket layer initialized
    [    0.588528] Bluetooth: SCO socket layer initialized
    [    0.588884] clocksource: Switched to clocksource arch_sys_counter
    [    0.597154] NET: Registered protocol family 2
    [    0.597723] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
    [    0.597752] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.597792] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
    [    0.597860] TCP: Hash tables configured (established 4096 bind 4096)
    [    0.597932] UDP hash table entries: 256 (order: 1, 8192 bytes)
    [    0.597957] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
    [    0.598076] NET: Registered protocol family 1
    [    0.618524] RPC: Registered named UNIX socket transport module.
    [    0.618536] RPC: Registered udp transport module.
    [    0.618544] RPC: Registered tcp transport module.
    [    0.618553] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.618566] PCI: CLS 0 bytes, default 64
    [    0.619637] hw perfevents: no interrupt-affinity property for /pmu, guessing.
    [    0.619845] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
    [    0.620833] Initialise system trusted keyrings
    [    0.620975] workingset: timestamp_bits=14 max_order=20 bucket_order=6
    [    0.625968] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.636466] NFS: Registering the id_resolver key type
    [    0.636488] Key type id_resolver registered
    [    0.636497] Key type id_legacy registered
    [    0.636538] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.639921] Key type asymmetric registered
    [    0.639933] Asymmetric key parser 'x509' registered
    [    0.639986] bounce: pool size: 64 pages
    [    0.640022] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
    [    0.640034] io scheduler noop registered
    [    0.640043] io scheduler deadline registered
    [    0.640144] io scheduler cfq registered (default)
    [    0.640156] io scheduler mq-deadline registered
    [    0.640166] io scheduler kyber registered
    [    0.646058] pinctrl-single 4a003400.pinmux: 282 pins, size 1128
    [    0.650898] dra7-pcie 51000000.pcie: Linked as a consumer to phy-4a094000.pciephy.1
    [    0.651070] dra7-pcie 51000000.pcie: GPIO lookup for consumer (null)
    [    0.651078] dra7-pcie 51000000.pcie: using device tree for GPIO lookup
    [    0.651097] of_get_named_gpiod_flags: can't parse 'gpios' property of node '/ocp/axi@0/pcie@51000000[0]'
    [    0.651112] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/ocp/axi@0/pcie@51000000[0]'
    [    0.651122] dra7-pcie 51000000.pcie: using lookup tables for GPIO lookup
    [    0.651130] dra7-pcie 51000000.pcie: No GPIO consumer (null) found
    [    0.651304] dra7-pcie 51000000.pcie: host bridge /ocp/axi@0/pcie@51000000 ranges:
    [    0.651321] dra7-pcie 51000000.pcie: Parsing ranges property...
    [    0.651353] dra7-pcie 51000000.pcie:    IO 0x20003000..0x20012fff -> 0x00000000
    [    0.651381] dra7-pcie 51000000.pcie:   MEM 0x20013000..0x2fffffff -> 0x20013000
    [    1.651666] dra7-pcie 51000000.pcie: Phy link never came up
    [    1.651800] dra7-pcie 51000000.pcie: PCI host bridge to bus 0000:00
    [    1.651816] pci_bus 0000:00: root bus resource [bus 00-ff]
    [    1.651829] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
    [    1.651841] pci_bus 0000:00: root bus resource [mem 0x20013000-0x2fffffff]
    [    1.651851] pci_bus 0000:00: scanning bus
    [    1.651884] pci 0000:00:00.0: [104c:8888] type 01 class 0x060400
    [    1.651917] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit]
    [    1.651983] pci 0000:00:00.0: supports D1
    [    1.651990] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
    [    1.651999] pci 0000:00:00.0: PME# disabled
    [    1.657716] pci_bus 0000:00: fixups for bus
    [    1.657730] PCI: bus0: Fast back to back transfers disabled
    [    1.657746] pci 0000:00:00.0: scanning [bus 01-ff] behind bridge, pass 0
    [    1.657842] pci_bus 0000:01: scanning bus
    [    1.663215] pci_bus 0000:01: fixups for bus
    [    1.663222] PCI: bus1: Fast back to back transfers enabled
    [    1.663235] pci_bus 0000:01: bus scan returning with max=01
    [    1.663248] pci 0000:00:00.0: scanning [bus 01-ff] behind bridge, pass 1
    [    1.663260] pci_bus 0000:00: bus scan returning with max=ff
    [    1.663289] pci 0000:00:00.0: BAR 0: assigned [mem 0x20100000-0x201fffff 64bit]
    [    1.663309] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
    [    1.663444] pcieport 0000:00:00.0: assign IRQ: got 176
    [    1.663643] pcieport 0000:00:00.0: Signaling PME with IRQ 177
    [    1.663773] pcieport 0000:00:00.0: AER enabled with IRQ 177
    [    1.664830] pwm-backlight backlight: GPIO lookup for consumer enable
    [    1.664838] pwm-backlight backlight: using device tree for GPIO lookup
    [    1.664855] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/backlight[0]'
    [    1.664870] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/backlight[0]'
    [    1.664879] pwm-backlight backlight: using lookup tables for GPIO lookup
    [    1.664887] pwm-backlight backlight: No GPIO consumer enable found
    [    1.664924] pwm-backlight backlight: backlight supply power not found, using dummy regulator
    [    1.665001] pwm-backlight backlight: Linked as a consumer to regulator.0
    [    1.665159] pwm-backlight backlight: invalid default brightness level: 8, using 7
    [    1.666246] gpio-clk clk_ov5640: GPIO lookup for consumer enable
    [    1.666254] gpio-clk clk_ov5640: using device tree for GPIO lookup
    [    1.666282] of_get_named_gpiod_flags: parsed 'enable-gpios' property of node '/clk_ov5640[0]' - status (0)
    [    1.666318] gpio gpiochip4: Persistence not supported for GPIO 18
    [    1.668436] vdd_3v3: supplied by regen1
    [    1.668673] aic_dvdd_fixed: supplied by vdd_3v3
    [    1.668742] vtt_fixed: supplied by smps3
    [    1.713674] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [    1.717218] 4806a000.serial: ttyS0 at MMIO 0x4806a000 (irq = 45, base_baud = 3000000) is a 8250
    [    1.718162] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 46, base_baud = 3000000) is a 8250
    [    2.884818] console [ttyS2] enabled
    [    2.890521] omap_rng 48090000.rng: Random Number Generator ver. 20
    [    2.891051] random: crng init done
    [    2.921457] tpm tpm0: starting up the TPM manually
    [    2.986634] omapdss_dss 58000000.dss: Linked as a consumer to regulator.22
    [    2.993752] omapdss_dss 58000000.dss: Dropping the link to regulator.22
    [    3.005872] panel-simple display: display supply power not found, using dummy regulator
    [    3.013991] panel-simple display: Linked as a consumer to regulator.0
    [    3.020515] panel-simple display: GPIO lookup for consumer enable
    [    3.020523] panel-simple display: using device tree for GPIO lookup
    [    3.020555] of_get_named_gpiod_flags: parsed 'enable-gpios' property of node '/display[0]' - status (0)
    [    3.020571] gpio gpiochip4: Persistence not supported for GPIO 12
    [    3.028747] brd: module loaded
    [    3.038077] loop: module loaded
    [    3.045470] mdio_bus fixed-0: GPIO lookup for consumer reset
    [    3.045478] mdio_bus fixed-0: using lookup tables for GPIO lookup
    [    3.045487] mdio_bus fixed-0: No GPIO consumer reset found
    [    3.045512] libphy: Fixed MDIO Bus: probed
    [    3.052588] mdio_bus 48485000.mdio: GPIO lookup for consumer reset
    [    3.052596] mdio_bus 48485000.mdio: using device tree for GPIO lookup
    [    3.052615] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/ethernet@48484000/mdio@48485000[0]'
    [    3.052630] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp/ethernet@48484000/mdio@48485000[0]'
    [    3.052639] mdio_bus 48485000.mdio: using lookup tables for GPIO lookup
    [    3.052647] mdio_bus 48485000.mdio: No GPIO consumer reset found
    [    3.108916] davinci_mdio 48485000.mdio: davinci mdio revision 1.6, bus freq 1000000
    [    3.116612] libphy: 48485000.mdio: probed
    [    3.122903] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/ethernet@48484000/mdio@48485000/ethernet-phy@0[0]'
    [    3.125375] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/ethernet@48484000/mdio@48485000/ethernet-phy@1[0]'
    [    3.125505] davinci_mdio 48485000.mdio: phy[0]: device 48485000.mdio:00, driver Microsemi GE VSC8502 SyncE
    [    3.135227] davinci_mdio 48485000.mdio: phy[1]: device 48485000.mdio:01, driver Microsemi GE VSC8502 SyncE
    [    3.145485] cpsw 48484000.ethernet: Detected MACID = d0:03:eb:6c:3f:5a
    [    3.152120] cpsw 48484000.ethernet: initialized cpsw ale version 1.4
    [    3.158504] cpsw 48484000.ethernet: ALE Table size 1024
    [    3.163814] cpsw 48484000.ethernet: cpts: overflow check period 500 (jiffies)
    [    3.171846] cpsw 48484000.ethernet: cpsw: Detected MACID = d0:03:eb:6c:3f:5b
    [    3.180271]  DEBUG: keypad irq = 102
    [    3.183870] 
                   DEBUG: Autorepeat disabled 
    [    3.189561] input: 4ae1c000.keypad as /devices/platform/44000000.ocp/4ae1c000.keypad/input/input0
    [    3.199337] edt_ft5x06 4-0038: GPIO lookup for consumer reset
    [    3.199345] edt_ft5x06 4-0038: using device tree for GPIO lookup
    [    3.199363] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/i2c@4807c000/edt-ft5x06@38[0]'
    [    3.199378] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp/i2c@4807c000/edt-ft5x06@38[0]'
    [    3.199387] edt_ft5x06 4-0038: using lookup tables for GPIO lookup
    [    3.199395] edt_ft5x06 4-0038: No GPIO consumer reset found
    [    3.199403] edt_ft5x06 4-0038: GPIO lookup for consumer wake
    [    3.199410] edt_ft5x06 4-0038: using device tree for GPIO lookup
    [    3.199425] of_get_named_gpiod_flags: can't parse 'wake-gpios' property of node '/ocp/i2c@4807c000/edt-ft5x06@38[0]'
    [    3.199439] of_get_named_gpiod_flags: can't parse 'wake-gpio' property of node '/ocp/i2c@4807c000/edt-ft5x06@38[0]'
    [    3.199448] edt_ft5x06 4-0038: using lookup tables for GPIO lookup
    [    3.199455] edt_ft5x06 4-0038: No GPIO consumer wake found
    [    3.231008] input: generic ft5x06 (8d) as /devices/platform/44000000.ocp/4807c000.i2c/i2c-4/4-0038/input/input1
    [    3.269455] rtc-ds1307 2-006f: SET TIME!
    [    3.273854] rtc-ds1307 2-006f: got IRQ 180
    [    3.274175] rtc-ds1307 2-006f: read: 80 00 00 09 01 01 01
    [    3.274186] rtc-ds1307 2-006f: read secs=0, mins=0, hours=0, mday=1, mon=0, year=101, wday=0
    [    3.274561] rtc-ds1307 2-006f: mcp794xx_read_alarm, sec=0 min=0 hour=0 wday=0 mday=1 mon=0 enabled=0 polarity=0 irq=0 match=0
    [    3.274866] rtc-ds1307 2-006f: read: 80 00 00 09 01 01 01
    [    3.274877] rtc-ds1307 2-006f: read secs=0, mins=0, hours=0, mday=1, mon=0, year=101, wday=0
    [    3.274885] rtc rtc0: alarm rollover: year
    [    3.275188] rtc-ds1307 2-006f: read: 80 00 00 09 01 01 01
    [    3.275199] rtc-ds1307 2-006f: read secs=0, mins=0, hours=0, mday=1, mon=0, year=101, wday=0
    [    3.275337] rtc-ds1307 2-006f: char device (252:0)
    [    3.275350] rtc-ds1307 2-006f: registered as rtc0
    [    3.283089] rtc rtc1: 48070000.i2c:tps659038@58:tps659038_rtc: dev (252:1)
    [    3.283100] palmas-rtc 48070000.i2c:tps659038@58:tps659038_rtc: rtc core: registered 48070000.i2c:tps659038@58:tps659038_rtc as rtc1
    [    3.296163] i2c /dev entries driver
    [    3.301864] gpio-fan gpio_fan: GPIO lookup for consumer alarm
    [    3.301871] gpio-fan gpio_fan: using device tree for GPIO lookup
    [    3.301888] of_get_named_gpiod_flags: can't parse 'alarm-gpios' property of node '/gpio_fan[0]'
    [    3.301902] of_get_named_gpiod_flags: can't parse 'alarm-gpio' property of node '/gpio_fan[0]'
    [    3.301911] gpio-fan gpio_fan: using lookup tables for GPIO lookup
    [    3.301918] gpio-fan gpio_fan: No GPIO consumer alarm found
    [    3.301932] gpio-fan gpio_fan: GPIO lookup for consumer (null)
    [    3.301939] gpio-fan gpio_fan: using device tree for GPIO lookup
    [    3.301964] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_fan[0]' - status (0)
    [    3.301972] no flags found for (null)
    [    3.303188] gpio-fan gpio_fan: GPIO fan initialized
    [    3.311708] cpu cpu0: Linked as a consumer to regulator.6
    [    3.317210] cpu cpu0: Linked as a consumer to regulator.29
    [    3.324402] sdhci: Secure Digital Host Controller Interface driver
    [    3.330712] sdhci: Copyright(c) Pierre Ossman
    [    3.336522] sdhci-pltfm: SDHCI platform and OF driver helper
    [    3.342824] sdhci-omap 4809c000.mmc: GPIO lookup for consumer cd
    [    3.342829] sdhci-omap 4809c000.mmc: using device tree for GPIO lookup
    [    3.342847] of_get_named_gpiod_flags: parsed 'cd-gpios' property of node '/ocp/mmc@4809c000[0]' - status (0)
    [    3.342876] gpio gpiochip5: Persistence not supported for GPIO 27
    [    3.342886] omap_gpio 4805d000.gpio: Could not set line 27 debounce to 200000 microseconds (-22)
    [    3.351741] sdhci-omap 4809c000.mmc: Got CD GPIO
    [    3.356379] sdhci-omap 4809c000.mmc: GPIO lookup for consumer wp
    [    3.356384] sdhci-omap 4809c000.mmc: using device tree for GPIO lookup
    [    3.356394] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@4809c000[0]'
    [    3.356404] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@4809c000[0]'
    [    3.356410] sdhci-omap 4809c000.mmc: using lookup tables for GPIO lookup
    [    3.356415] sdhci-omap 4809c000.mmc: No GPIO consumer wp found
    [    3.356550] sdhci-omap 4809c000.mmc: Linked as a consumer to regulator.28
    [    3.363591] sdhci-omap 4809c000.mmc: Linked as a consumer to regulator.13
    [    3.370474] sdhci-omap 4809c000.mmc: Dropping the link to regulator.13
    [    3.377079] sdhci-omap 4809c000.mmc: Linked as a consumer to regulator.3
    [    3.384028] sdhci-omap 4809c000.mmc: Linked as a consumer to regulator.13
    [    3.390989] sdhci-omap 4809c000.mmc: no pinctrl state for ddr_3_3v mode
    [    3.422033] mmc0: SDHCI controller on 4809c000.mmc [4809c000.mmc] using ADMA
    [    3.429387] sdhci-omap 480b4000.mmc: GPIO lookup for consumer wp
    [    3.429393] sdhci-omap 480b4000.mmc: using device tree for GPIO lookup
    [    3.429407] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@480b4000[0]'
    [    3.429419] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@480b4000[0]'
    [    3.429427] sdhci-omap 480b4000.mmc: using lookup tables for GPIO lookup
    [    3.429433] sdhci-omap 480b4000.mmc: No GPIO consumer wp found
    [    3.429601] sdhci-omap 480b4000.mmc: Linked as a consumer to regulator.3
    [    3.436377] sdhci-omap 480b4000.mmc: Dropping the link to regulator.3
    [    3.442933] sdhci-omap 480b4000.mmc: Linked as a consumer to regulator.3
    [    3.475915] mmc1: SDHCI controller on 480b4000.mmc [480b4000.mmc] using ADMA
    [    3.484566] ledtrig-cpu: registered to indicate activity on CPUs
    [    3.495906] #aic3x_i2c_probe: Entered
    [    3.500697] #aic3x_i2c_probe: Done ret 0
    [    3.507038] NET: Registered protocol family 10
    [    3.512208] Segment Routing with IPv6
    [    3.515952] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    3.522289] NET: Registered protocol family 17
    [    3.526933] Key type dns_resolver registered
    [    3.531360] Registering SWP/SWPB emulation handler
    [    3.536195] omap_voltage_late_init: Voltage driver support not added
    [    3.542640] Power Management for TI OMAP4+ devices.
    [    3.548050] Loading compiled-in X.509 certificates
    [    3.556471] mmc1: new DDR MMC card at address 0001
    [    3.572024] mmcblk1: mmc1:0001 S0J57X 29.6 GiB 
    [    3.576945] mmcblk1boot0: mmc1:0001 S0J57X partition 1 31.5 MiB
    [    3.583297] mmcblk1boot1: mmc1:0001 S0J57X partition 2 31.5 MiB
    [    3.589387] mmcblk1rpmb: mmc1:0001 S0J57X partition 3 4.00 MiB, chardev (243:0)
    [    3.597240] dmm 4e000000.dmm: workaround for errata i878 in use
    [    3.597584]  mmcblk1: p1 p2
    [    3.608722] dmm 4e000000.dmm: initialized all PAT entries
    [    3.614975] omapdss_dss 58000000.dss: Linked as a consumer to regulator.22
    [    3.622062] DSS: OMAP DSS rev 6.1
    [    3.626245] omapdss_dss 58000000.dss: bound 58001000.dispc (ops dispc_component_ops)
    [    3.659251] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [    3.665894] [drm] No driver support for vblank timestamp query.
    [    3.674507] [drm] Enabling DMM ywrap scrolling
    [    3.683416] Console: switching to colour frame buffer device 128x37
    [    3.693440] omapdrm omapdrm.0: fb0: omapdrm frame buffer device
    [    3.700360] [drm] Initialized omapdrm 1.0.0 20110917 for omapdrm.0 on minor 0
    [    3.708145] of_get_named_gpiod_flags: can't parse 'simple-audio-card,hp-det-gpio' property of node '/sound0[0]'
    [    3.708156] of_get_named_gpiod_flags: can't parse 'simple-audio-card,mic-det-gpio' property of node '/sound0[0]'
    [    3.708197] #aic3262_probe: Invoked..
    [    3.711918] #reg_def_conf: Invoked..
    [    3.748357] #reg_def_conf: Done..
    [    3.751731] #aic3262_probe: I2C IRQ Configuration is Wrong.                  Please check it..
    [    3.759180] #aic3262_asi_default_config: Invoked. Will Config ASI Registers to Defaults..
    [    3.767397] #aic3262_set_bias_level: Codec Active 0[0]
    [    3.773187] aic3262_add_controls++
    [    3.776881] #Completed adding new dapm widget controls size=40
    [    3.783035] aic3262-codec 3-0018: Control not supported for path IN1L -> [IN1L Route] -> Left ADC
    [    3.791960] aic3262-codec 3-0018: ASoC: no dapm match for IN1L --> IN1L Route --> Left ADC
    [    3.800268] aic3262-codec 3-0018: ASoC: Failed to add route IN1L -> IN1L Route -> Left ADC
    [    3.808567] aic3262-codec 3-0018: Control not supported for path IN2L -> [IN2L Route] -> Left ADC
    [    3.817483] aic3262-codec 3-0018: ASoC: no dapm match for IN2L --> IN2L Route --> Left ADC
    [    3.825789] aic3262-codec 3-0018: ASoC: Failed to add route IN2L -> IN2L Route -> Left ADC
    [    3.834097] aic3262-codec 3-0018: Control not supported for path IN3L -> [IN3L Route] -> Left ADC
    [    3.843017] aic3262-codec 3-0018: ASoC: no dapm match for IN3L --> IN3L Route --> Left ADC
    [    3.851322] aic3262-codec 3-0018: ASoC: Failed to add route IN3L -> IN3L Route -> Left ADC
    [    3.859630] aic3262-codec 3-0018: Control not supported for path IN4L -> [IN4L Route] -> Left ADC
    [    3.868537] aic3262-codec 3-0018: ASoC: no dapm match for IN4L --> IN4L Route --> Left ADC
    [    3.876849] aic3262-codec 3-0018: ASoC: Failed to add route IN4L -> IN4L Route -> Left ADC
    [    3.885156] aic3262-codec 3-0018: Control not supported for path IN1R -> [IN1R Route] -> Right ADC
    [    3.894163] aic3262-codec 3-0018: ASoC: no dapm match for IN1R --> IN1R Route --> Right ADC
    [    3.902556] aic3262-codec 3-0018: ASoC: Failed to add route IN1R -> IN1R Route -> Right ADC
    [    3.910952] aic3262-codec 3-0018: Control not supported for path IN2R -> [IN2R Route] -> Right ADC
    [    3.919955] aic3262-codec 3-0018: ASoC: no dapm match for IN2R --> IN2R Route --> Right ADC
    [    3.928343] aic3262-codec 3-0018: ASoC: Failed to add route IN2R -> IN2R Route -> Right ADC
    [    3.936739] aic3262-codec 3-0018: Control not supported for path IN3R -> [IN3R Route] -> Right ADC
    [    3.945743] aic3262-codec 3-0018: ASoC: no dapm match for IN3R --> IN3R Route --> Right ADC
    [    3.954138] aic3262-codec 3-0018: ASoC: Failed to add route IN3R -> IN3R Route -> Right ADC
    [    3.962533] aic3262-codec 3-0018: Control not supported for path IN4R -> [IN4R Route] -> Right ADC
    [    3.971540] aic3262-codec 3-0018: ASoC: no dapm match for IN4R --> IN4R Route --> Right ADC
    [    3.979935] aic3262-codec 3-0018: ASoC: Failed to add route IN4R -> IN4R Route -> Right ADC
    [    3.988317] #Completed adding DAPM routes
    [    3.992347] #Completed updating dapm
    [    3.996141] #aic3262_probe: done..
    [    3.999598] #aic3262_multi_i2s_set_dai_sysclk: DAI ID 1 Freq 24000000 Direction 0
    [    4.007177] aic3262_multi_i2s_asi1_set_dai_fmt: DAI_ID 1 fmt 17157
    [    4.013641] #aic3262_multi_i2s_asi1_set_dai_fmt: Configuring ASI1 as Frame Slave..
    [    4.021260] #aic3262_multi_i2s_asi1_set_dai_fmt: Configuring ASI1 for DSP_B Mode..
    [    4.029852] asoc-simple-card sound0: aic3262-asi1 <-> 48468000.mcasp mapping ok
    [    4.037206] asoc-simple-card sound0: ASoC: no DMI vendor name!
    [    4.043772] #aic3262_set_bias_level: Codec Active 0[0]
    [    4.049743] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_keys/USER1[0]' - status (0)
    [    4.049758] gpio gpiochip0: Persistence not supported for GPIO 14
    [    4.049874] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_keys/USER2[0]' - status (0)
    [    4.049911] gpio gpiochip1: Persistence not supported for GPIO 6
    [    4.049987] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_keys/USER3[0]' - status (0)
    [    4.049996] gpio gpiochip4: Persistence not supported for GPIO 1
    [    4.050148] input: gpio_keys as /devices/platform/gpio_keys/input/input2
    [    4.057353] rtc-ds1307 2-006f: read: 80 00 00 29 01 01 01
    [    4.057360] rtc-ds1307 2-006f: read secs=0, mins=0, hours=0, mday=1, mon=0, year=101, wday=0
    [    4.057380] rtc-ds1307 2-006f: setting system clock to 2001-01-01 00:00:00 UTC (978307200)
    [    4.066258] ALSA device list:
    [    4.069253]   #0: BeagleBoard-X15
    [    4.258045] EXT4-fs (mmcblk1p2): 1 orphan inode deleted
    [    4.263334] EXT4-fs (mmcblk1p2): recovery complete
    [    4.273834] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
    [    4.282012] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [    4.289992] devtmpfs: mounted
    [    4.293863] Freeing unused kernel memory: 2048K
    [    4.298510] Run /sbin/init as init process
    [    4.422249] systemd[1]: System time before build time, advancing clock.
    [    4.440291] systemd[1]: systemd 239 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -ID)
    [    4.462202] systemd[1]: Detected architecture arm.
    [    4.499415] systemd[1]: Set hostname to <am57xx-evm>.
    [    4.605707] systemd[1]: File /lib/systemd/system/systemd-journald.service:36 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
    [    4.622856] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
    [    4.808207] systemd[1]: Listening on Process Core Dump Socket.
    [    4.839976] systemd[1]: Listening on Network Service Netlink Socket.
    [    4.879305] systemd[1]: Listening on Journal Socket (/dev/log).
    [    4.909803] systemd[1]: Listening on Journal Socket.
    [    4.943795] systemd[1]: Mounting POSIX Message Queue File System...
    [    5.199270] cmemk: loading out-of-tree module taints kernel.
    [    5.206138] CMEMK module: reference Linux version 4.19.94
    [    5.217227] allocated heap buffer 0x40500000 of size 0x100000
    [    5.223275] cmemk initialized
    [    5.234197] cryptodev: driver 1.9 loaded.
    [    5.279755] usbcore: registered new interface driver usbfs
    [    5.290070] usbcore: registered new interface driver hub
    [    5.295464] usbcore: registered new device driver usb
    [    5.307308] usbcore: registered new interface driver ftdi_sio
    [    5.313172] usbserial: USB Serial support registered for FTDI USB Serial Device
    [    5.612542] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
    [    6.016794] systemd-journald[114]: Received request to flush runtime journal from PID 1
    [    6.403367] omap-rproc 58820000.ipu: ignoring dependency for device, assuming no driver
    [    6.422065] omap-rproc 58820000.ipu: ignoring dependency for device, assuming no driver
    [    6.458168] omap-rproc 58820000.ipu: assigned reserved memory node ipu1-memory@9d000000
    [    6.480558] remoteproc remoteproc0: 58820000.ipu is available
    [    6.496471] omap-rproc 55020000.ipu: ignoring dependency for device, assuming no driver
    [    6.582940] omap-rproc 55020000.ipu: ignoring dependency for device, assuming no driver
    [    6.608318] remoteproc remoteproc0: powering up 58820000.ipu
    [    6.625540] remoteproc remoteproc0: Booting fw image dra7-ipu1-fw.xem4, size 6887428
    [    6.666059] omap-rproc 55020000.ipu: assigned reserved memory node ipu2-memory@95800000
    [    6.692327] virtio_rpmsg_bus virtio0: rpmsg host is online
    [    6.697872] remoteproc remoteproc0: registered virtio0 (type 7)
    [    6.706164] remoteproc remoteproc1: 55020000.ipu is available
    [    6.759515] omap-rproc 40800000.dsp: ignoring dependency for device, assuming no driver
    [    6.777980] remoteproc remoteproc0: remote processor 58820000.ipu is now up
    [    6.805394] omap-rproc 40800000.dsp: ignoring dependency for device, assuming no driver
    [    6.898597] Error: Driver 'rtc-ds1307' is already registered, aborting...
    [    6.899385] omap-rproc 40800000.dsp: assigned reserved memory node dsp1-memory@99000000
    [    6.915021] remoteproc remoteproc1: powering up 55020000.ipu
    [    6.924232] Driver for 1-wire Dallas network protocol.
    [    6.932085] at24 0-0050: GPIO lookup for consumer wp
    [    6.932144] at24 0-0050: using device tree for GPIO lookup
    [    6.932159] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/i2c@48070000/eeprom@50[0]'
    [    6.932171] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/i2c@48070000/eeprom@50[0]'
    [    6.932179] at24 0-0050: using lookup tables for GPIO lookup
    [    6.932186] at24 0-0050: No GPIO consumer wp found
    [    6.932495] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
    [    6.941369] ov5640 2-003c: GPIO lookup for consumer powerdown
    [    6.941376] ov5640 2-003c: using device tree for GPIO lookup
    [    6.941399] of_get_named_gpiod_flags: parsed 'powerdown-gpios' property of node '/ocp/i2c@48060000/ov5640@3c[0]' - status (0)
    [    6.941413] gpio gpiochip4: Persistence not supported for GPIO 17
    [    6.941421] ov5640 2-003c: GPIO lookup for consumer reset
    [    6.941426] ov5640 2-003c: using device tree for GPIO lookup
    [    6.941437] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/i2c@48060000/ov5640@3c[0]'
    [    6.941448] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp/i2c@48060000/ov5640@3c[0]'
    [    6.941454] ov5640 2-003c: using lookup tables for GPIO lookup
    [    6.941459] ov5640 2-003c: No GPIO consumer reset found
    [    6.941496] ov5640 2-003c: 2-003c supply DOVDD not found, using dummy regulator
    [    6.957100] remoteproc remoteproc1: Booting fw image dra7-ipu2-fw.xem4, size 3747220
    [    6.970858] ov5640 2-003c: Linked as a consumer to regulator.0
    [    6.973334] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1
    [    6.990774] Error: Driver 'palmas-rtc' is already registered, aborting...
    [    7.007580] remoteproc remoteproc2: 40800000.dsp is available
    [    7.007608] palmas-usb 48070000.i2c:tps659038@58:tps659038_usb: GPIO lookup for consumer id
    [    7.017398] omap-des 480a5000.des: OMAP DES hw accel rev: 2.2
    [    7.023237] palmas-usb 48070000.i2c:tps659038@58:tps659038_usb: using device tree for GPIO lookup
    [    7.023252] of_get_named_gpiod_flags: can't parse 'id-gpios' property of node '/ocp/i2c@48070000/tps659038@58/tps659038_usb[0]'
    [    7.023262] of_get_named_gpiod_flags: can't parse 'id-gpio' property of node '/ocp/i2c@48070000/tps659038@58/tps659038_usb[0]'
    [    7.023269] palmas-usb 48070000.i2c:tps659038@58:tps659038_usb: using lookup tables for GPIO lookup
    [    7.023276] palmas-usb 48070000.i2c:tps659038@58:tps659038_usb: No GPIO consumer id found
    [    7.023283] palmas-usb 48070000.i2c:tps659038@58:tps659038_usb: GPIO lookup for consumer vbus
    [    7.023288] palmas-usb 48070000.i2c:tps659038@58:tps659038_usb: using device tree for GPIO lookup
    [    7.023299] of_get_named_gpiod_flags: can't parse 'vbus-gpios' property of node '/ocp/i2c@48070000/tps659038@58/tps659038_usb[0]'
    [    7.023318] of_get_named_gpiod_flags: parsed 'vbus-gpio' property of node '/ocp/i2c@48070000/tps659038@58/tps659038_usb[0]' - status (0)
    [    7.023358] gpio gpiochip3: Persistence not supported for GPIO 21
    [    7.023530] ov5640 2-003c: 2-003c supply DVDD not found, using dummy regulator
    [    7.031320] omap-rproc 41000000.dsp: ignoring dependency for device, assuming no driver
    [    7.055429] omap-des 480a5000.des: will run requests pump with realtime priority
    [    7.061470] omap-rproc 41000000.dsp: ignoring dependency for device, assuming no driver
    [    7.078925] omap_hdq 480b2000.1w: OMAP HDQ Hardware Rev 0.:. Driver in Interrupt mode
    [    7.088505] Error: Driver 'rtc-ds1307' is already registered, aborting...
    [    7.104961] omap-rproc 41000000.dsp: assigned reserved memory node dsp2-memory@9f000000
    [    7.105473] ov5640 2-003c: 2-003c supply AVDD not found, using dummy regulator
    [    7.146658] remoteproc remoteproc3: 41000000.dsp is available
    [    7.179874] Error: Driver 'palmas-rtc' is already registered, aborting...
    [    7.225656] ov5640 2-003c: ov5640_read_reg: error: reg=300a
    [    7.256799] virtio_rpmsg_bus virtio1: rpmsg host is online
    [    7.281285] ov5640 2-003c: ov5640_check_chip_id: failed to read chip identifier
    [    7.296281] remoteproc remoteproc1: registered virtio1 (type 7)
    [    7.305912] remoteproc remoteproc1: remote processor 55020000.ipu is now up
    [    7.316999] virtio_rpmsg_bus virtio1: creating channel rpmsg-rpc addr 0x65
    [    7.326596] virtio_rpmsg_bus virtio1: creating channel rpmsg-rpc addr 0x66
    [    7.351292] w1_master_driver w1_bus_master1: Attaching one wire slave 01.000000000000 crc 3d
    [    7.360078] ov5640: probe of 2-003c failed with error -121
    [    7.375080] w1_master_driver w1_bus_master1: Family 1 for 01.000000000000.3d is not registered.
    [    7.396837] omap_rtc 48838000.rtc: char device (252:2)
    [    7.396850] omap_rtc 48838000.rtc: registered as rtc2
    [    7.516385] phy phy-4a084000.phy.3: Linked as a consumer to regulator.23
    [    7.542803] phy phy-4a085000.phy.4: Linked as a consumer to regulator.23
    [    7.558043] remoteproc remoteproc2: powering up 40800000.dsp
    [    7.564080] remoteproc remoteproc2: Booting fw image dra7-dsp1-fw.xe66, size 20482288
    [    7.578191] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0
    [    7.584166] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0
    [    7.613672] vpe 489d0000.vpe: loading firmware vpdma-1b8.bin
    [    7.642876] virtio_rpmsg_bus virtio2: rpmsg host is online
    [    7.659398] remoteproc remoteproc2: registered virtio2 (type 7)
    [    7.665628] remoteproc remoteproc2: remote processor 40800000.dsp is now up
    [    7.679798] vpe 489d0000.vpe: Device registered as /dev/video0
    [    7.727066] remoteproc remoteproc3: powering up 41000000.dsp
    [    7.729721] virtio_rpmsg_bus virtio2: creating channel rpmsg-proto addr 0x3d
    [    7.732904] remoteproc remoteproc3: Booting fw image dra7-dsp2-fw.xe66, size 20482288
    [    7.766229] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [    7.775878] libata version 3.00 loaded.
    [    7.789495] ahci 4a140000.sata: controller can't do 64bit DMA, forcing 32bit
    [    7.796580] ahci 4a140000.sata: forcing port_map 0x0 -> 0x1
    [    7.810471] omap-sham 4b101000.sham: hw accel on OMAP rev 4.3
    [    7.821201] vip 48990000.vip: loading firmware vpdma-1b8.bin
    [    7.839268] omap-aes 4b500000.aes: OMAP AES hw accel rev: 3.3
    [    7.889085] omap-aes 4b500000.aes: will run requests pump with realtime priority
    [    7.890291] ahci 4a140000.sata: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl platform mode
    [    7.907659] ahci 4a140000.sata: flags: ncq sntf pm led clo only pmp pio slum part ccc apst 
    [    7.924892] omap-iommu 41501000.mmu: 41501000.mmu: version 3.0
    [    7.930860] omap-iommu 41502000.mmu: 41502000.mmu: version 3.0
    [    7.975648] net eth0: initializing cpsw version 1.15 (0)
    [    7.988942] vip 48990000.vip: VPDMA firmware loaded
    [    7.994034] omap-aes 4b700000.aes: OMAP AES hw accel rev: 3.3
    [    8.014700] scsi host0: ahci
    [    8.026156] ata1: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a1410ff] port 0x100 irq 84
    [    8.034839] [drm] Initialized pvr 1.17.4948957 20110701 for 56000000.gpu on minor 1
    [    8.046351] virtio_rpmsg_bus virtio3: rpmsg host is online
    [    8.047827] virtio_rpmsg_bus virtio3: creating channel rpmsg-proto addr 0x3d
    [    8.053117] remoteproc remoteproc3: registered virtio3 (type 7)
    [    8.067653] omap-aes 4b700000.aes: will run requests pump with realtime priority
    [    8.173585] remoteproc remoteproc3: remote processor 41000000.dsp is now up
    [    8.221498] Microsemi GE VSC8502 SyncE 48485000.mdio:00: attached PHY driver [Microsemi GE VSC8502 SyncE] (mii_bus:phy_addr=48485000.mdio:00, irq=POLL)
    [    8.270477] PVR_K: UM DDK-(4948957) and KM DDK-(4948957) match. [ OK ]
    [    8.360654] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [    8.389830] snd_soc_simple_card_utils: exports duplicate symbol asoc_simple_card_canonicalize_cpu (owned by kernel)
    [    8.439742] ata1: SATA link down (SStatus 0 SControl 300)
    [    8.474739] net eth1: initializing cpsw version 1.15 (0)
    [    8.526695] snd_soc_simple_card_utils: exports duplicate symbol asoc_simple_card_canonicalize_cpu (owned by kernel)
    [    8.733389] Microsemi GE VSC8502 SyncE 48485000.mdio:01: attached PHY driver [Microsemi GE VSC8502 SyncE] (mii_bus:phy_addr=48485000.mdio:01, irq=POLL)
    [    8.802873] val=58, val2=58
    [    8.819148] 
                   Setting Default Audio Device to Handset
    [    8.842139] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
    [    9.801556] dwc3 48890000.usb: Failed to get clk 'ref': -2
    [    9.832326] rpmsg_rpc virtio1.rpmsg-rpc.-1.101: probing service dce-callback with src 1024 dst 101
    [    9.843699] dwc3 488d0000.usb: Failed to get clk 'ref': -2
    [    9.863325] rpmsg_rpc virtio1.rpmsg-rpc.-1.102: probing service rpmsg-dce with src 1025 dst 102
    [    9.863645] rpmsg_rpc virtio1.rpmsg-rpc.-1.101: published functions = 4
    [    9.892447] rpmsg_rpc virtio1.rpmsg-rpc.-1.102: published functions = 9
    [    9.905331] NET: Registered protocol family 45
    [    9.988286] remoteproc remoteproc4: 4b234000.pru is available
    [   10.024076] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    [   10.030447] pru-rproc 4b234000.pru: PRU rproc node pru@4b234000 probed successfully
    [   10.054320] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
    [   10.055982] remoteproc remoteproc5: 4b238000.pru is available
    [   10.071171] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x0000000002010010
    [   10.076363] pru-rproc 4b238000.pru: PRU rproc node pru@4b238000 probed successfully
    [   10.089328] xhci-hcd xhci-hcd.0.auto: irq 189, io mem 0x48890000
    [   10.096472] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
    [   10.105919] remoteproc remoteproc6: 4b2b4000.pru is available
    [   10.112331] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [   10.121132] pru-rproc 4b2b4000.pru: PRU rproc node pru@4b2b4000 probed successfully
    [   10.129169] usb usb1: Product: xHCI Host Controller
    [   10.134465] remoteproc remoteproc7: 4b2b8000.pru is available
    [   10.141076] usb usb1: Manufacturer: Linux 4.19.94-gbe5389fd85 xhci-hcd
    [   10.147636] usb usb1: SerialNumber: xhci-hcd.0.auto
    [   10.152693] pru-rproc 4b2b8000.pru: PRU rproc node pru@4b2b8000 probed successfully
    [   10.163080] hub 1-0:1.0: USB hub found
    [   10.173081] hub 1-0:1.0: 1 port detected
    [   10.177620] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    [   10.183660] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
    [   10.191420] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
    [   10.209839] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    [   10.218500] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.19
    [   10.228622] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [   10.235962] usb usb2: Product: xHCI Host Controller
    [   10.241409] usb usb2: Manufacturer: Linux 4.19.94-gbe5389fd85 xhci-hcd
    [   10.247964] usb usb2: SerialNumber: xhci-hcd.0.auto
    [   10.256515] hub 2-0:1.0: USB hub found
    [   10.261229] hub 2-0:1.0: 1 port detected
    [   10.406719] cpsw 48484000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off
    [   10.417214] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [   10.548930] usb 1-1: new high-speed USB device number 2 using xhci-hcd
    [   10.698978] usb 1-1: device descriptor read/64, error -71
    [   10.969082] usb 1-1: device descriptor read/64, error -71
    [   11.238931] usb 1-1: new high-speed USB device number 3 using xhci-hcd
    [   11.408965] usb 1-1: device descriptor read/64, error -71
    [   11.688965] usb 1-1: device descriptor read/64, error -71
    [   11.809060] usb usb1-port1: attempt power cycle
    [   12.518924] usb 1-1: new high-speed USB device number 4 using xhci-hcd
    [   12.525632] usb 1-1: Device not responding to setup address.
    [   12.748962] usb 1-1: Device not responding to setup address.
    [   12.968903] usb 1-1: device not accepting address 4, error -71
    [   13.118930] usb 1-1: new high-speed USB device number 5 using xhci-hcd
    [   13.125633] usb 1-1: Device not responding to setup address.
    [   13.257609] val=58, val2=58
    [   13.258111] 
                   Setting Default Audio Device to Handset
    [   13.349001] usb 1-1: Device not responding to setup address.
    [   13.499770] rtc-ds1307 2-006f: write secs=7, mins=45, hours=10, mday=7, mon=11, year=121, wday=2
    [   13.499779] rtc-ds1307 2-006f: write: 87 45 10 0b 07 12 21
    [   13.501265] rtc-ds1307 2-006f: read: 87 45 10 2b 07 12 21
    [   13.501274] rtc-ds1307 2-006f: read secs=7, mins=45, hours=10, mday=7, mon=11, year=121, wday=2
    [   13.588970] usb 1-1: device not accepting address 5, error -71
    [   13.595209] usb usb1-port1: unable to enumerate USB device
    [   14.216679] gpio gpiochip2: Persistence not supported for GPIO 1
    [   34.398948] aic_dvdd_fixed: disabling
    [  268.638915] omap-mailbox 48840000.mailbox: Try increasing MBOX_TX_QUEUE_LEN
    [  268.646061] omap-rproc 58820000.ipu: PM mbox_send_message failed: -105
    
    

  • Hi Vishal,

    For LAD daemon, you can check ps -aux | grep lad.

    Thank you for the log. IPU1 does not look alright, I do not see any rpmsg devices published from IPU1 and I see some error messages later on as well. We should be seeing a rpmsg-proto device published from IPU1 as well.

    [ 268.638915] omap-mailbox 48840000.mailbox: Try increasing MBOX_TX_QUEUE_LEN
    [ 268.646061] omap-rproc 58820000.ipu: PM mbox_send_message failed: -105

    These traces are usually a result of IPU firmware not responding to device suspend requests.

    I am assuming you are running the same firmwares from TI SDK (the firmware sizes seem to match).

    Please provide the following:

    1. md5sum of  /lib/firmware/dra7-ipu1-fw.xem4.opencl-monitor/lib/firmware/dra7-dsp1-fw.xe66.opencl-monitor,  /lib/firmware/dra7-dsp2-fw.xe66.opencl-monitor and /lib/firmware/dra7-ipu2-fw.xem4.ipumm-fw

    2. Output of ls -l /proc/device-tree/ocp/ipu* and ls -l /proc/device-tree/ocp/dsp*

    3. What bootloader version are you using? Are you doing early-boot of any remoteproc? 

    FYI, I am not able to reproduce the issue on my AM572x EVM.

    regards

    Suman

  • Hi ,

    Today I ran vecadd. It ran successfully. I don't the reason behind it. I didn't change anything from my side.

    root@am57xx-evm:/mnt# ./vecadd
    DEVICE: TI Multicore C66 DSP

    Offloading vector addition of 8192K elements...

    Kernel Exec : Queue to Submit: 7 us
    Kernel Exec : Submit to Start : 144 us
    Kernel Exec : Start to End : 25598 us

    Success!

    The there is this "simple" application which gives an error as shown below:-

    root@am57xx-evm:/mnt# ./simple  

    ERROR: clCreateKernel(-46, Invalid kernel name)

    Similary there are some other applications which work and some other that don't. You could try the same at your EVM.

    Now, since I am able to use DSP via vecadd application. I would again like to ask my previous question as below:-

    How to implement an application (which uses opencl or any other way)on A15 core(arm linux)  which can offload ECU(Echo Cancellation) on DSP and give back the processed packet?

    I haven't found any tutorials which can send RTP packets to DSP, do the echo cancellation processing and return the packet to my A15. Pleas help!!


    Regards!