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.

EVMK2H: Ethernet problem EVMK2H

Part Number: EVMK2H

I have a EVMK2H board with last (4) revision. I'm use last SDK 06.01.00.08.

I have two problems:

 1)   I have a MDIO issue (Ethernet link down intermittenly). I this forum this question was sended some time, for example https://e2e.ti.com/support/processors/f/791/t/574040?EVMK2H-Ethernet-link-down-intermittently.

  Solution for it (changing of dts file for disabling PHY MDIO) is not working. I saw problem like this  https://e2e.ti.com/support/processors/f/791/t/720199?Linux-EVMK2H-Ethernet-link-down-intermittently and output message after booting like this   "cpts: unable to obtain a time stamp" (indefinite repeat). 

How I can solve this hardware problem?

2)  when I use UDP transfer (PC is transmitter, EVMK2H is receiver), and transfer rate about 400Mbit/s, I have a significant lost packets. My problem is like https://e2e.ti.com/support/processors/f/791/t/451659?K2HK-UDP-packet-loss-issue  . But increasing of rx-queue-depth and rx-buffer-size is not works. I have drops using when I run iperf test or when I run my custom application.

How I can increase perfomans of UDP transaction?

 

  • HI, Pavel,

    This is TI K2H rev 4.0 EVM, correct? Let me try with PLSDK 6.1 and get back to you.

    Rex

  • Thank you for reaponse. Yes, I have  TI K2H rev 4.0 EVM. I didn't understand, what you mean under PLSDK 6.1??  I  use linux SDK http://software-dl.ti.com/processor-sdk-linux/esd/K2HK/latest/index_FDS.html

    it version 6.01.00.08. I think it is last version. I have problems with last version

  • Pavel,

    Yes, that's the version I just downloaded and will try. Processor Linux SDK (PLSDK) 6.1.x.x.

    Rex

  • Hello Mr Chang.

    Did you manage to check PLSDK 6.1 with ethernet? Thank's for your help
  • Hi, Pavel,

    Sorry for the slow response. I was out last Friday. Please see attached logs from my K2H rev4.0 running PLSDK 6.1.0.8. I don't see ethernet issue on my board, and I can get aggregated throughput around 811 Mbits/s. All images and filesystem are from PLSDK 6.1 prebuilt.

    In the logs, you can see that I first upgrade uboot to 6.1 release, and did "date" commands over 5 mins period. Then, iperf using udp over 2 threads for 1 min.

    Rex

    k2h_psdk61-netboot.log
    U-Boot SPL 2019.01-g8b90adfb16 (Jul 07 2019 - 05:57:10 +0000)
    Trying to boot from SPI
    
    
    U-Boot 2019.01-g8b90adfb16 (Jul 07 2019 - 05:57:10 +0000)
    
    CPU: 66AK2Hx SR2.0
    Model: Texas Instruments Keystone 2 Kepler/Hawking EVM
    DRAM:  DDR3A Speed will be configured for 1333 Operation.
    Detected SO-DIMM [SQR-SD3T-2G1333SED]
    DDR3 speed 1333
    DRAM: 2 GiB (includes reported below)
    
    Clear entire DDR3 memory to enable ECC
    2 GiB
    NAND:  512 MiB
    Loading Environment from NAND... OK
    Net:
    Warning: netcp@2000000 using MAC address from ROM
    eth0: netcp@2000000
    Warning: netcp@slave-1 (eth1) using random MAC address - ae:61:89:9e:0d:a9
    , eth1: netcp@slave-1
    Warning: netcp@slave-2 (eth2) using random MAC address - da:4b:73:90:57:ae
    , eth2: netcp@slave-2
    Warning: netcp@slave-3 (eth3) using random MAC address - 16:0f:02:23:3d:66
    , eth3: netcp@slave-3
    Hit any key to stop autoboot:  0
    =>
    =>
    => pri tftp_root
    tftp_root=/
    => pri
    addr_load_sec_bm=0x0c09c000
    addr_mon=0x87000000
    addr_non_sec_mon=0x0c097fc0
    addr_secdb_key=0xc000000
    addr_ubi=0x82000000
    arch=arm
    args_all=setenv bootargs console=ttyS0,115200n8 rootwait=1 mtdparts=spi0.0:1m(u-boot-spl)ro,-(misc);
    args_net=setenv bootargs ${bootargs} rootfstype=nfs root=/dev/nfs rw nfsroot=${serverip}:${nfs_root},${nfs_options} ip=dhcp
    args_ramfs=setenv bootargs ${bootargs} rdinit=/sbin/init rw root=/dev/ram0 initrd=0x808080000,80M
    args_ubi=setenv bootargs ${bootargs} rootfstype=ubifs root=ubi0:rootfs rootflags=sync rw ubi.mtd=ubifs,2048
    baudrate=115200
    board=ks2_evm
    board_name=ks2_evm
    boot=ubi
    boot_fdt=try
    bootcmd=run init_${boot}; run get_mon_${boot} run_mon; run get_kern_${boot}; run init_fw_rd_${boot}; run get_fdt_${boot}; run run_kern
    bootdelay=2
    bootdir=/boot
    bootm_size=0x10000000
    burn_ubi=nand erase.part ubifs; nand write ${addr_ubi} ubifs ${filesize}
    burn_uboot_nand=nand erase 0 0x100000; nand write ${loadaddr} 0 ${filesize}
    burn_uboot_spi=sf probe; sf erase 0 0x100000; sf write ${loadaddr} 0 ${filesize}
    cpu=armv7
    dfu_alt_info_mmc=MLO fat 0 1;u-boot.img fat 0 1;uEnv.txt fat 0 1
    dfu_bufsiz=0x10000
    ethaddr=08:00:28:32:a0:0b
    fdt_addr_r=0x88000000
    fdtaddr=0x88000000
    fdtcontroladdr=fdefb478
    get_fdt_net=dhcp ${fdtaddr} ${tftp_root}/${name_fdt}
    get_fdt_nfs=nfs ${fdtaddr} ${nfs_root}/boot/${name_fdt}
    get_fdt_ramfs=dhcp ${fdtaddr} ${tftp_root}/${name_fdt}
    get_fdt_ubi=ubifsload ${fdtaddr} ${bootdir}/${name_fdt}
    get_fit_mmc=load mmc ${bootpart} ${fit_loadaddr} ${bootdir}/${fit_bootfile}
    get_fit_net=dhcp ${fit_loadaddr} ${tftp_root}/${fit_bootfile}
    get_fit_nfs=nfs ${fit_loadaddr} ${nfs_root}/boot/${fit_bootfile}
    get_fit_ramfs=dhcp ${fit_loadaddr} ${tftp_root}/${fit_bootfile}
    get_fit_ubi=ubifsload ${fit_loadaddr} ${bootdir}/${fit_bootfile}
    get_fs_ramfs=dhcp ${rdaddr} ${tftp_root}/${name_fs}
    get_kern_net=dhcp ${loadaddr} ${tftp_root}/${name_kern}
    get_kern_nfs=nfs ${loadaddr} ${nfs_root}/boot/${name_kern}
    get_kern_ramfs=dhcp ${loadaddr} ${tftp_root}/${name_kern}
    get_kern_ubi=ubifsload ${loadaddr} ${bootdir}/${name_kern}
    get_mon_net=dhcp ${addr_mon} ${tftp_root}/${name_mon}
    get_mon_nfs=nfs ${addr_mon} ${nfs_root}/boot/${name_mon}
    get_mon_ramfs=dhcp ${addr_mon} ${tftp_root}/${name_mon}
    get_mon_ubi=ubifsload ${addr_mon} ${bootdir}/${name_mon}
    get_ubi_net=dhcp ${addr_ubi} ${tftp_root}/${name_ubi}
    get_ubi_nfs=nfs ${addr_ubi} ${nfs_root}/boot/${name_ubi}
    get_uboot_net=dhcp ${loadaddr} ${tftp_root}/${name_uboot}
    get_uboot_nfs=nfs ${loadaddr} ${nfs_root}/boot/${name_uboot}
    init_fw_rd_net=dhcp ${rdaddr} ${tftp_root}/${name_fw_rd}; run set_rd_spec
    init_fw_rd_nfs=nfs ${rdaddr} ${nfs_root}/boot/${name_fw_rd}; run set_rd_spec
    init_fw_rd_ramfs=setenv rd_spec -
    init_fw_rd_ubi=ubifsload ${rdaddr} ${bootdir}/${name_fw_rd}; run set_rd_spec
    init_net=run args_all args_net
    init_nfs=setenv autoload no; dhcp; run args_all args_net
    init_ramfs=run args_all args_ramfs get_fs_ramfs
    init_ubi=run args_all args_ubi; ubi part ubifs; ubifsmount ubi:rootfs;
    kernel_addr_r=0x82000000
    loadaddr=0x82000000
    mem_lpae=1
    mtdparts=mtdparts=davinci_nand.0:1024k(bootloader)ro,512k(params)ro,-(ubifs)
    name_fdt=keystone-k2hk-evm.dtb
    name_fs=arago-console-image-k2hk-evm.cpio.gz
    name_fw_rd=k2-fw-initrd.cpio.gz
    name_kern=zImage
    name_mon=skern-k2hk.bin
    name_ubi=k2hk-evm-ubifs.ubi
    name_uboot=u-boot-spi-k2hk-evm.gph
    nfs_options=v3,tcp,rsize=4096,wsize=4096
    nfs_root=/export
    no_post=1
    pxefile_addr_r=0x80100000
    ramdisk_addr_r=0x88080000
    rdaddr=0x88080000
    run_kern=bootz ${loadaddr} ${rd_spec} ${fdtaddr}
    run_mon=mon_install ${addr_mon}
    run_mon_hs=mon_install ${addr_non_sec_mon} ${addr_load_sec_bm}
    scriptaddr=0x80000000
    set_rd_spec=setenv rd_spec ${rdaddr}:${filesize}
    soc=keystone
    stderr=serial@02530c00
    stdin=serial@02530c00
    stdout=serial@02530c00
    tftp_root=/
    vendor=ti
    ver=U-Boot 2019.01-g8b90adfb16 (Jul 07 2019 - 05:57:10 +0000)
    
    Environment size: 3853/262140 bytes
    => setenv tftp_root psdk6108-k2h
    => run get_uboot_net
    
    netcp@2000000 Waiting for SGMII auto negotiation to complete. done
    BOOTP broadcast 1
    BOOTP broadcast 2
    BOOTP broadcast 3
    DHCP client bound to address 158.218.117.50 (1052 ms)
    *** ERROR: `serverip' not set
    Cannot autoload with TFTPGET
    => setenv serverip 158.218.116.223
    => run get_uboot_net
    
    netcp@2000000 Waiting for SGMII auto negotiation to complete. done
    BOOTP broadcast 1
    DHCP client bound to address 158.218.117.50 (48 ms)
    Using netcp@2000000 device
    TFTP from server 158.218.116.223; our IP address is 158.218.117.50
    Filename 'psdk6108-k2h/u-boot-spi-k2hk-evm.gph'.
    Load address: 0x82000000
    Loading: #################################################################
             #################################################################
             #
             1.7 MiB/s
    done
    Bytes transferred = 669188 (a3604 hex)
    => run burn_uboot_spi
    SF: Detected n25q128a11 with page size 256 Bytes, erase size 4 KiB, total 16 MiB
    SF: 1048576 bytes @ 0x0 Erased: OK
    device 0 offset 0x0, size 0xa3604
    SF: 669188 bytes @ 0x0 Written: OK
    =>
    U-Boot SPL 2019.01-g029e4c009a (Oct 19 2019 - 19:26:46 +0000)
    Trying to boot from SPI
    
    
    U-Boot 2019.01-g029e4c009a (Oct 19 2019 - 19:26:46 +0000)
    
    CPU: 66AK2Hx SR2.0
    Model: Texas Instruments Keystone 2 Kepler/Hawking EVM
    DRAM:  DDR3A Speed will be configured for 1333 Operation.
    Detected SO-DIMM [SQR-SD3T-2G1333SED]
    DDR3 speed 1333
    DRAM: 2 GiB (includes reported below)
    
    Clear entire DDR3 memory to enable ECC
    2 GiB
    NAND:  512 MiB
    Loading Environment from NAND... OK
    Net:
    Warning: netcp@2000000 using MAC address from ROM
    eth0: netcp@2000000
    Warning: netcp@slave-1 (eth1) using random MAC address - 1e:e8:1a:6f:e0:80
    , eth1: netcp@slave-1
    Warning: netcp@slave-2 (eth2) using random MAC address - e2:ff:bf:06:ef:4c
    , eth2: netcp@slave-2
    Warning: netcp@slave-3 (eth3) using random MAC address - 36:7a:06:0a:a4:1c
    , eth3: netcp@slave-3
    Hit any key to stop autoboot:  0
    =>
    =>
    =>
    => env default -f -a
    ## Resetting to default environment
    => setenv boot net
    => setenv serverip 158.218.116.223
    => setenv tftp_root psdk6108-k2h
    => setenv nfs_root /nfs/nfs_fs3
    => saveenv
    Saving Environment to NAND... Erasing NAND...
    Erasing at 0x120000 -- 100% complete.
    Writing to NAND... OK
    OK
    => boot
    
    netcp@2000000 Waiting for SGMII auto negotiation to complete. done
    BOOTP broadcast 1
    BOOTP broadcast 2
    BOOTP broadcast 3
    DHCP client bound to address 158.218.117.50 (1052 ms)
    Using netcp@2000000 device
    TFTP from server 158.218.116.223; our IP address is 158.218.117.50
    Filename 'psdk6108-k2h/skern-k2hk.bin'.
    Load address: 0x87000000
    Loading: #######
             1.6 MiB/s
    done
    Bytes transferred = 32832 (8040 hex)
    K2_BM_15.07-53-ge1f885a SoC:k2hk built:17:35:26, Oct 19 2019
    
    ## installed monitor @ 0xc5f0000, freq [200000000], status 207552512
    
    netcp@2000000 Waiting for SGMII auto negotiation to complete. done
    BOOTP broadcast 1
    DHCP client bound to address 158.218.117.50 (44 ms)
    Using netcp@2000000 device
    TFTP from server 158.218.116.223; our IP address is 158.218.117.50
    Filename 'psdk6108-k2h/zImage'.
    Load address: 0x82000000
    Loading: #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             ###########################################################
             1.6 MiB/s
    done
    Bytes transferred = 4293120 (418200 hex)
    
    netcp@2000000 Waiting for SGMII auto negotiation to complete. done
    BOOTP broadcast 1
    DHCP client bound to address 158.218.117.50 (66 ms)
    Using netcp@2000000 device
    TFTP from server 158.218.116.223; our IP address is 158.218.117.50
    Filename 'psdk6108-k2h/k2-fw-initrd.cpio.gz'.
    Load address: 0x88080000
    Loading: ##########
             1.5 MiB/s
    done
    Bytes transferred = 50078 (c39e hex)
    
    netcp@2000000 Waiting for SGMII auto negotiation to complete. done
    BOOTP broadcast 1
    DHCP client bound to address 158.218.117.50 (233 ms)
    Using netcp@2000000 device
    TFTP from server 158.218.116.223; our IP address is 158.218.117.50
    Filename 'psdk6108-k2h/keystone-k2hk-evm.dtb'.
    Load address: 0x88000000
    Loading: ########
             1.4 MiB/s
    done
    Bytes transferred = 39532 (9a6c hex)
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Ramdisk to 8fff3000, end 8ffff39e ... OK
       Loading Device Tree to 8ffe6000, end 8fff2a6b ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.19.59-g5f8c1c6121 (oe-user@oe-host) (gcc version 8.3.0 (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36))) #1 SMP PREEMPT Sat Oct 19 16:21:42 UTC 2019
    [    0.000000] CPU: ARMv7 Processor [412fc0f4] revision 4 (ARMv7), cr=30c5387d
    [    0.000000] CPU: div instructions available: patching division code
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    [    0.000000] OF: fdt: Machine model: Texas Instruments Keystone 2 Kepler/Hawking EVM
    [    0.000000] Memory policy: Data cache writealloc
    [    0.000000] Switching physical address space to 0x800000000
    [    0.000000] efi: Getting EFI parameters from FDT:
    [    0.000000] efi: UEFI not found.
    [    0.000000] Reserved memory: created CMA memory pool at 0x000000081f800000, size 8 MiB
    [    0.000000] OF: reserved mem: initialized node dsp-common-memory@81f800000, compatible id shared-dma-pool
    [    0.000000] cma: Reserved 24 MiB at 0x000000087e400000
    [    0.000000] psci: probing for conduit method from DT.
    [    0.000000] psci: Using PSCI v0.1 Function IDs from DT
    [    0.000000] random: get_random_bytes called from start_kernel+0xb4/0x470 with crng_init=0
    [    0.000000] percpu: Embedded 16 pages/cpu s36492 r8192 d20852 u65536
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 359296
    [    0.000000] Kernel command line: console=ttyS0,115200n8 rootwait=1 mtdparts=spi0.0:1m(u-boot-spl)ro,-(misc) rootfstype=nfs root=/dev/nfs rw nfsroot=158.218.116.223:/nfs/nfs_fs3,v3,tcp,rsize=4096,wsize=4096 ip=dhcp
    [    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: 1380552K/1441792K available (8192K kernel code, 288K rwdata, 2700K rodata, 2048K init, 266K bss, 28472K reserved, 32768K cma-reserved, 892928K highmem)
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    [    0.000000]     vmalloc : 0xe0800000 - 0xff800000   ( 496 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0x(ptrval) - 0x(ptrval)   (10208 kB)
    [    0.000000]       .init : 0x(ptrval) - 0x(ptrval)   (2048 kB)
    [    0.000000]       .data : 0x(ptrval) - 0x(ptrval)   ( 289 kB)
    [    0.000000]        .bss : 0x(ptrval) - 0x(ptrval)   ( 267 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
    [    0.000000]  Tasks RCU enabled.
    [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
    [    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
    [    0.000000] GIC: Using split EOI/Deactivate mode
    [    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
    [    0.000004] sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.000014] Switching to timer-based delay loop, resolution 5ns
    [    0.000215] keystone timer clock @200000000 Hz
    [    0.000409] Console: colour dummy device 80x30
    [    0.000451] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
    [    0.000466] pid_max: default: 32768 minimum: 301
    [    0.000572] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.000582] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.001112] CPU: Testing write buffer coherency: ok
    [    0.001141] CPU0: Spectre v2: firmware did not set auxiliary control register IBE bit, system vulnerable
    [    0.001358] /cpus/cpu@0 missing clock-frequency property
    [    0.001384] /cpus/cpu@1 missing clock-frequency property
    [    0.001410] /cpus/cpu@2 missing clock-frequency property
    [    0.001436] /cpus/cpu@3 missing clock-frequency property
    [    0.001446] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.060009] Setting up static identity map for 0x80200000 - 0x80200138
    [    0.080013] rcu: Hierarchical SRCU implementation.
    [    0.100177] EFI services will not be available.
    [    0.120061] smp: Bringing up secondary CPUs ...
    [    0.205078] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [    0.205084] CPU1: Spectre v2: firmware did not set auxiliary control register IBE bit, system vulnerable
    [    0.285188] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
    [    0.285194] CPU2: Spectre v2: firmware did not set auxiliary control register IBE bit, system vulnerable
    [    0.365297] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
    [    0.365304] CPU3: Spectre v2: firmware did not set auxiliary control register IBE bit, system vulnerable
    [    0.365452] smp: Brought up 1 node, 4 CPUs
    [    0.365465] SMP: Total of 4 processors activated (1600.00 BogoMIPS).
    [    0.365473] CPU: All CPU(s) started in HYP mode.
    [    0.365480] CPU: Virtualization extensions available.
    [    0.365970] devtmpfs: initialized
    [    0.372633] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [    0.372876] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.372891] futex hash table entries: 1024 (order: 4, 65536 bytes)
    [    0.373423] pinctrl core: initialized pinctrl subsystem
    [    0.373824] DMI not present or invalid.
    [    0.374055] NET: Registered protocol family 16
    [    0.375019] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.375785] cpuidle: using governor ladder
    [    0.375816] cpuidle: using governor menu
    [    0.375951] No ATAGs?
    [    0.376053] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [    0.376064] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [    0.394232] SCSI subsystem initialized
    [    0.395312] media: Linux media interface: v0.10
    [    0.395346] videodev: Linux video capture interface: v2.00
    [    0.395408] pps_core: LinuxPPS API ver. 1 registered
    [    0.395417] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.395434] PTP clock support registered
    [    0.395464] EDAC MC: Ver: 3.0.0
    [    0.396003] Advanced Linux Sound Architecture Driver Initialized.
    [    0.396676] clocksource: Switched to clocksource arch_sys_counter
    [    0.403257] NET: Registered protocol family 2
    [    0.403689] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
    [    0.403714] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.403747] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
    [    0.403804] TCP: Hash tables configured (established 4096 bind 4096)
    [    0.403869] UDP hash table entries: 256 (order: 1, 8192 bytes)
    [    0.403890] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
    [    0.404057] NET: Registered protocol family 1
    [    0.404373] RPC: Registered named UNIX socket transport module.
    [    0.404382] RPC: Registered udp transport module.
    [    0.404390] RPC: Registered tcp transport module.
    [    0.404398] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.404542] Trying to unpack rootfs image as initramfs...
    [    0.407574] Freeing initrd memory: 52K
    [    0.407797] hw perfevents: no interrupt-affinity property for /pmu, guessing.
    [    0.408072] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
    [    0.408520] platform alarmtimer: set dma_pfn_offset00780000
    [    0.409078] Initialise system trusted keyrings
    [    0.409197] workingset: timestamp_bits=14 max_order=19 bucket_order=5
    [    0.413506] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.413924] NFS: Registering the id_resolver key type
    [    0.413942] Key type id_resolver registered
    [    0.413950] Key type id_legacy registered
    [    0.413984] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.415394] Key type asymmetric registered
    [    0.415405] Asymmetric key parser 'x509' registered
    [    0.415446] bounce: pool size: 64 pages
    [    0.415475] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [    0.415485] io scheduler noop registered
    [    0.415493] io scheduler deadline registered
    [    0.415576] io scheduler cfq registered (default)
    [    0.415585] io scheduler mq-deadline registered
    [    0.415593] io scheduler kyber registered
    [    0.415907] keystone_irq 26202a0.keystone_irq: irqchip registered, nr_irqs 28
    [    0.416723] ti,keystone-serdes 232a000.phy: init fw ks2_gbe_serdes.bin: version 3.3.0.2c
    [    0.421480] keystone-navigator-qmss soc@0:qmss@2a40000: qmgr start queue 0, number of queues 8192
    [    0.421624] keystone-navigator-qmss soc@0:qmss@2a40000: added qmgr start queue 0, num of queues 8192, reg_peek (ptrval), reg_status (ptrval), reg_config (ptrval), reg_region (ptrval), reg_push (ptrval), reg_pop (ptrval)
    [    0.421637] keystone-navigator-qmss soc@0:qmss@2a40000: qmgr start queue 8192, number of queues 8192
    [    0.421767] keystone-navigator-qmss soc@0:qmss@2a40000: added qmgr start queue 8192, num of queues 8192, reg_peek (ptrval), reg_status (ptrval), reg_config (ptrval), reg_region (ptrval), reg_push (ptrval), reg_pop (ptrval)
    [    0.421934] keystone-navigator-qmss soc@0:qmss@2a40000: firmware file ks2_qmss_pdsp_acc48.bin downloaded for PDSP
    [    0.424655] keystone-navigator-dma soc@0:knav_dmas@0: DMA dma_gbe registered 41 logical channels, flows 32, tx chans: 9, rx chans: 24
    [    0.464083] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [    0.464149] platform serial8250: set dma_pfn_offset00780000
    [    0.467092] console [ttyS0] disabled
    [    0.467141] 2530c00.serial: ttyS0 at MMIO 0x2530c00 (irq = 27, base_baud = 12500000) is a TI DA8xx/66AK2x
    [    1.351581] console [ttyS0] enabled
    [    1.355897] 2531000.serial: ttyS1 at MMIO 0x2531000 (irq = 28, base_baud = 12500000) is a TI DA8xx/66AK2x
    [    1.375080] brd: module loaded
    [    1.384445] loop: module loaded
    [    1.389518] spi_davinci 21000400.spi: DMA is not supported (-19)
    [    1.396320] m25p80 spi0.0: n25q128a11 (16384 Kbytes)
    [    1.401333] 2 cmdlinepart partitions found on MTD device spi0.0
    [    1.407297] Creating 2 MTD partitions on "spi0.0":
    [    1.412108] 0x000000000000-0x000000100000 : "u-boot-spl"
    [    1.418073] 0x000000100000-0x000001000000 : "misc"
    [    1.423517] spi_davinci 21000400.spi: Controller at 0x(ptrval)
    [    1.429676] spi_davinci 21000600.spi: DMA is not supported (-19)
    [    1.435999] spi_davinci 21000600.spi: Controller at 0x(ptrval)
    [    1.442148] spi_davinci 21000800.spi: DMA is not supported (-19)
    [    1.448489] spi_davinci 21000800.spi: Controller at 0x(ptrval)
    [    1.454622] platform Fixed MDIO bus.0: set dma_pfn_offset00780000
    [    1.460921] libphy: Fixed MDIO Bus: probed
    [    1.516702] davinci_mdio 2090300.mdio: davinci mdio revision 1.5, bus freq 2500000
    [    1.524301] libphy: 2090300.mdio: probed
    [    1.529839] davinci_mdio 2090300.mdio: phy[0]: device 2090300.mdio:00, driver Marvell 88E1111
    [    1.538418] davinci_mdio 2090300.mdio: phy[1]: device 2090300.mdio:01, driver Marvell 88E1111
    [    1.547554] ti,keystone-serdes 232a000.phy: Requested PHY is disabled
    [    2.068454] ti,keystone-serdes 232a000.phy: Requested PHY is disabled
    [    2.590063] netcp-1.0 2620110.netcp: initialized cpsw ale version 1.3
    [    2.596530] netcp-1.0 2620110.netcp: ALE Table size 1024
    [    2.601904] netcp-1.0 2620110.netcp: cpts: overflow check period 350 (jiffies)
    [    2.609174] netcp-1.0 2620110.netcp: CPTS: ref_clk_freq:600000000 calc_mult:3579139413 calc_shift:31 error:-1 nsec/sec
    [    2.620689] netcp-1.0 2620110.netcp: module(netcp-xgbe) not used for device
    [    2.627905] i2c /dev entries driver
    [    2.633069] sdhci: Secure Digital Host Controller Interface driver
    [    2.639291] sdhci: Copyright(c) Pierre Ossman
    [    2.643922] sdhci-pltfm: SDHCI platform and OF driver helper
    [    2.650693] ledtrig-cpu: registered to indicate activity on CPUs
    [    2.658413] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xac
    [    2.664790] nand: Micron MT29F4G08ABBDAHC
    [    2.668838] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
    [    2.676734] Bad block table found at page 262080, version 0x01
    [    2.683069] Bad block table found at page 262016, version 0x01
    [    2.689254] 3 fixed-partitions partitions found on MTD device 30000000.nand
    [    2.696241] Creating 3 MTD partitions on "30000000.nand":
    [    2.701678] 0x000000000000-0x000000100000 : "u-boot"
    [    2.707320] 0x000000100000-0x000000180000 : "params"
    [    2.712911] 0x000000180000-0x000020000000 : "ubifs"
    [    2.722117] davinci_nand 30000000.nand: controller rev. 2.5
    [    2.728295] platform snd-soc-dummy: set dma_pfn_offset00780000
    [    2.735107] NET: Registered protocol family 10
    [    2.740423] Segment Routing with IPv6
    [    2.744148] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    2.750525] NET: Registered protocol family 17
    [    2.755096] Key type dns_resolver registered
    [    2.759547] Registering SWP/SWPB emulation handler
    [    2.764754] Loading compiled-in X.509 certificates
    [    2.775299] hctosys: unable to open rtc device (rtc0)
    [    2.987162] netcp-1.0 2620110.netcp eth0: Link is Down
    [    2.994455] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [    3.126677] (NULL net_device): Link is Down
    [    3.130877] (NULL net_device): Link is Down
    [    3.207156] netcp-1.0 2620110.netcp eth1: Link is Down
    [    3.213165] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
    [    6.247789] netcp-1.0 2620110.netcp eth0: Link is Up - 1Gbps/Full - flow control rx/tx
    [    6.276710] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [    6.306773] Sending DHCP requests ., OK
    [    6.790569] IP-Config: Got DHCP answer from 158.218.116.4, my address is 158.218.117.50
    [    6.798647] IP-Config: Complete:
    [    6.801888]      device=eth0, hwaddr=08:00:28:32:a0:0b, ipaddr=158.218.117.50, mask=255.255.254.0, gw=158.218.116.1
    [    6.812433]      host=dhcp-158-218-117-50, domain=dhcp.ti.com, nis-domain=(none)
    [    6.819875]      bootserver=0.0.0.0, rootserver=158.218.116.223, rootpath=
    [    6.819881]      nameserver0=192.0.2.2, nameserver1=192.0.2.3
    [    6.845303] ALSA device list:
    [    6.848302]   No soundcards found.
    [    6.895801] VFS: Mounted root (nfs filesystem) on device 0:14.
    [    6.901934] devtmpfs: mounted
    [    6.906040] Freeing unused kernel memory: 2048K
    [    6.910734] Run /sbin/init as init process
    [    6.922584] random: fast init done
    [    7.039703] systemd[1]: System time before build time, advancing clock.
    [    7.063187] systemd[1]: systemd 239 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN -PCRE2 default-hierarchy=hybrid)
    [    7.084940] systemd[1]: Detected architecture arm.
    
    Welcome to Arago 2019.07!
    
    [    7.127417] systemd[1]: Set hostname to <k2hk-evm>.
    [    7.136314] random: systemd: uninitialized urandom read (16 bytes read)
    [    7.143036] systemd[1]: Initializing machine ID from random generator.
    [    7.314702] systemd[1]: File /lib/systemd/system/systemd-journald.service:36 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
    [    7.331847] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
    [    7.618461] random: systemd: uninitialized urandom read (16 bytes read)
    [    7.628338] systemd[1]: Created slice system-getty.slice.
    [  OK  ] Created slice system-getty.slice.
    [    7.666901] random: systemd: uninitialized urandom read (16 bytes read)
    [    7.674558] systemd[1]: Created slice system-serial\x2dgetty.slice.
    [  OK  ] Created slice system-serial\x2dgetty.slice.
    [    7.735531] systemd[1]: Listening on Process Core Dump Socket.
    [  OK  ] Listening on Process Core Dump Socket.
    [    7.767790] systemd[1]: Created slice User and Session Slice.
    [  OK  ] Created slice User and Session Slice.
    [  OK  ] Created slice system-syslog\x2dng.slice.
    [  OK  ] Reached target Remote File Systems.
    [  OK  ] Reached target Swap.
    [  OK  ] Listening on initctl Compatibility Named Pipe.
    [  OK  ] Listening on udev Control Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [  OK  ] Listening on Network Service Netlink Socket.
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Reached target Slices.
    [  OK  ] Listening on Journal Socket.
             Mounting Kernel Debug File System...
             Mounting POSIX Message Queue File System...
             Starting Create list of required st�ce nodes for the current kernel...
             Mounting Temporary Directory (/tmp)...
             Starting udev Coldplug all Devices...
             Starting Load Kernel Modules...
    [    8.313953] cmemk: loading out-of-tree module taints kernel.
    [    8.320733] CMEMK module: reference Linux version 4.19.59
    [    8.326588] allocated heap buffer 0xc100000 of size 0x480000
    [    8.332315] cmemk initialized
             Starting Remount Root and Kernel File Systems...
    [    8.341344] cryptodev: driver 1.9 loaded.
    [    8.360312] NET: Registered protocol family 45
    [  OK  ] Started Hardware RNG Entropy Gatherer Daemon.
    [    8.386208] random: crng init done
    [    8.390323] random: 7 urandom warning(s) missed due to ratelimiting
    [  OK  ] Listening on Journal Socket (/dev/log).
             Starting Journal Service...
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Reached target Paths.
    [  OK  ] Started Journal Service.
    [  OK  ] Mounted Kernel Debug File System.
    [  OK  ] Mounted POSIX Message Queue File System.
    [  OK  ] Started Create list of required sta�vice nodes for the current kernel.
    [  OK  ] Mounted Temporary Directory (/tmp).
    [  OK  ] Started Load Kernel Modules.
    [  OK  ] Started Remount Root and Kernel File Systems.
             Starting Create System Users...
             Starting Rebuild Hardware Database...
             Mounting Kernel Configuration File System...
             Starting Apply Kernel Variables...
             Starting Flush Journal to Persistent Storage...
    [  OK  ] Started Create System Users.
    [  OK  ] Mounted Kernel Configuration File System.
    [  OK  ] Started Apply Kernel Variables.
             Starting Create Static Device Nodes in /dev...
    [  OK  ] Started Create Static Device Nodes in /dev.
    [    9.117751] systemd-journald[108]: Received request to flush runtime journal from PID 1
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /var/volatile...
    [  OK  ] Reached target Containers.
             Mounting /media/ram...
    [  OK  ] Started udev Coldplug all Devices.
    [  OK  ] Started Flush Journal to Persistent Storage.
    [  OK  ] Mounted /var/volatile.
    [  OK  ] Mounted /media/ram.
             Starting Load/Save Random Seed...
    [  OK  ] Reached target Local File Systems.
             Starting Rebuild Dynamic Linker Cache...
             Starting Rebuild Journal Catalog...
             Starting Create Volatile Files and Directories...
    [  OK  ] Started Load/Save Random Seed.
    [  OK  ] Started Rebuild Journal Catalog.
    [  OK  ] Started Create Volatile Files and Directories.
             Starting Run pending postinsts...
             Starting Update UTMP about System Boot/Shutdown...
             Starting Network Time Synchronization...
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [  OK  ] Started Rebuild Hardware Database.
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Reached target System Time Synchronized.
             Starting udev Kernel Device Manager...
    [  OK  ] Started udev Kernel Device Manager.
    [  OK  ] Started Run pending postinsts.
             Starting Network Service...
    [   10.914682] keystone-rproc 10800000.dsp: assigned reserved memory node dsp-common-memory@81f800000
    [   10.923933] remoteproc remoteproc0: 10800000.dsp is available
    [   10.938036] keystone-rproc 11800000.dsp: assigned reserved memory node dsp-common-memory@81f800000
    [   10.947171] remoteproc remoteproc1: 11800000.dsp is available
    [   10.956306] keystone-rproc 12800000.dsp: assigned reserved memory node dsp-common-memory@81f800000
    [   10.965457] remoteproc remoteproc2: 12800000.dsp is available
    [   10.981855] keystone-rproc 13800000.dsp: assigned reserved memory node dsp-common-memory@81f800000
    [   10.991115] remoteproc remoteproc3: 13800000.dsp is available
    [   11.000367] keystone-rproc 14800000.dsp: assigned reserved memory node dsp-common-memory@81f800000
    [   11.009501] remoteproc remoteproc4: 14800000.dsp is available
    [   11.018199] keystone-rproc 15800000.dsp: assigned reserved memory node dsp-common-memory@81f800000
    [   11.027749] remoteproc remoteproc5: 15800000.dsp is available
    [   11.044687] keystone-rproc 16800000.dsp: assigned reserved memory node dsp-common-memory@81f800000
    [   11.054618] remoteproc remoteproc6: 16800000.dsp is available
    [   11.065650] keystone-rproc 17800000.dsp: assigned reserved memory node dsp-common-memory@81f800000
    [   11.076059] remoteproc remoteproc7: 17800000.dsp is available
    [   11.184450] davinci-wdt 22f0080.wdt: heartbeat 60 sec
    [  OK  ] Started Network Service.
    [   11.345181] at24 0-0050: 131072 byte 24c1024 EEPROM, writable, 1 bytes/write
    [   11.394165] keystone-usbphy 2620738.usb_phy: 2620738.usb_phy supply vcc not found, using dummy regulator
    [   11.404242] keystone-usbphy 2620738.usb_phy: Linked as a consumer to regulator.0
    [  OK  ] Found device /dev/ttyS0.
    [  OK  ] Started Rebuild Dynamic Linker Cache.
    [   12.680213] dwc3 2690000.dwc3: Failed to get clk 'ref': -2
    [   12.686282] platform xhci-hcd.0.auto: set dma_pfn_offset00780000
    [   12.722638] usbcore: registered new interface driver usbfs
    [   12.728388] usbcore: registered new interface driver hub
    [   12.733856] usbcore: registered new device driver usb
    [   12.750752] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    [   12.756358] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
    [   12.765770] xhci-hcd xhci-hcd.0.auto: hcc params 0x0298f06d hci version 0x100 quirks 0x0000000002010010
    [   12.775325] xhci-hcd xhci-hcd.0.auto: irq 35, io mem 0x02690000
    [   12.781813] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
    [   12.790188] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [   12.797540] usb usb1: Product: xHCI Host Controller
    [   12.802473] usb usb1: Manufacturer: Linux 4.19.59-g5f8c1c6121 xhci-hcd
    [   12.809089] usb usb1: SerialNumber: xhci-hcd.0.auto
    [   12.814476] hub 1-0:1.0: USB hub found
    [   12.818401] hub 1-0:1.0: 1 port detected
    [   12.822808] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    [   12.828387] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
    [   12.836117] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
    [   12.842803] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    [   12.851110] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.19
    [   12.859470] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [   12.866777] usb usb2: Product: xHCI Host Controller
    [   12.871708] usb usb2: Manufacturer: Linux 4.19.59-g5f8c1c6121 xhci-hcd
    [   12.878317] usb usb2: SerialNumber: xhci-hcd.0.auto
    [   12.883674] hub 2-0:1.0: USB hub found
    [   12.887529] hub 2-0:1.0: 1 port detected
    [  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
             Starting Update is Completed...
             Starting Wait for Network to be Configured...
             Starting Network Name Resolution...
    [  OK  ] Started Update is Completed.
    [  OK  ] Started Wait for Network to be Configured.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
    [  OK  ] Listening on dropbear.socket.
             Starting Reboot and dump vmcore via kexec...
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [  OK  ] Reached target Sockets.
    [  OK  ] Reached target Basic System.
             Starting Ethernet Bridge Filtering Tables...
             Starting RPC Bind Service...
             Starting softhsm-daemon.service...
             Starting System Logger Daemon "default" instance...
             Starting run_srss_tc.service...
             Starting Matrix GUI...
    [  OK  ] Started D-Bus System Message Bus.
             Starting TI Multiproc Manager...
             Starting TI IPC Daemon...
             Starting Print notice about GPLv3 packages...
    [  OK  ] Started Job spooling tools.
    [  OK  ] Started Periodic Command Scheduler.
    [  OK  ] Started Daily rotation of log files.
    [  OK  ] Reached target Timers.
             Starting Login Service...
             Starting telnetd.service...
    [  OK  ] Started Network Name Resolution.
    [  OK  ] Started Reboot and dump vmcore via kexec.
    [  OK  ] Started Ethernet Bridge Filtering Tables.
    [  OK  ] Started RPC Bind Service.
    [  OK  ] Started softhsm-daemon.service.
    [  OK  ] Started run_srss_tc.service.
    [  OK  ] Started Matrix GUI.[   18.066102] registered dspmem misc device
    
    [  OK  ] Started TI IPC Daemon.
             Starting Avahi mDNS/DNS-SD Stack...
    [  OK  ] Reached target Host and Network Name Lookups.
    [  OK  ] Reached target Network.
    [  OK  ] Started NFS status monitor for NFSv2/3 locking..
             Starting Simple Network Management Protocol (SNMP) Daemon....
             Starting Permit User Sessions...
             Starting Lightning Fast Webserver With Light System Requirements...
    [  OK  ] Reached target Network is Online.
    [  OK  ] Started strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf.
    [  OK  ] Started Vsftpd ftp daemon.
    [  OK  ] Started telnetd.service.
    [  OK  ] Started Permit User Sessions.
    [  OK  ] Started Login Service.
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.
    [  OK  ] Started Serial Getty on ttyS0.
    [  OK  ] Started Getty on tty1.
    [  OK  ] Reached target Login Prompts.
             Starting Synchronize System and HW clocks...
             Starting LSB: network benchmark...
             Starting thttpd.service...
             Starting syslog.service...
    [  OK  ] Started Lightning Fast Webserver With Light System Requirements.
    [FAILED] Failed to start Synchronize System and HW clocks.
    See 'systemctl status sync-clocks.service' for details.
    [  OK  ] Started TI Multiproc Manager.
             Starting TI MultiCore Tools Daemon...
    [  OK  ] Started thttpd.service.
    [  OK  ] Started LSB: network benchmark.
    [   18.410988] NET: Registered protocol family 15
    [   18.524878] Initializing XFRM netlink socket
    [  OK  ] Started Simple Network Management Protocol (SNMP) Daemon..
    [   19.395979] remoteproc remoteproc0: powering up 10800000.dsp
    [   19.401815] remoteproc remoteproc0: Booting unspecified pre-loaded fw image
    [   19.411444] remoteproc remoteproc0: registered virtio0 (type 7)
    [   19.417503] remoteproc remoteproc0: remote processor 10800000.dsp is now up
    [   19.428338] virtio_rpmsg_bus virtio0: rpmsg host is online
    [   19.433979] virtio_rpmsg_bus virtio0: creating channel rpmsg-proto addr 0x3d
    [   19.445729] remoteproc remoteproc1: powering up 11800000.dsp
    [   19.451986] remoteproc remoteproc1: Booting unspecified pre-loaded fw image
    [   19.463122] virtio_rpmsg_bus virtio1: rpmsg host is online
    [   19.463248] virtio_rpmsg_bus virtio1: creating channel rpmsg-proto addr 0x3d
    [   19.468732] remoteproc remoteproc1: registered virtio1 (type 7)
    [   19.481808] remoteproc remoteproc1: remote processor 11800000.dsp is now up
    [   19.510748] remoteproc remoteproc2: powering up 12800000.dsp
    [   19.516441] remoteproc remoteproc2: Booting unspecified pre-loaded fw image
    [   19.526110] virtio_rpmsg_bus virtio2: rpmsg host is online
    [   19.526339] virtio_rpmsg_bus virtio2: creating channel rpmsg-proto addr 0x3d
    [   19.531772] remoteproc remoteproc2: registered virtio2 (type 7)
    [   19.544745] remoteproc remoteproc2: remote processor 12800000.dsp is now up
    [   19.573131] remoteproc remoteproc3: powering up 13800000.dsp
    [   19.578844] remoteproc remoteproc3: Booting unspecified pre-loaded fw image
    [   19.587955] virtio_rpmsg_bus virtio3: rpmsg host is online
    [   19.588086] virtio_rpmsg_bus virtio3: creating channel rpmsg-proto addr 0x3d
    [   19.593595] remoteproc remoteproc3: registered virtio3 (type 7)
    [   19.606619] remoteproc remoteproc3: remote processor 13800000.dsp is now up
    [   19.635215] remoteproc remoteproc4: powering up 14800000.dsp
    [   19.640929] remoteproc remoteproc4: Booting unspecified pre-loaded fw image
    [   19.651074] virtio_rpmsg_bus virtio4: rpmsg host is online
    [   19.651283] virtio_rpmsg_bus virtio4: creating channel rpmsg-proto addr 0x3d
    [   19.656775] remoteproc remoteproc4: registered virtio4 (type 7)
    [   19.669882] remoteproc remoteproc4: remote processor 14800000.dsp is now up
    [   19.698593] remoteproc remoteproc5: powering up 15800000.dsp
    [   19.704283] remoteproc remoteproc5: Booting unspecified pre-loaded fw image
    [   19.715083] virtio_rpmsg_bus virtio5: rpmsg host is online
    [   19.715274] virtio_rpmsg_bus virtio5: creating channel rpmsg-proto addr 0x3d
    [   19.720763] remoteproc remoteproc5: registered virtio5 (type 7)
    [   19.733734] remoteproc remoteproc5: remote processor 15800000.dsp is now up
    [   19.762196] remoteproc remoteproc6: powering up 16800000.dsp
    [   19.767984] remoteproc remoteproc6: Booting unspecified pre-loaded fw image
    [   19.777596] virtio_rpmsg_bus virtio6: rpmsg host is online
    [   19.777790] virtio_rpmsg_bus virtio6: creating channel rpmsg-proto addr 0x3d
    [   19.783244] remoteproc remoteproc6: registered virtio6 (type 7)
    [   19.796352] remoteproc remoteproc6: remote processor 16800000.dsp is now up
    [   19.825455] remoteproc remoteproc7: powering up 17800000.dsp
    [   19.831223] remoteproc remoteproc7: Booting unspecified pre-loaded fw image
    [   19.842656] virtio_rpmsg_bus virtio7: rpmsg host is online
    [   19.842840] virtio_rpmsg_bus virtio7: creating channel rpmsg-proto addr 0x3d
    [   19.848401] remoteproc remoteproc7: registered virtio7 (type 7)
    [   19.861489] remoteproc remoteproc7: remote processor 17800000.dsp is now up
    [  OK  ] Started TI MultiCore Tools Daemon.
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPLv3 packages:
            autoconf
            bash-dev
            bash
            bc
            binutils-dev
            binutils
            bison-dev
            bison
            cifs-utils
            cpio
            cpp-symlinks
            cpp
            dosfstools
            elfutils-dev
            elfutils
            g++-symlinks
            g++
            gawk
            gcc-symlinks
            gcc
            gdb
            gdbc6x
            gdbserver
            gettext
            gstreamer1.0-libav
            gzip
            hidapi
            libasm1
            libbfd
            libdw1
            libelf1
            libgdbm-compat4
            libgdbm-dev
            libgdbm6
            libgettextlib
            libgettextsrc
            libgmp10
            libidn2-0
            libmpc3
            libmpfr6
            libreadline-dev
            libreadline7
            libunistring2
            m4-dev
            m4
            make
            nettle
            which
    
    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
    ***************************************************************
    ***************************************************************
    [  OK  ] Started Print notice about GPLv3 packages.
    
     _____                    _____           _         _
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|
                  |___|                    |___|
    
    Arago Project http://arago-project.org k2hk-evm ttyS0
    
    Arago 2019.07 k2hk-evm ttyS0
    
    k2hk-evm login: root
    root@k2hk-evm:~# uname -a
    Linux k2hk-evm 4.19.59-g5f8c1c6121 #1 SMP PREEMPT Sat Oct 19 16:21:42 UTC 2019 armv7l GNU/Linux
    root@k2hk-evm:~#
    root@k2hk-evm:~#
    root@k2hk-evm:~# date
    Sat Oct 19 16:10:33 UTC 2019
    root@k2hk-evm:~#
    root@k2hk-evm:~#
    root@k2hk-evm:~#
    root@k2hk-evm:~# 2019 Oct 19 16:10:18 k2hk-evm bind 0.0.0.0 - Address already in use
    2019 Oct 19 16:10:18 k2hk-evm bind 0.0.0.0 - Address already in use
    
    
    #>>>>> LCD 12
    IP Address:
    158.218.117.50
    
    root@k2hk-evm:~#
    root@k2hk-evm:~# date
    Sat Oct 19 16:12:00 UTC 2019
    root@k2hk-evm:~#
    root@k2hk-evm:~# date
    Sat Oct 19 16:13:33 UTC 2019
    root@k2hk-evm:~#
    root@k2hk-evm:~# date
    Sat Oct 19 16:17:21 UTC 2019
    root@k2hk-evm:~# iperf -c 158.218.116.223 -u -P 2 --format m -b 500M --len 1024 -t 60
    ------------------------------------------------------------
    Client connecting to 158.218.116.223, UDP port 5001
    Sending 1024 byte datagrams
    UDP buffer size: 0.17 MByte (default)
    ------------------------------------------------------------
    [  3] local 158.218.117.50 port 50411 connected with 158.218.116.223 port 5001
    [  4] local 158.218.117.50 port 55057 connected with 158.218.116.223 port 5001
    [ ID] Interval       Transfer     Bandwidth
    [  3]  0.0-60.0 sec  2733 MBytes   382 Mbits/sec
    [  3] Sent 2798969 datagrams
    [  4]  0.0-60.0 sec  3066 MBytes   429 Mbits/sec
    [  4] Sent 3139824 datagrams
    [SUM]  0.0-60.0 sec  5800 MBytes   811 Mbits/sec
    [  4] Server Report:
    [  4]  0.0-60.0 sec  3066 MBytes   429 Mbits/sec   0.016 ms    1/3139823 (3.2e-05%)
    [  4]  0.0-60.0 sec  1 datagrams received out-of-order
    [  3] Server Report:
    [  3]  0.0-60.0 sec  2733 MBytes   382 Mbits/sec   0.019 ms    0/2798968 (0%)
    [  3]  0.0-60.0 sec  1 datagrams received out-of-order
    root@k2hk-evm:~#
    

  • Thank you for your response

    I checked your log.

    First of all I tested my Uboot - it similar (I ave last version).

    Next I tested my zImage (uname -a)    - it similar (last version)

    But I made my own image using bitbake for starting Linux from NAND flash.

    I see one difference of my boot log

    MY log:

    [ 0.451169] ti,keystone-serdes 232a000.phy: Direct firmware load for ks2_gbe_serdes.bin failed with error -2
    [ 0.451180] ti,keystone-serdes 232a000.phy: can't get any serdes init fw
    [ 0.451189] ti,keystone-serdes 232a000.phy: serdes procider init failed -19
    [ 0.454833] keystone-navigator-qmss soc@0:qmss@2a40000: qmgr start queue 0, number of queues 8192
    [ 0.454966] keystone-navigator-qmss soc@0:qmss@2a40000: added qmgr start queue 0, num of queues 8192, reg_peek (ptrval), reg_status (ptrval), reg_config (ptrval), reg_region (ptrval), reg_push (ptrval), reg_pop (ptrval)
    [ 0.454977] keystone-navigator-qmss soc@0:qmss@2a40000: qmgr start queue 8192, number of queues 8192
    [ 0.455092] keystone-navigator-qmss soc@0:qmss@2a40000: added qmgr start queue 8192, num of queues 8192, reg_peek (ptrval), reg_status (ptrval), reg_config (ptrval), reg_region (ptrval), reg_push (ptrval), reg_pop (ptrval)
    [ 0.455221] keystone-navigator-qmss soc@0:qmss@2a40000: failed to get firmware for pdsp
    [ 0.456850] keystone-navigator-qmss soc@0:qmss@2a40000: pdsp id 0 not started for range acc-low-0

    YOUR log:

    [ 0.416723] ti,keystone-serdes 232a000.phy: init fw ks2_gbe_serdes.bin: version 3.3.0.2c
    [ 0.421480] keystone-navigator-qmss soc@0:qmss@2a40000: qmgr start queue 0, number of queues 8192
    [ 0.421624] keystone-navigator-qmss soc@0:qmss@2a40000: added qmgr start queue 0, num of queues 8192, reg_peek (ptrval), reg_status (ptrval), reg_config (ptrval), reg_region (ptrval), reg_push (ptrval), reg_pop (ptrval)
    [ 0.421637] keystone-navigator-qmss soc@0:qmss@2a40000: qmgr start queue 8192, number of queues 8192
    [ 0.421767] keystone-navigator-qmss soc@0:qmss@2a40000: added qmgr start queue 8192, num of queues 8192, reg_peek (ptrval), reg_status (ptrval), reg_config (ptrval), reg_region (ptrval), reg_push (ptrval), reg_pop (ptrval)
    [ 0.421934] keystone-navigator-qmss soc@0:qmss@2a40000: firmware file ks2_qmss_pdsp_acc48.bin downloaded for PDSP

    But i see this files in my /lib/firmware folder. Where I need to do a link to this files?

    I attached my full log file

    0602.bootlog.txt
    U-Boot SPL 2019.01-g029e4c009a (Oct 19 2019 - 19:26:46 +0000)
    Trying to boot from SPI
    
    
    U-Boot 2019.01-g029e4c009a (Oct 19 2019 - 19:26:46 +0000)
    
    CPU: 66AK2Hx SR2.0
    Model: Texas Instruments Keystone 2 Kepler/Hawking EVM
    DRAM:  DDR3A Speed will be configured for 1333 Operation.
    Detected SO-DIMM [SQR-SD3T-2G1333SED]
    DDR3 speed 1333
    DRAM: 2 GiB (includes reported below)
    
    Clear entire DDR3 memory to enable ECC
    2 GiB
    NAND:  512 MiB
    Loading Environment from NAND... OK
    Net:
    Warning: netcp@2000000 using MAC address from ROM
    eth0: netcp@2000000
    Warning: netcp@slave-1 (eth1) using random MAC address - 9e:70:cf:fc:a2:48
    , eth1: netcp@slave-1
    Warning: netcp@slave-2 (eth2) using random MAC address - ee:6b:47:e3:15:ef
    , eth2: netcp@slave-2
    Warning: netcp@slave-3 (eth3) using random MAC address - ba:0a:a6:61:56:b8
    , eth3: netcp@slave-3
    Hit any key to stop autoboot:  0
    ubi0: attaching mtd3
    ubi0: scanning is finished
    ubi0: attached mtd3 (name "ubifs", size 510 MiB)
    ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
    ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
    ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
    ubi0: good PEBs: 4080, bad PEBs: 4, corrupted PEBs: 0
    ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
    ubi0: max/mean erase counter: 47/3, WL threshold: 4096, image sequence number: 2075855030
    ubi0: available PEBs: 0, total reserved PEBs: 4080, PEBs reserved for bad PEB handling: 76
    Loading file '/boot/skern-k2hk.bin' to addr 0x87000000...
    Done
    K2_BM_15.07-53-ge1f885a SoC:k2hk built:12:45:53, Nov  2 2019
    
    ## installed monitor @ 0xc5f0000, freq [200000000], status 207552512
    Loading file '/boot/zImage' to addr 0x82000000...
    Done
    Loading file '/boot/k2-fw-initrd.cpio.gz' to addr 0x88080000...
    ** File not found /boot/k2-fw-initrd.cpio.gz **
    Loading file '/boot/keystone-k2hk-evm.dtb' to addr 0x88000000...
    Done
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Ramdisk to 8fbe7000, end 8ffff200 ... OK
       Loading Device Tree to 8fbda000, end 8fbe6a6b ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.19.59-g5f8c1c6121 (oe-user@oe-host) (gcc version 8.3.0 (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36))) #1 SMP PREEMPT Sat Nov 2 08:14:48 UTC 2019
    [    0.000000] CPU: ARMv7 Processor [412fc0f4] revision 4 (ARMv7), cr=30c5387d
    [    0.000000] CPU: div instructions available: patching division code
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    [    0.000000] OF: fdt: Machine model: Texas Instruments Keystone 2 Kepler/Hawking EVM
    [    0.000000] Memory policy: Data cache writealloc
    [    0.000000] Switching physical address space to 0x800000000
    [    0.000000] efi: Getting EFI parameters from FDT:
    [    0.000000] efi: UEFI not found.
    [    0.000000] Reserved memory: created CMA memory pool at 0x000000081f800000, size 8 MiB
    [    0.000000] OF: reserved mem: initialized node dsp-common-memory@81f800000, compatible id shared-dma-pool
    [    0.000000] cma: Reserved 24 MiB at 0x000000087e400000
    [    0.000000] psci: probing for conduit method from DT.
    [    0.000000] psci: Using PSCI v0.1 Function IDs from DT
    [    0.000000] random: get_random_bytes called from start_kernel+0xb4/0x470 with crng_init=0
    [    0.000000] percpu: Embedded 16 pages/cpu s36492 r8192 d20852 u65536
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 359296
    [    0.000000] Kernel command line: console=ttyS0,115200n8 rootwait=1 mtdparts=spi0.0:1m(u-boot-spl)ro,-(misc) rootfstype=ubifs root=ubi0:rootfs rootflags=sync rw ubi.mtd=ubifs,2048
    [    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: 1376408K/1441792K available (8192K kernel code, 288K rwdata, 2700K rodata, 2048K init, 266K bss, 32616K reserved, 32768K cma-reserved, 892928K highmem)
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    [    0.000000]     vmalloc : 0xe0800000 - 0xff800000   ( 496 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0x(ptrval) - 0x(ptrval)   (10208 kB)
    [    0.000000]       .init : 0x(ptrval) - 0x(ptrval)   (2048 kB)
    [    0.000000]       .data : 0x(ptrval) - 0x(ptrval)   ( 289 kB)
    [    0.000000]        .bss : 0x(ptrval) - 0x(ptrval)   ( 267 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
    [    0.000000]  Tasks RCU enabled.
    [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
    [    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
    [    0.000000] GIC: Using split EOI/Deactivate mode
    [    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
    [    0.000004] sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.000012] Switching to timer-based delay loop, resolution 5ns
    [    0.000188] keystone timer clock @200000000 Hz
    [    0.000361] Console: colour dummy device 80x30
    [    0.000400] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
    [    0.000413] pid_max: default: 32768 minimum: 301
    [    0.000504] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.000513] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.000985] CPU: Testing write buffer coherency: ok
    [    0.001011] CPU0: Spectre v2: firmware did not set auxiliary control register IBE bit, system vulnerable
    [    0.001212] /cpus/cpu@0 missing clock-frequency property
    [    0.001234] /cpus/cpu@1 missing clock-frequency property
    [    0.001255] /cpus/cpu@2 missing clock-frequency property
    [    0.001278] /cpus/cpu@3 missing clock-frequency property
    [    0.001287] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.060011] Setting up static identity map for 0x80200000 - 0x80200138
    [    0.080014] rcu: Hierarchical SRCU implementation.
    [    0.100158] EFI services will not be available.
    [    0.120057] smp: Bringing up secondary CPUs ...
    [    0.204589] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [    0.204595] CPU1: Spectre v2: firmware did not set auxiliary control register IBE bit, system vulnerable
    [    0.284683] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
    [    0.284689] CPU2: Spectre v2: firmware did not set auxiliary control register IBE bit, system vulnerable
    [    0.364777] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
    [    0.364783] CPU3: Spectre v2: firmware did not set auxiliary control register IBE bit, system vulnerable
    [    0.364919] smp: Brought up 1 node, 4 CPUs
    [    0.364930] SMP: Total of 4 processors activated (1600.00 BogoMIPS).
    [    0.364938] CPU: All CPU(s) started in HYP mode.
    [    0.364944] CPU: Virtualization extensions available.
    [    0.365379] devtmpfs: initialized
    [    0.371124] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [    0.371337] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.371350] futex hash table entries: 1024 (order: 4, 65536 bytes)
    [    0.371809] pinctrl core: initialized pinctrl subsystem
    [    0.372159] DMI not present or invalid.
    [    0.372362] NET: Registered protocol family 16
    [    0.373188] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.373854] cpuidle: using governor ladder
    [    0.373881] cpuidle: using governor menu
    [    0.373991] No ATAGs?
    [    0.374081] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [    0.374092] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [    0.389687] SCSI subsystem initialized
    [    0.390645] media: Linux media interface: v0.10
    [    0.390675] videodev: Linux video capture interface: v2.00
    [    0.390728] pps_core: LinuxPPS API ver. 1 registered
    [    0.390735] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.390750] PTP clock support registered
    [    0.390775] EDAC MC: Ver: 3.0.0
    [    0.391245] Advanced Linux Sound Architecture Driver Initialized.
    [    0.391816] clocksource: Switched to clocksource arch_sys_counter
    [    0.397306] NET: Registered protocol family 2
    [    0.397680] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
    [    0.397702] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.397730] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
    [    0.397779] TCP: Hash tables configured (established 4096 bind 4096)
    [    0.397834] UDP hash table entries: 256 (order: 1, 8192 bytes)
    [    0.397852] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
    [    0.397997] NET: Registered protocol family 1
    [    0.418315] RPC: Registered named UNIX socket transport module.
    [    0.418323] RPC: Registered udp transport module.
    [    0.418330] RPC: Registered tcp transport module.
    [    0.418336] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.418461] Trying to unpack rootfs image as initramfs...
    [    0.443115] Freeing initrd memory: 4196K
    [    0.443306] hw perfevents: no interrupt-affinity property for /pmu, guessing.
    [    0.443558] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
    [    0.443971] platform alarmtimer: set dma_pfn_offset00780000
    [    0.444459] Initialise system trusted keyrings
    [    0.444571] workingset: timestamp_bits=14 max_order=19 bucket_order=5
    [    0.448358] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.448725] NFS: Registering the id_resolver key type
    [    0.448741] Key type id_resolver registered
    [    0.448748] Key type id_legacy registered
    [    0.448778] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.450035] Key type asymmetric registered
    [    0.450044] Asymmetric key parser 'x509' registered
    [    0.450084] bounce: pool size: 64 pages
    [    0.450109] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [    0.450117] io scheduler noop registered
    [    0.450124] io scheduler deadline registered
    [    0.450195] io scheduler cfq registered (default)
    [    0.450203] io scheduler mq-deadline registered
    [    0.450211] io scheduler kyber registered
    [    0.450495] keystone_irq 26202a0.keystone_irq: irqchip registered, nr_irqs 28
    [    0.451169] ti,keystone-serdes 232a000.phy: Direct firmware load for ks2_gbe_serdes.bin failed with error -2
    [    0.451180] ti,keystone-serdes 232a000.phy: can't get any serdes init fw
    [    0.451189] ti,keystone-serdes 232a000.phy: serdes procider init failed -19
    [    0.454833] keystone-navigator-qmss soc@0:qmss@2a40000: qmgr start queue 0, number of queues 8192
    [    0.454966] keystone-navigator-qmss soc@0:qmss@2a40000: added qmgr start queue 0, num of queues 8192, reg_peek (ptrval), reg_status (ptrval), reg_config (ptrval), reg_region (ptrval), reg_push (ptrval), reg_pop (ptrval)
    [    0.454977] keystone-navigator-qmss soc@0:qmss@2a40000: qmgr start queue 8192, number of queues 8192
    [    0.455092] keystone-navigator-qmss soc@0:qmss@2a40000: added qmgr start queue 8192, num of queues 8192, reg_peek (ptrval), reg_status (ptrval), reg_config (ptrval), reg_region (ptrval), reg_push (ptrval), reg_pop (ptrval)
    [    0.455221] keystone-navigator-qmss soc@0:qmss@2a40000: failed to get firmware for pdsp
    [    0.456850] keystone-navigator-qmss soc@0:qmss@2a40000: pdsp id 0 not started for range acc-low-0
    [    0.457495] keystone-navigator-dma soc@0:knav_dmas@0: DMA dma_gbe registered 41 logical channels, flows 32, tx chans: 9, rx chans: 24
    [    0.491635] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [    0.491697] platform serial8250: set dma_pfn_offset00780000
    [    0.494270] console [ttyS0] disabled
    [    0.494315] 2530c00.serial: ttyS0 at MMIO 0x2530c00 (irq = 27, base_baud = 12500000) is a TI DA8xx/66AK2x
    [    1.397752] console [ttyS0] enabled
    [    1.401971] 2531000.serial: ttyS1 at MMIO 0x2531000 (irq = 28, base_baud = 12500000) is a TI DA8xx/66AK2x
    [    1.431328] brd: module loaded
    [    1.439959] loop: module loaded
    [    1.444787] spi_davinci 21000400.spi: DMA is not supported (-19)
    [    1.451503] m25p80 spi0.0: n25q128a11 (16384 Kbytes)
    [    1.456534] 2 cmdlinepart partitions found on MTD device spi0.0
    [    1.462495] Creating 2 MTD partitions on "spi0.0":
    [    1.467307] 0x000000000000-0x000000100000 : "u-boot-spl"
    [    1.473200] 0x000000100000-0x000001000000 : "misc"
    [    1.478547] spi_davinci 21000400.spi: Controller at 0x(ptrval)
    [    1.484669] spi_davinci 21000600.spi: DMA is not supported (-19)
    [    1.490964] spi_davinci 21000600.spi: Controller at 0x(ptrval)
    [    1.497067] spi_davinci 21000800.spi: DMA is not supported (-19)
    [    1.503377] spi_davinci 21000800.spi: Controller at 0x(ptrval)
    [    1.509470] platform Fixed MDIO bus.0: set dma_pfn_offset00780000
    [    1.515740] libphy: Fixed MDIO Bus: probed
    [    1.571840] davinci_mdio 2090300.mdio: davinci mdio revision 1.5, bus freq 2500000
    [    1.579437] libphy: 2090300.mdio: probed
    [    1.584866] davinci_mdio 2090300.mdio: phy[0]: device 2090300.mdio:00, driver Marvell 88E1111
    [    1.593443] davinci_mdio 2090300.mdio: phy[1]: device 2090300.mdio:01, driver Marvell 88E1111
    [    1.602454] ti,keystone-serdes 232a000.phy: Requested PHY is disabled
    [    2.120494] ti,keystone-serdes 232a000.phy: Requested PHY is disabled
    [    2.640250] netcp-1.0 2620110.netcp: initialized cpsw ale version 1.3
    [    2.646735] netcp-1.0 2620110.netcp: ALE Table size 1024
    [    2.652096] netcp-1.0 2620110.netcp: cpts: overflow check period 350 (jiffies)
    [    2.659347] netcp-1.0 2620110.netcp: CPTS: ref_clk_freq:600000000 calc_mult:3579139413 calc_shift:31 error:-1 nsec/sec
    [    2.670763] netcp-1.0 2620110.netcp: module(netcp-xgbe) not used for device
    [    2.677948] i2c /dev entries driver
    [    2.682913] sdhci: Secure Digital Host Controller Interface driver
    [    2.689113] sdhci: Copyright(c) Pierre Ossman
    [    2.693728] sdhci-pltfm: SDHCI platform and OF driver helper
    [    2.700342] ledtrig-cpu: registered to indicate activity on CPUs
    [    2.707864] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xac
    [    2.714263] nand: Micron MT29F4G08ABBDAHC
    [    2.718286] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
    [    2.726173] Bad block table found at page 262080, version 0x01
    [    2.732524] Bad block table found at page 262016, version 0x01
    [    2.738682] 3 fixed-partitions partitions found on MTD device 30000000.nand
    [    2.745683] Creating 3 MTD partitions on "30000000.nand":
    [    2.751102] 0x000000000000-0x000000100000 : "u-boot"
    [    2.756673] 0x000000100000-0x000000180000 : "params"
    [    2.762196] 0x000000180000-0x000020000000 : "ubifs"
    [    2.770822] davinci_nand 30000000.nand: controller rev. 2.5
    [    2.776912] platform snd-soc-dummy: set dma_pfn_offset00780000
    [    2.783632] NET: Registered protocol family 10
    [    2.788815] Segment Routing with IPv6
    [    2.792550] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    2.798847] NET: Registered protocol family 17
    [    2.803422] Key type dns_resolver registered
    [    2.807823] Registering SWP/SWPB emulation handler
    [    2.813007] Loading compiled-in X.509 certificates
    [    2.822806] ubi0: attaching mtd4
    [    3.171819] (NULL net_device): Link is Down
    [    3.176017] (NULL net_device): Link is Down
    [    4.807223] ubi0: scanning is finished
    [    4.820727] ubi0: attached mtd4 (name "ubifs", size 510 MiB)
    [    4.826427] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
    [    4.833339] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
    [    4.840151] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
    [    4.847149] ubi0: good PEBs: 4080, bad PEBs: 4, corrupted PEBs: 0
    [    4.853273] ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
    [    4.860521] ubi0: max/mean erase counter: 47/3, WL threshold: 4096, image sequence number: 2075855030
    [    4.869787] ubi0: available PEBs: 0, total reserved PEBs: 4080, PEBs reserved for bad PEB handling: 76
    [    4.879155] ubi0: background thread "ubi_bgt0d" started, PID 73
    [    4.879240] hctosys: unable to open rtc device (rtc0)
    [    4.900197] ALSA device list:
    [    4.903183]   No soundcards found.
    [    4.917076] UBIFS: parse sync
    [    4.920744] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 74
    [    5.000759] UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "rootfs"
    [    5.008199] UBIFS (ubi0:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
    [    5.018164] UBIFS (ubi0:0): FS size: 506507264 bytes (483 MiB, 3989 LEBs), journal size 9023488 bytes (8 MiB, 72 LEBs)
    [    5.028912] UBIFS (ubi0:0): reserved for root: 0 bytes (0 KiB)
    [    5.034778] UBIFS (ubi0:0): media format: w4/r0 (latest is w5/r0), UUID 6EA2AAEF-9CAA-4BD5-9E54-C0ADF2B5EC52, small LPT model
    [    5.047883] VFS: Mounted root (ubifs filesystem) on device 0:14.
    [    5.055193] devtmpfs: mounted
    [    5.059126] Freeing unused kernel memory: 2048K
    [    5.063787] Run /sbin/init as init process
    [    5.317456] systemd[1]: System time before build time, advancing clock.
    [    5.388209] systemd[1]: systemd 239 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN -PCRE2 default-hierarchy=hybrid)
    [    5.410736] systemd[1]: Detected architecture arm.
    
    Welcome to Arago 2019.07!
    
    [    5.456491] systemd[1]: Set hostname to <k2hk-evm>.
    [    5.746257] systemd[1]: File /lib/systemd/system/systemd-journald.service:36 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
    [    5.763390] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
    [    6.011420] random: systemd: uninitialized urandom read (16 bytes read)
    [    6.019257] systemd[1]: Listening on Network Service Netlink Socket.
    [  OK  ] Listening on Network Service Netlink Socket.
    [    6.062690] random: systemd: uninitialized urandom read (16 bytes read)
    [    6.072437] systemd[1]: Created slice User and Session Slice.
    [  OK  ] Created slice User and Session Slice.
    [    6.111950] random: systemd: uninitialized urandom read (16 bytes read)
    [    6.118611] systemd[1]: Reached target Remote File Systems.
    [  OK  ] Reached target Remote File Systems.
    [    6.152055] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
    [    6.193160] systemd[1]: Listening on udev Control Socket.
    [  OK  ] Listening on udev Control Socket.
    [  OK  ] Created slice system-serial\x2dgetty.slice.
    [  OK  ] Listening on initctl Compatibility Named Pipe.
    [  OK  ] Listening on udev Kernel Socket.
    [  OK  ] Listening on Journal Socket.
             Starting Load Kernel Modules...
    [    6.400244] cmemk: loading out-of-tree module taints kernel.
    [    6.407474] CMEMK module: reference Linux version 4.19.59
             [    6.413519] allocated heap buffer 0xc100000 of size 0x480000
    Starting Create [    6.419392] cmemk initialized
    list of required st…ce nodes for the current kernel...
    [    6.430556] cryptodev: driver 1.9 loaded.
    [    6.454998] NET: Registered protocol family 45
             Starting udev Coldplug all Devices...
             Mounting POSIX Message Queue File System...
             Starting Remount Root and Kernel File Systems...
             Mounting Kernel Debug File System...
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Reached target Paths.
    [  OK  ] Started Hardware RNG Entropy Gatherer Daemon.
    [  OK  ] Reached target Slices.
    [  OK  ] Created slice system-getty.slice.
    [  OK  ] Reached target Swap.
    [  OK  ] Listening on Journal Socket (/dev/log).
             Starting Journal Service...
             Mounting Temporary Directory (/tmp)...
    [  OK  ] Listening on Process Core Dump Socket.
    [  OK  ] Started Journal Service.
    [  OK  ] Started Load Kernel Modules.
    [  OK  ] Started Create list of required sta…vice nodes for the current kernel.
    [  OK  ] Mounted POSIX Message Queue File System.
    [  OK  ] Started Remount Root and Kernel File Systems.
    [  OK  ] Mounted Kernel Debug File System.
    [  OK  ] Mounted Temporary Directory (/tmp).
             Starting Create Static Device Nodes in /dev...
             Starting Apply Kernel Variables...
             Mounting Kernel Configuration File System...
             Starting Flush Journal to Persistent Storage...
    [  OK  ] Started Create Static Device Nodes in /dev.
    [  OK  ] Started Apply Kernel Variables.
    [  OK  ] Mounted Kernel Configuration File System.
             Starting udev Kernel Device Manager...
    [  OK  ] Reached target Local File Systems (Pre).
    [  OK  ] Reached target Containers.
             Mounting /var/volatile...
             Mounting /media/ram...
    [  OK  ] Started udev Kernel Device Manager.
    [  OK  ] Started udev Coldplug all Devices.
    [  OK  ] Mounted /var/volatile.
    [  OK  ] Mounted /media/ram.
    [    7.634763] keystone-rproc 10800000.dsp: assigned reserved memory node dsp-common-memory@81f800000
    [    7.646942] remoteproc remoteproc0: 10800000.dsp is available
    [    7.677536] keystone-rproc 11800000.dsp: assigned reserved memory node dsp-common-memory@81f800000
    [    7.687678] systemd-journald[98]: Received request to flush runtime journal from PID 1
    [    7.701933] remoteproc remoteproc1: 11800000.dsp is available
    [    7.716396] keystone-rproc 12800000.dsp: assigned reserved memory node dsp-common-memory@81f800000
    [    7.733166] remoteproc remoteproc2: 12800000.dsp is available
    [    7.755503] keystone-rproc 13800000.dsp: assigned reserved memory node dsp-common-memory@81f800000
    [    7.764675] remoteproc remoteproc3: 13800000.dsp is available
    [  OK  ] Started Flush Journal to Persistent Storage.
    [    7.795936] keystone-rproc 14800000.dsp: assigned reserved memory node dsp-common-memory@81f800000
    [    7.821910] remoteproc remoteproc4: 14800000.dsp is available
    [    7.832423] keystone-rproc 15800000.dsp: assigned reserved memory node dsp-common-memory@81f800000
    [    7.841475] remoteproc remoteproc5: 15800000.dsp is available
    [    7.864328] keystone-rproc 16800000.dsp: assigned reserved memory node dsp-common-memory@81f800000
    [    7.873436] remoteproc remoteproc6: 16800000.dsp is available
    [    7.885293] keystone-rproc 17800000.dsp: assigned reserved memory node dsp-common-memory@81f800000
    [    7.898855] remoteproc remoteproc7: 17800000.dsp is available
             Starting Load/Save Random Seed...
    [  OK  ] Reached target Local File Systems.
    [    7.969792] davinci-wdt 22f0080.wdt: heartbeat 60 sec
             Starting Create Volatile Files and Directories...
    [  OK  ] Started Load/Save Random Seed.
    [    8.036454] at24 0-0050: 131072 byte 24c1024 EEPROM, writable, 1 bytes/write
    [    8.079075] keystone-usbphy 2620738.usb_phy: 2620738.usb_phy supply vcc not found, using dummy regulator
    [    8.120770] keystone-usbphy 2620738.usb_phy: Linked as a consumer to regulator.0
    [  OK  ] Found device /dev/ttyS0.
    [  OK  ] Started Create Volatile Files and Directories.
    [    8.879924] dwc3 2690000.dwc3: Failed to get clk 'ref': -2
    [    8.886214] platform xhci-hcd.0.auto: set dma_pfn_offset00780000
    [    8.932472] usbcore: registered new interface driver usbfs
    [    8.938212] usbcore: registered new interface driver hub
    [    8.943933] usbcore: registered new device driver usb
    [    8.971171] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    [    8.976779] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
    [    8.985824] xhci-hcd xhci-hcd.0.auto: hcc params 0x0298f06d hci version 0x100 quirks 0x0000000002010010
    [    8.995299] xhci-hcd xhci-hcd.0.auto: irq 35, io mem 0x02690000
    [    9.001544] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
    [    9.009907] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    9.017180] usb usb1: Product: xHCI Host Controller
    [    9.022097] usb usb1: Manufacturer: Linux 4.19.59-g5f8c1c6121 xhci-hcd
    [    9.028652] usb usb1: SerialNumber: xhci-hcd.0.auto
    [    9.036166] hub 1-0:1.0: USB hub found
    [    9.039956] hub 1-0:1.0: 1 port detected
    [    9.044926] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    [    9.050442] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
    [    9.058161] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
    [    9.064788] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    [    9.073042] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.19
    [    9.081339] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    9.088607] usb usb2: Product: xHCI Host Controller
    [    9.093519] usb usb2: Manufacturer: Linux 4.19.59-g5f8c1c6121 xhci-hcd
    [    9.100070] usb usb2: SerialNumber: xhci-hcd.0.auto
    [    9.106032] hub 2-0:1.0: USB hub found
    [    9.109818] hub 2-0:1.0: 1 port detected
    [  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
             Starting Update UTMP about System Boot/Shutdown...
             [   11.507477] random: fast init done
    Starting Network Time Synchronization...
             Starting Network Service...
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [  OK  ] Started Network Service.
             Starting Network Name Resolution...
             Starting Wait for Network to be Configured...
    [   11.842510] netcp-1.0 2620110.netcp eth1: Link is Down
    [  OK  ] Started Netwo[   11.849912] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
    rk Time Synchronization.
    [  OK  ] Reached target System Time Synchronized.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Started Daily rotation of log files.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target Timers.
             Starting sshd.socket.
    [   12.062300] netcp-1.0 2620110.netcp eth0: Link is Down
    [   12.068850] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [  OK  ] Started Network Name Resolution.
    [  OK  ] Listening on sshd.socket.
    [  OK  ] Reached target Sockets.
    [  OK  ] Reached target Basic System.
             Starting TI Multiproc Manager...
    [  OK  ] Started D-Bus System Message Bus.
    [  OK  ] Started Job spooling tools.
    [  OK  ] Started Periodic Command Scheduler.
             Starting Print notice about GPLv3 packages...
             Starting Matrix GUI...
             Starting Login Service...
             Starting TI IPC Daemon...
             Starting RPC Bind Service...
             Starting telnetd.service...
    [  OK  ] Reached target Network.
             Starting Lightning Fast Webserver With Light System Requirements...
             Starting Permit User Sessions...
             Starting Avahi mDNS/DNS-SD Stack...
    [  OK  ] Reached target Host and Network Name Lookups.
    [  OK  ] Started Matrix GUI.
    [  OK     12.571963] registered dspmem misc device
    m] Started Permit User Sessions.
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Serial Getty on ttyS0.
    [  OK  ] Reached target Login Prompts.
             Starting Synchronize System and HW clocks...
    [  OK  ] Started TI IPC Daemon.
    [  OK  ] Started Login Service.
    [  OK  ] Started telnetd.service.
             Starting thttpd.service...
    [FAILED] Failed to start Synchronize System and HW clocks.
    See 'systemctl status sync-clocks.service' for details.
    [  OK  ] Started RPC Bind Service.
    [  OK  ] Started NFS status monitor for NFSv2/3 locking..
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.
    [  OK  ] Started thttpd.service.
    [  OK  ] Started Lightning Fast Webserver With Light System Requirements.
    [  OK  ] Started TI Multiproc Manager.
             Starting TI MultiCore Tools Daemon...
    [   16.313024] netcp-1.0 2620110.netcp eth0: Link is Up - 1Gbps/Full - flow control rx/tx
    [   16.321014] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [   16.727172] ubi0 warning: ubi_io_read: error -74 (ECC error) while reading 3116 bytes from PEB 2030:84408, read only 3116 bytes, retry
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPLv3 packages:
            bash
            bc
            cifs-utils
            cpio
            dosfstools
            elfutils
            gawk
            gdb
            gdbc6x
            gdbserver
            gzip
            libbfd
            libdw1
            libelf1
            libgdbm-compat4
            libgdbm6
            libreadline7
            make
            mc
            which
    
    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
    ***************************************************************
    ***************************************************************
    [  OK  ] Started Print notice about GPLv3 packages.
    [   17.934612] remoteproc remoteproc0: powering up 10800000.dsp
    [   17.940300] remoteproc remoteproc0: Booting unspecified pre-loaded fw image
    [   17.949269] remoteproc remoteproc0: registered virtio0 (type 7)
    [   17.955338] remoteproc remoteproc0: remote processor 10800000.dsp is now up
    [   17.959193] virtio_rpmsg_bus virtio0: rpmsg host is online
    [   17.959277] virtio_rpmsg_bus virtio0: creating channel rpmsg-proto addr 0x3d
    [   17.983179] remoteproc remoteproc1: powering up 11800000.dsp
    [   17.988864] remoteproc remoteproc1: Booting unspecified pre-loaded fw image
    [   17.997947] virtio_rpmsg_bus virtio1: rpmsg host is online
    [   17.998101] virtio_rpmsg_bus virtio1: creating channel rpmsg-proto addr 0x3d
    [   18.003609] remoteproc remoteproc1: registered virtio1 (type 7)
    [   18.016529] remoteproc remoteproc1: remote processor 11800000.dsp is now up
    [   18.044465] remoteproc remoteproc2: powering up 12800000.dsp
    [   18.050291] remoteproc remoteproc2: Booting unspecified pre-loaded fw image
    [   18.059494] virtio_rpmsg_bus virtio2: rpmsg host is online
    [   18.059769] virtio_rpmsg_bus virtio2: creating channel rpmsg-proto addr 0x3d
    [   18.065130] remoteproc remoteproc2: registered virtio2 (type 7)
    [   18.078093] remoteproc remoteproc2: remote processor 12800000.dsp is now up
    [   18.105732] remoteproc remoteproc3: powering up 13800000.dsp
    [   18.111417] remoteproc remoteproc3: Booting unspecified pre-loaded fw image
    [   18.120977] virtio_rpmsg_bus virtio3: rpmsg host is online
    [   18.121097] virtio_rpmsg_bus virtio3: creating channel rpmsg-proto addr 0x3d
    [   18.126658] remoteproc remoteproc3: registered virtio3 (type 7)
    [   18.139578] remoteproc remoteproc3: remote processor 13800000.dsp is now up
    [   18.167974] remoteproc remoteproc4: powering up 14800000.dsp
    [   18.173698] remoteproc remoteproc4: Booting unspecified pre-loaded fw image
    [   18.182486] virtio_rpmsg_bus virtio4: rpmsg host is online
    [   18.182626] virtio_rpmsg_bus virtio4: creating channel rpmsg-proto addr 0x3d
    [   18.188092] remoteproc remoteproc4: registered virtio4 (type 7)
    [   18.201046] remoteproc remoteproc4: remote processor 14800000.dsp is now up
    [   18.229178] remoteproc remoteproc5: powering up 15800000.dsp
    [   18.234880] remoteproc remoteproc5: Booting unspecified pre-loaded fw image
    [   18.244654] virtio_rpmsg_bus virtio5: rpmsg host is online
    [   18.244797] virtio_rpmsg_bus virtio5: creating channel rpmsg-proto addr 0x3d
    [   18.250469] remoteproc remoteproc5: registered virtio5 (type 7)
    [   18.263244] remoteproc remoteproc5: remote processor 15800000.dsp is now up
    [   18.291015] remoteproc remoteproc6: powering up 16800000.dsp
    [   18.296716] remoteproc remoteproc6: Booting unspecified pre-loaded fw image
    [   18.305864] virtio_rpmsg_bus virtio6: rpmsg host is online
    [   18.306026] virtio_rpmsg_bus virtio6: creating channel rpmsg-proto addr 0x3d
    [   18.311491] remoteproc remoteproc6: registered virtio6 (type 7)
    [   18.324457] remoteproc remoteproc6: remote processor 16800000.dsp is now up
    [   18.352572] remoteproc remoteproc7: powering up 17800000.dsp
    [   18.358255] remoteproc remoteproc7: Booting unspecified pre-loaded fw image
    [   18.367859] virtio_rpmsg_bus virtio7: rpmsg host is online
    [   18.368025] virtio_rpmsg_bus virtio7: creating channel rpmsg-proto addr 0x3d
    [   18.373481] remoteproc remoteproc7: registered virtio7 (type 7)
    [   18.386454] remoteproc remoteproc7: remote processor 17800000.dsp is now up
    
     _____                    _____           _         _
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|
                  |___|                    |___|
    
    Arago Project http://arago-project.org k2hk-evm ttyS0
    
    Arago 2019.07 k2hk-evm ttyS0
    
    k2hk-evm login:
    
     

  • Hi, Pavel,

    [ 0.451169] ti,keystone-serdes 232a000.phy: Direct firmware load for ks2_gbe_serdes.bin failed with error -2
    

    Check your filesystem if /lib/firmware/ks2_gbe_serdes.bin exists. The error indicates the file is missing. You can tftp it from the untared filesystem in the release package.

    Rex

  • Hello Mr. Chang

    I checked my NAND filesystem. Everything is ok. I copied all folder /lib/firmware from targetNFS folder of SDK to my EVMK2H.

    But I have same problem: 

    Direct firmware load for ks2_gbe_serdes.bin failed with error -2

    I want ti ask you: 

    1. Is it possible that I have full-working Ethernet (but it sometimes do link down and sometimes drops UDP packets) is QMSS and Serdes haven't configuraton?

    2. As I understood, file ks2_gbe_serdes.bin  is avaible only when filesystem will mounted.  But according my log NAND filesystem mounts AFTER serdes and qmss tried to initialisation. Is it rigth?

  • Addition to previos post.

    I resolved problem with  Direct firmware load for ks2_gbe_serdes.bin    - In my /boot  folder wasn't /boot/k2-fw-initrd.cpio.gz  file. (I think it not copied when made bitbake compilation).

    But I have droped UDP  and  netcp-1.0 2620110.netcp eth0: Link is Down ...

    What I can to see more in board? And, please, answer my previos question 1, intresting.

  • One clarification more.

    I have 

    netcp-1.0 2620110.netcp eth0: Link is Down ...  error

    when I handle significant UDP stream (350Mbit/s receive by EVMK2H) with active HTTP server (lighttpd) (35Mbit/s transmit from EVMK2H). It may happened in one minutes or in one hour. In idle more this error are happened very rarely.

  • Hi, Pavel,

    Actually, your eth0 is up later. 

    [ 16.313024] netcp-1.0 2620110.netcp eth0: Link is Up - 1Gbps/Full - flow control rx/tx
    [ 16.321014] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

    Since you are using ubi boot, I changed my boot from NAND as well using arago-base-tisdk-image-k2hk-evm.ubi from PLSDK 6.1 release, so it is easy to compare. Attached is my logs. I am able to get throughput of 929 Mbps with 4 packets dropped in one thread and 15 in the other. I don't see ehthernet port goes up and down. I noticed in your logs that your processes coming up in different order than mine. Is this something you modified? Could you try with TI's image and see how it behaves in your setup to rule out things possibly introduced in your bitbake.

    Rex

    8321.k2h-psdk61-ubiboot.log
    => setenv name_ubi arago-base-tisdk-image-k2hk-evm.ubi
    => run get_ubi_net
    
    netcp@2000000 Waiting for SGMII auto negotiation to complete. done
    BOOTP broadcast 1
    BOOTP broadcast 2
    BOOTP broadcast 3
    DHCP client bound to address 158.218.117.50 (1049 ms)
    Using netcp@2000000 device
    TFTP from server 158.218.116.223; our IP address is 158.218.117.50
    Filename 'psdk6108-k2h/arago-base-tisdk-image-k2hk-evm.ubi'.
    Load address: 0x82000000
    Loading: #################################################################
             #################################################################
    ::::::::::::::::::::::
    done
    Bytes transferred = 166199296 (9e80000 hex)
    => run burn_ubi
    
    NAND erase.part: device 0 offset 0x180000, size 0x1fe80000
    Skipping bad block at  0x1ff80000
    Skipping bad block at  0x1ffa0000
    Skipping bad block at  0x1ffc0000
    Skipping bad block at  0x1ffe0000
    
    OK
    
    NAND write: device 0 offset 0x180000, size 0x9e80000
     166199296 bytes written: OK
    => setenv boot ubi
    => boot
    ubi0: attaching mtd3
    ubi0: scanning is finished
    ubi0: volume 0 ("rootfs") re-sized from 1266 to 4000 LEBs
    ubi0: attached mtd3 (name "ubifs", size 510 MiB)
    ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
    ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
    ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
    ubi0: good PEBs: 4080, bad PEBs: 4, corrupted PEBs: 0
    ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
    ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 1790608758
    ubi0: available PEBs: 0, total reserved PEBs: 4080, PEBs reserved for bad PEB handling: 76
    Loading file '/boot/skern-k2hk.bin' to addr 0x87000000...
    Done
    K2_BM_15.07-53-ge1f885a SoC:k2hk built:17:35:26, Oct 19 2019
    
    ## installed monitor @ 0xc5f0000, freq [200000000], status 207552512
    Loading file '/boot/zImage' to addr 0x82000000...
    Done
    Loading file '/boot/k2-fw-initrd.cpio.gz' to addr 0x88080000...
    ** File not found /boot/k2-fw-initrd.cpio.gz **
    Loading file '/boot/keystone-k2hk-evm.dtb' to addr 0x88000000...
    Done
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Ramdisk to 8fbe7000, end 8ffff200 ... OK
       Loading Device Tree to 8fbda000, end 8fbe6a6b ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.19.59-g5f8c1c6121 (oe-user@oe-host) (gcc version 8.3.0 (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36))) #1 SMP PREEMPT Sat Oct 19 16:21:42 UTC 2019
    [    0.000000] CPU: ARMv7 Processor [412fc0f4] revision 4 (ARMv7), cr=30c5387d
    [    0.000000] CPU: div instructions available: patching division code
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    [    0.000000] OF: fdt: Machine model: Texas Instruments Keystone 2 Kepler/Hawking EVM
    [    0.000000] Memory policy: Data cache writealloc
    [    0.000000] Switching physical address space to 0x800000000
    [    0.000000] efi: Getting EFI parameters from FDT:
    [    0.000000] efi: UEFI not found.
    [    0.000000] Reserved memory: created CMA memory pool at 0x000000081f800000, size 8 MiB
    [    0.000000] OF: reserved mem: initialized node dsp-common-memory@81f800000, compatible id shared-dma-pool
    [    0.000000] cma: Reserved 24 MiB at 0x000000087e400000
    [    0.000000] psci: probing for conduit method from DT.
    [    0.000000] psci: Using PSCI v0.1 Function IDs from DT
    [    0.000000] random: get_random_bytes called from start_kernel+0xb4/0x470 with crng_init=0
    [    0.000000] percpu: Embedded 16 pages/cpu s36492 r8192 d20852 u65536
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 359296
    [    0.000000] Kernel command line: console=ttyS0,115200n8 rootwait=1 mtdparts=spi0.0:1m(u-boot-spl)ro,-(misc) rootfstype=ubifs root=ubi0:rootfs rootflags=sync rw ubi.mtd=ubifs,2048
    [    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: 1376408K/1441792K available (8192K kernel code, 288K rwdata, 2700K rodata, 2048K init, 266K bss, 32616K reserved, 32768K cma-reserved, 892928K highmem)
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    [    0.000000]     vmalloc : 0xe0800000 - 0xff800000   ( 496 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0x(ptrval) - 0x(ptrval)   (10208 kB)
    [    0.000000]       .init : 0x(ptrval) - 0x(ptrval)   (2048 kB)
    [    0.000000]       .data : 0x(ptrval) - 0x(ptrval)   ( 289 kB)
    [    0.000000]        .bss : 0x(ptrval) - 0x(ptrval)   ( 267 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
    [    0.000000]  Tasks RCU enabled.
    [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
    [    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
    [    0.000000] GIC: Using split EOI/Deactivate mode
    [    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
    [    0.000004] sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.000014] Switching to timer-based delay loop, resolution 5ns
    [    0.000216] keystone timer clock @200000000 Hz
    [    0.000411] Console: colour dummy device 80x30
    [    0.000454] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
    [    0.000469] pid_max: default: 32768 minimum: 301
    [    0.000575] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.000586] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.001115] CPU: Testing write buffer coherency: ok
    [    0.001144] CPU0: Spectre v2: firmware did not set auxiliary control register IBE bit, system vulnerable
    [    0.001363] /cpus/cpu@0 missing clock-frequency property
    [    0.001389] /cpus/cpu@1 missing clock-frequency property
    [    0.001414] /cpus/cpu@2 missing clock-frequency property
    [    0.001440] /cpus/cpu@3 missing clock-frequency property
    [    0.001450] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.060009] Setting up static identity map for 0x80200000 - 0x80200138
    [    0.080014] rcu: Hierarchical SRCU implementation.
    [    0.100177] EFI services will not be available.
    [    0.120062] smp: Bringing up secondary CPUs ...
    [    0.205077] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [    0.205084] CPU1: Spectre v2: firmware did not set auxiliary control register IBE bit, system vulnerable
    [    0.285185] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
    [    0.285192] CPU2: Spectre v2: firmware did not set auxiliary control register IBE bit, system vulnerable
    [    0.365289] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
    [    0.365295] CPU3: Spectre v2: firmware did not set auxiliary control register IBE bit, system vulnerable
    [    0.365446] smp: Brought up 1 node, 4 CPUs
    [    0.365459] SMP: Total of 4 processors activated (1600.00 BogoMIPS).
    [    0.365467] CPU: All CPU(s) started in HYP mode.
    [    0.365474] CPU: Virtualization extensions available.
    [    0.365960] devtmpfs: initialized
    [    0.372618] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [    0.372875] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.372890] futex hash table entries: 1024 (order: 4, 65536 bytes)
    [    0.373419] pinctrl core: initialized pinctrl subsystem
    [    0.373824] DMI not present or invalid.
    [    0.374056] NET: Registered protocol family 16
    [    0.375016] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.375793] cpuidle: using governor ladder
    [    0.375824] cpuidle: using governor menu
    [    0.375947] No ATAGs?
    [    0.376049] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [    0.376061] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [    0.394188] SCSI subsystem initialized
    [    0.395255] media: Linux media interface: v0.10
    [    0.395289] videodev: Linux video capture interface: v2.00
    [    0.395350] pps_core: LinuxPPS API ver. 1 registered
    [    0.395359] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.395377] PTP clock support registered
    [    0.395406] EDAC MC: Ver: 3.0.0
    [    0.395959] Advanced Linux Sound Architecture Driver Initialized.
    [    0.396617] clocksource: Switched to clocksource arch_sys_counter
    [    0.403209] NET: Registered protocol family 2
    [    0.403646] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
    [    0.403671] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.403704] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
    [    0.403761] TCP: Hash tables configured (established 4096 bind 4096)
    [    0.403826] UDP hash table entries: 256 (order: 1, 8192 bytes)
    [    0.403847] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
    [    0.404014] NET: Registered protocol family 1
    [    0.404313] RPC: Registered named UNIX socket transport module.
    [    0.404322] RPC: Registered udp transport module.
    [    0.404329] RPC: Registered tcp transport module.
    [    0.404336] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.404477] Trying to unpack rootfs image as initramfs...
    [    0.404644] rootfs image is not initramfs (junk in compressed archive); looks like an initrd
    [    0.413394] Freeing initrd memory: 4196K
    [    0.413663] hw perfevents: no interrupt-affinity property for /pmu, guessing.
    [    0.413988] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
    [    0.414503] platform alarmtimer: set dma_pfn_offset00780000
    [    0.415085] Initialise system trusted keyrings
    [    0.415239] workingset: timestamp_bits=14 max_order=19 bucket_order=5
    [    0.419742] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.420185] NFS: Registering the id_resolver key type
    [    0.420204] Key type id_resolver registered
    [    0.420212] Key type id_legacy registered
    [    0.420248] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.421727] Key type asymmetric registered
    [    0.421737] Asymmetric key parser 'x509' registered
    [    0.421784] bounce: pool size: 64 pages
    [    0.421814] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [    0.421824] io scheduler noop registered
    [    0.421832] io scheduler deadline registered
    [    0.421918] io scheduler cfq registered (default)
    [    0.421928] io scheduler mq-deadline registered
    [    0.421936] io scheduler kyber registered
    [    0.422270] keystone_irq 26202a0.keystone_irq: irqchip registered, nr_irqs 28
    [    0.423061] ti,keystone-serdes 232a000.phy: Direct firmware load for ks2_gbe_serdes.bin failed with error -2
    [    0.423074] ti,keystone-serdes 232a000.phy: can't get any serdes init fw
    [    0.423083] ti,keystone-serdes 232a000.phy: serdes procider init failed -19
    [    0.427341] keystone-navigator-qmss soc@0:qmss@2a40000: qmgr start queue 0, number of queues 8192
    [    0.427504] keystone-navigator-qmss soc@0:qmss@2a40000: added qmgr start queue 0, num of queues 8192, reg_peek (ptrval), reg_status (ptrval), reg_config (ptrval), reg_region (ptrval), reg_push (ptrval), reg_pop (ptrval)
    [    0.427518] keystone-navigator-qmss soc@0:qmss@2a40000: qmgr start queue 8192, number of queues 8192
    [    0.427648] keystone-navigator-qmss soc@0:qmss@2a40000: added qmgr start queue 8192, num of queues 8192, reg_peek (ptrval), reg_status (ptrval), reg_config (ptrval), reg_region (ptrval), reg_push (ptrval), reg_pop (ptrval)
    [    0.427802] keystone-navigator-qmss soc@0:qmss@2a40000: failed to get firmware for pdsp
    [    0.429702] keystone-navigator-qmss soc@0:qmss@2a40000: pdsp id 0 not started for range acc-low-0
    [    0.430470] keystone-navigator-dma soc@0:knav_dmas@0: DMA dma_gbe registered 41 logical channels, flows 32, tx chans: 9, rx chans: 24
    [    0.469996] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [    0.470068] platform serial8250: set dma_pfn_offset00780000
    [    0.472972] console [ttyS0] disabled
    [    0.473024] 2530c00.serial: ttyS0 at MMIO 0x2530c00 (irq = 27, base_baud = 12500000) is a TI DA8xx/66AK2x
    [    1.385204] console [ttyS0] enabled
    [    1.389534] 2531000.serial: ttyS1 at MMIO 0x2531000 (irq = 28, base_baud = 12500000) is a TI DA8xx/66AK2x
    [    1.408737] brd: module loaded
    [    1.417930] loop: module loaded
    [    1.422962] spi_davinci 21000400.spi: DMA is not supported (-19)
    [    1.429802] m25p80 spi0.0: n25q128a11 (16384 Kbytes)
    [    1.434792] 2 cmdlinepart partitions found on MTD device spi0.0
    [    1.440757] Creating 2 MTD partitions on "spi0.0":
    [    1.445569] 0x000000000000-0x000000100000 : "u-boot-spl"
    [    1.451545] 0x000000100000-0x000001000000 : "misc"
    [    1.457003] spi_davinci 21000400.spi: Controller at 0x(ptrval)
    [    1.463145] spi_davinci 21000600.spi: DMA is not supported (-19)
    [    1.469491] spi_davinci 21000600.spi: Controller at 0x(ptrval)
    [    1.475615] spi_davinci 21000800.spi: DMA is not supported (-19)
    [    1.481957] spi_davinci 21000800.spi: Controller at 0x(ptrval)
    [    1.488106] platform Fixed MDIO bus.0: set dma_pfn_offset00780000
    [    1.494377] libphy: Fixed MDIO Bus: probed
    [    1.556645] davinci_mdio 2090300.mdio: davinci mdio revision 1.5, bus freq 2500000
    [    1.564243] libphy: 2090300.mdio: probed
    [    1.569779] davinci_mdio 2090300.mdio: phy[0]: device 2090300.mdio:00, driver Marvell 88E1111
    [    1.578360] davinci_mdio 2090300.mdio: phy[1]: device 2090300.mdio:01, driver Marvell 88E1111
    [    1.587448] ti,keystone-serdes 232a000.phy: Requested PHY is disabled
    [    2.108515] ti,keystone-serdes 232a000.phy: Requested PHY is disabled
    [    2.630166] netcp-1.0 2620110.netcp: initialized cpsw ale version 1.3
    [    2.636653] netcp-1.0 2620110.netcp: ALE Table size 1024
    [    2.642008] netcp-1.0 2620110.netcp: cpts: overflow check period 350 (jiffies)
    [    2.649277] netcp-1.0 2620110.netcp: CPTS: ref_clk_freq:600000000 calc_mult:3579139413 calc_shift:31 error:-1 nsec/sec
    [    2.660792] netcp-1.0 2620110.netcp: module(netcp-xgbe) not used for device
    [    2.668009] i2c /dev entries driver
    [    2.673166] sdhci: Secure Digital Host Controller Interface driver
    [    2.679387] sdhci: Copyright(c) Pierre Ossman
    [    2.684024] sdhci-pltfm: SDHCI platform and OF driver helper
    [    2.690803] ledtrig-cpu: registered to indicate activity on CPUs
    [    2.698545] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xac
    [    2.704922] nand: Micron MT29F4G08ABBDAHC
    [    2.708969] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
    [    2.716862] Bad block table found at page 262080, version 0x01
    [    2.723198] Bad block table found at page 262016, version 0x01
    [    2.729379] 3 fixed-partitions partitions found on MTD device 30000000.nand
    [    2.736367] Creating 3 MTD partitions on "30000000.nand":
    [    2.741804] 0x000000000000-0x000000100000 : "u-boot"
    [    2.747468] 0x000000100000-0x000000180000 : "params"
    [    2.753056] 0x000000180000-0x000020000000 : "ubifs"
    [    2.762269] davinci_nand 30000000.nand: controller rev. 2.5
    [    2.768439] platform snd-soc-dummy: set dma_pfn_offset00780000
    [    2.775255] NET: Registered protocol family 10
    [    2.780568] Segment Routing with IPv6
    [    2.784293] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    2.790668] NET: Registered protocol family 17
    [    2.795239] Key type dns_resolver registered
    [    2.799685] Registering SWP/SWPB emulation handler
    [    2.804908] Loading compiled-in X.509 certificates
    [    2.815411] ubi0: attaching mtd4
    [    3.166623] (NULL net_device): Link is Down
    [    3.170823] (NULL net_device): Link is Down
    [    4.844797] ubi0: scanning is finished
    [    4.858336] ubi0: attached mtd4 (name "ubifs", size 510 MiB)
    [    4.864018] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
    [    4.870940] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
    [    4.877768] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
    [    4.884756] ubi0: good PEBs: 4080, bad PEBs: 4, corrupted PEBs: 0
    [    4.890885] ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
    [    4.898147] ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 1790608758
    [    4.907329] ubi0: available PEBs: 0, total reserved PEBs: 4080, PEBs reserved for bad PEB handling: 76
    [    4.916703] ubi0: background thread "ubi_bgt0d" started, PID 73
    [    4.916804] hctosys: unable to open rtc device (rtc0)
    [    4.938403] ALSA device list:
    [    4.941378]   No soundcards found.
    [    4.955339] UBIFS: parse sync
    [    4.960263] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 74
    [    4.991717] UBIFS (ubi0:0): start fixing up free space
    [   16.170592] UBIFS (ubi0:0): free space fixup complete
    [   16.192623] UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "rootfs"
    [   16.200065] UBIFS (ubi0:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
    [   16.210035] UBIFS (ubi0:0): FS size: 506507264 bytes (483 MiB, 3989 LEBs), journal size 9023488 bytes (8 MiB, 72 LEBs)
    [   16.220787] UBIFS (ubi0:0): reserved for root: 0 bytes (0 KiB)
    [   16.226656] UBIFS (ubi0:0): media format: w4/r0 (latest is w5/r0), UUID 70B3DE11-3FAC-4869-90D4-F89BA8F373ED, small LPT model
    [   16.240006] VFS: Mounted root (ubifs filesystem) on device 0:14.
    [   16.247559] devtmpfs: mounted
    [   16.251646] Freeing unused kernel memory: 2048K
    [   16.256309] Run /sbin/init as init process
    [   16.509862] systemd[1]: System time before build time, advancing clock.
    [   16.582340] systemd[1]: systemd 239 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN -PCRE2 default-hierarchy=hybrid)
    [   16.604646] systemd[1]: Detected architecture arm.
    
    Welcome to Arago 2019.07!
    
    [   16.650082] systemd[1]: Set hostname to <k2hk-evm>.
    [   16.662323] random: systemd: uninitialized urandom read (16 bytes read)
    [   16.669001] systemd[1]: Initializing machine ID from random generator.
    [   16.954615] systemd[1]: File /lib/systemd/system/systemd-journald.service:36 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
    [   16.971753] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
    [   17.222956] random: systemd: uninitialized urandom read (16 bytes read)
    [   17.230932] systemd[1]: Listening on udev Control Socket.
    [  OK  ] Listening on udev Control Socket.
    [   17.267509] random: systemd: uninitialized urandom read (16 bytes read)
    [   17.274328] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
    [   17.317756] systemd[1]: Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket (/dev/log).
    [   17.356897] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Created slice system-getty.slice.
    [  OK  ] Listening on Process Core Dump Socket.
    [  OK  ] Listening on Network Service Netlink Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [  OK  ] Created slice User and Session Slice.
    [  OK  ] Reached target Remote File Systems.
    [  OK  ] Listening on initctl Compatibility Named Pipe.
    [  OK  ] Reached target Slices.
    [  OK  ] Reached target Paths.
    [  OK  ] Listening on Journal Socket.
             Starting Create list of required st�ce nodes for the current kernel...
             Starting udev Coldplug all Devices...
             Mounting Kernel Debug File System...
    [  OK  ] Started Hardware RNG Entropy Gatherer Daemon.
    [   17.839659] random: crng init done
    [   17.843098] random: 7 urandom warning(s) missed due to ratelimiting
    [  OK  ] Reached target Swap.
             Mounting Temporary Directory (/tmp)...
             Mounting POSIX Message Queue File System...
             Starting Remount Root and Kernel File Systems...
             Starting Journal Service...
             Starting Load Kernel Modules...
    [  OK  ] Created slice system-serial\x2dgetty.slice.
    [   18.077357] NET: Registered protocol family 45
    [  OK  ] Started Create list of required sta�vice nodes for the current kernel.
    [  OK  ] Started Journal Service.
    [  OK  ] Mounted Kernel Debug File System.
    [  OK  ] Mounted Temporary Directory (/tmp).
    [  OK  ] Mounted POSIX Message Queue File System.
    [  OK  ] Started Remount Root and Kernel File Systems.
    [  OK  ] Started Load Kernel Modules.
             Starting Apply Kernel Variables...
             Mounting Kernel Configuration File System...
             Starting Rebuild Hardware Database...
             Starting Create System Users...
             Starting Flush Journal to Persistent Storage...
    [  OK  ] Started Apply Kernel Variables.
    [  OK  ] Mounted Kernel Configuration File System.
    [  OK  ] Started Create System Users.
    [   18.610088] systemd-journald[97]: Received request to flush runtime journal from PID 1
             Starting Create Static Device Nodes in /dev...
    [  OK  ] Started Flush Journal to Persistent Storage.
    [  OK  ] Started udev Coldplug all Devices.
    [  OK  ] Started Create Static Device Nodes in /dev.
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /media/ram...
    [  OK  ] Reached target Containers.
             Mounting /var/volatile...
    [  OK  ] Mounted /media/ram.
    [  OK  ] Mounted /var/volatile.
             Starting Load/Save Random Seed...
    [  OK  ] Reached target Local File Systems.
             Starting Rebuild Dynamic Linker Cache...
             Starting Rebuild Journal Catalog...
             Starting Create Volatile Files and Directories...
    [  OK  ] Started Load/Save Random Seed.
    [  OK  ] Started Rebuild Journal Catalog.
    [  OK  ] Started Create Volatile Files and Directories.
             Starting Update UTMP about System Boot/Shutdown...
             Starting Network Time Synchronization...
             Starting Run pending postinsts...
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Reached target System Time Synchronized.
    [  OK  ] Started Rebuild Dynamic Linker Cache.
    [  OK  ] Started Run pending postinsts.
    [  OK  ] Started Rebuild Hardware Database.
             Starting udev Kernel Device Manager...
             Starting Update is Completed...
    [  OK  ] Started Update is Completed.
    [  OK  ] Started udev Kernel Device Manager.
             Starting Network Service...
    [  OK  ] Reached target System Initialization.
    [  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
    [  OK     21.299030] keystone-rproc 10800000.dsp: assigned reserved memory node dsp-common-memory@81f800000
    m] Started Daily rotation of log files.
    [   21.316999] remoteproc remoteproc0: 10800000.dsp is available
    [   21.331295] keystone-rproc 11800000.dsp: assigned reserved memory node dsp-common-memory@81f800000
    [   21.340801] remoteproc remoteproc1: 11800000.dsp is available
    [  OK  ] Reached target Timers.
    [   21.353008] keystone-rproc 12800000.dsp: assigned reserved memory node dsp-common-memory@81f800000
    [   21.362713] remoteproc remoteproc2: 12800000.dsp is available
    [   21.370628] keystone-rproc 13800000.dsp: assigned reserved memory node dsp-common-memory@81f800000
    [   21.380372] remoteproc remoteproc3: 13800000.dsp is available
    [  OK  ] Listening on [   21.391450] keystone-rproc 14800000.dsp: assigned reserved memory node dsp-common-memory@81f800000
    RPCbind Server A[   21.401636] remoteproc remoteproc4: 14800000.dsp is available
    ctivation Socket.
    [   21.411760] keystone-rproc 15800000.dsp: assigned reserved memory node dsp-common-memory@81f800000
    [   21.420866] remoteproc remoteproc5: 15800000.dsp is available
    [   21.429836] keystone-rproc 16800000.dsp: assigned reserved memory node dsp-common-memory@81f800000
    [  OK     21.439698] remoteproc remoteproc6: 16800000.dsp is available
    m] Reached target Sockets.
    [   21.449227] keystone-rproc 17800000.dsp: assigned reserved memory node dsp-common-memory@81f800000
    [   21.458351] remoteproc remoteproc7: 17800000.dsp is available
    [  OK  ] Reached target Basic System.
    [   21.491404] davinci-wdt 22f0080.wdt: heartbeat 60 sec
             Starting telnetd.service...
    [  OK  ] Started D-Bus System Message Bus.
    [   21.576035] keystone-usbphy 2620738.usb_phy: 2620738.usb_phy supply vcc not found, using dummy regulator
    [   21.591086] keystone-usbphy 2620738.usb_phy: Linked as a consumer to regulator.0
    [  OK  ] Started Job spooling tools.
    [   21.635349] at24 0-0050: 131072 byte 24c1024 EEPROM, writable, 1 bytes/write
             Starting RPC Bind Service...
             Starting Login Service...
             Starting Print notice about GPLv3 packages...
             Starting TI IPC Daemon...
    [  OK  ] Started Periodic Command Scheduler.
    [  OK  ] Started Network Service.
    [  OK  ] Started telnetd.service.
    [  OK  ] Started TI IPC Daemon.
    [  OK  ] Started RPC Bind Service.
    [   22.167318] netcp-1.0 2620110.netcp eth0: Link is Down
    [   22.182040] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [   22.437256] netcp-1.0 2620110.netcp eth1: Link is Down
    [   22.443996] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
    [  OK  ] Found device /dev/ttyS0.
    [   22.853696] dwc3 2690000.dwc3: Failed to get clk 'ref': -2
    [   22.860865] platform xhci-hcd.0.auto: set dma_pfn_offset00780000
    [   22.969011] usbcore: registered new interface driver usbfs
    [   22.974632] usbcore: registered new interface driver hub
    [   22.980119] usbcore: registered new device driver usb
    [   23.033496] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    [   23.039201] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
    [   23.048766] xhci-hcd xhci-hcd.0.auto: hcc params 0x0298f06d hci version 0x100 quirks 0x0000000002010010
    [   23.058344] xhci-hcd xhci-hcd.0.auto: irq 35, io mem 0x02690000
    [   23.065444] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
    [   23.073818] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [   23.081165] usb usb1: Product: xHCI Host Controller
    [   23.086068] usb usb1: Manufacturer: Linux 4.19.59-g5f8c1c6121 xhci-hcd
    [   23.092702] usb usb1: SerialNumber: xhci-hcd.0.auto
    [   23.098816] hub 1-0:1.0: USB hub found
    [   23.102674] hub 1-0:1.0: 1 port detected
    [   23.107063] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    [   23.112630] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
    [   23.120413] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
    [   23.127391] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    [   23.135812] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.19
    [   23.144157] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [   23.151523] usb usb2: Product: xHCI Host Controller
    [   23.156440] usb usb2: Manufacturer: Linux 4.19.59-g5f8c1c6121 xhci-hcd
    [   23.163040] usb usb2: SerialNumber: xhci-hcd.0.auto
    [   23.169014] hub 2-0:1.0: USB hub found
    [   23.172909] hub 2-0:1.0: 1 port detected
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPLv3 packages:
            bash
            bc
            cifs-utils
            cpio
            dosfstools
            elfutils
            gawk
            gzip
            libbfd
            libdw1
            libelf1
            libreadline7
            which
    
    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
    ***************************************************************
    ***************************************************************
    [  OK  ] Started Print notice about GPLv3 packages.
    [   25.367740] netcp-1.0 2620110.netcp eth0: Link is Up - 1Gbps/Full - flow control rx/tx
    [   25.375709] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
             Starting Hostname Service...
    [  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
             Starting thttpd.service...
             Starting Wait for Network to be Configured...
             Starting Network Name Resolution...
    [  OK  ] Started thttpd.service.
    [  OK  ] Started Login Service.
    [  OK  ] Started Hostname Service.
    [  OK  ] Started Network Name Resolution.
             Starting Avahi mDNS/DNS-SD Stack...
    [  OK  ] Reached target Network.
             Starting Permit User Sessions...
    [  OK  ] Reached target Host and Network Name Lookups.
    [  OK  ] Started NFS status monitor for NFSv2/3 locking..
    [  OK  ] Started Permit User Sessions.
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.
    [  OK  ] Started Serial Getty on ttyS0.
    [  OK  ] Started Getty on tty1.
    [  OK  ] Reached target Login Prompts.
             Starting Synchronize System and HW clocks...
    [FAILED] Failed to start Synchronize System and HW clocks.
    See 'systemctl status sync-clocks.service' for details.
    
     _____                    _____           _         _
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|
                  |___|                    |___|
    
    Arago Project http://arago-project.org k2hk-evm ttyS0
    
    Arago 2019.07 k2hk-evm ttyS0
    
    k2hk-evm login: root
    root@k2hk-evm:~# ifconfig
    eth0      Link encap:Ethernet  HWaddr 08:00:28:32:A0:0B
              inet addr:158.218.117.50  Bcast:158.218.117.255  Mask:255.255.254.0
              inet6 addr: fe80::a00:28ff:fe32:a00b/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:436 errors:0 dropped:46 overruns:0 frame:0
              TX packets:118 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:59780 (58.3 KiB)  TX bytes:13476 (13.1 KiB)
    
    eth1      Link encap:Ethernet  HWaddr 02:18:31:7E:3E:6F
              UP BROADCAST MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
    
    lo        Link encap:Local Loopback
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:65536  Metric:1
              RX packets:82 errors:0 dropped:0 overruns:0 frame:0
              TX packets:82 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:6220 (6.0 KiB)  TX bytes:6220 (6.0 KiB)
    
    root@k2hk-evm:~# ping 158.218.117.50
    PING 158.218.117.50 (158.218.117.50): 56 data bytes
    64 bytes from 158.218.117.50: seq=0 ttl=64 time=0.118 ms
    64 bytes from 158.218.117.50: seq=1 ttl=64 time=0.065 ms
    64 bytes from 158.218.117.50: seq=2 ttl=64 time=0.066 ms
    64 bytes from 158.218.117.50: seq=3 ttl=64 time=0.066 ms
    64 bytes from 158.218.117.50: seq=4 ttl=64 time=0.064 ms
    64 bytes from 158.218.117.50: seq=5 ttl=64 time=0.065 ms
    64 bytes from 158.218.117.50: seq=6 ttl=64 time=0.065 ms
    64 bytes from 158.218.117.50: seq=7 ttl=64 time=0.069 ms
    64 bytes from 158.218.117.50: seq=8 ttl=64 time=0.068 ms
    64 bytes from 158.218.117.50: seq=9 ttl=64 time=0.065 ms
    64 bytes from 158.218.117.50: seq=10 ttl=64 time=0.064 ms
    64 bytes from 158.218.117.50: seq=11 ttl=64 time=0.063 ms
    64 bytes from 158.218.117.50: seq=12 ttl=64 time=0.063 ms
    64 bytes from 158.218.117.50: seq=13 ttl=64 time=0.063 ms
    64 bytes from 158.218.117.50: seq=14 ttl=64 time=0.063 ms
    64 bytes from 158.218.117.50: seq=15 ttl=64 time=0.063 ms
    64 bytes from 158.218.117.50: seq=16 ttl=64 time=0.063 ms
    ^C
    --- 158.218.117.50 ping statistics ---
    17 packets transmitted, 17 packets received, 0% packet loss
    round-trip min/avg/max = 0.063/0.067/0.118 ms
    root@k2hk-evm:~# iperf -c 158.218.116.223 -u -P 2 --format m -b 500M --len 1024 -t 60
    ------------------------------------------------------------
    Client connecting to 158.218.116.223, UDP port 5001
    Sending 1024 byte datagrams
    UDP buffer size: 0.17 MByte (default)
    ------------------------------------------------------------
    [  3] local 158.218.117.50 port 50725 connected with 158.218.116.223 port 5001
    [  4] local 158.218.117.50 port 59845 connected with 158.218.116.223 port 5001
    [ ID] Interval       Transfer     Bandwidth
    [  3]  0.0-60.0 sec  3260 MBytes   456 Mbits/sec
    [  3] Sent 3338215 datagrams
    [  4]  0.0-60.0 sec  23867 MBytes  3337 Mbits/sec
    [  4] Sent 3468119 datagrams
    [SUM]  0.0-60.0 sec  27127 MBytes  3793 Mbits/sec
    [  4] Server Report:
    [  4]  0.0-60.0 sec  3387 MBytes   474 Mbits/sec   0.012 ms   15/3468118 (0.00043%)
    [  4]  0.0-60.0 sec  1 datagrams received out-of-order
    [  3] Server Report:
    [  3]  0.0-60.0 sec  3260 MBytes   456 Mbits/sec   0.020 ms    4/3338214 (0.00012%)
    [  3]  0.0-60.0 sec  6 datagrams received out-of-order
    root@k2hk-evm:~#

  • Hello Mr. Chang.

    I have tried your recomendation, but I sure that it's hardware problem.

    I made some changes on my EVMK2H board.:

     - decrease MDC clock from 2.5MHz to 100kHz

    - add pull-down resistors (1KOhm) to end of MDC and MDA lines (I soldered it to the J2 connector)

    - change 220 Ohm to 750 Ohm resistor R399 and R400 

    - change pull-up voltage of R399 and R400  to 3.3V

    My system now is more robust (it strange, because Voh voltage of MDC signal in my configuration is only 1.5V), but my problem (link down) are repeated (but rarely).

    Please, help me to swich off MDIO interface in Linux core (like in this post https://e2e.ti.com/support/processors/f/791/t/574040?EVMK2H-Ethernet-link-down-intermittently). But I cannot to follow this post instrucion, because I have the problem like this "cpts: unable to obtain a time stamp" (indefinite repeat).

  • Hello Mr. Chang

    Please, answer me about possibility of disable MDIO exchange on EVMK2H and last SDK. I cannot solve my problem...

  • Hi, Pavel,

    Are you sarying after you disabled the MDIO by following the instruction in https://e2e.ti.com/support/processors/f/791/t/574040?EVMK2H-Ethernet-link-down-intermittently, you are getting "cpts: unable to obtain a time stamp messages"? 

    Have you tried with the patches as described in 

    https://e2e.ti.com/support/legacy_forums/embedded/linux/f/354/t/526541

    Though the title of the thread is for AM335, but the patches provided in Cvetolin's post is for Keystone-2 device.

    Rex

  • Hi, Mr Chang 

    I've checked my Linux kernel code - this patch aplied already, It included in this (4.19) version.

    When I said that I have problem "cpts: unable to obtain a time stamp messages", I need to clear: vhen I disable MDIO by following the instruction in https://e2e.ti.com/support/processors/f/791/t/574040?EVMK2H-Ethernet-link-down-intermittently, ethernet no work absolutely (ping NOT works) and periodicaly appears messages "cpts: unable to obtain a time stamp messages".  Could you try to disable MDIO on your board?

  • Hi, Pavel,

    My board doesn't show the ethernet going up and down. So, I can't verify the changes. The workaround is documented in Kernel NetCP driver,

    http://software-dl.ti.com/processor-sdk-linux/esd/docs/latest/linux/Foundational_Components/Kernel/Kernel_Drivers/Network/NetCP.html

    Rex

  • Hello Mr. Chang

    Yes, I understood, that your board have not problem with link down. But I ask a help from you: could you try to disable MDIO on your board using https://e2e.ti.com/support/processors/f/791/t/574040?EVMK2H-Ethernet-link-down-intermittently with latest SDK. I think you will face same problem (cpts: unable to obtain a time stamp messages) and will help me to solve it. 

    Thanks

  • Hi, Pavel,

    Could you try to disable cpts from menuconfig, and see if it works for you?

    Rex

  • Hi, Pavel,

    Use the following changes instead to disable cpts.

    diff --git a/drivers/net/ethernet/ti/cpsw.c b/drivers/net/ethernet/ti/cpsw.c
    index 6bfd2db259..07aae4572e 100644
    --- a/drivers/net/ethernet/ti/cpsw.c
    +++ b/drivers/net/ethernet/ti/cpsw.c
    @@ -1941,10 +1941,10 @@ static int cpsw_ndo_open(struct net_device *ndev)
    ret = cpsw_fill_rx_channels(priv);
    if (ret < 0)
    goto err_cleanup;
    -
    +#if 0
    if (cpts_register(cpsw->cpts))
    dev_err(priv->dev, "error registering cpts device\n");
    -
    +#endif
    }

    cpsw_restore(priv);
    @@ -3816,13 +3816,13 @@ static int cpsw_probe(struct platform_device *pdev)
    ret = -ENODEV;
    goto clean_dma_ret;
    }
    -
    +#if 0
    cpsw->cpts = cpts_create(cpsw->dev, cpts_regs, cpsw->dev->of_node);
    if (IS_ERR(cpsw->cpts)) {
    ret = PTR_ERR(cpsw->cpts);
    goto clean_dma_ret;
    }
    -
    +#endif
    ndev->irq = platform_get_irq(pdev, 1);
    if (ndev->irq < 0) {
    dev_err(priv->dev, "error getting irq resource\n");

    Rex

  • Hello Mr. Chang

    I have tried to use your solulion but I faced some problem

    I succesful rebuilded kernel using bitbake (it similar image that is the pre-builded Processor SDK, size 4.3Mb). When I build kernel from default config PSDK I have image with size more than 8 Mb and it hangs on "Starting kernel..." .

    In image, when I can rebuild using bitbake, cpsw.c is not using in configuration (as I undestood netcp_ethss.c using for similar purpose in Keystone )

    What I can do more for disabling MDIO? 

  • Hello Mr. Chang

    I think I solve my problem

    I have build the kernel from PSDK with this modification in davinci_mdio.c in function davinci_mdio_read. It modification repeats wrong write/read MDIO transactions

    I think it is the known hardware problem of MDIO, which repeates in Rev4 EVMK2H

    ---------------------------

    static int davinci_mdio_read(struct mii_bus *bus, int phy_id, int phy_reg)
    {
    	struct davinci_mdio_data *data = bus->priv;
    	u32 reg;
    	u32 reg_write;
    	int ret;
    	u32 cntNewCycle=0;
    
    	if (phy_reg & ~PHY_REG_MASK || phy_id & ~PHY_ID_MASK)
    		return -EINVAL;
    
    	ret = pm_runtime_get_sync(data->dev);
    	if (ret < 0) {
    		pm_runtime_put_noidle(data->dev);
    		return ret;
    	}
    
    	reg_write = (USERACCESS_GO | USERACCESS_READ | (phy_reg << 21) |
    	       (phy_id << 16));
    
    	while (1) {
    NewCycle:
    		ret = wait_for_user_access(data);
    		if (ret == -EAGAIN)
    			continue;
    		if (ret < 0)
    			break;
    
    		__raw_writel(reg_write, &data->regs->user[0].access);
    
    		ret = wait_for_user_access(data);
    		if (ret == -EAGAIN)
    			continue;
    		if (ret < 0)
    			break;
    
    		reg = __raw_readl(&data->regs->user[0].access);
    		ret = (reg & USERACCESS_ACK) ? (reg & USERACCESS_DATA) : -EIO;
    		if((ret==-EIO) && (cntNewCycle<3))
    			{
    			printk(KERN_INFO "******************  ****** EIO**************");
    			cntNewCycle++;
    			goto NewCycle;
    			}
    		break;
    	}
    
    	pm_runtime_mark_last_busy(data->dev);
    	pm_runtime_put_autosuspend(data->dev);
    
    
    	return ret;
    }

    ----------------------

    And I modified phy_device.c

    int genphy_update_link(struct phy_device *phydev)
    {
    	int status;
    	static int last_status_eth0=0;
    	static int last_status_eth1=0;
    
    	/* The link state is latched low so that momentary link
    	 * drops can be detected. Do not double-read the status
    	 * in polling mode to detect such short link drops.
    	 */
    
    	
    	if (!phy_polling_mode(phydev)) {
    		status = phy_read(phydev, MII_BMSR);
    		
    		if (status < 0)
    			return status;
    	}
      
    	/* Read link and autonegotiation status */
    	status = phy_read(phydev, MII_BMSR);
    	if (status < 0)
    		return status;
    	
    	if((phydev->attached_dev!=NULL))
    		{
    		if(strcmp(phydev->attached_dev->name,"eth0")==0)
    			{
    			if(last_status_eth0!=status)
    				{
    				last_status_eth0 = status;
    				return 0;
    				}				
    			last_status_eth0 = status;
    			}
    		if(strcmp(phydev->attached_dev->name,"eth1")==0)
    			{	
    			if(last_status_eth1!=status)
    				{	
    				last_status_eth1 = status;			
    				return 0;		
    				}			
    			last_status_eth1 = status;
    			}			
    		}
    
    	if ((status & BMSR_LSTATUS) == 0){
    		if(phydev->attached_dev!=NULL)
    			{
    			if(strcmp(phydev->attached_dev->name,"eth0")==0)
    				{
    				printk(KERN_INFO"attached_dev->name=%s, status=%X",phydev->attached_dev->name,status);
    				}
    			}
    		phydev->link = 0;
    	
    		}
    	else
    		phydev->link = 1;
    
    	return 0;
    }