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.

TDA4VM: MCU RGMII PHY connection

Part Number: TDA4VM

Hi TI members,

We are connecting TDA4 to a Marvell clause 45 PHY through MCU RGMII on our custome board.

After setting fixed-link in linux device tree, we can see the speed is 1000 and duplex is full using ethtool.

However, we still cannot ping to PC.

And, the phytool, which works fine without fixed-link, cannot read the correct register value.

Below is part of our device tree.

Is there any setting we missed?

&davinci_mdio {
        phy0: ethernet-phy@0 {
                reg = <2>;
                ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
                ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
        };
};

&cpsw_port1 {
    
        phy-mode = "rgmii-rxid";
        phy-handle = <&phy0>;

        fixed-link {
                speed = <1000>;
                full-duplex;
        };
    
};

Best regards,

Eric Chen

  • Hi,

    When using fixed-link, you don't have to give phy properties.
    Could you test by removing "phy-handle"?

    Regards,
    Vishal

  • Hi Vishal,

    Thank you for the reply.

    I removed phy-handle but the situation seems to be the same.

    I also tried changing phy-mode from "rgmii-rxid" to "rgmii", but it still didn't work.

    &cpsw_port1 {
            phy-mode = "rgmii";
    
            fixed-link {
                    speed = <1000>;
                    full-duplex;
            };
    };

    If I set compatible to "ethernet-phy-ieee802.3-c45", I cannot even see eth0 in linux.

    &davinci_mdio {
            phy0: ethernet-phy@2 {
                    compatible = "ethernet-phy-ieee802.3-c45";
                    reg = <2>;
                    ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
                    ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
            };
    };

    Here are some question:

    1. Is it normal that SMI fails when using fixed-link?

    2. If I want to specify which phy driver should be used in the device tree,

        should I configure the "compatible"?

    Best regards,

    Eric Chen

  • Hi Eric,

    Sorry, forgot to ask you this initially.
    'fixed-link' is used when doing MAC to MAC connection, is that what you are trying to achieve?

    Regards,
    Vishal

  • Hi Vishal,

    I tried to modified the phy driver (drivers/net/phy/marvell.c) based on 88Q2122 API and used "compatible" to specify the driver,

    but the link of phy is still not up.

    Ethtool shows the interface is up, but the transceiver is internal, I am not sure if this is normal.

    Settings for eth0:
            Supported ports: [ TP AUI BNC MII FIBRE ]
            Supported link modes:   1000baseT/Half 1000baseT/Full
            Supported pause frame use: Symmetric Receive-only
            Supports auto-negotiation: Yes
            Supported FEC modes: Not reported
            Advertised link modes:  1000baseT/Half 1000baseT/Full
            Advertised pause frame use: No
            Advertised auto-negotiation: Yes
            Advertised FEC modes: Not reported
            Link partner advertised link modes:  1000baseT/Full
            Link partner advertised pause frame use: No
            Link partner advertised auto-negotiation: No
            Link partner advertised FEC modes: Not reported
            Speed: 1000Mb/s
            Duplex: Full
            Port: MII
            PHYAD: 0
            Transceiver: internal
            Auto-negotiation: on
            Supports Wake-on: d
            Wake-on: d
            Current message level: 0x00000000 (0)
    
            Link detected: yes

    When I tried to ping out, the Tx packet increase, but there is no Rx packet at all.

    eth0      Link encap:Ethernet  HWaddr E4:15:F6:57:FE:8D
              inet6 addr: fe80::e615:f6ff:fe57:fe8d/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:58 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:0 (0.0 B)  TX bytes:11448 (11.1 KiB)
    
    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:82 errors:0 dropped:0 overruns:0 frame:0
              TX packets:82 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:6220 (6.0 KiB)  TX bytes:6220 (6.0 KiB)

    Best Regards,

    Eric Chen

  • Can you try testing 100 Mbps mode.

  • Hi Vishal,

    Thank you for the reply.

    We tried to connect SoC to a Marvell PHY, which I believe is MAC-to-PHY.

    So, we should use phy-handle instead of fixed-link and specify the driver in the phy subnode, right?

    If it is, here is a problem.

    Without fixed-link, the clock we measured at TDA4 side is 25MHz, not 125MHz for RGMII,

    is this caused by the uncompleted  auto-negotiation with PHY?

    Best regards,

    Eric Chen

  • Hi Vishal,

    Thank you for the quick reply.

    I'll test it and get back soon.

    Best regards,

    Eric Chen

  • Hi Vishal,

    In Marvell's document, the PHY can only be set in 1000Base-T1 mode,

    but we change the hardware setting and now the clock from PHY is 25MHz.

    Here is the situation:

    1. The registers of PHY shows that link status of PMA/PMD and PCS are up.

    2. The registers of TDA4 shows that the RGMII link is up.

    root@j7-evm:~# devmem2 0x46000030
    /dev/mem opened.
    Memory mapped at address 0xffffa3640000.
    Read at address  0x46000030 (0xffffa3640030): 0x00000003

    3. When I ping from PC to TDA4, PHY can get data from PC, but TDA4 cannot receive data.

    4. When I ping from TDA4 to PC, PHY cannot get data from TDA4.

    Below is the device tree setting now.

    &davinci_mdio {
            phy0: ethernet-phy@2 {
                    reg = <2>;
            };  
    };
    
    &cpsw_port1 {
            phy-mode = "rgmii-id";
            phy-handle = <&phy0>;
    };

    Best regards,

    Eric Chen

  • Hi Eric,

    Could you check the stats registers?

    Below sections of TRM has the register details

    12.2.1.6.8 MCU_CPSW0_STAT0 Registers
    12.2.1.6.9 MCU_CPSW0_STAT1 Registers

    Regards,
    Vishal

  • Hi Vishal,

    I checked all the registers of MCU_CPSW0_STAT0 and MCU_CPSW0_STAT1,

    the values are all 0x00000000 without exception.

    Best regards,

    Eric Chen

  • Hi Vishal,

    Update some of my situation.

    ip link shows no carrier, and the link is not ready.

    root@j7-evm:~# ip link
    1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
        link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000
        link/ether e4:15:f6:57:fe:8d brd ff:ff:ff:ff:ff:ff
    root@j7-evm:~# ifconfig eth0 down
    root@j7-evm:~# ifconfig eth0 up
    [ 7239.397793] Generic PHY k3-cpsw-mdio:02: attached PHY driver [Generic PHY] (mii_bus:phy_addr=k3-cpsw-mdio:02, irq=POLL)
    [ 7239.409168] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    root@j7-evm:~# [ 7240.435128] am65-cpsw-nuss 46000000.ethernet eth0: Link is Down

    I tried to add compatible = "ethernet-phy-ieee802.3-c45" in the device tree, but there is no eth0 in linux then.

    &davinci_mdio {
            phy0: ethernet-phy@2 {
                    compatible = "ethernet-phy-ieee802.3-c45";
                    reg = <2>;
                    status = "okay";
            };  
    };
    
    &cpsw_port1 {
            phy-mode = "rgmii-id";
            phy-handle = <&phy0>;  
    };

    And I found some error message in boot log, could you please help check these?

    ...
    [    1.261872] am65-cpsw-nuss 46000000.ethernet: rx-flow-id-base is not set -22
    [    1.268921] am65-cpsw-nuss 46000000.ethernet: am65_cpsw_nuss_probe[2069], Print reset_gpio=-517
    [    1.277700] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA00101, cpsw version 0x6BA80100 Ports: 2
    [    1.289136] UDMA has not been proped
    [    1.292709] am65-cpsw-nuss 46000000.ethernet: Failed to request tx dma channel -517
    [    1.301152] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010a, freq:200000000, add_val:4 pps:0
    ...
    [    4.097771] am65-cpsw-nuss 46000000.ethernet: rx-flow-id-base is not set -22
    [    4.104823] am65-cpsw-nuss 46000000.ethernet: am65_cpsw_nuss_probe[2069], Print reset_gpio=116
    [    5.138458] am65-cpsw-nuss 46000000.ethernet: am65_cpsw_nuss_probe[2083], Print reset to 1
    [    5.146803] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA00101, cpsw version 0x6BA80100 Ports: 2
    [    5.164470] am65-cpsw-nuss 46000000.ethernet: set new flow-id-base 48
    [    5.174951] pps pps0: new PPS source ptp1
    [    5.179081] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010a, freq:500000000, add_val:1 pps:1
    [    5.188024] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 0.4
    [    5.195228] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
    [    5.238460] am65-cpsw-nuss 46000000.ethernet: davinci mdio revision 9.7, bus freq 1000000
    [    5.246620] libphy: 46000000.ethernet: probed
    ...
    [    8.383800] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    ...

    Best regards,

    Eric Chen

  • Hi Eric,

    Let me check and get back if we support clause45 PHYs in Linux.

    Regards,
    Vishal

  • Hi Vishal,

    Is there any update?

    Though the Marvell PHY uses clause 45, it also support clause 22 to access MMD registers.

    I am now checking if the driver works fine and will also update the status here.

    Best regards,

    Eric Chen

  • Hi Eric,

    We don't have support for Clause 45 PHY in TI driver, it should be used in C22 mode if the PHY supports it.
    So this dts property "ethernet-phy-ieee802.3-c45" will not work.

    Could you share the full boot log without this compatible field?

    Regards,
    Vishal

  • Hi Vishal,

    Thank you for the reply.

    I am now modifying marvell phy driver and generic clause 45 phy driver, and try to get it works.

    Here is the complete bootlog with some extra message printed in phy driver.

    U-Boot 2019.01-g753252f622-dirty (Jul 23 2020 - 12:55:54 +0000)
    
    SoC:   J721E PG 1.0
    Model: Texas Instruments K3 J721E SoC
    Reading on-board EEPROM at 0x50 failed 1
    Board: J721EX-PM1-SOM rev E2
    DRAM:  4 GiB
    Flash: 0 Bytes
    MMC:   sdhci@4f80000: 0
    Loading Environment from MMC... OK
    In:    serial@2800000
    Out:   serial@2800000
    Err:   serial@2800000
    Reading on-board EEPROM at 0x50 failed 1
    Net:   Sentinen Print pull high reset
    eth0: ethernet@046000000
    Hit any key to stop autoboot:  0
    ** File not found /lib/firmware/app_remoteswitchcfg_server.xer5f **
    ## No elf image at address 0x82000000
    Loading elf failedi -22
    Load Remote Processor 2 with data@addr=0x82000000 9765024 bytes: Failed!
    13338632 bytes read in 45 ms (282.7 MiB/s)
    98820 bytes read in 2 ms (47.1 MiB/s)
    ## Flattened Device Tree blob at 82000000
       Booting using the fdt blob at 0x82000000
       Loading Device Tree to 00000000fdda3000, end 00000000fdebefff ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080]
    [    0.000000] Linux version 4.19.94-g0b610fb488 (oe-user@oe-host) (gcc version 8.3.0 (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36))) #1 SMP PREEMPT Fri Jul 17 04:08:41 UTC 2020
    [    0.000000] Machine model: Texas Instruments K3 J721E SoC
    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
    [    0.000000] bootconsole [ns16550a0] enabled
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a0000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a0100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a1000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a1100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a2000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a2100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a3000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a3000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a3100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a3100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a4000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a4100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a5000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a5000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a5100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a5100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a6000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node c66-dma-memory@a6000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a6100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node c66-memory@a6100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a7000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node c66-dma-memory@a7000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a7100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node c66-memory@a7100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a8000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node c71-dma-memory@a8000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a8100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node c71-memory@a8100000, compatible id shared-dma-pool
    [    0.000000] cma: Reserved 512 MiB at 0x00000000c0000000
    [    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: Trusted OS migration not required
    [    0.000000] psci: SMC Calling Convention v1.1
    [    0.000000] random: get_random_bytes called from start_kernel+0x94/0x3e4 with crng_init=0
    [    0.000000] percpu: Embedded 2 pages/cpu s48536 r8192 d74344 u131072
    [    0.000000] Detected PIPT I-cache on CPU0
    [    0.000000] CPU features: enabling workaround for EL2 vector hardening
    [    0.000000] Speculative Store Bypass Disable mitigation not required
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 62339
    [    0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 mtdparts=47040000.spi.0:512k(ospi.tiboot3),2m(ospi.tispl),4m(ospi.u-boot),128k(ospi.env),128k(ospi.env.backup),1m(ospi.sysfw),-@8m(ospi.rootfs) root=PARTUUID=a3179f72-7984-407e-bdf3-c374e0d3d24f rw rootfstype=ext4 rootwait
    [    0.000000] Dentry cache hash table entries: 524288 (order: 6, 4194304 bytes)
    [    0.000000] Inode-cache hash table entries: 262144 (order: 5, 2097152 bytes)
    [    0.000000] software IO TLB: mapped [mem 0xf9da0000-0xfdda0000] (64MB)
    [    0.000000] Memory: 3377664K/3993600K available (8510K kernel code, 738K rwdata, 3136K rodata, 576K init, 641K bss, 91648K reserved, 524288K cma-reserved)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=2.
    [    0.000000]  Tasks RCU enabled.
    [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
    [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
    [    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
    [    0.000000] GICv3: Distributor has no Range Selector support
    [    0.000000] GICv3: no VLPI support, no direct LPI support
    [    0.000000] ITS [mem 0x01820000-0x0182ffff]
    [    0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS
    [    0.000000] ITS@0x0000000001820000: allocated 1048576 Devices @8c0800000 (flat, esz 8, psz 64K, shr 0)
    [    0.000000] ITS: using cache flushing for cmd queue
    [    0.000000] GIC: using LPI property table @0x00000008c00a0000
    [    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001900000
    [    0.000000] CPU0: using LPI pending table @0x00000008c00b0000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
    [    0.000001] sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.008345] Console: colour dummy device 80x25
    [    0.012898] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.023566] pid_max: default: 32768 minimum: 301
    [    0.028306] Security Framework initialized
    [    0.032509] Mount-cache hash table entries: 8192 (order: 0, 65536 bytes)
    [    0.039364] Mountpoint-cache hash table entries: 8192 (order: 0, 65536 bytes)
    [    0.070697] ASID allocator initialised with 32768 entries
    [    0.084223] rcu: Hierarchical SRCU implementation.
    [    0.097166] Platform MSI: gic-its@1820000 domain created
    [    0.102692] PCI/MSI: /interconnect@100000/interrupt-controller@1800000/gic-its@1820000 domain created
    [    0.120128] smp: Bringing up secondary CPUs ...
    [    0.157027] Detected PIPT I-cache on CPU1
    [    0.157044] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000
    [    0.157071] CPU1: using LPI pending table @0x00000008c0310000
    [    0.157092] CPU1: Booted secondary processor 0x0000000001 [0x411fd080]
    [    0.157131] smp: Brought up 1 node, 2 CPUs
    [    0.184966] SMP: Total of 2 processors activated.
    [    0.189775] CPU features: detected: GIC system register CPU interface
    [    0.196356] CPU features: detected: 32-bit EL0 Support
    [    0.201833] CPU: All CPU(s) started at EL2
    [    0.206020] alternatives: patching kernel code
    [    0.210995] devtmpfs: initialized
    [    0.218584] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.228550] futex hash table entries: 512 (order: -1, 32768 bytes)
    [    0.235248] pinctrl core: initialized pinctrl subsystem
    [    0.240905] NET: Registered protocol family 16
    [    0.245777] vdso: 2 pages (1 code @ (____ptrval____), 1 data @ (____ptrval____))
    [    0.253340] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.262517] DMA: preallocated 256 KiB pool for atomic allocations
    [    0.275446] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.282296] HugeTLB registered 512 MiB page size, pre-allocated 0 pages
    [    0.289686] cryptd: max_cpu_qlen set to 1000
    [    0.294521] vsys_3v3: supplied by evm_12v0
    [    0.298780] vsys_5v0: supplied by evm_12v0
    [    0.303286] SCSI subsystem initialized
    [    0.307337] media: Linux media interface: v0.10
    [    0.311976] videodev: Linux video capture interface: v2.00
    [    0.317590] pps_core: LinuxPPS API ver. 1 registered
    [    0.322663] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.332001] PTP clock support registered
    [    0.336015] EDAC MC: Ver: 3.0.0
    [    0.339788] Advanced Linux Sound Architecture Driver Initialized.
    [    0.346319] clocksource: Switched to clocksource arch_sys_counter
    [    0.352609] VFS: Disk quotas dquot_6.6.0
    [    0.356653] VFS: Dquot-cache hash table entries: 8192 (order 0, 65536 bytes)
    [    0.366036] NET: Registered protocol family 2
    [    0.370736] tcp_listen_portaddr_hash hash table entries: 4096 (order: 0, 65536 bytes)
    [    0.378788] TCP established hash table entries: 32768 (order: 2, 262144 bytes)
    [    0.386273] TCP bind hash table entries: 32768 (order: 3, 524288 bytes)
    [    0.393254] TCP: Hash tables configured (established 32768 bind 32768)
    [    0.399982] UDP hash table entries: 2048 (order: 0, 65536 bytes)
    [    0.406163] UDP-Lite hash table entries: 2048 (order: 0, 65536 bytes)
    [    0.412835] NET: Registered protocol family 1
    [    0.421533] RPC: Registered named UNIX socket transport module.
    [    0.427585] RPC: Registered udp transport module.
    [    0.432388] RPC: Registered tcp transport module.
    [    0.437190] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.444004] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
    [    0.453597] Initialise system trusted keyrings
    [    0.458205] workingset: timestamp_bits=46 max_order=16 bucket_order=0
    [    0.466247] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.472412] NFS: Registering the id_resolver key type
    [    0.477581] Key type id_resolver registered
    [    0.481853] Key type id_legacy registered
    [    0.485950] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.492853] 9p: Installing v9fs 9p2000 file system support
    [    0.499973] Key type asymmetric registered
    [    0.504160] Asymmetric key parser 'x509' registered
    [    0.509163] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [    0.516722] io scheduler noop registered
    [    0.520728] io scheduler deadline registered
    [    0.525130] io scheduler cfq registered (default)
    [    0.529937] io scheduler mq-deadline registered
    [    0.534564] io scheduler kyber registered
    [    0.539448] pinctrl-single 4301c000.pinmux: 94 pins, size 376
    [    0.545530] pinctrl-single 11c000.pinmux: 173 pins, size 692
    [    0.551656] pinctrl-single a40000.timesync_router: 512 pins, size 2048
    [    0.560525] ti-pat 31010000.pat: Found PAT Rev 1.0 with 16384 pages
    [    0.566946] ti-pat 31010000.pat: Failed to create 31010000.pat debugfs directory
    [    0.574619] ti-pat 31011000.pat: Found PAT Rev 1.0 with 16384 pages
    [    0.581030] ti-pat 31011000.pat: Failed to create 31011000.pat debugfs directory
    [    0.588674] ti-pat 31012000.pat: Found PAT Rev 1.0 with 16384 pages
    [    0.595085] ti-pat 31012000.pat: Failed to create 31012000.pat debugfs directory
    [    0.602725] ti-pat 31013000.pat: Found PAT Rev 1.0 with 2048 pages
    [    0.609047] ti-pat 31013000.pat: Failed to create 31013000.pat debugfs directory
    [    0.616688] ti-pat 31014000.pat: Found PAT Rev 1.0 with 2048 pages
    [    0.623009] ti-pat 31014000.pat: Failed to create 31014000.pat debugfs directory
    [    0.631895] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [    0.643080] brd: module loaded
    [    0.648804] loop: module loaded
    [    0.653045] libphy: Fixed MDIO Bus: probed
    [    0.657389] tun: Universal TUN/TAP device driver, 1.6
    [    0.662768] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k
    [    0.670774] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
    [    0.676838] sky2: driver version 1.30
    [    0.681115] VFIO - User Level meta-driver version: 0.3
    [    0.686671] i2c /dev entries driver
    [    0.690652] sdhci: Secure Digital Host Controller Interface driver
    [    0.696968] sdhci: Copyright(c) Pierre Ossman
    [    0.701561] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.707787] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.714605] optee: probing for conduit method from DT.
    [    0.719865] optee: revision 3.7 (5208e5c1)
    [    0.720015] optee: initialized driver
    [    0.728554] NET: Registered protocol family 17
    [    0.733152] 9pnet: Installing 9P2000 support
    [    0.737530] Key type dns_resolver registered
    [    0.742091] registered taskstats version 1
    [    0.746276] Loading compiled-in X.509 certificates
    [    0.755178] ti-sci 44083000.dmsc: ABI: 2.9 (firmware rev 0x0013 '19.12.1-v2019.12a (Terrific Lla')
    [    0.780150] random: fast init done
    [    0.816447] omap_i2c 40b00000.i2c: bus 0 rev0.12 at 100 kHz
    [    0.822424] omap_i2c 40b10000.i2c: bus 1 rev0.12 at 100 kHz
    [    0.828377] omap_i2c 42120000.i2c: bus 2 rev0.12 at 100 kHz
    [    0.834346] omap_i2c 2000000.i2c: bus 3 rev0.12 at 400 kHz
    [    0.840213] omap_i2c 2010000.i2c: bus 4 rev0.12 at 400 kHz
    [    0.846076] omap_i2c 2020000.i2c: bus 5 rev0.12 at 400 kHz
    [    0.851980] omap_i2c 2030000.i2c: bus 6 rev0.12 at 400 kHz
    [    0.857837] omap_i2c 2040000.i2c: bus 7 rev0.12 at 100 kHz
    [    0.863689] omap_i2c 2050000.i2c: bus 8 rev0.12 at 100 kHz
    [    0.878661] cdns-torrent-phy 5050000.serdes: 4 lanes, max bit rate 5.400 Gbps
    [    0.887336] cdns-pcie-host d000000.pcie: missing "mem"
    [    0.892959] cdns-pcie-host d800000.pcie: missing "mem"
    [    0.898569] cdns-pcie-ep e000000.pcie-ep: Linked as a consumer to phy-5020000.serdes.2
    [    0.908071] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,20] sci-dev-id:235
    [    0.917942] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled
    [    0.924703] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66346100, num_proxies:64
    [    0.932375] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:1024, gp-rings[440,150] sci-dev-id:211
    [    0.942514] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled
    [    0.949272] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66346100, num_proxies:64
    [    0.956880] omap8250 40a00000.serial: PM domain pd:149 will not be powered off
    [    0.964393] 40a00000.serial: ttyS1 at MMIO 0x40a00000 (irq = 7, base_baud = 6000000) is a 8250
    [    0.973493] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 18, base_baud = 3000000) is a 8250
    [    0.982230] console [ttyS2] enabled
    [    0.982230] console [ttyS2] enabled
    [    0.989263] bootconsole [ns16550a0] disabled
    [    0.989263] bootconsole [ns16550a0] disabled
    [    0.998153] 2810000.serial: ttyS3 at MMIO 0x2810000 (irq = 19, base_baud = 3000000) is a 8250
    [    1.006946] 2840000.serial: ttyS6 at MMIO 0x2840000 (irq = 20, base_baud = 3000000) is a 8250
    [    1.015667] arm-smmu-v3 36600000.smmu: ias 48-bit, oas 48-bit (features 0x00001faf)
    [    1.024468] arm-smmu-v3 36600000.smmu: msi_domain absent - falling back to wired irqs
    [    1.034107] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vdd-hba-supply regulator, assuming enabled
    [    1.044616] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vcc-supply regulator, assuming enabled
    [    1.054771] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vccq-supply regulator, assuming enabled
    [    1.065012] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vccq2-supply regulator, assuming enabled
    [    1.075824] scsi host0: ufshcd
    [    1.091828] cadence-qspi 47040000.spi: mt35xu512aba_v2 (65536 Kbytes)
    [    1.098265] 7 cmdlinepart partitions found on MTD device 47040000.spi.0
    [    1.104865] Creating 7 MTD partitions on "47040000.spi.0":
    [    1.110337] 0x000000000000-0x000000080000 : "ospi.tiboot3"
    [    1.116095] 0x000000080000-0x000000280000 : "ospi.tispl"
    [    1.121593] 0x000000280000-0x000000680000 : "ospi.u-boot"
    [    1.127166] 0x000000680000-0x0000006a0000 : "ospi.env"
    [    1.132477] 0x0000006a0000-0x0000006c0000 : "ospi.env.backup"
    [    1.138418] 0x0000006c0000-0x0000007c0000 : "ospi.sysfw"
    [    1.143898] 0x000000800000-0x000004000000 : "ospi.rootfs"
    [    1.258398] cadence-qspi 47040000.spi: Cadence QSPI NOR probe failed -517
    [    1.265736] am65-cpsw-nuss 46000000.ethernet: rx-flow-id-base is not set -22
    [    1.272784] am65-cpsw-nuss 46000000.ethernet: am65_cpsw_nuss_probe[2069], Print reset_gpio=-517
    [    1.281564] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA00101, cpsw version 0x6BA80100 Ports: 2
    [    1.293003] UDMA has not been proped
    [    1.296575] am65-cpsw-nuss 46000000.ethernet: Failed to request tx dma channel -517
    [    1.305021] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010a, freq:200000000, add_val:4 pps:0
    [    1.313506] mmc0: Unknown controller version (4). You may experience problems.
    [    1.320753] mmc0: CQHCI version 5.10
    [    1.355039] mmc0: SDHCI controller on 4f80000.sdhci [4f80000.sdhci] using ADMA 64-bit
    [    1.367990] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fc7100
    [    1.374905] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fc7100
    [    1.381817] omap-mailbox 31f82000.mailbox: omap mailbox rev 0x66fc7100
    [    1.388724] omap-mailbox 31f83000.mailbox: omap mailbox rev 0x66fc7100
    [    1.395570] omap-mailbox 31f84000.mailbox: omap mailbox rev 0x66fc7100
    [    1.430025] mmc0: Command Queue Engine enabled
    [    1.434464] mmc0: new HS400 MMC card at address 0001
    [    1.439805] mmcblk0: mmc0:0001 S0J58X 59.3 GiB
    [    1.444599] mmcblk0boot0: mmc0:0001 S0J58X partition 1 31.5 MiB
    [    1.450758] mmcblk0boot1: mmc0:0001 S0J58X partition 2 31.5 MiB
    [    1.456746] mmcblk0rpmb: mmc0:0001 S0J58X partition 3 4.00 MiB, chardev (242:0)
    [    1.469446]  mmcblk0: p1
    [    1.546325] cdns-ufshcd 4e84000.ufs: link startup failed 1
    [    1.551799] cdns-ufshcd 4e84000.ufs: UFS Host state=0
    [    1.556838] cdns-ufshcd 4e84000.ufs: lrb in use=0x0, outstanding reqs=0x0 tasks=0x0
    [    1.564475] cdns-ufshcd 4e84000.ufs: saved_err=0x0, saved_uic_err=0x0
    [    1.570899] cdns-ufshcd 4e84000.ufs: Device power mode=1, UIC link state=0
    [    1.577757] cdns-ufshcd 4e84000.ufs: PM in progress=0, sys. suspended=0
    [    1.584354] cdns-ufshcd 4e84000.ufs: Auto BKOPS=0, Host self-block=0
    [    1.590691] cdns-ufshcd 4e84000.ufs: Clk gate=1
    [    1.595208] cdns-ufshcd 4e84000.ufs: error handling flags=0x0, req. abort count=0
    [    1.602671] cdns-ufshcd 4e84000.ufs: Host capabilities=0x1587031f, caps=0x0
    [    1.609615] cdns-ufshcd 4e84000.ufs: quirks=0x4, dev. quirks=0x0
    [    1.615607] cdns-ufshcd 4e84000.ufs: ufshcd_print_pwr_info:[RX, TX]: gear=[0, 0], lane[0, 0], pwr[INVALID MODE, INVALID MODE], rate = 0
    [    1.627766] host_regs: 00000000: 1587031f 00000000 00000210 00000000
    [    1.634104] host_regs: 00000010: 00000000 00000000 00000000 00000000
    [    1.640442] host_regs: 00000020: 00000000 00000470 00000000 00000000
    [    1.646779] host_regs: 00000030: 00000008 00000001 00000000 00000000
    [    1.653117] host_regs: 00000040: 00000000 00000000 00000000 00000000
    [    1.659454] host_regs: 00000050: 00000000 00000000 00000000 00000000
    [    1.665792] host_regs: 00000060: 00000000 00000000 00000000 00000000
    [    1.672130] host_regs: 00000070: 00000000 00000000 00000000 00000000
    [    1.678469] host_regs: 00000080: 00000000 00000000 00000000 00000000
    [    1.684807] host_regs: 00000090: 00000000 00000000 00000000 00000000
    [    1.691145] cdns-ufshcd 4e84000.ufs: hba->ufs_version = 0x210, hba->capabilities = 0x1587031f
    [    1.699650] cdns-ufshcd 4e84000.ufs: hba->outstanding_reqs = 0x0, hba->outstanding_tasks = 0x0
    [    1.708240] cdns-ufshcd 4e84000.ufs: last_hibern8_exit_tstamp at 0 us, hibern8_exit_cnt = 0
    [    1.716572] cdns-ufshcd 4e84000.ufs: clk: core_clk, rate: 250000000
    [    1.719458] cdns-pcie-host d000000.pcie: missing "mem"
    [    1.722824] cdns-ufshcd 4e84000.ufs: clk: phy_clk, rate: 19200000
    [    1.722825] cdns-ufshcd 4e84000.ufs: clk: ref_clk, rate: 19200000
    [    1.740128] cdns-pcie-host d000000.pcie: Linked as a consumer to phy-5000000.serdes.0
    [    2.749221] cdns-pcie-host d000000.pcie: Phy link never came up
    [    2.755134] cdns-pcie-host d000000.pcie: host bridge /interconnect@100000/pcie@2900000/pcie@d000000 ranges:
    [    2.764867] cdns-pcie-host d000000.pcie:    IO 0x10001000..0x10010fff -> 0x10001000
    [    2.772513] cdns-pcie-host d000000.pcie:   MEM 0x4000000000..0x407fffffff -> 0x00000000
    [    2.780569] cdns-pcie-host d000000.pcie: PCI host bridge to bus 0000:00
    [    2.787171] pci_bus 0000:00: root bus resource [bus 00-0f]
    [    2.792644] pci_bus 0000:00: root bus resource [io  0x0000-0xffff] (bus address [0x10001000-0x10010fff])
    [    2.802103] pci_bus 0000:00: root bus resource [mem 0x4000000000-0x407fffffff] (bus address [0x00000000-0x7fffffff])
    [    2.812625] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x4 may corrupt adjacent RW1C bits
    [    2.822260] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x4 may corrupt adjacent RW1C bits
    [    2.831918] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x92 may corrupt adjacent RW1C bits
    [    2.841640] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0xb2 may corrupt adjacent RW1C bits
    [    2.851389] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x84 may corrupt adjacent RW1C bits
    [    2.862980] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
    [    2.870968] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x3e may corrupt adjacent RW1C bits
    [    2.880690] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x3e may corrupt adjacent RW1C bits
    [    2.890413] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x3e may corrupt adjacent RW1C bits
    [    2.900132] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x6 may corrupt adjacent RW1C bits
    [    2.911476] pci_bus 0000:00: 1-byte config write to 0000:00:00.0 offset 0x1a may corrupt adjacent RW1C bits
    [    2.921204] pci 0000:00:00.0: PCI bridge to [bus 01]
    [    2.926266] cdns-pcie-host d800000.pcie: missing "mem"
    [    2.931414] cdns-pcie-host d800000.pcie: Linked as a consumer to phy-5010000.serdes.1
    [    3.940505] cdns-pcie-host d800000.pcie: Phy link never came up
    [    3.946414] cdns-pcie-host d800000.pcie: host bridge /interconnect@100000/pcie@2910000/pcie@d800000 ranges:
    [    3.956144] cdns-pcie-host d800000.pcie:    IO 0x18001000..0x18010fff -> 0x18001000
    [    3.963789] cdns-pcie-host d800000.pcie:   MEM 0x4100000000..0x417fffffff -> 0x00000000
    [    3.971830] cdns-pcie-host d800000.pcie: PCI host bridge to bus 0001:00
    [    3.978431] pci_bus 0001:00: root bus resource [bus 00-0f]
    [    3.983903] pci_bus 0001:00: root bus resource [io  0x10000-0x1ffff] (bus address [0x18001000-0x18010fff])
    [    3.993535] pci_bus 0001:00: root bus resource [mem 0x4100000000-0x417fffffff] (bus address [0x00000000-0x7fffffff])
    [    4.005846] pci 0001:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
    [    4.015495] pci 0001:00:00.0: PCI bridge to [bus 01]
    [    4.021061] ti-udma 285c0000.udmap: Channels: 24 (tchan: 48, echan: 0, rchan: 48, rflow: 96)
    [    4.030634] ti-udma 31150000.udmap: Channels: 84 (tchan: 140, echan: 160, rchan: 140, rflow: 300)
    [    4.042782] cadence-qspi 47040000.spi: mt35xu512aba_v2 (65536 Kbytes)
    [    4.049213] 7 cmdlinepart partitions found on MTD device 47040000.spi.0
    [    4.055814] Creating 7 MTD partitions on "47040000.spi.0":
    [    4.061292] 0x000000000000-0x000000080000 : "ospi.tiboot3"
    [    4.067022] 0x000000080000-0x000000280000 : "ospi.tispl"
    [    4.072517] 0x000000280000-0x000000680000 : "ospi.u-boot"
    [    4.078109] 0x000000680000-0x0000006a0000 : "ospi.env"
    [    4.083426] 0x0000006a0000-0x0000006c0000 : "ospi.env.backup"
    [    4.089355] 0x0000006c0000-0x0000007c0000 : "ospi.sysfw"
    [    4.094839] 0x000000800000-0x000004000000 : "ospi.rootfs"
    [    4.102199] am65-cpsw-nuss 46000000.ethernet: rx-flow-id-base is not set -22
    [    4.109251] am65-cpsw-nuss 46000000.ethernet: am65_cpsw_nuss_probe[2069], Print reset_gpio=116
    [    5.142323] am65-cpsw-nuss 46000000.ethernet: am65_cpsw_nuss_probe[2083], Print reset to 1
    [    5.150668] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA00101, cpsw version 0x6BA80100 Ports: 2
    [    5.168338] am65-cpsw-nuss 46000000.ethernet: set new flow-id-base 48
    [    5.178830] pps pps0: new PPS source ptp1
    [    5.182958] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010a, freq:500000000, add_val:1 pps:1
    [    5.191902] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 0.4
    [    5.199107] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
    [    5.242325] am65-cpsw-nuss 46000000.ethernet: davinci mdio revision 9.7, bus freq 1000000
    [    5.250485] libphy: 46000000.ethernet: probed
    [    5.642174] Eric Printing - marvell_probe()
    [    5.653225] hctosys: unable to open rtc device (rtc0)
    [    5.678225] ALSA device list:
    [    5.681190]   No soundcards found.
    [    5.692217] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
    [    5.700313] VFS: Mounted root (ext4 filesystem) on device 179:1.
    [    5.709420] devtmpfs: mounted
    [    5.712548] Freeing unused kernel memory: 576K
    [    5.716995] Run /sbin/init as init process
    [    5.770038] systemd[1]: System time before build time, advancing clock.
    [    5.796629] NET: Registered protocol family 10
    [    5.801402] Segment Routing with IPv6
    [    5.811888] systemd[1]: systemd 239 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN -PCRE2 default-hierarchy=hybrid)
    [    5.833291] systemd[1]: Detected architecture arm64.
    
    Welcome to Arago 2019.11!
    
    [    5.854659] systemd[1]: Set hostname to <j7-evm>.
    [    5.864407] random: systemd: uninitialized urandom read (16 bytes read)
    [    5.871021] systemd[1]: Initializing machine ID from random generator.
    [    5.924207] systemd[1]: File /lib/systemd/system/systemd-journald.service:36 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
    [    5.941337] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
    [    6.020055] random: systemd: uninitialized urandom read (16 bytes read)
    [    6.026802] systemd[1]: Listening on udev Kernel Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [    6.042404] random: systemd: uninitialized urandom read (16 bytes read)
    [    6.049078] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    [    6.074380] systemd[1]: Reached target Remote File Systems.
    [  OK  ] Reached target Remote File Systems.
    [    6.090489] systemd[1]: Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Network Service Netlink Socket.
    [  OK  ] Listening on initctl Compatibility Named Pipe.
    [  OK  ] Listening on udev Control Socket.
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Reached target Paths.
    [  OK  ] Listening on Process Core Dump Socket.
    [  OK  ] Listening on Journal Socket.
    [  OK  ] Started Hardware RNG Entropy Gatherer Daemon.
             Starting Load Kernel Modules...
    [    6.226214] cmemk: loading out-of-tree module taints kernel.
    [    6.232738] CMEMK module: reference Linux version 4.19.94
             Mounting Huge Pages File System...[    6.238456] no physical memory specified
    
    [    6.246085] cmemk initialized
             Starting Remount Root and Kernel File Systems...
    [    6.264296] EXT4-fs (mmcblk0p1): re-mounted. Opts: (null)
             Starting udev Coldplug all Devices...
             Mounting Kernel Debug File System...
    [  OK  ] Created slice system-serial\x2dgetty.slice.
             Mounting POSIX Message Queue File System...
    [  OK  ] Reached target Swap.
             Mounting Temporary Directory (/tmp)...
    [  OK  ] Created slice User and Session Slice.
    [  OK  ] Reached target Slices.
             Starting Journal Service...
             Starting Create list of required st…ce nodes for the current kernel...
    [  OK  ] Created slice system-getty.slice.
    [  OK  ] Started Journal Service.
    [  OK  ] Started Load Kernel Modules.
    [  OK  ] Mounted Huge Pages File System.
    [  OK  ] Started Remount Root and Kernel File Systems.
    [  OK  ] Mounted Kernel Debug File System.
    [  OK  ] Mounted POSIX Message Queue File System.
    [  OK  ] Mounted Temporary Directory (/tmp).
    [  OK  ] Started Create list of required sta…vice nodes for the current kernel.
             Starting Create System Users...
             Starting Rebuild Hardware Database...
             Starting Apply Kernel Variables...
             Mounting Kernel Configuration File System...
             Starting Flush Journal to Persistent Storage...
    [  OK  ] Started udev Coldplug all Devices.
    [  OK  ] Started Create System Users.
    [  OK  ] Started Apply Kernel Variables.
    [  OK  ] Mounted Kernel Configuration File System.
    [    6.680722] systemd-journald[151]: Received request to flush runtime journal from PID 1
             Starting Create Static Device Nodes in /dev...
    [  OK  ] Started Create Static Device Nodes in /dev.
    [  OK  ] Started Flush Journal to Persistent Storage.
    [  OK  ] Reached target Local File Systems (Pre).
    [  OK  ] Reached target Containers.
             Mounting /var/volatile...
             Mounting /media/ram...
    [  OK  ] Mounted /var/volatile.
    [  OK  ] Mounted /media/ram.
             Starting Load/Save Random Seed...
    [  OK  ] Reached target Local File Systems.
             Starting Rebuild Dynamic Linker Cache...
             Starting Rebuild Journal Catalog...
             Starting Create Volatile Files and Directories...
    [  OK  ] Started Load/Save Random Seed.
    [  OK  ] Started Rebuild Journal Catalog.
    [  OK  ] Started Create Volatile Files and Directories.
             Starting Run pending postinsts...
             Starting Network Time Synchronization...
             Starting Update UTMP about System Boot/Shutdown...
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Reached target System Time Synchronized.
    [  OK  ] Started Rebuild Hardware Database.
             Starting udev Kernel Device Manager...
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [  OK  ] Started udev Kernel Device Manager.
             Starting Network Service...
    [  OK  ] Started Network Service.
             Starting Wait for Network to be Configured...
             Starting Network Name Resolution...
    [  OK  ] Started Rebuild Dynamic Linker Cache.
             Starting Update is Completed...
    [  OK  ] Started Update is Completed.
    [  OK  ] Started Network Name Resolution.
    [  OK  ] Reached target Host and Network Name Lookups.[    7.419479] rti-wdt 2200000.rti: heartbeat 60 sec
    
    [  OK  ] Reached target Network.
    [    7.443193] rti-wdt 2210000.rti: heartbeat 60 sec
    [  OK  ] Started Run pending postinsts.
    [  OK  ] Found device /dev/ttyS2.
    [    7.483714] pci-endpoint-test 0000:00:00.0: of_irq_parse_pci: failed with rc=-22
    [  OK  ] Reached target System Initialization.
    [    7.503910] pci-endpoint-test 0001:00:00.0: of_irq_parse_pci: failed with rc=-22
    [  OK  ] Started Daily rotation of log files.
    [    7.521976] k3-dsp-rproc 4d80800000.dsp: assigned reserved memory node c66-dma-memory@a7000000
    [  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activati[    7.533668] ntb_hw_epf 0000:00:00.0: of_irq_parse_pci: failed with rc=-22
    on Socket.
    [    7.543730] k3-dsp-rproc 4d80800000.dsp: configured DSP for remoteproc mode
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [  OK  ] Listening on D-Bus System Message Bus Socket.[    7.574225] ntb_hw_epf 0001:00:00.0: of_irq_parse_pci: failed with rc=-22
    
    [    7.586632] k3-dsp-rproc 4d80800000.dsp: local reset is deasserted for device
    [    7.594135] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [[    7.601133] [drm] No driver support for vblank timestamp query.
      OK  ] Reached target Sockets.
    [    7.607734] remoteproc remoteproc0: 4d80800000.dsp is available
    [  OK  ] Reached target Basic System.
    [    7.623619] [drm] Initialized tidss 1.0.0 20180215 for 4a00000.dss on minor 0
             Starting rc.pvr.service...
    [    7.635102] [drm] Cannot find any crtc or sizes
    [    7.637628] remoteproc remoteproc0: Direct firmware load for j7-c66_0-fw failed with error -2
    [    7.646260] [drm] Cannot find any crtc or sizes
    [  OK  ] Started TEE Supplicant.
    [    7.663711] k3-dsp-rproc 4d81800000.dsp: assigned reserved memory node c66-dma-memory@a6000000
    [    7.672792] remoteproc remoteproc0: powering up 4d80800000.dsp
    [    7.679298] remoteproc remoteproc0: Direct firmware load for j7-c66_0-fw failed with error -2
             Starting Permit User Sessions...
             Starting RPC Bind Service...
    [    7.706342] remoteproc remoteproc0: request_firmware failed: -2
    [  OK  ] Started Job spooling tools.
    [  OK  ] Started Periodic Command Scheduler.
             Starting Print notice about GPLv3 packages...
    [    7.742414] k3-dsp-rproc 4d81800000.dsp: configured DSP for remoteproc mode
             Starting Avahi mDNS/DNS-SD Stack...
             Starting Login Service...
    [    7.772404] k3-dsp-rproc 4d81800000.dsp: local reset is deasserted for device
    [    7.782431] remoteproc remoteproc1: 4d81800000.dsp is available
    [  OK  ] Started D-Bus System Message Bus.
    [    7.792892] remoteproc remoteproc1: Direct firmware load for j7-c66_1-fw failed with error -2
    [    7.803672] k3-dsp-rproc 64800000.dsp: assigned reserved memory node c71-dma-memory@a8000000
             [    7.813709] remoteproc remoteproc1: powering up 4d81800000.dsp
    Starting DEMO...
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target Timers.
    [    7.822572] pvrsrvkm 4e20000000.gpu: Linked as a consumer to genpd:0:4e20000000.gpu
    [    7.822703] pvrsrvkm 4e20000000.gpu: Linked as a consumer to genpd:1:4e20000000.gpu
    [    7.822729] PVR_K:  286: Read BVNC 22.104.208.318 from HW device registers
    [    7.822733] PVR_K:  286: RGX Device initialised with BVNC 22.104.208.318
    [    7.823013] [drm] Initialized pvr 1.10.5371573 20170530 for 4e20000000.gpu on minor 1
    [    7.826402] remoteproc remoteproc1: Direct firmware load for j7-c66_1-fw failed with error -2
    [    7.826406] remoteproc remoteproc1: request_firmware failed: -2
    [    7.867801] k3-dsp-rproc 64800000.dsp: configured DSP for remoteproc mode
    [    7.868132] remoteproc remoteproc2: 64800000.dsp is available
    [    7.868185] remoteproc remoteproc2: Direct firmware load for j7-c71_0-fw failed with error -2
    [    7.868189] remoteproc remoteproc2: powering up 64800000.dsp
    [    7.868197] remoteproc remoteproc2: Direct firmware load for j7-c71_0-fw failed with error -2
    [    7.868199] remoteproc remoteproc2: request_firmware failed: -2
    [    7.980797] k3_r5_rproc interconnect@100000:interconnect@28380000:r5fss@41000000: creating child devices for R5F cores
    [    7.982292] platform 41000000.r5f: configured R5F for remoteproc mode
    [    7.983171] platform 41000000.r5f: assigned reserved memory node r5f-dma-memory@a0000000
    [    7.983350] remoteproc remoteproc3: 41000000.r5f is available
    [    7.983403] remoteproc remoteproc3: Direct firmware load for j7-mcu-r5f0_0-fw failed with error -2
    [    7.983407] remoteproc remoteproc3: powering up 41000000.r5f
    [    7.983416] remoteproc remoteproc3: Direct firmware load for j7-mcu-r5f0_0-fw failed with error -2
    [    7.983419] remoteproc remoteproc3: request_firmware failed: -2
    [    7.983782] k3_r5_rproc interconnect@100000:r5fss@5c00000: creating child devices for R5F cores
    [    7.993046] platform 5c00000.r5f: configured R5F for IPC-only mode
    [    7.993088] platform 5c00000.r5f: assigned reserved memory node r5f-dma-memory@a2000000
    [    7.993184] remoteproc remoteproc4: 5c00000.r5f is available
    [    7.993243] remoteproc remoteproc4: Direct firmware load for j7-main-r5f0_0-fw failed with error -2
    [    7.993247] remoteproc remoteproc4: powering up 5c00000.r5f
    [    7.993255] remoteproc remoteproc4: Direct firmware load for j7-main-r5f0_0-fw failed with error -2
    [    7.993258] remoteproc remoteproc4: request_firmware failed: -2
    [    7.993463] platform 5d00000.r5f: configured R5F for remoteproc mode
    [    7.993842] platform 5d00000.r5f: assigned reserved memory node r5f-dma-memory@a3000000
    [    7.993949] remoteproc remoteproc5: 5d00000.r5f is available
    [    7.994006] remoteproc remoteproc5: Direct firmware load for j7-main-r5f0_1-fw failed with error -2
    [    7.994010] remoteproc remoteproc5: powering up 5d00000.r5f
    [    7.994018] remoteproc remoteproc5: Direct firmware load for j7-main-r5f0_1-fw failed with error -2
    [    7.994020] remoteproc remoteproc5: request_firmware failed: -2
    [    7.994412] k3_r5_rproc interconnect@100000:r5fss@5e00000: creating child devices for R5F cores
    [    8.008729] platform 5e00000.r5f: configured R5F for remoteproc mode
    [    8.009594] platform 5e00000.r5f: assigned reserved memory node r5f-dma-memory@a4000000
    [    8.009680] remoteproc remoteproc6: 5e00000.r5f is available
    [    8.009746] remoteproc remoteproc6: Direct firmware load for j7-main-r5f1_0-fw failed with error -2
    [    8.009750] remoteproc remoteproc6: powering up 5e00000.r5f
    [    8.009758] remoteproc remoteproc6: Direct firmware load for j7-main-r5f1_0-fw failed with error -2
    [    8.009760] remoteproc remoteproc6: request_firmware failed: -2
    [    8.116151] Eric Printing - of_phy_find_device()
    [    8.116155] Eric Printing - of_phy_match()
    [    8.116157] Eric Printing - of_phy_connect()
    [    8.186362] Eric Printing - m88q2122_config_init()
    [  OK  ] Started Permit User Sessions.
    [  OK  ] Started rc.pvr.service.
    [  OK  ] Started RPC Bind Service.
    [  OK  ] Started DEMO.
    [  OK  ] Found device /dev/ttyS1.
    [    8.364298] Eric Printing - m88q2122_soft_reset()
    [    8.474029] Eric Printing - m88q2122_soft_reset()
    [    8.510356] Marvell 88Q2122 k3-cpsw-mdio:02: attached PHY driver [Marvell 88Q2122] (mii_bus:phy_addr=k3-cpsw-mdio:02, irq=POLL)
    [    8.531350] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [  OK  ] Started NFS status monitor for NFSv2/3 locking..
             Starting telnetd.service...
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Serial Getty on ttyS1.
    [  OK  ] Started Serial Getty on ttyS2.
    [  OK  ] Reached target Login Prompts.
             Starting Synchronize System and HW clocks...
    [  OK  ] Started telnetd.service.
    [FAILED] Failed to start Synchronize System and HW clocks.
    See 'systemctl status sync-clocks.service' for details.
             Starting thttpd.service...
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.
    [  OK  ] Started Login Service.
    [  OK  ] Started thttpd.service.
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPLv3 packages:
            bash-dev
            bash
            bc
            cifs-utils
            cpio
            dosfstools
            elfutils
            gawk
            gzip
            libbfd
            libdw1
            libelf1
            libgdbm-compat4
            libgdbm-dev
            libgdbm6
            libgmp10
            libidn2-0
            libreadline-dev
            libreadline7
            libunistring2
            nettle
            which
    
    If you do not wish to distribute GPLv3 components please remove
    the above packages prior to distribution.  This can be done using
    the opkg remove command.  i.e.:
        opkg remove <package>
    Where <package> is the name printed in the list above
    
    NOTE: If the package is a dependency of another package you
          will be notified of the dependent packages.  You should
          use the --force-removal-of-dependent-packages option to
          also remove the dependent packages as well
    ***************************************************************
    ***************************************************************
    [    8.954568] cdns-usb3 6000000.usb: DRD version v1 (ID: 0004024e, rev: 00000200)
    [  OK  ] Started Print notice about GPLv3 packages.
    [    9.006532] omap_rng 4e10000.trng: Random Number Generator ver. 241b34c
    [    9.013325] random: crng init done
    [    9.016753] random: 7 urandom warning(s) missed due to ratelimiting
    [    9.051111] remoteproc remoteproc7: b034000.pru is available
    [    9.062381] pru-rproc b034000.pru: PRU rproc node pru@b034000 probed successfully
    [    9.074751] remoteproc remoteproc8: b004000.rtu is available
    [    9.082419] pru-rproc b004000.rtu: PRU rproc node rtu@b004000 probed successfully
    [    9.090277] remoteproc remoteproc9: b00a000.txpru is available
    [    9.096159] pru-rproc b00a000.txpru: PRU rproc node txpru@b00a000 probed successfully
    [    9.104257] remoteproc remoteproc10: b038000.pru is available
    [    9.110026] pru-rproc b038000.pru: PRU rproc node pru@b038000 probed successfully
    [    9.117743] remoteproc remoteproc11: b006000.rtu is available
    [    9.123504] pru-rproc b006000.rtu: PRU rproc node rtu@b006000 probed successfully
    [    9.131177] remoteproc remoteproc12: b00c000.txpru is available
    [    9.137110] pru-rproc b00c000.txpru: PRU rproc node txpru@b00c000 probed successfully
    [    9.145164] remoteproc remoteproc13: b134000.pru is available
    [    9.150920] pru-rproc b134000.pru: PRU rproc node pru@b134000 probed successfully
    [    9.158617] remoteproc remoteproc14: b104000.rtu is available
    [    9.164374] pru-rproc b104000.rtu: PRU rproc node rtu@b104000 probed successfully
    [    9.172047] remoteproc remoteproc15: b10a000.txpru is available
    [    9.177979] pru-rproc b10a000.txpru: PRU rproc node txpru@b10a000 probed successfully
    [    9.186022] remoteproc remoteproc16: b138000.pru is available
    [    9.191777] pru-rproc b138000.pru: PRU rproc node pru@b138000 probed successfully
    [    9.199476] remoteproc remoteproc17: b106000.rtu is available
    [    9.205232] pru-rproc b106000.rtu: PRU rproc node rtu@b106000 probed successfully
    [    9.212892] remoteproc remoteproc18: b10c000.txpru is available
    [    9.218822] pru-rproc b10c000.txpru: PRU rproc node txpru@b10c000 probed successfully
    [  OK  ] Started Hardware RNG Entropy Gatherer Daemon.
    [    9.366376] cdns-usb3 6000000.usb: Initialized  ep0 support:
    [    9.372206] cdns-usb3 6000000.usb: Initialized  ep1out support: BULK, INT ISO
    [    9.379332] cdns-usb3 6000000.usb: Initialized  ep2out support: BULK, INT ISO
    [    9.386461] cdns-usb3 6000000.usb: Initialized  ep3out support: BULK, INT ISO
    [    9.393586] cdns-usb3 6000000.usb: Initialized  ep4out support: BULK, INT ISO
    [    9.400709] cdns-usb3 6000000.usb: Initialized  ep5out support: BULK, INT ISO
    [    9.407834] cdns-usb3 6000000.usb: Initialized  ep6out support: BULK, INT ISO
    [    9.414956] cdns-usb3 6000000.usb: Initialized  ep7out support: BULK, INT ISO
    [    9.422079] cdns-usb3 6000000.usb: Initialized  ep8out support: BULK, INT ISO
    [    9.429202] cdns-usb3 6000000.usb: Initialized  ep9out support: BULK, INT ISO
    [    9.436325] cdns-usb3 6000000.usb: Initialized  ep10out support: BULK, INT ISO
    [    9.443533] cdns-usb3 6000000.usb: Initialized  ep11out support: BULK, INT ISO
    [    9.450742] cdns-usb3 6000000.usb: Initialized  ep12out support: BULK, INT ISO
    [    9.457951] cdns-usb3 6000000.usb: Initialized  ep13out support: BULK, INT ISO
    [    9.465160] cdns-usb3 6000000.usb: Initialized  ep14out support: BULK, INT ISO
    [    9.472369] cdns-usb3 6000000.usb: Initialized  ep15out support: BULK, INT ISO
    [    9.479578] cdns-usb3 6000000.usb: Initialized  ep1in support: BULK, INT ISO
    [    9.486613] cdns-usb3 6000000.usb: Initialized  ep2in support: BULK, INT ISO
    [    9.493649] cdns-usb3 6000000.usb: Initialized  ep3in support: BULK, INT ISO
    [    9.500690] cdns-usb3 6000000.usb: Initialized  ep4in support: BULK, INT ISO
    [    9.507725] cdns-usb3 6000000.usb: Initialized  ep5in support: BULK, INT ISO
    [    9.514760] cdns-usb3 6000000.usb: Initialized  ep6in support: BULK, INT ISO
    [    9.521796] cdns-usb3 6000000.usb: Initialized  ep7in support: BULK, INT ISO
    [    9.528831] cdns-usb3 6000000.usb: Initialized  ep8in support: BULK, INT ISO
    [    9.535867] cdns-usb3 6000000.usb: Initialized  ep9in support: BULK, INT ISO
    [    9.542901] cdns-usb3 6000000.usb: Initialized  ep10in support: BULK, INT ISO
    [    9.550025] cdns-usb3 6000000.usb: Initialized  ep11in support: BULK, INT ISO
    [    9.557146] cdns-usb3 6000000.usb: Initialized  ep12in support: BULK, INT ISO
    [    9.564276] Eric Printing - marvell_read_status()
    [    9.566342] cdns-usb3 6000000.usb: Initialized  ep13in support: BULK, INT ISO
    [    9.569795] am65-cpsw-nuss 46000000.ethernet eth0: Link is Down
    [    9.576516] cdns-usb3 6000000.usb: Initialized  ep14in support: BULK, INT ISO
    [    9.589142] cdns-usb3 6000000.usb: Initialized  ep15in support: BULK, INT ISO
    [    9.596879] cdns-usb3 6400000.usb: DRD version v1 (ID: 0004024e, rev: 00000200)
    [    9.619812] usbcore: registered new interface driver usbfs
    [    9.625380] usbcore: registered new interface driver hub
    [    9.630731] usbcore: registered new device driver usb
    [    9.641486] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
    [    9.646983] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 1
    [    9.655840] xhci-hcd xhci-hcd.2.auto: hcc params 0x200073c9 hci version 0x100 quirks 0x0000000000010010
    [    9.665281] xhci-hcd xhci-hcd.2.auto: irq 314, io mem 0x06410000
    [    9.671412] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
    [    9.679683] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    9.686898] usb usb1: Product: xHCI Host Controller
    [    9.691768] usb usb1: Manufacturer: Linux 4.19.94-g0b610fb488 xhci-hcd
    [    9.698286] usb usb1: SerialNumber: xhci-hcd.2.auto
    [    9.703348] hub 1-0:1.0: USB hub found
    [    9.707119] hub 1-0:1.0: 1 port detected
    [    9.711463] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
    [    9.716952] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 2
    [    9.724603] xhci-hcd xhci-hcd.2.auto: Host supports USB 3.0 SuperSpeed
    [    9.731144] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    [    9.739257] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.19
    [    9.747509] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    9.754717] usb usb2: Product: xHCI Host Controller
    [    9.759587] usb usb2: Manufacturer: Linux 4.19.94-g0b610fb488 xhci-hcd
    [    9.766102] usb usb2: SerialNumber: xhci-hcd.2.auto
    [    9.771152] hub 2-0:1.0: USB hub found
    [    9.774908] hub 2-0:1.0: 1 port detected
    [   10.582331] Eric Printing - marvell_read_status()
    [   11.606325] Eric Printing - marvell_read_status()
    [   12.630323] Eric Printing - marvell_read_status()
    [   13.654322] Eric Printing - marvell_read_status()
    [   14.678329] Eric Printing - marvell_read_status()
    
     _____                    _____           _         _
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|
                  |___|                    |___|
    
    Arago Project http://arago-project.org j7-evm ttyS2
    
    Arago 2019.11 j7-evm ttyS2
    
    j7-evm login: [   15.702329] Eric Printing - marvell_read_status()
    [   16.726323] Eric Printing - marvell_read_status()
    [   17.750322] Eric Printing - marvell_read_status()
    [   18.774329] Eric Printing - marvell_read_status()
    [   19.798325] Eric Printing - marvell_read_status()
    ...

    Best Regards,

    Eric Chen

  • Hi Eric,

    Any progress on this from your side?

    Regards,
    Vishal

  • Hi Vishal,

    Sorry for replying so late, I've been working on SGMII recently.

    With some modification to PHY driver, the RGMII PHY works fine now.

    Thank you for all the support.

    Best regards,

    Eric Chen