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.

DP83867IR: Auto negotiation getting TIMEOUT : DP83867

Part Number: DP83867IR

Hi,

I am trying to bring up ethernet on custom carrier board with DP83867IRRGZ on board for GEM1.

I was able to bring up the ethernet on one board with some configurations

Now the same PHY addr (0x0), same device tree config, basically the same linux image when i try to boot on another board, auto-negotiation is getting TIMEOUT & not being completed as seen from status register.

The PHY addr on another board is also the same i.e 0x0, 

The PHY is being detected on the board at uboot:

PHY 0x05: OUI = 0x80028, Model = 0x23, Rev = 0x01,  10baseT, HDX

Also here is the register dump from u-boot

ZynqMP> mdio list
eth0:
5 - TI DP83867 <--> ethernet@ff0c0000
ZynqMP>
ZynqMP> mii read 0x5 0-1f
addr=05 reg=00 data=1140
addr=05 reg=01 data=7949
addr=05 reg=02 data=2000
addr=05 reg=03 data=A231
addr=05 reg=04 data=01E1
addr=05 reg=05 data=0000
addr=05 reg=06 data=0064
addr=05 reg=07 data=2001
addr=05 reg=08 data=0000
addr=05 reg=09 data=0300
addr=05 reg=0a data=0000
addr=05 reg=0b data=0000
addr=05 reg=0c data=0000
addr=05 reg=0d data=401F
addr=05 reg=0e data=00A8
addr=05 reg=0f data=3000
addr=05 reg=10 data=4040
addr=05 reg=11 data=0002
addr=05 reg=12 data=0000
addr=05 reg=13 data=0040
addr=05 reg=14 data=29C7
addr=05 reg=15 data=0000
addr=05 reg=16 data=0000
addr=05 reg=17 data=0040
addr=05 reg=18 data=6150
addr=05 reg=19 data=4444
addr=05 reg=1a data=0002
addr=05 reg=1b data=0000
addr=05 reg=1c data=0000
addr=05 reg=1d data=0000
addr=05 reg=1e data=0002
addr=05 reg=1f data=0000

My device tree:

&gem1 {
        phy-handle = <&phy1>;
        local-mac-address = [00 01 02 03 04 05];
        xlnx,ptp-enet-clock = <0x0>;
        phy-mode = "rgmii-id";
        status = "okay";
        //clock-frequency = <2500000>;
        mdio {
                #address-cells = <1>;
                #size-cells = <0>;
                status = "okay";
                phy1:phy@0{
                        status = "okay";
                        device_type = "ethernet-phy";
                        compatible = "ethernet-phy-id2000.a231";
                        reg = <0>;
                        ti,rx-internal-delay = <0x8>;
                        ti,tx-internal-delay = <0xa>;
                        ti,fifo-depth = <0x1>;
                        //ti,max-output-impedance;
                        //ti,dp83867-rxctrl-strap-quirk;
                        };
        };
};

I have also attached the complete bootup logs. 

Bootup.log
Xilinx Zynq MP First Stage Boot Loader 
Release 2018.1   Feb 22 2024  -  18:04:18
NOTICE:  ATF running on XCZU4EG/silicon v4/RTL5.1 at 0xfffea000
NOTICE:  BL31: Secure code at 0x0
NOTICE:  BL31: Non secure code at 0x8000000
NOTICE:  BL31: v1.4(release):xilinx-v2017.4-1351-gdf4a7e97
NOTICE:  BL31: Built : 12:29:02, Feb 22 2024
PMUFW:	v1.0


U-Boot 2018.01 (Feb 22 2024 - 18:05:31 +0530) Xilinx ZynqMP ZCU102 rev1.0

I2C:   ready
DRAM:  2 GiB
EL Level:	EL2
Chip ID:	zu4eg
MMC:   sdhci_transfer_data: Error detected in status(0x408000)!
sdhci@ff160000: 0 (eMMC)
SF: Detected n25q512a with page size 512 Bytes, erase size 128 KiB, total 128 MiB
In:    serial@ff000000
Out:   serial@ff000000
Err:   serial@ff000000
Board: Xilinx ZynqMP
Net:   ZYNQ GEM: ff0c0000, phyaddr 0, interface rgmii-id
eth0: ethernet@ff0c0000
Hit any key to stop autoboot:  4  3  0 
ZynqMP> 
ZynqMP> 
ZynqMP> mii info
PHY 0x05: OUI = 0x80028, Model = 0x23, Rev = 0x01,  10baseT, HDX
ZynqMP> 
PHY 0x05: OUI = 0x80028, Model = 0x23, Rev = 0x01,  10baseT, HDX
ZynqMP> <INTERRUPT>
ZynqMP> 
ZynqMP> mdio list
eth0:
5 - TI DP83867 <--> ethernet@ff0c0000
ZynqMP> 
ZynqMP> mii read 0x5 0-1f
addr=05 reg=00 data=1140
addr=05 reg=01 data=7949
addr=05 reg=02 data=2000
addr=05 reg=03 data=A231
addr=05 reg=04 data=01E1
addr=05 reg=05 data=0000
addr=05 reg=06 data=0064
addr=05 reg=07 data=2001
addr=05 reg=08 data=0000
addr=05 reg=09 data=0300
addr=05 reg=0a data=0000
addr=05 reg=0b data=0000
addr=05 reg=0c data=0000
addr=05 reg=0d data=401F
addr=05 reg=0e data=00A8
addr=05 reg=0f data=3000
addr=05 reg=10 data=4040
addr=05 reg=11 data=0002
addr=05 reg=12 data=0000
addr=05 reg=13 data=0040
addr=05 reg=14 data=29C7
addr=05 reg=15 data=0000
addr=05 reg=16 data=0000
addr=05 reg=17 data=0040
addr=05 reg=18 data=6150
addr=05 reg=19 data=4444
addr=05 reg=1a data=0002
addr=05 reg=1b data=0000
addr=05 reg=1c data=0000
addr=05 reg=1d data=0000
addr=05 reg=1e data=0002
addr=05 reg=1f data=0000
ZynqMP> <INTERRUPT>
ZynqMP> 
ZynqMP> 
ZynqMP> mii     edit    printenv w ethaddr
ethaddr=70:B3:D5:9A:60:5D
ZynqMP> printenv ethaddr       ipaddr
ipaddr=192.168.11.215
ZynqMP> 
ipaddr=192.168.11.215
ZynqMP> <INTERRUPT>
ZynqMP> 
ZynqMP> 
ZynqMP> ping 192.168.11.1 10
ethernet@ff0c0000 Waiting for PHY auto negotiation to complete......................................... TIMEOUT !
ping failed; host 192.168.11.10 is not alive
ZynqMP> <INTERRUPT>
ZynqMP> 
ZynqMP> 
ZynqMP> boot
Device: sdhci@ff160000
Manufacturer ID: 45
OEM: 100
Name: DG400 
Tran Speed: 200000000
Rd Block Len: 512
MMC version 5.1
High Capacity: Yes
Capacity: 7.3 GiB
Bus Width: 4-bit
Erase Group Size: 512 KiB
HC WP Group Size: 8 MiB
User Capacity: 7.3 GiB WRREL
Boot Capacity: 4 MiB ENH
RPMB Capacity: 4 MiB ENH
reading image.ub
30616724 bytes read in 2124 ms (13.7 MiB/s)
## Loading kernel from FIT Image at 10000000 ...
   Using 'conf@system-top.dtb' configuration
   Trying 'kernel@1' kernel subimage
     Description:  Linux kernel
     Type:         Kernel Image
     Compression:  gzip compressed
     Data Start:   0x10000104
     Data Size:    6988563 Bytes = 6.7 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: 0x00080000
     Entry Point:  0x00080000
     Hash algo:    sha1
     Hash value:   cd99b5715ee3506b287f383ed463799769c94547
   Verifying Hash Integrity ... sha1+ OK
## Loading ramdisk from FIT Image at 10000000 ...
   Using 'conf@system-top.dtb' configuration
   Trying 'ramdisk@1' ramdisk subimage
     Description:  petalinux-user-image
     Type:         RAMDisk Image
     Compression:  gzip compressed
     Data Start:   0x106b34f8
     Data Size:    23589387 Bytes = 22.5 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: unavailable
     Entry Point:  unavailable
     Hash algo:    sha1
     Hash value:   66c30d2bbd278503f5e6c9f4b57bcafc29f819af
   Verifying Hash Integrity ... sha1+ OK
## Loading fdt from FIT Image at 10000000 ...
   Using 'conf@system-top.dtb' configuration
   Trying 'fdt@system-top.dtb' fdt subimage
     Description:  Flattened Device Tree blob
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x106aa51c
     Data Size:    36631 Bytes = 35.8 KiB
     Architecture: AArch64
     Hash algo:    sha1
     Hash value:   d5f891be947b2a829a83935d48125488275492f6
   Verifying Hash Integrity ... sha1+ OK
   Booting using the fdt blob at 0x106aa51c
   Uncompressing Kernel Image ... OK
   Loading Ramdisk to 06980000, end 07fff20b ... OK
   Loading Device Tree to 0000000006974000, end 000000000697ff16 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.0-xilinx-v2018.1 (oe-user@oe-host) (gcc version 7.2.0 (GCC)) #1 SMP Tue Feb 20 13:21:37 IST 2024
[    0.000000] Boot CPU: AArch64 Processor [410fd034]
[    0.000000] Machine model: xlnx,zynqmp
[    0.000000] earlycon: cdns0 at MMIO 0x00000000ff000000 (options '115200n8')
[    0.000000] bootconsole [cdns0] enabled
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] cma: Reserved 256 MiB at 0x0000000070000000
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] percpu: Embedded 21 pages/cpu @ffffffc06ff72000 s46488 r8192 d31336 u86016
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: enabling workaround for ARM erratum 845719
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 517120
[    0.000000] Kernel command line: earlycon clk_ignore_unused
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
[    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.000000] Memory: 1748788K/2097156K available (10044K kernel code, 642K rwdata, 3032K rodata, 512K init, 2166K bss, 86224K reserved, 262144K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     modules : 0xffffff8000000000 - 0xffffff8008000000   (   128 MB)
[    0.000000]     vmalloc : 0xffffff8008000000 - 0xffffffbebfff0000   (   250 GB)
[    0.000000]       .text : 0xffffff8008080000 - 0xffffff8008a50000   ( 10048 KB)
[    0.000000]     .rodata : 0xffffff8008a50000 - 0xffffff8008d50000   (  3072 KB)
[    0.000000]       .init : 0xffffff8008d50000 - 0xffffff8008dd0000   (   512 KB)
[    0.000000]       .data : 0xffffff8008dd0000 - 0xffffff8008e70a00   (   643 KB)
[    0.000000]        .bss : 0xffffff8008e70a00 - 0xffffff800908e330   (  2167 KB)
[    0.000000]     fixed   : 0xffffffbefe7fd000 - 0xffffffbefec00000   (  4108 KB)
[    0.000000]     PCI I/O : 0xffffffbefee00000 - 0xffffffbeffe00000   (    16 MB)
[    0.000000]     vmemmap : 0xffffffbf00000000 - 0xffffffc000000000   (     4 GB maximum)
[    0.000000]               0xffffffbf00000000 - 0xffffffbf02300038   (    35 MB actual)
[    0.000000]     memory  : 0xffffffc000000000 - 0xffffffc0a0001000   (  2560 MB)
[    0.000000] Hierarchical RCU implementation.
[    0.000000] 	RCU event tracing is enabled.
[    0.000000] 	RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GIC: Adjusting CPU interface base to 0x00000000f902f000
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] arch_timer: cp15 timer(s) running at 33.33MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x7b0074340, max_idle_ns: 440795202884 ns
[    0.000003] sched_clock: 56 bits at 33MHz, resolution 30ns, wraps every 2199023255543ns
[    0.008245] Console: colour dummy device 80x25
[    0.012498] console [tty0] enabled
[    0.015864] bootconsole [cdns0] disabled
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.0-xilinx-v2018.1 (oe-user@oe-host) (gcc version 7.2.0 (GCC)) #1 SMP Tue Feb 20 13:21:37 IST 2024
[    0.000000] Boot CPU: AArch64 Processor [410fd034]
[    0.000000] Machine model: xlnx,zynqmp
[    0.000000] earlycon: cdns0 at MMIO 0x00000000ff000000 (options '115200n8')
[    0.000000] bootconsole [cdns0] enabled
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] cma: Reserved 256 MiB at 0x0000000070000000
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] percpu: Embedded 21 pages/cpu @ffffffc06ff72000 s46488 r8192 d31336 u86016
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: enabling workaround for ARM erratum 845719
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 517120
[    0.000000] Kernel command line: earlycon clk_ignore_unused
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
[    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.000000] Memory: 1748788K/2097156K available (10044K kernel code, 642K rwdata, 3032K rodata, 512K init, 2166K bss, 86224K reserved, 262144K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     modules : 0xffffff8000000000 - 0xffffff8008000000   (   128 MB)
[    0.000000]     vmalloc : 0xffffff8008000000 - 0xffffffbebfff0000   (   250 GB)
[    0.000000]       .text : 0xffffff8008080000 - 0xffffff8008a50000   ( 10048 KB)
[    0.000000]     .rodata : 0xffffff8008a50000 - 0xffffff8008d50000   (  3072 KB)
[    0.000000]       .init : 0xffffff8008d50000 - 0xffffff8008dd0000   (   512 KB)
[    0.000000]       .data : 0xffffff8008dd0000 - 0xffffff8008e70a00   (   643 KB)
[    0.000000]        .bss : 0xffffff8008e70a00 - 0xffffff800908e330   (  2167 KB)
[    0.000000]     fixed   : 0xffffffbefe7fd000 - 0xffffffbefec00000   (  4108 KB)
[    0.000000]     PCI I/O : 0xffffffbefee00000 - 0xffffffbeffe00000   (    16 MB)
[    0.000000]     vmemmap : 0xffffffbf00000000 - 0xffffffc000000000   (     4 GB maximum)
[    0.000000]               0xffffffbf00000000 - 0xffffffbf02300038   (    35 MB actual)
[    0.000000]     memory  : 0xffffffc000000000 - 0xffffffc0a0001000   (  2560 MB)
[    0.000000] Hierarchical RCU implementation.
[    0.000000] 	RCU event tracing is enabled.
[    0.000000] 	RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GIC: Adjusting CPU interface base to 0x00000000f902f000
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] arch_timer: cp15 timer(s) running at 33.33MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x7b0074340, max_idle_ns: 440795202884 ns
[    0.000003] sched_clock: 56 bits at 33MHz, resolution 30ns, wraps every 2199023255543ns
[    0.008245] Console: colour dummy device 80x25
[    0.012498] console [tty0] enabled
[    0.015864] bootconsole [cdns0] disabled
[    0.019772] Calibrating delay loop (skipped), value calculated using timer frequency.. 66.66 BogoMIPS (lpj=133332)
[    0.019785] pid_max: default: 32768 minimum: 301
[    0.019885] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
[    0.019898] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)
[    0.020469] ASID allocator initialised with 65536 entries
[    0.020521] Hierarchical SRCU implementation.
[    0.020799] EFI services will not be available.
[    0.020823] zynqmp_plat_init Platform Management API v1.0
[    0.020831] zynqmp_plat_init Trustzone version v1.0
[    0.020931] smp: Bringing up secondary CPUs ...
[    0.021175] Detected VIPT I-cache on CPU1
[    0.021203] CPU1: Booted secondary processor [410fd034]
[    0.021472] Detected VIPT I-cache on CPU2
[    0.021489] CPU2: Booted secondary processor [410fd034]
[    0.021750] Detected VIPT I-cache on CPU3
[    0.021767] CPU3: Booted secondary processor [410fd034]
[    0.021807] smp: Brought up 1 node, 4 CPUs
[    0.021839] SMP: Total of 4 processors activated.
[    0.021847] CPU features: detected feature: 32-bit EL0 Support
[    0.021858] CPU: All CPU(s) started at EL2
[    0.021874] alternatives: patching kernel code
[    0.022562] devtmpfs: initialized
[    0.026135] random: get_random_u32 called from bucket_table_alloc+0x108/0x260 with crng_init=0
[    0.026286] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.026308] futex hash table entries: 1024 (order: 5, 131072 bytes)
[    0.031695] xor: measuring software checksum speed
[    0.067846]    8regs     :  2303.000 MB/sec
[    0.107874]    8regs_prefetch:  2053.000 MB/sec
[    0.147906]    32regs    :  2830.000 MB/sec
[    0.187933]    32regs_prefetch:  2381.000 MB/sec
[    0.187941] xor: using function: 32regs (2830.000 MB/sec)
[    0.188005] pinctrl core: initialized pinctrl subsystem
[    0.188165] random: fast init done
[    0.188508] NET: Registered protocol family 16
[    0.189072] cpuidle: using governor menu
[    0.189420] vdso: 2 pages (1 code @ ffffff8008a56000, 1 data @ ffffff8008dd4000)
[    0.189436] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.189939] DMA: preallocated 256 KiB pool for atomic allocations
[    0.219329] reset_zynqmp reset-controller: Xilinx zynqmp reset driver probed
[    0.219796] ARM CCI_400_r1 PMU driver probed
[    0.224292] zynqmp-pinctrl ff180000.pinctrl: zynqmp pinctrl initialized
[    0.232195] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.300171] raid6: int64x1  gen()   403 MB/s
[    0.368146] raid6: int64x1  xor()   445 MB/s
[    0.436208] raid6: int64x2  gen()   688 MB/s
[    0.504228] raid6: int64x2  xor()   596 MB/s
[    0.572247] raid6: int64x4  gen()  1042 MB/s
[    0.640292] raid6: int64x4  xor()   742 MB/s
[    0.708373] raid6: int64x8  gen()   980 MB/s
[    0.776383] raid6: int64x8  xor()   745 MB/s
[    0.844484] raid6: neonx1   gen()   727 MB/s
[    0.912488] raid6: neonx1   xor()   853 MB/s
[    0.980553] raid6: neonx2   gen()  1169 MB/s
[    1.048564] raid6: neonx2   xor()  1207 MB/s
[    1.116625] raid6: neonx4   gen()  1505 MB/s
[    1.184649] raid6: neonx4   xor()  1441 MB/s
[    1.252696] raid6: neonx8   gen()  1651 MB/s
[    1.320745] raid6: neonx8   xor()  1532 MB/s
[    1.320753] raid6: using algorithm neonx8 gen() 1651 MB/s
[    1.320760] raid6: .... xor() 1532 MB/s, rmw enabled
[    1.320768] raid6: using neon recovery algorithm
[    1.321655] XGpio: /amba_pl@0/gpio@80003000: registered, base is 480
[    1.322305] XGpio: /amba_pl@0/gpio@80009000: registered, base is 448
[    1.322899] XGpio: /amba_pl@0/gpio@80009000: dual channel registered, base is 416
[    1.323536] XGpio: /amba_pl@0/gpio@80005000: registered, base is 384
[    1.324109] XGpio: /amba_pl@0/gpio@80005000: dual channel registered, base is 352
[    1.324744] XGpio: /amba_pl@0/gpio@80007000: registered, base is 320
[    1.325377] XGpio: /amba_pl@0/gpio@8000a000: registered, base is 288
[    1.326009] XGpio: /amba_pl@0/gpio@80006000: registered, base is 256
[    1.326695] XGpio: /amba_pl@0/gpio@80011000: registered, base is 224
[    1.327480] SCSI subsystem initialized
[    1.327648] usbcore: registered new interface driver usbfs
[    1.327685] usbcore: registered new interface driver hub
[    1.327721] usbcore: registered new device driver usb
[    1.327798] media: Linux media interface: v0.10
[    1.327824] Linux video capture interface: v2.00
[    1.327862] pps_core: LinuxPPS API ver. 1 registered
[    1.327870] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.327892] PTP clock support registered
[    1.327916] EDAC MC: Ver: 3.0.0
[    1.328213] zynqmp-ipi ff9905c0.mailbox: Probed ZynqMP IPI Mailbox driver.
[    1.328355] FPGA manager framework
[    1.328457] fpga-region fpga-full: FPGA Region probed
[    1.328554] Advanced Linux Sound Architecture Driver Initialized.
[    1.328796] Bluetooth: Core ver 2.22
[    1.328825] NET: Registered protocol family 31
[    1.328833] Bluetooth: HCI device and connection manager initialized
[    1.328845] Bluetooth: HCI socket layer initialized
[    1.328855] Bluetooth: L2CAP socket layer initialized
[    1.328872] Bluetooth: SCO socket layer initialized
[    1.329346] clocksource: Switched to clocksource arch_sys_counter
[    1.329418] VFS: Disk quotas dquot_6.6.0
[    1.329460] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    1.333410] NET: Registered protocol family 2
[    1.333710] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[    1.333824] TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
[    1.334021] TCP: Hash tables configured (established 16384 bind 16384)
[    1.334093] UDP hash table entries: 1024 (order: 3, 32768 bytes)
[    1.334137] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)
[    1.334255] NET: Registered protocol family 1
[    1.334463] RPC: Registered named UNIX socket transport module.
[    1.334473] RPC: Registered udp transport module.
[    1.334480] RPC: Registered tcp transport module.
[    1.334487] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.334587] Trying to unpack rootfs image as initramfs...
[    2.430388] Freeing initrd memory: 23036K
[    2.430830] hw perfevents: no interrupt-affinity property for /pmu, guessing.
[    2.430980] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[    2.431625] audit: initializing netlink subsys (disabled)
[    2.431859] audit: type=2000 audit(2.419:1): state=initialized audit_enabled=0 res=1
[    2.432215] workingset: timestamp_bits=62 max_order=19 bucket_order=0
[    2.432877] NFS: Registering the id_resolver key type
[    2.432897] Key type id_resolver registered
[    2.432904] Key type id_legacy registered
[    2.432916] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    2.432936] jffs2: version 2.2. (NAND) (SUMMARY)  � 2001-2006 Red Hat, Inc.
[    2.459266] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    2.459286] io scheduler noop registered
[    2.459293] io scheduler deadline registered
[    2.459313] io scheduler cfq registered (default)
[    2.459321] io scheduler mq-deadline registered
[    2.459329] io scheduler kyber registered
[    2.460497] xilinx-vdma 80004000.dma: Xilinx AXI DMA Engine Driver Probed!!
[    2.460815] xilinx-zynqmp-dma fd500000.dma: ZynqMP DMA driver Probe success
[    2.460964] xilinx-zynqmp-dma fd510000.dma: ZynqMP DMA driver Probe success
[    2.461107] xilinx-zynqmp-dma fd520000.dma: ZynqMP DMA driver Probe success
[    2.461247] xilinx-zynqmp-dma fd530000.dma: ZynqMP DMA driver Probe success
[    2.461399] xilinx-zynqmp-dma fd540000.dma: ZynqMP DMA driver Probe success
[    2.461538] xilinx-zynqmp-dma fd550000.dma: ZynqMP DMA driver Probe success
[    2.461683] xilinx-zynqmp-dma fd560000.dma: ZynqMP DMA driver Probe success
[    2.461823] xilinx-zynqmp-dma fd570000.dma: ZynqMP DMA driver Probe success
[    2.462029] xilinx-zynqmp-dma ffa80000.dma: ZynqMP DMA driver Probe success
[    2.462166] xilinx-zynqmp-dma ffa90000.dma: ZynqMP DMA driver Probe success
[    2.462303] xilinx-zynqmp-dma ffaa0000.dma: ZynqMP DMA driver Probe success
[    2.462441] xilinx-zynqmp-dma ffab0000.dma: ZynqMP DMA driver Probe success
[    2.462579] xilinx-zynqmp-dma ffac0000.dma: ZynqMP DMA driver Probe success
[    2.462716] xilinx-zynqmp-dma ffad0000.dma: ZynqMP DMA driver Probe success
[    2.462857] xilinx-zynqmp-dma ffae0000.dma: ZynqMP DMA driver Probe success
[    2.462997] xilinx-zynqmp-dma ffaf0000.dma: ZynqMP DMA driver Probe success
[    2.463057] ps_pcie_dma init()
[    2.488527] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    2.491425] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    2.495537] brd: module loaded
[    2.498769] loop: module loaded
[    2.499432] mtdoops: mtd device (mtddev=name/number) must be supplied
[    2.500112] spidev spi1.0: buggy DT: spidev listed directly in DT
[    2.500158] ------------[ cut here ]------------
[    2.500175] WARNING: CPU: 1 PID: 1 at /kernel-source//drivers/spi/spidev.c:730 spidev_probe+0x1d0/0x200
[    2.500185] Modules linked in:
[    2.500197] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 4.14.0-xilinx-v2018.1 #1
[    2.500206] Hardware name: xlnx,zynqmp (DT)
[    2.500214] task: ffffffc06cc58d00 task.stack: ffffff8008038000
[    2.500223] PC is at spidev_probe+0x1d0/0x200
[    2.500231] LR is at spidev_probe+0x1cc/0x200
[    2.500239] pc : [<ffffff8008615108>] lr : [<ffffff8008615104>] pstate: 60000045
[    2.500248] sp : ffffff800803b960
[    2.500254] x29: ffffff800803b960 x28: ffffff8008db95a8 
[    2.500264] x27: 0000000000000007 x26: 0000000000000000 
[    2.500274] x25: 0000000000000000 x24: 0000000000000000 
[    2.500284] x23: 0000000000000000 x22: ffffff8008e14470 
[    2.500293] x21: 0000000000000000 x20: ffffffc06c09d800 
[    2.500303] x19: ffffff8008b0f6b0 x18: 0000000000000010 
[    2.500313] x17: 0000000000000001 x16: 0000000000000019 
[    2.500322] x15: ffffffffffffffff x14: 0720072007200720 
[    2.500332] x13: 0720072007200720 x12: 0000000000000010 
[    2.500342] x11: 0101010101010101 x10: 7f7f7f7f7f7f7f7f 
[    2.500352] x9 : 0a03feff02fefeff x8 : 7f7f7f7f7f7f7f7f 
[    2.500362] x7 : 01fefefefeff7564 x6 : 0000808080808000 
[    2.500371] x5 : 0080808080800000 x4 : 0000000000000000 
[    2.500381] x3 : ffffff8008b0f9d0 x2 : 0000000000002af4 
[    2.500390] x1 : 0000000000000040 x0 : 0000000000000000 
[    2.500400] Call trace:
[    2.500407] Exception stack(0xffffff800803b820 to 0xffffff800803b960)
[    2.500417] b820: 0000000000000000 0000000000000040 0000000000002af4 ffffff8008b0f9d0
[    2.500429] b840: 0000000000000000 0080808080800000 0000808080808000 01fefefefeff7564
[    2.500441] b860: 7f7f7f7f7f7f7f7f 0a03feff02fefeff 7f7f7f7f7f7f7f7f 0101010101010101
[    2.500453] b880: 0000000000000010 0720072007200720 0720072007200720 ffffffffffffffff
[    2.500464] b8a0: 0000000000000019 0000000000000001 0000000000000010 ffffff8008b0f6b0
[    2.500476] b8c0: ffffffc06c09d800 0000000000000000 ffffff8008e14470 0000000000000000
[    2.500487] b8e0: 0000000000000000 0000000000000000 0000000000000000 0000000000000007
[    2.500499] b900: ffffff8008db95a8 ffffff800803b960 ffffff8008615104 ffffff800803b960
[    2.500511] b920: ffffff8008615108 0000000060000045 ffffff8008b0f6b0 ffffffc06c09d800
[    2.500522] b940: ffffffffffffffff ffffff8008e14470 ffffff800803b960 ffffff8008615108
[    2.500534] [<ffffff8008615108>] spidev_probe+0x1d0/0x200
[    2.500543] [<ffffff8008611b28>] spi_drv_probe+0x78/0xc8
[    2.500555] [<ffffff8008587c34>] driver_probe_device+0x22c/0x2d8
[    2.500566] [<ffffff8008587e3c>] __device_attach_driver+0x9c/0xf8
[    2.500576] [<ffffff8008585e34>] bus_for_each_drv+0x4c/0x98
[    2.500586] [<ffffff80085878d8>] __device_attach+0xc0/0x138
[    2.500597] [<ffffff8008587ef8>] device_initial_probe+0x10/0x18
[    2.500607] [<ffffff8008586d94>] bus_probe_device+0x94/0xa0
[    2.500616] [<ffffff8008584d80>] device_add+0x390/0x598
[    2.500625] [<ffffff8008612688>] spi_add_device+0xf8/0x198
[    2.500635] [<ffffff80086144f4>] spi_register_controller+0x43c/0x940
[    2.500645] [<ffffff8008617098>] cdns_spi_probe+0x370/0x3b8
[    2.500654] [<ffffff8008589848>] platform_drv_probe+0x58/0xb8
[    2.500664] [<ffffff8008587c34>] driver_probe_device+0x22c/0x2d8
[    2.500675] [<ffffff8008587d9c>] __driver_attach+0xbc/0xc0
[    2.500684] [<ffffff8008585d74>] bus_for_each_dev+0x4c/0x98
[    2.500694] [<ffffff8008587530>] driver_attach+0x20/0x28
[    2.500704] [<ffffff8008587080>] bus_add_driver+0x1b8/0x228
[    2.500714] [<ffffff8008588748>] driver_register+0x60/0xf8
[    2.500723] [<ffffff8008589798>] __platform_driver_register+0x40/0x48
[    2.500735] [<ffffff8008d764e8>] cdns_spi_driver_init+0x18/0x20
[    2.500747] [<ffffff8008083980>] do_one_initcall+0x38/0x128
[    2.500758] [<ffffff8008d50cc4>] kernel_init_freeable+0x138/0x1d8
[    2.500768] [<ffffff8008a3b360>] kernel_init+0x10/0x100
[    2.500777] [<ffffff8008084a90>] ret_from_fork+0x10/0x18
[    2.500788] ---[ end trace 121c529b966f5579 ]---
[    2.502039] m25p80 spi0.0: n25q512a (131072 Kbytes)
[    2.502062] 3 ofpart partitions found on MTD device spi0.0
[    2.502071] Creating 3 MTD partitions on "spi0.0":
[    2.502083] 0x000000000000-0x000000100000 : "boot"
[    2.502501] 0x000000100000-0x000000140000 : "bootenv"
[    2.502877] 0x000000140000-0x000001740000 : "kernel"
[    2.504119] libphy: Fixed MDIO Bus: probed
[    2.505120] tun: Universal TUN/TAP device driver, 1.6
[    2.505251] CAN device driver interface
[    2.505883] macb ff0c0000.ethernet: Not enabling partial store and forward
[    2.506292] libphy: MACB_mii_bus: probed
[    2.509461] macb ff0c0000.ethernet eth0: Cadence GEM rev 0x50070106 at 0xff0c0000 irq 30 (70:b3:d5:9a:60:5d)
[    2.509479] TI DP83867 ff0c0000.ethernet-ffffffff:00: attached PHY driver [TI DP83867] (mii_bus:phy_addr=ff0c0000.ethernet-ffffffff:00, irq=POLL)
[    2.510103] usbcore: registered new interface driver asix
[    2.510153] usbcore: registered new interface driver ax88179_178a
[    2.510183] usbcore: registered new interface driver cdc_ether
[    2.510213] usbcore: registered new interface driver net1080
[    2.510242] usbcore: registered new interface driver cdc_subset
[    2.510272] usbcore: registered new interface driver zaurus
[    2.510312] usbcore: registered new interface driver cdc_ncm
[    2.510600] xilinx-axipmon ffa00000.perf-monitor: Probed Xilinx APM
[    2.511165] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.511176] ehci-pci: EHCI PCI platform driver
[    2.511436] usbcore: registered new interface driver uas
[    2.511474] usbcore: registered new interface driver usb-storage
[    2.511949] rtc_zynqmp ffa60000.rtc: rtc core: registered ffa60000.rtc as rtc0
[    2.512008] i2c /dev entries driver
[    2.512361] cdns-i2c ff020000.i2c: 90 kHz mmio ff020000 irq 32
[    2.512694] cdns-i2c ff030000.i2c: 400 kHz mmio ff030000 irq 33
[    2.512915] IR NEC protocol handler initialized
[    2.512924] IR RC5(x/sz) protocol handler initialized
[    2.512932] IR RC6 protocol handler initialized
[    2.512939] IR JVC protocol handler initialized
[    2.512946] IR Sony protocol handler initialized
[    2.512953] IR SANYO protocol handler initialized
[    2.512960] IR Sharp protocol handler initialized
[    2.512966] IR MCE Keyboard/mouse protocol handler initialized
[    2.512974] IR XMP protocol handler initialized
[    2.513763] usbcore: registered new interface driver uvcvideo
[    2.513772] USB Video Class driver (1.1.1)
[    2.514245] Bluetooth: HCI UART driver ver 2.3
[    2.514255] Bluetooth: HCI UART protocol H4 registered
[    2.514263] Bluetooth: HCI UART protocol BCSP registered
[    2.514287] Bluetooth: HCI UART protocol LL registered
[    2.514296] Bluetooth: HCI UART protocol ATH3K registered
[    2.514303] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    2.514345] Bluetooth: HCI UART protocol Intel registered
[    2.514353] Bluetooth: HCI UART protocol QCA registered
[    2.514386] usbcore: registered new interface driver bcm203x
[    2.514417] usbcore: registered new interface driver bpa10x
[    2.514450] usbcore: registered new interface driver bfusb
[    2.514482] usbcore: registered new interface driver btusb
[    2.514490] Bluetooth: Generic Bluetooth SDIO driver ver 0.1
[    2.514534] usbcore: registered new interface driver ath3k
[    2.514656] EDAC MC: ECC not enabled
[    2.514811] EDAC DEVICE0: Giving out device to module zynqmp-ocm-edac controller zynqmp_ocm: DEV ff960000.memory-controller (INTERRUPT)
[    2.515605] sdhci: Secure Digital Host Controller Interface driver
[    2.515614] sdhci: Copyright(c) Pierre Ossman
[    2.515622] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.561354] mmc0: SDHCI controller on ff160000.sdhci [ff160000.sdhci] using ADMA 64-bit
[    2.561887] ledtrig-cpu: registered to indicate activity on CPUs
[    2.562034] usbcore: registered new interface driver usbhid
[    2.562043] usbhid: USB HID core driver
[    2.563999] fpga_manager fpga0: Xilinx ZynqMP FPGA Manager registered
[    2.565808] pktgen: Packet Generator for packet performance testing. Version: 2.75
[    2.568100] Netfilter messages via NETLINK v0.30.
[    2.568214] ip_tables: (C) 2000-2006 Netfilter Core Team
[    2.568390] Initializing XFRM netlink socket
[    2.568452] NET: Registered protocol family 10
[    2.568852] Segment Routing with IPv6
[    2.568895] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    2.569054] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    2.569379] NET: Registered protocol family 17
[    2.569395] NET: Registered protocol family 15
[    2.569413] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    2.569428] Ebtables v2.0 registered
[    2.569691] can: controller area network core (rev 20170425 abi 9)
[    2.569726] NET: Registered protocol family 29
[    2.569735] can: raw protocol (rev 20170425)
[    2.569742] can: broadcast manager protocol (rev 20170425 t)
[    2.569753] can: netlink gateway (rev 20170425) max_hops=1
[    2.569808] Bluetooth: RFCOMM TTY layer initialized
[    2.569820] Bluetooth: RFCOMM socket layer initialized
[    2.569835] Bluetooth: RFCOMM ver 1.11
[    2.569845] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    2.569853] Bluetooth: BNEP filters: protocol multicast
[    2.569863] Bluetooth: BNEP socket layer initialized
[    2.569870] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    2.569880] Bluetooth: HIDP socket layer initialized
[    2.570002] 9pnet: Installing 9P2000 support
[    2.570021] Key type dns_resolver registered
[    2.570464] registered taskstats version 1
[    2.570777] Btrfs loaded, crc32c=crc32c-generic
[    2.575926] ff000000.serial: ttyPS0 at MMIO 0xff000000 (irq = 41, base_baud = 6249999) is a xuartps
[    2.664144] mmc0: new HS200 MMC card at address 0001
[    2.664424] mmcblk0: mmc0:0001 DG4008 7.28 GiB 
[    2.664505] mmcblk0boot0: mmc0:0001 DG4008 partition 1 4.00 MiB
[    2.664572] mmcblk0boot1: mmc0:0001 DG4008 partition 2 4.00 MiB
[    2.664643] mmcblk0rpmb: mmc0:0001 DG4008 partition 3 4.00 MiB
[    2.665276]  mmcblk0: p1 p2
[    4.586113] console [ttyPS0] enabled
[    4.590086] ff010000.serial: ttyPS1 at MMIO 0xff010000 (irq = 42, base_baud = 6249999) is a xuartps
[    4.600145] dwc3-of-simple ff9d0000.usb0: dwc3_simple_set_phydata: Can't find usb3-phy
[    4.608561] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    4.613977] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[    4.621801] xhci-hcd xhci-hcd.0.auto: hcc params 0x0238f625 hci version 0x100 quirks 0x22010010
[    4.630450] xhci-hcd xhci-hcd.0.auto: irq 335, io mem 0xfe200000
[    4.636520] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    4.643229] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.650431] usb usb1: Product: xHCI Host Controller
[    4.655288] usb usb1: Manufacturer: Linux 4.14.0-xilinx-v2018.1 xhci-hcd
[    4.661972] usb usb1: SerialNumber: xhci-hcd.0.auto
[    4.667085] hub 1-0:1.0: USB hub found
[    4.670783] hub 1-0:1.0: 1 port detected
[    4.674831] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    4.680246] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[    4.687919] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    4.696022] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
[    4.702727] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.709930] usb usb2: Product: xHCI Host Controller
[    4.714790] usb usb2: Manufacturer: Linux 4.14.0-xilinx-v2018.1 xhci-hcd
[    4.721474] usb usb2: SerialNumber: xhci-hcd.0.auto
[    4.726554] hub 2-0:1.0: USB hub found
[    4.730239] hub 2-0:1.0: 1 port detected
[    4.735022] rtc_zynqmp ffa60000.rtc: setting system clock to 1970-01-01 00:00:58 UTC (58)
[    4.743230] clk: Not disabling unused clocks
[    4.747450] ALSA device list:
[    4.750368]   No soundcards found.
[    4.754127] Freeing unused kernel memory: 512K
INIT: version 2.88 booting
Starting udev
[    4.859150] udevd[1728]: starting version 3.2.2
[    4.868317] udevd[1729]: starting eudev-3.2.2
[    4.931039] asmip: loading out-of-tree module taints kernel.
[    4.936958] ASMIP.
[    4.939045] asm_init: Registers mapped to mmio = 0x926e000  
[    4.944658] Registeration is a success the major device number is 0.
[    4.950976] If you want to talk to the device driver,
[    4.956001] create a device file by following command. 
[    4.956001]  
[    4.962771] mknod ASM c 0 0
[    4.962771] 
[    4.967231] asm 80000000.ASM_IP_v3_0: Device Tree Probing
[    4.972605] asm 80000000.ASM_IP_v3_0: no IRQ found
[    4.977345] asm 80000000.ASM_IP_v3_0: asm at 0x80000000 mapped to 0x09275000
[    5.221974] FAT-fs (mmcblk0p2): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[    5.241198] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[    5.289376] usb 1-1: new high-speed USB device number 2 using xhci-hcd
Fri Feb 23 06:27:25 UTC 2024
[    5.442100] usb 1-1: New USB device found, idVendor=0781, idProduct=558a
[    5.448782] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    5.455864] usb 1-1: Product: Ultra
[    5.459333] usb 1-1: Manufacturer: SanDisk
[    5.463406] usb 1-1: SerialNumber: 04010a68dc594b346ba446d43f720771d74295c42f90d1891398f98d49fdeb8f412b00000000000000000000eea67d39001665188a5581072c2c9749
[    5.478621] usb-storage 1-1:1.0: USB Mass Storage device detected
[    5.485227] scsi host0: usb-storage 1-1:1.0
Starting internet superserver: inetd.
Start up script init
PCIe_QRNG start up script ....

 device = /dev/spidev1.0
 speed = 5000000
 RW = 0
 reg_addr = 0, page_val = 0
sleep = 20000
sleep = 20000
sleep = 20000
sleep = 20000
sleep = 20000
sleep = 20000
sleep = 20000
sleep = 20000
sleep = 20000
sleep = 20000
sleep = 20000
sleep = 20000
sleep = 20000
sleep = 20000
sleep = 20000
sleep = 20000
sleep = 20000
sleep = 20000
sleep = 20000
sleep = 20000
sleep = 20000
sleep = 20000
sleep = 20000
sleep = 20000
sleep = 20000
sleep = 20000
sleep = 20000
sleep = 20000
sleep = 20000
sleep = 20000
sleep = 20000
sleep = 20000
sleep = 100000
[    6.502113] scsi 0:0:0:0: Direct-Access     SanDisk  Ultra            1.00 PQ: 0 ANSI: 6
[    6.511098] sd 0:0:0:0: [sda] 60088320 512-byte logical blocks: (30.8 GB/28.7 GiB)
[    6.519381] sd 0:0:0:0: [sda] Write Protect is off
[    6.524399] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    6.552206]  sda: sda1
[    6.555697] sd 0:0:0:0: [sda] Attached SCSI removable disk
[    6.734804] FAT-fs (sda1): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1)
[    6.746126] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
sleep = 2000000
sleep = 2000000

Spi Reg write success
main : successfully set si5332 clock registers
[   10.404138] axidma: axidma_dma.c: axidma_dma_init: 718: DMA: Found 1 transmit channels and 1 receive channels.
[   10.414077] axidma: axidma_dma.c: axidma_dma_init: 720: VDMA: Found 0 transmit channels and 0 receive channels.
Configuring packages on first boot....
 (This may take several minutes. Please do not power off the machine.)
Running postinst /etc/rpm-postinsts/100-sysvinit-inittab...
update-rc.d: /etc/init.d/run-postinsts exists during rc.d purge (continuing)
 Removing any syINIT: Entering runlevel: 5
Configuring network interfaces... [   10.518336] pps pps0: new PPS source ptp0
[   10.522290] macb ff0c0000.ethernet: gem-ptp-timer ptp clock registered.
[   10.528929] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
udhcpc (v1.24.1) started
Sending discover...
[   11.525632] macb ff0c0000.ethernet eth0: link up (1000/Full)
[   11.531234] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Sending discover...
Sending discover...
No lease, forking to background
done.
Starting Dropbear SSH server: Generating key, this may take a while...
Public key portion is:
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQClo1WcSmP1DaHFwahdRh4LjWD2ryree4h43FJ8gBQo4LZUt9UqexiNoBpaBj+Zqnin9tgSJudFQ3/kwjpGe4HofqbTnn+RRgiEc3a1YWeTp+An51tKP+JJslsw8wprt9pEa34kAmDq0bx4u1LaDhjmLU8O+42NsnhTDUc8jzfPtWflFsaB8Wo55T9uczXIJC2GDONxPRmWkLBxZ9GI30+zahQqDz6jErAmeuLbBkEmrpGLjsClfaERkejLYkOpbzM5Gdk6YrlydrZVxvjBv1WSbFXPTS93W4oHQiEGgIqAghffFdGfNxuWgwTqeZK6O/a+rdNFPnqxqvCy9/cPajmN root@PCIe_QRNG_Fv2_0
Fingerprint: md5 62:61:1a:f3:58:37:cd:bd:04:db:8e:1e:2b:37:09:79
dropbear.
Starting syslogd/klogd: done
Starting tcf-agent: OK

PetaLinux 2018.1 PCIe_QRNG_Fv2_0 /dev/ttyPS0

PCIe_QRNG_Fv2_0 login: root
Password: 
root@PCIe_QRNG_Fv2_0:~# 
root@PCIe_QRNG_Fv2_0:~# 
root@PCIe_QRNG_Fv2_0:~# 
root@PCIe_QRNG_Fv2_0:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 70:B3:D5:9A:60:5D  
          inet6 addr: fe80::72b3:d5ff:fe9a:605d%4882584/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:1340 (1.3 KiB)
          Interrupt:30 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1%4882584/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

root@PCIe_QRNG_Fv2_0:~# ^C
root@PCIe_QRNG_Fv2_0:~# 
root@PCIe_QRNG_Fv2_0:~# 
root@PCIe_QRNG_Fv2_0:~# ifconfig eth0               pu ign  ng 192.168.11.10
PING 192.168.11.10 (192.168.11.10): 56 data bytes
ping: sendto: Network is unreachable
root@PCIe_QRNG_Fv2_0:~# ^C
root@PCIe_QRNG_Fv2_0:~# ifconfig eth0 192.168.11.215 up 
root@PCIe_QRNG_Fv2_0:~# 
root@PCIe_QRNG_Fv2_0:~# 
root@PCIe_QRNG_Fv2_0:~# 
root@PCIe_QRNG_Fv2_0:~# ifconbfig     nfig
eth0      Link encap:Ethernet  HWaddr 70:B3:D5:9A:60:5D  
          inet addr:192.168.11.215  Bcast:192.168.11.255  Mask:255.255.255.0
          inet6 addr: fe80::72b3:d5ff:fe9a:605d%4882584/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:4216 (4.1 KiB)
          Interrupt:30 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1%4882584/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:16 errors:0 dropped:0 overruns:0 frame:0
          TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1024 (1.0 KiB)  TX bytes:1024 (1.0 KiB)

root@PCIe_QRNG_Fv2_0:~# ping 192.168.11.10
PING 192.168.11.10 (192.168.11.10): 56 data bytes
^C
--- 192.168.11.10 ping statistics ---
11 packets transmitted, 0 packets received, 100% packet loss
root@PCIe_QRNG_Fv2_0:~# ^C
root@PCIe_QRNG_Fv2_0:~# 
root@PCIe_QRNG_Fv2_0:~# 
root@PCIe_QRNG_Fv2_0:~# 
root@PCIe_QRNG_Fv2_0:~# 

Please help ..

Thanks & Regards,
Sujan

  • Hi Sujan,

    Can you share the register log of the link partner PHY?

    The other PHY may not be alive or has incompatible device configuration if there is a valid MDI connection but no auto-negotiation transaction occurring over the line.

    Thank you,

    Evan

  • Hi Evan,

    I'm sorry, I don't understand what do you mean by register log of link partner phy ? Can you explain the procedure ?

    Also Yes, I think the phy has a valid MDI connection otherwise, i wouldn't be able to get register dump from u-boot right.

    But auto negotiation is not getting completed, I tried connecting with our local network, and also tried connecting to laptop as well with no luck. 

    Thanks you,

    Sujan

  • Hi Sujan,

    This is my understanding of your system, please correct me if I am mistaken:

    HOST1 <-RGMII-> DP83867(1) <-MDI (RJ-45)-> DP83867(2) <-RGMII-> HOST2

    Currently I believe you are sharing register log of DP83867(1) through its SMI (MDC/MDIO) connection to HOST1 (valid MDI connection not needed).

    Do you have an SMI connection from a host to DP83867(2)? If so, you can use phytool as described in this FAQ to obtain a register log.

    Sharing the register dump for both PHYs while connected over MDI will help me confirm if the device configurations are compatible.

    Thank you,

    Evan

  • Hi Evan,

    I'm not trying to connect both boards with each other through RJ-45, instead I am actually trying to connect the boards with our local network i.e. connected to the internet. 

    HOST1 <-RGMII-> DP83867(1) <-> Router

    HOST2 <-RGMII-> DP83867(2) <-> Router

    Both are separate entities, not trying to communicate the boards with each other. (Both are configured with different MAC addr & IP addr)

    I meant that the working board is able to auto-negotiate with the router to set the link speed properly & get the link up.

    Meanwhile the other board is not able to do so, i tried disabling auto-negotiation & set the link speed manually using ethtool, but link did not come up although it shows link is up in boot-up logs.

    When you said MDI, I mistook it as MDIO/MDC interface, hence i said its working as i got register dump.

    We don't have phytool in our linux, but we do have mii command in u-boot which can dump registers until 0x1F.

    The register dump which I uploaded in my original question was of the PHY which is not working.

    Here I am attaching the reg dump of PHY which is working fine

    ZynqMP> ping 192.168.10.12 
    Using ethernet@ff0c0000 device
    host 192.168.10.12 is alive
    ZynqMP> mii info
    PHY 0x05: OUI = 0x80028, Model = 0x23, Rev = 0x01, 1000baseT, FDX
    ZynqMP> <INTERRUPT>
    ZynqMP> 
    ZynqMP> mii read 0x5 0-1f
    addr=05 reg=00 data=1140
    addr=05 reg=01 data=796D
    addr=05 reg=02 data=2000
    addr=05 reg=03 data=A231
    addr=05 reg=04 data=01E1
    addr=05 reg=05 data=C1E1
    addr=05 reg=06 data=006F
    addr=05 reg=07 data=2001
    addr=05 reg=08 data=6801
    addr=05 reg=09 data=0300
    addr=05 reg=0a data=3800
    addr=05 reg=0b data=0000
    addr=05 reg=0c data=0000
    addr=05 reg=0d data=401F
    addr=05 reg=0e data=00A8
    addr=05 reg=0f data=3000
    addr=05 reg=10 data=4040
    addr=05 reg=11 data=BF02
    addr=05 reg=12 data=0000
    addr=05 reg=13 data=1C40
    addr=05 reg=14 data=29C7
    addr=05 reg=15 data=0000
    addr=05 reg=16 data=0000
    addr=05 reg=17 data=0040
    addr=05 reg=18 data=6150
    addr=05 reg=19 data=4444
    addr=05 reg=1a data=0002
    addr=05 reg=1b data=0000
    addr=05 reg=1c data=0000
    addr=05 reg=1d data=0000
    addr=05 reg=1e data=0002
    addr=05 reg=1f data=0000
    

     

    Thanks,

    Sujan

  • Hi Sujan,

    Thanks for clarifying.

    Checking the register logs, both PHYs appear to be configured correctly.

    Are there any hardware differences between the two setups (DP83867 board, router, cabling differences...)? If swapping the routers between DP83867 (1) & (2), does the issue follow the PHY or the router?

    Thank you,

    Evan

  • Hi Evan,

    Im using the same router for both & also even the RJ-45 connector is the same.

    There are no hardware differences as confirmed by our hardware guy. Although we'll try to check again if there are any minor differences.

    After swapping the router, the issue follows up with the PHY.

    Thanks,

    Sujan

  • Hi Sujan,

    Evan is out on Time bank until Tuesday, March 5th. Please allow him until then to continue supporting you.

    Regards,

    Alvaro

  • Hi Sujan,

    Are HOST1 and HOST2 also identical in software and hardware? You mentioned they used similar Linux images, can you confirm the auto-negotiation/speed/duplex... settings match?

    Please try both hosts with the failing PHY to confirm there is no marginality on the host end.

    Thank you,

    Evan

  • Hi Evan, 

    UPDATE: It's fixed now, a pullup resister was missing from the strap. 

    Thanks for your support.

    Regards,
    Sujan