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.

"Issues in booting filesystem as ramdisk/NFS/UBIFS"

Hi,

I am working in a customize board which has 66AK2H processor.

And i am porting linux kernel ,filesystem from SDK-k2hk-evm-sdk-bin-02.00.01.

I am facing many issues.while trying to boot the filesystem (tisdk-server-rootfs-image-k2hk-evm.tar.gz ) and kernel (linux-4.1.13+gitAUTOINC+8dc66170d9-g8dc6617.tar.bz2)

I mounted the filesystem in below ways,

1) Through NFS Mounting,

I am not able to login to root.

2) Through RAMDISK Filesystem /UBIFS Filesystem

Filesystem hangs at "starting udev" and gets crashed.

Earlier had discussion  under topic where to get Ramdisk filesystem source for ti K2HK.

Please support to sort out the issue,

  • Hi Vidya,

    You are right.

    I'm also not able to login in K2H filesystem if its mounted via NFS.

    Can you please try the attached "etc" folder in your NFS K2H filesystem?

    Simply backup your "etc" directory and use the attached one.

    Can you please try and let me know ?

    8078.etc_k2hk.tar.gz

  • With your etc,Kernel freeze at "Starting udev" and board restarted automatically,

    This looks same with default etc folder also,

    I tried many ways to trigger out why crash ,freeze is happening.

    I could get login prompt when i comment out below lines in /etc/init.d/udev,

    #  udevadm trigger --action=add
    #  udevadm settle
    

    this crash is not happening but cant able to login into the filesystem.

    Can you tell me what these two udev lines do when enabled,

    Attached crash log

    Bad Linux ARM zImage magic!
    U-Boot# setenv tftp_root;setenv boot net;bootm 82000000 - 88000000
    ## Booting kernel from Legacy Image at 82000000 ...
       Image Name:   Linux-4.1.13-g8dc6617
       Created:      2016-05-10  12:18:51 UTC
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    3918200 Bytes = 3.7 MiB
       Load Address: 80008000
       Entry Point:  80008000
       Verifying Checksum ... OK
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Kernel Image ... OK
       Loading Device Tree to 8fff3000, end 8ffffb51 ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Initializing cgroup subsys cpu
    [    0.000000] Initializing cgroup subsys cpuacct
    [    0.000000] Linux version 4.1.13-g8dc6617 (root@localhost.localdomain) (gcc version 4.7.3 20130226 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.03-20130313 - Linaro GCC 2013.03) ) #17 SMP PREEMPT Tue May 10 17:48:35 IST 2016
    [    0.000000] CPU: ARMv7 Processor [412fc0f4] revision 4 (ARMv7), cr=30c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    [    0.000000] Machine model: Texas Instruments Keystone 2 Kepler/Hawking EVM
    [    0.000000] Switching physical address space to 0x800000000
    [    0.000000] Reserved memory: created CMA memory pool at 0x000000081f800000, size 8 MiB
    [    0.000000] Reserved memory: initialized node dsp_common_cma_pool, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x0000000820000000, size 512 MiB
    [    0.000000] Reserved memory: initialized node dsp_reserved_mpm_area, compatible id shared-dma-pool
    [    0.000000] cma: Reserved 16 MiB at 0x000000081e800000
    [    0.000000] Forcing write-allocate cache policy for SMP
    [    0.000000] Memory policy: Data cache writealloc
    [    0.000000] PERCPU: Embedded 12 pages/cpu @de39c000 s17536 r8192 d23424 u49152
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
    [    0.000000] Kernel command line: console=ttyS0,115200n8 rootwait=1 rootfstype=nfs root=/dev/nfs rw nfsroot=172.17.1.146:/home/armdsp/k2hk-ti/board-support/k2hk-evm-sdk-bin-02.00.01/board-support-bin/filesystem/tisdk,v3,tcp,rsize=4096,wsize=4096 ip=172.17.1.57:172.17.1.146:172.17.0.3:255.255.0.0::eth0
    [    0.000000] log_buf_len individual max cpu contribution: 4096 bytes
    [    0.000000] log_buf_len total cpu_extra contributions: 12288 bytes
    [    0.000000] log_buf_len min size: 16384 bytes
    [    0.000000] log_buf_len: 32768 bytes
    [    0.000000] early log buf free: 14048(85%)
    [    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: 486900K/524288K available (5148K kernel code, 340K rwdata, 1844K rodata, 316K init, 175K bss, 12812K reserved, 24576K cma-reserved, 0K highmem)
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    [    0.000000]     vmalloc : 0xe0800000 - 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 - 0xc06dc630   (6994 kB)
    [    0.000000]       .init : 0xc06dd000 - 0xc072c000   ( 316 kB)
    [    0.000000]       .data : 0xc072c000 - 0xc0781104   ( 341 kB)
    [    0.000000]        .bss : 0xc0784000 - 0xc07afc70   ( 176 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    [    0.000000] Preemptible hierarchical RCU implementation.
    [    0.000000]  Additional per-CPU info printed with stalls.
    [    0.000000] NR_IRQS:16 nr_irqs:16 16
    [    0.000000] Architected cp15 timer(s) running at 102.40MHz (virt).
    [    0.000000] clocksource arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x179dd7f667, max_idle_ns: 440795202122 ns
    [    0.000006] sched_clock: 56 bits at 102MHz, resolution 9ns, wraps every 4398046511103ns
    [    0.000022] Switching to timer-based delay loop, resolution 9ns
    [    0.000312] keystone timer clock @102400000 Hz
    [    0.000652] Console: colour dummy device 80x30
    [    0.000675] Calibrating delay loop (skipped), value calculated using timer frequency.. 204.80 BogoMIPS (lpj=1024000)
    [    0.000692] pid_max: default: 4096 minimum: 301
    [    0.000806] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.000820] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.001545] Initializing cgroup subsys blkio
    [    0.001567] Initializing cgroup subsys devices
    [    0.001586] Initializing cgroup subsys freezer
    [    0.001619] CPU: Testing write buffer coherency: ok
    [    0.001911] /cpus/cpu@0 missing clock-frequency property
    [    0.001950] /cpus/cpu@1 missing clock-frequency property
    [    0.001988] /cpus/cpu@2 missing clock-frequency property
    [    0.002027] /cpus/cpu@3 missing clock-frequency property
    [    0.002043] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.002108] Setting up static identity map for 0x800082c0 - 0x800083cc
    [    0.069549] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [    0.089582] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
    [    0.109640] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
    [    0.109774] Brought up 4 CPUs
    [    0.109802] SMP: Total of 4 processors activated (819.20 BogoMIPS).
    [    0.109812] CPU: All CPU(s) started in SVC mode.
    [    0.110594] devtmpfs: initialized
    [    0.127382] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [    0.127985] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.129104] pinctrl core: initialized pinctrl subsystem
    [    0.129715] NET: Registered protocol family 16
    [    0.131220] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.147058] irq: no irq domain found for /soc/keystone_irq@26202a0 !
    [    0.147480] irq: no irq domain found for /soc/keystone_irq@26202a0 !
    [    0.147893] irq: no irq domain found for /soc/keystone_irq@26202a0 !
    [    0.148310] irq: no irq domain found for /soc/keystone_irq@26202a0 !
    [    0.148732] irq: no irq domain found for /soc/keystone_irq@26202a0 !
    [    0.149150] irq: no irq domain found for /soc/keystone_irq@26202a0 !
    [    0.149561] irq: no irq domain found for /soc/keystone_irq@26202a0 !
    [    0.149981] irq: no irq domain found for /soc/keystone_irq@26202a0 !
    [    0.161700] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [    0.161713] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [    0.180568] vgaarb: loaded
    [    0.181120] SCSI subsystem initialized
    [    0.181922] usbcore: registered new interface driver usbfs
    [    0.182087] usbcore: registered new interface driver hub
    [    0.182285] usbcore: registered new device driver usb
    [    0.186353] Switched to clocksource arch_sys_counter
    [    0.241045] NET: Registered protocol family 2
    [    0.241941] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.242003] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
    [    0.242114] TCP: Hash tables configured (established 4096 bind 4096)
    [    0.242171] UDP hash table entries: 256 (order: 1, 8192 bytes)
    [    0.242203] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
    [    0.242432] NET: Registered protocol family 1
    [    0.242751] RPC: Registered named UNIX socket transport module.
    [    0.242764] RPC: Registered udp transport module.
    [    0.242773] RPC: Registered tcp transport module.
    [    0.242783] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.243321] CPU PMU: Failed to parse /pmu/interrupt-affinity[0]
    [    0.243374] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
    [    0.245083] platform alarmtimer: set dma_pfn_offset00780000
    [    0.246423] futex hash table entries: 16 (order: -2, 1024 bytes)
    [    0.269696] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
    [    0.269878] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.270535] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
    [    0.273527] NET: Registered protocol family 38
    [    0.274035] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
    [    0.274061] io scheduler noop registered
    [    0.274082] io scheduler deadline registered
    [    0.274134] io scheduler cfq registered (default)
    [    0.274380] keystone_irq soc:keystone_irq@26202a0: irqchip registered, nr_irqs 28
    [    0.275454] keystone-pcie 21801000.pcie: No pcie serdes driver found: -38
    [    0.275489] keystone-pcie: probe of 21801000.pcie failed with error -38
    [    0.275957] keystone-navigator-qmss soc:qmss@2a40000: qmgr start queue 0, number of queues 8192
    [    0.276188] keystone-navigator-qmss soc:qmss@2a40000: added qmgr start queue 0, num of queues 8192, reg_peek e0980000, reg_status e097e000, reg_config e09a2000, reg_region e09a4000, reg_push e09c0000, reg_pop e0a00000
    [    0.276211] keystone-navigator-qmss soc:qmss@2a40000: qmgr start queue 8192, number of queues 8192
    [    0.276456] keystone-navigator-qmss soc:qmss@2a40000: added qmgr start queue 8192, num of queues 8192, reg_peek e0a40000, reg_status e09a6400, reg_config e09a8000, reg_region e09aa000, reg_push e0a80000, reg_pop e0ac0000
    [    0.276676] keystone-navigator-qmss soc:qmss@2a40000: failed to get firmware for pdsp
    [    0.278047] keystone-navigator-qmss soc:qmss@2a40000: pdsp id 0 not started for range acc-low-0
    [    0.279261] keystone-navigator-dma soc:knav_dmas@0: DMA dma_gbe registered 41 logical channels, flows 32, tx chans: 9, rx chans: 24
    [    0.279479] keystone-navigator-dma soc:knav_dmas@0: DMA dma_xgbe registered 48 logical channels, flows 32, tx chans: 16, rx chans: 16
    [    0.408437] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
    [    0.408585] platform serial8250: set dma_pfn_offset00780000
    [    0.411716] console [ttyS0] disabled
    [    0.411790] 2530c00.serial: ttyS0 at MMIO 0x2530c00 (irq = 26, base_baud = 6400000) is a 16550A
    [    1.261648] console [ttyS0] enabled
    [    1.266450] 2531000.serial: ttyS1 at MMIO 0x2531000 (irq = 27, base_baud = 6400000) is a 16550A
    [    1.284017] loop: module loaded
    [    1.287477] at24 0-0050: 131072 byte 24c1024 EEPROM, writable, 1 bytes/write
    [    1.346380] davinci_mdio 2090300.mdio: davinci mdio revision 1.5
    [    1.352437] libphy: 2090300.mdio: probed
    [    1.358964] netcp-1.0 2620110.netcp: module(netcp-xgbe) not used for device
    [    1.768434] platform xhci-hcd.0.auto: set dma_pfn_offset00780000
    [    1.775632] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    [    1.781456] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
    [    1.789769] xhci-hcd xhci-hcd.0.auto: hcc params 0x0298f06d hci version 0x100 quirks 0x00210010
    [    1.798579] xhci-hcd xhci-hcd.0.auto: irq 34, io mem 0x02690000
    [    1.804798] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [    1.811666] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    1.818965] usb usb1: Product: xHCI Host Controller
    [    1.823882] usb usb1: Manufacturer: Linux 4.1.13-g8dc6617 xhci-hcd
    [    1.830129] usb usb1: SerialNumber: xhci-hcd.0.auto
    [    1.835818] hub 1-0:1.0: USB hub found
    [    1.839664] hub 1-0:1.0: 1 port detected
    [    1.844126] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    [    1.849907] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
    [    1.857815] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    [    1.866163] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
    [    1.873038] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    1.880339] usb usb2: Product: xHCI Host Controller
    [    1.885256] usb usb2: Manufacturer: Linux 4.1.13-g8dc6617 xhci-hcd
    [    1.891504] usb usb2: SerialNumber: xhci-hcd.0.auto
    [    1.897196] hub 2-0:1.0: USB hub found
    [    1.901018] hub 2-0:1.0: 1 port detected
    [    1.905695] usbcore: registered new interface driver usb-storage
    [    1.912208] mousedev: PS/2 mouse device common for all mice
    [    1.918231] i2c /dev entries driver
    [    1.922931] davinci-wdt 22f0080.wdt: heartbeat 60 sec
    [    1.954460] keystone-crypto 20c0000.crypto: crypto accelerator enabled
    [    1.961555] usbcore: registered new interface driver usbhid
    [    1.967195] usbhid: USB HID core driver
    [    1.971364]  remoteproc0: releasing 10800000.dsp0
    [    1.976195]  remoteproc0: releasing 11800000.dsp1
    [    1.981046]  remoteproc0: releasing 12800000.dsp2
    [    1.985871]  remoteproc0: releasing 13800000.dsp3
    [    1.990717]  remoteproc0: releasing 14800000.dsp4
    [    1.995540]  remoteproc0: releasing 15800000.dsp5
    [    2.000576]  remoteproc0: releasing 16800000.dsp6
    [    2.005400]  remoteproc0: releasing 17800000.dsp7
    [    2.011923] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xac
    [    2.018356] nand: Micron MT29F4G08ABBDAHC
    [    2.022399] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
    [    2.030477] Bad block table found at page 262080, version 0x01
    [    2.037107] Bad block table found at page 262016, version 0x01
    [    2.043468] 3 ofpart partitions found on MTD device 30000000.nand
    [    2.049632] Creating 3 MTD partitions on "30000000.nand":
    [    2.055077] 0x000000000000-0x000000100000 : "u-boot"
    [    2.061458] 0x000000100000-0x000000180000 : "params"
    [    2.067787] 0x000000180000-0x000020000000 : "ubifs"
    [    2.074496] davinci_nand 30000000.nand: controller rev. 2.5
    [    2.080656] platform oprofile-perf.0: set dma_pfn_offset00780000
    [    2.087036] oprofile: using timer interrupt.
    [    2.091406] Netfilter messages via NETLINK v0.30.
    [    2.096170] nf_conntrack version 0.5.0 (7991 buckets, 31964 max)
    [    2.102947] ctnetlink v0.93: registering with nfnetlink.
    [    2.108814] ipip: IPv4 over IPv4 tunneling driver
    [    2.114332] gre: GRE over IPv4 demultiplexor driver
    [    2.119558] ip_tables: (C) 2000-2006 Netfilter Core Team
    [    2.125069] ipt_CLUSTERIP: ClusterIP Version 0.8 loaded successfully
    [    2.131547] arp_tables: (C) 2002 David S. Miller
    [    2.136290] Initializing XFRM netlink socket
    [    2.140649] NET: Registered protocol family 17
    [    2.145161] NET: Registered protocol family 15
    [    2.149672] 8021q: 802.1Q VLAN Support v1.8
    [    2.153921] NET: Registered protocol family 41
    [    2.158613] Registering SWP/SWPB emulation handler
    [    2.165296]  remoteproc0: releasing 10800000.dsp0
    [    2.170413]  remoteproc0: releasing 11800000.dsp1
    [    2.175319]  remoteproc0: releasing 12800000.dsp2
    [    2.180258]  remoteproc0: releasing 13800000.dsp3
    [    2.185156]  remoteproc0: releasing 14800000.dsp4
    [    2.190259]  remoteproc0: releasing 15800000.dsp5
    [    2.195157]  remoteproc0: releasing 16800000.dsp6
    [    2.200093]  remoteproc0: releasing 17800000.dsp7
    [    2.219287] 8021q: adding VLAN 0 to HW filter on device eth0
    [    2.236567] IP-Config: Complete:
    [    2.239829]      device=eth0, hwaddr=d4:f5:13:aa:d8:ba, ipaddr=172.17.1.57, mask=255.255.0.0, gw=172.17.0.3
    [    2.249673]      host=172.17.1.57, domain=, nis-domain=(none)
    [    2.255466]      bootserver=172.17.1.146, rootserver=172.17.1.146, rootpath=
    [    2.362344] VFS: Mounted root (nfs filesystem) on device 0:15.
    [    2.369129] devtmpfs: mounted
    [    2.372430] Freeing unused kernel memory: 316K (c06dd000 - c072c000)
    INIT: version 2.88 booting
    Starting udev
    [    3.204593] udevd[1176]: starting version 182
    
    
    U-Boot 2015.07-00080-g68db1b0-dirty (May 12 2016 - 11:50:43 +0530)
    
    CPU: 66AK2Hx SR2.0
    I2C:   ready
    DRAM:  DDR3 PLL (PLL2) Setup ...
    DDR3 PLL Setup complete, DDR3A clock now running at 400MHz.
    DDR3A initialization complete
    1 GiB
    NAND:  512 MiB
    Net:   K2HK_EMAC
    Hit any key to stop autoboot:  0
    

  • INIT: version 2.88 booting
    
    Starting udev
    
    udev: Not using udev cache because of changes detected in the following files:
    
    udev:     /proc/version /proc/cmdline /proc/devices
    
    udev:     lib/udev/rules.d/* etc/udev/rules.d/*
    
    udev: The udev cache will be regenerated. To identify the detected changes,
    
    udev: compare the cached sysconf at   /etc/udev/cache.data
    
    udev: against the current sysconf at  /dev/shm/udev.cache
    
    [    3.369366] udevd[1182]: starting version 182

  • Have you tried to remove the udev script (what you did already) ?
    mv /etc/init.d/udev /etc/init.d/udev_bkp

    I'm able to successful login after I used the attached /etc folder.
  • [    0.100357] CPU: All CPU(s) started in SVC mode.
    [    0.100895] devtmpfs: initialized
    [    0.117655] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [    0.118208] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.119391] pinctrl core: initialized pinctrl subsystem
    [    0.119947] NET: Registered protocol family 16
    [    0.121636] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.140951] irq: no irq domain found for /soc/keystone_irq@26202a0 !
    [    0.141368] irq: no irq domain found for /soc/keystone_irq@26202a0 !
    [    0.141777] irq: no irq domain found for /soc/keystone_irq@26202a0 !
    [    0.142186] irq: no irq domain found for /soc/keystone_irq@26202a0 !
    [    0.142597] irq: no irq domain found for /soc/keystone_irq@26202a0 !
    [    0.143013] irq: no irq domain found for /soc/keystone_irq@26202a0 !
    [    0.143419] irq: no irq domain found for /soc/keystone_irq@26202a0 !
    [    0.143907] irq: no irq domain found for /soc/keystone_irq@26202a0 !
    [    0.158186] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [    0.158200] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [    0.186069] vgaarb: loaded
    [    0.186440] SCSI subsystem initialized
    [    0.186857] usbcore: registered new interface driver usbfs
    [    0.186955] usbcore: registered new interface driver hub
    [    0.187563] usbcore: registered new device driver usb
    [    0.193615] Switched to clocksource arch_sys_counter
    [    0.255080] NET: Registered protocol family 2
    [    0.255921] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.255984] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
    [    0.256093] TCP: Hash tables configured (established 4096 bind 4096)
    [    0.256154] UDP hash table entries: 256 (order: 1, 8192 bytes)
    [    0.256186] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
    [    0.256420] NET: Registered protocol family 1
    [    0.257291] RPC: Registered named UNIX socket transport module.
    [    0.257304] RPC: Registered udp transport module.
    [    0.257314] RPC: Registered tcp transport module.
    [    0.257324] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.257855] CPU PMU: Failed to parse /pmu/interrupt-affinity[0]
    [    0.257897] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
    [    0.259712] platform alarmtimer: set dma_pfn_offset00780000
    [    0.260943] futex hash table entries: 16 (order: -2, 1024 bytes)
    [    0.289621] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
    [    0.289799] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.290460] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
    [    0.294387] NET: Registered protocol family 38
    [    0.294755] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
    [    0.294780] io scheduler noop registered
    [    0.294801] io scheduler deadline registered
    [    0.294851] io scheduler cfq registered (default)
    [    0.295096] keystone_irq soc:keystone_irq@26202a0: irqchip registered, nr_irqs 28
    [    0.295822] keystone-pcie 21801000.pcie: No pcie serdes driver found: -38
    [    0.295857] keystone-pcie: probe of 21801000.pcie failed with error -38
    [    0.296239] keystone-navigator-qmss soc:qmss@2a40000: qmgr start queue 0, number of queues 8192
    [    0.296445] keystone-navigator-qmss soc:qmss@2a40000: added qmgr start queue 0, num of queues 8192, reg_peek e0980000, reg_status e097e000, reg_config e09a2000, reg_region e09a4000, reg_push e09c0000, reg_pop e0a00000
    [    0.296464] keystone-navigator-qmss soc:qmss@2a40000: qmgr start queue 8192, number of queues 8192
    [    0.296661] keystone-navigator-qmss soc:qmss@2a40000: added qmgr start queue 8192, num of queues 8192, reg_peek e0a40000, reg_status e09a6400, reg_config e09a8000, reg_region e09aa000, reg_push e0a80000, reg_pop e0ac0000
    [    0.296875] keystone-navigator-qmss soc:qmss@2a40000: failed to get firmware for pdsp
    [    0.298228] keystone-navigator-qmss soc:qmss@2a40000: pdsp id 0 not started for range acc-low-0
    [    0.299349] keystone-navigator-dma soc:knav_dmas@0: DMA dma_gbe registered 41 logical channels, flows 32, tx chans: 9, rx chans: 24
    [    0.299561] keystone-navigator-dma soc:knav_dmas@0: DMA dma_xgbe registered 48 logical channels, flows 32, tx chans: 16, rx chans: 16
    [    0.455677] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
    [    0.455821] platform serial8250: set dma_pfn_offset00780000
    [    0.459825] console [ttyS0] disabled
    [    0.459900] 2530c00.serial: ttyS0 at MMIO 0x2530c00 (irq = 26, base_baud = 6400000) is a 16550A
    [    1.318275] console [ttyS0] enabled
    [    1.323132] 2531000.serial: ttyS1 at MMIO 0x2531000 (irq = 27, base_baud = 6400000) is a 16550A
    [    1.342147] loop: module loaded
    [    1.345905] at24 0-0050: 131072 byte 24c1024 EEPROM, writable, 1 bytes/write
    [    1.402211] davinci_mdio 2090300.mdio: davinci mdio revision 1.5
    [    1.408268] libphy: 2090300.mdio: probed
    [    1.415387] netcp-1.0 2620110.netcp: module(netcp-xgbe) not used for device
    [    1.825719] platform xhci-hcd.0.auto: set dma_pfn_offset00780000
    [    1.833227] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    [    1.839403] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
    [    1.847677] xhci-hcd xhci-hcd.0.auto: hcc params 0x0298f06d hci version 0x100 quirks 0x00210010
    [    1.856524] xhci-hcd xhci-hcd.0.auto: irq 34, io mem 0x02690000
    [    1.862779] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [    1.869626] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    1.876963] usb usb1: Product: xHCI Host Controller
    [    1.882002] usb usb1: Manufacturer: Linux 4.1.13-g8dc6617 xhci-hcd
    [    1.888232] usb usb1: SerialNumber: xhci-hcd.0.auto
    [    1.894099] hub 1-0:1.0: USB hub found
    [    1.898064] hub 1-0:1.0: 1 port detected
    [    1.902604] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    [    1.908444] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
    [    1.916481] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    [    1.924879] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
    [    1.931780] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    1.939062] usb usb2: Product: xHCI Host Controller
    [    1.944073] usb usb2: Manufacturer: Linux 4.1.13-g8dc6617 xhci-hcd
    [    1.950303] usb usb2: SerialNumber: xhci-hcd.0.auto
    [    1.956134] hub 2-0:1.0: USB hub found
    [    1.960093] hub 2-0:1.0: 1 port detected
    [    1.964925] usbcore: registered new interface driver usb-storage
    [    1.971714] mousedev: PS/2 mouse device common for all mice
    [    1.978005] i2c /dev entries driver
    [    1.983168] davinci-wdt 22f0080.wdt: heartbeat 60 sec
    [    2.014767] keystone-crypto 20c0000.crypto: crypto accelerator enabled
    [    2.022218] usbcore: registered new interface driver usbhid
    [    2.027836] usbhid: USB HID core driver
    [    2.032255]  remoteproc0: releasing 10800000.dsp0
    [    2.037086]  remoteproc0: releasing 11800000.dsp1
    [    2.042006]  remoteproc0: releasing 12800000.dsp2
    [    2.046831]  remoteproc0: releasing 13800000.dsp3
    [    2.051862]  remoteproc0: releasing 14800000.dsp4
    [    2.056691]  remoteproc0: releasing 15800000.dsp5
    [    2.061513]  remoteproc0: releasing 16800000.dsp6
    [    2.066554]  remoteproc0: releasing 17800000.dsp7
    [    2.073173] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xac
    [    2.079577] nand: Micron MT29F4G08ABBDAHC
    [    2.083951] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
    [    2.092064] Bad block table found at page 262080, version 0x01
    [    2.098670] Bad block table found at page 262016, version 0x01
    [    2.105084] 3 ofpart partitions found on MTD device 30000000.nand
    [    2.111226] Creating 3 MTD partitions on "30000000.nand":
    [    2.116755] 0x000000000000-0x000000100000 : "u-boot"
    [    2.123392] 0x000000100000-0x000000180000 : "params"
    [    2.130200] 0x000000180000-0x000020000000 : "ubifs"
    [    2.137475] davinci_nand 30000000.nand: controller rev. 2.5
    [    2.144096] platform oprofile-perf.0: set dma_pfn_offset00780000
    [    2.150789] oprofile: using timer interrupt.
    [    2.155327] Netfilter messages via NETLINK v0.30.
    [    2.160093] nf_conntrack version 0.5.0 (7991 buckets, 31964 max)
    [    2.167012] ctnetlink v0.93: registering with nfnetlink.
    [    2.173235] ipip: IPv4 over IPv4 tunneling driver
    [    2.179120] gre: GRE over IPv4 demultiplexor driver
    [    2.184517] ip_tables: (C) 2000-2006 Netfilter Core Team
    [    2.190033] ipt_CLUSTERIP: ClusterIP Version 0.8 loaded successfully
    [    2.196551] arp_tables: (C) 2002 David S. Miller
    [    2.201297] Initializing XFRM netlink socket
    [    2.205865] NET: Registered protocol family 17
    [    2.210380] NET: Registered protocol family 15
    [    2.215128] 8021q: 802.1Q VLAN Support v1.8
    [    2.219380] NET: Registered protocol family 41
    [    2.224168] Registering SWP/SWPB emulation handler
    [    2.231548]  remoteproc0: releasing 10800000.dsp0
    [    2.236804]  remoteproc0: releasing 11800000.dsp1
    [    2.241767]  remoteproc0: releasing 12800000.dsp2
    [    2.246670]  remoteproc0: releasing 13800000.dsp3
    [    2.251567]  remoteproc0: releasing 14800000.dsp4
    [    2.256687]  remoteproc0: releasing 15800000.dsp5
    [    2.261586]  remoteproc0: releasing 16800000.dsp6
    [    2.266583]  remoteproc0: releasing 17800000.dsp7
    [    2.285491] 8021q: adding VLAN 0 to HW filter on device eth0
    [    2.301861] IP-Config: Complete:
    [    2.305122]      device=eth0, hwaddr=d4:f5:13:aa:d8:ba, ipaddr=172.17.1.57, mask=255.255.0.0, gw=172.17.0.3
    [    2.315156]      host=172.17.1.57, domain=, nis-domain=(none)
    [    2.320951]      bootserver=172.17.1.146, rootserver=172.17.1.146, rootpath=
    [    2.427412] VFS: Mounted root (nfs filesystem) on device 0:15.
    [    2.434195] devtmpfs: mounted
    [    2.437496] Freeing unused kernel memory: 316K (c06dd000 - c072c000)
    INIT: version 2.88 booting
    [    3.129501] cmemk: disagrees about version of symbol module_layout
    [    3.180925] cryptodev: disagrees about version of symbol module_layout
    [    3.228577] gdbserverproxy: disagrees about version of symbol module_layout
    [    3.276663] hplibmod: disagrees about version of symbol module_layout
    [    3.369088] virtio_ring: disagrees about version of symbol module_layout
    [    3.419799] uio: disagrees about version of symbol module_layout
    Starting random number generator daemonread error
    
    read error
    
    .
    [    3.728961] random: dd urandom read with 89 bits of entropy available
    rm: can't remove '/tmp': Permission denied
    [    5.151879] random: nonblocking pool is initialized
    Wed Apr  6 01:27:38 UTC 2016
    INIT: Entering runlevel: 5
    NOT configuring network interfaces: / is an NFS mount
    udhcpc (v1.23.1) started
    Sending discover...
    Sending select for 172.17.2.177...
    Lease of 172.17.2.177 obtained, lease time 7200
    /etc/udhcpc.d/50default: Adding DNS 172.17.0.1
    /etc/udhcpc.d/50default: Adding DNS 8.8.8.8
    /etc/udhcpc.d/50default: Adding DNS 8.8.4.4
    /etc/udhcpc.d/50default: Adding DNS 202.251.202.3
    Starting system message bus: dbus.
    Starting Dropbear SSH server: Generating key, this may take a while...
    Public key portion is:
    ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCsQF2lkeeZK1Bx/eUEtD69BulTFdvzYEq47fO805DeBvfKJImvNxzbVKeOcrDb3YsCIiaEBT48pFQlZzlEU/b7Sxrb8hDOPK6zu1xnpef5aHwDfzwvg92/cNsBs2JdIVhu9pwuxW2Q6mrEr1GkNCeq7UVvzWfAoUubTQh1OwKuPmoPk6Nf9RtL30z8q/vh7uaVSGp64KYSkzVcRUxP3CRK+KaChUy72ob2r4i31aCd8h5PkjwQGhcmGDBPiemmm9no3u4Hi/UCBgxjmSWJZcl5vL5swU3KVJsAlR99G4XoNKTMpJXyWuLeLwvxxnKpOl5ZjlF9Mi0q9eaU3NYT5+aj root@k2hk-evm
    Fingerprint: md5 4d:10:62:46:be:f8:e2:c9:8a:d6:ba:3e:b3:e9:24:9f
    [   14.007758] ipv6: disagrees about version of symbol module_layout
    [   14.026666] ipv6: disagrees about version of symbol module_layout
    dropbear.
    Starting mpmsrv daemon.
    platform: k2hk-evm
    Starting softhsm daemon.
    Starting telnet daemon.
    [   14.465241] ipv6: disagrees about version of symbol module_layout
    Starting rpcbind daemon...[   14.596463] ipv6: disagrees about version of symbol module_layout
    rpcbind: cannot create socket for udp6
    [   14.616039] ipv6: disagrees about version of symbol module_layout
    rpcbind: cannot create socket for tcp6
    done.
    [   14.667638] ipv6: disagrees about version of symbol module_layout
    starting statd: done
    Starting thttpd[   15.454144] ipv6: disagrees about version of symbol module_layout
    .
    Starting Lighttpd Web Server: [   15.492827] ipv6: disagrees about version of symbol module_layout
    lighttpd.
    2016-04-06 01:27:46: (/home/gtbldadm/processor-sdk-linux-fido-build/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa15hf-vfp-neon-linux-gnueabi/lighttpd/1.4.35-r1/lighttpd-1.4.35/src/log.c.164) server started
    * starting FTP Server: vsftpd... done.
    /etc/rc5.d/S98parse-ip: line 35: ipaddr: Permission denied
    /etc/rc5.d/S98parse-ip: line 36: ipaddr: Permission denied
    /etc/rc5.d/S98parse-ip: line 37: ipaddr: Permission denied
    /etc/rc5.d/S98parse-ip: line 38: ipaddr: Permission denied
    cat: can't open 'ipaddr': No such file or directory
    /etc/rc5.d/S98parse-ip: line 43: ipaddr: Permission denied
    cat: can't open 'ipaddr': No such file or directory
    Enabling thermal zones...
    /etc/rc5.d/S98thermal-zone-init: line 7: /sys/class/thermal/thermal_zone*/mode: No such file or directory
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPLv3 packages:
            autoconf
            binutils-dev
            binutils
            bison-dev
            bison
            cpp-symlinks
            cpp
            g++-symlinks
            g++
            gawk-dev
            gawk
            gcc-symlinks
            gcc
            gdb
            gdbc6x
            gdbserver
            libgmp10
            libmpc3
            libmpfr4
            make
    
    If you do not wish to distribute GPLv3 components please remove
    the above packages prior to distribution.  This can be done using
    the opkg remove command.  i.e.:
        opkg remove <package>
    Where <package> is the name printed in the list above
    
    NOTE: If the package is a dependency of another package you
          will be notified of the dependent packages.  You should
          use the --force-removal-of-dependent-packages option to
          also remove the dependent packages as well
    ***************************************************************
    ***************************************************************
    
     _____                    _____           _         _
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|
                  |___|                    |___|
    
    Arago Project http://arago-project.org k2hk-evm /dev/ttyS0
    
    Arago 2016.03 k2hk-evm /dev/ttyS0
    
    k2hk-evm login: root
    
    Login incorrect
    k2hk-evm login: root
    
    Login incorrect
    k2hk-evm login:
    
    Yes,I renamed to udevbk

    but still i am not able to login.

    Attached the log,

    Can you check whether the log is same in both of our case.

  • Try to replace the attached file in your NFS location /etc/init.d/rcS

    https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/791/rcS

  • Yes,

    I am able to get the bash prompt,but how to start demon like mpmsrv,telnet and other things.


     

    Attached log,

    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 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 - 0xc06dc630   (6994 kB)
    [    0.000000]       .init : 0xc06dd000 - 0xc072c000   ( 316 kB)
    [    0.000000]       .data : 0xc072c000 - 0xc0781104   ( 341 kB)
    [    0.000000]        .bss : 0xc0784000 - 0xc07afc70   ( 176 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    [    0.000000] Preemptible hierarchical RCU implementation.
    [    0.000000]  Additional per-CPU info printed with stalls.
    [    0.000000] NR_IRQS:16 nr_irqs:16 16
    [    0.000000] Architected cp15 timer(s) running at 102.40MHz (virt).
    [    0.000000] clocksource arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x179dd7f667, max_idle_ns: 440795202122 ns
    [    0.000006] sched_clock: 56 bits at 102MHz, resolution 9ns, wraps every 4398046511103ns
    [    0.000021] Switching to timer-based delay loop, resolution 9ns
    [    0.000313] keystone timer clock @102400000 Hz
    [    0.000646] Console: colour dummy device 80x30
    [    0.000668] Calibrating delay loop (skipped), value calculated using timer frequency.. 204.80 BogoMIPS (lpj=1024000)
    [    0.000687] pid_max: default: 4096 minimum: 301
    [    0.000799] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.000813] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.001537] Initializing cgroup subsys blkio
    [    0.001558] Initializing cgroup subsys devices
    [    0.001577] Initializing cgroup subsys freezer
    [    0.001609] CPU: Testing write buffer coherency: ok
    [    0.001899] /cpus/cpu@0 missing clock-frequency property
    [    0.001938] /cpus/cpu@1 missing clock-frequency property
    [    0.001976] /cpus/cpu@2 missing clock-frequency property
    [    0.002016] /cpus/cpu@3 missing clock-frequency property
    [    0.002031] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.002094] Setting up static identity map for 0x800082c0 - 0x800083cc
    [    0.069550] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [    0.089585] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
    [    0.109638] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
    [    0.109769] Brought up 4 CPUs
    [    0.109799] SMP: Total of 4 processors activated (819.20 BogoMIPS).
    [    0.109809] CPU: All CPU(s) started in SVC mode.
    [    0.110596] devtmpfs: initialized
    [    0.127356] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [    0.127963] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.129083] pinctrl core: initialized pinctrl subsystem
    [    0.129696] NET: Registered protocol family 16
    [    0.131214] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.147077] irq: no irq domain found for /soc/keystone_irq@26202a0 !
    [    0.147499] irq: no irq domain found for /soc/keystone_irq@26202a0 !
    [    0.147913] irq: no irq domain found for /soc/keystone_irq@26202a0 !
    [    0.148325] irq: no irq domain found for /soc/keystone_irq@26202a0 !
    [    0.148747] irq: no irq domain found for /soc/keystone_irq@26202a0 !
    [    0.149165] irq: no irq domain found for /soc/keystone_irq@26202a0 !
    [    0.149578] irq: no irq domain found for /soc/keystone_irq@26202a0 !
    [    0.149997] irq: no irq domain found for /soc/keystone_irq@26202a0 !
    [    0.161724] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [    0.161737] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [    0.180568] vgaarb: loaded
    [    0.181123] SCSI subsystem initialized
    [    0.181924] usbcore: registered new interface driver usbfs
    [    0.182089] usbcore: registered new interface driver hub
    [    0.182287] usbcore: registered new device driver usb
    [    0.186352] Switched to clocksource arch_sys_counter
    [    0.241091] NET: Registered protocol family 2
    [    0.241992] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.242053] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
    [    0.242164] TCP: Hash tables configured (established 4096 bind 4096)
    [    0.242222] UDP hash table entries: 256 (order: 1, 8192 bytes)
    [    0.242254] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
    [    0.242485] NET: Registered protocol family 1
    [    0.242809] RPC: Registered named UNIX socket transport module.
    [    0.242822] RPC: Registered udp transport module.
    [    0.242831] RPC: Registered tcp transport module.
    [    0.242841] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.243379] CPU PMU: Failed to parse /pmu/interrupt-affinity[0]
    [    0.243430] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
    [    0.245134] platform alarmtimer: set dma_pfn_offset00780000
    [    0.246493] futex hash table entries: 16 (order: -2, 1024 bytes)
    [    0.269845] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
    [    0.270026] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.270680] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
    [    0.273628] NET: Registered protocol family 38
    [    0.274123] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
    [    0.274150] io scheduler noop registered
    [    0.274171] io scheduler deadline registered
    [    0.274223] io scheduler cfq registered (default)
    [    0.274464] keystone_irq soc:keystone_irq@26202a0: irqchip registered, nr_irqs 28
    [    0.275485] keystone-pcie 21801000.pcie: No pcie serdes driver found: -38
    [    0.275520] keystone-pcie: probe of 21801000.pcie failed with error -38
    [    0.275966] keystone-navigator-qmss soc:qmss@2a40000: qmgr start queue 0, number of queues 8192
    [    0.276185] keystone-navigator-qmss soc:qmss@2a40000: added qmgr start queue 0, num of queues 8192, reg_peek e0980000, reg_status e097e000, reg_config e09a2000, reg_region e09a4000, reg_push e09c0000, reg_pop e0a00000
    [    0.276204] keystone-navigator-qmss soc:qmss@2a40000: qmgr start queue 8192, number of queues 8192
    [    0.276438] keystone-navigator-qmss soc:qmss@2a40000: added qmgr start queue 8192, num of queues 8192, reg_peek e0a40000, reg_status e09a6400, reg_config e09a8000, reg_region e09aa000, reg_push e0a80000, reg_pop e0ac0000
    [    0.276665] keystone-navigator-qmss soc:qmss@2a40000: failed to get firmware for pdsp
    [    0.278020] keystone-navigator-qmss soc:qmss@2a40000: pdsp id 0 not started for range acc-low-0
    [    0.279228] keystone-navigator-dma soc:knav_dmas@0: DMA dma_gbe registered 41 logical channels, flows 32, tx chans: 9, rx chans: 24
    [    0.279436] keystone-navigator-dma soc:knav_dmas@0: DMA dma_xgbe registered 48 logical channels, flows 32, tx chans: 16, rx chans: 16
    [    0.398452] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
    [    0.398602] platform serial8250: set dma_pfn_offset00780000
    [    0.401269] console [ttyS0] disabled
    [    0.401369] 2530c00.serial: ttyS0 at MMIO 0x2530c00 (irq = 26, base_baud = 6400000) is a 16550A
    [    1.251332] console [ttyS0] enabled
    [    1.256099] 2531000.serial: ttyS1 at MMIO 0x2531000 (irq = 27, base_baud = 6400000) is a 16550A
    [    1.273706] loop: module loaded
    [    1.277164] at24 0-0050: 131072 byte 24c1024 EEPROM, writable, 1 bytes/write
    [    1.336378] davinci_mdio 2090300.mdio: davinci mdio revision 1.5
    [    1.342435] libphy: 2090300.mdio: probed
    [    1.348964] netcp-1.0 2620110.netcp: module(netcp-xgbe) not used for device
    [    1.758419] platform xhci-hcd.0.auto: set dma_pfn_offset00780000
    [    1.765611] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    [    1.771434] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
    [    1.779755] xhci-hcd xhci-hcd.0.auto: hcc params 0x0298f06d hci version 0x100 quirks 0x00210010
    [    1.788565] xhci-hcd xhci-hcd.0.auto: irq 34, io mem 0x02690000
    [    1.794783] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [    1.801650] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    1.808948] usb usb1: Product: xHCI Host Controller
    [    1.813865] usb usb1: Manufacturer: Linux 4.1.13-g8dc6617 xhci-hcd
    [    1.820112] usb usb1: SerialNumber: xhci-hcd.0.auto
    [    1.825807] hub 1-0:1.0: USB hub found
    [    1.829653] hub 1-0:1.0: 1 port detected
    [    1.834112] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    [    1.839891] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
    [    1.847795] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    [    1.856146] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
    [    1.863021] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    1.870321] usb usb2: Product: xHCI Host Controller
    [    1.875238] usb usb2: Manufacturer: Linux 4.1.13-g8dc6617 xhci-hcd
    [    1.881486] usb usb2: SerialNumber: xhci-hcd.0.auto
    [    1.887196] hub 2-0:1.0: USB hub found
    [    1.891018] hub 2-0:1.0: 1 port detected
    [    1.895690] usbcore: registered new interface driver usb-storage
    [    1.902199] mousedev: PS/2 mouse device common for all mice
    [    1.908271] i2c /dev entries driver
    [    1.913268] davinci-wdt 22f0080.wdt: heartbeat 60 sec
    [    1.944956] keystone-crypto 20c0000.crypto: crypto accelerator enabled
    [    1.952263] usbcore: registered new interface driver usbhid
    [    1.957902] usbhid: USB HID core driver
    [    1.962074]  remoteproc0: releasing 10800000.dsp0
    [    1.966929]  remoteproc0: releasing 11800000.dsp1
    [    1.971757]  remoteproc0: releasing 12800000.dsp2
    [    1.976606]  remoteproc0: releasing 13800000.dsp3
    [    1.981430]  remoteproc0: releasing 14800000.dsp4
    [    1.986253]  remoteproc0: releasing 15800000.dsp5
    [    1.991286]  remoteproc0: releasing 16800000.dsp6
    [    1.996111]  remoteproc0: releasing 17800000.dsp7
    [    2.002735] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xac
    [    2.009201] nand: Micron MT29F4G08ABBDAHC
    [    2.013246] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
    [    2.021324] Bad block table found at page 262080, version 0x01
    [    2.027954] Bad block table found at page 262016, version 0x01
    [    2.034315] 3 ofpart partitions found on MTD device 30000000.nand
    [    2.040475] Creating 3 MTD partitions on "30000000.nand":
    [    2.045920] 0x000000000000-0x000000100000 : "u-boot"
    [    2.052526] 0x000000100000-0x000000180000 : "params"
    [    2.059079] 0x000000180000-0x000020000000 : "ubifs"
    [    2.066017] davinci_nand 30000000.nand: controller rev. 2.5
    [    2.072302] platform oprofile-perf.0: set dma_pfn_offset00780000
    [    2.078835] oprofile: using timer interrupt.
    [    2.083210] Netfilter messages via NETLINK v0.30.
    [    2.087998] nf_conntrack version 0.5.0 (7991 buckets, 31964 max)
    [    2.094884] ctnetlink v0.93: registering with nfnetlink.
    [    2.100862] ipip: IPv4 over IPv4 tunneling driver
    [    2.106580] gre: GRE over IPv4 demultiplexor driver
    [    2.111778] ip_tables: (C) 2000-2006 Netfilter Core Team
    [    2.117303] ipt_CLUSTERIP: ClusterIP Version 0.8 loaded successfully
    [    2.123757] arp_tables: (C) 2002 David S. Miller
    [    2.128523] Initializing XFRM netlink socket
    [    2.132863] NET: Registered protocol family 17
    [    2.137399] NET: Registered protocol family 15
    [    2.141890] 8021q: 802.1Q VLAN Support v1.8
    [    2.146137] NET: Registered protocol family 41
    [    2.150894] Registering SWP/SWPB emulation handler
    [    2.157875]  remoteproc0: releasing 10800000.dsp0
    [    2.162782]  remoteproc0: releasing 11800000.dsp1
    [    2.167711]  remoteproc0: releasing 12800000.dsp2
    [    2.172609]  remoteproc0: releasing 13800000.dsp3
    [    2.177531]  remoteproc0: releasing 14800000.dsp4
    [    2.182426]  remoteproc0: releasing 15800000.dsp5
    [    2.187344]  remoteproc0: releasing 16800000.dsp6
    [    2.192240]  remoteproc0: releasing 17800000.dsp7
    [    2.211444] 8021q: adding VLAN 0 to HW filter on device eth0
    [    2.236549] IP-Config: Complete:
    [    2.239809]      device=eth0, hwaddr=d4:f5:13:aa:d8:ba, ipaddr=172.17.1.57, mask=255.255.0.0, gw=172.17.0.3
    [    2.249875]      host=172.17.1.57, domain=, nis-domain=(none)
    [    2.255670]      bootserver=172.17.1.146, rootserver=172.17.1.146, rootpath=
    [    2.362541] VFS: Mounted root (nfs filesystem) on device 0:15.
    [    2.369310] devtmpfs: mounted
    [    2.372609] Freeing unused kernel memory: 316K (c06dd000 - c072c000)
    INIT: version 2.88 booting
    bash-3.2# ls
    8078.etc_k2hk.tar.gz          mpmsrv_keystone2_example.out
    bin                           opt
    boot                          proc
    compile.sh                    run
    dev                           sbin
    etc                           srv
    etc-tisdkorginal.tar.bz2      sys
    home                          tmp
    include                       ubi-boot.img
    lib                           usr
    media                         var
    mnt                           www
    bash-3.2#
    bash-3.2#
    

  • Try to run the scripts manually and see if it helps.
    Ex:
    /etc/init.d/udev start

    Or press [ctrl]+d
  • You want to revert back rcS to original one and try ?
  • Hi Titus,

    can you confirm this,

    Do i need to use original rcS instead of one you have sent.
  • I flashed tisdk-server-rootfs-image-k2hk-evm.ubi image in NAND.


    And in u-boot prompt i want to modify the boot partition,

    ubi part ubifs

    ubifsmount boot

    When i gave "ubifsmount boot",bootloader through Error reading superblock on volume 'boot' errno=-22!

    but when i gave ubifsmount ubi:rootfs, i am able to see the content of fs through ubifsls command,

    U-Boot# ubifsls
    <DIR>        5304  Sat Jan 09 00:05:51 2016  bin
    <DIR>         160  Fri Jan 08 22:43:47 2016  dev
    <DIR>        7336  Sat Jan 09 00:07:07 2016  etc
    <DIR>        7192  Sat Jan 09 00:05:09 2016  lib
    <DIR>         304  Sat Jan 09 00:04:09 2016  mnt
    <DIR>         224  Sat Jan 09 00:04:28 2016  opt
    <DIR>         224  Thu Jan 01 00:00:36 1970  run
    <DIR>         224  Sat Jan 09 00:04:52 2016  srv
    <DIR>         160  Fri Jan 08 22:43:47 2016  tmp
    <DIR>         160  Fri Jan 08 22:43:47 2016  sys
    <DIR>         808  Fri Jan 08 22:56:38 2016  var
    <DIR>         688  Fri Jan 08 22:56:39 2016  usr
    <DIR>         352  Sat Jan 09 00:05:05 2016  www
    <DIR>         696  Sat Jan 09 00:07:04 2016  boot
    <DIR>         224  Sat Jan 09 00:03:15 2016  home
    <DIR>         160  Fri Jan 08 22:43:47 2016  proc
    <DIR>        7968  Sat Jan 09 00:05:52 2016  sbin
    <DIR>         224  Sat Jan 09 00:03:25 2016  include
    <DIR>         160  Fri Jan 08 22:43:47 2016  media
    

    I guess the vol name for boot is wrong.

    I dont have ubinize.cfg for this tisdk image.

    Can you  please verify and let me know,

  • How did you export your filesystem in NFS server (PC) ?
    Can you please attach your "/etc/exports" file ?

    I'm able to mount the filesystem and able login in it via NFS mode.
  • Can able to attach exportfs file, 
    So i have pasted the contents in the exportfs file below,

    /home/SROOT/ *(rw,sync,no_root_squash) /home/vidya/fslsarath *(rw,sync,no_root_squash) /home/videouser/fs/p1022filesys-grap *(rw,sync,no_root_squash) /home/videouser/fs/xorg-1.9/fs-xorg-1.9 *(rw,sync,no_root_squash) /home/videouser/fs/xorg-1.14/ROOTFS *(rw,sync,no_root_squash) /home/7410_Projects/target-minimal *(rw,sync,no_root_squash) /home/armdsp/k2hk-ti/board-support/k2hk-evm-sdk-bin-02.00.01/board-support-bin/filesystem/tisdk *(rw,sync,no_subtree_check)

    The last line in the script is our tisdk filesystem

  • Don't change anything in the filesystem neither rcS nor any script change to solve the login issue.
    Just add the "no_root_squash" keyword in your fs entry.

    Old one with issue:
    /usr/local/psdk_02_00_02_11_k2hk_fs *(rw,sync,no_subtree_check)

    New one:
    /usr/local/psdk_02_00_02_11_k2hk_fs *(rw,sync,no_subtree_check,no_root_squash)

    Please let us know the results.

    If you see the udev hang still, then as I said earlier, you can rename to some not to call the udev script.
    mv k2hk_fs/etc/init.d/udev k2hk_fs/etc/init.d/udev_bkp

    PS:
    Please use the fresh filesystem untar-ed to do this. (avoid the confusion)

  • I have built the fresh filesystem but image size much bigger, my nand flash is 512MB,

    and show error "Error: max_leb_cnt too low (4017 needed)"

    Can you please confirm this command,

    root@localhost filesystem]# mkfs.ubifs -r tisdk/ -o rootfs.ubifs -F -m 2048 -e 126976 -c 3520
    
    Error: max_leb_cnt too low (4017 needed)
    
    [root@localhost filesystem]# ubinize -o tisdkfs.ubi -m 2048 -p 128KiB -s 2048 -O 2048 tisdkubinize.cfg
    ubinize: volume size was not specified in section "rootfs", assume minimum to fit image "rootfs.ubifs"510062592 bytes (486.4 MiB)

    ubinize.cfg,

    [ubifs_rootfs_volume]
    mode=ubi
    image=/home/armdsp/k2hk-ti/board-support/k2hk-evm-sdk-bin-02.00.01/board-support-bin/filesystem/tisdk/ubi.img
    vol_id=0
    vol_size=122MiB
    vol_type=dynamic
    vol_name=boot
    [rootfs]
    mode=ubi
    image=rootfs.ubifs
    vol_id=1
    vol_type=dynamic
    vol_name=rootfs
    vol_flags=autoresize

  • Try the following command to create ubifs image.
    mkfs.ubifs -r tisdk/ -o rootfs.ubifs -F -m 2048 -e 126976 -c 4020

    BTW, have you tried to solve the login issue with my suggestion ??
  • Through NFS booting,

    filesystem got crashed after "starting udev"

    Attached the log,

    INIT: version 2.88 booting
    Starting udev
    [    3.219668] udevd[1176]: starting version 182
    [    3.504981] Unable to handle kernel paging request at virtual address 7efec010
    [    3.512605] Unable to handle kernel paging request at virtual address 01260110
    [    3.513048] Unable to handle kernel paging request at virtual address 59e3a078
    [    3.513054] pgd = dd29a580
    [    3.513064] [59e3a078] *pgd=00000000
    [    3.513077] Internal error: Oops: 205 [#1] PREEMPT SMP ARM
    [    3.513087] Modules linked in:
    [    3.513099] CPU: 2 PID: 1193 Comm: udevd Not tainted 4.1.13-g8dc6617 #17
    /etc/rcS.d/S04ud[    3.513103] Hardware name: Keystone
    ev: line 44:  11[    3.513110] task: dd0e84c0 ti: dd366000 task.ti: dd366000
    79 Segmentation [    3.513134] PC is at filemap_fault+0x20/0x474
    fault      udeva[    3.513145] LR is at __do_fault+0x3c/0x9c
    dm trigger --act[    3.513154] pc : [<c00c4638>]    lr : [<c00e5fa0>]    psr: 60010113
    [    3.513154] sp : dd367da8  ip : c04f84c0  fp : dd2587c0
    ion=add
    [    3.513160] r10: 02000000  r9 : 0002801d  r8 : 59e3a010
    [    3.513167] r7 : dd31f000  r6 : 00000054  r5 : 00000870  r4 : 00000000
    [    3.513173] r3 : c00c4618  r2 : 02000000  r1 : dd367dfc  r0 : dd326060
    [    3.513181] Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
    [    3.513187] Control: 30c5387d  Table: 1d29a580  DAC: 55555555
    [    3.513193] Process udevd (pid: 1193, stack limit = 0xdd366210)
    [    3.513199] Stack: (0xdd367da8 to 0xdd368000)
    [    3.513209] 7da0:                   04e00008 b6f22000 dd326120 c0015080 00028021 dd2587c0
    [    3.513219] 7dc0: dd2587c0 dd367dfc dd326060 dd367e84 00028021 00000000 00000870 00000054
    [    3.513228] 7de0: dd31f000 dd325000 00000db8 dd326060 b6f0e000 c00e5fa0 02000000 00000054
    [    3.513237] 7e00: 02000000 b6f0e000 00000000 00000000 dd31f000 b6f13000 b6f0e000 02000000
    [    3.513246] 7e20: 00000870 c00e9b3c 00000000 dd367e80 00000000 00800000 00000001 00000000
    [    3.513254] 7e40: 00000001 c00c6c0c 0fef82df 04e00008 00800000 de3ed000 00000000 c0733144
    [    3.513262] 7e60: de7934bc 00000008 00000870 dd325000 dd325870 0000000f 1d325003 00000008
    [    3.513271] 7e80: dd367eac 00000054 02000000 b6f0e000 00000001 00000000 02000004 dd325870
    [    3.513280] 7ea0: 00000001 dd367fb0 00000207 dd4cd6c0 b6f0e18c dd0e84c0 dd4cd6fc dd326060
    [    3.513289] 7ec0: 00000054 c04e0f5c 00000000 dd216180 dd216174 c0059acc 00000000 c04dfc9c
    [    3.513298] 7ee0: 00000000 00000000 dd26e800 00000207 c04e0cf0 b6f0e18c c0734bc4 dd367fb0
    [    3.513306] 7f00: 1029f04a 00000000 b6f4bd90 c00092bc dddae580 c04dfc9c 00000000 c013fc90
    [    3.513314] 7f20: dd366000 c072fdb8 0007e6c0 c0103b18 00000020 dd9ca930 00000000 dddae584
    [    3.513322] 7f40: 00000000 dddae700 dddae70c dd24f798 dddae5bc 00000304 dd367f6c 00000019
    [    3.513330] 7f60: ddfc0e40 c013ea8c 00000019 dddae700 00000019 00000000 0000000b 00000000
    [    3.513338] 7f80: 0007e6c0 0007e2b0 00000001 00043418 000000fb c000f604 b6f2aa60 20010030
    [    3.513346] 7fa0: ffffffff 30c5387d 30c5387d c04e093c b6f0e184 00000051 00000008 00000002
    [    3.513354] 7fc0: b6f4a3f8 00000001 b6f448e0 00000000 00000009 1029f04a 00000000 b6f4bd90
    [    3.513362] 7fe0: beb76ec0 beb76e98 0000000a b6f2aa60 20010030 ffffffff effdfef6 af550ad5
    [    3.513384] [<c00c4638>] (filemap_fault) from [<c00e5fa0>] (__do_fault+0x3c/0x9c)
    [    3.513401] [<c00e5fa0>] (__do_fault) from [<c00e9b3c>] (handle_mm_fault+0x914/0x1504)
    [    3.513423] [<c00e9b3c>] (handle_mm_fault) from [<c04e0f5c>] (do_page_fault+0x26c/0x3d4)
    [    3.513441] [<c04e0f5c>] (do_page_fault) from [<c00092bc>] (do_DataAbort+0x2c/0xb0)
    [    3.513457] [<c00092bc>] (do_DataAbort) from [<c04e093c>] (__dabt_usr+0x3c/0x40)
    [    3.513462] Exception stack(0xdd367fb0 to 0xdd367ff8)
    [    3.513470] 7fa0:                                     b6f0e184 00000051 00000008 00000002
    [    3.513478] 7fc0: b6f4a3f8 00000001 b6f448e0 00000000 00000009 1029f04a 00000000 b6f4bd90
    [    3.513485] 7fe0: beb76ec0 beb76e98 0000000a b6f2aa60 20010030 ffffffff
    [    3.513496] Code: e59b90a4 e58d0020 e58d101c e5998000 (e5983068)
    [    3.513507] ---[ end trace f46934bed476e433 ]---
    [    3.536165] pgd = dd772740
    [    3.536175] [7efec010] *pgd=00000000
    [    3.536185] Internal error: Oops: 205 [#2] PREEMPT SMP ARM
    [    3.536193] Modules linked in:
    [    3.536203] CPU: 3 PID: 1179 Comm: udevadm Tainted: G      D         4.1.13-g8dc6617 #17
    [    3.536207] Hardware name: Keystone
    [    3.536214] task: dd0e8980 ti: dd160000 task.ti: dd160000
    [    3.536233] PC is at kernfs_find_ns+0x78/0xf4
    [    3.536242] LR is at kernfs_name_hash+0x10/0x78
    [    3.536250] pc : [<c015c750>]    lr : [<c015bac0>]    psr: 20070013
    [    3.536250] sp : dd161de8  ip : dd99e93a  fp : ddaa27f8
    [    3.536255] r10: 00000000  r9 : 00000000  r8 : dd161eb0
    [    3.536261] r7 : dd99e934  r6 : 00000000  r5 : 57c6bb9d  r4 : 7efec000
    [    3.536265] r3 : 00000000  r2 : 00000000  r1 : 00000000  r0 : 57c6bb9d
    [    3.536272] Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
    [    3.536278] Control: 30c5387d  Table: 1d772740  DAC: 55555555
    [    3.536284] Process udevadm (pid: 1179, stack limit = 0xdd160210)
    [    3.536290] Stack: (0xdd161de8 to 0xdd162000)
    [    3.536301] 1de0:                   ddaa27f8 c04dfc48 ddaa2870 dd99e908 dd7efe0f ddadb7a0
    [    3.536333] 1e00: ddaa27f8 c015c810 dd99e908 dd161f74 00020001 c010a558 dd161ef0 c010d380
    [    3.536344] 1e20: ddea802f ffffff9c dd161e50 dd99e908 00000001 00000001 dd2d1780 00000022
    [    3.536374] 1e40: 00000000 00000001 ddadb7a0 ddadb7a0 dde83910 ddaa27f8 01fdf300 c0742ec0
    [    3.536387] 1e60: 00000000 00000000 dd160000 dd161ef0 00000000 dd161f74 ddea8000 dd161eb0
    [    3.536395] 1e80: 00000000 00000000 dd2d1780 c010ed78 dd161eac ddea8000 dd161eac ddc01f00
    [    3.536404] 1ea0: dd073f80 c015dc90 00044008 00000000 00000000 00000000 dd073f80 dd07334c
    [    3.536413] 1ec0: 00000001 dd161f74 00000001 ddea8000 ffffff9c c000f604 dd160000 00000000
    [    3.536427] 1ee0: 00044008 c010fff4 00000041 c013a8b4 dde83910 ddaa27f8 912a058b 00000006
    [    3.536455] 1f00: ddea802f 00000001 dddb1550 dd99bbb0 ddadb7a0 00000101 00000002 00000042
    [    3.536466] 1f20: 00000000 00000000 00000000 ddfc0500 00000003 c04dfc48 00000000 c011bd14
    [    3.536494] 1f40: 00020001 00020001 ffffff9c ddea8000 00000005 00000003 ffffff9c ddea8000
    [    3.536507] 1f60: 00000005 c0101bc8 dd0e8d84 00000000 dd0e8d84 00020001 c0780000 00000022
    [    3.536516] 1f80: 00000100 00000001 dd2d1600 00000001 00000000 00043548 00000005 c000f604
    [    3.536524] 1fa0: 00000000 c000f480 00000001 00000000 be95c3b4 00020001 00000000 00000000
    [    3.536532] 1fc0: 00000001 00000000 00043548 00000005 be95cee7 00044008 be95cee7 00044008
    [    3.536541] 1fe0: 00000005 be95c370 b6e8dcf1 b6e195f6 60070030 be95c3b4 e3520000 0a000009
    [    3.536566] [<c015c750>] (kernfs_find_ns) from [<c015c810>] (kernfs_iop_lookup+0x44/0xa0)
    [    3.536596] [<c015c810>] (kernfs_iop_lookup) from [<c010a558>] (lookup_real+0x20/0x50)
    [    3.536613] [<c010a558>] (lookup_real) from [<c010d380>] (do_last+0x6f4/0xbcc)
    [    3.536632] [<c010d380>] (do_last) from [<c010ed78>] (path_openat+0x80/0x568)
    [    3.536660] [<c010ed78>] (path_openat) from [<c010fff4>] (do_filp_open+0x2c/0x80)
    [    3.536677] [<c010fff4>] (do_filp_open) from [<c0101bc8>] (do_sys_open+0x110/0x1cc)
    [    3.536694] [<c0101bc8>] (do_sys_open) from [<c000f480>] (ret_fast_syscall+0x0/0x3c)
    [    3.536707] Code: aa00000c e5944008 e3540000 0a000006 (e5943010)
    [    3.536715] ---[ end trace f46934bed476e434 ]---
    [    4.161693] pgd = c0003000
    [    4.164427] [01260110] *pgd=80000800004003, *pmd=00000000
    [    4.169911] Internal error: Oops: a06 [#3] PREEMPT SMP ARM
    [    4.175440] Modules linked in:
    [    4.178531] CPU: 3 PID: 1194 Comm: udevd Tainted: G      D         4.1.13-g8dc6617 #17
    [    4.186509] Hardware name: Keystone
    [    4.190025] task: dd0e8e40 ti: dd36a000 task.ti: dd36a000
    [    4.195479] PC is at __rb_erase_color+0x34/0x268
    [    4.200140] LR is at unlink_anon_vmas+0xa8/0x210
    [    4.204796] pc : [<c0292574>]    lr : [<c00f1e18>]    psr: 60010113
    [    4.204796] sp : dd36bd78  ip : 00000001  fp : dd324780
    [    4.216362] r10: dd326840  r9 : ddf9e780  r8 : ddf9e7a8
    [    4.221626] r7 : c00e3168  r6 : dd326884  r5 : df3823b0  r4 : dd373a50
    [    4.228203] r3 : 01260110  r2 : dd373a51  r1 : ddf9e7a8  r0 : 00000000
    [    4.234781] Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
    [    4.241972] Control: 30c5387d  Table: 1d766740  DAC: 55555555
    [    4.247762] Process udevd (pid: 1194, stack limit = 0xdd36a210)
    [    4.253726] Stack: (0xdd36bd78 to 0xdd36c000)
    [    4.258116] bd60:                                                       dd32687c ddf9e780
    [    4.266359] bd80: dd326884 00200200 00100100 c00f1e18 dd36bdf0 c00ec28c dd0e8e40 dd326840
    [    4.274602] bda0: dd3268a0 b6ce3000 00002000 dd36bdf0 00000028 bf000000 dd0e8e40 c00e6c98
    [    4.282843] bdc0: b6c00000 c00e7a04 00000000 dd326600 dd4cd880 dd36be20 dd4cd8bc dd3095cc
    [    4.291085] bde0: 00000001 c00ef12c dd36bdfc dd0e8e40 dd4cd880 00000000 00000001 00000001
    [    4.299328] be00: 00000000 00000000 ffffffff a0010113 dd0e8e40 000000c2 00000400 dd3f8000
    [    4.307570] be20: 0000000b dd4cd880 00106001 dd3095cc dd4cd880 00000000 dd4cd880 dd4cd8bc
    [    4.315813] be40: dd4cd880 00000000 dd4cd880 c002459c 00000000 dd0e9254 0000000b c0028370
    [    4.324056] be60: dd36befc dd36bfb0 00000000 00000000 0000008d ddea6640 0000000b dd36befc
    [    4.332298] be80: 00106001 dd3095cc 00000028 dd3095c8 08430000 c0028b30 00000000 0000000b
    [    4.340541] bea0: dd36befc c0032e54 00000a0b dd309a04 dd309500 dd36bee8 ddea6640 418004fc
    [    4.348783] bec0: dd0e8e40 dd36bfb0 00000000 00000000 00000000 00000000 dd36a000 00043468
    [    4.357025] bee0: 0007ec50 c04d7a3c 91cfe5cd 00000a07 c04e0cf0 00000000 c0734bc4 0000000b
    [    4.365268] bf00: 00000000 00030001 00000000 e2bd77df 96c59ffd de793dbc 04e00008 f7cffc62
    [    4.373510] bf20: bf7ddf93 f7bb57cf fef3f2b3 efafaffd 7e779671 fcfffff5 57d3f36b 67ec323c
    [    4.381752] bf40: c028c1a0 800f0013 ffffffff dd36bf8c 00000000 c04e0658 b6f43288 beffffff
    [    4.389994] bf60: 000004aa 00000000 b6f43288 beffffff 00000000 00000000 00000000 00000000
    [    4.398236] bf80: 00000000 00000000 dd36bfb0 ffffffff 30c5387d 00000000 00043468 c0011fbc
    [    4.406478] bfa0: c077ec50 00025e90 60010010 c000f4cc 00074698 00074708 00000000 00000000
    [    4.414721] bfc0: 00074678 000742f0 000742f0 00000000 00074698 00043468 00043468 0007ec50
    [    4.422964] bfe0: 00000000 beb76f98 00025f50 00025e90 60010010 ffffffff fcc747be feffd8bb
    [    4.431220] [<c0292574>] (__rb_erase_color) from [<c00f1e18>] (unlink_anon_vmas+0xa8/0x210)
    [    4.439646] [<c00f1e18>] (unlink_anon_vmas) from [<c00e6c98>] (free_pgtables+0x78/0xcc)
    [    4.447720] [<c00e6c98>] (free_pgtables) from [<c00ef12c>] (exit_mmap+0xf4/0x1f0)
    [    4.455276] [<c00ef12c>] (exit_mmap) from [<c002459c>] (mmput+0x40/0xe4)
    [    4.462039] [<c002459c>] (mmput) from [<c0028370>] (do_exit+0x294/0x9a4)
    [    4.468799] [<c0028370>] (do_exit) from [<c0028b30>] (do_group_exit+0x3c/0xbc)
    [    4.476084] [<c0028b30>] (do_group_exit) from [<c0032e54>] (get_signal+0x234/0x728)
    [    4.483813] [<c0032e54>] (get_signal) from [<c04d7a3c>] (do_signal+0x84/0x344)
    [    4.491105] [<c04d7a3c>] (do_signal) from [<c0011fbc>] (do_work_pending+0xa4/0xb4)
    [    4.498743] [<c0011fbc>] (do_work_pending) from [<c000f4cc>] (work_pending+0xc/0x20)
    [    4.506550] Code: e5953008 e3842001 e5843004 e5854008 (e5832000)
    [    4.512726] ---[ end trace f46934bed476e435 ]---
    [    4.517397] Fixing recursive fault but reboot is needed!
    

  • After renaming /etc/init.d/udev to udevbk

    I am able to login :-)

  • Hi Vidya,

    e2e.ti.com/.../1863570

    Titus says said:

    If you see the udev hang still, then as I said earlier, you can rename to some not to call the udev script.
    mv k2hk_fs/etc/init.d/udev k2hk_fs/etc/init.d/udev_bkp


    Can you bypass the udev and see ?
    mv k2hk_fs/etc/init.d/udev k2hk_fs/etc/init.d/udev_bkp

    As you did already here,

    https://e2e.ti.com/support/dsp/c6000_multi-core_dsps/f/639/p/508476/1860881#1860881


  • After renaming /etc/init.d/udev to udevbk

    I am able to login :-)

    Superb, sounds good.

    Have you tried to create the UBIFS image with I mentioned command ?
    mkfs.ubifs -r tisdk/ -o rootfs.ubifs -F -m 2048 -e 126976 -c 4020
  • I will try now and update you
  • Titus,

    My built image is crossing 512MB so i am not able to flash

    Please confirm which image i need to flash in Nand ,

    the one from mkfs.ubifs (rootfs.ubifs) command or the one from ubinize command (tisdkfs.ubi)

    mkfs.ubifs -r tisdk/ -o rootfs.ubifs -F -m 2048 -e 126976 -c 4030

    ubinize -o tisdkfs.ubi -m 2048 -p 128KiB -s 2048 -O 2048 tisdkubinize.cfg

  • I loaded the image in NAND flash and it booted up properly. Got the login prompt.

    If udev script is not running, wont it create any issue ?

    Why i am asking is , i want use mpmcl to load images to dsp's

    I am able to load and run but cant able to see any trace log in remoteproc directory.

    I think this remoteproc is not installed .

    Please let me know if i am wrong,

  • Hi Titus,

    Any input ????


  • My built image is crossing 512MB so i am not able to flash

    Please confirm which image i need to flash in Nand ,

    the one from mkfs.ubifs (rootfs.ubifs) command or the one from ubinize command (tisdkfs.ubi)

    mkfs.ubifs -r tisdk/ -o rootfs.ubifs -F -m 2048 -e 126976 -c 4030

    ubinize -o tisdkfs.ubi -m 2048 -p 128KiB -s 2048 -O 2048 tisdkubinize.cfg

    Try to remove the not required files and folders in "tisdk" fs folder and convert into UBIFS then flash.


    If udev script is not running, wont it create any issue ?

    Why i am asking is , i want use mpmcl to load images to dsp's

    I am able to load and run but cant able to see any trace log in remoteproc directory.

    udev is script is not dependent with mpmcl, it has separate scripts to run, that's why you were able to load & run.
  • I am not able to see the trace log if i execute mpmcl.

    More over ,if i run the udev script manually,  (/ete/init.d/udev)

    I get message "disagrees about version of symbol module_layout"


    Is it a error message or just warning. Will this message has any impact like modules are not loaded
    properly or symbol error.

    Please clarify this ,

    Attached log,

    root@k2hk-evm:/# ls
    bin                           mpmsrv_keystone2_example.out
    boot                          opt
    compile.sh                    proc
    dev                           run
    etc                           sbin
    home                          srv
    include                       sys
    ipaddr                        tmp
    lib                           usr
    media                         var
    mnt                           www
    root@k2hk-evm:/#
    root@k2hk-evm:/#
    root@k2hk-evm:/# /etc/init.d/mo
    modutils.sh  mountall.sh  mountnfs.sh
    root@k2hk-evm:/# /etc/init.d/modutils.sh
    Loading modules: cmemk [  519.224989] cmemk: disagrees about version of symbol module_layout
    cryptodev [  519.254431] cryptodev: disagrees about version of symbol module_layout
    gdbserverproxy [  519.283710] gdbserverproxy: disagrees about version of symbol module_layout
    hplibmod [  519.313289] hplibmod: disagrees about version of symbol module_layout
    rpmsg_proto [  519.342673] virtio_ring: disagrees about version of symbol module_layout
    uio_module_drv [  519.371791] uio: disagrees about version of symbol module_layout
    
    root@k2hk-evm:/# /etc/init.d/
    alignment.sh              mountall.sh               single
    banner.sh                 mountnfs.sh               softhsm-daemon.sh
    bootlogd                  mpmsrv-daemon.sh          stop-bootlogd
    bootmisc.sh               networking                sysfs.sh
    checkroot.sh              nfscommon                 syslog
    dbus-1                    parse-ip                  syslog.busybox
    devpts.sh                 populate-volatile.sh      syslog.syslog-ng
    dmesg.sh                  rc                        telnetd
    dropbear                  rcS                       thermal-zone-init
    ebtables                  read-only-rootfs-hook.sh  thttpd
    gdbserverproxy            reboot                    tiipclad-daemon.sh
    gplv3-notice              rmnologin.sh              udev-cache
    halt                      rng-tools                 udevbk
    hostname.sh               rpcbind                   umountfs
    inetd.busybox             run-postinsts             umountnfs.sh
    lighttpd                  run_srss_tc.sh            urandom
    matrix-gui-2.0            save-rtc.sh               vsftpd
    modutils.sh               sendsigs
    root@k2hk-evm:/# /etc/init.d/udev
    udev-cache  udevbk
    root@k2hk-evm:/# /etc/init.d/udevbk
    Usage: /etc/init.d/udevbk {start|stop|status|restart}
    root@k2hk-evm:/# /etc/init.d/udevbk start
    Starting udev
    [  591.780306] udevd[1622]: starting version 182
    [  592.354168] uio: disagrees about version of symbol module_layout
    [  592.361015] uio: disagrees about version of symbol module_layout
    [  592.369317] uio: disagrees about version of symbol module_layout
    [  592.383531] uio: disagrees about version of symbol module_layout
    [  592.391521] uio: disagrees about version of symbol module_layout
    [  592.435830] uio: disagrees about version of symbol module_layout
    [  592.452946] uio: disagrees about version of symbol module_layout
    [  592.460925] uio: disagrees about version of symbol module_layout
    [  592.476243] uio: disagrees about version of symbol module_layout
    [  592.484051] uio: disagrees about version of symbol module_layout
    [  592.492026] uio: disagrees about version of symbol module_layout
    [  592.500246] uio: disagrees about version of symbol module_layout
    [  592.509688] uio: disagrees about version of symbol module_layout
    [  592.524439] uio: disagrees about version of symbol module_layout
    [  592.532581] uio: disagrees about version of symbol module_layout
    [  592.547000] uio: disagrees about version of symbol module_layout
    [  592.595628] keystone_dsp_mem: disagrees about version of symbol module_layout
    [  592.621711] uio: disagrees about version of symbol module_layout
    [  592.630879] uio: disagrees about version of symbol module_layout
    [  592.640642] uio: disagrees about version of symbol module_layout
    [  592.658490] uio: disagrees about version of symbol module_layout
    [  592.705709] uio: disagrees about version of symbol module_layout
    [  592.716060] uio: disagrees about version of symbol module_layout
    [  592.726212] uio: disagrees about version of symbol module_layout
    [  592.748615] uio: disagrees about version of symbol module_layout
    [  592.758069] uio: disagrees about version of symbol module_layout
    [  592.768308] uio: disagrees about version of symbol module_layout
    [  592.781620] uio: disagrees about version of symbol module_layout
    [  592.800571] uio: disagrees about version of symbol module_layout
    [  592.814445] uio: disagrees about version of symbol module_layout
    [  592.830512] uio: disagrees about version of symbol module_layout
    [  592.878446] uio: disagrees about version of symbol module_layout
    [  592.886186] uio: disagrees about version of symbol module_layout
    [  592.894577] uio: disagrees about version of symbol module_layout
    [  592.902325] uio: disagrees about version of symbol module_layout
    [  592.910565] uio: disagrees about version of symbol module_layout
    [  592.918352] uio: disagrees about version of symbol module_layout
    [  592.925894] uio: disagrees about version of symbol module_layout
    [  592.960188] uio: disagrees about version of symbol module_layout
    [  592.967117] uio: disagrees about version of symbol module_layout
    [  592.976017] uio: disagrees about version of symbol module_layout
    [  592.987763] uio: disagrees about version of symbol module_layout
    [  593.006162] uio: disagrees about version of symbol module_layout
    [  593.068662] uio: disagrees about version of symbol module_layout
    [  593.079139] uio: disagrees about version of symbol module_layout
    [  593.091045] uio: disagrees about version of symbol module_layout
    [  593.127618] uio: disagrees about version of symbol module_layout
    [  593.137849] uio: disagrees about version of symbol module_layout
    [  593.179706] uio: disagrees about version of symbol module_layout
    [  593.229986] uio: disagrees about version of symbol module_layout
    [  593.257484] uio: disagrees about version of symbol module_layout
    [  593.267532] uio: disagrees about version of symbol module_layout
    [  593.279690] uio: disagrees about version of symbol module_layout
    [  593.288851] uio: disagrees about version of symbol module_layout
    [  593.306159] uio: disagrees about version of symbol module_layout
    [  593.320900] uio: disagrees about version of symbol module_layout
    [  593.331250] uio: disagrees about version of symbol module_layout
    [  593.346592] uio: disagrees about version of symbol module_layout
    [  593.354089] uio: disagrees about version of symbol module_layout
    [  593.361738] uio: disagrees about version of symbol module_layout
    [  593.384480] uio: disagrees about version of symbol module_layout
    [  593.395010] uio: disagrees about version of symbol module_layout
    [  593.413686] uio: disagrees about version of symbol module_layout
    [  593.446092] uio: disagrees about version of symbol module_layout
    [  593.457482] uio: disagrees about version of symbol module_layout
    [  593.468168] uio: disagrees about version of symbol module_layout
    [  593.480717] uio: disagrees about version of symbol module_layout
    [  593.491171] uio: disagrees about version of symbol module_layout
    [  593.501776] uio: disagrees about version of symbol module_layout
    [  593.521175] uio: disagrees about version of symbol module_layout
    [  593.539660] uio: disagrees about version of symbol module_layout
    root@k2hk-evm:/#
    root@k2hk-evm:/# mpmcl ping dsp0
    ping succeeded
    root@k2hk-evm:/# mpmcl load dsp0 mpmsrv_keystone2_example.out
    load succeeded
    root@k2hk-evm:/# mpmcl run dsp0
    run succeeded
    root@k2hk-evm:/# cat /sys/kernel/debug/remoteproc/
    cat: read error: Is a directory
    root@k2hk-evm:/# ls
    bin                           mpmsrv_keystone2_example.out
    boot                          opt
    compile.sh                    proc
    dev                           run
    etc                           sbin
    home                          srv
    include                       sys
    ipaddr                        tmp
    lib                           usr
    media                         var
    mnt                           www
    root@k2hk-evm:/# cd
    


  • I get message "disagrees about version of symbol module_layout"


    Is it a error message or just warning. Will this message has any impact like modules are not loaded
    properly or symbol error.

    Never.

    Do you have K2H EVM board with you ?
  • Hi Titus,

    I have EVM board with me. Do you want me to try this image in EVM ??

  • Hi Titus,

    I booted the same image in EVM and i am getting same message "disagrees about version of symbol module_layout"

    Attached the log,

    Please guide,

    U-Boot 2013.01-g5eaedcc (Sep 10 2015 - 11:57:27)
    
    I2C:   ready
    SPD csum OK; in SPD: 19 A7; computed 00000019 A7
    DDR3A Speed will be configured for 1333 Operation.
    Detected SO-DIMM [SQR-SD3T-2G1333SED]
    Power-on reset was not the last reset to occur !
    DRAM: 2 GiB (includes reported below)
    
    Reseting entire DDR3 memory to 0 ...
    DRAM:  2 GiB
    NAND:  512 MiB
    Net:   K2HK_EMAC
    Warning: K2HK_EMAC using MAC address from net device
    , K2HK_EMAC1, K2HK_EMAC2, K2HK_EMAC3
    Hit any key to stop autoboot:  3  0 
    K2HK EVM # 
    K2HK EVM # 
    K2HK EVM # setenv eth1addr b4:99:4c:b2:92:24;setenv eth2addr b4:99:4c:b2:92:25;setenv eth3addr b4:99:4c:b2:92:26;setenv tftp_root;setenv boot net
    K2HK EVM # 
    K2HK EVM # setenv nfs_root '/home/armdsp/k2hk-ti/board-support/k2hk-evm-sdk-bin-02.00.01/board-support-bin/filesystem/tisdk'
    K2HK EVM # setenv boot net;setenv name_mon 'skern-k2hk.bin';setenv name_kern 'uImage-4.1..13_new';setenv name_fdt 'k2hk-evmorignial-4.1.dtb'
    K2HK EVM # setenv args_net 'setenv bootargs ${bootargs} rootfstype=nfs root=/dev/nfs rw nfsroot=${serverip}:${nfs_root},${nfs_options} ip=172.17.1.57:172.17.1.146:172.17.0.3:255.255.0.0::eth0'
    K2HK EVM # boot
    BOOTP broadcast 1
    BOOTP broadcast 2
    DHCP client bound to address 172.17.2.219
    Using K2HK_EMAC device
    TFTP from server 172.17.1.146; our IP address is 172.17.2.219
    Filename '/k2hk-evmorignial-4.1.dtb'.
    Load address: 0x87000000
    Loading: *###
     1.2 MiB/s
    done
    Bytes transferred = 40984 (a018 hex)
    BOOTP broadcast 1
    DHCP client bound to address 172.17.2.219
    Using K2HK_EMAC device
    TFTP from server 172.17.1.146; our IP address is 172.17.2.219
    Filename '/skern-k2hk.bin'.
    Load address: 0xc5f0000
    Loading: *####
     1.2 MiB/s
    done
    Bytes transferred = 45056 (b000 hex)
    BOOTP broadcast 1
    DHCP client bound to address 172.17.2.219
    Using K2HK_EMAC device
    TFTP from server 172.17.1.146; our IP address is 172.17.2.219
    Filename '/uImage-4.1..13_new'.
    Load address: 0x88000000
    Loading: *#################################################################
     #################################################################
     #################################################################
     #################################################################
     #######
     1.3 MiB/s
    done
    Bytes transferred = 3918264 (3bc9b8 hex)
    K2_BM_15.07-39-g035329c SoC:k2hk built:17:53:33, Jan  8 2016
    
    ## installed monitor, freq [200000000], status 0
    ## Booting kernel from Legacy Image at 88000000 ...
       Image Name:   Linux-4.1.13-g8dc6617
       Created:      2016-05-10  12:18:51 UTC
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    3918200 Bytes = 3.7 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 8700d017
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Initializing cgroup subsys cpu
    [    0.000000] Initializing cgroup subsys cpuacct
    [    0.000000] Linux version 4.1.13-g8dc6617 (root@localhost.localdomain) (gcc version 4.7.3 20130226 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.03-20130313 - Linaro GCC 2013.03) ) #17 SMP PREEMPT Tue May 10 17:48:35 IST 2016
    [    0.000000] CPU: ARMv7 Processor [412fc0f4] revision 4 (ARMv7), cr=30c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    [    0.000000] Machine model: Texas Instruments Keystone 2 Kepler/Hawking EVM
    [    0.000000] Switching physical address space to 0x800000000
    [    0.000000] Reserved memory: created CMA memory pool at 0x000000081f800000, size 8 MiB
    [    0.000000] Reserved memory: initialized node dsp_common_cma_pool, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x0000000820000000, size 512 MiB
    [    0.000000] Reserved memory: initialized node dsp_reserved_mpm_area, compatible id shared-dma-pool
    [    0.000000] cma: Reserved 16 MiB at 0x000000085f000000
    [    0.000000] Forcing write-allocate cache policy for SMP
    [    0.000000] Memory policy: Data cache writealloc
    [    0.000000] PERCPU: Embedded 12 pages/cpu @deb9e000 s17536 r8192 d23424 u49152
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260624
    [    0.000000] Kernel command line: console=ttyS0,115200n8 rootwait=1 rootfstype=nfs root=/dev/nfs rw nfsroot=172.17.1.146:/home/armdsp/k2hk-ti/board-support/k2hk-evm-sdk-bin-02.00.01/board-support-bin/filesystem/tisdk,v3,tcp,rsize=4096,wsize=4096 ip=172.17.1.57:172.17.1.146:172.17.0.3:255.255.0.0::eth0
    [    0.000000] log_buf_len individual max cpu contribution: 4096 bytes
    [    0.000000] log_buf_len total cpu_extra contributions: 12288 bytes
    [    0.000000] log_buf_len min size: 16384 bytes
    [    0.000000] log_buf_len: 32768 bytes
    [    0.000000] early log buf free: 13988(85%)
    [    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: 1007084K/1048576K available (5148K kernel code, 340K rwdata, 1844K rodata, 316K init, 175K bss, 16916K reserved, 24576K cma-reserved, 507904K highmem)
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 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 - 0xc06dc630   (6994 kB)
    [    0.000000]       .init : 0xc06dd000 - 0xc072c000   ( 316 kB)
    [    0.000000]       .data : 0xc072c000 - 0xc0781104   ( 341 kB)
    [    0.000000]        .bss : 0xc0784000 - 0xc07afc70   ( 176 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    [    0.000000] Preemptible hierarchical RCU implementation.
    [    0.000000] Additional per-CPU info printed with stalls.
    [    0.000000] NR_IRQS:16 nr_irqs:16 16
    [    0.000000] Architected cp15 timer(s) running at 200.00MHz (virt).
    [    0.000000] clocksource arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
    [    0.000003] sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.000009] Switching to timer-based delay loop, resolution 5ns
    [    0.000145] keystone timer clock @200000000 Hz
    [    0.000309] Console: colour dummy device 80x30
    [    0.000324] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
    [    0.000332] pid_max: default: 4096 minimum: 301
    [    0.000386] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.000392] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.000764] Initializing cgroup subsys blkio
    [    0.000774] Initializing cgroup subsys devices
    [    0.000783] Initializing cgroup subsys freezer
    [    0.000800] CPU: Testing write buffer coherency: ok
    [    0.000960] /cpus/cpu@0 missing clock-frequency property
    [    0.000978] /cpus/cpu@1 missing clock-frequency property
    [    0.000996] /cpus/cpu@2 missing clock-frequency property
    [    0.001014] /cpus/cpu@3 missing clock-frequency property
    [    0.001021] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.001059] Setting up static identity map for 0x800082c0 - 0x800083cc
    [    0.064509] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [    0.084527] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
    [    0.104558] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
    [    0.104627] Brought up 4 CPUs
    [    0.104640] SMP: Total of 4 processors activated (1600.00 BogoMIPS).
    [    0.104645] CPU: All CPU(s) started in SVC mode.
    [    0.105006] devtmpfs: initialized
    [    0.112863] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [    0.113148] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.113665] pinctrl core: initialized pinctrl subsystem
    [    0.113947] NET: Registered protocol family 16
    [    0.114623] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.121799] irq: no irq domain found for /soc/keystone_irq@26202a0 !
    [    0.121986] irq: no irq domain found for /soc/keystone_irq@26202a0 !
    [    0.122173] irq: no irq domain found for /soc/keystone_irq@26202a0 !
    [    0.122362] irq: no irq domain found for /soc/keystone_irq@26202a0 !
    [    0.122551] irq: no irq domain found for /soc/keystone_irq@26202a0 !
    [    0.122737] irq: no irq domain found for /soc/keystone_irq@26202a0 !
    [    0.122923] irq: no irq domain found for /soc/keystone_irq@26202a0 !
    [    0.123111] irq: no irq domain found for /soc/keystone_irq@26202a0 !
    [    0.128472] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [    0.128478] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [    0.136851] vgaarb: loaded
    [    0.137108] SCSI subsystem initialized
    [    0.137469] usbcore: registered new interface driver usbfs
    [    0.137552] usbcore: registered new interface driver hub
    [    0.137635] usbcore: registered new device driver usb
    [    0.139514] Switched to clocksource arch_sys_counter
    [    0.164677] NET: Registered protocol family 2
    [    0.165109] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.165138] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
    [    0.165187] TCP: Hash tables configured (established 4096 bind 4096)
    [    0.165231] UDP hash table entries: 256 (order: 1, 8192 bytes)
    [    0.165246] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
    [    0.165358] NET: Registered protocol family 1
    [    0.165511] RPC: Registered named UNIX socket transport module.
    [    0.165517] RPC: Registered udp transport module.
    [    0.165522] RPC: Registered tcp transport module.
    [    0.165526] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.165785] CPU PMU: Failed to parse /pmu/interrupt-affinity[0]
    [    0.165809] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
    [    0.166617] platform alarmtimer: set dma_pfn_offset00780000
    [    0.167229] futex hash table entries: 16 (order: -2, 1024 bytes)
    [    0.178039] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
    [    0.178126] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.178429] jffs2: version 2.2. (NAND) � 2001-2006 Red Hat, Inc.
    [    0.179810] NET: Registered protocol family 38
    [    0.179867] bounce: pool size: 64 pages
    [    0.180067] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
    [    0.180080] io scheduler noop registered
    [    0.180089] io scheduler deadline registered
    [    0.180112] io scheduler cfq registered (default)
    [    0.180233] keystone_irq soc:keystone_irq@26202a0: irqchip registered, nr_irqs 28
    [    0.180730] keystone-pcie 21801000.pcie: No pcie serdes driver found: -38
    [    0.180747] keystone-pcie: probe of 21801000.pcie failed with error -38
    [    0.180953] keystone-navigator-qmss soc:qmss@2a40000: qmgr start queue 0, number of queues 8192
    [    0.181049] keystone-navigator-qmss soc:qmss@2a40000: added qmgr start queue 0, num of queues 8192, reg_peek f0200000, reg_status f01c2000, reg_config f01c4000, reg_region f01c6000, reg_push f0240000, reg_pop f0280000
    [    0.181058] keystone-navigator-qmss soc:qmss@2a40000: qmgr start queue 8192, number of queues 8192
    [    0.181148] keystone-navigator-qmss soc:qmss@2a40000: added qmgr start queue 8192, num of queues 8192, reg_peek f02c0000, reg_status f01c8400, reg_config f01ca000, reg_region f01cc000, reg_push f0300000, reg_pop f0340000
    [    0.181247] keystone-navigator-qmss soc:qmss@2a40000: failed to get firmware for pdsp
    [    0.181867] keystone-navigator-qmss soc:qmss@2a40000: pdsp id 0 not started for range acc-low-0
    [    0.182434] keystone-navigator-dma soc:knav_dmas@0: DMA dma_gbe registered 41 logical channels, flows 32, tx chans: 9, rx chans: 24
    [    0.182528] keystone-navigator-dma soc:knav_dmas@0: DMA dma_xgbe registered 48 logical channels, flows 32, tx chans: 16, rx chans: 16
    [    0.240716] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
    [    0.240794] platform serial8250: set dma_pfn_offset00780000
    [    0.242262] console [ttyS0] disabled
    [    0.242300] 2530c00.serial: ttyS0 at MMIO 0x2530c00 (irq = 26, base_baud = 12500000) is a 16550A
    [    1.092581] console [ttyS0] enabled
    [    1.096662] 2531000.serial: ttyS1 at MMIO 0x2531000 (irq = 27, base_baud = 12500000) is a 16550A
    [    1.109552] loop: module loaded
    [    1.112833] at24 0-0050: 131072 byte 24c1024 EEPROM, writable, 1 bytes/write
    [    1.169531] davinci_mdio 2090300.mdio: davinci mdio revision 1.5
    [    1.175556] libphy: 2090300.mdio: probed
    [    1.180096] davinci_mdio 2090300.mdio: phy[0]: device 2090300.mdio:00, driver Marvell 88E1111
    [    1.188652] davinci_mdio 2090300.mdio: phy[1]: device 2090300.mdio:01, driver Marvell 88E1111
    [    2.202319] netcp-1.0 2620110.netcp: module(netcp-xgbe) not used for device
    [    2.610440] platform xhci-hcd.0.auto: set dma_pfn_offset00780000
    [    2.617000] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    [    2.622635] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
    [    2.630571] xhci-hcd xhci-hcd.0.auto: hcc params 0x0298f06d hci version 0x100 quirks 0x00210010
    [    2.639308] xhci-hcd xhci-hcd.0.auto: irq 34, io mem 0x02690000
    [    2.645374] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [    2.652195] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    2.659441] usb usb1: Product: xHCI Host Controller
    [    2.664340] usb usb1: Manufacturer: Linux 4.1.13-g8dc6617 xhci-hcd
    [    2.670548] usb usb1: SerialNumber: xhci-hcd.0.auto
    [    2.675795] hub 1-0:1.0: USB hub found
    [    2.679585] hub 1-0:1.0: 1 port detected
    [    2.683754] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    [    2.689364] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
    [    2.697105] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    [    2.705352] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
    [    2.712172] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    2.719418] usb usb2: Product: xHCI Host Controller
    [    2.724322] usb usb2: Manufacturer: Linux 4.1.13-g8dc6617 xhci-hcd
    [    2.730530] usb usb2: SerialNumber: xhci-hcd.0.auto
    [    2.735763] hub 2-0:1.0: USB hub found
    [    2.739550] hub 2-0:1.0: 1 port detected
    [    2.743812] usbcore: registered new interface driver usb-storage
    [    2.750049] mousedev: PS/2 mouse device common for all mice
    [    2.755822] i2c /dev entries driver
    [    2.759869] davinci-wdt 22f0080.wdt: heartbeat 60 sec
    [    2.777609] keystone-crypto 20c0000.crypto: crypto accelerator enabled
    [    2.784454] usbcore: registered new interface driver usbhid
    [    2.790054] usbhid: USB HID core driver
    [    2.794039]  remoteproc0: releasing 10800000.dsp0
    [    2.798797]  remoteproc0: releasing 11800000.dsp1
    [    2.803564]  remoteproc0: releasing 12800000.dsp2
    [    2.808318]  remoteproc0: releasing 13800000.dsp3
    [    2.813083]  remoteproc0: releasing 14800000.dsp4
    [    2.817838]  remoteproc0: releasing 15800000.dsp5
    [    2.822602]  remoteproc0: releasing 16800000.dsp6
    [    2.827355]  remoteproc0: releasing 17800000.dsp7
    [    2.832900] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xac
    [    2.839274] nand: Micron MT29F4G08ABBDAHC
    [    2.843386] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
    [    2.851225] Bad block table found at page 262080, version 0x01
    [    2.857469] Bad block table found at page 262016, version 0x01
    [    2.863530] nand_read_bbt: bad block at 0x000000c80000
    [    2.868681] nand_read_bbt: bad block at 0x000000ca0000
    [    2.873892] 3 ofpart partitions found on MTD device 30000000.nand
    [    2.880013] Creating 3 MTD partitions on "30000000.nand":
    [    2.885428] 0x000000000000-0x000000100000 : "u-boot"
    [    2.891038] 0x000000100000-0x000000180000 : "params"
    [    2.896612] 0x000000180000-0x000020000000 : "ubifs"
    [    2.902328] davinci_nand 30000000.nand: controller rev. 2.5
    [    2.908155] platform oprofile-perf.0: set dma_pfn_offset00780000
    [    2.914335] oprofile: using timer interrupt.
    [    2.918651] Netfilter messages via NETLINK v0.30.
    [    2.923390] nf_conntrack version 0.5.0 (16119 buckets, 64476 max)
    [    2.929868] ctnetlink v0.93: registering with nfnetlink.
    [    2.935419] ipip: IPv4 over IPv4 tunneling driver
    [    2.940492] gre: GRE over IPv4 demultiplexor driver
    [    2.945517] ip_tables: (C) 2000-2006 Netfilter Core Team
    [    2.950927] ipt_CLUSTERIP: ClusterIP Version 0.8 loaded successfully
    [    2.957321] arp_tables: (C) 2002 David S. Miller
    [    2.962006] Initializing XFRM netlink socket
    [    2.966303] NET: Registered protocol family 17
    [    2.970784] NET: Registered protocol family 15
    [    2.975245] 8021q: 802.1Q VLAN Support v1.8
    [    2.979454] NET: Registered protocol family 41
    [    2.984018] Registering SWP/SWPB emulation handler
    [    2.989716]  remoteproc0: releasing 10800000.dsp0
    [    2.994509]  remoteproc0: releasing 11800000.dsp1
    [    2.999298]  remoteproc0: releasing 12800000.dsp2
    [    3.004116]  remoteproc0: releasing 13800000.dsp3
    [    3.008903]  remoteproc0: releasing 14800000.dsp4
    [    3.013706]  remoteproc0: releasing 15800000.dsp5
    [    3.018493]  remoteproc0: releasing 16800000.dsp6
    [    3.023295]  remoteproc0: releasing 17800000.dsp7
    [    3.120025] netcp-1.0 2620110.netcp eth0: Link is Down
    [    3.126406] 8021q: adding VLAN 0 to HW filter on device eth0
    [    6.119817] netcp-1.0 2620110.netcp eth0: Link is Up - 100Mbps/Full - flow control off
    [    6.149585] IP-Config: Complete:
    [    6.152823]      device=eth0, hwaddr=b4:99:4c:b2:92:23, ipaddr=172.17.1.57, mask=255.255.0.0, gw=172.17.0.3
    [    6.162626]      host=172.17.1.57, domain=, nis-domain=(none)
    [    6.168390]      bootserver=172.17.1.146, rootserver=172.17.1.146, rootpath=
    [   50.217634] VFS: Mounted root (nfs filesystem) on device 0:15.
    [   50.224047] devtmpfs: mounted
    [   50.227163] Freeing unused kernel memory: 316K (c06dd000 - c072c000)
    
    INIT: version 2.88 booting
    
    [   51.060808] cmemk: disagrees about version of symbol module_layout
    [   51.093513] cryptodev: disagrees about version of symbol module_layout
    [   51.123226] gdbserverproxy: disagrees about version of symbol module_layout
    [   51.153277] hplibmod: disagrees about version of symbol module_layout
    [   51.189615] virtio_ring: disagrees about version of symbol module_layout
    [   51.221380] uio: disagrees about version of symbol module_layout
    Starting random number generator daemonread error
    
    
    
    read error
    
    
    
    .
    
    [   51.432220] random: dd urandom read with 97 bits of entropy available
    Sat Jan  9 00:17:31 UTC 2016
    
    
    INIT: Entering runlevel: 5
    
    
    NOT configuring network interfaces: / is an NFS mount
    
    udhcpc (v1.23.1) started
    
    Sending discover...
    
    Sending select for 172.17.2.80...
    
    Lease of 172.17.2.80 obtained, lease time 7200
    
    [   53.289852] random: nonblocking pool is initialized
    /etc/udhcpc.d/50default: Adding DNS 172.17.0.1
    
    /etc/udhcpc.d/50default: Adding DNS 8.8.8.8
    
    /etc/udhcpc.d/50default: Adding DNS 8.8.4.4
    
    /etc/udhcpc.d/50default: Adding DNS 202.251.202.3
    
    Starting system message bus: dbus.
    
    Starting Dropbear SSH server: [   53.684681] ipv6: disagrees about version of symbol module_layout
    [   53.699232] ipv6: disagrees about version of symbol module_layout
    dropbear.
    
    Starting mpmsrv daemon.
    
    platform: k2hk-evm
    
    Starting softhsm daemon.
    
    Starting telnet daemon.
    
    Starting tiipclad daemon[   54.034246] ipv6: disagrees about version of symbol module_layout
    
    
    GateMP is not supported for this device
    
    
    
    Opened log file: lad.txt
    
    
    
    numProcessors = 9 id = 0 baseId = 0
    
    
    
    Spawned daemon: /usr/bin/lad_tci6638
    
    
    
    .
    
    Starting rpcbind daemon...[   54.138262] ipv6: disagrees about version of symbol module_layout
    rpcbind: cannot create socket for udp6
    
    
    [   54.153627] ipv6: disagrees about version of symbol module_layout
    rpcbind: cannot create socket for tcp6
    
    
    done.
    
    [   54.182568] ipv6: disagrees about version of symbol module_layout
    starting statd: done
    
    Starting thttpd[   54.736763] ipv6: disagrees about version of symbol module_layout
    .
    
    [   54.758728] ipv6: disagrees about version of symbol module_layout
    Starting Lighttpd Web Server: lighttpd.
    
    2016-01-09 00:17:33: (/home/gtbldadm/processor-sdk-linux-fido-build/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa15hf-vfp-neon-linux-gnueabi/lighttpd/1.4.35-r1/lighttpd-1.4.35/src/log.c.164) server started 
    
    * starting FTP Server: vsftpd... done.
    
     
    
     
    
    #>>>>> LCD 12
    
    IP Address:
    
    172.17.1.57
    
    Enabling thermal zones...
    
    /etc/rc5.d/S98thermal-zone-init: line 7: /sys/class/thermal/thermal_zone*/mode: No such file or directory
    
    ***************************************************************
    
    ***************************************************************
    
    NOTICE: This file system contains the following GPLv3 packages:
    
    autoconf
    
    binutils-dev
    
    binutils
    
    bison-dev
    
    bison
    
    cpp-symlinks
    
    cpp
    
    g++-symlinks
    
    g++
    
    gawk-dev
    
    gawk
    
    gcc-symlinks
    
    gcc
    
    gdb
    
    gdbc6x
    
    gdbserver
    
    libgmp10
    
    libmpc3
    
    libmpfr4
    
    make
    
    
    
    If you do not wish to distribute GPLv3 components please remove
    
    the above packages prior to distribution.  This can be done using
    
    the opkg remove command.  i.e.:
    
        opkg remove <package>
    
    Where <package> is the name printed in the list above
    
    
    
    NOTE: If the package is a dependency of another package you
    
          will be notified of the dependent packages.  You should
    
          use the --force-removal-of-dependent-packages option to
    
          also remove the dependent packages as well
    
    ***************************************************************
    
    ***************************************************************
    
    
    
     _____                    _____           _         _   
    
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
    
                  |___|                    |___|            
    
    
    
    Arago Project http://arago-project.org k2hk-evm /dev/ttyS0
    
    
    
    Arago 2015.12 k2hk-evm /dev/ttyS0
    
    
    
    k2hk-evm login: roo
    Password: 
    
    Login incorrect
    k2hk-evm login: root
    root@k2hk-evm:~# cd /
    root@k2hk-evm:/# ls
    bin                           mpmsrv_keystone2_example.out
    boot                          opt
    compile.sh                    proc
    dev                           run
    etc                           sbin
    home                          srv
    include                       sys
    ipaddr                        tmp
    lib                           usr
    media                         var
    mnt                           www
    root@k2hk-evm:/# mpmcl load dsp0 mpmsrv_keystone2_example.out 
    load failed (error: -104)
    root@k2hk-evm:/# mpmcl load dsp0 mpmsrv_keystone2_example.out 
    load succeeded
    root@k2hk-evm:/# mo pmcl run dsp0
    run succeeded
    root@k2hk-evm:/#  
    root@k2hk-evm:/# 
    root@k2hk-evm:/# 
    root@k2hk-evm:/# cat /sys/kernel/debug/remoteproc/remoteproc0/trace0
    cat: can't open '/sys/kernel/debug/remoteproc/remoteproc0/trace0': No such file or directory
    root@k2hk-evm:/# cat /sys/kernel/debug/remoteproc/remoteproc0/trace0      
    cat: can't open '/sys/kernel/debug/remoteproc/remoteproc0/': No such file or directory
    root@k2hk-evm:/# cat /sys/kernel/debug/remoteproc/remoteproc0/             /
    cat: read error: Is a directory
    root@k2hk-evm:/# cat /sys/kernel/debug/remoteproc/
    root@k2hk-evm:/# cd
    root@k2hk-evm:/sys/kernel/debug/remoteproc# ls
    root@k2hk-evm:/sys/kernel/debug/remoteproc# 
    root@k2hk-evm:/sys/kernel/debug/remoteproc# 
    root@k2hk-evm:/sys/kernel/debug/remoteproc# 

  • Hi Vidya,

    I booted the same image in EVM and i am getting same message "disagrees about version of symbol module_layout"

    This warning is not due to board, you can ignore this error, this is due to kernel image and loadable drivers.
    You won't see any warnings like this when you do the following and installing the modules into the filesystem.

    make uImage ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-
    make modules ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-
    make modules_install INSTALL_MOD_PATH=/usr/local/k2hk_fs_NFS ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-

    I asked you to try the mpmcl on K2H EVM.
  • Hi Titus,

    I tried mpmcl with the k2hk-evm-sdk-bin-02.00.01 in K2H evm and its behaviour is same .

    Cant able to see trace log and remoteproc0 directory is not found in folder remoteproc