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/TDA2EX17EVM: TDA2X ethernet not working

Part Number: TDA2EX17EVM

Tool/software: Linux

Hi.

I'm testing TDA2EX17 EVM Board.

After compile VISION_SDK through user guide, I cound see the console output.

But, my board's ethernet is not working. In u-boot, network ping also failed.

I didn't change anything from vision_sdk sw. VISION SDK version is 03_03 and compiled with MAKECONFIG=tda2ex_17x17_evm_linux_all.

What's the problem?

Thanks in advance.

Here's my boot log.

U-Boot 2016.05-00009-gac1d50f-dirty (Sep 04 2018 - 16:24:30 +0900)

CPU : DRA722-GP ES2.1
Model: TI DRA71 EVM
Board: DRA71x EVM REV A.4
DRAM: 2 GiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
** First descriptor is NOT a primary desc on 1:1 **
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
part_get_info_efi: *** ERROR: Invalid GPT ***
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
part_get_info_efi: *** ERROR: Invalid Backup GPT ***
ERROR: cannot find partition: 'userdata'

at arch/arm/cpu/armv7/omap-common/utils.c:199/mmc_get_part_size()
Warning: fastboot.userdata_size: unable to calc
SCSI: SATA link 0 timeout.
AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
flags: 64bit ncq stag pm led clo only pmp pio slum part ccc apst
scanning bus for devices...
Found 0 device(s).
Net: Could not get PHY for ethernet@48484000: addr 2
eth0: ethernet@48484000
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
reading boot.scr
** Unable to read file boot.scr **
reading uEnv.txt
166 bytes read in 2 ms (81.1 KiB/s)
Loaded env from uEnv.txt
Importing environment from mmc0 ...
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
3553832 bytes read in 111 ms (30.5 MiB/s)
101306 bytes read in 22 ms (4.4 MiB/s)
Booting from mmc0 ...
Kernel image @ 0x82000000 [ 0x000000 - 0x363a28 ]
## Flattened Device Tree blob at 88000000
Booting using the fdt blob at 0x88000000
Loading Device Tree to 8ffe4000, end 8ffffbb9 ... OK

Starting 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.84-00018-gc66ba60 (root@nexreal.com) (gcc version 5.3.1 20160113 (Linaro GCC 5.3-2016.02) ) #1 SMP PREEMPT Mon Jul 9 15:45:16 KST 2018
[ 0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=30c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[ 0.000000] Machine model: TI DRA718 EVM
[ 0.000000] Reserved memory: created DMA memory pool at 0x0000000040300000, size 3 MiB
[ 0.000000] Reserved memory: initialized node cmem@40300000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: regions without no-map are not yet supported
[ 0.000000] Reserved memory: created CMA memory pool at 0x0000000099000000, size 80 MiB
[ 0.000000] Reserved memory: initialized node ipu2_cma@95800000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created CMA memory pool at 0x000000009e000000, size 32 MiB
[ 0.000000] Reserved memory: initialized node ipu1_cma@9d000000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: regions without no-map are not yet supported
[ 0.000000] Reserved memory: created CMA memory pool at 0x00000000a1000000, size 32 MiB
[ 0.000000] Reserved memory: initialized node dsp1_cma@99000000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a9000000, size 64 MiB
[ 0.000000] Reserved memory: initialized node cmem@A9000000, compatible id shared-dma-pool
[ 0.000000] cma: Reserved 24 MiB at 0x00000000be400000
[ 0.000000] Forcing write-allocate cache policy for SMP
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] OMAP4: Map 0x00000000bfd00000 to fe600000 for dram barrier
[ 0.000000] DRA722 ES2.1
[ 0.000000] PERCPU: Embedded 11 pages/cpu @ef649000 s14912 r8192 d21952 u45056
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 243264
[ 0.000000] Kernel command line: console=ttyO0,115200n8 vram=16M root=PARTUUID=b9441ee0-02 rw rootwait ip=none mem=1024M
[ 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: 509268K/979968K available (6623K kernel code, 319K rwdata, 2388K rodata, 336K init, 290K bss, 298668K reserved, 172032K cma-reserved, 234496K 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 - 0xc08d502c (9013 kB)
[ 0.000000] .init : 0xc08d6000 - 0xc092a000 ( 336 kB)
[ 0.000000] .data : 0xc092a000 - 0xc0979f60 ( 320 kB)
[ 0.000000] .bss : 0xc097b000 - 0xc09c3800 ( 290 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, 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=2 to nr_cpu_ids=1.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=1
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] ti_dt_clocks_register: failed to lookup clock node gmac_gmii_ref_clk_div
[ 0.000000] OMAP clockevent source: timer1 at 32786 Hz
[ 0.000000] Architected cp15 timer(s) running at 6.14MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x16af5adb9, max_idle_ns: 440795202250 ns
[ 0.000005] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4398046511023ns
[ 0.000015] Switching to timer-based delay loop, resolution 162ns
[ 0.000321] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
[ 0.000328] OMAP clocksource: 32k_counter at 32768 Hz
[ 0.000753] Console: colour dummy device 80x30
[ 0.000769] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
[ 0.000775] This ensures that you still see kernel messages. Please
[ 0.000780] update your kernel commandline.
[ 0.000793] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
[ 0.000805] pid_max: default: 32768 minimum: 301
[ 0.000906] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000916] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.001450] Initializing cgroup subsys io
[ 0.001466] Initializing cgroup subsys memory
[ 0.001492] Initializing cgroup subsys devices
[ 0.001504] Initializing cgroup subsys freezer
[ 0.001516] Initializing cgroup subsys perf_event
[ 0.001527] Initializing cgroup subsys pids
[ 0.001554] CPU: Testing write buffer coherency: ok
[ 0.001757] /cpus/cpu@0 missing clock-frequency property
[ 0.001769] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.001802] Setting up static identity map for 0x80008380 - 0x800083e0
[ 0.050022] Brought up 1 CPUs
[ 0.050032] SMP: Total of 1 processors activated (12.29 BogoMIPS).
[ 0.050039] CPU: All CPU(s) started in HYP mode.
[ 0.050045] CPU: Virtualization extensions available.
[ 0.050357] devtmpfs: initialized
[ 0.080058] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
[ 0.081056] omap_hwmod: l3_main_2 using broken dt data from ocp
[ 0.261818] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.261842] futex hash table entries: 256 (order: 2, 16384 bytes)
[ 0.273666] pinctrl core: initialized pinctrl subsystem
[ 0.274565] NET: Registered protocol family 16
[ 0.275557] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.300179] cpuidle: using governor ladder
[ 0.330204] cpuidle: using governor menu
[ 0.338929] OMAP GPIO hardware version 0.1
[ 0.345400] irq: no irq domain found for /ocp/l4@4a000000/scm@2000/pinmux@1400 !
[ 0.367138] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.367149] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.367645] omap4_sram_init:Unable to allocate sram needed to handle errata I688
[ 0.367654] omap4_sram_init:Unable to get sram pool needed to handle errata I688
[ 0.368244] OMAP DMA hardware revision 0.0
[ 0.451019] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported)
[ 0.452178] edma 43300000.edma: memcpy is disabled
[ 0.456989] edma 43300000.edma: TI EDMA DMA engine driver
[ 0.461641] omap-iommu 40d01000.mmu: 40d01000.mmu registered
[ 0.461821] omap-iommu 40d02000.mmu: 40d02000.mmu registered
[ 0.461988] omap-iommu 58882000.mmu: 58882000.mmu registered
[ 0.462153] omap-iommu 55082000.mmu: 55082000.mmu registered
[ 0.481362] pcf857x 0-0020: probed
[ 0.481960] pcf857x 0-0021: probed
[ 0.482335] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
[ 0.482778] omap_i2c 48060000.i2c: bus 2 rev0.12 at 400 kHz
[ 0.482950] media: Linux media interface: v0.10
[ 0.483002] Linux video capture interface: v2.00
[ 0.483043] pps_core: LinuxPPS API ver. 1 registered
[ 0.483050] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.483079] PTP clock support registered
[ 0.483129] EDAC MC: Ver: 3.0.0
[ 0.491463] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
[ 0.491660] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
[ 0.491985] Advanced Linux Sound Architecture Driver Initialized.
[ 0.492830] clocksource: Switched to clocksource arch_sys_counter
[ 0.502920] NET: Registered protocol family 2
[ 0.503414] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.503478] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.503602] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.503653] UDP hash table entries: 512 (order: 2, 16384 bytes)
[ 0.503685] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[ 0.503896] NET: Registered protocol family 1
[ 0.514188] RPC: Registered named UNIX socket transport module.
[ 0.514197] RPC: Registered udp transport module.
[ 0.514203] RPC: Registered tcp transport module.
[ 0.514209] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.515187] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
[ 0.535180] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.545853] NFS: Registering the id_resolver key type
[ 0.545886] Key type id_resolver registered
[ 0.545894] Key type id_legacy registered
[ 0.545948] ntfs: driver 2.1.32 [Flags: R/O].
[ 0.547482] bounce: pool size: 64 pages
[ 0.547636] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[ 0.547652] io scheduler noop registered
[ 0.547663] io scheduler deadline registered
[ 0.547697] io scheduler cfq registered (default)
[ 0.551722] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128
[ 0.551840] pinctrl-single 4a002e8c.pinmux: 1 pins at pa fc002e8c size 4
[ 0.555012] PCI host bridge /ocp/axi@0/pcie_rc@51000000 ranges:
[ 0.555026] No bus range found for /ocp/axi@0/pcie_rc@51000000, using [bus 00-ff]
[ 0.555059] IO 0x20003000..0x20012fff -> 0x00000000
[ 0.555080] MEM 0x20013000..0x2fffffff -> 0x20013000
[ 0.584509] dra7-pcie 51000000.pcie_rc: link is not up
[ 0.584681] dra7-pcie 51000000.pcie_rc: PCI host bridge to bus 0000:00
[ 0.584694] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 0.584704] pci_bus 0000:00: root bus resource [io 0x0000-0xffff]
[ 0.584714] pci_bus 0000:00: root bus resource [mem 0x20013000-0x2fffffff]
[ 0.585115] PCI: bus0: Fast back to back transfers disabled
[ 0.585231] PCI: bus1: Fast back to back transfers enabled
[ 0.585320] pci 0000:00:00.0: BAR 0: assigned [mem 0x20100000-0x201fffff]
[ 0.585336] pci 0000:00:00.0: BAR 1: assigned [mem 0x20020000-0x2002ffff]
[ 0.585348] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 0.585568] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt
[ 0.641654] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
[ 0.645052] 4806a000.serial: ttyS0 at MMIO 0x4806a000 (irq = 301, base_baud = 3000000) is a 8250
[ 1.605480] console [ttyS0] enabled
[ 1.609879] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 302, base_baud = 3000000) is a 8250
[ 1.619865] [drm] Initialized drm 1.1.0 20060810
[ 1.625511] omapdss_dss 58000000.dss: master bind failed: -517
[ 1.719052] loop: module loaded
[ 1.729566] vmemexp device MAJOR num = 246
[ 1.733724] vmemexp class registered
[ 1.737436] /dev/vmemexp device registered
[ 1.741549] ioctl DBUFIOC_EXPORT_VIRTMEM = -1072899120
[ 1.749255] m25p80 spi32766.0: s25fl256s1 (32768 Kbytes)
[ 1.754693] 7 ofpart partitions found on MTD device spi32766.0
[ 1.760550] Creating 7 MTD partitions on "spi32766.0":
[ 1.765726] 0x000000000000-0x000000040000 : "QSPI.SPL"
[ 1.781820] 0x000000040000-0x000000140000 : "QSPI.u-boot"
[ 1.798182] 0x000000140000-0x0000001c0000 : "QSPI.u-boot-spl-os"
[ 1.815126] 0x0000001c0000-0x0000001d0000 : "QSPI.u-boot-env"
[ 1.831798] 0x0000001d0000-0x0000001e0000 : "QSPI.u-boot-env.backup1"
[ 1.849202] 0x0000001e0000-0x0000009e0000 : "QSPI.kernel"
[ 1.865554] 0x0000009e0000-0x000002000000 : "QSPI.file-system"
[ 1.883339] libphy: Fixed MDIO Bus: probed
[ 1.889282] cpsw 48484000.ethernet: gpio request failed, ret -517
[ 1.896489] mousedev: PS/2 mouse device common for all mice
[ 1.912742] i2c /dev entries driver
[ 1.921445] omap_hsmmc 4809c000.mmc: Got CD GPIO
[ 1.927078] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr25 mode
[ 1.933511] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr12 mode
[ 1.940073] vsys_3v3: supplied by evm_12v0
[ 1.944273] evm_3v3: supplied by vsys_3v3
[ 1.983306] omap_hsmmc 480d1000.mmc: no pinctrl state for sdr25 mode
[ 1.990748] omap_hsmmc 480d1000.mmc: no pinctrl state for sdr12 mode
[ 1.999181] omap_hsmmc 480d1000.mmc: no pinctrl state for hs mode
[ 2.036838] mmc0: MAN_BKOPS_EN bit is not set
[ 2.043586] ledtrig-cpu: registered to indicate activity on CPUs
[ 2.052508] mmc0: new HS200 MMC card at address 0001
[ 2.058855] aic_dvdd: supplied by evm_3v3
[ 2.065932] NET: Registered protocol family 10
[ 2.071096] sit: IPv6 over IPv4 tunneling driver
[ 2.076490] NET: Registered protocol family 17
[ 2.081179] Key type dns_resolver registered
[ 2.085545] mmcblk0: mmc0:0001 MMC08G 7.25 GiB
[ 2.090333] omap_voltage_late_init: Voltage driver support not added
[ 2.097302] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm
[ 2.103673] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm
[ 2.109901] cpu0 supply vdd not found, using dummy regulator
[ 2.115630] mmcblk0boot0: mmc0:0001 MMC08G partition 1 8.00 MiB
[ 2.121953] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm
[ 2.128207] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm
[ 2.134594] cpu0 supply vdd not found, using dummy regulator
[ 2.140511] mmcblk0boot1: mmc0:0001 MMC08G partition 2 8.00 MiB
[ 2.148979] Power Management for TI OMAP4+ devices.
[ 2.157235] Registering SWP/SWPB emulation handler
[ 2.163750] dmm 4e000000.dmm: workaround for errata i878 in use
[ 2.172230] dmm 4e000000.dmm: initialized all PAT entries
[ 2.188927] evm_5v0: supplied by evm_12v0
[ 2.193054] lp8733-ldo1: supplied by evm_5v0
[ 2.198824] lp8732-ldo0: supplied by vsys_3v3
[ 2.203736] OMAP DSS rev 6.1
[ 2.207458] omapdss_dss 58000000.dss: bound 58001000.dispc (ops dispc_component_ops)
[ 2.215806] cpsw 48484000.ethernet: gpio request failed, ret -517
[ 2.222526] omap_hsmmc 4809c000.mmc: Got CD GPIO
[ 2.227556] evm_3v3_sd: supplied by evm_3v3
[ 2.264873] asoc-simple-card sound@0: tlv320aic3x-hifi <-> 48468000.mcasp mapping ok
[ 2.295933] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 2.302579] [drm] No driver support for vblank timestamp query.
[ 2.321173] [drm] Initialized omapdrm 1.0.0 20110917 on minor 0
[ 2.327747] cpsw 48484000.ethernet: gpio request failed, ret -517
[ 2.334547] hctosys: unable to open rtc device (rtc0)
[ 2.355190] aic_dvdd: disabling
[ 2.358353] vmmcwl_fixed: disabling
[ 2.362035] lp8733-ldo0: disabling
[ 2.365987] ALSA device list:
[ 2.368967] #0: DRA7xx-EVM
[ 2.372808] Waiting for root device PARTUUID=b9441ee0-02...
[ 2.542114] mmc2: host does not support reading read-only switch, assuming write-enable
[ 2.556008] mmc2: new ultra high speed DDR50 SDHC card at address e624
[ 2.573064] mmcblk1: mmc2:e624 SB16G 14.8 GiB
[ 2.582590] mmcblk1: p1 p2
[ 2.586529] cpsw 48484000.ethernet: gpio request failed, ret -517
[ 2.596423] EXT4-fs (mmcblk1p2): couldn't mount as ext3 due to feature incompatibilities
[ 2.607843] EXT4-fs (mmcblk1p2): couldn't mount as ext2 due to feature incompatibilities
[ 2.641284] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
[ 2.649750] VFS: Mounted root (ext4 filesystem) on device 179:50.
[ 2.660796] devtmpfs: mounted
[ 2.664086] Freeing unused kernel memory: 336K
[ 2.668547] This architecture does not have kernel memory protection.
[ 2.818977] systemd[1]: System time before build time, advancing clock.
[ 2.854584] random: systemd: uninitialized urandom read (16 bytes read, 11 bits of entropy available)
[ 2.870560] random: systemd: uninitialized urandom read (16 bytes read, 11 bits of entropy available)
[ 2.882272] systemd[1]: systemd 229 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT +GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN)
[ 2.900864] systemd[1]: Detected architecture arm.

Welcome to Arago 2016.12!

[ 2.936848] systemd[1]: Set hostname to <dra7xx-evm>.
[ 2.986033] random: systemd-gpt-aut: uninitialized urandom read (16 bytes read, 12 bits of entropy available)
[ 2.997557] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 12 bits of entropy available)
[ 3.011012] random: systemd-gpt-aut: uninitialized urandom read (16 bytes read, 12 bits of entropy available)
[ 3.034802] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 13 bits of entropy available)
[ 3.047874] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 14 bits of entropy available)
[ 3.115437] random: systemd: uninitialized urandom read (16 bytes read, 17 bits of entropy available)
[ 3.125145] random: systemd: uninitialized urandom read (16 bytes read, 17 bits of entropy available)
[ 3.135294] random: systemd: uninitialized urandom read (16 bytes read, 17 bits of entropy available)
[ 3.486561] systemd[1]: sysinit.target: Found ordering cycle on sysinit.target/start
[ 3.494466] systemd[1]: sysinit.target: Found dependency on alignment.service/start
[ 3.502165] systemd[1]: sysinit.target: Found dependency on basic.target/start
[ 3.509490] systemd[1]: sysinit.target: Found dependency on sockets.target/start
[ 3.516937] systemd[1]: sysinit.target: Found dependency on avahi-daemon.socket/start
[ 3.524821] systemd[1]: sysinit.target: Found dependency on sysinit.target/start
[ 3.532254] systemd[1]: sysinit.target: Breaking ordering cycle by deleting job alignment.service/start
[ 3.541708] systemd[1]: alignment.service: Job alignment.service/start deleted to break ordering cycle starting with sysinit.target/start
[ SKIP ] Ordering cycle found, skipping alignment.service
[ 3.576006] systemd[1]: Listening on udev Kernel Socket.
[ OK ] Listening on udev Kernel Socket.
[ 3.603232] systemd[1]: Listening on Syslog Socket.
[ OK ] Listening on Syslog Socket.
[ 3.643710] systemd[1]: Reached target Remote File Systems.
[ OK ] Reached target Remote File Systems.
[ 3.673231] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[ OK ] Listening on /dev/initctl Compatibility Named Pipe.
[ 3.703344] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ OK ] Started Forward Password Requests to Wall Directory Watch.
[ 3.733259] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[ OK ] Started Dispatch Password Requests to Console Directory Watch.
[ 3.763063] systemd[1]: Reached target Paths.
[ OK ] Reached target Paths.
[ 3.783178] systemd[1]: Listening on udev Control Socket.
[ OK ] Listening on udev Control Socket.
[ 3.813146] systemd[1]: Listening on Journal Socket (/dev/log).
[ OK ] Listening on Journal Socket (/dev/log).
[ 3.844531] systemd[1]: Created slice System Slice.
[ OK ] Created slice System Slice.
[ 3.873852] systemd[1]: Created slice system-getty.slice.
[ OK ] Created slice system-getty.slice.
[ 3.903802] systemd[1]: Created slice system-serial\x2dgetty.slice.
[ OK ] Created slice system-serial\x2dgetty.slice.
[ 3.933222] systemd[1]: Listening on Journal Socket.
[ OK ] Listening on Journal Socket.
[ 3.965407] systemd[1]: Starting Journal Service...
Starting Journal Service...
[ 3.995770] systemd[1]: Mounting Debug File System...
Mounting Debug File System...
[ 4.024481] systemd[1]: Mounting POSIX Message Queue File System...
Mounting POSIX Message Queue File System...
[ 4.075991] systemd[1]: Starting Create list of required static device nodes for the current kernel...
Starting Create list of required st... nodes for the current kernel...
[ 4.151501] systemd[1]: Starting Load Kernel Modules...
Starting Load Kernel Modules...
[ 4.189429] systemd[1]: Mounting Temporary Directory...
Mounting Temporary Directory...
[ 4.225650] systemd[1]: Starting Remount Root and Kernel File Systems...
Starting Remount Root and Kernel File Systems...
[ 4.262558] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
[ 4.271509] systemd[1]: Starting Setup Virtual Console...
Starting Setup Virtual Console...
[ 4.313417] systemd[1]: Listening on Network Service Netlink Socket.
[ OK ] Listening on Network Service Netlink Socket.
[ 4.343858] systemd[1]: Created slice User and Session Slice.
[ OK ] Created slice User and Session Slice.
[ 4.373108] systemd[1]: Reached target Slices.
[ OK ] Reached target Slices.
[ 4.393086] systemd[1]: Reached target Swap.
[ OK ] Reached target Swap.
[ 4.423746] systemd[1]: Mounted Debug File System.
[ OK ] Mounted Debug File System.
[ 4.453215] systemd[1]: Mounted POSIX Message Queue File System.
[ OK ] Mounted POSIX Message Queue File System.
[ 4.483136] systemd[1]: Mounted Temporary Directory.
[ OK ] Mounted Temporary Directory.
[ 4.513404] systemd[1]: Started Journal Service.
[ OK ] Started Journal Service.
[ OK ] Started Create list of required sta...ce nodes for the current kernel.
[FAILED] Failed to start Load Kernel Modules.
See 'systemctl status systemd-modules-load.service' for details.
[ OK ] Started Remount Root and Kernel File Systems.
[ OK ] Started Setup Virtual Console.
Starting udev Coldplug all Devices...
Starting Apply Kernel Variables...
Starting Create Static Device Nodes in /dev...
Starting Flush Journal to Persistent Storage...
[ OK ] Started Apply Kernel Variables.
[ OK ] Started Create Static Device Nodes in /dev.
[ 5.390925] systemd-journald[104]: Received request to flush runtime journal from PID 1
[ OK ] Started Flush Journal to Persistent Storage.
Starting udev Kernel Device Manager...
[ OK ] Reached target Local File Systems (Pre).
Mounting /media/ram...
Mounting /var/volatile...
[ OK ] Mounted /media/ram.
[ OK ] Mounted /var/volatile.
[ OK ] Started udev Kernel Device Manager.
Starting Load/Save Random Seed...
[ OK ] Reached target Local File Systems.
Starting Create Volatile Files and Directories...
[ OK ] Started Load/Save Random Seed.
[ OK ] Started Create Volatile Files and Directories.
[ 6.345235] omap-rproc 55020000.ipu: assigned reserved memory node ipu2_cma@95800000
[ 6.449573] remoteproc0: 55020000.ipu is available
[ 6.467110] remoteproc0: Note: remoteproc is still under development and considered experimental.
[ 6.529395] remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[ 6.645185] cpsw 48484000.ethernet: gpio request failed, ret -517
[ 6.653057] omap-rproc 40800000.dsp: assigned reserved memory node dsp1_cma@99000000
[ OK ] Started udev Coldplug all Devices.
[ 6.753263] remoteproc1: 40800000.dsp is available
[ 6.812293] remoteproc1: Note: remoteproc is still under development and considered experimental.
[ 6.886121] remoteproc0: registered virtio0 (type 7)
[ 6.954079] remoteproc1: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[ 7.042028] omap-des 480a5000.des: OMAP DES hw accel rev: 2.2
[ 7.047983] cpsw 48484000.ethernet: gpio request failed, ret -517
Starting Network Time Synchronization...
Starting Update UTMP about System Boot/Shutdown...
[ 7.138071] omap_rng 48090000.rng: OMAP Random Number Generator ver. 20
[ 7.145682] cpsw 48484000.ethernet: gpio request failed, ret -517
[ 7.225570] cpsw 48484000.ethernet: gpio request failed, ret -517
[ 7.261053] remoteproc1: registered virtio1 (type 7)
[ OK ] Found device /dev/ttyS0.
[ OK ] Started Network Time Synchronization.
[ OK ] Started Update UTMP about System Boot/Shutdown.
[ 8.092136] CAN device driver interface
[ 8.170420] c_can_platform 4ae3c000.can: c_can_platform device registered (regs=fce3c000, irq=348)
Starting Synchronize System and HW clocks...
[ OK ] Reached target System Time Synchronized.
[ 8.284050] omap-sham 4b101000.sham: hw accel on OMAP rev 4.3
[ 8.289964] cpsw 48484000.ethernet: gpio request failed, ret -517
[FAILED] Failed to start Synchronize System and HW clocks.
See 'systemctl status sync-clocks.service' for details.
[ 8.403353] omap-aes 4b500000.aes: OMAP AES hw accel rev: 3.3
[ 8.409348] cpsw 48484000.ethernet: gpio request failed, ret -517
[ 8.485118] omap-aes 4b700000.aes: OMAP AES hw accel rev: 3.3
[ 8.491569] cpsw 48484000.ethernet: gpio request failed, ret -517
[ 8.526851] FAT-fs (mmcblk1p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 8.583963] cpsw 48484000.ethernet: gpio request failed, ret -517
[ 8.853538] [drm] Initialized pvr 1.14.3699939 20110701 on minor 1
[ 8.861116] cpsw 48484000.ethernet: gpio request failed, ret -517
[ 8.959671] cpsw 48484000.ethernet: gpio request failed, ret -517
[ OK ] Reached target System Initialization.
[ OK ] Listening on D-Bus System Message Bus Socket.
[ OK ] Listening on RPCbind Server Activation Socket.
[ OK ] Listening on dropbear.socket.
[ OK ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[ OK ] Reached target Sockets.
[ OK ] Reached target Basic System.
Starting Avahi mDNS/DNS-SD Stack...
Starting Print notice about GPLv3 packages...
Starting Telephony service...
Starting TI MultiCore Tools Daemon...
[ OK ] Started Kernel Logging Service.
Starting Save/Restore Sound Card State...
[ OK ] Started strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf.
Starting Permit User Sessions...
Starting uim-sysfs.service...
Starting Login Service...
[ OK ] Started Daily Cleanup of Temporary Directories.
[ OK ] Reached target Timers.
[ OK ] Started System Logging Service.
[ OK ] Started D-Bus System Message Bus.
[ 10.312097] NET: Registered protocol family 15
[ OK ] Started Avahi mDNS/DNS-SD Stack.
[ OK ] Started Telephony service.
Starting Network Service...
[FAILED] Failed to start TI MultiCore Tools Daemon.
See 'systemctl status ti-mct-daemon.service' for details.
[ OK ] Started Save/Restore Sound Card State.
[ OK ] Started Permit User Sessions.
[ 10.532202] Bluetooth: Core ver 2.21
[ 10.587940] NET: Registered protocol family 31
[ 10.592411] Bluetooth: HCI device and connection manager initialized
[ OK ] Started Network Service.
[ 10.704104] Bluetooth: HCI socket layer initialized
[ 10.751390] Bluetooth: L2CAP socket layer initialized
[ 10.808746] Bluetooth: SCO socket layer initialized
[ 11.018380] Initializing XFRM netlink socket
[ 11.206196] random: nonblocking pool is initialized
[ 12.100904] remoteproc0: powering up 55020000.ipu
[ 12.264074] remoteproc0: Booting fw image dra7-ipu2-fw.xem4, size 7356812
[ 12.271074] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1
[ 12.562811] remoteproc0: remote processor 55020000.ipu is now up
[ 12.646099] virtio_rpmsg_bus virtio0: rpmsg host is online
[ 12.652263] cpsw 48484000.ethernet: gpio request failed, ret -517
[ 12.694587] remoteproc1: powering up 40800000.dsp
[ 12.882578] remoteproc1: Booting fw image dra7-dsp1-fw.xe66, size 6862836
[ 12.923768] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
[ 12.929668] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0
[ 12.935647] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0
[ 13.198215] remoteproc1: remote processor 40800000.dsp is now up
[ 13.205454] virtio_rpmsg_bus virtio0: creating channel rpmsg-proto addr 0x50
[ 13.254308] virtio_rpmsg_bus virtio1: rpmsg host is online
[ 13.260452] cpsw 48484000.ethernet: gpio request failed, ret -517
[ 13.268902] virtio_rpmsg_bus virtio1: creating channel rpmsg-proto addr 0x50
[ 13.355307] NET: Registered protocol family 41
[ 13.360436] cpsw 48484000.ethernet: gpio request failed, ret -517
[ 13.393103] cpsw 48484000.ethernet: gpio request failed, ret -517
[ 13.461665] cpsw 48484000.ethernet: gpio request failed, ret -517
[ 14.435727] cpsw 48484000.ethernet: gpio request failed, ret -517
***************************************************************
***************************************************************
NOTICE: This file system contains the following GPLv3 packages:
autoconf
binutils-dev
binutils
bison-dev
bison
cpp-symlinks
cpp
dosfstools
g++-symlinks
g++
gawk-dev
gawk
gcc-symlinks
gcc
gdb
gdbc6x
gdbserver
gstreamer1.0-libav
libcairo-perf-utils
libgmp10
libidn11
libmpc3
libmpfr4
m4-dev
m4
make
nettle
parted
swig-dev
swig

[ 14.581011] usbcore: registered new interface driver usbfs
f Iyou do not wish to distribute GPLv3 components please remove
he above packages prior to distribution. This can be done using
the opkg remove command. i.e.:
opkg remove <package>
Where <package> is the name printed in the list above

NOTE: If the package is a dependency of another package you
will be notified of the dependent packages. You should
use the --force-removal-of-dependent-packages option to
also remove the dependent packages as well
***************************************************************
***************************************************************
[ 14.684042] usbcore: registered new interface driver hub
[ 14.706358] usbcore: registered new device driver usb
[ OK ] Started Print notice about GPLv3 packages.
[ 14.754023] dwc3 48890000.usb: otg: primary host xhci-hcd.4.auto registered
[ 14.761028] dwc3 48890000.usb: otg: shared host xhci-hcd.4.auto registered
[ 14.816531] dwc3 48890000.usb: otg: can't start till gadget registers
[ 14.841510] cpsw 48484000.ethernet: gpio request failed, ret -517
[ 14.847828] xhci-hcd xhci-hcd.5.auto: xHCI Host Controller
[ 14.875104] xhci-hcd xhci-hcd.5.auto: new USB bus registered, assigned bus number 1
[ 14.905858] xhci-hcd xhci-hcd.5.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x00210010
[ 14.956304] xhci-hcd xhci-hcd.5.auto: irq 487, io mem 0x488d0000
[ 14.979777] hub 1-0:1.0: USB hub found
[ 15.005350] hub 1-0:1.0: 1 port detected
[ 15.015343] cpsw 48484000.ethernet: gpio request failed, ret -517
[ 15.021775] xhci-hcd xhci-hcd.5.auto: xHCI Host Controller
[ 15.053754] cpsw 48484000.ethernet: gpio request failed, ret -517
[ 15.061977] xhci-hcd xhci-hcd.5.auto: new USB bus registered, assigned bus number 2
[ 15.087616] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[ 15.134860] hub 2-0:1.0: USB hub found
[ 15.152893] hub 2-0:1.0: 1 port detected
[ 15.167574] cpsw 48484000.ethernet: gpio request failed, ret -517
[ 15.204071] cpsw 48484000.ethernet: gpio request failed, ret -517
[ OK ] Started Login Service.
[ OK ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
[ OK ] Reached target Sound Card.
[ OK ] Reached target Network.
Starting Lightning Fast Webserver With Light System Requirements...
Starting Network Name Resolution...
[ OK ] Started Getty on tty1.
[ OK ] Started Serial Getty on ttyS0.
[ OK ] Started Lightning Fast Webserver With Light System Requirements.
[ OK ] Started Network Name Resolution.
[ OK ] Started uim-sysfs.service.
Starting rc.pvr.service...
[ 16.235734] PVR_K: UM DDK-(3699939) and KM DDK-(3699939) match. [ OK ]
[ OK ] Started rc.pvr.service.
Starting weston.service...
[ OK ] Started weston.service.
Starting telnetd.service...
Starting tiipclad-daemon.service...
[ OK ] Started telnetd.service.
[ OK ] Started tiipclad-daemon.service.
Starting thttpd.service...
[ OK ] Started thttpd.service.
Starting rng-tools.service...
[ OK ] Started rng-tools.service.
Starting gdbserverproxy.service...
[ OK ] Started gdbserverproxy.service.
Starting matrix-gui-2.0.service...
[ OK ] Started matrix-gui-2.0.service.
Starting thermal-zone-init.service...
[ OK ] Started thermal-zone-init.service.

_____ _____ _ _
| _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_
| | _| .'| . | . | | __| _| . | | | -_| _| _|
|__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_|
|___| |___|

Arago Project http://arago-project.org dra7xx-evm ttyS0

Arago 2016.12 dra7xx-evm ttyS0

dra7xx-evm login:

  • After further debugging, I found the reason.

    In dts file, i2c5 is disabled. So in cpsw driver, gpio request failed.

    /* modules used by BIOS, disable from Linux */
    DISABLE_COMPLETE(vip1);
    DISABLE_COMPLETE(cal);
    DISABLE_COMPLETE(i2c5);
    DISABLE_COMPLETE(wdt2);
    DISABLE_COMPLETE(vpe);
    DISABLE_COMPLETE(ocmcram1);
    DISABLE_COMPLETE(hdmi);
    DISABLE_COMPLETE(hdmi0);

    I commented out i2c5 related line in dts file, and ethernet works.

    But, ethernet link isn't stable. Link repeats up and down.

    1. Can I comment out "DISABLE_COMPLETE(i2c5)"? If bios uses i2c5, i think there can be any side-effect. I wanna know what bios does with i2c5.

    2. Why is link unstable? Does BIOS do something on network?
  • Hi,

    The failure is clearly because of the probe deferral of the CPSW driver. (return value = -517)
    The root cause is that the GPIO line being requested is not available.
    - It can be that the GPIO instance is not probed, make sure that you are not disabling that GPIO instance
    - If there is a GPIO hog entry in the GPIO instance, the gpio_get request will be denied

    Most likely, one of the above is root cause. If it's disabled, enable the instance. If the hog entry is present, remove the hog entry.

    Regards,
    Nikhil D