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: DP83867 link up in u-boot but not in linux

Part Number: DP83867IR

I have DP83867 PHY on GEM1 MDIO interface on a custom board. 

The driver is up and PHY is detected & can be seen from u-boot. And also able to ping Link partner as well. 

But I am not able to ping the LP in Linux, can only ping myself. 

Here is my u-boot log of PHY detection and PHY dump : 

Xilinx Zynq MP First Stage Boot Loader
Release 2022.2   Oct  7 2022  -  04:56:16
NOTICE:  BL31: v2.6(release):xlnx_rebase_v2.6_2022.1_update3-18-g0897efd45
NOTICE:  BL31: Built : 03:55:03, Sep  9 2022

U-Boot 2022.01 (Sep 20 2022 - 06:35:33 +0000)

CPU:   ZynqMP
Silicon: v3
Board: Xilinx ZynqMP
DRAM:  2 GiB
PMUFW:  v1.1
PMUFW no permission to change config object
EL Level:       EL2
Chip ID:        zu4
NAND:  0 MiB
MMC:   mmc@ff160000: 0
Loading Environment from FAT... *** Warning - some problems detected reading environment; recovered successfully
OK
In:    serial
Out:   serial
Err:   serial
Net:   PHY reset timed out

ZYNQ GEM: ff0c0000, mdio bus ff0c0000, phyaddr 0, interface rgmii-id

Warning: ethernet@ff0c0000 MAC addresses don't match:
Address in DT is                00:01:02:03:04:05
Address in environment is       70:b3:d5:9a:60:95
eth0: ethernet@ff0c0000
scanning bus for devices...
starting USB...
Bus usb@fe200000: Register 2000440 NbrPorts 2
Starting the controller
USB XHCI 1.00
scanning bus usb@fe200000 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
Hit any key to stop autoboot:  0
ZynqMP>
ZynqMP>
ZynqMP>
ZynqMP> mii info
PHY 0x05: OUI = 0x80028, Model = 0x23, Rev = 0x01, 1000baseT, FDX
ZynqMP> mdio list
eth0:
0 - TI DP83867 <--> ethernet@ff0c0000
ZynqMP>
ZynqMP> mii read 0x5 0-9
addr=05 reg=00 data=1140
addr=05 reg=01 data=7969
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=007F
addr=05 reg=07 data=2001
addr=05 reg=08 data=6801
addr=05 reg=09 data=0300
ZynqMP>

Here is 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", "ethernet-phy-ieee802.3-c22";
                        reg = <0>;
                        ti,rx-internal-delay = <0x8>;
                        ti,tx-internal-delay = <0x0>;
                        ti,fifo-depth = <0x1>;
                        };
        };
};

Here is the complete boot-up logs : 

Xilinx Zynq MP First Stage Boot Loader
Release 2022.2   Oct  7 2022  -  04:56:16
NOTICE:  BL31: v2.6(release):xlnx_rebase_v2.6_2022.1_update3-18-g0897efd45
NOTICE:  BL31: Built : 03:55:03, Sep  9 2022


U-Boot 2022.01 (Sep 20 2022 - 06:35:33 +0000)

CPU:   ZynqMP
Silicon: v3
Board: Xilinx ZynqMP
DRAM:  2 GiB
PMUFW:  v1.1
PMUFW no permission to change config object
EL Level:       EL2
Chip ID:        zu4
NAND:  0 MiB
MMC:   mmc@ff160000: 0
Loading Environment from FAT... *** Warning - some problems detected reading environment; recovered successfully
OK
In:    serial
Out:   serial
Err:   serial
Net:   PHY reset timed out

ZYNQ GEM: ff0c0000, mdio bus ff0c0000, phyaddr 0, interface rgmii-id

Warning: ethernet@ff0c0000 MAC addresses don't match:
Address in DT is                00:01:02:03:04:05
Address in environment is       70:b3:d5:9a:60:95
eth0: ethernet@ff0c0000
scanning bus for devices...
starting USB...
Bus usb@fe200000: Register 2000440 NbrPorts 2
Starting the controller
USB XHCI 1.00
scanning bus usb@fe200000 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc0(part 0) is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
2777 bytes read in 15 ms (180.7 KiB/s)
## Executing script at 20000000
Trying to load boot images from mmc0
56783488 bytes read in 4059 ms (13.3 MiB/s)
## Loading kernel from FIT Image at 10000000 ...
   Using 'conf-system-top.dtb' configuration
   Trying 'kernel-1' kernel subimage
     Description:  Linux kernel
     Created:      2022-10-03   7:50:07 UTC
     Type:         Kernel Image
     Compression:  gzip compressed
     Data Start:   0x100000fc
     Data Size:    9367099 Bytes = 8.9 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: 0x00200000
     Entry Point:  0x00200000
     Hash algo:    sha256
     Hash value:   f83ee5af3d2342a6fa3e0f077ad78ba7170c18e446a9ff3db6e5ace9917507cc
   Verifying Hash Integrity ... sha256+ OK
## Loading ramdisk from FIT Image at 10000000 ...
   Using 'conf-system-top.dtb' configuration
   Trying 'ramdisk-1' ramdisk subimage
     Description:  petalinux-image-minimal
     Created:      2022-10-03   7:50:07 UTC
     Type:         RAMDisk Image
     Compression:  uncompressed
     Data Start:   0x108fa460
     Data Size:    47368360 Bytes = 45.2 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: unavailable
     Entry Point:  unavailable
     Hash algo:    sha256
     Hash value:   38777a1d7442e50f3717fff3b87c6b1c7e7fac59100037bd9d940abe66fe29e6
   Verifying Hash Integrity ... sha256+ 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
     Created:      2022-10-03   7:50:07 UTC
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x108ef048
     Data Size:    45895 Bytes = 44.8 KiB
     Architecture: AArch64
     Hash algo:    sha256
     Hash value:   0c64bb67f644637e2f57e7c3ab3f9a16617e525abb0614e8ea9a65a3e7a591f6
   Verifying Hash Integrity ... sha256+ OK
   Booting using the fdt blob at 0x108ef048
   Uncompressing Kernel Image
   Loading Ramdisk to 78ecc000, end 7bbf88a8 ... OK
   Loading Device Tree to 0000000078ebd000, end 0000000078ecb346 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.15.36-xilinx-v2022.2 (oe-user@oe-host) (aarch64-xilinx-linux-gcc (GCC) 11.2.0, GNU ld (GNU Binutils) 2.37.20210721) #1 SMP Mon Oct 3 07:50:07 UTC 2022
[    0.000000] Machine model: xlnx,zynqmp
[    0.000000] earlycon: cdns0 at MMIO 0x00000000ff000000 (options '115200n8')
[    0.000000] printk: bootconsole [cdns0] enabled
[    0.000000] efi: UEFI not found.
[    0.000000] Zone ranges:
[    0.000000]   DMA32    [mem 0x0000000000000000-0x000000007fefffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000007fefffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000007fefffff]
[    0.000000] On node 0, zone DMA32: 256 pages in unavailable ranges
[    0.000000] cma: Reserved 256 MiB at 0x0000000068c00000
[    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] psci: SMC Calling Convention v1.2
[    0.000000] percpu: Embedded 18 pages/cpu s34776 r8192 d30760 u73728
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: ARM erratum 845719
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 515844
[    0.000000] Kernel command line:  earlycon console=ttyPS0,115200 clk_ignore_unused root=/dev/ram0 rw
[    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 1725284K/2096128K available (14080K kernel code, 994K rwdata, 3964K rodata, 2176K init, 573K bss, 108700K reserved, 262144K cma-reserved)
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=16 to nr_cpu_ids=4.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    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] Root IRQ handler: gic_handle_irq
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] random: get_random_bytes called from start_kernel+0x474/0x6d8 with crng_init=0
[    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.000000] sched_clock: 56 bits at 33MHz, resolution 30ns, wraps every 2199023255543ns
[    0.008315] Console: colour dummy device 80x25
[    0.012393] Calibrating delay loop (skipped), value calculated using timer frequency.. 66.66 BogoMIPS (lpj=133332)
[    0.022666] pid_max: default: 32768 minimum: 301
[    0.027455] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.034609] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.043415] rcu: Hierarchical SRCU implementation.
[    0.047386] EFI services will not be available.
[    0.051784] smp: Bringing up secondary CPUs ...
[    0.056508] Detected VIPT I-cache on CPU1
[    0.056544] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.056934] Detected VIPT I-cache on CPU2
[    0.056957] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.057325] Detected VIPT I-cache on CPU3
[    0.057348] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.057392] smp: Brought up 1 node, 4 CPUs
[    0.091607] SMP: Total of 4 processors activated.
[    0.096279] CPU features: detected: 32-bit EL0 Support
[    0.101382] CPU features: detected: CRC32 instructions
[    0.106522] CPU: All CPU(s) started at EL2
[    0.110564] alternatives: patching kernel code
[    0.115886] devtmpfs: initialized
[    0.123007] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.127953] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.140485] pinctrl core: initialized pinctrl subsystem
[    0.140958] DMI not present or invalid.
[    0.144120] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.150795] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations
[    0.156889] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.164683] audit: initializing netlink subsys (disabled)
[    0.170079] audit: type=2000 audit(0.108:1): state=initialized audit_enabled=0 res=1
[    0.170425] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.184502] ASID allocator initialised with 65536 entries
[    0.189921] Serial: AMBA PL011 UART driver
[    0.211483] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.212542] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.219213] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.225875] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    1.301747] cryptd: max_cpu_qlen set to 1000
[    1.325517] DRBG: Continuing without Jitter RNG
[    1.429336] raid6: neonx8   gen()  2133 MB/s
[    1.497383] raid6: neonx8   xor()  1581 MB/s
[    1.565454] raid6: neonx4   gen()  2180 MB/s
[    1.633506] raid6: neonx4   xor()  1555 MB/s
[    1.701571] raid6: neonx2   gen()  2066 MB/s
[    1.769625] raid6: neonx2   xor()  1430 MB/s
[    1.837696] raid6: neonx1   gen()  1763 MB/s
[    1.905753] raid6: neonx1   xor()  1212 MB/s
[    1.973811] raid6: int64x8  gen()  1363 MB/s
[    2.041874] raid6: int64x8  xor()   773 MB/s
[    2.109949] raid6: int64x4  gen()  1599 MB/s
[    2.177998] raid6: int64x4  xor()   850 MB/s
[    2.246075] raid6: int64x2  gen()  1397 MB/s
[    2.314126] raid6: int64x2  xor()   750 MB/s
[    2.382206] raid6: int64x1  gen()  1031 MB/s
[    2.450242] raid6: int64x1  xor()   517 MB/s
[    2.450281] raid6: using algorithm neonx4 gen() 2180 MB/s
[    2.454235] raid6: .... xor() 1555 MB/s, rmw enabled
[    2.459170] raid6: using neon recovery algorithm
[    2.464299] iommu: Default domain type: Translated
[    2.468604] iommu: DMA domain TLB invalidation policy: strict mode
[    2.475035] SCSI subsystem initialized
[    2.478693] usbcore: registered new interface driver usbfs
[    2.484031] usbcore: registered new interface driver hub
[    2.489293] usbcore: registered new device driver usb
[    2.494354] mc: Linux media interface: v0.10
[    2.498547] videodev: Linux video capture interface: v2.00
[    2.504010] pps_core: LinuxPPS API ver. 1 registered
[    2.508909] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    2.517999] PTP clock support registered
[    2.521903] EDAC MC: Ver: 3.0.0
[    2.525262] zynqmp-ipi-mbox mailbox@ff990400: Registered ZynqMP IPI mbox with TX/RX channels.
[    2.533669] FPGA manager framework
[    2.536965] Advanced Linux Sound Architecture Driver Initialized.
[    2.543209] Bluetooth: Core ver 2.22
[    2.546462] NET: Registered PF_BLUETOOTH protocol family
[    2.551728] Bluetooth: HCI device and connection manager initialized
[    2.558045] Bluetooth: HCI socket layer initialized
[    2.562887] Bluetooth: L2CAP socket layer initialized
[    2.567909] Bluetooth: SCO socket layer initialized
[    2.573050] clocksource: Switched to clocksource arch_sys_counter
[    2.578933] VFS: Disk quotas dquot_6.6.0
[    2.582734] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    2.593786] NET: Registered PF_INET protocol family
[    2.594452] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    2.602630] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
[    2.610226] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    2.618176] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, linear)
[    2.625528] TCP: Hash tables configured (established 16384 bind 16384)
[    2.631887] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    2.638526] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    2.645679] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    2.651478] RPC: Registered named UNIX socket transport module.
[    2.657094] RPC: Registered udp transport module.
[    2.661760] RPC: Registered tcp transport module.
[    2.666427] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    2.672833] PCI: CLS 0 bytes, default 64
[    2.676855] Trying to unpack rootfs image as initramfs...
[    2.682763] armv8-pmu pmu: hw perfevents: no interrupt-affinity property, guessing.
[    2.689970] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[    4.933387] Freeing initrd memory: 46256K
[    4.989935] Initialise system trusted keyrings
[    4.990069] workingset: timestamp_bits=46 max_order=19 bucket_order=0
[    4.995863] NFS: Registering the id_resolver key type
[    5.000182] Key type id_resolver registered
[    5.004364] Key type id_legacy registered
[    5.008315] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    5.014961] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    5.022324] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    5.066657] NET: Registered PF_ALG protocol family
[    5.066703] xor: measuring software checksum speed
[    5.074734]    8regs           :  2363 MB/sec
[    5.078400]    32regs          :  2799 MB/sec
[    5.083477]    arm64_neon      :  2307 MB/sec
[    5.083533] xor: using function: 32regs (2799 MB/sec)
[    5.088556] Key type asymmetric registered
[    5.092620] Asymmetric key parser 'x509' registered
[    5.097498] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
[    5.104819] io scheduler mq-deadline registered
[    5.109315] io scheduler kyber registered
[    5.141267] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    5.143074] Serial: AMBA driver
[    5.145982] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    5.155349] brd: module loaded
[    5.158785] loop: module loaded
[    5.159720] mtdoops: mtd device (mtddev=name/number) must be supplied
[    5.166575] tun: Universal TUN/TAP device driver, 1.6
[    5.168792] CAN device driver interface
[    5.173343] usbcore: registered new interface driver asix
[    5.177921] usbcore: registered new interface driver ax88179_178a
[    5.183959] usbcore: registered new interface driver cdc_ether
[    5.189754] usbcore: registered new interface driver net1080
[    5.195376] usbcore: registered new interface driver cdc_subset
[    5.201258] usbcore: registered new interface driver zaurus
[    5.206805] usbcore: registered new interface driver cdc_ncm
[    5.213439] usbcore: registered new interface driver uas
[    5.217705] usbcore: registered new interface driver usb-storage
[    5.224240] rtc_zynqmp ffa60000.rtc: registered as rtc0
[    5.228847] rtc_zynqmp ffa60000.rtc: setting system clock to 1987-01-05T19:13:57 UTC (536872437)
[    5.237627] i2c_dev: i2c /dev entries driver
[    5.243693] usbcore: registered new interface driver uvcvideo
[    5.247970] Bluetooth: HCI UART driver ver 2.3
[    5.251932] Bluetooth: HCI UART protocol H4 registered
[    5.257035] Bluetooth: HCI UART protocol BCSP registered
[    5.262327] Bluetooth: HCI UART protocol LL registered
[    5.267414] Bluetooth: HCI UART protocol ATH3K registered
[    5.272788] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    5.279039] Bluetooth: HCI UART protocol Intel registered
[    5.284381] Bluetooth: HCI UART protocol QCA registered
[    5.289583] usbcore: registered new interface driver bcm203x
[    5.295215] usbcore: registered new interface driver bpa10x
[    5.300738] usbcore: registered new interface driver bfusb
[    5.306190] usbcore: registered new interface driver btusb
[    5.311651] usbcore: registered new interface driver ath3k
[    5.317143] EDAC MC: ECC not enabled
[    5.320735] EDAC DEVICE0: Giving out device to module edac controller cache_err: DEV edac (POLLED)
[    5.329681] EDAC DEVICE1: Giving out device to module zynqmp-ocm-edac controller zynqmp_ocm: DEV ff960000.memory-controller (INTERRUPT)
[    5.342083] sdhci: Secure Digital Host Controller Interface driver
[    5.347779] sdhci: Copyright(c) Pierre Ossman
[    5.352099] sdhci-pltfm: SDHCI platform and OF driver helper
[    5.358064] ledtrig-cpu: registered to indicate activity on CPUs
[    5.363790] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
[    5.370164] zynqmp_firmware_probe Platform Management API v1.1
[    5.375889] zynqmp_firmware_probe Trustzone version v1.0
[    5.408509] securefw securefw: securefw probed
[    5.408645] zynqmp_aes firmware:zynqmp-firmware:zynqmp-aes: The zynqmp-aes driver shall be deprecated in 2022.2 and removed in 2023.1
[    5.419477] alg: No test for xilinx-zynqmp-aes (zynqmp-aes)
[    5.424903] zynqmp_aes firmware:zynqmp-firmware:zynqmp-aes: AES Successfully Registered
[    5.432954] zynqmp-keccak-384 firmware:zynqmp-firmware:sha384: The zynqmp-sha-deprecated driver shall be deprecated in 2022.2 and removed in 2023.1 release
[    5.446745] alg: No test for xilinx-keccak-384 (zynqmp-keccak-384)
[    5.453011] alg: No test for xilinx-zynqmp-rsa (zynqmp-rsa)
[    5.458504] usbcore: registered new interface driver usbhid
[    5.463895] usbhid: USB HID core driver
[    5.470790] ARM CCI_400_r1 PMU driver probed
[    5.471444] fpga_manager fpga0: Xilinx ZynqMP FPGA Manager registered
[    5.478769] usbcore: registered new interface driver snd-usb-audio
[    5.485328] pktgen: Packet Generator for packet performance testing. Version: 2.75
[    5.492739] Initializing XFRM netlink socket
[    5.496330] NET: Registered PF_INET6 protocol family
[    5.501610] Segment Routing with IPv6
[    5.504814] In-situ OAM (IOAM) with IPv6
[    5.508768] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    5.514901] NET: Registered PF_PACKET protocol family
[    5.519610] NET: Registered PF_KEY protocol family
[    5.524371] can: controller area network core
[    5.528708] NET: Registered PF_CAN protocol family
[    5.533441] can: raw protocol
[    5.536376] can: broadcast manager protocol
[    5.540536] can: netlink gateway - max_hops=1
[    5.544928] Bluetooth: RFCOMM TTY layer initialized
[    5.549710] Bluetooth: RFCOMM socket layer initialized
[    5.554814] Bluetooth: RFCOMM ver 1.11
[    5.558527] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    5.563800] Bluetooth: BNEP filters: protocol multicast
[    5.568991] Bluetooth: BNEP socket layer initialized
[    5.573919] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    5.579805] Bluetooth: HIDP socket layer initialized
[    5.584759] 8021q: 802.1Q VLAN Support v1.8
[    5.588984] 9pnet: Installing 9P2000 support
[    5.593145] Key type dns_resolver registered
[    5.597469] registered taskstats version 1
[    5.601431] Loading compiled-in X.509 certificates
[    5.607263] Btrfs loaded, crc32c=crc32c-generic, zoned=no, fsverity=no
[    5.621131] ff000000.serial: ttyPS0 at MMIO 0xff000000 (irq = 49, base_baud = 6249999) is a xuartps
[    5.630158] printk: console [ttyPS0] enabled
[    5.630158] printk: console [ttyPS0] enabled
[    5.634452] printk: bootconsole [cdns0] disabled
[    5.634452] printk: bootconsole [cdns0] disabled
[    5.643765] ff010000.serial: ttyPS1 at MMIO 0xff010000 (irq = 50, base_baud = 6249999) is a xuartps
[    5.658768] of-fpga-region fpga-full: FPGA Region probed
[    5.664237] gpiochip_find_base: cannot find free range
[    5.669369] gpiochip_add_data_with_key: GPIOs 0..173 (zynqmp_gpio) failed to register, -28
[    5.677635] zynq-gpio ff0a0000.gpio: Failed to add gpio chip
[    5.683334] zynq-gpio: probe of ff0a0000.gpio failed with error -28
[    5.690232] random: fast init done
[    5.706044] random: crng init done
[    5.791240] irq 53: nobody cared (try booting with the "irqpoll" option)
[    5.797931] CPU: 0 PID: 8 Comm: kworker/u8:0 Not tainted 5.15.36-xilinx-v2022.2 #1
[    5.805489] Hardware name: xlnx,zynqmp (DT)
[    5.809657] Workqueue: events_unbound deferred_probe_work_func
[    5.815489] Call trace:
[    5.817919]  dump_backtrace+0x0/0x190
[    5.821574]  show_stack+0x18/0x30
[    5.824881]  dump_stack_lvl+0x7c/0xa0
[    5.828535]  dump_stack+0x18/0x34
[    5.831842]  __report_bad_irq+0x4c/0x138
[    5.835757]  note_interrupt+0x2f8/0x35c
[    5.839584]  handle_irq_event+0xec/0x120
[    5.843499]  handle_fasteoi_irq+0xc0/0x220
[    5.847587]  handle_domain_irq+0x60/0x90
[    5.851502]  gic_handle_irq+0x74/0xa0
[    5.855157]  do_interrupt_handler+0x34/0x60
[    5.859332]  el1_interrupt+0x30/0x50
[    5.862899]  el1h_64_irq_handler+0x18/0x24
[    5.866987]  el1h_64_irq+0x78/0x7c
[    5.870381]  _stext+0xa8/0x2a4
[    5.873428]  irq_exit+0xbc/0x100
[    5.876649]  handle_domain_irq+0x64/0x90
[    5.880563]  gic_handle_irq+0x74/0xa0
[    5.884218]  call_on_irq_stack+0x2c/0x60
[    5.888132]  do_interrupt_handler+0x54/0x60
[    5.892307]  el1_interrupt+0x30/0x50
[    5.895875]  el1h_64_irq_handler+0x18/0x24
[    5.899963]  el1h_64_irq+0x78/0x7c
[    5.903357]  __setup_irq+0x4bc/0x7b0
[    5.906925]  request_threaded_irq+0xe8/0x1b0
[    5.911186]  xilinx_dma_probe+0x4c0/0xc50
[    5.915188]  platform_probe+0x68/0xe0
[    5.918842]  really_probe.part.0+0x9c/0x30c
[    5.923017]  __driver_probe_device+0x98/0x144
[    5.927366]  driver_probe_device+0x44/0x11c
[    5.931541]  __device_attach_driver+0xb4/0x120
[    5.935977]  bus_for_each_drv+0x78/0xd0
[    5.939805]  __device_attach+0xdc/0x184
[    5.943633]  device_initial_probe+0x14/0x20
[    5.947808]  bus_probe_device+0x9c/0xa4
[    5.951636]  deferred_probe_work_func+0x88/0xc0
[    5.956158]  process_one_work+0x1d8/0x390
[    5.960159]  worker_thread+0x298/0x4e0
[    5.963901]  kthread+0x120/0x130
[    5.967121]  ret_from_fork+0x10/0x20
[    5.970689] handlers:
[    5.972945] [<00000000f33a20fd>] xilinx_dma_irq_handler
[    5.978162] Disabling IRQ #53
[    6.079984] irq 54: nobody cared (try booting with the "irqpoll" option)
[    6.086672] CPU: 0 PID: 8 Comm: kworker/u8:0 Not tainted 5.15.36-xilinx-v2022.2 #1
[    6.094232] Hardware name: xlnx,zynqmp (DT)
[    6.098399] Workqueue: events_unbound deferred_probe_work_func
[    6.104223] Call trace:
[    6.106653]  dump_backtrace+0x0/0x190
[    6.110308]  show_stack+0x18/0x30
[    6.113615]  dump_stack_lvl+0x7c/0xa0
[    6.117269]  dump_stack+0x18/0x34
[    6.120576]  __report_bad_irq+0x4c/0x138
[    6.124491]  note_interrupt+0x2f8/0x35c
[    6.128319]  handle_irq_event+0xec/0x120
[    6.132234]  handle_fasteoi_irq+0xc0/0x220
[    6.136322]  handle_domain_irq+0x60/0x90
[    6.140237]  gic_handle_irq+0x74/0xa0
[    6.143891]  call_on_irq_stack+0x2c/0x60
[    6.147806]  do_interrupt_handler+0x54/0x60
[    6.151981]  el1_interrupt+0x30/0x50
[    6.155548]  el1h_64_irq_handler+0x18/0x24
[    6.159637]  el1h_64_irq+0x78/0x7c
[    6.163031]  __setup_irq+0x4bc/0x7b0
[    6.166598]  request_threaded_irq+0xe8/0x1b0
[    6.170860]  xilinx_dma_probe+0x4c0/0xc50
[    6.174862]  platform_probe+0x68/0xe0
[    6.178516]  really_probe.part.0+0x9c/0x30c
[    6.182691]  __driver_probe_device+0x98/0x144
[    6.187040]  driver_probe_device+0x44/0x11c
[    6.191215]  __device_attach_driver+0xb4/0x120
[    6.195650]  bus_for_each_drv+0x78/0xd0
[    6.199478]  __device_attach+0xdc/0x184
[    6.203306]  device_initial_probe+0x14/0x20
[    6.207481]  bus_probe_device+0x9c/0xa4
[    6.211309]  deferred_probe_work_func+0x88/0xc0
[    6.215831]  process_one_work+0x1d8/0x390
[    6.219833]  worker_thread+0x298/0x4e0
[    6.223574]  kthread+0x120/0x130
[    6.226794]  ret_from_fork+0x10/0x20
[    6.230362] handlers:
[    6.232619] [<00000000f33a20fd>] xilinx_dma_irq_handler
[    6.237835] Disabling IRQ #54
[    6.240914] xilinx-vdma a0080000.dma: Xilinx AXI DMA Engine Driver Probed!!
[    6.248161] xilinx-zynqmp-dma fd500000.dma-controller: ZynqMP DMA driver Probe success
[    6.256254] xilinx-zynqmp-dma fd510000.dma-controller: ZynqMP DMA driver Probe success
[    6.264340] xilinx-zynqmp-dma fd520000.dma-controller: ZynqMP DMA driver Probe success
[    6.272428] xilinx-zynqmp-dma fd530000.dma-controller: ZynqMP DMA driver Probe success
[    6.280519] xilinx-zynqmp-dma fd540000.dma-controller: ZynqMP DMA driver Probe success
[    6.288608] xilinx-zynqmp-dma fd550000.dma-controller: ZynqMP DMA driver Probe success
[    6.296701] xilinx-zynqmp-dma fd560000.dma-controller: ZynqMP DMA driver Probe success
[    6.304787] xilinx-zynqmp-dma fd570000.dma-controller: ZynqMP DMA driver Probe success
[    6.312948] xilinx-zynqmp-dma ffa80000.dma-controller: ZynqMP DMA driver Probe success
[    6.321037] xilinx-zynqmp-dma ffa90000.dma-controller: ZynqMP DMA driver Probe success
[    6.329142] xilinx-zynqmp-dma ffaa0000.dma-controller: ZynqMP DMA driver Probe success
[    6.337235] xilinx-zynqmp-dma ffab0000.dma-controller: ZynqMP DMA driver Probe success
[    6.345327] xilinx-zynqmp-dma ffac0000.dma-controller: ZynqMP DMA driver Probe success
[    6.353415] xilinx-zynqmp-dma ffad0000.dma-controller: ZynqMP DMA driver Probe success
[    6.361503] xilinx-zynqmp-dma ffae0000.dma-controller: ZynqMP DMA driver Probe success
[    6.369595] xilinx-zynqmp-dma ffaf0000.dma-controller: ZynqMP DMA driver Probe success
[    6.378451] spi_master spi0: cannot find modalias for /axi/spi@ff0f0000/flash@0
[    6.385767] spi_master spi0: Failed to create SPI device for /axi/spi@ff0f0000/flash@0
[    6.393995] macb ff0c0000.ethernet: Not enabling partial store and forward
[    6.403916] macb ff0c0000.ethernet eth0: Cadence GEM rev 0x50070106 at 0xff0c0000 irq 38 (70:b3:d5:9a:60:95)
[    6.414129] xilinx-axipmon ffa00000.perf-monitor: Probed Xilinx APM
[    6.420667] xilinx-axipmon fd0b0000.perf-monitor: Probed Xilinx APM
[    6.427167] xilinx-axipmon fd490000.perf-monitor: Probed Xilinx APM
[    6.433663] xilinx-axipmon ffa10000.perf-monitor: Probed Xilinx APM
[    6.433695] zynqmp_pll_disable() clock disable failed for dpll_int, ret = -13
[    6.467860] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    6.473356] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1
[    6.481105] xhci-hcd xhci-hcd.1.auto: hcc params 0x0238f625 hci version 0x100 quirks 0x0000000002010090
[    6.490514] xhci-hcd xhci-hcd.1.auto: irq 55, io mem 0xfe200000
[    6.496637] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[    6.504896] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    6.512116] usb usb1: Product: xHCI Host Controller
[    6.516985] usb usb1: Manufacturer: Linux 5.15.36-xilinx-v2022.2 xhci-hcd
[    6.523764] usb usb1: SerialNumber: xhci-hcd.1.auto
[    6.528929] hub 1-0:1.0: USB hub found
[    6.532704] hub 1-0:1.0: 1 port detected
[    6.536812] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    6.542298] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2
[    6.549965] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
[    6.556531] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    6.564738] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.15
[    6.573000] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    6.580220] usb usb2: Product: xHCI Host Controller
[    6.585088] usb usb2: Manufacturer: Linux 5.15.36-xilinx-v2022.2 xhci-hcd
[    6.591868] usb usb2: SerialNumber: xhci-hcd.1.auto
[    6.596976] hub 2-0:1.0: USB hub found
[    6.600743] hub 2-0:1.0: 1 port detected
[    6.605432] cdns-i2c ff020000.i2c: 90 kHz mmio ff020000 irq 40
[    6.611667] i2c i2c-1: of_i2c: modalias failure on /axi/i2c@ff030000/i2c@1
[    6.618545] i2c i2c-1: Failed to create I2C device for /axi/i2c@ff030000/i2c@1
[    6.625771] cdns-i2c ff030000.i2c: 90 kHz mmio ff030000 irq 41
[    6.635641] of_cfs_init
[    6.638128] of_cfs_init: OK
[    6.641037] clk: Not disabling unused clocks
[    6.645563] ALSA device list:
[    6.648518]   No soundcards found.
[    6.665271] mmc0: SDHCI controller on ff160000.mmc [ff160000.mmc] using ADMA 64-bit
[    6.673470] Freeing unused kernel memory: 2176K
[    6.678057] Run /init as init process
[    6.691413] systemd[1]: System time before build time, advancing clock.
[    6.701624] systemd[1]: systemd 249.7+ running in system mode (+PAM -AUDIT -SELINUX -APPARMOR +IMA -SMACK +SECCOMP -GCRYPT -GNUTLS -OPENSSL +ACL +BLKID -CURL -ELFUTILS -FIDO2 -IDN2 -IDN -IPTC +KMOD -LIBCRYPTSETUP +LIBFDISK -PCRE2 -PWQUALITY -P11KIT -QRENCODE -BZIP2 -LZ4 -XZ -ZLIB +ZSTD +XKBCOMMON +UTMP +SYSVINIT default-hierarchy=hybrid)
[    6.731930] systemd[1]: Detected architecture arm64.
[    6.747738] mmc0: new HS200 MMC card at address 0001
[    6.753127] mmcblk0: mmc0:0001 DG4008 7.28 GiB
[    6.758856]  mmcblk0: p1 p2

Welcome to PetaLinux 2022.2_release_S10071807 (honister)    6.762058] mmcblk0boot0: mmc0:0001 DG4008 4.00 MiB
m!

[    6.773141] mmcblk0boot1: mmc0:0001 DG4008 4.00 MiB
[    6.778850] mmcblk0rpmb: mmc0:0001 DG4008 4.00 MiB, chardev (241:0)
[    6.793226] systemd[1]: Hostname set to <PCIedemogem1demov1>.
[    6.799098] systemd[1]: Initializing machine ID from random generator.
[    6.832264] systemd-sysv-generator[233]: SysV service '/etc/init.d/watchdog-init' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
[    6.859175] systemd-sysv-generator[233]: SysV service '/etc/init.d/nfsserver' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
[    6.883203] systemd-sysv-generator[233]: SysV service '/etc/init.d/nfscommon' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
[    6.907488] systemd-sysv-generator[233]: SysV service '/etc/init.d/inetd.busybox' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
[    6.932529] systemd-sysv-generator[233]: SysV service '/etc/init.d/dropbear' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
[    7.151202] systemd[1]: Queued start job for default target Multi-User System.
[    7.186179] systemd[1]: Created slice Slice /system/getty.
[  OK  ] Created slice Slice /system/getty    7.197066] usb 1-1: new high-speed USB device number 2 using xhci-hcd
m.
[    7.214407] systemd[1]: Created slice Slice /system/modprobe.
[  OK  ] Created slice Slice /system/modprobe.
[    7.238304] systemd[1]: Created slice Slice /system/serial-getty.
[  OK  ] Created slice Slice /system/serial-getty.
[    7.262145] systemd[1]: Created slice User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[    7.285304] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password …ts to Console Directory Watch.
[    7.309251] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password R…uests to Wall Directory Watch.
[    7.333279] systemd[1]: Reached target Path Units.
[  OK  ] Reached target Path Units.
[    7.349141] systemd[1]: Reached target Remote File Systems.
[    7.349806] usb 1-1: New USB device found, idVendor=0781, idProduct=558a, bcdDevice= 1.00
[    7.362877] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    7.370009] usb 1-1: Product: Ultra
[    7.373489] usb 1-1: Manufacturer: SanDisk
[  OK  ] Reached target Remote File Systems usb 1-1: SerialNumber: 04010a68dc594b346ba446d43f720771d74295c42f90d1891398f98d49fdeb8f412b00000000000000000000eea67d39001665188a5581072c2c9749
[0m.
[    7.397711] usb-storage 1-1:1.0: USB Mass Storage device detected
[    7.404064] scsi host0: usb-storage 1-1:1.0
[    7.417156] systemd[1]: Reached target Slice Units.
[  OK  ] Reached target Slice Units.
[    7.433156] systemd[1]: Reached target Swaps.
[  OK  ] Reached target Swaps.
[    7.449611] systemd[1]: Listening on RPCbind Server Activation Socket.
[  OK  ] Listening on RPCbind Server Activation Socket.
[    7.473130] systemd[1]: Reached target RPC Port Mapper.
[  OK  ] Reached target RPC Port Mapper.
[    7.493381] systemd[1]: Listening on Syslog Socket.
[  OK  ] Listening on Syslog Socket.
[    7.509281] systemd[1]: Listening on initctl Compatibility Named Pipe.
[  OK  ] Listening on initctl Compatibility Named Pipe.
[    7.533592] systemd[1]: Listening on Journal Audit Socket.
[  OK  ] Listening on Journal Audit Socket.
[    7.553343] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[    7.573408] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[    7.589554] systemd[1]: Listening on Network Service Netlink Socket.
[  OK  ] Listening on Network Service Netlink Socket.
[    7.613420] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[    7.633332] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[    7.653352] systemd[1]: Listening on User Database Manager Socket.
[  OK  ] Listening on User Database Manager Socket.
[    7.679599] systemd[1]: Mounting Huge Pages File System...
         Mounting Huge Pages File System...
[    7.699640] systemd[1]: Mounting POSIX Message Queue File System...
         Mounting POSIX Message Queue File System...
[    7.723768] systemd[1]: Mounting Kernel Debug File System...
         Mounting Kernel Debug File System...
[    7.741461] systemd[1]: Condition check resulted in Kernel Trace File System being skipped.
[    7.752473] systemd[1]: Mounting Temporary Directory /tmp...
         Mounting Temporary Directory /tmp...
[    7.769369] systemd[1]: Condition check resulted in Create List of Static Device Nodes being skipped.
[    7.781527] systemd[1]: Starting Load Kernel Module configfs...
         Starting Load Kernel Module configfs...
[    7.800101] systemd[1]: Starting Load Kernel Module drm...
         Starting Load Kernel Module drm...
[    7.820008] systemd[1]: Starting Load Kernel Module fuse...
         Starting Load Kernel Module fuse...
[    7.839948] systemd[1]: Starting RPC Bind...
         Starting RPC Bind...
[    7.853215] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
[    7.862937] systemd[1]: Condition check resulted in Load Kernel Modules being skipped.
[    7.873193] systemd[1]: Mounting NFSD configuration filesystem...
         Mounting NFSD configuration filesystem...
[    7.891862] systemd[1]: Starting Remount Root and Kernel File Systems...
         Starting Remount Root and Kernel File Systems...
[    7.915905] systemd[1]: Starting Apply Kernel Variables...
         Starting Apply Kernel Variables...
[    7.935914] systemd[1]: Starting Coldplug All udev Devices...
         Starting Coldplug All udev Devices...
[    7.957537] systemd[1]: Started RPC Bind.
[  OK  ] Started RPC Bind.
[    7.973636] systemd[1]: Mounted Huge Pages File System.
[  OK  ] Mounted Huge Pages File System.
[    7.993546] systemd[1]: Mounted POSIX Message Queue File System.
[  OK  ] Mounted POSIX Message Queue File System.
[    8.017565] systemd[1]: Mounted Kernel Debug File System.
[  OK  ] Mounted Kernel Debug File System.
[    8.037601] systemd[1]: Mounted Temporary Directory /tmp.
[  OK  ] Mounted Temporary Directory /tmp.
[    8.058133] systemd[1]: modprobe@configfs.service: Deactivated successfully.
[    8.066459] systemd[1]: Finished Load Kernel Module configfs.
[  OK  ] Finished Load Kernel Module configfs.
[    8.090008] systemd[1]: modprobe@drm.service: Deactivated successfully.
[    8.097797] systemd[1]: Finished Load Kernel Module drm.
[  OK  ] Finished Load Kernel Module drm.
[    8.117800] systemd[1]: modprobe@fuse.service: Deactivated successfully.
[    8.125685] systemd[1]: Finished Load Kernel Module fuse.
[  OK  ] Finished Load Kernel Module fuse.
[    8.145425] systemd[1]: proc-fs-nfsd.mount: Mount process exited, code=exited, status=32/n/a
[    8.153909] systemd[1]: proc-fs-nfsd.mount: Failed with result 'exit-code'.
[    8.162100] systemd[1]: Failed to mount NFSD configuration filesystem.
[FAILED] Failed to mount NFSD configuration filesystem.
See 'systemctl status proc-fs-nfsd.mount' for details.
[    8.197126] systemd[1]: Dependency failed for NFS Mount Daemon.
[DEPEND] Dependency failed for NFS Mount Daemon.
[    8.217096] systemd[1]: Dependency failed for NFS server and services.
[DEPEND] Dependency failed for NFS server and services.
[    8.241091] systemd[1]: nfs-server.service: Job nfs-server.service/start failed with result 'dependency'.
[    8.250685] systemd[1]: nfs-mountd.service: Job nfs-mountd.service/start failed with result 'dependency'.
[    8.261799] systemd[1]: Finished Remount Root and Kernel File Systems.
[  OK  ] Finished Remount Root and Kernel File Systems.
[    8.286544] systemd[1]: Finished Apply Kernel Variables.
[  OK  ] Finished Apply Kernel Variables.
[    8.311743] systemd[1]: Condition check resulted in FUSE Control File System being skipped.
[    8.323153] systemd[1]: Mounting Kernel Configuration File System...
         Mounting Kernel Configuration File System...
[    8.345387] systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped.
[    8.354029] systemd[1]: Condition check resulted in Platform Persistent Storage Archival being skipped.
[    8.366558] systemd[1]: Starting Create System Users...
         Starting Create System Users...
[    8.384897] systemd[1]: Mounted Kernel Configuration File System.
[  OK  ] Mounted Kernel Configuration File System.
[    8.406982] systemd[1]: Finished Create System Users.
[  OK  ] Finished Create System Users.
[    8.412841] scsi 0:0:0:0: Direct-Access     SanDisk  Ultra            1.00 PQ: 0 ANSI: 6
[    8.426957] sd 0:0:0:0: [sda] 60088320 512-byte logical blocks: (30.8 GB/28.7 GiB)
[    8.437554] systemd[1]: Starting Create Static Device Nodes in /dev...
         Starting Create Static Device Nodes in /dev[    8.444487] sd 0:0:0:0: [sda] Write Protect is off
...
[    8.455266] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    8.467393] systemd[1]: Finished Create Static Device Nodes in /dev.
[  OK  ] Finished Create Static Device Nodes in /dev.
[    8.484902]  sda: sda1
[    8.488563] sd 0:0:0:0: [sda] Attached SCSI removable disk
[    8.501445] systemd[1]: Reached target Preparation for Local File Systems.
[  OK  ] Reached target Preparation for Local File Systems.
[    8.527950] systemd[1]: Mounting /var/volatile...
         Mounting /var/volatile...
[    8.544772] systemd[1]: Started Entropy Daemon based on the HAVEGE algorithm.
[  OK  ] Started Entropy Daemon based on the HAVEGE algorithm.
[    8.569861] systemd[1]: systemd-journald.service: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
[    8.582767] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
[    8.594966] systemd[1]: Starting Journal Service...
         Starting Journal Service...
[    8.613427] systemd[1]: Starting Rule-based Manager for Device Events and Files...
         Starting Rule-based Manage…for Device Events and Files...
[    8.639387] systemd[1]: Mounted /var/volatile.
[  OK  ] Mounted /var/volatile.
[    8.655084] systemd[1]: Finished Coldplug All udev Devices.
[  OK  ] Finished Coldplug All udev Devices.
[    8.677556] systemd[1]: Condition check resulted in Bind mount volatile /var/cache being skipped.
[    8.686600] systemd[1]: Condition check resulted in Bind mount volatile /var/lib being skipped.
[    8.698388] systemd[1]: Starting Load/Save Random Seed...
         Starting Load/Save Random Seed...
[    8.713284] systemd[1]: Condition check resulted in Bind mount volatile /var/spool being skipped.
[    8.724622] systemd[1]: Condition check resulted in Bind mount volatile /srv being skipped.
[    8.738000] systemd[1]: Reached target Local File Systems.
[  OK  ] Reached target Local File Systems.
[    8.769555] systemd[1]: Starting Rebuild Dynamic Linker Cache...
         Starting Rebuild Dynamic Linker Cache...
[    8.787216] systemd[1]: Started Rule-based Manager for Device Events and Files.
[  OK  ] Started Rule-based Manager for Device Events and Files.
[    8.817738] systemd[1]: Started Journal Service.
[  OK  ] Started Journal Service.
[  OK  ] Finished Load/Save Random Seed.
[  OK  ] Finished Rebuild Dynamic Linker Cache.
         Starting Flush Journal to Persistent Storage...
[    8.891359] systemd-journald[268]: Received client request to flush runtime journal.
         Starting Network Configuration...
[  OK  ] Finished Flush Journal to Persistent Storage.
         Starting Create Volatile Files and Directories...
[    8.957857] asmip: loading out-of-tree module taints kernel.
[    8.963947] ASMIP.
[    8.974271] asm_init: Registers mapped to mmio = 0x985d000
[    8.979980] Registeration is a success the major device number is 0.
[    8.986345] If you want to talk to the device driver,
[    8.991409] create a device file by following command.
[    8.991409]
[    8.998200] mknod ASM c 0 0
[    8.998200]
[    9.002696] asm a0050000.ASM_IP_v3: Device Tree Probing
[    9.007962] asm a0050000.ASM_IP_v3: no IRQ found
[    9.012591] asm a0050000.ASM_IP_v3: asm at 0xa0050000 mapped to 0x0985f000
[  OK  ] Finished Create Volatile Files and Directories.
         Starting Rebuild Journal Catalog...
         Starting Network Time Synchronization...
         Starting Record System Boot/Shutdown in UTMP...
[  OK  ] Finished Rebuild Journal Catalog.
         Starting Update is Completed...
[  OK  ] Finished Record System Boot/Shutdown in UTMP.
[  OK  ] Finished Update is Completed.
[  OK  ] Started Network Configuration.
         Starting Network Name Resolution...
[  OK  ] Listening on Load/Save RF …itch Status /dev/rfkill Watch.
[  OK  ] Started Network Time Synchronization.
[  OK  ] Reached target System Initialization.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target System Time Set.
[  OK  ] Reached target Timer Units.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Listening on dropbear.socket.
[  OK  ] Reached target Socket Units.
[  OK  ] Reached target Basic System.
[  OK  ] Started Kernel Logging Service.
[  OK  ] Started System Logging Service.
[  OK  ] Started D-Bus System Message Bus.
         Starting LSB: NFS support for both client and server...
         Starting User Login Management...
[  OK  ] Started LSB: NFS support for both client and server.
[   10.145856] macb ff0c0000.ethernet eth0: PHY [ff0c0000.ethernet-ffffffff:00] driver [TI DP83867] (irq=POLL)
[   10.155658] macb ff0c0000.ethernet eth0: configuring for phy/rgmii-id link mode
[   10.179299] pps pps0: new PPS source ptp0
[   10.185543] macb ff0c0000.ethernet: gem-ptp-timer ptp clock registered.
[  OK  ] Started Network Name Resolution.
[  OK  ] Started User Login Management.
[  OK  ] Created slice Slice /system/systemd-fsck.
[  OK  ] Reached target Network.
[  OK  ] Reached target Host and Network Name Lookups.
         Starting inetd.busybox.service...
[  OK  ] Started NFS status monitor for NFSv2/3 locking..
         Starting LSB: Kernel NFS server support...
         Starting File System Check on /dev/mmcblk0p1...
         Starting File System Check on /dev/mmcblk0p2...
         Starting File System Check on /dev/sda1...
         Starting Permit User Sessions...
         Starting Target Communication Framework agent...
[  OK  ] Started inetd.busybox.service.
[FAILED] Failed to start LSB: Kernel NFS server support.
See 'systemctl status nfsserver.service' for details.
[  OK  ] Finished File System Check on /dev/mmcblk0p1.
[  OK  ] Finished File System Check on /dev/mmcblk0p2.
[  OK  ] Finished File System Check on /dev/sda1.
[  OK  ] Finished Permit User Sessions.
[  OK  ] Started Target Communication Framework agent.
         Mounting /run/media/mmcblk0p1...
         Mounting /run/media/mmcblk0p2...
[   11.507933] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
         Mounting /run/media/sda1...
[   11.535937] FAT-fs (mmcblk0p2): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[  OK  ] Started Getty on tty1.
[  OK  ] Started Serial Getty on ttyPS0.
[  OK  ] Reached target Login Prompts.
[  OK  ] Reached target Multi-User System.
[   11.616239] FAT-fs (sda1): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1)
[   11.626761] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
         Starting Record Runlevel Change in UTMP...
[  OK  ] Mounted /run/media/mmcblk0p1.
[  OK  ] Mounted /run/media/mmcblk0p2.
[  OK  ] Mounted /run/media/sda1.
[  OK  ] Finished Record Runlevel Change in UTMP.

PetaLinux 2022.2_release_S10071807 PCIedemogem1demov1 ttyPS0

PCIedemogem1demov1 login: root
Password:
[   34.465853] audit: type=1006 audit(1637342395.771:2): pid=673 uid=0 old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=1 res=1
[   34.478157] audit: type=1300 audit(1637342395.771:2): arch=c00000b7 syscall=64 success=yes exit=1 a0=8 a1=ffffec1e0b60 a2=1 a3=ffffb127d6b0 items=0 ppid=1 pid=673 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1 comm="(systemd)" exe="/lib/systemd/systemd" key=(null)
[   34.504437] audit: type=1327 audit(1637342395.771:2): proctitle="(systemd)"
^Croot@PCIedemogem1demov1:~#
root@PCIedemogem1demov1:~#
root@PCIedemogem1demov1:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 70:B3:D5:9A:60:95
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:38

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

root@PCIedemogem1demov1:~# ifconfig eth0 192.168.10.120 up
root@PCIedemogem1demov1:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 70:B3:D5:9A:60:95
          inet addr:192.168.10.120  Bcast:192.168.10.255  Mask:255.255.255.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:38

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

root@PCIedemogem1demov1:~#
root@PCIedemogem1demov1:~#
root@PCIedemogem1demov1:~# ping 192.168.10.12
PING 192.168.10.12 (192.168.10.12): 56 data bytes
^C
--- 192.168.10.12 ping statistics ---
7 packets transmitted, 0 packets received, 100% packet loss
root@PCIedemogem1demov1:~#
root@PCIedemogem1demov1:~# ping 192.168.10.120
PING 192.168.10.120 (192.168.10.120): 56 data bytes
64 bytes from 192.168.10.120: seq=0 ttl=64 time=0.091 ms
64 bytes from 192.168.10.120: seq=1 ttl=64 time=0.051 ms
64 bytes from 192.168.10.120: seq=2 ttl=64 time=0.045 ms
64 bytes from 192.168.10.120: seq=3 ttl=64 time=0.043 ms
^C
--- 192.168.10.120 ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 0.043/0.057/0.091 ms
root@PCIedemogem1demov1:~#
root@PCIedemogem1demov1:~#

Please help. 

  • Hello,

    So you initially state that you can see and ping in uboot, but are failing to do so in linux. I would recommend investigating the differences between the linux and uboot drivers.

    What in the uboot drivers is happening to the PHY which is not happening with the linux driver? Does the driver see the PHY?

    Sincerely,

    Gerome

  • Hi Gerome, 

    I am not a driver expert and hence I cannot interpret the differences between the u-boot & kernel drivers. 

    I read the PHY reg values from both the u-boot (mdio tool) & kernel (PHYTOOL) and compared both the values. 

    PHYTOOL : 
    root@QPCIe1M:~# phytool read eth0/0x5/0
    0x1140
    root@QPCIe1M:~# phytool read eth0/0x5/1
    0x796d
    root@QPCIe1M:~# phytool read eth0/0x5/2
    0x2000
    root@QPCIe1M:~# phytool read eth0/0x5/3
    0xa231
    root@QPCIe1M:~# phytool read eth0/0x5/4
    0x01e1
    root@QPCIe1M:~# phytool read eth0/0x5/5
    0xc1e1
    root@QPCIe1M:~# phytool read eth0/0x5/6
    0x006d
    root@QPCIe1M:~# phytool read eth0/0x5/7
    0x2001
    root@QPCIe1M:~# phytool read eth0/0x5/8
    0x6801
    root@QPCIe1M:~# phytool read eth0/0x5/9
    0x0300

    u-boot : 
    ZynqMP> mdio read 0x5 0-9
    0x5 is not a known ethernet
    Reading from bus eth0
    PHY at address 5:
    0 - 0x1140
    1 - 0x796d
    2 - 0x2000
    3 - 0xa231
    4 - 0x1e1
    5 - 0xc1e1
    6 - 0x6f
    7 - 0x2001
    8 - 0x6801
    9 - 0x300

    In both cases the BMSR (0x0001) , the PHY has established valid link (bit2, LINK STATUS). 

    The only reg values difference is 

    REG 0x06

    In linux it is : 0x006d

    In u-boot it is : 0x006f

    Could you please help out with next step to debug this issue. 

    Thanks,
    Sujan

  • Hi Sujan,

    Can you please provide dump of Reg 0x32, 0x86, 0x6E, and 0x6F between UBOOT and Linux? Please note these registers require 4 step procedure (Reg 0xD, 0xE, 0xD, 0xE) to obtain correct values as explained in datasheet. 

    As link is still present, I would like to focus in on differences of the MAC interface.

    Sincerely,

    Gerome

  • Hi Gerome, 

    Here is the PHY reg dump of both linux & u-boot, they are same.

    Linux
    root@QPCIe1M:~# devmem 0xff0c0034 w 0x52b6001f
    root@QPCIe1M:~# devmem 0xff0c0034 w 0x52ba0032
    root@QPCIe1M:~# devmem 0xff0c0034 w 0x52b6401f
    root@QPCIe1M:~# devmem 0xff0c0034 w 0x62ba0000
    root@QPCIe1M:~# devmem 0xff0c0034
    0x62BA00D3
    root@QPCIe1M:~#
    root@QPCIe1M:~#
    root@QPCIe1M:~# devmem 0xff0c0034 w 0x52b6001f
    root@QPCIe1M:~# devmem 0xff0c0034 w 0x52ba0086
    root@QPCIe1M:~# devmem 0xff0c0034 w 0x52b6401f
    root@QPCIe1M:~# devmem 0xff0c0034 w 0x62ba0000
    root@QPCIe1M:~# devmem 0xff0c0034
    0x62BA0077
    root@QPCIe1M:~#
    root@QPCIe1M:~#
    root@QPCIe1M:~#
    root@QPCIe1M:~# devmem 0xff0c0034 w 0x52b6001f
    root@QPCIe1M:~# devmem 0xff0c0034 w 0x52ba006e
    root@QPCIe1M:~# devmem 0xff0c0034 w 0x52b6401f
    root@QPCIe1M:~# devmem 0xff0c0034 w 0x62ba0000
    root@QPCIe1M:~# devmem 0xff0c0034
    0x62BA0005
    root@QPCIe1M:~#
    root@QPCIe1M:~#
    root@QPCIe1M:~# devmem 0xff0c0034 w 0x52b6001f
    root@QPCIe1M:~# devmem 0xff0c0034 w 0x52ba006f
    root@QPCIe1M:~# devmem 0xff0c0034 w 0x52b6401f
    root@QPCIe1M:~# devmem 0xff0c0034 w 0x62ba0000
    root@QPCIe1M:~# devmem 0xff0c0034
    0x62BA0100

    The last 2 bytes of the return value is the reg value i.e. 

    0x0032 -> 0xD3
    0x0086 -> 0x77
    0x006E -> 0x5
    0x006F -> 0x100

    u-boot: 
    ZynqMP> mw 0xff0c0034 0x52b6001f
    ZynqMP> mw 0xff0c0034 0x52ba0032
    ZynqMP> mw 0xff0c0034 0x52b6401f
    ZynqMP> mw 0xff0c0034 0x62ba0000
    ZynqMP> md 0xff0c0034 1
    ff0c0034: 62ba00d3                             ...b
    ZynqMP> <INTERRUPT>
    ZynqMP>
    ZynqMP>
    ZynqMP> mw 0xff0c0034 0x52b6001f
    ZynqMP> mw 0xff0c0034 0x52ba0086
    ZynqMP> mw 0xff0c0034 0x52b6401f
    ZynqMP> mw 0xff0c0034 0x62ba0000
    ZynqMP> md 0xff0c0034 1
    ff0c0034: 62ba0077                             w..b
    ZynqMP> <INTERRUPT>
    ZynqMP>
    ZynqMP>
    ZynqMP> mw 0xff0c0034 0x52b6001f
    ZynqMP> mw 0xff0c0034 0x52ba006e
    ZynqMP> mw 0xff0c0034 0x52b6401f
    ZynqMP> mw 0xff0c0034 0x62ba0000
    ZynqMP> md 0xff0c0034 1
    ff0c0034: 62ba0005                             ...b
    ZynqMP> <INTERRUPT>
    ZynqMP>
    ZynqMP>
    ZynqMP> mw 0xff0c0034 0x52b6001f
    ZynqMP> mw 0xff0c0034 0x52ba006f
    ZynqMP> mw 0xff0c0034 0x52b6401f
    ZynqMP> mw 0xff0c0034 0x62ba0000
    ZynqMP> md 0xff0c0034 1
    ff0c0034: 62ba0100                             ...b
    ZynqMP>



    Regards,

    Sujan

  • Hi, 

    I managed to fix it, it was the wrong PHY address in device tree. It was supposed to be 0x5 

    Thanks,
    Sujan