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.

Linux/66AK2E05: 66AK2E05: Linux SDK does not work at custom board.

Part Number: 66AK2E05

Tool/software: Linux

Hello, All,

My customer has a problem with Linux SDK at 66AK2E05. They said they have their own PCB design (not clone of our EVM). Please advise they they shall to check. The customer will join us at this topic with details.

Best regards,

Dmitry

  • Dmitry,

    We need more information than Linux SDK doesn`t work to be able to help the customer. Have they checked that the SOC is powering up ? Can they connect an emulator and run a GEL to initialize the clocks and external memory. Have they run diagnostics or memory tests to see if the DDR and flash memory read-write tests pass on the board. These are the kind of tests, we run to bring up a board even before testing if the Linux SDK works on the SOC/platform.

    At the moment, with the information you have provided, we are unable to even assess if this is a hardware or a software issue so we will wait for the customer to provide these details before try to help with Linux bring up.

    Regards,
    Rahul
  • Hi, to All!

    I will try to describe our problems.

    We have a custom board. DDR3 memory working fine. I have done all related DDR3 modification in u-boot and mtest don't show any errors.

    We have 1GbE that is connected to the Marvell 88E1111 PHY with mdio address is 1. I have done related modification in u-boot source and kernel device tree files. In u-boot ethernet working fine. I can boot firmware, dtb, kernel from network and start booting system with rootfs mounted over NFS.  Below You can see full boot messages. It is not the latest, but on all of them there is an error that I marked bold.

    I will try to disable all of ethernet interfaces except 1, but have no result. If you need additional information, I will provide it.

    We have boot linux to command line froim USB with ubifs, but ehrenet not working and any command to 1GbE (ex: ifconfig eth0 up) generate kernel dump.

    I work with latest PSP version (and previous too):

    ti-processor-sdk-linux-k2e-evm-03.03.00.04

    At a time I try to work with:

    ti-processor-sdk-linux-k2e-evm-03.01.00.06

    but have a pause in my work.

    Here my bootlog:

    U-Boot SPL 2017.07-rc2-dirty (Jun 21 2017 - 09:56:24)

    Trying to boot from SPI

    U-Boot 2017.07-rc2-dirty (Jun 21 2017 - 09:56:24 +0300)

    CPU: 66AK2Ex SR1.0

    Model: Texas Instruments Keystone 2 Edison EVM

    DRAM:  Configure DDR3A from static params.

    DDR3 speed 1600

    DRAM: 1 GiB

    1 GiB

    SF: Detected n25q256a with page size 256 Bytes, erase size 4 KiB, total 32 MiB

    Net:   eth0: netcp@24000000

    Warning: netcp@slave-1 (eth1) using random MAC address - 8a:b2:df:06:c7:1d

    , eth1: netcp@slave-1

    Warning: netcp@slave-2 (eth2) using random MAC address - ce:48:a1:43:cd:e6

    , eth2: netcp@slave-2

    Warning: netcp@slave-3 (eth3) using random MAC address - c6:0a:56:fa:89:6a

    , eth3: netcp@slave-3

    Warning: netcp@slave-4 (eth4) using random MAC address - de:f5:81:e0:28:d8

    , eth4: netcp@slave-4

    Warning: netcp@slave-5 (eth5) using random MAC address - 06:77:7c:22:82:0e

    , eth5: netcp@slave-5

    Warning: netcp@slave-6 (eth6) using random MAC address - 0e:35:8b:9b:c6:82

    , eth6: netcp@slave-6

    Warning: netcp@slave-7 (eth7) using random MAC address - 4a:0f:97:59:b8:ec

    , eth7: netcp@slave-7

    Hit any key to stop autoboot:  0

    netcp@24000000 Waiting for SGMII auto negotiation to complete. done

    netcp@24000000 Waiting for PHY auto negotiation to complete.. done

    Using netcp@24000000 device

    TFTP from server 192.168.0.102; our IP address is 192.168.0.241

    Filename './skern-k2e.bin'.

    Load address: 0xc1f0000

    Loading: #######

            2.9 KiB/s

    done

    Bytes transferred = 32832 (8040 hex)

    K2_BM_15. 07-nogit SoC:k2e built:09:53:56, Jun 21 2017

    ## installed monitor @ 0xc1f0000, freq [208333333], status 0

    netcp@24000000 Waiting for SGMII auto negotiation to complete. done

    Using netcp@24000000 device

    TFTP from server 192.168.0.102; our IP address is 192.168.0.241

    Filename './keystone-k2e-evm.dtb'.

    Load address: 0x88000000

    Loading: #########

            2.6 MiB/s

    done

    Bytes transferred = 44279 (acf7 hex)

    netcp@24000000 Waiting for SGMII auto negotiation to complete. done

    Using netcp@24000000 device

    TFTP from server 192.168.0.102; our IP address is 192.168.0.241

    Filename './zImage'.

    Load address: 0x82000000

    Loading: #################################################################

            #################################################################

            #################################################################

            #################################################################

            #################################################################

            #################################################################

            #################################################################

            #################################################################

            #################################################################

            ###################################

            3.2 MiB/s

    done

    Bytes transferred = 3169440 (305ca0 hex)

    netcp@24000000 Waiting for SGMII auto negotiation to complete. done

    Using netcp@24000000 device

    TFTP from server 192.168.0.102; our IP address is 192.168.0.241

    Filename './k2-fw-initrd.cpio.gz'.

    Load address: 0x88080000

    Loading: #############

            2.9 MiB/s

    done

    Bytes transferred = 64925 (fd9d hex)

    ## Flattened Device Tree blob at 88000000

      Booting using the fdt blob at 0x88000000

      Loading Ramdisk to 8fff0000, end 8ffffd9d ... OK

      Loading Device Tree to 8ffe2000, end 8ffefcf6 ... OK

    Starting kernel ...

    Uncompressing Linux... done, booting the kernel.

    [    0.000000] Booting Linux on physical CPU 0x0

    [    0.000000] Initializing cgroup subsys cpuset

    [    0.000000] Initializing cgroup subsys cpu

    [    0.000000] Initializing cgroup subsys cpuacct

    [    0.000000] Linux version 4.4.41-gf9f6f0db2d (karak@karak-u64) (gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11) ) #13 SMP PREEMPT Fri Jun 23 16:09:35 MSK 2017

    [    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 Edison EVM

    [    0.000000] bootconsole [earlycon0] enabled

    [    0.000000] Reserved memory: created CMA memory pool at 0x00000000b0000000, size 64 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 0x00000000b4000000, size 64 MiB

    [    0.000000] Reserved memory: initialized node dsp_reserved_mpm_area, compatible id shared-dma-pool

    [    0.000000] cma: Reserved 24 MiB at 0x00000000be800000

    [    0.000000] Forcing write-allocate cache policy for SMP

    [    0.000000] Memory policy: Data cache writealloc

    [    0.000000] psci: probing for conduit method from DT.

    [    0.000000] psci: Using PSCI v0.1 Function IDs from DT

    [    0.000000] PERCPU: Embedded 11 pages/cpu @df6a4000 s14796 r8192 d22068 u45056

    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 178496

    [    0.000000] Kernel command line: console=ttyS0,115200n8 earlyprintk rootwait=1 rootfstype=nfs root=/dev/nfs rw nfsroot=192.168.0.102:/home/karak/targetfs-swh101v,v3,tcp,rsize=4096,wsize=4096 ip=dhcp:eth0

    [    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: 614916K/720896K available (5820K kernel code, 214K rwdata, 1988K rodata, 260K init, 352K bss, 15868K reserved, 90112K cma-reserved, 106496K highmem)

    [    0.000000] Virtual kernel memory layout:

    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)

    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)

    [    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)

    [    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)

    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)

    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)

    [    0.000000]       .text : 0xc0008000 - 0xc07a8494   (7810 kB)

    [    0.000000]       .init : 0xc07a9000 - 0xc07ea000   ( 260 kB)

    [    0.000000]       .data : 0xc07ea000 - 0xc081fb80   ( 215 kB)

    [    0.000000]        .bss : 0xc0821000 - 0xc0879168   ( 353 kB)

    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1

    [    0.000000] Preemptible hierarchical RCU implementation.

    [    0.000000]  Build-time adjustment of leaf fanout to 32.

    [    0.000000]  RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.

    [    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=4

    [    0.000000] NR_IRQS:16 nr_irqs:16 16

    [    0.000000] GIC: Using split EOI/Deactivate mode

    [    0.000000] Architected cp15 timer(s) running at 208.33MHz (phys).

    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x300c4cdf1c, max_idle_ns: 440795202901 ns

    [    0.000003] sched_clock: 56 bits at 208MHz, resolution 4ns, wraps every 4398046511101ns

    [    0.008131] Switching to timer-based delay loop, resolution 4ns

    [    0.014272] keystone timer clock @208333333 Hz

    [    0.019048] Console: colour dummy device 80x30

    [    0.023606] Calibrating delay loop (skipped), value calculated using timer frequency.. 416.66 BogoMIPS (lpj=2083333)

    [    0.034278] pid_max: default: 32768 minimum: 301

    [    0.039061] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)

    [    0.045800] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)

    [    0.053367] Initializing cgroup subsys io

    [    0.057492] Initializing cgroup subsys memory

    [    0.061966] Initializing cgroup subsys devices

    [    0.066516] Initializing cgroup subsys freezer

    [    0.071073] Initializing cgroup subsys perf_event

    [    0.075884] Initializing cgroup subsys pids

    [    0.080181] CPU: Testing write buffer coherency: ok

    [    0.085332] /cpus/cpu@0 missing clock-frequency property

    [    0.090768] /cpus/cpu@1 missing clock-frequency property

    [    0.096216] /cpus/cpu@2 missing clock-frequency property

    [    0.101654] /cpus/cpu@3 missing clock-frequency property

    [    0.107083] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000

    [    0.112877] Setting up static identity map for 0x80008300 - 0x80008438

    [    0.204307] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001

    [    0.234344] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002

    [    0.264376] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003

    [    0.264446] Brought up 4 CPUs

    [    0.284830] SMP: Total of 4 processors activated (1666.66 BogoMIPS).

    [    0.291297] CPU: All CPU(s) started in HYP mode.

    [    0.296024] CPU: Virtualization extensions available.

    [    0.301510] devtmpfs: initialized

    [    0.313523] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0

    [    0.321518] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns

    [    0.332719] pinctrl core: initialized pinctrl subsystem

    [    0.338555] NET: Registered protocol family 16

    [    0.343780] DMA: preallocated 256 KiB pool for atomic coherent allocations

    [    0.373149] cpuidle: using governor ladder

    [    0.403165] cpuidle: using governor menu

    [    0.411411] irq: no irq domain found for /soc/keystone_irq@26202a0 !

    [    0.423287] No ATAGs?

    [    0.425403] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.

    [    0.433803] hw-breakpoint: maximum watchpoint size is 8 bytes.

    [    0.467180] pps_core: LinuxPPS API ver. 1 registered

    [    0.472252] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>

    [    0.481539] PTP clock support registered

    [    0.486881] DMA-API: preallocated 4096 debug entries

    [    0.491962] DMA-API: debugging enabled by kernel config

    [    0.497338] clocksource: Switched to clocksource arch_sys_counter

    [    0.510175] NET: Registered protocol family 2

    [    0.515005] TCP established hash table entries: 4096 (order: 2, 16384 bytes)

    [    0.522208] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)

    [    0.528830] TCP: Hash tables configured (established 4096 bind 4096)

    [    0.535324] UDP hash table entries: 256 (order: 1, 8192 bytes)

    [    0.541290] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)

    [    0.547771] NET: Registered protocol family 1

    [    0.552424] RPC: Registered named UNIX socket transport module.

    [    0.558470] RPC: Registered udp transport module.

    [    0.563279] RPC: Registered tcp transport module.

    [    0.568106] RPC: Registered tcp NFSv4.1 backchannel transport module.

    [    0.574793] Unpacking initramfs...

    [    0.581827] Freeing initrd memory: 64K (cfff0000 - d0000000)

    [    0.587768] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available

    [    0.596886] futex hash table entries: 1024 (order: 4, 65536 bytes)

    [    0.608875] squashfs: version 4.0 (2009/01/31) Phillip Lougher

    [    0.615213] NFS: Registering the id_resolver key type

    [    0.620421] Key type id_resolver registered

    [    0.624706] Key type id_legacy registered

    [    0.628838] nfs4filelayout_init: NFSv4 File Layout Driver Registering...

    [    0.635685] ntfs: driver 2.1.32 [Flags: R/O].

    [    0.640339] jffs2: version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.

    [    0.647923] bounce: pool size: 64 pages

    [    0.651951] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)

    [    0.659498] io scheduler noop registered

    [    0.663524] io scheduler deadline registered

    [    0.667927] io scheduler cfq registered (default)

    [    0.672873] keystone_irq soc:keystone_irq@26202a0: irqchip registered, nr_irqs 28

    [    0.680739] ti,keystone-serdes 2326000.phy: init fw ks2_pcie_serdes.bin: version 3.3.0.2c

    [    0.689778] ti,keystone-serdes 232a000.phy: init fw ks2_gbe_serdes.bin: version 3.3.0.2c

    [    0.698713] ti,keystone-serdes 2324000.phy: init fw ks2_gbe_serdes.bin: version 3.3.0.2c

    [    0.708879] PCI host bridge /soc/pcie@21020000 ranges:

    [    0.714127]   No bus range found for /soc/pcie@21020000, using [bus 00-ff]

    [    0.721141]   MEM 0x60000000..0x6fffffff -> 0x60000000

    [    0.727482] keystone-pcie 21021000.pcie: PCI host bridge to bus 0000:00

    [    0.734215] pci_bus 0000:00: root bus resource [bus 00-ff]

    [    0.739831] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]

    [    0.747056] PCI: bus0: Fast back to back transfers disabled

    [    0.752854] PCI: bus1: Fast back to back transfers enabled

    [    0.758531] pci 0000:00:00.0: PCI bridge to [bus 01]

    [    0.763757] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt

    [    0.771422] keystone-navigator-qmss soc:qmss@2a40000: qmgr start queue 0, number of queues 8192

    [    0.780363] keystone-navigator-qmss soc:qmss@2a40000: added qmgr start queue 0, num of queues 8192, reg_peek f0b80000, reg_status f0b48000, reg_config f0b4a000, reg_region f0b4c000, reg_push f0bc0000, r0

    [    0.800086] keystone-navigator-qmss soc:qmss@2a40000: firmware file ks2_qmss_pdsp_acc48.bin downloaded for pdsp0

    [    0.810484] keystone-navigator-qmss soc:qmss@2a40000: firmware file ks2_qmss_pdsp_qos.bin downloaded for pdsp3

    [    0.820701] keystone-navigator-qmss soc:qmss@2a40000: firmware file ks2_qmss_pdsp_qos.bin downloaded for pdsp7

    [    0.831656] keystone-navigator-qmss soc:qmss@2a40000: qos: sched port @8096, drop sched @8000

    [    0.841682] keystone-navigator-qmss soc:qmss@2a40000: qos: sched port @6496, drop sched @6400

    [    0.852240] keystone-navigator-qmss soc:qmss@2a40000: qos version 0x200010b, magic valid

    [    0.861003] keystone-navigator-qmss soc:qmss@2a40000: qos version 0x200010b, magic valid

    [    0.870233] keystone-navigator-dma soc:knav_dmas@0: DMA dma_gbe registered 149 logical channels, flows 128, tx chans: 21, rx chans: 91

    [    0.882575] keystone-navigator-dma soc:knav_dmas@0: DMA dma_xgbe registered 48 logical channels, flows 32, tx chans: 16, rx chans: 16

    [    0.934862] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled

    [    0.943629] console [ttyS0] disabled

    [    0.947356] 2530c00.serial: ttyS0 at MMIO 0x2530c00 (irq = 26, base_baud = 13020833) is a 16550A

    [    0.956323] console [ttyS0] enabled

    [    0.956323] console [ttyS0] enabled

    [    0.963393] bootconsole [earlycon0] disabled

    [    0.963393] bootconsole [earlycon0] disabled

    [    0.972622] 2531000.serial: ttyS1 at MMIO 0x2531000 (irq = 27, base_baud = 13020833) is a 16550A

    [    0.981856] [drm] Initialized drm 1.1.0 20060810

    [    0.991530] loop: module loaded

    [    0.994887] at24 0-0050: 131072 byte 24c1024 EEPROM, writable, 1 bytes/write

    [    1.002369] spi_davinci 21000400.spi: DMA is not supported (-19)

    [    1.008918] m25p80 spi32766.0: unrecognized JEDEC id bytes: 20, bb, 19

    [    1.015446] spi_davinci 21000400.spi: Controller at 0xf0bae400

    [    1.021429] spi_davinci 21000600.spi: DMA is not supported (-19)

    [    1.027732] spi_davinci 21000600.spi: Controller at 0xf0bb0600

    [    1.033695] spi_davinci 21000800.spi: DMA is not supported (-19)

    [    1.039994] spi_davinci 21000800.spi: Controller at 0xf0bb2800

    [    1.046206] tun: Universal TUN/TAP device driver, 1.6

    [    1.051261] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>

    [    1.107357] davinci_mdio 24200f00.mdio: davinci mdio revision 1.7

    [    1.113441] libphy: 24200f00.mdio: probed

    [    1.117791] davinci_mdio 24200f00.mdio: phy[1]: device 24200f00.mdio:01, driver Marvell 88E1111

    [    1.126915] ti,keystone-serdes 232a000.phy: Requested PHY is disabled

    [    3.142946] serdes PLL not locked

    [    3.655311] ti,keystone-serdes 232a000.phy: Requested PHY is disabled

    [    5.671509] serdes PLL not locked

    [    6.183930] ti,keystone-serdes 232a000.phy: Requested PHY is disabled

    [    8.200175] serdes PLL not locked

    [    8.712592] ti,keystone-serdes 2324000.phy: Requested PHY is disabled

    [   10.728621] serdes PLL not locked

    [   11.240629] ti,keystone-serdes 2324000.phy: Requested PHY is disabled

    [   13.256521] serdes PLL not locked

    [   13.768870] ti,keystone-serdes 2324000.phy: Requested PHY is disabled

    [   15.785083] serdes PLL not locked

    [   16.297467] ti,keystone-serdes 2324000.phy: Requested PHY is disabled

    [   18.313712] serdes PLL not locked

    [   18.826105] netcp-1.0 2620110.netcp: phy not found for slave 1

    [   18.831963] netcp-1.0 2620110.netcp: cpts: overflow check period 300

    [   18.838320] netcp-1.0 2620110.netcp: CPTS: ref_clk_freq:625000000 calc_mult:3435973837 calc_shift:31 error:0 nsec/sec

    [   18.848928] netcp-1.0 2620110.netcp: initialized cpsw ale version 1.4

    [   18.855358] netcp-1.0 2620110.netcp: ALE Table size 8192

    [   18.861501] netcp-1.0 2620110.netcp: module(netcp-xgbe) not used for device

    [   18.868477] netcp-1.0 2620110.netcp: module(netcp-pa) not used for device

    [   18.876802] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.01:0x03000201 for pdsp 0

    [   18.885102] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.01:0x03000201 for pdsp 1

    [   18.893369] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.01:0x03000201 for pdsp 2

    [   18.901638] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.01:0x03000201 for pdsp 3

    [   18.909946] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.01:0x03000201 for pdsp 4

    [   18.918214] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.01:0x03000201 for pdsp 5

    [   18.926467] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.01:0x03000201 for pdsp 6

    [   18.934740] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.01:0x03000201 for pdsp 7

    [   18.943007] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.01:0x03000201 for pdsp 8

    [   18.951270] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.01:0x03000201 for pdsp 9

    [   18.959533] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.01:0x03000201 for pdsp 10

    [   18.967883] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.01:0x03000201 for pdsp 11

    [   18.976223] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.01:0x03000201 for pdsp 12

    [   18.984573] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.01:0x03000201 for pdsp 13

    [   18.992927] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.01:0x03000201 for pdsp 14

    [   19.002459] ------------[ cut here ]------------

    [   19.007071] WARNING: CPU: 3 PID: 1 at lib/dma-debug.c:1205 check_sync+0x16c/0x72c()

    [   19.014908] ---[ end trace 9f3d17b882343f8a ]---

    [   19.020717] netcp-1.0 2620110.netcp: rx_chan_name netrx0-pa for port 1

    [   19.027378] i2c /dev entries driver

    [   19.032166] Initializing XFRM netlink socket

    [   19.036903] NET: Registered protocol family 10

    [   19.041882] mip6: Mobile IPv6

    [   19.044845] sit: IPv6 over IPv4 tunneling driver

    [   19.050233] NET: Registered protocol family 17

    [   19.054681] NET: Registered protocol family 15

    [   19.059224] Registering SWP/SWPB emulation handler

    [   19.065150] console [netcon0] enabled

    [   19.068822] netconsole: network logging started

    [   19.073348] hctosys: unable to open rtc device (rtc0)

    [   19.104036] netcp-1.0 2620110.netcp eth0: Link is Up

    [   19.109256] pps pps0: new PPS source ptp0

    [   19.113280] netcp-1.0 2620110.netcp: pa2_config_ingress_port_def_route: could not allocate cmd tx packet

    [   19.122794] net eth0: module open failed

    [   19.126917] ------------[ cut here ]------------

    [   19.131547] WARNING: CPU: 3 PID: 1 at drivers/soc/ti/knav_qmss_queue.c:751 knav_pool_destroy+0xf8/0xfc()

    [   19.141181] ---[ end trace 9f3d17b882343f8c ]---

    [   19.287350] ------------[ cut here ]------------

    [   19.291963] WARNING: CPU: 3 PID: 1 at drivers/soc/ti/knav_qmss_queue.c:751 knav_pool_destroy+0xf8/0xfc()

    [   19.301591] ---[ end trace 9f3d17b882343f8d ]---

    [   19.327351] ------------[ cut here ]------------

    [   19.331965] WARNING: CPU: 3 PID: 1 at drivers/soc/ti/knav_qmss_queue.c:751 knav_pool_destroy+0xf8/0xfc()

    [   19.341593] ---[ end trace 9f3d17b882343f8e ]---

    [   19.357338] (NULL net_device): Link is Down

    [   19.361512] (NULL net_device): Link is Down

    [   19.365685] (NULL net_device): Link is Down

    [   19.369866] (NULL net_device): Link is Down

    [   19.374041] (NULL net_device): Link is Down

    [   19.378221] (NULL net_device): Link is Down

    [   19.382395] (NULL net_device): Link is Down

    [   19.387353] ------------[ cut here ]------------

    [   19.391966] WARNING: CPU: 3 PID: 1 at drivers/soc/ti/knav_qmss_queue.c:751 knav_pool_destroy+0xf8/0xfc()

    [   19.401592] ---[ end trace 9f3d17b882343f8f ]---

    [   19.427351] ------------[ cut here ]------------

    [   19.431963] WARNING: CPU: 3 PID: 1 at drivers/soc/ti/knav_qmss_queue.c:751 knav_pool_destroy+0xf8/0xfc()

    [   19.441590] ---[ end trace 9f3d17b882343f90 ]---

    [   19.467350] ------------[ cut here ]------------

    [   19.471962] WARNING: CPU: 3 PID: 1 at drivers/soc/ti/knav_qmss_queue.c:751 knav_pool_destroy+0xf8/0xfc()

    [   19.481590] ---[ end trace 9f3d17b882343f91 ]---

    [   19.507350] ------------[ cut here ]------------

    [   19.511962] WARNING: CPU: 3 PID: 1 at drivers/soc/ti/knav_qmss_queue.c:751 knav_pool_destroy+0xf8/0xfc()

    [   19.521588] ---[ end trace 9f3d17b882343f92 ]---

    [   19.547350] ------------[ cut here ]------------

    [   19.551962] WARNING: CPU: 3 PID: 1 at drivers/soc/ti/knav_qmss_queue.c:751 knav_pool_destroy+0xf8/0xfc()

    [   19.561587] ---[ end trace 9f3d17b882343f93 ]---

    [   19.587349] IP-Config: Failed to open eth0

    [   19.591451] IP-Config: No network devices available

    If you can provide any tips or helps it will be fine! Thank you.

  • Hi, Vladimir,

    What method of boot do you use? From the logs, it seems to me that you are booting from net, i.e. boot=net in u-boot env variables. Is that correct? If that is the way you boot, you seem to miss getting name_fw_rd. I only see the tftp for skern.bin, dtb, and kernel zImage.

    => pri boot
    boot=net
    => pri bootcmd
    bootcmd=run init_${boot} get_mon_${boot} run_mon init_fw_rd_${boot} get_fdt_${boot} get_kern_${boot} run_kern
    => pri init_fw_rd_net
    init_fw_rd_net=dhcp ${rdaddr} ${tftp_root}/${name_fw_rd}; run set_rd_spec
    => pri name_fw_rd
    name_fw_rd=k2-fw-initrd.cpio.gz


    Was there an upgrade of the u-boot from other release, like MCSDK? For nay u-boot upgrade, please issue "env default -f -a" to reset u-boot environment variables. They are not compatible from release to release.


    Rex
  • Hi, Rex!

    Thank you for your answer and attention! Yes, I try to boot from network. 
    I'm sorry for pure boot messages formatting. It is not clearly to see that I use firmware cpio.gz archive from ${PSDK}//board-support/prebuilt-images.

    In the above boot messages you can see:

    TFTP from server 192.168.0.102; our IP address is 192.168.0.241

    Filename './k2-fw-initrd.cpio.gz'.

    Load address: 0x88080000

    It is correct or not?

    We will try to clear all u-boot env settings and set it again from new PSDK.

  • Hi, Vladimir,

    Ok. I see it. It usually is loaded before dtb and kernel, but yours is after them. That's why I missed it. Your skern.bin is loaded to 0x0c1f0000, but u-boot has version 2017.07. It seems to me that not only you had u-boot environment from a much older version, but you are not using u-boot from 3.3.0.4 either. Is there any reason you need to use uboot 2017.07? If you can use the u-boot from the same procSDK release that will be easier because it was tested with kernel in the same release. Try resetting u-boot environment variable to see if it helps.

    Another thing puzzles me is why the fw-initrd is loaded after the kernel. Is the bootcmd modified and different from the release package?

    Rex
  • Hi, Rex!
    u-boot from release 3.3.0.4 procSDK was my start point. But I has an errors while using it and after that I switch out on 2017 the latest version. I compared two versions and they are very similar.
    I suppose that order of firmware loading is not the matter, because we load fw into the fixed memory address and other components too.
    Rex, I need some time to switch on PSDK release version of u-boot.
    Thank you.
    Vladimir
  • Hi Rex and Rahul!

    Thank you for your inputs. Let me give you some overview of our project dedicated to 66AK2E05.

    We produced 2 identical engineering samples of the 66AK2E05 board. The schematic is based on the evaluation board but has some modifications. The major ones are that we didn’t put nand flash, replaced the Ethernet PHY chip, altered clock frequency.

    Vladimir Karakozov (team 1) works with the board 1 and other person (team 2) works with the board 2. I act as PM for this project.

    Each team goes its way trying to bring board up. Team 1 tries to boot kernel from net. Team 2 do the same from USB flash. Both teams didn’t succeeded yet.

    Vladimir gave you an overview of his team activity.

    Here are some details about team 2 workflow. They took the latest SDK 4 dated 07/2017 to run uboot, kernel, etc. They loaded initramfs, kernel, dtb (with minor modifications related to memory) from USB. The boot log is attached.

    Here are my questions:

    1. As you can see in 8.806332 time stamp the device says it doesn’t use netcp. What could be the reasons for such a message?
    2. Could you assist us in making minimal dts configuration essential for running netcp?
    3. Is it worth of sending you our schematic to clarify the matter?

    boot.log.txt
    U-Boot SPL 2017.01-00319-g0e59a76-dirty (Jul 14 2017 - 13:05:33)
    Trying to boot from SPI
    
    
    U-Boot 2017.01-00319-g0e59a76-dirty (Jul 14 2017 - 13:05:33 +0300)
    
    CPU: 66AK2Ex SR1.0
    Model: Texas Instruments Keystone 2 Edison EVM
    I2C:   ready
    DRAM:  Configure DDR3A from static params.
    DDR3 speed 1600
    DRAM: 1 GiB
    1 GiB
    NAND:  0 MiB
    SF: Detected n25q256a with page size 256 Bytes, erase size 4 KiB, total 32 MiB
    Net:
    Warning: netcp@24000000 using MAC address from ROM
    eth0: netcp@24000000
    Warning: netcp@slave-1 (eth1) using random MAC address - 26:e4:a5:e8:c3:73
    , eth1: netcp@slave-1
    Warning: netcp@slave-2 (eth2) using random MAC address - d2:14:18:cd:11:59
    , eth2: netcp@slave-2
    Warning: netcp@slave-3 (eth3) using random MAC address - e6:99:8f:30:c8:17
    , eth3: netcp@slave-3
    Warning: netcp@slave-4 (eth4) using random MAC address - ce:da:bd:c6:5d:4b
    , eth4: netcp@slave-4
    Warning: netcp@slave-5 (eth5) using random MAC address - 8a:e0:a1:04:23:25
    , eth5: netcp@slave-5
    Warning: netcp@slave-6 (eth6) using random MAC address - ba:f9:ab:1d:8e:a1
    , eth6: netcp@slave-6
    Warning: netcp@slave-7 (eth7) using random MAC address - 5a:20:ab:7f:cd:7f
    , eth7: netcp@slave-7
    Hit any key to stop autoboot:  0
    => env default -a
    ## Resetting to default environment
    => env set mem_lpae 0
    => env print -a
    addr_load_sec_bm=0x0c08c000
    addr_mon=0x87000000
    addr_non_sec_mon=0x0c087fc0
    addr_secdb_key=0xc000000
    addr_ubi=0x82000000
    arch=arm
    args_all=setenv bootargs console=ttyS0,115200n8 rootwait=1
    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 0x90000; sf write ${loadaddr} 0 ${filesize}
    cpu=armv7
    fdt_addr_r=0x88000000
    fdtaddr=0x88000000
    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=0
    mtdparts=mtdparts=davinci_nand.0:1024k(bootloader)ro,512k(params)ro,-(ubifs)
    name_fdt=keystone-k2e-evm.dtb
    name_fs=arago-console-image-k2e-evm.cpio.gz
    name_fw_rd=k2-fw-initrd.cpio.gz
    name_kern=zImage
    name_mon=skern-k2e.bin
    name_ubi=k2e-evm-ubifs.ubi
    name_uboot=u-boot-spi-k2e-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
    tftp_root=/
    vendor=ti
    
    Environment size: 3701/262140 bytes
    => usb start
    starting USB...
    USB0:   Register 2001040 NbrPorts 2
    Starting the controller
    USB XHCI 1.00
    scanning bus 0 for devices... 2 USB Device(s) found
           scanning usb for storage devices... 1 Storage Device(s) found
    => fatload usb 0:1 0x87000000 skern-k2e.bin
    reading skern-k2e.bin
    32832 bytes read in 44 ms (728.5 KiB/s)
    => mon_install 0x87000000
    K2_BM_15.07-53-ge1f885a SoC:k2e built:17:21:18, Jun 28 2017
    
    ## installed monitor @ 0xc1f0000, freq [208333333], status 203358208
    => fatload usb 0:1 0x88000000 keystone-k2e-evm.dtb
    reading keystone-k2e-evm.dtb
    34863 bytes read in 44 ms (773.4 KiB/s)
    =>
    Unknown command '' - try 'help'
    => fatload usb 0:1 0x88080000 k2-fw-initrd.cpio.gz
    reading k2-fw-initrd.cpio.gz
    65443 bytes read in 61 ms (1 MiB/s)
    => fatload usb 0:1 0x82000000 zimage-k2e-evm.bin
    reading zimage-k2e-evm.bin
    3406856 bytes read in 1796 ms (1.8 MiB/s)
    => setenv bootargs console=ttyS0,115200n8 rootwait
    => bootz 0x82000000 0x88080000:65443 0x88000000
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Ramdisk to 8ff9a000, end 8ffff443 ... OK
       Loading Device Tree to 8ff8e000, end 8ff9982e ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.9.28-geed43d1050 (gtbldadm@ubuntu-16) (gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11) ) #1 SMP PREEMPT Wed Jun 28 17:39:33 EDT 2017
    [    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 Edison EVM
    [    0.000000] efi: Getting EFI parameters from FDT:
    [    0.000000] efi: UEFI not found.
    [    0.000000] OF: reserved mem: OVERLAP DETECTED!
    [    0.000000] dsp_reserved_mpm_area (0x00000000b4000000--0x00000000b8000000) overlaps with dsp_common_mpm_pool@b4000000 (0x00000000b4000000--0x00000000b8000000)
    [    0.000000] Reserved memory: created CMA memory pool at 0x00000000b0000000, size 64 MiB
    [    0.000000] OF: reserved mem: initialized node dsp_common_cma_pool@b0000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000b4000000, size 64 MiB
    [    0.000000] OF: reserved mem: initialized node dsp_reserved_mpm_area, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000b4000000, size 64 MiB
    [    0.000000] OF: reserved mem: initialized node dsp_common_mpm_pool@b4000000, compatible id shared-dma-pool
    [    0.000000] cma: Reserved 64 MiB at 0x00000000bc000000
    [    0.000000] Memory policy: Data cache writealloc
    [    0.000000] psci: probing for conduit method from DT.
    [    0.000000] psci: Using PSCI v0.1 Function IDs from DT
    [    0.000000] percpu: Embedded 13 pages/cpu @ef6a8000 s22092 r8192 d22964 u53248
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 235840
    [    0.000000] Kernel command line: console=ttyS0,115200n8 rootwait
    [    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
    [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Memory: 794368K/950272K available (8192K kernel code, 249K rwdata, 2252K rodata, 2048K init, 288K bss, 24832K reserved, 131072K cma-reserved, 32768K highmem)
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    [    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc0a00000   (10208 kB)
    [    0.000000]       .init : 0xc0e00000 - 0xc1000000   (2048 kB)
    [    0.000000]       .data : 0xc1000000 - 0xc103e4c0   ( 250 kB)
    [    0.000000]        .bss : 0xc1040000 - 0xc10880b0   ( 289 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    [    0.000000] Preemptible hierarchical RCU implementation.
    [    0.000000]  Build-time adjustment of leaf fanout to 32.
    [    0.000000]  RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
    [    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=4
    [    0.000000] NR_IRQS:16 nr_irqs:16 16
    [    0.000000] GIC: Using split EOI/Deactivate mode
    [    0.000000] arm_arch_timer: Architected cp15 timer(s) running at 208.33MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x300c4cdf1c, max_idle_ns: 440795202901 ns
    [    0.000004] sched_clock: 56 bits at 208MHz, resolution 4ns, wraps every 4398046511101ns
    [    0.000013] Switching to timer-based delay loop, resolution 4ns
    [    0.000144] keystone timer clock @208333333 Hz
    [    0.000342] Console: colour dummy device 80x30
    [    0.000364] Calibrating delay loop (skipped), value calculated using timer frequency.. 416.66 BogoMIPS (lpj=2083333)
    [    0.000375] pid_max: default: 32768 minimum: 301
    [    0.000456] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.000464] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.001041] CPU: Testing write buffer coherency: ok
    [    0.001232] /cpus/cpu@0 missing clock-frequency property
    [    0.001256] /cpus/cpu@1 missing clock-frequency property
    [    0.001277] /cpus/cpu@2 missing clock-frequency property
    [    0.001299] /cpus/cpu@3 missing clock-frequency property
    [    0.001308] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.001320] Setting up static identity map for 0x80200000 - 0x80200138
    [    0.080143] EFI services will not be available.
    [    0.174834] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [    0.244920] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
    [    0.315006] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
    [    0.315104] Brought up 4 CPUs
    [    0.315123] SMP: Total of 4 processors activated (1666.66 BogoMIPS).
    [    0.315129] CPU: All CPU(s) started in HYP mode.
    [    0.315135] CPU: Virtualization extensions available.
    [    0.315558] devtmpfs: initialized
    [    0.323197] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [    0.323407] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.323420] futex hash table entries: 1024 (order: 4, 65536 bytes)
    [    0.325296] pinctrl core: initialized pinctrl subsystem
    [    0.325894] NET: Registered protocol family 16
    [    0.326548] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.350347] cpuidle: using governor ladder
    [    0.380369] cpuidle: using governor menu
    [    0.380423] No ATAGs?
    [    0.380441] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [    0.380449] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [    0.386906] irq: no irq domain found for /soc/keystone_irq@26202a0 !
    [    0.422622] vgaarb: loaded
    [    0.423856] pps_core: LinuxPPS API ver. 1 registered
    [    0.423864] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.423881] PTP clock support registered
    [    0.423913] EDAC MC: Ver: 3.0.0
    [    0.424164] ks2_mc_ddr3_ecc 21010000.edac: ECC is not enabled, disable edac
    [    0.425038] clocksource: Switched to clocksource arch_sys_counter
    [    0.432621] NET: Registered protocol family 2
    [    0.433039] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.433090] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
    [    0.433190] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.433230] UDP hash table entries: 512 (order: 2, 16384 bytes)
    [    0.433255] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
    [    0.433368] NET: Registered protocol family 1
    [    0.433608] RPC: Registered named UNIX socket transport module.
    [    0.433616] RPC: Registered udp transport module.
    [    0.433622] RPC: Registered tcp transport module.
    [    0.433627] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.433784] Trying to unpack rootfs image as initramfs...
    [    0.438095] rootfs image is not initramfs (junk in compressed archive); looks like an initrd
    [    0.439033] Freeing initrd memory: 408K (cff9a000 - d0000000)
    [    0.439187] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
    [    0.440685] workingset: timestamp_bits=14 max_order=18 bucket_order=4
    [    0.446913] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.447506] NFS: Registering the id_resolver key type
    [    0.447526] Key type id_resolver registered
    [    0.447533] Key type id_legacy registered
    [    0.447566] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.448586] bounce: pool size: 64 pages
    [    0.448713] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
    [    0.448721] io scheduler noop registered
    [    0.448727] io scheduler deadline registered
    [    0.448837] io scheduler cfq registered (default)
    [    0.448999] keystone_irq soc:keystone_irq@26202a0: irqchip registered, nr_irqs 28
    [    0.449305] ti,keystone-serdes 2326000.phy: init fw ks2_pcie_serdes.bin: version 3.3.0.2c
    [    0.450135] ti,keystone-serdes 232a000.phy: init fw ks2_gbe_serdes.bin: version 3.3.0.2c
    [    0.452925] OF: PCI: host bridge /soc/pcie@21020000 ranges:
    [    0.452944] OF: PCI:   MEM 0x60000000..0x6fffffff -> 0x60000000
    [    0.553907] keystone-pcie 21021000.pcie: link up
    [    0.554074] keystone-pcie 21021000.pcie: PCI host bridge to bus 0000:00
    [    0.554085] pci_bus 0000:00: root bus resource [bus 00-ff]
    [    0.554094] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
    [    0.554346] PCI: bus0: Fast back to back transfers disabled
    [    0.554447] PCI: bus1: Fast back to back transfers enabled
    [    0.554530] pci 0000:00:00.0: PCI bridge to [bus 01]
    [    0.554722] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt
    [    0.555919] keystone-navigator-qmss soc:qmss@2a40000: qmgr start queue 0, number of queues 8192
    [    0.556036] keystone-navigator-qmss soc:qmss@2a40000: added qmgr start queue 0, num of queues 8192, reg_peek f0b20000, reg_status f08f5000, reg_config f08f7000, reg_region f08f9000, reg_push f0b60000, reg_pop f0ba0000
    [    0.556181] keystone-navigator-qmss soc:qmss@2a40000: firmware file ks2_qmss_pdsp_acc48.bin downloaded for PDSP
    [    0.558837] keystone-navigator-dma soc:knav_dmas@0: DMA dma_gbe registered 149 logical channels, flows 128, tx chans: 21, rx chans: 91
    [    0.558955] keystone-navigator-dma soc:knav_dmas@0: DMA dma_xgbe registered 48 logical channels, flows 32, tx chans: 16, rx chans: 16
    [    0.606383] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [    0.608928] console [ttyS0] disabled
    [    0.608972] 2530c00.serial: ttyS0 at MMIO 0x2530c00 (irq = 26, base_baud = 13020833) is a 16550A
    [    1.475893] console [ttyS0] enabled
    [    1.480063] 2531000.serial: ttyS1 at MMIO 0x2531000 (irq = 27, base_baud = 13020833) is a 16550A
    [    1.489768] [drm] Initialized
    [    1.501760] brd: module loaded
    [    1.509487] loop: module loaded
    [    1.513524] at24 0-0050: 131072 byte 24c1024 EEPROM, writable, 1 bytes/write
    [    1.522144] spi_davinci 21000400.spi: DMA is not supported (-19)
    [    1.528752] m25p80 spi0.0: unrecognized JEDEC id bytes: 20, bb, 19
    [    1.534939] spi_davinci 21000400.spi: Controller at 0xf0b5d400
    [    1.540968] spi_davinci 21000600.spi: DMA is not supported (-19)
    [    1.547316] spi_davinci 21000600.spi: Controller at 0xf0b9c600
    [    1.553319] spi_davinci 21000800.spi: DMA is not supported (-19)
    [    1.559663] spi_davinci 21000800.spi: Controller at 0xf0b9e800
    [    1.565986] libphy: Fixed MDIO Bus: probed
    [    1.625064] davinci_mdio 24200f00.mdio: davinci mdio revision 1.7
    [    1.631150] libphy: 24200f00.mdio: probed
    [    1.635590] davinci_mdio 24200f00.mdio: phy[1]: device 24200f00.mdio:01, driver Marvell 88E1111
    [    1.644785] ti,keystone-serdes 232a000.phy: Requested PHY is disabled
    [    3.662650] serdes PLL not locked
    [    4.178111] ti,keystone-serdes 232a000.phy: Requested PHY is disabled
    [    6.196530] serdes PLL not locked
    [    8.768670] netcp-1.0 2620110.netcp: cpts: overflow check period 300 (jiffies)
    [    8.775910] netcp-1.0 2620110.netcp: CPTS: ref_clk_freq:625000000 calc_mult:3435973837 calc_shift:31 error:0 nsec/sec
    [    8.786525] netcp-1.0 2620110.netcp: initialized cpsw ale version 1.4
    [    8.792958] netcp-1.0 2620110.netcp: ALE Table size 8192
    [    8.799354] netcp-1.0 2620110.netcp: module(netcp-xgbe) not used for device
    [    8.806332] netcp-1.0 2620110.netcp: module(netcp-pa) not used for device
    [    8.813145] netcp-1.0 2620110.netcp: No ip-lut-ranges array in dt bindings for PA
    [    8.822446] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.03:0x03000203 for pdsp 0
    [    8.830726] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.03:0x03000203 for pdsp 1
    [    8.839028] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.03:0x03000203 for pdsp 2
    [    8.847301] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.03:0x03000203 for pdsp 3
    [    8.855571] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.03:0x03000203 for pdsp 4
    [    8.863826] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.03:0x03000203 for pdsp 5
    [    8.872093] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.03:0x03000203 for pdsp 6
    [    8.880360] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.03:0x03000203 for pdsp 7
    [    8.888629] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.03:0x03000203 for pdsp 8
    [    8.896896] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.03:0x03000203 for pdsp 9
    [    8.905163] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.03:0x03000203 for pdsp 10
    [    8.913504] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.03:0x03000203 for pdsp 11
    [    8.921857] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.03:0x03000203 for pdsp 12
    [    8.930210] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.03:0x03000203 for pdsp 13
    [    8.938564] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.03:0x03000203 for pdsp 14
    [    8.948179] netcp-1.0 2620110.netcp: rx_chan_name netrx0-pa for port 1
    [    8.954709] netcp-1.0 2620110.netcp: rx_chan_name netrx1-pa for port 2
    [    8.961491] mousedev: PS/2 mouse device common for all mice
    [    8.967300] i2c /dev entries driver
    [    8.972845] ledtrig-cpu: registered to indicate activity on CPUs
    [    9.305041] (NULL net_device): Link is Down
    [    9.309219] (NULL net_device): Link is Down
    [    9.313395] (NULL net_device): Link is Down
    [    9.317582] (NULL net_device): Link is Down
    [    9.321758] (NULL net_device): Link is Down
    [    9.325943] (NULL net_device): Link is Down
    [    9.375037] nand: timeout while waiting for chip to become ready
    [    9.775036] nand: timeout while waiting for chip to become ready
    [   10.175036] nand: timeout while waiting for chip to become ready
    [   10.575036] nand: timeout while waiting for chip to become ready
    [   10.975036] nand: timeout while waiting for chip to become ready
    [   10.981033] nand: No NAND device found
    [   10.985682] NET: Registered protocol family 10
    [   10.990905] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [   10.997328] NET: Registered protocol family 17
    [   11.001894] Key type dns_resolver registered
    [   11.006235] Registering SWP/SWPB emulation handler
    [   11.013824] hctosys: unable to open rtc device (rtc0)
    [   11.029619] RAMDISK: gzip image found at block 0
    [   11.039179] List of all partitions:
    [   11.042666] 0100           65536 ram0 [   11.046255]  (driver?)
    [   11.048612] 0101           65536 ram1 [   11.052178]  (driver?)
    [   11.054534] 0102           65536 ram2 [   11.058395]  (driver?)
    [   11.060753] 0103           65536 ram3 [   11.064319]  (driver?)
    [   11.066696] 0104           65536 ram4 [   11.070261]  (driver?)
    [   11.072617] 0105           65536 ram5 [   11.076196]  (driver?)
    [   11.078554] 0106           65536 ram6 [   11.082118]  (driver?)
    [   11.084473] 0107           65536 ram7 [   11.088158]  (driver?)
    [   11.090515] 0108           65536 ram8 [   11.094081]  (driver?)
    [   11.096453] 0109           65536 ram9 [   11.100018]  (driver?)
    [   11.102373] 010a           65536 ram10 [   11.106040]  (driver?)
    [   11.108397] 010b           65536 ram11 [   11.112049]  (driver?)
    [   11.114404] 010c           65536 ram12 [   11.118103]  (driver?)
    [   11.120459] 010d           65536 ram13 [   11.124111]  (driver?)
    [   11.126480] 010e           65536 ram14 [   11.130132]  (driver?)
    [   11.132488] 010f           65536 ram15 [   11.136152]  (driver?)
    [   11.138510] No filesystem could mount root, tried: [   11.143204]  ext3
     ext2[   11.145574]  ext4
     squashfs[   11.148279]  vfat
     msdos[   11.150724]  ntfs
    [   11.152641]
    [   11.154127] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
    [   11.162388] CPU2: stopping
    [   11.165092] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 4.9.28-geed43d1050 #1
    [   11.172043] Hardware name: Keystone
    [   11.175522] Backtrace:
    [   11.177976] [<c020b220>] (dump_backtrace) from [<c020b4dc>] (show_stack+0x18/0x1c)
    [   11.185537]  r7:ef091f40 r6:20000193 r5:00000000 r4:c10181d0
    [   11.191192] [<c020b4c4>] (show_stack) from [<c04bb25c>] (dump_stack+0x8c/0xa0)
    [   11.198407] [<c04bb1d0>] (dump_stack) from [<c020e738>] (handle_IPI+0x170/0x184)
    [   11.205795]  r7:ef091f40 r6:00000000 r5:00000002 r4:c0e4dd88
    [   11.211447] [<c020e5c8>] (handle_IPI) from [<c0201440>] (gic_handle_irq+0x78/0x7c)
    [   11.219007]  r7:f0802000 r6:ef091f40 r5:f080200c r4:c1003438
    [   11.224659] [<c02013c8>] (gic_handle_irq) from [<c020c078>] (__irq_svc+0x58/0x8c)
    [   11.232132] Exception stack(0xef091f40 to 0xef091f88)
    [   11.237176] 1f40: 00000001 00000000 00000000 c0219640 ef090000 c100303c 00000004 c10030a4
    [   11.245345] 1f60: 00000000 00000000 c10030ac ef091f9c ef091fa0 ef091f90 c0208688 c020868c
    [   11.253511] 1f80: 60000013 ffffffff
    [   11.256993]  r9:ef090000 r8:00000000 r7:ef091f74 r6:ffffffff r5:60000013 r4:c020868c
    [   11.264730] [<c020864c>] (arch_cpu_idle) from [<c0835d24>] (default_idle_call+0x28/0x34)
    [   11.272813] [<c0835cfc>] (default_idle_call) from [<c025e3f4>] (cpu_startup_entry+0x1b4/0x230)
    [   11.281416] [<c025e240>] (cpu_startup_entry) from [<c020e340>] (secondary_start_kernel+0x170/0x17c)
    [   11.290450]  r7:c1040410
    [   11.292977] [<c020e1d0>] (secondary_start_kernel) from [<802014ec>] (0x802014ec)
    [   11.300364]  r7:c1040410 r6:30c0387d r5:00000000 r4:af02e3c0
    [   11.306014] CPU3: stopping
    [   11.308717] CPU: 3 PID: 0 Comm: swapper/3 Not tainted 4.9.28-geed43d1050 #1
    [   11.315669] Hardware name: Keystone
    [   11.319147] Backtrace:
    [   11.321599] [<c020b220>] (dump_backtrace) from [<c020b4dc>] (show_stack+0x18/0x1c)
    [   11.329161]  r7:ef093f40 r6:20000193 r5:00000000 r4:c10181d0
    [   11.334814] [<c020b4c4>] (show_stack) from [<c04bb25c>] (dump_stack+0x8c/0xa0)
    [   11.342030] [<c04bb1d0>] (dump_stack) from [<c020e738>] (handle_IPI+0x170/0x184)
    [   11.349416]  r7:ef093f40 r6:00000000 r5:00000003 r4:c0e4dd88
    [   11.355069] [<c020e5c8>] (handle_IPI) from [<c0201440>] (gic_handle_irq+0x78/0x7c)
    [   11.362629]  r7:f0802000 r6:ef093f40 r5:f080200c r4:c1003438
    [   11.368281] [<c02013c8>] (gic_handle_irq) from [<c020c078>] (__irq_svc+0x58/0x8c)
    [   11.375754] Exception stack(0xef093f40 to 0xef093f88)
    [   11.380799] 3f40: 00000001 00000000 00000000 c0219640 ef092000 c100303c 00000008 c10030a4
    [   11.388967] 3f60: 00000000 00000000 c10030ac ef093f9c ef093fa0 ef093f90 c0208688 c020868c
    [   11.397134] 3f80: 60000013 ffffffff
    [   11.400616]  r9:ef092000 r8:00000000 r7:ef093f74 r6:ffffffff r5:60000013 r4:c020868c
    [   11.408352] [<c020864c>] (arch_cpu_idle) from [<c0835d24>] (default_idle_call+0x28/0x34)
    [   11.416435] [<c0835cfc>] (default_idle_call) from [<c025e3f4>] (cpu_startup_entry+0x1b4/0x230)
    [   11.425039] [<c025e240>] (cpu_startup_entry) from [<c020e340>] (secondary_start_kernel+0x170/0x17c)
    [   11.434073]  r7:c1040410
    [   11.436600] [<c020e1d0>] (secondary_start_kernel) from [<802014ec>] (0x802014ec)
    [   11.443986]  r7:c1040410 r6:30c0387d r5:00000000 r4:af02e3c0
    [   11.449637] CPU1: stopping
    [   11.452341] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.9.28-geed43d1050 #1
    [   11.459293] Hardware name: Keystone
    [   11.462772] Backtrace:
    [   11.465222] [<c020b220>] (dump_backtrace) from [<c020b4dc>] (show_stack+0x18/0x1c)
    [   11.472783]  r7:ef08ff40 r6:20000193 r5:00000000 r4:c10181d0
    [   11.478435] [<c020b4c4>] (show_stack) from [<c04bb25c>] (dump_stack+0x8c/0xa0)
    [   11.485650] [<c04bb1d0>] (dump_stack) from [<c020e738>] (handle_IPI+0x170/0x184)
    [   11.493037]  r7:ef08ff40 r6:00000000 r5:00000001 r4:c0e4dd88
    [   11.498690] [<c020e5c8>] (handle_IPI) from [<c0201440>] (gic_handle_irq+0x78/0x7c)
    [   11.506250]  r7:f0802000 r6:ef08ff40 r5:f080200c r4:c1003438
    [   11.511903] [<c02013c8>] (gic_handle_irq) from [<c020c078>] (__irq_svc+0x58/0x8c)
    [   11.519375] Exception stack(0xef08ff40 to 0xef08ff88)
    [   11.524418] ff40: 00000001 00000000 00000000 c0219640 ef08e000 c100303c 00000002 c10030a4
    [   11.532587] ff60: 00000000 00000000 c10030ac ef08ff9c ef08ffa0 ef08ff90 c0208688 c020868c
    [   11.540753] ff80: 60000013 ffffffff
    [   11.544234]  r9:ef08e000 r8:00000000 r7:ef08ff74 r6:ffffffff r5:60000013 r4:c020868c
    [   11.551970] [<c020864c>] (arch_cpu_idle) from [<c0835d24>] (default_idle_call+0x28/0x34)
    [   11.560053] [<c0835cfc>] (default_idle_call) from [<c025e3f4>] (cpu_startup_entry+0x1b4/0x230)
    [   11.568656] [<c025e240>] (cpu_startup_entry) from [<c020e340>] (secondary_start_kernel+0x170/0x17c)
    [   11.577690]  r7:c1040410
    [   11.580218] [<c020e1d0>] (secondary_start_kernel) from [<802014ec>] (0x802014ec)
    [   11.587604]  r7:c1040410 r6:30c0387d r5:00000000 r4:af02e3c0
    [   11.593261] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
    

  • Hi, Dmitry,

    There isn't anything wrong with that message at 8.806332. The netcp is running after that message. The logs from8.822 through 8.93 show netcp is loading PA firmware. Please see snippets of TI logs from ProcSDK 3.3.0.4 as below. I noticed the firmware version is different. I am not sure if there is any implication of it.

    [ 1.505525] platform Fixed MDIO bus.0: set dma_pfn_offset00780000
    [ 1.511736] libphy: Fixed MDIO Bus: probed
    [ 1.565534] davinci_mdio 24200f00.mdio: davinci mdio revision 1.7
    [ 1.571619] libphy: 24200f00.mdio: probed
    [ 1.576351] davinci_mdio 24200f00.mdio: phy[0]: device 24200f00.mdio:00, driver Marvell 88E1510
    [ 1.585042] davinci_mdio 24200f00.mdio: phy[1]: device 24200f00.mdio:01, driver Marvell 88E1510
    [ 1.594295] ti,keystone-serdes 232a000.phy: Requested PHY is disabled
    [ 3.613148] serdes PLL not locked
    [ 4.128519] ti,keystone-serdes 232a000.phy: Requested PHY is disabled
    [ 6.147896] serdes PLL not locked
    [ 8.675560] serdes PLL not locked
    [ 11.203992] serdes PLL not locked
    [ 13.731911] serdes PLL not locked
    [ 16.258909] serdes PLL not locked
    [ 16.774395] netcp-1.0 2620110.netcp: cpts: overflow check period 300
    [ 16.780765] netcp-1.0 2620110.netcp: CPTS: ref_clk_freq:625000000 calc_mult:3435973837 calc_shift:31 error:0 nsec/sec
    [ 16.791380] netcp-1.0 2620110.netcp: initialized cpsw ale version 1.4
    [ 16.797826] netcp-1.0 2620110.netcp: ALE Table size 8192
    [ 16.804661] netcp-1.0 2620110.netcp: module(netcp-xgbe) not used for device
    [ 16.811647] netcp-1.0 2620110.netcp: module(netcp-pa) not used for device
    [ 16.818485] netcp-1.0 2620110.netcp: No ip-lut-ranges array in dt bindings for PA
    [ 16.827742] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.01:0x03000201 for pdsp 0
    [ 16.836055] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.01:0x03000201 for pdsp 1
    [ 16.844311] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.01:0x03000201 for pdsp 2
    [ 16.852582] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.01:0x03000201 for pdsp 3
    [ 16.860857] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.01:0x03000201 for pdsp 4
    [ 16.869168] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.01:0x03000201 for pdsp 5
    [ 16.877442] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.01:0x03000201 for pdsp 6
    [ 16.885719] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.01:0x03000201 for pdsp 7
    [ 16.893975] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.01:0x03000201 for pdsp 8
    [ 16.902247] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.01:0x03000201 for pdsp 9
    [ 16.910512] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.01:0x03000201 for pdsp 10
    [ 16.918867] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.01:0x03000201 for pdsp 11
    [ 16.927219] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.01:0x03000201 for pdsp 12
    [ 16.935572] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.01:0x03000201 for pdsp 13
    [ 16.943914] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.01:0x03000201 for pdsp 14
    [ 16.952688] netcp-1.0 2620110.netcp: rx_chan_name netrx0-pa for port 1
    [ 16.959239] netcp-1.0 2620110.netcp: rx_chan_name netrx1-pa for port 2
    [ 16.966517] 2620738.usb_phy supply vcc not found, using dummy regulator
    [ 16.973301] 2620750.usb_phy supply vcc not found, using dummy regulator
    [ 16.980305] mousedev: PS/2 mouse device common for all mice
    [ 16.986242] i2c /dev entries driver
    [ 16.991563] ledtrig-cpu: registered to indicate activity on CPUs
    [ 16.999229] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xac
    [ 17.005589] nand: Micron MT29F4G08ABBDAH4
    [ 17.009593] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
    [ 17.017456] Bad block table found at page 262080, version 0x01
    [ 17.023789] Bad block table found at page 262016, version 0x01
    [ 17.029946] 3 ofpart partitions found on MTD device 30000000.nand
    [ 17.036049] Creating 3 MTD partitions on "30000000.nand":
    [ 17.041441] 0x000000000000-0x000000100000 : "u-boot"
    [ 17.047274] 0x000000100000-0x000000180000 : "params"
    [ 17.053021] 0x000000180000-0x000020000000 : "ubifs"
    [ 17.059065] davinci_nand 30000000.nand: controller rev. 2.5
    [ 17.065290] platform snd-soc-dummy: set dma_pfn_offset00780000
    [ 17.072365] NET: Registered protocol family 10
    [ 17.077506] sit: IPv6 over IPv4 tunneling driver
    [ 17.082566] NET: Registered protocol family 17
    [ 17.087165] Key type dns_resolver registered
    [ 17.091548] Registering SWP/SWPB emulation handler
    [ 17.097931] hctosys: unable to open rtc device (rtc0)
    [ 17.124361] netcp-1.0 2620110.netcp eth0: Link is Up - 1Gbps/Full - flow control off
    [ 17.132436] pps pps0: new PPS source ptp0
    [ 17.155634] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [ 17.295514] (NULL net_device): Link is Down
    [ 17.299699] (NULL net_device): Link is Down
    [ 17.303874] (NULL net_device): Link is Down
    [ 17.308061] (NULL net_device): Link is Down
    [ 17.312236] (NULL net_device): Link is Down
    [ 17.316422] (NULL net_device): Link is Down
    [ 17.701048] netcp-1.0 2620110.netcp eth1: Link is Down
    [ 17.714133] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
    [ 18.315518] netcp-1.0 2620110.netcp eth0: Link is Down
    [ 21.115887] netcp-1.0 2620110.netcp eth0: Link is Up - 1Gbps/Full - flow control off

    For schematics review, please contact local FAE if there is one for your account or local sales contact to fill out the request form.

    Rex
  • Hi Rex, thank you for your suggestion. Team 2 have advanced a little with the board bringup. Now the phys are detected and they are assigned with mac addresses. But when we try to send something we get the error:

    netcp-1.0 2620110.netcp: could not allocate cmd tx packet

    What could be the reasons for this sort of behaviour? Our idea it could be related to PA or PA2 but we are not sure if they are in charge here.
  • Hi Rex, today we've got some new ideas and new questions.

    After examining datasheets and source code we consider the main problem is related to the DMA for PA.

    As we boot the kernel with mem_lpae=0, can it be the reason for the problem?

    Should we enable the lpae if we got 1GB of DDR3 only?

    Please loot at the corresponding log file with our comments marked bold.

     

    log0807.rtf

  • Hi, Dmitry,

    That's interesting observation. In the beginning I thought lpae=0 only matters to the memory mapping. Since you mentioned it, I checked the K2E memory map, and found mem_lpae setting only applies to K2H/K which maps (lpae=1) or not to map (lpae=0) 0x8000 0000 to 0x08 0000 0000, and the first 2GB space starting at 0x08 0000 0000 is IO coherent. For K2E, it needs to be 1. Please see memory map in the data sheet, DDR3 can't be accessed at 0x8000 0000, but only 0x08 0000 0000. 1GB should be ok because u-boot reads the SPD to get the DDR3 size

    if (lpae) {
    ddr3a_size = ddr3_get_size();
    if ((ddr3a_size != 8) && (ddr3a_size != 4))
    ddr3a_size = 0;
    }

    int ddr3_get_size(void)
    {
    ddr3_spd_eeprom_t spd_params;

    if (ddr3_read_spd(&spd_params))
    return 0;

    return ddr3_get_size_in_mb(&spd_params) / 1024;
    }
  • Hi Rex, thank you for your suggestion. We tried to boot the kernel with mem_lpae=1 but things got worse. There’s no any message after “starting kernel" from uboot.

    Our current configuration doesn't differ much from default one from SDK4. We altered only `k2e-evm-cmem.dtsi` file to fit  CMEM block size our 1GB of RAM:
     
    reserved-memory {
        cmem_block_mem_0: cmem_block_mem@830000000 {
    reg = <0x00000008 0x30000000 0x00000000 0x18000000>; before
    reg = <0x00000008 0x30000000 0x00000000 0x10000000>; after
    };
    }; 
     
    cmem {
        cmem_block_0: cmem_block@0 {
    cmem-buf-pools = <1 0x00000000 0x18000000>; before
    cmem-buf-pools = <1 0x00000000 0x10000000>; after
    };
    }; 
     
    Is it enough to fit 1GB of RAM or should we change something else?
     
    We’ve got the memory map as follows:
     
    8 0000 0000 +------------------
    8 0200 0000 | zImage
    8 0700 0000 | skern-k2e.bin
    8 0800 0000 | keystone-k2e-evm.dtb
    8 0808 0000 | uRamdisk ~3Mb (dsp firmware included)
    8 1F80 0000 | CMA pool
    8 2000 0000 | MPM pool
    8 3000 0000 | CMEM block
    8 4000 0000 +------------------ 
     
    Should we add mem_reserve variable in Uboot?
     
    Our idea is that Uboot configures the memory as one bank equal to 2GB and hence we should reserve the upper 1GB of this bank to have 1GB of physical DDR memory mapped.

    Our Uboot commands to boot from USB are as follows:
    ==> env set mem_lpae 1
    ==> env set mem_reserve 1024M
    ==> usb start
    ==> fatload usb 0:1 0x87000000 skern-k2e.bin
    ==> fatload usb 0:1 0x88000000 keystone-k2e-evm.dtb
    ==> fatload usb 0:1 0x88080000 uRamdisk
    ==> fatload usb 0:1 0x82000000 zImage
    ==> mon_install 0x87000000
    ==> setenv bootargs console=ttyS0,115200n8
    ==> bootz 0x82000000 0x88080000 0x88000000
  • Hi Rex, is there any chance to draw attention of some guru to our problem? We really lack TI's support on the subject and go around in circles without any significant result...
  • Hi, Dmitry,

    It is very hard for us on the customized environment. It seems to me that you set up is similar to ramfs boot which loads filesystem to the RAM. The boot cmd is

    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

    I suggest you follow TI's uboot env setup using boot=ramfs. Instead of hdcp files as TI's setup, you can modify using load from usb. That is fine.

    The kernel in TI's SDK takes roughly 512MB space. U-boot loading area doesn't reflect what the memory map looks like after kernel runs. So, space for dtb and skern don't exist after kernel started. CMA doesn't apply before Kernel comes up. In the latest u-boot, I don't see mem_reserve defined in u-boot env variables. if mem_reserve is defined, it is supposed to allocate space from the end of memory going downward. in your case, it will reserve 1GB space for DSP.

    If you follow TI's set up for run_kern, defined in u-boot env
    run_kern=bootz ${loadaddr} ${rd_spec} ${fdtaddr}

    for boot=ramfs, the rd_spec should be
    init_fw_rd_ramfs=setenv rd_spec -

    Rex
  • By the way, I assume your boot type is similar to TI ramfs is based on the existence of uRamdisk which I assume is the filesystem.
  • Hi Rex, thanks for your efforts.

    yes you are right we use ramfs like rootfs (which contains all the firmware, busybox, etc.). Are there any better ways to boot without ramfs?

    We followed your suggestion about following TI`s uboot env setup using boot=ramfs without any success. In fact all the results given above were taken this way.

    Can you check if 1GB of RAM is enough to work with lpae=1?

    Could you please give us some guidelines on how to collect diagnostic information necessary for TI to help us debug?

  • Hi, Dmitry,

    On TI EVM, three boot methods are provided and it is set through boot variables, boot=net, ramfs, ubi. UBI is booting kernel from NAND which has a combined kernel and filesystem ubi imaged burnt to it. Ramfs is to boot with the kernel downloaded from tftp server, but file system on the RAM. Boot=net is booting images downloaded from network, and filesystem on NFS server.

    The RAM size has nothing to do with lpae=1. K2E needs to access memory using LPAE. The kernel will take up space of whatever the code occupies (text, stack, dss, etc) and + 128MB for internal mapping. It should be roughly 512MB +/-. You really need to see how big it takes and configure it accordingly. These are not TI or K2E specific, but generic Linux topics which you should be able to find more info from open source or linux forum.

    Rex
  • Hi, Rex!

    Our board uses ethernet transceivers with PHY addresses 1 and 2 (addresses 0 and 1 are used on the EVM board). Are there enough changes in keystone-k2e-evm.dts:

    &mdio {

    status = "ok";

    ethphy0: ethernet-phy@0 {

    compatible = "marvell,88E1514", "marvell,88E1510", "ethernet-phy-ieee802.3-c22";

    reg = <0>;  reg = <1>;

    };

    ethphy1: ethernet-phy@1 {
    compatible = "marvell,88E1514", "marvell,88E1510", "ethernet-phy-ieee802.3-c22";
    reg = <1>; reg = <2>;
    };

    };

    Or it is necessary to make changes still somewhere?

  • Hi, Eduard,

    The reg is the PHY address, and it is correct.

    Rex
  • Hi Rex,

    we've advanced significantly with the board debug. The problem we are facing now is low 10G Ethernet bit speed. The best value we’ve got up to date is 1,6 Gbit/sec. We suspect it to be signal integrity problem. Are there any ways to read BER from the SoC side or from the SFP module side? Can you suggest any other ways to find the problem?

  • Hi, Dmitry,

    For the 10GbE issue, could you open a new thread for it? and post the link here so we move to the new thread and close this one.

    Thanks!

    Rex
  • Hi Rex, my colleague has opened the new thread, here is the link:

  • Dmitry,

    Thanks. I replied in that thread and let's move 10GbE issue to that thread, and I'll close this one.

    Rex