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.

K2HKEVM error: netcp: Could not open DMA queue for channel "tx-pipe-2620110": 0



I am booting the K2HKEVM via tftp and ramfs using these pre-built components from SDK 2.00.02.11:

  board-support/pre-built-images/k2hk-evm.dtb
  board-support/pre-built-images/skern-k2hk.bin
  board-support/pre-built-images/zImage-k2hk-evm.bin
  filesystem/arago-base-tisdk-image-k2hk-evm.tar.gz (converted to cpio.gz for U-Boot)

Linux boots but reports the following errors, after which the network is unavailable:

[ 4.235577] ipip: IPv4 over IPv4 tunneling driver
[ 4.240676] gre: GRE over IPv4 demultiplexor driver
[ 4.245619] Initializing XFRM netlink socket
[ 4.249932] NET: Registered protocol family 17
[ 4.254406] NET: Registered protocol family 15
[ 4.258950] Registering SWP/SWPB emulation handler
[ 4.277338] davinci_mdio 2090300.mdio: resetting idled controller
[ 4.358354] netcp-1.0 2620110.netcp eth0: Link is Down
[ 4.363792] pps pps0: new PPS source ptp0
[ 4.367844] cpts rftclk: sel(1),rate(400000000 HZ),mult(2560),shift(10),div(1)
[ 4.375215] netcp-1.0 2620110.netcp: Could not open DMA queue for channel "tx-pipe-2620110": 0
[ 4.383872] net eth0: module open failed
[ 4.757850] IP-Config: Failed to open eth0
[ 4.761974] IP-Config: Device `eth0' not found

What's wrong here?  I've attached the entire kernel trace in case it's informative.

/cfs-file/__key/communityserver-discussions-components-files/791/3312.arago_2D00_2016.03_5F00_kernel_5F00_trace.txt

Thanks,
John

  • Are you using "firmware" image which has the SERDES firmware ?
    tftpboot 0x88080000 k2-fw-initrd.cpio.gz
  • Dear John,

    I'm able to boot the K2H board through RAMFS.

    I just did the following commands.

    You may not able to boot if you don't have DHCP server on your network, please let me know if any, I will share the details.

    Please do the following command and provide the log if you are not able to succeed.

    K2HK EVM # env default -a -f

    K2HK EVM # setenv boot ramfs

    K2HK EVM # saveenv

    K2HK EVM # reset

    PS: Please use the default available u-boot commands. (not your own bootcmd and bootargs, yes you can boot but you need to take care rest of things)

    Attached the log.

    U-Boot SPL 2015.07 (Apr 05 2016 - 20:26:28)
    
    
    U-Boot 2015.07 (Apr 05 2016 - 20:26:28 -0400)
    
    CPU: 66AK2Hx SR1.1
    I2C:   ready
    DRAM:  DDR3A Speed will be configured for 1333 Operation.
    Detected SO-DIMM [SQR-SD3T-2G1333SED]
    DDR3 speed 1333
    DRAM: 2 GiB (includes reported below)
    2 GiB
    NAND:  512 MiB
    Net:   Phy 2 not found
    Phy 3 not found
    K2HK_EMAC, K2HK_EMAC1
    Error: K2HK_EMAC1 address not set.
    , K2HK_EMAC2
    Error: K2HK_EMAC2 address not set.
    , K2HK_EMAC3
    Error: K2HK_EMAC3 address not set.
    
    Hit any key to stop autoboot:  0
    
    K2HK_EMAC Waiting for SGMII auto negotiation to complete. done
    K2HK_EMAC Waiting for PHY auto negotiation to complete.. done
    Using K2HK_EMAC device
    TFTP from server 192.168.8.128; our IP address is 192.168.8.133
    Filename 'processor_sdk_02_00_02_11/arago-console-image-k2hk-evm.cpio.gz'.
    Load address: 0x88080000
    Loading: *
    TFTP error: 'File not found' (1)
    Not retrying...
    U-Boot# boot
    
    K2HK_EMAC Waiting for SGMII auto negotiation to complete. done
    Using K2HK_EMAC device
    TFTP from server 192.168.8.128; our IP address is 192.168.8.133
    Filename 'processor_sdk_02_00_02_11/arago-console-image-k2hk-evm.cpio.gz'.
    Load address: 0x88080000
    Loading: #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             ############################################
             1.1 MiB/s
    done
    Bytes transferred = 13994392 (d58998 hex)
    
    K2HK_EMAC Waiting for SGMII auto negotiation to complete. done
    Using K2HK_EMAC device
    TFTP from server 192.168.8.128; our IP address is 192.168.8.133
    Filename 'processor_sdk_02_00_02_11/k2hk-evm.dtb'.
    Load address: 0x88000000
    Loading: T ####
             8.8 KiB/s
    done
    Bytes transferred = 50668 (c5ec hex)
    
    K2HK_EMAC Waiting for SGMII auto negotiation to complete. done
    Using K2HK_EMAC device
    TFTP from server 192.168.8.128; our IP address is 192.168.8.133
    Filename 'processor_sdk_02_00_02_11/skern-k2hk.bin'.
    Load address: 0xc5f0000
    Loading: ####
             488.3 KiB/s
    done
    Bytes transferred = 45056 (b000 hex)
    
    K2HK_EMAC Waiting for SGMII auto negotiation to complete. done
    Using K2HK_EMAC device
    TFTP from server 192.168.8.128; our IP address is 192.168.8.133
    Filename 'processor_sdk_02_00_02_11/zImage'.
    Load address: 0x82000000
    Loading: #################################################################
             #################################################################
             #################################################################
             #################################################################
             #####
             1 MiB/s
    done
    Bytes transferred = 3879160 (3b30f8 hex)
    K2_BM_15.07-39-g035329c SoC:k2hk built:19:51:39, Apr  5 2016
    
    ## installed monitor, freq [200000000], status 0
    Kernel image @ 0x82000000 [ 0x000000 - 0x3b30f8 ]
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 8fff0000, end 8ffff5eb ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Initializing cgroup subsys cpu
    [    0.000000] Initializing cgroup subsys cpuacct
    [    0.000000] Linux version 4.1.18-gbbe8cfc (root@e2e) (gcc version 4.8.3 20140401 (prerelease) (crosstool-NG linaro-1.13.1-4.8-2014.04 - Linaro GCC 4.8-2014.04) ) #1 SMP PREEMPT Thu Apr 28 15:42:28 IST 2016
    [    0.000000] CPU: ARMv7 Processor [412fc0f4] revision 4 (ARMv7), cr=30c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    [    0.000000] Machine model: Texas Instruments Keystone 2 Kepler/Hawking EVM
    [    0.000000] Switching physical address space to 0x800000000
    [    0.000000] Reserved memory: created CMA memory pool at 0x000000081f800000, size 8 MiB
    [    0.000000] Reserved memory: initialized node dsp_common_cma_pool, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x0000000820000000, size 512 MiB
    [    0.000000] Reserved memory: initialized node dsp_reserved_mpm_area, compatible id shared-dma-pool
    [    0.000000] cma: Reserved 16 MiB at 0x000000085f000000
    [    0.000000] Forcing write-allocate cache policy for SMP
    [    0.000000] Memory policy: Data cache writealloc
    [    0.000000] PERCPU: Embedded 12 pages/cpu @deb96000 s17536 r8192 d23424 u49152
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260624
    [    0.000000] Kernel command line: console=ttyS0,115200n8 rootwait=1 rdinit=/sbin/init rw root=/dev/ram0 initrd=0x808080000,80M
    [    0.000000] log_buf_len individual max cpu contribution: 4096 bytes
    [    0.000000] log_buf_len total cpu_extra contributions: 12288 bytes
    [    0.000000] log_buf_len min size: 16384 bytes
    [    0.000000] log_buf_len: 32768 bytes
    [    0.000000] early log buf free: 14188(86%)
    [    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
    [    0.000000] Memory: 925108K/1048576K available (5169K kernel code, 344K rwdata, 1844K rodata, 320K init, 174K bss, 98892K reserved, 24576K cma-reserved, 507904K highmem)
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    [    0.000000]     vmalloc : 0xf0000000 - 0xff000000   ( 240 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xef800000   ( 760 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc06e1734   (7014 kB)
    [    0.000000]       .init : 0xc06e2000 - 0xc0732000   ( 320 kB)
    [    0.000000]       .data : 0xc0732000 - 0xc0788014   ( 345 kB)
    [    0.000000]        .bss : 0xc078b000 - 0xc07b69f0   ( 175 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    [    0.000000] Preemptible hierarchical RCU implementation.
    [    0.000000]  Additional per-CPU info printed with stalls.
    [    0.000000] NR_IRQS:16 nr_irqs:16 16
    [    0.000000] Architected cp15 timer(s) running at 200.00MHz (virt).
    [    0.000000] clocksource arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
    [    0.000003] sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.000011] Switching to timer-based delay loop, resolution 5ns
    [    0.000163] keystone timer clock @200000000 Hz
    [    0.000384] Console: colour dummy device 80x30
    [    0.000400] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
    [    0.000411] pid_max: default: 4096 minimum: 301
    [    0.000477] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.000484] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.000935] Initializing cgroup subsys blkio
    [    0.000947] Initializing cgroup subsys devices
    [    0.000958] Initializing cgroup subsys freezer
    [    0.000977] CPU: Testing write buffer coherency: ok
    [    0.001175] /cpus/cpu@0 missing clock-frequency property
    [    0.001202] /cpus/cpu@1 missing clock-frequency property
    [    0.001228] /cpus/cpu@2 missing clock-frequency property
    [    0.001255] /cpus/cpu@3 missing clock-frequency property
    [    0.001263] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.001297] Setting up static identity map for 0x800082c0 - 0x800083cc
    [    0.066323] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [    0.086331] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
    [    0.106362] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
    [    0.106448] Brought up 4 CPUs
    [    0.106463] SMP: Total of 4 processors activated (1600.00 BogoMIPS).
    [    0.106468] CPU: All CPU(s) started in SVC mode.
    [    0.106892] devtmpfs: initialized
    [    0.118141] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [    0.118467] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.119117] pinctrl core: initialized pinctrl subsystem
    [    0.119371] NET: Registered protocol family 16
    [    0.120159] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.128777] irq: no irq domain found for /soc/keystone_irq@26202a0 !
    [    0.128996] irq: no irq domain found for /soc/keystone_irq@26202a0 !
    [    0.129216] irq: no irq domain found for /soc/keystone_irq@26202a0 !
    [    0.129437] irq: no irq domain found for /soc/keystone_irq@26202a0 !
    [    0.129651] irq: no irq domain found for /soc/keystone_irq@26202a0 !
    [    0.129867] irq: no irq domain found for /soc/keystone_irq@26202a0 !
    [    0.130116] irq: no irq domain found for /soc/keystone_irq@26202a0 !
    [    0.130344] irq: no irq domain found for /soc/keystone_irq@26202a0 !
    [    0.136736] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [    0.136744] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [    0.146111] vgaarb: loaded
    [    0.146405] SCSI subsystem initialized
    [    0.146832] usbcore: registered new interface driver usbfs
    [    0.146916] usbcore: registered new interface driver hub
    [    0.147014] usbcore: registered new device driver usb
    [    0.148984] Switched to clocksource arch_sys_counter
    [    0.178441] NET: Registered protocol family 2
    [    0.178946] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.179004] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
    [    0.179061] TCP: Hash tables configured (established 4096 bind 4096)
    [    0.179118] UDP hash table entries: 256 (order: 1, 8192 bytes)
    [    0.179135] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
    [    0.179277] NET: Registered protocol family 1
    [    0.179473] RPC: Registered named UNIX socket transport module.
    [    0.179480] RPC: Registered udp transport module.
    [    0.179486] RPC: Registered tcp transport module.
    [    0.179492] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.179664] Unpacking initramfs...
    [    0.929858] Initramfs unpacking failed: junk in compressed archive
    [    0.971713] Freeing initrd memory: 81920K (c8080000 - cd080000)
    [    0.971895] CPU PMU: Failed to parse /pmu/interrupt-affinity[0]
    [    0.971935] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
    [    0.972920] platform alarmtimer: set dma_pfn_offset00780000
    [    0.973626] futex hash table entries: 16 (order: -2, 1024 bytes)
    [    0.986520] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
    [    0.986618] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.986976] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
    [    0.988595] NET: Registered protocol family 38
    [    0.988659] bounce: pool size: 64 pages
    [    0.988837] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
    [    0.988850] io scheduler noop registered
    [    0.988863] io scheduler deadline registered
    [    0.988894] io scheduler cfq registered (default)
    [    0.989074] keystone_irq soc:keystone_irq@26202a0: irqchip registered, nr_irqs 28
    [    0.990750] keystone-navigator-qmss soc:qmss@2a40000: qmgr start queue 0, number of queues 8192
    [    0.990870] keystone-navigator-qmss soc:qmss@2a40000: added qmgr start queue 0, num of queues 8192, reg_peek f01c0000, reg_status f01e2000, reg_config f01e4000, reg_region f01e6000, reg_push f0200000, reg_pop f0240000
    [    0.990882] keystone-navigator-qmss soc:qmss@2a40000: qmgr start queue 8192, number of queues 8192
    [    0.990986] keystone-navigator-qmss soc:qmss@2a40000: added qmgr start queue 8192, num of queues 8192, reg_peek f0280000, reg_status f01e8400, reg_config f01ea000, reg_region f01ec000, reg_push f02c0000, reg_pop f0300000
    [    0.991270] keystone-navigator-qmss soc:qmss@2a40000: failed to get firmware for pdsp pdsp0
    [    0.991315] keystone-navigator-qmss soc:qmss@2a40000: failed to get firmware for pdsp pdsp3
    [    0.991358] keystone-navigator-qmss soc:qmss@2a40000: failed to get firmware for pdsp pdsp7
    [    0.992119] keystone-navigator-qmss soc:qmss@2a40000: pdsp id 0 not started for range acc-low-0
    [    0.993028] keystone-navigator-dma soc:knav_dmas@0: DMA dma_gbe registered 41 logical channels, flows 32, tx chans: 9, rx chans: 24
    [    0.993149] keystone-navigator-dma soc:knav_dmas@0: DMA dma_xgbe registered 48 logical channels, flows 32, tx chans: 16, rx chans: 16
    [    1.040995] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
    [    1.041081] platform serial8250: set dma_pfn_offset00780000
    [    1.042553] console [ttyS0] disabled
    [    1.042616] 2530c00.serial: ttyS0 at MMIO 0x2530c00 (irq = 26, base_baud = 12500000) is a 16550A
    [    1.894731] console [ttyS0] enabled
    [    1.898904] 2531000.serial: ttyS1 at MMIO 0x2531000 (irq = 27, base_baud = 12500000) is a 16550A
    [    1.912326] loop: module loaded
    [    1.915627] at24 0-0050: 131072 byte 24c1024 EEPROM, writable, 1 bytes/write
    [    1.923968] m25p80 spi32766.0: n25q128a11 (16384 Kbytes)
    [    1.929330] 2 ofpart partitions found on MTD device spi32766.0
    [    1.935183] Creating 2 MTD partitions on "spi32766.0":
    [    1.940352] 0x000000000000-0x000000080000 : "u-boot-spl"
    [    1.946437] 0x000000080000-0x000001000000 : "misc"
    [    1.951974] spi_davinci 21000400.spi: Controller at 0xf026a400
    [    1.958186] spi_davinci 21000600.spi: Controller at 0xf026c600
    [    1.964419] spi_davinci 21000800.spi: Controller at 0xf026e800
    [    2.018998] davinci_mdio 2090300.mdio: davinci mdio revision 1.5
    [    2.025024] libphy: 2090300.mdio: probed
    [    2.035181] davinci_mdio 2090300.mdio: phy[0]: device 2090300.mdio:00, driver Marvell 88E1111
    [    2.043759] davinci_mdio 2090300.mdio: phy[1]: device 2090300.mdio:01, driver Marvell 88E1111
    [    3.058692] netcp-1.0 2620110.netcp: module(netcp-xgbe) not used for device
    [    3.466690] platform xhci-hcd.0.auto: set dma_pfn_offset00780000
    [    3.473363] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    [    3.479028] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
    [    3.487013] xhci-hcd xhci-hcd.0.auto: hcc params 0x0298f06d hci version 0x100 quirks 0x00210010
    [    3.495767] xhci-hcd xhci-hcd.0.auto: irq 34, io mem 0x02690000
    [    3.501852] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [    3.508664] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    3.515932] usb usb1: Product: xHCI Host Controller
    [    3.520835] usb usb1: Manufacturer: Linux 4.1.18-gbbe8cfc xhci-hcd
    [    3.527035] usb usb1: SerialNumber: xhci-hcd.0.auto
    [    3.532362] hub 1-0:1.0: USB hub found
    [    3.536145] hub 1-0:1.0: 1 port detected
    [    3.540353] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    [    3.545994] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
    [    3.553746] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    [    3.561973] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
    [    3.568786] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    3.576045] usb usb2: Product: xHCI Host Controller
    [    3.580947] usb usb2: Manufacturer: Linux 4.1.18-gbbe8cfc xhci-hcd
    [    3.587146] usb usb2: SerialNumber: xhci-hcd.0.auto
    [    3.592446] hub 2-0:1.0: USB hub found
    [    3.596226] hub 2-0:1.0: 1 port detected
    [    3.600545] usbcore: registered new interface driver usb-storage
    [    3.606815] mousedev: PS/2 mouse device common for all mice
    [    3.612612] i2c /dev entries driver
    [    3.616748] davinci-wdt 22f0080.wdt: heartbeat 60 sec
    [    3.622853] usbcore: registered new interface driver usbhid
    [    3.628444] usbhid: USB HID core driver
    [    3.633190] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xac
    [    3.639660] nand: Micron MT29F4G08ABBDAHC
    [    3.643683] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
    [    3.651593] Bad block table found at page 262080, version 0x01
    [    3.657968] Bad block table found at page 262016, version 0x01
    [    3.664153] 3 ofpart partitions found on MTD device 30000000.nand
    [    3.670276] Creating 3 MTD partitions on "30000000.nand":
    [    3.675696] 0x000000000000-0x000000100000 : "u-boot"
    [    3.681404] 0x000000100000-0x000000180000 : "params"
    [    3.687070] 0x000000180000-0x000020000000 : "ubifs"
    [    3.692861] davinci_nand 30000000.nand: controller rev. 2.5
    [    3.698735] platform oprofile-perf.0: set dma_pfn_offset00780000
    [    3.705014] oprofile: using timer interrupt.
    [    3.709341] Netfilter messages via NETLINK v0.30.
    [    3.714075] nf_conntrack version 0.5.0 (16118 buckets, 64472 max)
    [    3.720603] ctnetlink v0.93: registering with nfnetlink.
    [    3.726232] ipip: IPv4 over IPv4 tunneling driver
    [    3.731368] gre: GRE over IPv4 demultiplexor driver
    [    3.736402] ip_tables: (C) 2000-2006 Netfilter Core Team
    [    3.741821] ipt_CLUSTERIP: ClusterIP Version 0.8 loaded successfully
    [    3.748217] arp_tables: (C) 2002 David S. Miller
    [    3.752906] Initializing XFRM netlink socket
    [    3.757205] NET: Registered protocol family 17
    [    3.761690] NET: Registered protocol family 15
    [    3.766151] 8021q: 802.1Q VLAN Support v1.8
    [    3.770419] Registering SWP/SWPB emulation handler
    [    3.791220] Freeing unused kernel memory: 320K (c06e2000 - c0732000)
    INIT: version 2.88 booting
    /etc/rcS.d/S00psplash.sh: line 28: cannot redirect standard input from /dev/null: No such file or directory
    Error Cannot open /dev/tty0: No such file or directory
    Error opening /dev/fb0: No such file or directory
    Starting udev
    [    3.971479] udevd[1223]: starting version 182
    Starting Bootlog daemon: bootlogd.
    [    4.747390] random: dd urandom read with 0 bits of entropy available
    Populating dev cache
    Wed Sep 30 08:03:00 UTC 2015
    INIT: Entering runlevel: 5
    Configuring network interfaces... [    5.369529] netcp-1.0 2620110.netcp eth0: Link is Down
    [    5.376006] 8021q: adding VLAN 0 to HW filter on device eth0
    udhcpc (v1.22.1) started
    Sending discover...
    [    8.369300] netcp-1.0 2620110.netcp eth0: Link is Up - 100Mbps/Full - flow control off
    Sending discover...
    Sending discover...
    No lease, forking to background
    done.
    Starting system message bus: dbus.
    Starting telnet daemon.
    Starting syslogd/klogd: done
    Starting thttpd.
    Enabling thermal zones...
    /etc/rc5.d/S98thermal-zone-init: line 7: /sys/class/thermal/thermal_zone*/mode: No such file or directory
    Stopping Bootlog daemon: bootlogd.
    
     _____                    _____           _         _
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|
                  |___|                    |___|
    
    Arago Project http://arago-project.org k2hk-evm /dev/ttyS0
    
    Arago 2015.05 k2hk-evm /dev/ttyS0
    
    k2hk-evm login:
     _____                    _____           _         _
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|
                  |___|                    |___|
    
    Arago Project http://arago-project.org k2hk-evm /dev/ttyS0
    
    Arago 2015.05 k2hk-evm /dev/ttyS0
    
    k2hk-evm login: root
    root@k2hk-evm:~# cd /
    root@k2hk-evm:/# ifconfig
    eth0      Link encap:Ethernet  HWaddr C4:ED:BA:A9:A3:6B
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:17 errors:0 dropped:9 overruns:0 frame:0
              TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:2716 (2.6 KiB)  TX bytes:684 (684.0 B)
    
    lo        Link encap:Local Loopback
              inet addr:127.0.0.1  Mask:255.0.0.0
              UP LOOPBACK RUNNING  MTU:65536  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:0
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
    
    root@k2hk-evm:/# ifconfig eth0 192.168.8.133 up
    root@k2hk-evm:/#
    root@k2hk-evm:/#
    root@k2hk-evm:/# ifconfig
    eth0      Link encap:Ethernet  HWaddr C4:ED:BA:A9:A3:6B
              inet addr:192.168.8.133  Bcast:192.168.8.255  Mask:255.255.255.0
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:31 errors:0 dropped:14 overruns:0 frame:0
              TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:4830 (4.7 KiB)  TX bytes:684 (684.0 B)
    
    lo        Link encap:Local Loopback
              inet addr:127.0.0.1  Mask:255.0.0.0
              UP LOOPBACK RUNNING  MTU:65536  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:0
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
    
    root@k2hk-evm:/#

  • Titus, please explain how to incorporate k2-fw-initrd.cpio.gz into the ramfs boot sequence. The default ramfs boot variables appear to omit this file:

    init_fw_rd_ramfs-=setenv rd_spec -

    The ramfs boot sequence puts arago-base-tisdk-image-k2hk-evm.cpio.gz at 0x88080000, the same address you specify. Is there something in k2-fw-initrd.cpio.gz that I should include in arago-base-tisdk-image-k2hk-evm.cpio.gz?

    Thanks,
    John
  • Titus, my server does not have DHCP and our application requires that we use a fixed IP address. Please advise how to change the default u-boot variables for a fixed IP environment.

    Thanks,
    John
  • Dear John,
    If you don't have DHCP server setup, then you need to use "tftpboot" commands instead of "dhcp"

    Please do the following commands and let me know the status.

    Attach the complete log with your commands output.

    I have experimented the static IP configuration and did the following commands, it worked like charm.

    K2HK EVM # env default -f -a
    K2HK EVM # setenv ipaddr 192.168.8.5
    K2HK EVM # setenv serverip 192.168.8.55
    K2HK EVM # setenv tftp_root images_k2h
    K2HK EVM # setenv get_kern_ramfs tftpboot ${loadaddr} ${tftp_root}/${name_kern}
    K2HK EVM # setenv get_mon_ramfs tftpboot ${addr_mon} ${tftp_root}/${name_mon}
    K2HK EVM # setenv get_fdt_ramfs tftpboot ${fdtaddr} ${tftp_root}/${name_fdt}
    K2HK EVM # setenv args_ramfs 'setenv bootargs ${bootargs} rdinit=/sbin/init rw root=/dev/ram0 initrd=0x808080000,80M'
    K2HK EVM # setenv get_fs_ramfs tftpboot ${rdaddr} ${tftp_root}/${name_fs}
    K2HK EVM # setenv boot ramfs
    K2HK EVM # saveenv
    K2HK EVM # boot

  • Titus, I did as you suggest but the kernel log shows this error:

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

    Please note that this test used filesystem arago-console-image-k2hk-evm.cpio.gz (since that's in the default U-Boot environment) whereas my prior testing used filesystem arago-base-tisdk-image-k2hk-evm.cpio.gz (via changing the U-Boot variable name_fs).  Is the arago-base-tisdk-image-k2hk-evm.cpio.gz filesystem incompatible with the other pre-built components?

    I attached a log showing the U-Boot environment variables and the kernel trace after booting.

    /cfs-file/__key/communityserver-discussions-components-files/791/3757.uboot_2D00_printenv_5F00_kernel_2D00_trace_5F00_2016_2D00_06_2D00_13.txt

    Thanks,
    John

  • Dear John,
    Can you please try to use the pre-built images of K2H's processor SDK.
    As I shared the log, I could boot the board via RAMFS without any problem.
    I see, the zImage built by you and arago fs size has some what different.