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.

IPC kernel modules not building while rebuilding Linux kernel

Hello,

I am trying to achieve communication between ARM and DSP using IPC_3_36_02_13. I followed the steps given in the IPC_Linux_Install_Guide.pdf, but ran into an error while executing ARM side. The lad log prints when running messageq_single on DSP side and MessageQAPP on ARM side is given below:

root@keystone-evm:/lib# cat /var/tmp/LAD/lad.txt
[0.035140]
Initializing LAD... [0.035530]
opening FIFO: /tmp/LAD/LADCMDS
[26.874158] Retrieving command...
[26.874403]
LAD_CONNECT:
[26.874426] client FIFO name = /tmp/LAD/1936
[26.874439] client PID = 1936
[26.874457] assigned client handle = 0
[26.874551] FIFO /tmp/LAD/1936 created
[26.874684] FIFO /tmp/LAD/1936 opened for writing
[26.874741] sent response
[26.874755] DONE
[26.874765] Retrieving command...
[26.874817] Sending response...
[26.874852] Retrieving command...
[26.874904] LAD_MULTIPROC_GETCONFIG: calling MultiProc_getConfig()...
[26.874926] MultiProc_getConfig() - 9 procs
[26.874938] # processors in cluster: 9
[26.874949] cluster baseId: 0
[26.874959] ProcId 0 - "HOST"
[26.874970] ProcId 1 - "CORE0"
[26.874979] ProcId 2 - "CORE1"
[26.874989] ProcId 3 - "CORE2"
[26.874999] ProcId 4 - "CORE3"
[26.875008] ProcId 5 - "CORE4"
[26.875017] ProcId 6 - "CORE5"
[26.875026] ProcId 7 - "CORE6"
[26.875036] ProcId 8 - "CORE7"
[26.875045] status = 0
[26.875055] DONE
[26.875064] Sending response...
[26.875084] Retrieving command...
[26.875134] LAD_NAMESERVER_SETUP: calling NameServer_setup()...
[26.875167] NameServer_setup: entered, refCount=0
[26.875219] NameServer_setup: creating listener thread
[26.875392] NameServer_setup: exiting, refCount=1
[26.875433] status = 0
[26.875453] DONE
[26.875470] Sending response...
[26.875464] listener_cb: Entered Listener thread.
[26.875507] Retrieving command...
[26.875539] NameServer: waiting for unblockFd: 2, and socks: maxfd: 2
[26.875544] LAD_MESSAGEQ_GETCONFIG: calling MessageQ_getConfig()...
[26.875592] status = 0
[26.875603] DONE
[26.875613] Sending response...
[26.875634] Retrieving command...
[26.875672] LAD_MESSAGEQ_SETUP: calling MessageQ_setup()...
[26.875686] MessageQ_setup: entered, refCount=0
[26.875699] NameServer_create(): 'MessageQ'
[26.875738] MessageQ_setup: exiting, refCount=1
[26.875751] status = 0
[26.875761] DONE
[26.875771] Sending response...
[26.875792] Retrieving command...
[26.876032] NameServer_attach: created send socket: 5, procId 1
[26.881358] NameServer_attach: connect failed: procId=1, errno=22 (Invalid argument)
[26.881451] closing send socket: 5
[26.881482] Sending response...
[26.881507] Retrieving command...
[26.881563] NameServer_attach: created send socket: 5, procId 2
[26.886807] NameServer_attach: connect failed: procId=2, errno=22 (Invalid argument)
[26.886829] closing send socket: 5
[26.886855] Sending response...
[26.886879] Retrieving command...
[26.886926] NameServer_attach: created send socket: 5, procId 3
[26.892204] NameServer_attach: connect failed: procId=3, errno=22 (Invalid argument)
[26.892228] closing send socket: 5
[26.892253] Sending response...
[26.892277] Retrieving command...
[26.892330] NameServer_attach: created send socket: 5, procId 4
[26.897571] NameServer_attach: connect failed: procId=4, errno=22 (Invalid argument)
[26.897592] closing send socket: 5
[26.897616] Sending response...
[26.897640] Retrieving command...
[26.897687] NameServer_attach: created send socket: 5, procId 5
[26.902960] NameServer_attach: connect failed: procId=5, errno=22 (Invalid argument)
[26.902984] closing send socket: 5
[26.903009] Sending response...
[26.903033] Retrieving command...
[26.903084] NameServer_attach: created send socket: 5, procId 6
[26.908346] NameServer_attach: connect failed: procId=6, errno=22 (Invalid argument)
[26.908370] closing send socket: 5
[26.908396] Sending response...
[26.908419] Retrieving command...
[26.908528] NameServer_attach: created send socket: 5, procId 7
[26.913766] NameServer_attach: connect failed: procId=7, errno=22 (Invalid argument)
[26.913786] closing send socket: 5
[26.913810] Sending response...
[26.913834] Retrieving command...
[26.913880] NameServer_attach: created send socket: 5, procId 8
[26.919144] NameServer_attach: connect failed: procId=8, errno=22 (Invalid argument)
[26.919168] closing send socket: 5
[26.919193] Sending response...
[26.919218] Retrieving command...
[26.919537] LAD_MESSAGEQ_CREATE: calling MessageQ_create(0x117c8, 0x117e8)...
[26.919566] MessageQ_create: creating 'HOST'
[26.919587] NameServer_add: Entered key: 'HOST', data: 0x80
[26.919602] MessageQ_create: returning obj=0x125d0, qid=0x80
[26.919614] status = 0
[26.919625] DONE
[26.919635] Sending response...
[26.919655] Retrieving command...
[26.919752] LAD_NAMESERVER_GETUINT32: calling NameServer_getUInt32(0x124e8, 'SLAVE_CORE0')...
[26.919773] NameServer_getLocal: entry key: 'SLAVE_CORE0' not found!
[26.919787] NameServer_getRemote: no socket connection to processor 1
[26.919800] NameServer_getRemote: no socket connection to processor 2
[26.919812] NameServer_getRemote: no socket connection to processor 3
[26.919823] NameServer_getRemote: no socket connection to processor 4
[26.919834] NameServer_getRemote: no socket connection to processor 5
[26.919846] NameServer_getRemote: no socket connection to processor 6
[26.919857] NameServer_getRemote: no socket connection to processor 7
[26.919868] NameServer_getRemote: no socket connection to processor 8
[26.919879] value = 0x80
[26.919890] status = -5
[26.919901] DONE
[26.919911] Sending response...
[26.919932] Retrieving command...
[27.920052] LAD_NAMESERVER_GETUINT32: calling NameServer_getUInt32(0x124e8, 'SLAVE_CORE0')...
[27.920073] NameServer_getLocal: entry key: 'SLAVE_CORE0' not found!
[27.920086] NameServer_getRemote: no socket connection to processor 1
[27.920098] NameServer_getRemote: no socket connection to processor 2
[27.920109] NameServer_getRemote: no socket connection to processor 3
[27.920121] NameServer_getRemote: no socket connection to processor 4
[27.920132] NameServer_getRemote: no socket connection to processor 5
[27.920144] NameServer_getRemote: no socket connection to processor 6
[27.920155] NameServer_getRemote: no socket connection to processor 7
[27.920166] NameServer_getRemote: no socket connection to processor 8
[27.920177] value = 0x80
[27.920188] status = -5
[27.920198] DONE
[27.920208] Sending response...
[27.920230] Retrieving command...
[28.920341] LAD_NAMESERVER_GETUINT32: calling NameServer_getUInt32(0x124e8, 'SLAVE_CORE0')...
[28.920361] NameServer_getLocal: entry key: 'SLAVE_CORE0' not found!
[28.920373] NameServer_getRemote: no socket connection to processor 1
[28.920385] NameServer_getRemote: no socket connection to processor 2
[28.920397] NameServer_getRemote: no socket connection to processor 3
[28.920408] NameServer_getRemote: no socket connection to processor 4
[28.920419] NameServer_getRemote: no socket connection to processor 5
[28.920430] NameServer_getRemote: no socket connection to processor 6
[28.920441] NameServer_getRemote: no socket connection to processor 7
[28.920452] NameServer_getRemote: no socket connection to processor 8
[28.920463] value = 0x80
[28.920474] status = -5
[28.920485] DONE
[28.920494] Sending response...
[28.920516] Retrieving command...
[29.920626] LAD_NAMESERVER_GETUINT32: calling NameServer_getUInt32(0x124e8, 'SLAVE_CORE0')...
[29.920645] NameServer_getLocal: entry key: 'SLAVE_CORE0' not found!
[29.920658] NameServer_getRemote: no socket connection to processor 1
[29.920670] NameServer_getRemote: no socket connection to processor 2
[29.920681] NameServer_getRemote: no socket connection to processor 3
[29.920692] NameServer_getRemote: no socket connection to processor 4
[29.920703] NameServer_getRemote: no socket connection to processor 5
[29.920714] NameServer_getRemote: no socket connection to processor 6
[29.920725] NameServer_getRemote: no socket connection to processor 7
[29.920736] NameServer_getRemote: no socket connection to processor 8
[29.920747] value = 0x80
[29.920757] status = -5
[29.920768] DONE
[29.920778] Sending response...
[29.920799] Retrieving command...
[30.920908] LAD_NAMESERVER_GETUINT32: calling NameServer_getUInt32(0x124e8, 'SLAVE_CORE0')...
[30.920927] NameServer_getLocal: entry key: 'SLAVE_CORE0' not found!
[30.920940] NameServer_getRemote: no socket connection to processor 1
[30.920952] NameServer_getRemote: no socket connection to processor 2
[30.920963] NameServer_getRemote: no socket connection to processor 3
[30.920984] NameServer_getRemote: no socket connection to processor 4
[30.920996] NameServer_getRemote: no socket connection to processor 5
[30.921007] NameServer_getRemote: no socket connection to processor 6
[30.921019] NameServer_getRemote: no socket connection to processor 7
[30.921029] NameServer_getRemote: no socket connection to processor 8
[30.921041] value = 0x80
[30.921051] status = -5
[30.921062] DONE
[30.921071] Sending response...
[30.921094] Retrieving command...
[31.921203] LAD_NAMESERVER_GETUINT32: calling NameServer_getUInt32(0x124e8, 'SLAVE_CORE0')...
[31.921223] NameServer_getLocal: entry key: 'SLAVE_CORE0' not found!
[31.921236] NameServer_getRemote: no socket connection to processor 1
[31.921247] NameServer_getRemote: no socket connection to processor 2
[31.921258] NameServer_getRemote: no socket connection to processor 3
[31.921269] NameServer_getRemote: no socket connection to processor 4
[31.921280] NameServer_getRemote: no socket connection to processor 5
[31.921291] NameServer_getRemote: no socket connection to processor 6
[31.921302] NameServer_getRemote: no socket connection to processor 7
[31.921313] NameServer_getRemote: no socket connection to processor 8
[31.921324] value = 0x80
[31.921334] status = -5
[31.921345] DONE
[31.921354] Sending response...
[31.921376] Retrieving command...
[32.921484] LAD_NAMESERVER_GETUINT32: calling NameServer_getUInt32(0x124e8, 'SLAVE_CORE0')...
[32.921503] NameServer_getLocal: entry key: 'SLAVE_CORE0' not found!
[32.921516] NameServer_getRemote: no socket connection to processor 1
[32.921528] NameServer_getRemote: no socket connection to processor 2
[32.921539] NameServer_getRemote: no socket connection to processor 3
[32.921551] NameServer_getRemote: no socket connection to processor 4
[32.921562] NameServer_getRemote: no socket connection to processor 5
[32.921573] NameServer_getRemote: no socket connection to processor 6
[32.921584] NameServer_getRemote: no socket connection to processor 7
[32.921595] NameServer_getRemote: no socket connection to processor 8
[32.921606] value = 0x80
[32.921617] status = -5
[32.921627] DONE
[32.921637] Sending response...
[32.921659] Retrieving command...
[33.921767] LAD_NAMESERVER_GETUINT32: calling NameServer_getUInt32(0x124e8, 'SLAVE_CORE0')...
[33.921787] NameServer_getLocal: entry key: 'SLAVE_CORE0' not found!
[33.921799] NameServer_getRemote: no socket connection to processor 1
[33.921812] NameServer_getRemote: no socket connection to processor 2
[33.921823] NameServer_getRemote: no socket connection to processor 3
[33.921834] NameServer_getRemote: no socket connection to processor 4
[33.921845] NameServer_getRemote: no socket connection to processor 5
[33.921855] NameServer_getRemote: no socket connection to processor 6
[33.921866] NameServer_getRemote: no socket connection to processor 7
[33.921877] NameServer_getRemote: no socket connection to processor 8
[33.921888] value = 0x80
[33.921899] status = -5
[33.921910] DONE
[33.921920] Sending response...
[33.921941] Retrieving command...
[34.922051] LAD_NAMESERVER_GETUINT32: calling NameServer_getUInt32(0x124e8, 'SLAVE_CORE0')...
[34.922070] NameServer_getLocal: entry key: 'SLAVE_CORE0' not found!
[34.922083] NameServer_getRemote: no socket connection to processor 1
[34.922094] NameServer_getRemote: no socket connection to processor 2
[34.922106] NameServer_getRemote: no socket connection to processor 3
[34.922117] NameServer_getRemote: no socket connection to processor 4
[34.922128] NameServer_getRemote: no socket connection to processor 5
[34.922139] NameServer_getRemote: no socket connection to processor 6
[34.922150] NameServer_getRemote: no socket connection to processor 7
[34.922161] NameServer_getRemote: no socket connection to processor 8
[34.922172] value = 0x80
[34.922183] status = -5
[34.922193] DONE
[34.922203] Sending response...
[34.922225] Retrieving command...
[35.922333] LAD_NAMESERVER_GETUINT32: calling NameServer_getUInt32(0x124e8, 'SLAVE_CORE0')...
[35.922352] NameServer_getLocal: entry key: 'SLAVE_CORE0' not found!
[35.922374] NameServer_getRemote: no socket connection to processor 1
[35.922386] NameServer_getRemote: no socket connection to processor 2
[35.922397] NameServer_getRemote: no socket connection to processor 3
[35.922408] NameServer_getRemote: no socket connection to processor 4
[35.922419] NameServer_getRemote: no socket connection to processor 5
[35.922430] NameServer_getRemote: no socket connection to processor 6
[35.922441] NameServer_getRemote: no socket connection to processor 7
[35.922452] NameServer_getRemote: no socket connection to processor 8
[35.922463] value = 0x80
[35.922473] status = -5
[35.922484] DONE
[35.922493] Sending response...
[35.922515] Retrieving command...
[36.922624] LAD_NAMESERVER_GETUINT32: calling NameServer_getUInt32(0x124e8, 'SLAVE_CORE0')...
[36.922643] NameServer_getLocal: entry key: 'SLAVE_CORE0' not found!
[36.922656] NameServer_getRemote: no socket connection to processor 1
[36.922667] NameServer_getRemote: no socket connection to processor 2
[36.922678] NameServer_getRemote: no socket connection to processor 3
[36.922690] NameServer_getRemote: no socket connection to processor 4
[36.922701] NameServer_getRemote: no socket connection to processor 5
[36.922712] NameServer_getRemote: no socket connection to processor 6
[36.922723] NameServer_getRemote: no socket connection to processor 7
[36.922734] NameServer_getRemote: no socket connection to processor 8
[36.922745] value = 0x80
[36.922755] status = -5
[36.922766] DONE
[36.922776] Sending response...
[36.922798] Retrieving command...
[37.922906] LAD_NAMESERVER_GETUINT32: calling NameServer_getUInt32(0x124e8, 'SLAVE_CORE0')...
[37.922925] NameServer_getLocal: entry key: 'SLAVE_CORE0' not found!
[37.922937] NameServer_getRemote: no socket connection to processor 1
[37.922949] NameServer_getRemote: no socket connection to processor 2
[37.922960] NameServer_getRemote: no socket connection to processor 3
[37.922971] NameServer_getRemote: no socket connection to processor 4
[37.922982] NameServer_getRemote: no socket connection to processor 5
[37.922993] NameServer_getRemote: no socket connection to processor 6
[37.923004] NameServer_getRemote: no socket connection to processor 7
[37.923014] NameServer_getRemote: no socket connection to processor 8
[37.923026] value = 0x80
[37.923037] status = -5
[37.923047] DONE
[37.923057] Sending response...
[37.923080] Retrieving command...
[38.360955] LAD_MESSAGEQ_DESTROY: calling MessageQ_destroy()...
[38.360972] MessageQ_destroy: entered, refCount=1
[38.360984] MessageQ_delete: deleting 0x125d0
[38.361004] MessageQ_delete: returning 0
[38.361023] MessageQ_destroy: exiting, refCount=0
[38.361036] status = 0
[38.361046] DONE
[38.361056] Sending response...
[38.361078] Retrieving command...
[38.361119] LAD_NAMESERVER_DESTROY: calling NameServer_destroy()...
[38.361134] NameServer_destroy: entered, refCount=1
[38.361145] NameServer_destroy: shutdown listener...
[38.361169] NameServer_destroy: joining listener thread...
[38.361183] NameServer: back from select()
[38.361211] NameServer: listener thread, event: SHUTDOWN
[38.361309] NameServer_destroy: exiting, refCount=0
[38.361327] status = 0
[38.361338] DONE
[38.361348] Sending response...
[38.361369] Retrieving command...
[38.361412]
LAD_DISCONNECT: [38.361425]
client handle = 0[38.361437]
closing FIFO /tmp/LAD/1936 (filePtr=0x122e8)
[38.361514] done, unlinking /tmp/LAD/1936
[38.361578] DONE
[38.361593] Retrieving command...
[38.361993] EOF detected on FIFO, closing FIFO: /tmp/LAD/LADCMDS
[38.362049]
opening FIFO: /tmp/LAD/LADCMDS

With some debug prints while building Linux kernel, I found out that certain kernel modules are not built such as  remoteproc, virtio_rmpsg_bus, rpmsg_proto etc.

Please can anyone suggest how to generate these modules. I followed all the steps in install guide and added patch (wherever necessary) and did make modules but still it is not building.

I am using TCI6638 board with MCSDK 3_01_04_07 and Linux 3.10 as given in the MCSDK Userguide.

regards,

Vishnu

  • Hi Vishnu,

    Before building kernel, please check whether the remote proc support is enabled.

    Please enable the remote proc driver using "make menuconfig".
    Go to device drivers-->Remote proc drivers--> [*} OMAP remote proc support and enable it.
  • Hello Shankari,

    ----> I will try those changes but while building Linux kernel 3.10.61 for TCI6638 in the MCSDK user guide it is given do make keystone2_defconfig. But in this file there is no CONFIG_REMOTEPROC parameter but CONFIG_REMOTEPROC_USER is present. When I change this to m from y, we can see the CONFIG_REMOTEPROC and CONFIG_RPMSG changing to m in .config file. The KO files will be generated with the warning but while loading the modules in ARM we get an error saying

    [ 984.208999] remoteproc: no symbol version for module_layout
    ERROR: could not insert 'remoteproc': Exec format error

    This is same for virtio_rpmsg_bus and rpmsg_proto, I searched for this error but could not find any relevant solution. Please can you suggest how to solve this problem.

    ----> I need to establish the communication between ARM and DSP using IPC, the document that is given says about the install of IPC on Linux but to run the examples the document has methods for Omap. Can you point me to a document or give me steps on how to implement and run examples of IPC on TCI6638 board as the method I am following is not clear and debugging is difficult. The installation guide does not have steps for TCI6638. Please can you give the steps on how to build and load the kernel modules for TCI6638.

    ----> I tried with kernel 3.10.61 first but later I also tried for 3.8 kernel. I could not build the KO files for both. But you have given set the remote proc drivers for omap, does it work for TCI6638?

    regards,

    Vishnu

  • Also if I forcefully build the kernel by enabling those CONFIG params in .config and by bypassing the checks by Makefile, it will build the kernel with those flags enables but the KO will not be built after running make modules.

    And if I change the CONFIG_REMOTREPROC_USER to m in keystone2_defconfig, the corresponding params will be built with the m but when you do make modules it will throw an error as follows:

    ERROR: "__arch_dma_pfn_offset" [drivers/rpmsg/virtio_rpmsg_bus.ko] undefined!
    make[1]: *** [__modpost] Error 1
    make: *** [modules] Error 2

    Can you please suggest how build the  KO modules and the proper steps for TCI6638 so that IPC works. In my previous reply I said once it built and the error it throws due to mismatch of the kernel versions for the build of KO and kernel. Can you please suggest a solution for this problem or an alternate way for getting IPC using messageq working.

    regards,

    Vishnu

  • Dear Vishnu,
    Why do you want to build the IPC remoteproc driver as a module ?
    If you try the pre-built kernel, you could see remoteproc driver initialization in linux boot log.

    Have you tried the pre-built kernel on your board ?

    Can you please attach the boot log ?
  • Hello Titusrathinaraj,

    The pre-built kernel somehow got deleted, we are building the kernel as given in MCSDK user guide. The boot log of the git cloned and built kernel is attached. Yes, I built the remoteproc driver as part of the kernel and tried the IPC example this morning, but I am getting the same error in the lad file as given in the previous post i.e.

    [878.934836] Retrieving command...
    [878.935076] NameServer_attach: created send socket: 5, procId 1
    [878.943082] NameServer_attach: connect failed: procId=1, errno=22 (Invalid argument)
    [878.943174] closing send socket: 5

    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 3.10.61-00009-g80534c6-dirty (root@mymoMW2) (gcc version 4.7.3 20130226 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.6
    [    0.000000] CPU: ARMv7 Processor [412fc0f4] revision 4 (ARMv7), cr=30c7387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    [    0.000000] Machine: KeyStone2, model: Texas Instruments Keystone 2 SoC
    [    0.000000] switching to high address space at 0x800000000
    [    0.000000] cma: CMA: reserved 16 MiB at 1f000000
    [    0.000000] Memory policy: ECC disabled, Data cache writealloc
    [    0.000000] PERCPU: Embedded 8 pages/cpu @c0c1a000 s11840 r8192 d12736 u32768
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
    [    0.000000] Kernel command line: console=ttyS0,115200n8 rootwait=1 earlyprintk rdinit=/sbin/init rw root=/dev/ram0 initrd=0x802000000,9M
    [    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
    [    0.000000] Memory: 512MB = 512MB total
    [    0.000000] Memory: 485664k/485664k available, 38624k reserved, 0K highmem
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    [    0.000000]     vmalloc : 0xe0800000 - 0xff000000   ( 488 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc072fb60   (7327 kB)
    [    0.000000]       .init : 0xc0730000 - 0xc0782e40   ( 332 kB)
    [    0.000000]       .data : 0xc0784000 - 0xc07cbc58   ( 288 kB)
    [    0.000000]        .bss : 0xc07cbc58 - 0xc07fd8fc   ( 200 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    [    0.000000] Hierarchical RCU implementation.
    [    0.000000] NR_IRQS:16 nr_irqs:16 16
    [    0.000000] ipc irq: irqchip registered, range 512-539
    [    0.000000] Main PLL clk (798720000 Hz), parent (122880000 Hz),postdiv = 2, mult = 12, prediv = 0
    [    0.000000] Generic PLL clk (625000000 Hz), parent (125000000 Hz),postdiv = 2, mult = 9, prediv = 0
    [    0.000000] Generic PLL clk (983040000 Hz), parent (122880000 Hz),postdiv = 2, mult = 15, prediv = 0
    [    0.000000] Generic PLL clk (333333333 Hz), parent (100000000 Hz),postdiv = 6, mult = 19, prediv = 0
    [    0.000000] Generic PLL clk (333333333 Hz), parent (100000000 Hz),postdiv = 6, mult = 19, prediv = 0
    [    0.000000] Architected local timer running at 133.12MHz (phys).
    [    0.000000] Switching to timer-based delay loop
    [    0.000000] sched_clock: ARM arch timer >56 bits at 133120kHz, resolution 961/128ns
    [    0.000000] keystone timer clock @133120000 MHz
    [    0.000000] sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 4294967286ms
    [    0.000000] Console: colour dummy device 80x30
    [  291.523929] Calibrating delay loop (skipped), value calculated using timer frequency.. 266.24 BogoMIPS (lpj=1331200)
    [  291.523946] pid_max: default: 4096 minimum: 301
    [  291.524201] Mount-cache hash table entries: 512
    [  291.540671] CPU: Testing write buffer coherency: ok
    [  291.540995] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [  291.541012] psci: probing function IDs from device-tree
    [  291.541033] Setting up static identity map for 0xc050e5e0 - 0xc050e638
    [  291.552631] CPU1: Booted secondary processor
    [  291.552677] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [  291.563769] CPU2: Booted secondary processor
    [  291.563812] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
    [  291.574887] CPU3: Booted secondary processor
    [  291.574935] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
    [  291.575069] Brought up 4 CPUs
    [  291.575102] SMP: Total of 4 processors activated (1064.96 BogoMIPS).
    [  291.575110] CPU: All CPU(s) started in SVC mode.
    [  291.575920] devtmpfs: initialized
    [  291.599884] NET: Registered protocol family 16
    [  291.601585] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [  291.620265] No ATAGs?
    [  291.620295] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [  291.620307] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [  291.639525] bio: create slab <bio-0> at 0
    [  291.640261] keystone-pcie: keystone_pcie_rc_init - start
    [  291.640300] keystone2_pcie_serdes_setup for domain 0
    [  291.642483] keystone2_pcie_serdes_setup done domain 0, en_link_train = 1
    [  291.642536] keystone-pcie: MEM 0x0000000050000000..0x000000005fffffff -> 0x0000000050000000 
    [  291.642553] keystone-pcie: IO 0x0000000023250000..0x0000000023253fff -> 0x0000000000000000
    [  291.642612] keystone-pcie: pcie - number of legacy irqs = 4
    [  291.642697] keystone-pcie: pcie - number of MSI host irqs = 8, msi_irqs = 32
    [  291.743643] keystone-pcie: Doing PCI Setup...Done
    [  291.743654] keystone-pcie: Starting PCI scan, nr 0...
    [  291.743880] PCI host bridge to bus 0000:00
    [  291.743899] pci_bus 0000:00: root bus resource [mem 0x50000000-0x5fffffff]
    [  291.743914] pci_bus 0000:00: root bus resource [io  0x0000-0x3fff]
    [  291.743927] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
    [  291.744001] PCI: bus0: Fast back to back transfers enabled
    [  291.744028] keystone-pcie: Ending PCI scan...
    [  291.744041] keystone-pcie: keystone_pcie_rc_init - end
    [  291.744505] vgaarb: loaded
    [  291.745082] SCSI subsystem initialized
    [  291.746179] usbcore: registered new interface driver usbfs
    [  291.746331] usbcore: registered new interface driver hub
    [  291.746513] usbcore: registered new device driver usb
    [  291.748478] pps_core: LinuxPPS API ver. 1 registered
    [  291.748489] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [  291.748605] PTP clock support registered
    [  291.748829] keystone-hwqueue hwqueue.12: qmgr start queue 0, number of queues 8192
    [  291.748973] keystone-hwqueue hwqueue.12: added qmgr start queue 0, num of queues 8192, reg_peek e0840000, reg_status e0806000, reg_config e0808000, 0
    [  291.748989] keystone-hwqueue hwqueue.12: qmgr start queue 8192, number of queues 8192
    [  291.749121] keystone-hwqueue hwqueue.12: added qmgr start queue 8192, num of queues 8192, reg_peek e0900000, reg_status e080c400, reg_config e080e000
    [  291.750484] keystone-hwqueue hwqueue.12: qos: sched port @8096, drop sched @8000
    [  291.752311] keystone-hwqueue hwqueue.12: qos: sched port @6496, drop sched @6400
    [  291.754137] keystone-hwqueue hwqueue.12: added pool pool-rio: 128 descriptors of size 256
    [  291.754156] keystone-hwqueue hwqueue.12: added pool pool-xge: 1024 descriptors of size 128
    [  291.754172] keystone-hwqueue hwqueue.12: added pool pool-crypto: 1024 descriptors of size 128
    [  291.754189] keystone-hwqueue hwqueue.12: added pool pool-net: 11264 descriptors of size 128
    [  291.754204] keystone-hwqueue hwqueue.12: added pool pool-udma: 1920 descriptors of size 256
    [  291.757749] keystone-hwqueue hwqueue.12: registered queues 0-16383
    [  291.758296] keystone-hwqueue hwqueue.12: qos version 0x2000108, magic valid
    [  291.758871] keystone-hwqueue hwqueue.12: qos version 0x2000108, magic valid
    [  291.771484] keystone-pktdma 2a08000.pktdma: registered 32 logical channels, flows 32, tx chans: 32, rx chans: 32, loopback
    [  291.778298] keystone-pktdma 2004000.pktdma: registered 33 logical channels, flows 32, tx chans: 9, rx chans: 24
    [  291.779261] keystone-pktdma 2fa1000.pktdma: registered 4 logical channels, flows 32, tx chans: 16, rx chans: 16
    [  291.779491] Switching to clocksource arch_sys_counter
    [  291.812839] NET: Registered protocol family 2
    [  291.813684] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
    [  291.813803] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
    [  291.813913] TCP: Hash tables configured (established 4096 bind 4096)
    [  291.813970] TCP: reno registered
    [  291.813985] UDP hash table entries: 256 (order: 1, 8192 bytes)
    [  291.814014] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
    [  291.814331] NET: Registered protocol family 1
    [  291.814612] RPC: Registered named UNIX socket transport module.
    [  291.814623] RPC: Registered udp transport module.
    [  291.814631] RPC: Registered tcp transport module.
    [  291.814639] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [  291.814841] Unpacking initramfs...
    [  292.643809] Initramfs unpacking failed: junk in compressed archive
    [  292.651755] Freeing initrd memory: 9216K (c2000000 - c2900000)
    [  292.652273] hw perfevents: enabled with ARMv7 Cortex-A15 PMU driver, 7 counters available
    [  292.808704] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
    [  292.809033] NTFS driver 2.1.30 [Flags: R/O].
    [  292.809644] jffs2: version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.
    [  292.810169] msgmni has been set to 998
    [  292.811847] NET: Registered protocol family 38
    [  292.812189] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
    [  292.812202] io scheduler noop registered
    [  292.812212] io scheduler deadline registered
    [  292.812430] io scheduler cfq registered (default)
    [  292.815087] keystone-udma udma0.13: registered udma device udma0
    [  292.921260] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
    [  292.924067] 2530c00.serial: ttyS0 at MMIO 0x2530c00 (irq = 309) is a 16550A
    [  293.775834] console [ttyS0] enabled
    [  293.780494] 2531000.serial: ttyS1 at MMIO 0x2531000 (irq = 312) is a 16550A
    [  293.793061] loop: module loaded
    [  293.796425] at24 0-0050: 131072 byte 24c1024 EEPROM, writable, 1 bytes/write
    [  293.805772] Generic platform RAM MTD, (c) 2004 Simtec Electronics
    [  293.813596] ONFI param page 0 valid
    [  293.817070] ONFI flash detected
    [  293.820220] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xac (Micron MT29F4G08ABBDAHC), 512MiB, page size: 2048, OOB size: 64
    [  293.831966] Bad block table found at page 262080, version 0x01
    [  293.838435] Bad block table found at page 262016, version 0x01
    [  293.844572] nand_read_bbt: bad block at 0x000002540000
    [  293.849700] nand_read_bbt: bad block at 0x000002c60000
    [  293.854816] nand_read_bbt: bad block at 0x000002d00000
    [  293.859942] nand_read_bbt: bad block at 0x000003080000
    [  293.865057] nand_read_bbt: bad block at 0x000003580000
    [  293.870184] nand_read_bbt: bad block at 0x000003d00000
    [  293.875300] nand_read_bbt: bad block at 0x0000050a0000
    [  293.880425] nand_read_bbt: bad block at 0x000005440000
    [  293.885541] nand_read_bbt: bad block at 0x000006440000
    [  293.890668] nand_read_bbt: bad block at 0x000006e40000
    [  293.895782] nand_read_bbt: bad block at 0x000007160000
    [  293.900908] nand_read_bbt: bad block at 0x000007300000
    [  293.906028] nand_read_bbt: bad block at 0x00000abc0000
    [  293.911153] nand_read_bbt: bad block at 0x00000adc0000
    [  293.916268] nand_read_bbt: bad block at 0x00000b8c0000
    [  293.921394] nand_read_bbt: bad block at 0x00000b940000
    [  293.926510] nand_read_bbt: bad block at 0x00000c960000
    [  293.931639] nand_read_bbt: bad block at 0x00000f1c0000
    [  293.936759] nand_read_bbt: bad block at 0x000012ae0000
    [  293.941885] nand_read_bbt: bad block at 0x000012b60000
    [  293.946999] nand_read_bbt: bad block at 0x000012da0000
    [  293.952132] nand_read_bbt: bad block at 0x0000138c0000
    [  293.957250] nand_read_bbt: bad block at 0x0000157c0000
    [  293.962377] nand_read_bbt: bad block at 0x000015e20000
    [  293.967495] nand_read_bbt: bad block at 0x0000184a0000
    [  293.972621] nand_read_bbt: bad block at 0x000018640000
    [  293.977737] nand_read_bbt: bad block at 0x000019aa0000
    [  293.982863] nand_read_bbt: bad block at 0x00001aac0000
    [  293.987981] nand_read_bbt: bad block at 0x00001d2e0000
    [  293.993107] nand_read_bbt: bad block at 0x00001dd60000
    [  293.998224] nand_read_bbt: bad block at 0x00001f080000
    [  294.003408] 3 ofpart partitions found on MTD device 30000000.nand
    [  294.009489] Creating 3 MTD partitions on "30000000.nand":
    [  294.014869] 0x000000000000-0x000000100000 : "u-boot"
    [  294.020994] 0x000000100000-0x000000180000 : "params"
    [  294.027044] 0x000000180000-0x000020000000 : "ubifs"
    [  294.033352] davinci_nand 30000000.nand: controller rev. 2.5
    [  294.039933] spi_davinci 21000400.spi: master is unqueued, this is deprecated
    [  294.051303] m25p80 spi32766.0: found n25q128a11, expected n25q128
    [  294.057380] m25p80 spi32766.0: n25q128a11 (16384 Kbytes)
    [  294.062702] 2 ofpart partitions found on MTD device spi32766.0
    [  294.068525] Creating 2 MTD partitions on "spi32766.0":
    [  294.073650] 0x000000000000-0x000000080000 : "u-boot-spl"
    [  294.080124] 0x000000080000-0x000001000000 : "test"
    [  294.089793] spi_davinci 21000400.spi: Controller at 0xe087a400
    [  294.096082] spi_davinci 21000600.spi: master is unqueued, this is deprecated
    [  294.103129] spi_davinci 21000600.spi: Controller at 0xe087c600
    [  294.109416] spi_davinci 21000800.spi: master is unqueued, this is deprecated
    [  294.116441] spi_davinci 21000800.spi: Controller at 0xe087e800
    [  294.124187] tun: Universal TUN/TAP device driver, 1.6
    [  294.129237] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
    [  294.136204] keystone-netcp 2090000.netcp: missing num_serdes parameter
    [  294.142733] keystone-netcp 2090000.netcp: missing serdes_lanes parameter
    [  294.149430] keystone-netcp 2090000.netcp: missing serdes_ref_clk parameter
    [  294.156279] keystone-netcp 2090000.netcp: missing serdes_baud_rate parameter
    [  294.163313] keystone-netcp 2090000.netcp: missing serdes_rate_mode parameter
    [  294.170348] keystone-netcp 2090000.netcp: missing serdes_phy_intf parameter
    [  294.177284] keystone-netcp 2090000.netcp: missing serdes_loopback parameter
    [  294.184254] keystone-netcp 2090000.netcp: Missing cpts_clock_mult property in the DT.
    [  294.192068] keystone-netcp 2090000.netcp: Missing cpts_clock_shift property in the DT.
    [  294.199967] keystone-netcp 2090000.netcp: Missing cpts_clock_div property in the DT.
    [  294.209285] keystone-netcp 2090000.netcp: Created interface "eth0"
    [  294.215453] keystone-netcp 2090000.netcp: dma_chan_name nettx0
    [  294.222731] keystone-netcp 2090000.netcp: Created interface "eth1"
    [  294.228917] keystone-netcp 2090000.netcp: dma_chan_name nettx1
    [  294.236191] keystone-netcp 2090000.netcp: Created interface "eth2"
    [  294.242378] keystone-netcp 2090000.netcp: dma_chan_name nettx2
    [  294.249683] keystone-netcp 2090000.netcp: Created interface "eth3"
    [  294.255850] keystone-netcp 2090000.netcp: dma_chan_name nettx3
    [  294.261909] keystone-netcp 2090000.netcp: pdsp 0 firmware: keystone/pa_pdsp0_classify1.fw
    [  294.270076] keystone-netcp 2090000.netcp: pdsp 1 firmware: keystone/pa_pdsp1_classify1.fw
    [  294.278244] keystone-netcp 2090000.netcp: pdsp 2 firmware: keystone/pa_pdsp2_classify1.fw
    [  294.286393] keystone-netcp 2090000.netcp: pdsp 3 firmware: keystone/pa_pdsp3_classify2.fw
    [  294.294554] keystone-netcp 2090000.netcp: pdsp 4 firmware: keystone/pa_pdsp45_pam.fw
    [  294.302282] keystone-netcp 2090000.netcp: pdsp 5 firmware: keystone/pa_pdsp45_pam.fw
    [  294.310316] keystone-netcp 2090000.netcp: could not find interface 2 node in device tree
    [  294.318394] keystone-netcp 2090000.netcp: Attach of module keystone-qos declined with -19
    [  294.326546] keystone-netcp 2090000.netcp: could not find interface 3 node in device tree
    [  294.334620] keystone-netcp 2090000.netcp: Attach of module keystone-qos declined with -19
    [  294.342804] keystone-netcp 2090000.netcp: Attach of module keystone-sa declined with -19
    [  294.350881] keystone-netcp 2090000.netcp: Attach of module keystone-sa declined with -19
    [  294.360571] dwc3 2690000.dwc3: no usb2 phy configured
    [  294.365619] platform 2690000.dwc3: Driver dwc3 requests probe deferral
    [  294.372949] usbcore: registered new interface driver usb-storage
    [  294.379705] mousedev: PS/2 mouse device common for all mice
    [  294.385621] i2c /dev entries driver
    [  294.390264] watchdog 22f0080.wdt: heartbeat 60 sec
    [  294.398545] keystone-crypto 20c0000.crypto: crypto accelerator enabled
    [  294.405655] usbcore: registered new interface driver usbhid
    [  294.411230] usbhid: USB HID core driver
    [  294.415595]  remoteproc0: 2620040.dsp0 is available
    [  294.420474]  remoteproc0: Note: remoteproc is still under development and considered experimental.
    [  294.429413]  remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [  294.439770]  remoteproc0: no firmware found
    [  294.444161] rproc-user 2620040.dsp0: registered misc device dsp0
    [  294.450573]  remoteproc1: 2620044.dsp1 is available
    [  294.455431]  remoteproc1: Note: remoteproc is still under development and considered experimental.
    [  294.464372]  remoteproc1: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [  294.474735]  remoteproc1: no firmware found
    [  294.479130] rproc-user 2620044.dsp1: registered misc device dsp1
    [  294.485533]  remoteproc2: 2620048.dsp2 is available
    [  294.490416]  remoteproc2: Note: remoteproc is still under development and considered experimental.
    [  294.499353]  remoteproc2: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [  294.509713]  remoteproc2: no firmware found
    [  294.514104] rproc-user 2620048.dsp2: registered misc device dsp2
    [  294.520522]  remoteproc3: 262004c.dsp3 is available
    [  294.525380]  remoteproc3: Note: remoteproc is still under development and considered experimental.
    [  294.534319]  remoteproc3: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [  294.544689]  remoteproc3: no firmware found
    [  294.549085] rproc-user 262004c.dsp3: registered misc device dsp3
    [  294.555464]  remoteproc4: 2620050.dsp4 is available
    [  294.560348]  remoteproc4: Note: remoteproc is still under development and considered experimental.
    [  294.569287]  remoteproc4: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [  294.579645]  remoteproc4: no firmware found
    [  294.584034] rproc-user 2620050.dsp4: registered misc device dsp4
    [  294.590432]  remoteproc5: 2620054.dsp5 is available
    [  294.595289]  remoteproc5: Note: remoteproc is still under development and considered experimental.
    [  294.604229]  remoteproc5: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [  294.614594]  remoteproc5: no firmware found
    [  294.618985] rproc-user 2620054.dsp5: registered misc device dsp5
    [  294.625376]  remoteproc6: 2620058.dsp6 is available
    [  294.630253]  remoteproc6: Note: remoteproc is still under development and considered experimental.
    [  294.639187]  remoteproc6: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [  294.649540]  remoteproc6: no firmware found
    [  294.653925] rproc-user 2620058.dsp6: registered misc device dsp6
    [  294.660330]  remoteproc7: 262005c.dsp7 is available
    [  294.665187]  remoteproc7: Note: remoteproc is still under development and considered experimental.
    [  294.674133]  remoteproc7: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [  294.684489]  remoteproc7: no firmware found
    [  294.688893] rproc-user 262005c.dsp7: registered misc device dsp7
    [  294.694912] rproc-user dspmem.14: kick gpio
    [  294.699337] rproc-user dspmem.14: registered misc device dspmem
    [  294.705783] oprofile: using arm/armv7-ca15
    [  294.710087] ipip: IPv4 over IPv4 tunneling driver
    [  294.715477] gre: GRE over IPv4 demultiplexor driver
    [  294.720362] ip_gre: GRE over IPv4 tunneling driver
    [  294.726536] TCP: cubic registered
    [  294.729858] Initializing XFRM netlink socket
    [  294.734927] NET: Registered protocol family 10
    [  294.741358] NET: Registered protocol family 17
    [  294.745807] NET: Registered protocol family 15
    [  294.750342] Bridge firewalling registered
    [  294.754341] 8021q: 802.1Q VLAN Support v1.8
    [  294.759398] sctp: Hash tables configured (established 16384 bind 16384)
    [  294.766366] NET: Registered protocol family 40
    [  294.771050] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [  294.778722] Registering SWP/SWPB emulation handler
    [  294.987177] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    [  294.992690] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
    [  295.001234] xhci-hcd xhci-hcd.0.auto: irq 425, io mem 0x02690000
    [  295.007332] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [  295.014114] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [  295.021321] usb usb1: Product: xHCI Host Controller
    [  295.026181] usb usb1: Manufacturer: Linux 3.10.61-00009-g80534c6-dirty xhci-hcd
    [  295.033476] usb usb1: SerialNumber: xhci-hcd.0.auto
    [  295.039111] hub 1-0:1.0: USB hub found
    [  295.042860] hub 1-0:1.0: 1 port detected
    [  295.047093] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    [  295.052592] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
    [  295.060369] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
    [  295.067132] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [  295.074340] usb usb2: Product: xHCI Host Controller
    [  295.079211] usb usb2: Manufacturer: Linux 3.10.61-00009-g80534c6-dirty xhci-hcd
    [  295.086491] usb usb2: SerialNumber: xhci-hcd.0.auto
    [  295.092075] hub 2-0:1.0: USB hub found
    [  295.095821] hub 2-0:1.0: 1 port detected
    [  295.106626] Freeing unused kernel memory: 328K (c0730000 - c0782000)
    INIT: version 2.88 booting
    Starting udev
    Starting Bootlog daemon: bootlogd.
    Configuring network interfaces... [  296.805732] keystone-netcp 2090000.netcp: initializing cpsw version 1.3 (1) SGMII identification value 0x4ed1
    [  296.815881] keystone-netcp 2090000.netcp: Created a cpsw ale engine
    [  296.937100] pps pps0: new PPS source ptp0
    [  296.941127] cpts rftclk rate(399360000 HZ),mult(2560),shift(10),div(1)
    [  296.996969] keystone-netcp 2090000.netcp: Using Packet Accelerator Firmware version 0x03000104
    [  297.005562] keystone-netcp 2090000.netcp: pa_clk_rate(163840000 HZ),mult(25000),shift(12)
    [  297.267156] net eth0: netcp device eth0 opened
    [  297.275017] 8021q: adding VLAN 0 to HW filter on device eth0
    udhcpc (v1.20.2) started
    Sending discover...
    Sending select for 192.168.1.4...
    Lease of 192.168.1.4 obtained, lease time 28800
    /etc/udhcpc.d/50default: Adding DNS 10.10.10.50
    /etc/udhcpc.d/50default: Adding DNS 4.2.2.2
    [  298.729694] keystone-netcp 2090000.netcp: initializing cpsw version 1.3 (1) SGMII identification value 0x4ed1
    [  299.116130] net eth1: netcp device eth1 opened
    [  299.123205] 8021q: adding VLAN 0 to HW filter on device eth1
    udhcpc (v1.20.2) started
    Sending discover...
    Sending discover...
    Sending discover...
    No lease, failing
    done.
    Fri May 31 07:10:00 UTC 2013
    Configuring update-modules.
    ERROR: could not open directory /lib/modules/3.10.61-00009-g80534c6-dirty: No such file or directory
    WARNING: -e needs -E or -F
    ERROR: could not open directory /lib/modules/3.10.61-00009-g80534c6-dirty: No such file or directory
    FATAL: could not search modules: No such file or directory
    INIT: Entering runlevel: 5
    Starting telnet daemon.
    Starting syslogd/klogd: done
    Starting thttpd.
    Stopping Bootlog daemon: bootlogd.
    
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            
    
    Arago Project http://arago-project.org keystone-evm ttyS0
    
    Arago 2013.04 keystone-evm ttyS0
    

    In the bootlog the remotex: no firmware found, does this have to do with the error because I also tested with the mcsdk_linux_xx/images kernel also and got the same prints in the bootlog.

    Please can you suggest how to get IPC working for TCI6638 board.

    regards,

    Vishnu

  • Can you try the attached pre-built files ?

    pre-built-k2h.tar.gz

  • I tried with the kernel that you gave, but it is getting stuck at starting kernel:

    Load address: 0x88000000
    Loading: #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    ##################
    1.3 MiB/s
    done
    Bytes transferred = 4083176 (3e4de8 hex)
    ## installed monitor, freq [133120000], status 133120000
    ## Booting kernel from Legacy Image at 88000000 ...
    Image Name: Linux-3.10.72-gca334de
    Created: 2015-09-30 7:51:42 UTC
    Image Type: ARM Linux Kernel Image (uncompressed)
    Data Size: 4083112 Bytes = 3.9 MiB
    Load Address: 80008000
    Entry Point: 80008000
    Verifying Checksum ... OK
    ## Flattened Device Tree blob at 87000000
    Booting using the fdt blob at 0x87000000
    Loading Kernel Image ... OK
    OK
    Using Device Tree in place at 87000000, end 87010508

    Starting kernel ...

    How to overcome this problem?

    regards,

    Vishnu

  • I solved the starting kernel issue getting stuck by changing ttyUSB0 to ttyS0 and it boots. But still I am getting the same problem i.e.

    [70.194387] NameServer_attach: connect failed: procId=1, errno=22 (Invalid argument)


    I am attaching the boot log: 

    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 3.10.72-gca334de (gtbldadm@ubuntu-12) (gcc version 4.7.3 20130226 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.03-2015
    [    0.000000] CPU: ARMv7 Processor [412fc0f4] revision 4 (ARMv7), cr=30c7387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    [    0.000000] Machine: KeyStone2, model: Texas Instruments Keystone 2 SoC
    [    0.000000] switching to high address space at 0x800000000
    [    0.000000] cma: CMA: reserved 16 MiB at 2e800000
    [    0.000000] Memory policy: ECC disabled, Data cache writealloc
    [    0.000000] PERCPU: Embedded 8 pages/cpu @c103f000 s11264 r8192 d13312 u32768
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260624
    [    0.000000] Kernel command line: console=ttyS0,115200n8 rootwait=1 earlyprintk rdinit=/sbin/init rw root=/dev/ram0 initrd=0x802000000,9M
    [    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: 1024MB = 1024MB total
    [    0.000000] Memory: 1005308k/1005308k available, 43268k reserved, 270336K highmem
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    [    0.000000]     vmalloc : 0xf0000000 - 0xff000000   ( 240 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xef800000   ( 760 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc0733c1c   (7344 kB)
    [    0.000000]       .init : 0xc0734000 - 0xc0786c00   ( 331 kB)
    [    0.000000]       .data : 0xc0788000 - 0xc07ea618   ( 394 kB)
    [    0.000000]        .bss : 0xc07ea618 - 0xc081c2bc   ( 200 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    [    0.000000] Hierarchical RCU implementation.
    [    0.000000] NR_IRQS:16 nr_irqs:16 16
    [    0.000000] ipc irq: irqchip registered, range 512-539
    [    0.000000] Main PLL clk (798720000 Hz), parent (122880000 Hz),postdiv = 2, mult = 12, prediv = 0
    [    0.000000] Generic PLL clk (625000000 Hz), parent (125000000 Hz),postdiv = 2, mult = 9, prediv = 0
    [    0.000000] Generic PLL clk (983040000 Hz), parent (122880000 Hz),postdiv = 2, mult = 15, prediv = 0
    [    0.000000] Generic PLL clk (333333333 Hz), parent (100000000 Hz),postdiv = 6, mult = 19, prediv = 0
    [    0.000000] Generic PLL clk (333333333 Hz), parent (100000000 Hz),postdiv = 6, mult = 19, prediv = 0
    [    0.000000] Architected local timer running at 133.12MHz (phys).
    [    0.000000] Switching to timer-based delay loop
    [    0.000000] sched_clock: ARM arch timer >56 bits at 133120kHz, resolution 961/128ns
    [    0.000000] keystone timer clock @133120000 MHz
    [    0.000000] sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 4294967286ms
    [    0.000000] Console: colour dummy device 80x30
    [  396.422475] Calibrating delay loop (skipped), value calculated using timer frequency.. 266.24 BogoMIPS (lpj=1331200)
    [  396.422493] pid_max: default: 4096 minimum: 301
    [  396.422748] Mount-cache hash table entries: 512
    [  396.440753] CPU: Testing write buffer coherency: ok
    [  396.441076] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [  396.441094] psci: probing function IDs from device-tree
    [  396.441116] Setting up static identity map for 0xc05117a0 - 0xc05117f8
    [  396.452706] CPU1: Booted secondary processor
    [  396.452750] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [  396.463837] CPU2: Booted secondary processor
    [  396.463885] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
    [  396.474958] CPU3: Booted secondary processor
    [  396.475007] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
    [  396.475146] Brought up 4 CPUs
    [  396.475180] SMP: Total of 4 processors activated (1064.96 BogoMIPS).
    [  396.475188] CPU: All CPU(s) started in SVC mode.
    [  396.476006] devtmpfs: initialized
    [  396.499975] NET: Registered protocol family 16
    [  396.501676] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [  396.525959] No ATAGs?
    [  396.525989] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [  396.526002] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [  396.545376] bio: create slab <bio-0> at 0
    [  396.546116] keystone-pcie: keystone_pcie_rc_init - start
    [  396.546156] keystone2_pcie_serdes_setup for domain 0
    [  396.548345] keystone2_pcie_serdes_setup done domain 0, en_link_train = 1
    [  396.548395] keystone-pcie: MEM 0x0000000050000000..0x000000005fffffff -> 0x0000000050000000 
    [  396.548413] keystone-pcie: IO 0x0000000023250000..0x0000000023253fff -> 0x0000000000000000
    [  396.548471] keystone-pcie: pcie - number of legacy irqs = 4
    [  396.548554] keystone-pcie: pcie - number of MSI host irqs = 8, msi_irqs = 32
    [  396.652143] keystone-pcie: Doing PCI Setup...Done
    [  396.652154] keystone-pcie: Starting PCI scan, nr 0...
    [  396.652389] PCI host bridge to bus 0000:00
    [  396.652408] pci_bus 0000:00: root bus resource [mem 0x50000000-0x5fffffff]
    [  396.652422] pci_bus 0000:00: root bus resource [io  0x0000-0x3fff]
    [  396.652435] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
    [  396.652511] PCI: bus0: Fast back to back transfers enabled
    [  396.652538] keystone-pcie: Ending PCI scan...
    [  396.652550] keystone-pcie: keystone_pcie_rc_init - end
    [  396.653013] vgaarb: loaded
    [  396.653591] SCSI subsystem initialized
    [  396.654659] usbcore: registered new interface driver usbfs
    [  396.654811] usbcore: registered new interface driver hub
    [  396.654999] usbcore: registered new device driver usb
    [  396.657058] pps_core: LinuxPPS API ver. 1 registered
    [  396.657069] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [  396.657182] PTP clock support registered
    [  396.657448] keystone-hwqueue hwqueue.36: qmgr start queue 0, number of queues 8192
    [  396.657588] keystone-hwqueue hwqueue.36: added qmgr start queue 0, num of queues 8192, reg_peek f0040000, reg_status f0006000, reg_config f0008000, 0
    [  396.657604] keystone-hwqueue hwqueue.36: qmgr start queue 8192, number of queues 8192
    [  396.657743] keystone-hwqueue hwqueue.36: added qmgr start queue 8192, num of queues 8192, reg_peek f0100000, reg_status f000c400, reg_config f000e000
    [  396.659109] keystone-hwqueue hwqueue.36: qos: sched port @8096, drop sched @8000
    [  396.660973] keystone-hwqueue hwqueue.36: qos: sched port @6496, drop sched @6400
    [  396.662713] keystone-hwqueue hwqueue.36: added pool pool-rio: 1024 descriptors of size 128
    [  396.662732] keystone-hwqueue hwqueue.36: added pool pool-xge: 1024 descriptors of size 128
    [  396.662748] keystone-hwqueue hwqueue.36: added pool pool-crypto: 1024 descriptors of size 128
    [  396.662764] keystone-hwqueue hwqueue.36: added pool pool-net: 11264 descriptors of size 128
    [  396.662780] keystone-hwqueue hwqueue.36: added pool pool-udma: 1920 descriptors of size 256
    [  396.666349] keystone-hwqueue hwqueue.36: registered queues 0-16383
    [  396.666895] keystone-hwqueue hwqueue.36: qos version 0x200010b, magic valid
    [  396.667478] keystone-hwqueue hwqueue.36: qos version 0x200010b, magic valid
    [  396.680328] keystone-pktdma 2a08000.pktdma: registered 32 logical channels, flows 32, tx chans: 32, rx chans: 32, loopback
    [  396.687348] keystone-pktdma 2004000.pktdma: registered 33 logical channels, flows 32, tx chans: 9, rx chans: 24
    [  396.688316] keystone-pktdma 2901000.pktdma: registered 4 logical channels, flows 20, tx chans: 16, rx chans: 16
    [  396.689283] keystone-pktdma 2fa1000.pktdma: registered 4 logical channels, flows 32, tx chans: 16, rx chans: 16
    [  396.689527] Switching to clocksource arch_sys_counter
    [  396.723273] NET: Registered protocol family 2
    [  396.724170] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
    [  396.724384] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
    [  396.724592] TCP: Hash tables configured (established 8192 bind 8192)
    [  396.724669] TCP: reno registered
    [  396.724685] UDP hash table entries: 512 (order: 2, 16384 bytes)
    [  396.724733] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
    [  396.725057] NET: Registered protocol family 1
    [  396.725341] RPC: Registered named UNIX socket transport module.
    [  396.725351] RPC: Registered udp transport module.
    [  396.725360] RPC: Registered tcp transport module.
    [  396.725368] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [  396.725585] Unpacking initramfs...
    [  397.558997] Initramfs unpacking failed: junk in compressed archive
    [  397.566999] Freeing initrd memory: 9216K (c2000000 - c2900000)
    [  397.567670] hw perfevents: enabled with ARMv7 Cortex-A15 PMU driver, 7 counters available
    [  397.711010] bounce pool size: 64 pages
    [  397.725666] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
    [  397.725985] NTFS driver 2.1.30 [Flags: R/O].
    [  397.726441] jffs2: version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.
    [  397.727016] msgmni has been set to 1485
    [  397.728713] NET: Registered protocol family 38
    [  397.729485] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
    [  397.729499] io scheduler noop registered
    [  397.729508] io scheduler deadline registered
    [  397.729741] io scheduler cfq registered (default)
    [  397.732778] keystone-udma udma0.37: registered udma device udma0
    [  397.842886] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
    [  397.845675] 2530c00.serial: ttyS0 at MMIO 0x2530c00 (irq = 309) is a 16550A
    [  398.712032] console [ttyS0] enabled
    [  398.716640] 2531000.serial: ttyS1 at MMIO 0x2531000 (irq = 312) is a 16550A
    [  398.730374] loop: module loaded
    [  398.733752] at24 0-0050: 131072 byte 24c1024 EEPROM, writable, 1 bytes/write
    [  398.743133] Generic platform RAM MTD, (c) 2004 Simtec Electronics
    [  398.751045] ONFI param page 0 valid
    [  398.754521] ONFI flash detected
    [  398.757653] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xac (Micron MT29F4G08ABBDAHC), 512MiB, page size: 2048, OOB size: 64
    [  398.769414] Bad block table found at page 262080, version 0x01
    [  398.775868] Bad block table found at page 262016, version 0x01
    [  398.782020] nand_read_bbt: bad block at 0x000002540000
    [  398.787136] nand_read_bbt: bad block at 0x000002c60000
    [  398.792263] nand_read_bbt: bad block at 0x000002d00000
    [  398.797379] nand_read_bbt: bad block at 0x000003080000
    [  398.802510] nand_read_bbt: bad block at 0x000003580000
    [  398.807625] nand_read_bbt: bad block at 0x000003d00000
    [  398.812754] nand_read_bbt: bad block at 0x0000050a0000
    [  398.817868] nand_read_bbt: bad block at 0x000005440000
    [  398.822995] nand_read_bbt: bad block at 0x000006440000
    [  398.828110] nand_read_bbt: bad block at 0x000006e40000
    [  398.833235] nand_read_bbt: bad block at 0x000007160000
    [  398.838349] nand_read_bbt: bad block at 0x000007300000
    [  398.843481] nand_read_bbt: bad block at 0x00000abc0000
    [  398.848607] nand_read_bbt: bad block at 0x00000adc0000
    [  398.853722] nand_read_bbt: bad block at 0x00000b8c0000
    [  398.858846] nand_read_bbt: bad block at 0x00000b940000
    [  398.863961] nand_read_bbt: bad block at 0x00000c960000
    [  398.869091] nand_read_bbt: bad block at 0x00000f1c0000
    [  398.874211] nand_read_bbt: bad block at 0x000012ae0000
    [  398.879337] nand_read_bbt: bad block at 0x000012b60000
    [  398.884451] nand_read_bbt: bad block at 0x000012da0000
    [  398.889577] nand_read_bbt: bad block at 0x0000138c0000
    [  398.894694] nand_read_bbt: bad block at 0x0000157c0000
    [  398.899819] nand_read_bbt: bad block at 0x000015e20000
    [  398.904937] nand_read_bbt: bad block at 0x0000184a0000
    [  398.910061] nand_read_bbt: bad block at 0x000018640000
    [  398.915177] nand_read_bbt: bad block at 0x000019aa0000
    [  398.920302] nand_read_bbt: bad block at 0x00001aac0000
    [  398.925421] nand_read_bbt: bad block at 0x00001d2e0000
    [  398.930547] nand_read_bbt: bad block at 0x00001dd60000
    [  398.935663] nand_read_bbt: bad block at 0x00001f080000
    [  398.940846] 3 ofpart partitions found on MTD device 30000000.nand
    [  398.946914] Creating 3 MTD partitions on "30000000.nand":
    [  398.952305] 0x000000000000-0x000000100000 : "u-boot"
    [  398.958446] 0x000000100000-0x000000180000 : "params"
    [  398.964512] 0x000000180000-0x000020000000 : "ubifs"
    [  398.970761] davinci_nand 30000000.nand: controller rev. 2.5
    [  398.977339] spi_davinci 21000400.spi: master is unqueued, this is deprecated
    [  398.988850] m25p80 spi32766.0: found n25q128a11, expected n25q128
    [  398.994927] m25p80 spi32766.0: n25q128a11 (16384 Kbytes)
    [  399.000250] 2 ofpart partitions found on MTD device spi32766.0
    [  399.006059] Creating 2 MTD partitions on "spi32766.0":
    [  399.011190] 0x000000000000-0x000000080000 : "u-boot-spl"
    [  399.017640] 0x000000080000-0x000001000000 : "test"
    [  399.027337] spi_davinci 21000400.spi: Controller at 0xf00be400
    [  399.033658] spi_davinci 21000600.spi: master is unqueued, this is deprecated
    [  399.040703] spi_davinci 21000600.spi: Controller at 0xf00e2600
    [  399.046965] spi_davinci 21000800.spi: master is unqueued, this is deprecated
    [  399.054009] spi_davinci 21000800.spi: Controller at 0xf00e4800
    [  399.061856] tun: Universal TUN/TAP device driver, 1.6
    [  399.066886] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
    [  399.074015] keystone-netcp 2090000.netcp: number of serdeses 1
    [  399.079869] keystone-netcp 2090000.netcp: Missing cpts_clock_mult property in the DT.
    [  399.087671] keystone-netcp 2090000.netcp: Missing cpts_clock_shift property in the DT.
    [  399.095572] keystone-netcp 2090000.netcp: Missing cpts_clock_div property in the DT.
    [  399.104485] keystone-netcp 2090000.netcp: cpsw serdes 0 config done lanes(mask) 0x3
    [  399.113676] keystone-netcp 2090000.netcp: Created interface "eth0"
    [  399.119861] keystone-netcp 2090000.netcp: dma_chan_name nettx0
    [  399.127139] keystone-netcp 2090000.netcp: Created interface "eth1"
    [  399.133323] keystone-netcp 2090000.netcp: dma_chan_name nettx1
    [  399.140633] keystone-netcp 2090000.netcp: Created interface "eth2"
    [  399.146799] keystone-netcp 2090000.netcp: dma_chan_name nettx2
    [  399.154131] keystone-netcp 2090000.netcp: Created interface "eth3"
    [  399.160318] keystone-netcp 2090000.netcp: dma_chan_name nettx3
    [  399.166347] keystone-netcp 2090000.netcp: pdsp 0 firmware: keystone/pa_pdsp0_classify1.fw
    [  399.174515] keystone-netcp 2090000.netcp: pdsp 1 firmware: keystone/pa_pdsp1_classify1.fw
    [  399.182676] keystone-netcp 2090000.netcp: pdsp 2 firmware: keystone/pa_pdsp2_classify1.fw
    [  399.190839] keystone-netcp 2090000.netcp: pdsp 3 firmware: keystone/pa_pdsp3_classify2.fw
    [  399.198999] keystone-netcp 2090000.netcp: pdsp 4 firmware: keystone/pa_pdsp45_pam.fw
    [  399.206715] keystone-netcp 2090000.netcp: pdsp 5 firmware: keystone/pa_pdsp45_pam.fw
    [  399.214733] keystone-netcp 2090000.netcp: could not find interface 2 node in device tree
    [  399.222811] keystone-netcp 2090000.netcp: Attach of module keystone-qos declined with -19
    [  399.230974] keystone-netcp 2090000.netcp: could not find interface 3 node in device tree
    [  399.239047] keystone-netcp 2090000.netcp: Attach of module keystone-qos declined with -19
    [  399.247220] keystone-netcp 2090000.netcp: Attach of module keystone-sa declined with -19
    [  399.255295] keystone-netcp 2090000.netcp: Attach of module keystone-sa declined with -19
    [  399.265199] dwc3 2690000.dwc3: no usb2 phy configured
    [  399.270273] platform 2690000.dwc3: Driver dwc3 requests probe deferral
    [  399.277581] usbcore: registered new interface driver usb-storage
    [  399.284375] mousedev: PS/2 mouse device common for all mice
    [  399.290313] i2c /dev entries driver
    [  399.294997] watchdog 22f0080.wdt: heartbeat 60 sec
    [  399.303306] keystone-crypto 20c0000.crypto: crypto accelerator enabled
    [  399.310407] usbcore: registered new interface driver usbhid
    [  399.315956] usbhid: USB HID core driver
    [  399.320441]  remoteproc0: 2620040.dsp0 is available
    [  399.325301]  remoteproc0: Note: remoteproc is still under development and considered experimental.
    [  399.334239]  remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [  399.344598]  remoteproc0: no firmware found
    [  399.349021] rproc-user 2620040.dsp0: registered misc device dsp0
    [  399.355418]  remoteproc1: 2620044.dsp1 is available
    [  399.360295]  remoteproc1: Note: remoteproc is still under development and considered experimental.
    [  399.369233]  remoteproc1: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [  399.379587]  remoteproc1: no firmware found
    [  399.383968] rproc-user 2620044.dsp1: registered misc device dsp1
    [  399.390378]  remoteproc2: 2620048.dsp2 is available
    [  399.395236]  remoteproc2: Note: remoteproc is still under development and considered experimental.
    [  399.404176]  remoteproc2: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [  399.414530]  remoteproc2: no firmware found
    [  399.418932] rproc-user 2620048.dsp2: registered misc device dsp2
    [  399.425329]  remoteproc3: 262004c.dsp3 is available
    [  399.430211]  remoteproc3: Note: remoteproc is still under development and considered experimental.
    [  399.439150]  remoteproc3: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [  399.449503]  remoteproc3: no firmware found
    [  399.453892] rproc-user 262004c.dsp3: registered misc device dsp3
    [  399.460298]  remoteproc4: 2620050.dsp4 is available
    [  399.465157]  remoteproc4: Note: remoteproc is still under development and considered experimental.
    [  399.474103]  remoteproc4: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [  399.484457]  remoteproc4: no firmware found
    [  399.488853] rproc-user 2620050.dsp4: registered misc device dsp4
    [  399.495239]  remoteproc5: 2620054.dsp5 is available
    [  399.500121]  remoteproc5: Note: remoteproc is still under development and considered experimental.
    [  399.509059]  remoteproc5: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [  399.519424]  remoteproc5: no firmware found
    [  399.523812] rproc-user 2620054.dsp5: registered misc device dsp5
    [  399.530230]  remoteproc6: 2620058.dsp6 is available
    [  399.535087]  remoteproc6: Note: remoteproc is still under development and considered experimental.
    [  399.544027]  remoteproc6: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [  399.554379]  remoteproc6: no firmware found
    [  399.558779] rproc-user 2620058.dsp6: registered misc device dsp6
    [  399.565174]  remoteproc7: 262005c.dsp7 is available
    [  399.570055]  remoteproc7: Note: remoteproc is still under development and considered experimental.
    [  399.578997]  remoteproc7: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [  399.589349]  remoteproc7: no firmware found
    [  399.593731] rproc-user 262005c.dsp7: registered misc device dsp7
    [  399.599774] rproc-user dspmem.38: kick gpio
    [  399.604183] rproc-user dspmem.38: registered misc device dspmem
    [  399.610678] oprofile: using arm/armv7-ca15
    [  399.614966] ipip: IPv4 over IPv4 tunneling driver
    [  399.620390] gre: GRE over IPv4 demultiplexor driver
    [  399.625249] ip_gre: GRE over IPv4 tunneling driver
    [  399.631417] TCP: cubic registered
    [  399.634718] Initializing XFRM netlink socket
    [  399.639764] NET: Registered protocol family 10
    [  399.646123] NET: Registered protocol family 17
    [  399.650593] NET: Registered protocol family 15
    [  399.655105] Bridge firewalling registered
    [  399.659122] 8021q: 802.1Q VLAN Support v1.8
    [  399.666514] sctp: Hash tables configured (established 65536 bind 65536)
    [  399.673500] NET: Registered protocol family 41
    [  399.678182] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [  399.685836] Registering SWP/SWPB emulation handler
    [  399.894280] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    [  399.899789] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
    [  399.908426] xhci-hcd xhci-hcd.0.auto: irq 425, io mem 0x02690000
    [  399.914528] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [  399.921315] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [  399.928526] usb usb1: Product: xHCI Host Controller
    [  399.933384] usb usb1: Manufacturer: Linux 3.10.72-gca334de xhci-hcd
    [  399.939639] usb usb1: SerialNumber: xhci-hcd.0.auto
    [  399.945270] hub 1-0:1.0: USB hub found
    [  399.949041] hub 1-0:1.0: 1 port detected
    [  399.953285] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    [  399.958781] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
    [  399.966534] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
    [  399.973313] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [  399.980519] usb usb2: Product: xHCI Host Controller
    [  399.985377] usb usb2: Manufacturer: Linux 3.10.72-gca334de xhci-hcd
    [  399.991631] usb usb2: SerialNumber: xhci-hcd.0.auto
    [  399.997214] hub 2-0:1.0: USB hub found
    [  400.000984] hub 2-0:1.0: 1 port detected
    [  400.011947] Freeing unused kernel memory: 328K (c0734000 - c0786000)
    INIT: version 2.88 booting
    Starting udev
    Starting Bootlog daemon: bootlogd.
    Configuring network interfaces... [  401.819620] keystone-netcp 2090000.netcp: initializing cpsw version 1.3 (1) SGMII identification value 0x4ed1
    [  401.829752] keystone-netcp 2090000.netcp: Created a cpsw ale engine
    [  401.957520] pps pps0: new PPS source ptp0
    [  401.961539] cpts rftclk rate(399360000 HZ),mult(2560),shift(10),div(1)
    [  402.017472] keystone-netcp 2090000.netcp: Using Packet Accelerator Firmware version 0x03000105
    [  402.026064] keystone-netcp 2090000.netcp: pa_clk_rate(163840000 HZ),mult(25000),shift(12)
    [  402.327084] net eth0: netcp device eth0 opened
    [  402.334937] 8021q: adding VLAN 0 to HW filter on device eth0
    udhcpc (v1.20.2) started
    Sending discover...
    Sending select for 192.168.1.4...
    Lease of 192.168.1.4 obtained, lease time 28800
    /etc/udhcpc.d/50default: Adding DNS 10.10.10.50
    /etc/udhcpc.d/50default: Adding DNS 4.2.2.2
    [  403.820344] keystone-netcp 2090000.netcp: initializing cpsw version 1.3 (1) SGMII identification value 0x4ed1
    [  404.246028] net eth1: netcp device eth1 opened
    [  404.253095] 8021q: adding VLAN 0 to HW filter on device eth1
    udhcpc (v1.20.2) started
    Sending discover...
    Sending discover...
    Sending discover...
    No lease, failing
    done.
    Fri May 31 07:10:00 UTC 2013
    Configuring update-modules.
    ERROR: could not open directory /lib/modules/3.10.72-gca334de: No such file or directory
    WARNING: -e needs -E or -F
    ERROR: could not open directory /lib/modules/3.10.72-gca334de: No such file or directory
    FATAL: could not search modules: No such file or directory
    INIT: Entering runlevel: 5
    Starting telnet daemon.
    Starting syslogd/klogd: done
    Starting thttpd.
    Stopping Bootlog daemon: bootlogd.
    
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            
    
    Arago Project http://arago-project.org keystone-evm ttyS0
    
    Arago 2013.04 keystone-evm ttyS0
    
    

    I am telling the steps I followed to run the IPC example as I could not find a document specifically for TCI6638 board, Please can you tell me where I went wrong

    1) I built the lPC  as given in the IPC_Linux_install guide for tci6638

    2) I built the linux kernel as instructed in the MCSDK user guide but by taking changes specified in IPC_Linux_install guide i.e. CONFIG_REMOTEPROC=m, CONFIG_VIRTIO=m and CONFIG_RPMSG=m

    but when you run make keystone2_defconfig it will not change these parameters in .config file and builds it as part of kernel.

    3) In kernel path I do make modules and modules_install in a custom path which installs everything into that custom folder.

    4) After this I boot the kernel built in the previous step and copy partial contents (as src and build folder are symbolic links with huge size) the 3.10.xxx folder generated by step 3 to ARM in the path

    /lib/modules/ because when I do depmod -a it looks for that folder

    5) Next I copy the ARM binaries to arm and DSP binaries to a host system which has CCS 5.4 running on windows (but I work in a linux environment). I do this because mpm is having some issues while building

    and the new git clone of mpm is having some problems in the initial stage of the build.

    6) Then I run the lad daemon on ARM and after this I do depmod -a and insert remoteproc, virtio_rpmsg_bus and rpmsg_proto modules (even though they are built as part of kernel and not as modules no error is thrown, also skipping these will not have any effect).

    7) Then I load the DSP executable messageq_single to core0 and run it and afterwards run the MessageQApp on arm.

    8) I look at the outputs in both and both will be waiting for the remote processor queues so that the other can send it. Afterwards, I look at the lad daemon log which I have attached:

    [0.364040] 
    Initializing LAD... [0.364421] 
        opening FIFO: /tmp/LAD/LADCMDS
    [878.933167] Retrieving command...
    [878.933413] 
    LAD_CONNECT: 
    [878.933438]     client FIFO name = /tmp/LAD/1964
    [878.933451]     client PID = 1964
    [878.933472]     assigned client handle = 0
    [878.933562]     FIFO /tmp/LAD/1964 created
    [878.933691]     FIFO /tmp/LAD/1964 opened for writing
    [878.933758]     sent response
    [878.933771] DONE
    [878.933781] Retrieving command...
    [878.933835] Sending response...
    [878.933871] Retrieving command...
    [878.933924] LAD_MULTIPROC_GETCONFIG: calling MultiProc_getConfig()...
    [878.933946] MultiProc_getConfig() - 9 procs
    [878.933958] # processors in cluster: 9
    [878.933968] cluster baseId: 0
    [878.933978]    ProcId 0 - "HOST"
    [878.933989]    ProcId 1 - "CORE0"
    [878.933999]    ProcId 2 - "CORE1"
    [878.934008]    ProcId 3 - "CORE2"
    [878.934018]    ProcId 4 - "CORE3"
    [878.934028]    ProcId 5 - "CORE4"
    [878.934037]    ProcId 6 - "CORE5"
    [878.934046]    ProcId 7 - "CORE6"
    [878.934056]    ProcId 8 - "CORE7"
    [878.934066]     status = 0
    [878.934076] DONE
    [878.934085] Sending response...
    [878.934105] Retrieving command...
    [878.934152] LAD_NAMESERVER_SETUP: calling NameServer_setup()...
    [878.934186] NameServer_setup: entered, refCount=0
    [878.934238] NameServer_setup: creating listener thread
    [878.934413] NameServer_setup: exiting, refCount=1
    [878.934455]     status = 0
    [878.934474] DONE
    [878.934491] Sending response...
    [878.934488] listener_cb: Entered Listener thread.
    [878.934564] NameServer: waiting for unblockFd: 2, and socks: maxfd: 2
    [878.934532] Retrieving command...
    [878.934623] LAD_MESSAGEQ_GETCONFIG: calling MessageQ_getConfig()...
    [878.934637]     status = 0
    [878.934648] DONE
    [878.934658] Sending response...
    [878.934679] Retrieving command...
    [878.934714] LAD_MESSAGEQ_SETUP: calling MessageQ_setup()...
    [878.934728] MessageQ_setup: entered, refCount=0
    [878.934740] NameServer_create(): 'MessageQ'
    [878.934780] MessageQ_setup: exiting, refCount=1
    [878.934793]     status = 0
    [878.934804] DONE
    [878.934814] Sending response...
    [878.934836] Retrieving command...
    [878.935076] NameServer_attach: created send socket: 5, procId 1
    [878.943082] NameServer_attach: connect failed: procId=1, errno=22 (Invalid argument)
    [878.943174]     closing send socket: 5
    [878.943205] Sending response...
    [878.943231] Retrieving command...
    [878.943443] NameServer_attach: created send socket: 5, procId 2
    [878.951517] NameServer_attach: connect failed: procId=2, errno=22 (Invalid argument)
    [878.951543]     closing send socket: 5
    [878.951571] Sending response...
    [878.951597] Retrieving command...
    [878.951651] NameServer_attach: created send socket: 5, procId 3
    [878.959721] NameServer_attach: connect failed: procId=3, errno=22 (Invalid argument)
    [878.959748]     closing send socket: 5
    [878.959775] Sending response...
    [878.959800] Retrieving command...
    [878.959851] NameServer_attach: created send socket: 5, procId 4
    [878.967921] NameServer_attach: connect failed: procId=4, errno=22 (Invalid argument)
    [878.967947]     closing send socket: 5
    [878.967974] Sending response...
    [878.967999] Retrieving command...
    [878.968050] NameServer_attach: created send socket: 5, procId 5
    [878.975982] NameServer_attach: connect failed: procId=5, errno=22 (Invalid argument)
    [878.976003]     closing send socket: 5
    [878.976028] Sending response...
    [878.976052] Retrieving command...
    [878.976099] NameServer_attach: created send socket: 5, procId 6
    [878.984068] NameServer_attach: connect failed: procId=6, errno=22 (Invalid argument)
    [878.984093]     closing send socket: 5
    [878.984119] Sending response...
    [878.984144] Retrieving command...
    [878.984195] NameServer_attach: created send socket: 5, procId 7
    [878.992152] NameServer_attach: connect failed: procId=7, errno=22 (Invalid argument)
    [878.992175]     closing send socket: 5
    [878.992200] Sending response...
    [878.992224] Retrieving command...
    [878.992274] NameServer_attach: created send socket: 5, procId 8
    [879.000233] NameServer_attach: connect failed: procId=8, errno=22 (Invalid argument)
    [879.000268]     closing send socket: 5
    [879.000295] Sending response...
    [879.000331] Retrieving command...
    [879.000507] LAD_MESSAGEQ_CREATE: calling MessageQ_create(0x117c8, 0x117e8)...
    [879.000526] MessageQ_create: creating 'HOST'
    [879.000546] NameServer_add: Entered key: 'HOST', data: 0x80
    [879.000560] MessageQ_create: returning obj=0x125d0, qid=0x80
    [879.000574]     status = 0
    [879.000584] DONE
    [879.000595] Sending response...
    [879.000616] Retrieving command...
    [879.000713] LAD_NAMESERVER_GETUINT32: calling NameServer_getUInt32(0x124e8, 'SLAVE_CORE0')...
    [879.000736] NameServer_getLocal: entry key: 'SLAVE_CORE0' not found!
    [879.000749] NameServer_getRemote: no socket connection to processor 1
    [879.000762] NameServer_getRemote: no socket connection to processor 2
    [879.000774] NameServer_getRemote: no socket connection to processor 3
    [879.000786] NameServer_getRemote: no socket connection to processor 4
    [879.000797] NameServer_getRemote: no socket connection to processor 5
    [879.000808] NameServer_getRemote: no socket connection to processor 6
    [879.000819] NameServer_getRemote: no socket connection to processor 7
    [879.000831] NameServer_getRemote: no socket connection to processor 8
    [879.000842]     value = 0x80
    [879.000853]     status = -5
    [879.000864] DONE
    [879.000874] Sending response...
    [879.000895] Retrieving command...
    [880.001015] LAD_NAMESERVER_GETUINT32: calling NameServer_getUInt32(0x124e8, 'SLAVE_CORE0')...
    [880.001036] NameServer_getLocal: entry key: 'SLAVE_CORE0' not found!
    [880.001050] NameServer_getRemote: no socket connection to processor 1
    [880.001062] NameServer_getRemote: no socket connection to processor 2
    [880.001074] NameServer_getRemote: no socket connection to processor 3
    [880.001085] NameServer_getRemote: no socket connection to processor 4
    [880.001096] NameServer_getRemote: no socket connection to processor 5
    [880.001108] NameServer_getRemote: no socket connection to processor 6
    [880.001119] NameServer_getRemote: no socket connection to processor 7
    [880.001130] NameServer_getRemote: no socket connection to processor 8
    [880.001141]     value = 0x80
    [880.001153]     status = -5
    [880.001163] DONE
    [880.001174] Sending response...
    [880.001197] Retrieving command...
    [881.001308] LAD_NAMESERVER_GETUINT32: calling NameServer_getUInt32(0x124e8, 'SLAVE_CORE0')...
    [881.001328] NameServer_getLocal: entry key: 'SLAVE_CORE0' not found!
    [881.001340] NameServer_getRemote: no socket connection to processor 1
    [881.001352] NameServer_getRemote: no socket connection to processor 2
    [881.001363] NameServer_getRemote: no socket connection to processor 3
    [881.001375] NameServer_getRemote: no socket connection to processor 4
    [881.001387] NameServer_getRemote: no socket connection to processor 5
    [881.001397] NameServer_getRemote: no socket connection to processor 6
    [881.001408] NameServer_getRemote: no socket connection to processor 7
    [881.001419] NameServer_getRemote: no socket connection to processor 8
    [881.001431]     value = 0x80
    [881.001442]     status = -5
    [881.001453] DONE
    [881.001463] Sending response...
    [881.001486] Retrieving command...
    [882.001596] LAD_NAMESERVER_GETUINT32: calling NameServer_getUInt32(0x124e8, 'SLAVE_CORE0')...
    [882.001616] NameServer_getLocal: entry key: 'SLAVE_CORE0' not found!
    [882.001629] NameServer_getRemote: no socket connection to processor 1
    [882.001641] NameServer_getRemote: no socket connection to processor 2
    [882.001652] NameServer_getRemote: no socket connection to processor 3
    [882.001663] NameServer_getRemote: no socket connection to processor 4
    [882.001674] NameServer_getRemote: no socket connection to processor 5
    [882.001686] NameServer_getRemote: no socket connection to processor 6
    [882.001697] NameServer_getRemote: no socket connection to processor 7
    [882.001708] NameServer_getRemote: no socket connection to processor 8
    [882.001719]     value = 0x80
    [882.001730]     status = -5
    [882.001741] DONE
    [882.001751] Sending response...
    [882.001774] Retrieving command...
    [883.001883] LAD_NAMESERVER_GETUINT32: calling NameServer_getUInt32(0x124e8, 'SLAVE_CORE0')...
    [883.001903] NameServer_getLocal: entry key: 'SLAVE_CORE0' not found!
    [883.001916] NameServer_getRemote: no socket connection to processor 1
    [883.001937] NameServer_getRemote: no socket connection to processor 2
    [883.001950] NameServer_getRemote: no socket connection to processor 3
    [883.001962] NameServer_getRemote: no socket connection to processor 4
    [883.001973] NameServer_getRemote: no socket connection to processor 5
    [883.001985] NameServer_getRemote: no socket connection to processor 6
    [883.001996] NameServer_getRemote: no socket connection to processor 7
    [883.002007] NameServer_getRemote: no socket connection to processor 8
    [883.002019]     value = 0x80
    [883.002029]     status = -5
    [883.002041] DONE
    [883.002051] Sending response...
    [883.002075] Retrieving command...
    [884.002184] LAD_NAMESERVER_GETUINT32: calling NameServer_getUInt32(0x124e8, 'SLAVE_CORE0')...
    [884.002203] NameServer_getLocal: entry key: 'SLAVE_CORE0' not found!
    [884.002217] NameServer_getRemote: no socket connection to processor 1
    [884.002229] NameServer_getRemote: no socket connection to processor 2
    [884.002240] NameServer_getRemote: no socket connection to processor 3
    [884.002251] NameServer_getRemote: no socket connection to processor 4
    [884.002262] NameServer_getRemote: no socket connection to processor 5
    [884.002273] NameServer_getRemote: no socket connection to processor 6
    [884.002285] NameServer_getRemote: no socket connection to processor 7
    [884.002295] NameServer_getRemote: no socket connection to processor 8
    [884.002306]     value = 0x80
    [884.002317]     status = -5
    [884.002328] DONE
    [884.002338] Sending response...
    [884.002361] Retrieving command...
    [885.002470] LAD_NAMESERVER_GETUINT32: calling NameServer_getUInt32(0x124e8, 'SLAVE_CORE0')...
    [885.002489] NameServer_getLocal: entry key: 'SLAVE_CORE0' not found!
    [885.002502] NameServer_getRemote: no socket connection to processor 1
    [885.002514] NameServer_getRemote: no socket connection to processor 2
    [885.002525] NameServer_getRemote: no socket connection to processor 3
    [885.002536] NameServer_getRemote: no socket connection to processor 4
    [885.002548] NameServer_getRemote: no socket connection to processor 5
    [885.002559] NameServer_getRemote: no socket connection to processor 6
    [885.002570] NameServer_getRemote: no socket connection to processor 7
    [885.002581] NameServer_getRemote: no socket connection to processor 8
    [885.002592]     value = 0x80
    [885.002603]     status = -5
    [885.002613] DONE
    [885.002624] Sending response...
    [885.002647] Retrieving command...
    [886.002755] LAD_NAMESERVER_GETUINT32: calling NameServer_getUInt32(0x124e8, 'SLAVE_CORE0')...
    [886.002774] NameServer_getLocal: entry key: 'SLAVE_CORE0' not found!
    [886.002787] NameServer_getRemote: no socket connection to processor 1
    [886.002799] NameServer_getRemote: no socket connection to processor 2
    [886.002810] NameServer_getRemote: no socket connection to processor 3
    [886.002821] NameServer_getRemote: no socket connection to processor 4
    [886.002832] NameServer_getRemote: no socket connection to processor 5
    [886.002843] NameServer_getRemote: no socket connection to processor 6
    [886.002854] NameServer_getRemote: no socket connection to processor 7
    [886.002865] NameServer_getRemote: no socket connection to processor 8
    [886.002876]     value = 0x80
    [886.002887]     status = -5
    [886.002898] DONE
    [886.002908] Sending response...
    [886.002931] Retrieving command...
    [887.003040] LAD_NAMESERVER_GETUINT32: calling NameServer_getUInt32(0x124e8, 'SLAVE_CORE0')...
    [887.003059] NameServer_getLocal: entry key: 'SLAVE_CORE0' not found!
    [887.003072] NameServer_getRemote: no socket connection to processor 1
    [887.003084] NameServer_getRemote: no socket connection to processor 2
    [887.003095] NameServer_getRemote: no socket connection to processor 3
    [887.003106] NameServer_getRemote: no socket connection to processor 4
    [887.003117] NameServer_getRemote: no socket connection to processor 5
    [887.003128] NameServer_getRemote: no socket connection to processor 6
    [887.003139] NameServer_getRemote: no socket connection to processor 7
    [887.003150] NameServer_getRemote: no socket connection to processor 8
    [887.003161]     value = 0x80
    [887.003181]     status = -5
    [887.003193] DONE
    [887.003203] Sending response...
    [887.003226] Retrieving command...
    [888.003334] LAD_NAMESERVER_GETUINT32: calling NameServer_getUInt32(0x124e8, 'SLAVE_CORE0')...
    [888.003354] NameServer_getLocal: entry key: 'SLAVE_CORE0' not found!
    [888.003367] NameServer_getRemote: no socket connection to processor 1
    [888.003378] NameServer_getRemote: no socket connection to processor 2
    [888.003390] NameServer_getRemote: no socket connection to processor 3
    [888.003401] NameServer_getRemote: no socket connection to processor 4
    [888.003412] NameServer_getRemote: no socket connection to processor 5
    [888.003424] NameServer_getRemote: no socket connection to processor 6
    [888.003435] NameServer_getRemote: no socket connection to processor 7
    [888.003446] NameServer_getRemote: no socket connection to processor 8
    [888.003457]     value = 0x80
    [888.003468]     status = -5
    [888.003479] DONE
    [888.003489] Sending response...
    [888.003512] Retrieving command...
    [889.003619] LAD_NAMESERVER_GETUINT32: calling NameServer_getUInt32(0x124e8, 'SLAVE_CORE0')...
    [889.003638] NameServer_getLocal: entry key: 'SLAVE_CORE0' not found!
    [889.003651] NameServer_getRemote: no socket connection to processor 1
    [889.003662] NameServer_getRemote: no socket connection to processor 2
    [889.003674] NameServer_getRemote: no socket connection to processor 3
    [889.003685] NameServer_getRemote: no socket connection to processor 4
    [889.003696] NameServer_getRemote: no socket connection to processor 5
    [889.003707] NameServer_getRemote: no socket connection to processor 6
    [889.003718] NameServer_getRemote: no socket connection to processor 7
    [889.003730] NameServer_getRemote: no socket connection to processor 8
    [889.003740]     value = 0x80
    [889.003751]     status = -5
    [889.003762] DONE
    [889.003772] Sending response...
    [889.003796] Retrieving command...
    [890.003903] LAD_NAMESERVER_GETUINT32: calling NameServer_getUInt32(0x124e8, 'SLAVE_CORE0')...
    [890.003922] NameServer_getLocal: entry key: 'SLAVE_CORE0' not found!
    [890.003935] NameServer_getRemote: no socket connection to processor 1
    [890.003946] NameServer_getRemote: no socket connection to processor 2
    [890.003958] NameServer_getRemote: no socket connection to processor 3
    [890.003969] NameServer_getRemote: no socket connection to processor 4
    [890.003980] NameServer_getRemote: no socket connection to processor 5
    [890.003991] NameServer_getRemote: no socket connection to processor 6
    [890.004003] NameServer_getRemote: no socket connection to processor 7
    [890.004014] NameServer_getRemote: no socket connection to processor 8
    [890.004024]     value = 0x80
    [890.004036]     status = -5
    [890.004046] DONE
    [890.004056] Sending response...
    [890.004079] Retrieving command...
    [891.004186] LAD_NAMESERVER_GETUINT32: calling NameServer_getUInt32(0x124e8, 'SLAVE_CORE0')...
    [891.004206] NameServer_getLocal: entry key: 'SLAVE_CORE0' not found!
    [891.004218] NameServer_getRemote: no socket connection to processor 1
    [891.004230] NameServer_getRemote: no socket connection to processor 2
    [891.004241] NameServer_getRemote: no socket connection to processor 3
    [891.004252] NameServer_getRemote: no socket connection to processor 4
    [891.004263] NameServer_getRemote: no socket connection to processor 5
    [891.004274] NameServer_getRemote: no socket connection to processor 6
    [891.004286] NameServer_getRemote: no socket connection to processor 7
    [891.004297] NameServer_getRemote: no socket connection to processor 8
    [891.004308]     value = 0x80
    [891.004319]     status = -5
    [891.004329] DONE
    [891.004339] Sending response...
    [891.004362] Retrieving command...
    [892.004470] LAD_NAMESERVER_GETUINT32: calling NameServer_getUInt32(0x124e8, 'SLAVE_CORE0')...
    [892.004490] NameServer_getLocal: entry key: 'SLAVE_CORE0' not found!
    [892.004502] NameServer_getRemote: no socket connection to processor 1
    [892.004514] NameServer_getRemote: no socket connection to processor 2
    [892.004525] NameServer_getRemote: no socket connection to processor 3
    [892.004536] NameServer_getRemote: no socket connection to processor 4
    [892.004547] NameServer_getRemote: no socket connection to processor 5
    [892.004569] NameServer_getRemote: no socket connection to processor 6
    [892.004581] NameServer_getRemote: no socket connection to processor 7
    [892.004592] NameServer_getRemote: no socket connection to processor 8
    [892.004603]     value = 0x80
    [892.004614]     status = -5
    [892.004624] DONE
    [892.004635] Sending response...
    [892.004658] Retrieving command...
    [893.004765] LAD_NAMESERVER_GETUINT32: calling NameServer_getUInt32(0x124e8, 'SLAVE_CORE0')...
    [893.004784] NameServer_getLocal: entry key: 'SLAVE_CORE0' not found!
    [893.004796] NameServer_getRemote: no socket connection to processor 1
    [893.004807] NameServer_getRemote: no socket connection to processor 2
    [893.004819] NameServer_getRemote: no socket connection to processor 3
    [893.004830] NameServer_getRemote: no socket connection to processor 4
    [893.004841] NameServer_getRemote: no socket connection to processor 5
    [893.004852] NameServer_getRemote: no socket connection to processor 6
    [893.004863] NameServer_getRemote: no socket connection to processor 7
    [893.004874] NameServer_getRemote: no socket connection to processor 8
    [893.004885]     value = 0x80
    [893.004896]     status = -5
    [893.004907] DONE
    [893.004917] Sending response...
    [893.004940] Retrieving command...
    [894.005046] LAD_NAMESERVER_GETUINT32: calling NameServer_getUInt32(0x124e8, 'SLAVE_CORE0')...
    [894.005065] NameServer_getLocal: entry key: 'SLAVE_CORE0' not found!
    [894.005078] NameServer_getRemote: no socket connection to processor 1
    [894.005089] NameServer_getRemote: no socket connection to processor 2
    [894.005100] NameServer_getRemote: no socket connection to processor 3
    [894.005111] NameServer_getRemote: no socket connection to processor 4
    [894.005123] NameServer_getRemote: no socket connection to processor 5
    [894.005135] NameServer_getRemote: no socket connection to processor 6
    [894.005146] NameServer_getRemote: no socket connection to processor 7
    [894.005157] NameServer_getRemote: no socket connection to processor 8
    [894.005168]     value = 0x80
    [894.005179]     status = -5
    [894.005189] DONE
    [894.005199] Sending response...
    [894.005222] Retrieving command...
    [894.579746] LAD_MESSAGEQ_DESTROY: calling MessageQ_destroy()...
    [894.579764] MessageQ_destroy: entered, refCount=1
    [894.579777] MessageQ_delete: deleting 0x125d0
    [894.579797] MessageQ_delete: returning 0
    [894.579815] MessageQ_destroy: exiting, refCount=0
    [894.579827]     status = 0
    [894.579838] DONE
    [894.579848] Sending response...
    [894.579871] Retrieving command...
    [894.579911] LAD_NAMESERVER_DESTROY: calling NameServer_destroy()...
    [894.579926] NameServer_destroy: entered, refCount=1
    [894.579938] NameServer_destroy: shutdown listener...
    [894.579960] NameServer_destroy: joining listener thread...
    [894.579973] NameServer: back from select()
    [894.580002] NameServer: listener thread, event: SHUTDOWN
    [894.580100] NameServer_destroy: exiting, refCount=0
    [894.580118]     status = 0
    [894.580128] DONE
    [894.580138] Sending response...
    [894.580159] Retrieving command...
    [894.580203] 
    LAD_DISCONNECT: [894.580216] 
        client handle = 0[894.580227] 
        closing FIFO /tmp/LAD/1964 (filePtr=0x122e8)
    [894.580303]     done, unlinking /tmp/LAD/1964
    [894.580367] DONE
    [894.580383] Retrieving command...
    [894.580780]    EOF detected on FIFO, closing FIFO: /tmp/LAD/LADCMDS
    [894.580833] 
        opening FIFO: /tmp/LAD/LADCMDS
    
    

    Please can you tell me where I am going wrong?

    I want to get the IPC working between ARM and DSP for the keystone2 TCI6638.

    Thanks & regards,

    VIshnu

  • I finally got the IPC in TCI6638 working. Apparently the problem was, I was loading the DSP executables through CCS as I was having some problems with mpmcl load. If we load through CCS, we get the error in NameServer_attach i.e. error 22 invalid argument in the LAD logs. I fixed the mpm issue and loaded the DSP through mpmcl load and the IPC works just fine.

    What might be the problem when we load it throuh CCS? I am using CCS 5.4 on windows, MCSDK_3_00_00_11, IPC_3_00_00_20 and corresponding pre built kernels currently (I faced the same problem with MCSDK_3_01_04_07, IPC_3_36_02_13 and the corresponding pre built kernels). I am asking because debugging programs line by line is easier in CCS compared to the trace prints when you load through the ARM cores.

    regard,

    -vishnu

  • Dear Vishnu,
    Thanks for the update.
    In keystone2, ARM will take care of loading and running the code on DSP cores, if we are running Linux on ARM then "mpmcl" command is required to do so.
    processors.wiki.ti.com/.../MCSDK_Image_Processing_Demonstration_Guide

    Also, one of customer was able to load and run the IPC code via CCS (loading the symbols for debug purpose).
    e2e.ti.com/.../1732835