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.

AM6548: RTI error to cause MDIO stuck

Part Number: AM5728
Other Parts Discussed in Thread: AM6548

Hi .

Customer is using the 7.x SDK version of the AM57.

The fail log cause the kernel stuck, meanwhile, the Phy is off.

They are using : 

            2 DP83867 for CPSW.

            2 DP82822 for PRU.

You can check the attached log or the below.

The RTI will cause the Phy + kernel stuck.

please provide the solution, thanks.

BR Rio

[ 51.664877] ------------[ cut here ]------------
[ 51.664896] WARNING: CPU: 0 PID: 68 at drivers/watchdog/rti_wdt.c:105 rti_wdt_ping+0x40/0x58
[ 51.664921] Modules linked in: tun can_raw can nls_iso8859_1 nls_cp437 icssg_prueth pru_rproc irq_pruss_intc icss_iep m_can_platform m_can can_dev xhci_plat_hcd xhci_hcd pruss sch_fq_codel openvswitch nsh nf_conncount nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c fuse
[ 51.664988] CPU: 0 PID: 68 Comm: watchdogd Not tainted 5.2.60-rt15-yocto-preempt-rt #1
[ 51.664995] Hardware name: Texas Instruments AM654 Base Board (DT)
[ 51.664998] pstate: 80000005 (Nzcv daif -PAN -UAO)
[ 51.665003] pc : rti_wdt_ping+0x40/0x58
[ 51.665007] lr : __watchdog_ping+0x58/0x128
[ 51.665012] sp : ffffff8010e4bda0
[ 51.665014] x29: ffffff8010e4bda0 x28: 0000000000000000
[ 51.665021] x27: 0000000000000000 x26: ffffffc03ddd72c0
[ 51.665027] x25: 0000000000000001 x24: ffffffc03ded3308
[ 51.665033] x23: ffffff8010c00a08 x22: ffffffc03ddd72c0
[ 51.665040] x21: ffffffc00f905000 x20: 0000000c075cd83f
[ 51.665046] x19: ffffffc00fb03090 x18: 0000000000000000
[ 51.665052] x17: 0000000000000000 x16: 0000000000000000
[ 51.665058] x15: 0000000000000000 x14: 0000000000000000
[ 51.665064] x13: 0000000000000000 x12: 0000000000000000
[ 51.665069] x11: 0000000000000000 x10: 00000000000009a0
[ 51.665075] x9 : ffffff8010e4bd50 x8 : ffffffc03ddd7cc0
[ 51.665082] x7 : ffffff8011363c80 x6 : 00000002a6005260
[ 51.665088] x5 : 00ffffffffffffff x4 : 000bbdfb40000000
[ 51.665094] x3 : 0000000000000018 x2 : 000000000000a35c
[ 51.665100] x1 : ffffff8010c4d09c x0 : 0000000000000032
[ 51.665106] Call trace:
[ 51.665109] rti_wdt_ping+0x40/0x58
[ 51.665113] __watchdog_ping+0x58/0x128
[ 51.665117] watchdog_ping_work+0x38/0x60
[ 51.665121] kthread_worker_fn+0xb0/0x188
[ 51.665129] kthread+0x100/0x130
[ 51.665133] ret_from_fork+0x10/0x18
[ 51.665140] ---[ end trace 0000000000000002 ]---
[ 642.912924] genphy_update_link phy_read MII_BMCR = 0xfffffffb
[ 642.912941] gpio 340 is valid.
[ 642.912953] TI DP83867 b132400.mdio:01: genphy_read_status err=fffffffb
[ 642.913004] ------------[ cut here ]------------
[ 642.913008] WARNING: CPU: 1 PID: 21 at drivers/net/phy/phy.c:737 phy_error+0x18/0x60
[ 642.913028] Modules linked in: tun can_raw can nls_iso8859_1 nls_cp437 icssg_prueth pru_rproc irq_pruss_intc icss_iep m_can_platform m_can can_dev xhci_plat_hcd xhci_hcd pruss sch_fq_codel openvswitch nsh nf_conncount nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c fuse
[ 642.913094] CPU: 1 PID: 21 Comm: kworker/1:0 Tainted: G W 5.2.60-rt15-yocto-preempt-rt #1
[ 642.913100] Hardware name: Texas Instruments AM654 Base Board (DT)
[ 642.913108] Workqueue: events_power_efficient phy_state_machine
[ 642.913117] pstate: 60000005 (nZCv daif -PAN -UAO)
[ 642.913121] pc : phy_error+0x18/0x60
[ 642.913126] lr : phy_state_machine+0x74/0x1f0
[ 642.913131] sp : ffffff8010cb3d60
[ 642.913133] x29: ffffff8010cb3d60 x28: ffffff8010a89000
[ 642.913139] x27: ffffffc03fd98af0 x26: ffffffc03fd98aa0
[ 642.913146] x25: 0000000000000000 x24: ffffff8010bb8960
[ 642.913152] x23: 00000000fffffffb x22: ffffffc03a372800
[ 642.913158] x21: ffffffc03a372ca8 x20: 0000000000000004
[ 642.913164] x19: ffffffc03a372800 x18: 0000000000000020
[ 642.913170] x17: 0000000000000000 x16: ffffffc03dc2a640
[ 642.913176] x15: ffffffc03dc2aac0 x14: ffffffffffffffff
[ 642.913182] x13: ffffffc03fd8cdf8 x12: ffffffc03fd8ca4b
[ 642.913189] x11: 0000000000000006 x10: 0101010101010101
[ 642.913195] x9 : ffffff8010cb3ac0 x8 : 66666666663d7272
[ 642.913201] x7 : 6520737574617473 x6 : ffffff8010be814b
[ 642.913207] x5 : 0000000000000001 x4 : 0000000000000000
[ 642.913213] x3 : 0000000000000001 x2 : 0000000000000000
[ 642.913218] x1 : e8e53b7555b37700 x0 : ffffff80104d28ac
[ 642.913225] Call trace:


  *** U-Boot Boot Menu ***

     Boot Primary volume A
     Boot Rollback
     Re-install from ostree_repo
     U-Boot console


  Press UP/DOWN to move, ENTER to select

==Booting default A==
17773471 bytes read in 740 ms (22.9 MiB/s)
11856384 bytes read in 490 ms (23.1 MiB/s)
66943 bytes read in 8 ms (8 MiB/s)
## Loading init Ramdisk from Legacy Image at 80000000 ...
   Image Name:   initramfs-ostree-image-delta-am6
   Image Type:   AArch64 Linux RAMDisk Image (uncompressed)
   Data Size:    17773407 Bytes = 17 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Loading Ramdisk to 8ef0c000, end 8ffff35f ... OK
   Loading Device Tree to 000000008eef8000, end 000000008ef0b57e ... OK

Starting kernel ...

ERROR:   GTC_CNTFID0 is 0! Assuming 200000000 Hz. Fix Bootloader
ERROR:   GTC_CNTFID0 is 0! Assuming 200000000 Hz. Fix Bootloader
ERROR:   GTC_CNTFID0 is 0! Assuming 200000000 Hz. Fix Bootloader
Booting Linux on physical CPU 0x0000000000 [0x410fd034]
Linux version 5.2.60-rt15-yocto-preempt-rt (oe-user@oe-host) (gcc version 9.2.0 (GCC)) #1 SMP PREEMPT RT Thu Nov 10 02:25:44 UTC 2022
Machine model: Texas Instruments AM654 Base Board
efi: Getting EFI parameters from FDT:
efi: UEFI not found.
Reserved memory: created DMA memory pool at 0x00000000a0000000, size 1 MiB
OF: reserved mem: initialized node r5f-dma-memory@a0000000, compatible id shared-dma-pool
Reserved memory: created DMA memory pool at 0x00000000a0100000, size 15 MiB
OF: reserved mem: initialized node r5f-memory@a0100000, compatible id shared-dma-pool
Reserved memory: created DMA memory pool at 0x00000000a1000000, size 1 MiB
OF: reserved mem: initialized node r5f-dma-memory@a1000000, compatible id shared-dma-pool
Reserved memory: created DMA memory pool at 0x00000000a1100000, size 15 MiB
OF: reserved mem: initialized node r5f-memory@a1100000, compatible id shared-dma-pool
psci: probing for conduit method from DT.
psci: PSCIv1.1 detected in firmware.
psci: Using standard PSCI v0.2 function IDs
psci: Trusted OS migration not required
psci: SMC Calling Convention v1.0
percpu: Embedded 25 pages/cpu s62400 r8192 d31808 u102400
Detected VIPT I-cache on CPU0
CPU features: detected: GIC system register CPU interface
Built 1 zonelists, mobility grouping on.  Total pages: 243200
Kernel command line:  ostree_boot=LABEL=otaboot ostree=/ostree/1 ostree_root=LABEL=otaroot console=ttyS2,115200n8,115200  flux=fluxdata isolcpus=1-3
Dentry cache hash table entries: 131072 (order: 9, 2097152 bytes)
Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
Memory: 938108K/989184K available (7484K kernel code, 1338K rwdata, 1844K rodata, 832K init, 343K bss, 51076K reserved, 0K cma-reserved)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
ftrace: allocating 26646 entries in 105 pages
rcu: Preemptible hierarchical RCU implementation.
rcu:    RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
rcu:    RCU priority boosting: priority 1 delay 500 ms.
rcu:    RCU_SOFTIRQ processing moved to rcuc kthreads.
        No expedited grace period (rcu_normal_after_boot).
        Tasks RCU enabled.
rcu: RCU calculated value of scheduler-enlistment delay is 100 jiffies.
rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
GICv3: GIC: Using split EOI/Deactivate mode
GICv3: Distributor has no Range Selector support
GICv3: no VLPI support, no direct LPI support
GICv3: CPU0: found redistributor 0 region 0:0x0000000001880000
ITS [mem 0x01820000-0x0182ffff]
GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS
ITS@0x0000000001820000: Devices Table too large, reduce ids 20->19
ITS@0x0000000001820000: allocated 524288 Devices @be000000 (flat, esz 8, psz 64K, shr 0)
ITS: using cache flushing for cmd queue
GICv3: using LPI property table @0x00000000a2320000
GIC: using cache flushing for LPI property table
GICv3: CPU0: using allocated LPI pending table @0x00000000a2330000
random: get_random_bytes called from start_kernel+0x318/0x498 with crng_init=0
arch_timer: cp15 timer(s) running at 200.00MHz (phys).
clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
Console: colour dummy device 80x25
Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=200000)
pid_max: default: 32768 minimum: 301
LSM: Security Framework initializing
Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes)
ASID allocator initialised with 32768 entries
rcu: Hierarchical SRCU implementation.
Platform MSI: gic-its@1820000 domain created
EFI services will not be available.
smp: Bringing up secondary CPUs ...
Detected VIPT I-cache on CPU1
GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000
GICv3: CPU1: using allocated LPI pending table @0x00000000a2340000
CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
Detected VIPT I-cache on CPU2
GICv3: CPU2: found redistributor 100 region 0:0x00000000018c0000
GICv3: CPU2: using allocated LPI pending table @0x00000000a2350000
CPU2: Booted secondary processor 0x0000000100 [0x410fd034]
Detected VIPT I-cache on CPU3
GICv3: CPU3: found redistributor 101 region 0:0x00000000018e0000
GICv3: CPU3: using allocated LPI pending table @0x00000000a2360000
CPU3: Booted secondary processor 0x0000000101 [0x410fd034]
smp: Brought up 1 node, 4 CPUs
SMP: Total of 4 processors activated.
CPU features: detected: 32-bit EL0 Support
CPU features: detected: CRC32 instructions
CPU: All CPU(s) started at EL2
alternatives: patching kernel code
devtmpfs: initialized
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
futex hash table entries: 1024 (order: 5, 131072 bytes)
pinctrl core: initialized pinctrl subsystem
DMI not present or invalid.
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic allocations
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
PTP clock support registered
clocksource: Switched to clocksource arch_sys_counter
NET: Registered protocol family 2
tcp_listen_portaddr_hash hash table entries: 512 (order: 3, 32768 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 6, 458752 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
UDP hash table entries: 512 (order: 4, 65536 bytes)
UDP-Lite hash table entries: 512 (order: 4, 65536 bytes)
NET: Registered protocol family 1
Trying to unpack rootfs image as initramfs...
Freeing initrd memory: 17356K
Initialise system trusted keyrings
workingset: timestamp_bits=46 max_order=18 bucket_order=0
Key type asymmetric registered
Asymmetric key parser 'x509' registered
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
io scheduler mq-deadline registered
io scheduler kyber registered
pinctrl-single 4301c000.pinmux: 70 pins, size 280
pinctrl-single 11c000.pinmux: 185 pins, size 740
pinctrl-single 11c2e8.pinmux: 9 pins, size 36
k3-ringacc 2b800000.ringacc: Failed to get MSI domain
k3-ringacc 3c000000.ringacc: Failed to get MSI domain
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
brd: module loaded
libphy: Fixed MDIO Bus: probed
usbcore: registered new interface driver asix
usbcore: registered new interface driver ax88179_178a
usbcore: registered new interface driver cdc_ether
usbcore: registered new interface driver net1080
usbcore: registered new interface driver cdc_subset
usbcore: registered new interface driver zaurus
usbcore: registered new interface driver cdc_ncm
usbcore: registered new interface driver usb-storage
usbcore: registered new interface driver cp210x
usbserial: USB Serial support registered for cp210x
udc-core: couldn't find an available UDC - added [g_serial] to list of pending drivers
i2c /dev entries driver
device-mapper: ioctl: 4.40.0-ioctl (2019-01-18) initialised: dm-devel@redhat.com
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
ti-sci bus@100000:bus@28380000:bus@42040000:dmsc: invalid resource
u32 classifier
    Actions configured
NET: Registered protocol family 10
Segment Routing with IPv6
sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
NET: Registered protocol family 17
9pnet: Installing 9P2000 support
registered taskstats version 1
Loading compiled-in X.509 certificates
Key type encrypted registered
k3-ringacc 2b800000.ringacc: Failed to get MSI domain
k3-ringacc 3c000000.ringacc: Failed to get MSI domain
ti-sci bus@100000:bus@28380000:bus@42040000:dmsc: invalid resource
ti-sci bus@100000:bus@28380000:bus@42040000:dmsc: ABI: 3.1 (firmware rev 0x0015 '21.1.1--v2021.01a (Terrific Lla')
random: fast init done
omap_i2c 42120000.i2c: bus 0 rev0.12 at 100 kHz
omap_i2c 40b00000.i2c: bus 1 rev0.12 at 100 kHz
omap_i2c 2000000.i2c: bus 2 rev0.12 at 100 kHz
rtc-s35390a 3-0030: registered as rtc0
omap_i2c 2010000.i2c: bus 3 rev0.12 at 100 kHz
omap_i2c 2020000.i2c: bus 4 rev0.12 at 100 kHz
omap_i2c 2030000.i2c: bus 5 rev0.12 at 100 kHz
ti-sci-intr bus@100000:bus@28380000:bus@42040000:interrupt-controller2: Interrupt Router 156 domain created
ti-sci-intr bus@100000:interrupt-controller0: Interrupt Router 100 domain created
ti-sci-intr bus@100000:navss@30800000:interrupt-controller1: Interrupt Router 182 domain created
ti-sci-inta 33d00000.interrupt-controller: Interrupt Aggregator domain -1 created
k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,160] sci-dev-id:195
k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled
k3-ringacc 2b800000.ringacc: RA Proxy rev. 66348100, num_proxies:64
k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:818, gp-rings[304,464] sci-dev-id:187
k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled
k3-ringacc 3c000000.ringacc: RA Proxy rev. 66348100, num_proxies:64
40a00000.serial: ttyS1 at MMIO 0x40a00000 (irq = 8, base_baud = 6000000) is a 8250
2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 19, base_baud = 3000000) is a 8250
printk: console [ttyS2]: printing thread started
printk: console [ttyS2] enabled
omap8250 2810000.serial: unable to register 8250 port
omap8250 2810000.serial: PM domain pd:147 will not be powered off
2820000.serial: ttyS0 at MMIO 0x2820000 (irq = 21, base_baud = 3000000) is a 8250
davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
libphy: 46000f00.mdio: probed
davinci_mdio 46000f00.mdio: phy[3]: device 46000f00.mdio:03, driver TI DP83822
am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA00102, cpsw version 0x6BA80102 Ports: 2 quirks:00000000
am65-cpsw-nuss 46000000.ethernet: Failed to request tx dma channel -517
am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010b, freq:200000000, add_val:4 pps:0
dwc3 4010000.usb: Failed to get clk 'ref': -2
g_serial gadget: Gadget Serial v2.4
g_serial gadget: g_serial ready
dwc3 4030000.usb: Failed to get clk 'ref': -2
clk: failed to reparent clk:130:1 to clk:130:5: -22
rti-wdt 2200000.rti: heartbeat 60 sec
mmc0: CQHCI version 5.10
mmc0: SDHCI controller on 4f80000.sdhci [4f80000.sdhci] using ADMA 64-bit
mmc1: CQHCI version 5.10
mmc0: new HS200 MMC card at address 0001
mmcblk0: mmc0:0001 IS004G 3.64 GiB
mmcblk0boot0: mmc0:0001 IS004G partition 1 2.00 MiB
mmcblk0boot1: mmc0:0001 IS004G partition 2 2.00 MiB
mmcblk0rpmb: mmc0:0001 IS004G partition 3 512 KiB, chardev (247:0)
mmc1: SDHCI controller on 4fa0000.sdhci [4fa0000.sdhci] using ADMA 64-bit
omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fc7100
omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fc7100
ti-udma 285c0000.dma-controller: Channels: 96 (tchan: 48, rchan: 48, gp-rflow: 48)
mmc1: new high speed SDXC card at address aaaa
mmcblk1: mmc1:aaaa SR64G 59.5 GiB
 mmcblk1: p1 p2 < p5 p6 > p3
ti-udma 31150000.dma-controller: Channels: 267 (tchan: 119, rchan: 148, gp-rflow: 150)
2810000.serial: ttyS3 at MMIO 0x2810000 (irq = 20, base_baud = 3000000) is a 8250
spi-nor spi9.0: unrecognized JEDEC id bytes: 00 00 00 00 00 00
spi-nor: probe of spi9.0 failed with error -2
davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
libphy: 46000f00.mdio: probed
davinci_mdio 46000f00.mdio: phy[3]: device 46000f00.mdio:03, driver TI DP83822
am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA00102, cpsw version 0x6BA80102 Ports: 2 quirks:00000000
am65-cpsw-nuss 46000000.ethernet: set new flow-id-base 48
am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010b, freq:200000000, add_val:4 pps:0
printk: console [netcon0]: printing thread started
printk: console [netcon0] enabled
netconsole: network logging started
rtc-s35390a 3-0030: setting system clock to 2020-01-01T00:18:17 UTC (1577837897)
Freeing unused kernel memory: 832K
Run /init as init process
mounting FS: proc /proc
mounting FS: sysfs /sys
mounting FS: tmpfs /tmp
mounting FS: tmpfs /run
Starting version 243-51-gfab6f01+
mdadm: looking for devices for further assembly
mdadm: no recogniseable superblock on /dev/mmcblk1p6
mdadm: no recogniseable superblock on /dev/mmcblk1p5
mdadm: no recogniseable superblock on /dev/mmcblk1p3
mdadm: Cannot assemble mbr metadata on /dev/mmcblk1p2
mdadm: Cannot assemble mbr metadata on /dev/mmcblk1p1
mdadm: Cannot assemble mbr metadata on /dev/mmcblk1
mdadm: no recogniseable superblock on /dev/mmcblk0
mdadm: no recogniseable superblock on /dev/ram15
mdadm: no recogniseable superblock on /dev/ram14
mdadm: no recogniseable superblock on /dev/ram13
mdadm: no recogniseable superblock on /dev/ram12
mdadm: no recogniseable superblock on /dev/ram11
mdadm: no recogniseable superblock on /dev/ram10
mdadm: no recogniseable superblock on /dev/ram9
mdadm: no recogniseable superblock on /dev/ram8
mdadm: no recogniseable superblock on /dev/ram7
mdadm: no recogniseable superblock on /dev/ram6
mdadm: no recogniseable superblock on /dev/ram5
mdadm: no recogniseable superblock on /dev/ram4
mdadm: no recogniseable superblock on /dev/ram3
mdadm: no recogniseable superblock on /dev/ram2
mdadm: no recogniseable superblock on /dev/ram1
mdadm: no recogniseable superblock on /dev/ram0
mdadm: No arrays found in config file or automatically
/dev/mmcblk1p5
No fluxdata expansion.
TPM subsystem is not enabled.
No tpm 2.0 found or not working, restoring partition label...
LUKS init done.
EXT4-fs (mmcblk1p6): mounted filesystem with ordered data mode. Opts: (null)
EXT4-fs (mmcblk1p5): mounted filesystem with ordered data mode. Opts: (null)
/init[1]: Moving /dev to new rootfs
/init[1]: Moving /proc to new rootfs
/init[1]: Moving /sys to new rootfs
systemd[1]: System time before build time, advancing clock.
systemd[1]: systemd 243-51-gfab6f01+ 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)
systemd[1]: Detected architecture arm64.

Welcome to Wind River Linux LTS 19.45 Update 20!

systemd[1]: Set hostname to <AX-564EB0MB1T>.
systemd[1]: boot.mount: Unit is bound to inactive unit dev-disk-by\x2dlabel-otaboot.device. Stopping, too.
random: systemd: uninitialized urandom read (16 bytes read)
systemd[1]: system-getty.slice: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
[  OK  systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
] Created slice system-getty.slice.
systemd[1]: Created slice system-getty.slice.
[random: systemd: uninitialized urandom read (16 bytes read)
  OK  ] Created slice system-serial\x2dgettysystemd[1]: Created slice system-serial\x2dgetty.slice.
.slice.
[random: systemd: uninitialized urandom read (16 bytes read)
  OK  ] Created slice User and Session Slicesystemd[1]: Created slice User and Session Slice.
.
[  OK  ] Started Dispatch Password …ts to Csystemd[1]: Started Dispatch Password Requests to Console Directory Watch.
onsole Directory Watch.
[  OK  ] Started Forward Password R…uests to Wall Directory Watch.
[  OK  ] Reached target Paths.
[  OK  ] Reached target Remote File Systems.
[  OK  ] Reached target Slices.
[  OK  ] Reached target Swap.
[  OK  ] Listening on Syslog Socket.
[  OK  ] Listening on initctl Compatibility Named Pipe.
[  OK  ] Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket.
[  OK  ] Listening on Network Service Netlink Socket.
[  OK  ] Listening on udev Control Socket.
[  OK  ] Listening on udev Kernel Socket.
         Mounting POSIX Message Queue File System...
         Mounting Kernel Debug File System...
         Mounting Temporary Directory (/tmp)...
         Starting Create list of st…odes for the current kernel...
[  OK  ] Started Hardware RNG Entropy Gatherer Daemon.
         Starting Journal Service...
         Starting Load Kernel Modules...
         Starting Remount Root and Kernel File Systems...
         Starting udev Coldplug all Devices...
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Mounted Kernel Debug File System.
[  OK  ] Mounted Temporary Directory (/tmp).
fuse: init (API version 7.31)
[  OK  ] Started Create list of sta… nodes for the current kernel.
EXT4-fs (mmcblk1p6): re-mounted. Opts: (null)
openvswitch: Open vSwitch switching datapath
[  OK  ] Started Remount Root and Kernel File Systems.
         Starting OSTree Remount OS/ Bind Mounts...
         Starting Create Static Device Nodes in /dev...
[  OK  ] Started Load Kernel Modules.
[  OK  ] Started OSTree Remount OS/ Bind Mounts.
         Mounting FUSE Control File System...
         Mounting Kernel Configuration File System...
         Starting Apply Kernel Variables...
[  OK  ] Started Journal Service.
sb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.02
m. OK  ] Mounted FUSE Control File System.
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[  OK  ] Found device /dev/disk/by-label/otabusb usb2: Product: xHCI Host Controller
oot.K  ] Reached target Local File Systems (Pre).
[  OK  ] Found device /dev/mmcblk1p5.Manager...
usb usb2: Manufacturer: Linux 5.2.60-rt15-yocto-preempt-rt xhci-hcd
usb usb2: SerialNumber: xhci-hcd.0.auto
hub 2-0:1.0: USB hub foundervice.
hub 2-0:1.0: 1 port detectedetwork to be Configured...
CAN device driver interfacedavinci mdio revision 1.7, bus freq 1000000
m_can_platform 40528000.mcan: m_can device registered (irq=15, version=32)
remoteproc remoteproc0: b034000.pru is available0.mdio:01, driver TI DP83867
         Mounting /var...: davinci mdio revision 1.7, bus freq 1000000
pru-rproc b034000.pru: PRU rproc node /bus@100000/icssg@b000000/pru@34000 probed successfully
remoteproc remoteproc1: b004000.rtu is available
pru-rproc b004000.rtu: PRU rproc node /bus@100000/icssg@b000000/rtu@4000 probed successfully
pru-rproc b00a000.txpru: IRQ vring not founde6d hci version 0x110 quirks 0x0000000000010010
pru-rproc b00a000.txpru: IRQ kick not foundx04030000
remoteproc remoteproc2: b00a000.txpru is availableroduct=0002, bcdDevice= 5.02
pru-rproc b00a000.txpru: PRU rproc node /bus@100000/icssg@b000000/txpru@a000 probed successfully
remoteproc remoteproc3: b038000.pru is available
[  OK  ] Mounted /var.: Linux 5.2.60-rt15-yocto-preempt-rt xhci-hcd
pru-rproc b038000.pru: PRU rproc node /bus@100000/icssg@b000000/pru@38000 probed successfully
remoteproc remoteproc4: b006000.rtu is available
pru-rproc b006000.rtu: PRU rproc node /bus@100000/icssg@b000000/rtu@6000 probed successfully
pru-rproc b00c000.txpru: IRQ vring not found
pru-rproc b00c000.txpru: IRQ kick not found232400.mdio:02, driver TI DP83867
remoteproc remoteproc5: b00c000.txpru is available
pru-rproc b00c000.txpru: PRU rproc node /bus@100000/icssg@b000000/txpru@c000 probed successfully
remoteproc remoteproc6: b134000.pru is availableSuperSpeed
pru-rproc b134000.pru: PRU rproc node /bus@100000/icssg@b100000/pru@34000 probed successfully
[  OK  remoteproc remoteproc7: b104000.rtu is available
] Listening on Load/Save RF …itch Status /dev/rfkill Watch.
         pru-rproc b104000.rtu: PRU rproc node /bus@100000/icssg@b100000/rtu@4000 probed successfully
Mounting /var/volatile...
         pru-rproc b10a000.txpru: IRQ vring not found
Starting Flush Journal to Persistent Storage...
[pru-rproc b10a000.txpru: IRQ kick not found
  OK  ] Mounted /var/volatile.
remoteproc remoteproc8: b10a000.txpru is available
         pru-rproc b10a000.txpru: PRU rproc node /bus@100000/icssg@b100000/txpru@a000 probed successfully
Starting Load/Save Random Seed...
[  OK  remoteproc remoteproc9: b138000.pru is available
] Reached target Local File Systems.
[  OK  ] Started Flush Journal to Persistent pru-rproc b138000.pru: PRU rproc node /bus@100000/icssg@b100000/pru@38000 probed successfully
Storage.
         remoteproc remoteproc10: b106000.rtu is available
Starting Create Volatile Files and Directories...
pru-rproc b106000.rtu: PRU rproc node /bus@100000/icssg@b100000/rtu@6000 probed successfully
pru-rproc b10c000.txpru: IRQ vring not found
pru-rproc b10c000.txpru: IRQ kick not found
remoteproc remoteproc11: b10c000.txpru is available
pru-rproc b10c000.txpru: PRU rproc node /bus@100000/icssg@b100000/txpru@c000 probed successfully
[  OK  ] Started Create Volatile Files and Directories.
         Starting Network Name Resolution...
         Starting Network Time Synchronization...
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  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 System Time Synchronized.
[  OK  ] Started Daily rotation of log files.
[  OK  ] Listening on D-Bus System Message Bus Socket.
         Starting sshd.socket.
[  OK  ] Started Network Name Resolution.
[  OK  ] Reached target Host and Network Name Lookups.
[  OK  ] Listening on sshd.socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
[  OK  ] Started D-Bus System Message Bus.
[  OK  ] Started Dynamic Host Configuration Protocol (DHCP).
[  OK  ] Reached target Network.
         Starting /etc/rc.local Compatibility...
         Starting System Logging Service...
         Starting Login Service...
         Starting Permit User Sessions...
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started System Logging Service.
[  OK  ] Started Permit User Sessions.
[  OK  ] Started Login Service.
[  OK  ] Started /etc/rc.local Compatibility.
[  OK  ] Started Getty on tty1.
[  OK  ] Started Serial Getty on ttyS2.
[  OK  ] Reached target Login Prompts.
[  OK  ] Started Wait for Network to be Configured.
[  OK  ] Reached target Network is Online.
[  OK  ] Started Aktualizr update service.
[  OK  ] Reached target Multi-User System.
[  OK  ] Started Aktualizr update poll timer.
[  OK  ] Reached target Timers.
         Starting Update UTMP about System Runlevel Changes...
         Starting watchdog daemon...
[  OK  ] Started Update UTMP about System Runlevel Changes.
[  OK  ] Started watchdog daemon.
         Starting Aktualizr update poll service...
[  OK  ] Started Aktualizr update poll service.

Wind River Linux LTS 19.45 Update 20 AX-564EB0MB1T ttyS2

AX-564EB0MB1T login:
AX-564EB0MB1T login: root
root@AX-564EB0MB1T:~# dmesg
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.2.60-rt15-yocto-preempt-rt (oe-user@oe-host) (gcc version 9.2.0 (GCC)) #1 SMP PREEMPT RT Thu Nov 10 02:25:44 UTC 2022
[    0.000000] Machine model: Texas Instruments AM654 Base Board
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    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] On node 0 totalpages: 247296
[    0.000000]   DMA32 zone: 4096 pages used for memmap
[    0.000000]   DMA32 zone: 0 pages reserved
[    0.000000]   DMA32 zone: 247296 pages, LIFO batch:63
[    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.0
[    0.000000] percpu: Embedded 25 pages/cpu s62400 r8192 d31808 u102400
[    0.000000] pcpu-alloc: s62400 r8192 d31808 u102400 alloc=25*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: GIC system register CPU interface
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 243200
[    0.000000] Kernel command line:  ostree_boot=LABEL=otaboot ostree=/ostree/1 ostree_root=LABEL=otaroot console=ttyS2,115200n8,115200  flux=fluxdata isolcpus=1-3
[    0.000000] Dentry cache hash table entries: 131072 (order: 9, 2097152 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.000000] Memory: 938108K/989184K available (7484K kernel code, 1338K rwdata, 1844K rodata, 832K init, 343K bss, 51076K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] ftrace: allocating 26646 entries in 105 pages
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[    0.000000] rcu:     RCU priority boosting: priority 1 delay 500 ms.
[    0.000000] rcu:     RCU_SOFTIRQ processing moved to rcuc kthreads.
[    0.000000]  No expedited grace period (rcu_normal_after_boot).
[    0.000000]  Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 100 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] 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] GICv3: CPU0: found redistributor 0 region 0:0x0000000001880000
[    0.000000] ITS [mem 0x01820000-0x0182ffff]
[    0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS
[    0.000000] ITS@0x0000000001820000: Devices Table too large, reduce ids 20->19
[    0.000000] ITS@0x0000000001820000: allocated 524288 Devices @be000000 (flat, esz 8, psz 64K, shr 0)
[    0.000000] ITS: using cache flushing for cmd queue
[    0.000000] GICv3: using LPI property table @0x00000000a2320000
[    0.000000] GIC: using cache flushing for LPI property table
[    0.000000] GICv3: CPU0: using allocated LPI pending table @0x00000000a2330000
[    0.000000] random: get_random_bytes called from start_kernel+0x318/0x498 with crng_init=0
[    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.000284] Console: colour dummy device 80x25
[    0.000322] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=200000)
[    0.000332] pid_max: default: 32768 minimum: 301
[    0.000470] LSM: Security Framework initializing
[    0.000524] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
[    0.000536] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes)
[    0.008035] ASID allocator initialised with 32768 entries
[    0.010012] rcu: Hierarchical SRCU implementation.
[    0.016202] Platform MSI: gic-its@1820000 domain created
[    0.016346] EFI services will not be available.
[    0.018105] smp: Bringing up secondary CPUs ...
[    0.036534] Detected VIPT I-cache on CPU1
[    0.036571] GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000
[    0.036586] GICv3: CPU1: using allocated LPI pending table @0x00000000a2340000
[    0.036629] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.054795] Detected VIPT I-cache on CPU2
[    0.054839] GICv3: CPU2: found redistributor 100 region 0:0x00000000018c0000
[    0.054856] GICv3: CPU2: using allocated LPI pending table @0x00000000a2350000
[    0.054902] CPU2: Booted secondary processor 0x0000000100 [0x410fd034]
[    0.072825] Detected VIPT I-cache on CPU3
[    0.072850] GICv3: CPU3: found redistributor 101 region 0:0x00000000018e0000
[    0.072863] GICv3: CPU3: using allocated LPI pending table @0x00000000a2360000
[    0.072898] CPU3: Booted secondary processor 0x0000000101 [0x410fd034]
[    0.073059] smp: Brought up 1 node, 4 CPUs
[    0.073068] SMP: Total of 4 processors activated.
[    0.073075] CPU features: detected: 32-bit EL0 Support
[    0.073082] CPU features: detected: CRC32 instructions
[    0.073143] CPU: All CPU(s) started at EL2
[    0.073169] alternatives: patching kernel code
[    0.074173] devtmpfs: initialized
[    0.088273] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[    0.088298] futex hash table entries: 1024 (order: 5, 131072 bytes)
[    0.088628] pinctrl core: initialized pinctrl subsystem
[    0.088971] DMI not present or invalid.
[    0.089327] NET: Registered protocol family 16
[    0.090525] DMA: preallocated 256 KiB pool for atomic allocations
[    0.120163] SCSI subsystem initialized
[    0.120384] usbcore: registered new interface driver usbfs
[    0.120431] usbcore: registered new interface driver hub
[    0.120584] usbcore: registered new device driver usb
[    0.121361] pps_core: LinuxPPS API ver. 1 registered
[    0.121366] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.121380] PTP clock support registered
[    0.124700] clocksource: Switched to clocksource arch_sys_counter
[    0.224983] NET: Registered protocol family 2
[    0.225815] tcp_listen_portaddr_hash hash table entries: 512 (order: 3, 32768 bytes)
[    0.225868] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[    0.225974] TCP bind hash table entries: 8192 (order: 6, 458752 bytes)
[    0.226472] TCP: Hash tables configured (established 8192 bind 8192)
[    0.226804] UDP hash table entries: 512 (order: 4, 65536 bytes)
[    0.226905] UDP-Lite hash table entries: 512 (order: 4, 65536 bytes)
[    0.227273] NET: Registered protocol family 1
[    0.227571] Trying to unpack rootfs image as initramfs...
[    1.276228] Freeing initrd memory: 17356K
[    1.278023] Initialise system trusted keyrings
[    1.278249] workingset: timestamp_bits=46 max_order=18 bucket_order=0
[    1.291171] Key type asymmetric registered
[    1.291183] Asymmetric key parser 'x509' registered
[    1.291230] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    1.291235] io scheduler mq-deadline registered
[    1.291239] io scheduler kyber registered
[    1.294339] pinctrl-single 4301c000.pinmux: 70 pins, size 280
[    1.295076] pinctrl-single 11c000.pinmux: 185 pins, size 740
[    1.295444] pinctrl-single 11c2e8.pinmux: 9 pins, size 36
[    1.298241] k3-ringacc 2b800000.ringacc: Failed to get MSI domain
[    1.298375] k3-ringacc 3c000000.ringacc: Failed to get MSI domain
[    1.299374] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.313415] brd: module loaded
[    1.316270] libphy: Fixed MDIO Bus: probed
[    1.317326] usbcore: registered new interface driver asix
[    1.317373] usbcore: registered new interface driver ax88179_178a
[    1.317405] usbcore: registered new interface driver cdc_ether
[    1.317437] usbcore: registered new interface driver net1080
[    1.317469] usbcore: registered new interface driver cdc_subset
[    1.317506] usbcore: registered new interface driver zaurus
[    1.317557] usbcore: registered new interface driver cdc_ncm
[    1.318483] usbcore: registered new interface driver usb-storage
[    1.318587] usbcore: registered new interface driver cp210x
[    1.318611] usbserial: USB Serial support registered for cp210x
[    1.318787] udc-core: couldn't find an available UDC - added [g_serial] to list of pending drivers
[    1.318835] i2c /dev entries driver
[    1.319511] device-mapper: ioctl: 4.40.0-ioctl (2019-01-18) initialised: dm-devel@redhat.com
[    1.321277] sdhci: Secure Digital Host Controller Interface driver
[    1.321282] sdhci: Copyright(c) Pierre Ossman
[    1.321933] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.322404] ti-sci bus@100000:bus@28380000:bus@42040000:dmsc: invalid resource
[    1.323995] u32 classifier
[    1.324001]     Actions configured
[    1.324804] NET: Registered protocol family 10
[    1.327136] Segment Routing with IPv6
[    1.327205] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    1.327881] NET: Registered protocol family 17
[    1.328037] 9pnet: Installing 9P2000 support
[    1.328899] registered taskstats version 1
[    1.328905] Loading compiled-in X.509 certificates
[    1.338436] Key type encrypted registered
[    1.343263] k3-ringacc 2b800000.ringacc: Failed to get MSI domain
[    1.343421] k3-ringacc 3c000000.ringacc: Failed to get MSI domain
[    1.347614] ti-sci bus@100000:bus@28380000:bus@42040000:dmsc: invalid resource
[    1.348128] ti-sci bus@100000:bus@28380000:bus@42040000:dmsc: ABI: 3.1 (firmware rev 0x0015 '21.1.1--v2021.01a (Terrific Lla')
[    1.401361] random: fast init done
[    1.411040] omap_i2c 42120000.i2c: bus 0 rev0.12 at 100 kHz
[    1.411837] omap_i2c 40b00000.i2c: bus 1 rev0.12 at 100 kHz
[    1.412762] omap_i2c 2000000.i2c: bus 2 rev0.12 at 100 kHz
[    1.429655] rtc-s35390a 3-0030: registered as rtc0
[    1.429713] omap_i2c 2010000.i2c: bus 3 rev0.12 at 100 kHz
[    1.430488] omap_i2c 2020000.i2c: bus 4 rev0.12 at 100 kHz
[    1.431226] omap_i2c 2030000.i2c: bus 5 rev0.12 at 100 kHz
[    1.431928] ti-sci-intr bus@100000:bus@28380000:bus@42040000:interrupt-controller2: Interrupt Router 156 domain created
[    1.432129] ti-sci-intr bus@100000:interrupt-controller0: Interrupt Router 100 domain created
[    1.432341] ti-sci-intr bus@100000:navss@30800000:interrupt-controller1: Interrupt Router 182 domain created
[    1.432711] ti-sci-inta 33d00000.interrupt-controller: Interrupt Aggregator domain -1 created
[    1.440044] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,160] sci-dev-id:195
[    1.440059] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled
[    1.440064] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66348100, num_proxies:64
[    1.458114] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:818, gp-rings[304,464] sci-dev-id:187
[    1.458132] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled
[    1.458136] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66348100, num_proxies:64
[    1.459133] 40a00000.serial: ttyS1 at MMIO 0x40a00000 (irq = 8, base_baud = 6000000) is a 8250
[    1.460331] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 19, base_baud = 3000000) is a 8250
[    1.460553] printk: console [ttyS2]: printing thread started
[    1.460567] printk: console [ttyS2] enabled
[    1.461623] omap8250 2810000.serial: unable to register 8250 port
[    1.461638] omap8250 2810000.serial: PM domain pd:147 will not be powered off
[    1.462466] 2820000.serial: ttyS0 at MMIO 0x2820000 (irq = 21, base_baud = 3000000) is a 8250
[    1.626108] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
[    1.626126] libphy: 46000f00.mdio: probed
[    1.646786] davinci_mdio 46000f00.mdio: phy[3]: device 46000f00.mdio:03, driver TI DP83822
[    1.646837] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA00102, cpsw version 0x6BA80102 Ports: 2 quirks:00000000
[    1.646888] am65-cpsw-nuss 46000000.ethernet: Failed to request tx dma channel -517
[    1.660164] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010b, freq:200000000, add_val:4 pps:0
[    1.662296] dwc3 4010000.usb: Failed to get clk 'ref': -2
[    1.663301] g_serial gadget: Gadget Serial v2.4
[    1.663309] g_serial gadget: g_serial ready
[    1.683761] dwc3 4030000.usb: Failed to get clk 'ref': -2
[    1.684625] clk: failed to reparent clk:130:1 to clk:130:5: -22
[    1.684867] rti-wdt 2200000.rti: heartbeat 60 sec
[    1.686051] mmc0: CQHCI version 5.10
[    1.758981] mmc0: SDHCI controller on 4f80000.sdhci [4f80000.sdhci] using ADMA 64-bit
[    1.759914] mmc1: CQHCI version 5.10
[    1.855759] mmc0: new HS200 MMC card at address 0001
[    1.871392] mmcblk0: mmc0:0001 IS004G 3.64 GiB
[    1.872374] mmcblk0boot0: mmc0:0001 IS004G partition 1 2.00 MiB
[    1.873381] mmcblk0boot1: mmc0:0001 IS004G partition 2 2.00 MiB
[    1.873770] mmcblk0rpmb: mmc0:0001 IS004G partition 3 512 KiB, chardev (247:0)
[    2.756708] mmc1: SDHCI controller on 4fa0000.sdhci [4fa0000.sdhci] using ADMA 64-bit
[    2.778921] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fc7100
[    2.779448] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fc7100
[    2.794724] ti-udma 285c0000.dma-controller: Channels: 96 (tchan: 48, rchan: 48, gp-rflow: 48)
[    2.814567] mmc1: new high speed SDXC card at address aaaa
[    2.826669] mmcblk1: mmc1:aaaa SR64G 59.5 GiB
[    2.829492]  mmcblk1: p1 p2 < p5 p6 > p3
[    2.836214] ti-udma 31150000.dma-controller: Channels: 267 (tchan: 119, rchan: 148, gp-rflow: 150)
[    2.864330] 2810000.serial: ttyS3 at MMIO 0x2810000 (irq = 20, base_baud = 3000000) is a 8250
[    2.884030] spi-nor spi9.0: unrecognized JEDEC id bytes: 00 00 00 00 00 00
[    2.884058] spi-nor: probe of spi9.0 failed with error -2
[    2.923710] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
[    2.923723] libphy: 46000f00.mdio: probed
[    2.937143] davinci_mdio 46000f00.mdio: phy[3]: device 46000f00.mdio:03, driver TI DP83822
[    2.937195] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA00102, cpsw version 0x6BA80102 Ports: 2 quirks:00000000
[    2.938451] am65-cpsw-nuss 46000000.ethernet: set new flow-id-base 48
[    2.939234] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
[    2.939241] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
[    2.957346] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010b, freq:200000000, add_val:4 pps:0
[    2.979803] printk: console [netcon0]: printing thread started
[    2.979829] printk: console [netcon0] enabled
[    2.979832] netconsole: network logging started
[    2.981101] rtc-s35390a 3-0030: setting system clock to 2020-01-01T00:18:17 UTC (1577837897)
[    3.009465] Freeing unused kernel memory: 832K
[    3.009576] Run /init as init process
[    5.677463] EXT4-fs (mmcblk1p6): mounted filesystem with ordered data mode. Opts: (null)
[    5.762527] EXT4-fs (mmcblk1p5): mounted filesystem with ordered data mode. Opts: (null)
[    6.328338] systemd[1]: System time before build time, advancing clock.
[    6.355973] systemd[1]: systemd 243-51-gfab6f01+ 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)
[    6.356536] systemd[1]: Detected architecture arm64.
[    6.396470] systemd[1]: Set hostname to <AX-564EB0MB1T>.
[    7.174540] systemd[1]: boot.mount: Unit is bound to inactive unit dev-disk-by\x2dlabel-otaboot.device. Stopping, too.
[    7.189824] random: systemd: uninitialized urandom read (16 bytes read)
[    7.190041] systemd[1]: system-getty.slice: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
[    7.190054] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
[    7.210177] systemd[1]: Created slice system-getty.slice.
[    7.228127] random: systemd: uninitialized urandom read (16 bytes read)
[    7.229564] systemd[1]: Created slice system-serial\x2dgetty.slice.
[    7.248825] random: systemd: uninitialized urandom read (16 bytes read)
[    7.250242] systemd[1]: Created slice User and Session Slice.
[    7.269165] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[    7.685608] fuse: init (API version 7.31)
[    7.780945] EXT4-fs (mmcblk1p6): re-mounted. Opts: (null)
[    7.936379] openvswitch: Open vSwitch switching datapath
[   10.205824] davinci_mdio b132400.mdio: davinci mdio revision 1.7, bus freq 1000000
[   10.205849] libphy: b132400.mdio: probed
[   10.261473] davinci_mdio b132400.mdio: phy[1]: device b132400.mdio:01, driver TI DP83867
[   10.315743] davinci_mdio b232400.mdio: davinci mdio revision 1.7, bus freq 1000000
[   10.315768] libphy: b232400.mdio: probed
[   10.325488] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[   10.328254] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[   10.328397] xhci-hcd xhci-hcd.0.auto: hcc params 0x0298fe6d hci version 0x110 quirks 0x0000000000010010
[   10.349789] xhci-hcd xhci-hcd.0.auto: irq 665, io mem 0x04030000
[   10.360963] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.02
[   10.360983] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   10.360989] usb usb1: Product: xHCI Host Controller
[   10.360994] usb usb1: Manufacturer: Linux 5.2.60-rt15-yocto-preempt-rt xhci-hcd
[   10.360998] usb usb1: SerialNumber: xhci-hcd.0.auto
[   10.373877] hub 1-0:1.0: USB hub found
[   10.377900] hub 1-0:1.0: 1 port detected
[   10.391542] davinci_mdio b232400.mdio: phy[2]: device b232400.mdio:02, driver TI DP83867
[   10.403310] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[   10.412239] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[   10.412281] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
[   10.413516] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[   10.415045] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.02
[   10.415055] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   10.415061] usb usb2: Product: xHCI Host Controller
[   10.415065] usb usb2: Manufacturer: Linux 5.2.60-rt15-yocto-preempt-rt xhci-hcd
[   10.415070] usb usb2: SerialNumber: xhci-hcd.0.auto
[   10.471828] hub 2-0:1.0: USB hub found
[   10.471893] hub 2-0:1.0: 1 port detected
[   10.480903] CAN device driver interface
[   10.601762] m_can_platform 40528000.mcan: m_can device registered (irq=15, version=32)
[   11.061111] remoteproc remoteproc0: b034000.pru is available
[   11.061257] pru-rproc b034000.pru: PRU rproc node /bus@100000/icssg@b000000/pru@34000 probed successfully
[   11.064921] remoteproc remoteproc1: b004000.rtu is available
[   11.065043] pru-rproc b004000.rtu: PRU rproc node /bus@100000/icssg@b000000/rtu@4000 probed successfully
[   11.065274] pru-rproc b00a000.txpru: IRQ vring not found
[   11.065281] pru-rproc b00a000.txpru: IRQ kick not found
[   11.065369] remoteproc remoteproc2: b00a000.txpru is available
[   11.065481] pru-rproc b00a000.txpru: PRU rproc node /bus@100000/icssg@b000000/txpru@a000 probed successfully
[   11.079275] remoteproc remoteproc3: b038000.pru is available
[   11.079393] pru-rproc b038000.pru: PRU rproc node /bus@100000/icssg@b000000/pru@38000 probed successfully
[   11.088361] remoteproc remoteproc4: b006000.rtu is available
[   11.088503] pru-rproc b006000.rtu: PRU rproc node /bus@100000/icssg@b000000/rtu@6000 probed successfully
[   11.097003] pru-rproc b00c000.txpru: IRQ vring not found
[   11.097020] pru-rproc b00c000.txpru: IRQ kick not found
[   11.097134] remoteproc remoteproc5: b00c000.txpru is available
[   11.097244] pru-rproc b00c000.txpru: PRU rproc node /bus@100000/icssg@b000000/txpru@c000 probed successfully
[   11.118304] remoteproc remoteproc6: b134000.pru is available
[   11.118425] pru-rproc b134000.pru: PRU rproc node /bus@100000/icssg@b100000/pru@34000 probed successfully
[   11.131533] remoteproc remoteproc7: b104000.rtu is available
[   11.131649] pru-rproc b104000.rtu: PRU rproc node /bus@100000/icssg@b100000/rtu@4000 probed successfully
[   11.137110] pru-rproc b10a000.txpru: IRQ vring not found
[   11.137124] pru-rproc b10a000.txpru: IRQ kick not found
[   11.137249] remoteproc remoteproc8: b10a000.txpru is available
[   11.137360] pru-rproc b10a000.txpru: PRU rproc node /bus@100000/icssg@b100000/txpru@a000 probed successfully
[   11.154850] remoteproc remoteproc9: b138000.pru is available
[   11.155002] pru-rproc b138000.pru: PRU rproc node /bus@100000/icssg@b100000/pru@38000 probed successfully
[   11.159253] remoteproc remoteproc10: b106000.rtu is available
[   11.159377] pru-rproc b106000.rtu: PRU rproc node /bus@100000/icssg@b100000/rtu@6000 probed successfully
[   11.172341] pru-rproc b10c000.txpru: IRQ vring not found
[   11.172356] pru-rproc b10c000.txpru: IRQ kick not found
[   11.172465] remoteproc remoteproc11: b10c000.txpru is available
[   11.172608] pru-rproc b10c000.txpru: PRU rproc node /bus@100000/icssg@b100000/txpru@c000 probed successfully
[   11.177491] remoteproc remoteproc12: b234000.pru is available
[   11.177604] pru-rproc b234000.pru: PRU rproc node /bus@100000/icssg@b200000/pru@34000 probed successfully
[   11.200948] remoteproc remoteproc13: b204000.rtu is available
[   11.201073] pru-rproc b204000.rtu: PRU rproc node /bus@100000/icssg@b200000/rtu@4000 probed successfully
[   11.202141] pru-rproc b20a000.txpru: IRQ vring not found
[   11.202150] pru-rproc b20a000.txpru: IRQ kick not found
[   11.202883] remoteproc remoteproc14: b20a000.txpru is available
[   11.203026] pru-rproc b20a000.txpru: PRU rproc node /bus@100000/icssg@b200000/txpru@a000 probed successfully
[   11.204926] remoteproc remoteproc15: b238000.pru is available
[   11.205024] pru-rproc b238000.pru: PRU rproc node /bus@100000/icssg@b200000/pru@38000 probed successfully
[   11.207012] remoteproc remoteproc16: b206000.rtu is available
[   11.207118] pru-rproc b206000.rtu: PRU rproc node /bus@100000/icssg@b200000/rtu@6000 probed successfully
[   11.209045] pru-rproc b20c000.txpru: IRQ vring not found
[   11.209056] pru-rproc b20c000.txpru: IRQ kick not found
[   11.209395] remoteproc remoteproc17: b20c000.txpru is available
[   11.209521] pru-rproc b20c000.txpru: PRU rproc node /bus@100000/icssg@b200000/txpru@c000 probed successfully
[   12.639356] icssg-prueth pruss1_eth: port 1: using random MAC addr: 0a:c6:82:81:56:6a
[   12.643042] icssg-prueth pruss1_eth: TI PRU ethernet driver initialized: single EMAC mode
[   12.654880] icssg-prueth pruss2_eth: port 1: using random MAC addr: 72:97:0c:7d:58:b5
[   12.658405] icssg-prueth pruss2_eth: TI PRU ethernet driver initialized: single EMAC mode
[   12.777070] EXT4-fs (mmcblk1p3): mounted filesystem with ordered data mode. Opts: (null)
[   13.539225] systemd-journald[263]: Received client request to flush runtime journal.
[   14.885243] TI DP83822 46000f00.mdio:03: attached PHY driver [TI DP83822] (mii_bus:phy_addr=46000f00.mdio:03, irq=POLL)
[   14.891960] am65-cpsw-nuss 46000000.ethernet eth0: Link is Down
[   14.925753] random: crng init done
[   14.925769] random: 7 urandom warning(s) missed due to ratelimiting
[   14.963040] remoteproc remoteproc6: powering up b134000.pru
[   14.988935] remoteproc remoteproc6: Booting fw image ti-pruss/am65x-sr2-pru0-prueth-fw.elf, size 35544
[   14.989143] pru-rproc b134000.pru: configured system_events[159-0] = 00000000,00000000,00000000,00000000,01000000
[   14.989153] pru-rproc b134000.pru: configured intr_channels = 0x00000001 host_intr = 0x00000004
[   14.989161] remoteproc remoteproc6: remote processor b134000.pru is now up
[   14.989200] remoteproc remoteproc7: powering up b104000.rtu
[   14.996768] remoteproc remoteproc7: Booting fw image ti-pruss/am65x-sr2-rtu0-prueth-fw.elf, size 29080
[   14.996806] remoteproc remoteproc7: remote processor b104000.rtu is now up
[   14.996843] remoteproc remoteproc8: powering up b10a000.txpru
[   15.005074] remoteproc remoteproc8: Booting fw image ti-pruss/am65x-sr2-txpru0-prueth-fw.elf, size 32536
[   15.005122] remoteproc remoteproc8: remote processor b10a000.txpru is now up
[   15.013966] TI DP83867 b132400.mdio:01: attached PHY driver [TI DP83867] (mii_bus:phy_addr=b132400.mdio:01, irq=POLL)
[   15.014351] net eth1: started
[   15.094856] remoteproc remoteproc12: powering up b234000.pru
[   15.095056] remoteproc remoteproc12: Booting fw image ti-pruss/am65x-sr2-pru0-prueth-fw.elf, size 35544
[   15.095264] pru-rproc b234000.pru: configured system_events[159-0] = 00000000,00000000,00000000,00000000,01000000
[   15.095274] pru-rproc b234000.pru: configured intr_channels = 0x00000001 host_intr = 0x00000004
[   15.095283] remoteproc remoteproc12: remote processor b234000.pru is now up
[   15.095312] remoteproc remoteproc13: powering up b204000.rtu
[   15.095463] remoteproc remoteproc13: Booting fw image ti-pruss/am65x-sr2-rtu0-prueth-fw.elf, size 29080
[   15.095482] remoteproc remoteproc13: remote processor b204000.rtu is now up
[   15.095503] remoteproc remoteproc14: powering up b20a000.txpru
[   15.095613] remoteproc remoteproc14: Booting fw image ti-pruss/am65x-sr2-txpru0-prueth-fw.elf, size 32536
[   15.095634] remoteproc remoteproc14: remote processor b20a000.txpru is now up
[   15.124008] TI DP83867 b232400.mdio:02: attached PHY driver [TI DP83867] (mii_bus:phy_addr=b232400.mdio:02, irq=POLL)
[   15.124288] net eth2: started
[   16.179296] am65-cpsw-nuss 46000000.ethernet EtherCAT: renamed from eth0
[   16.189847] TI DP83822 46000f00.mdio:03: attached PHY driver [TI DP83822] (mii_bus:phy_addr=46000f00.mdio:03, irq=POLL)
[   16.193829] am65-cpsw-nuss 46000000.ethernet EtherCAT: Link is Down
[   16.205145] remoteproc remoteproc8: stopped remote processor b10a000.txpru
[   16.205171] remoteproc remoteproc7: stopped remote processor b104000.rtu
[   16.205335] pru-rproc b134000.pru: unconfigured system_events[159-0] = 00000000,00000000,00000000,00000000,01000000
[   16.205347] pru-rproc b134000.pru: unconfigured host_intr = 0x00000004
[   16.205354] remoteproc remoteproc6: stopped remote processor b134000.pru
[   16.207389] net eth1: stopped
[   16.208362] icssg-prueth pruss1_eth EthernetX1: renamed from eth1
[   16.238296] remoteproc remoteproc6: powering up b134000.pru
[   16.238503] remoteproc remoteproc6: Booting fw image ti-pruss/am65x-sr2-pru0-prueth-fw.elf, size 35544
[   16.238777] pru-rproc b134000.pru: configured system_events[159-0] = 00000000,00000000,00000000,00000000,01000000
[   16.238788] pru-rproc b134000.pru: configured intr_channels = 0x00000001 host_intr = 0x00000004
[   16.238797] remoteproc remoteproc6: remote processor b134000.pru is now up
[   16.238831] remoteproc remoteproc7: powering up b104000.rtu
[   16.238962] remoteproc remoteproc7: Booting fw image ti-pruss/am65x-sr2-rtu0-prueth-fw.elf, size 29080
[   16.238983] remoteproc remoteproc7: remote processor b104000.rtu is now up
[   16.239006] remoteproc remoteproc8: powering up b10a000.txpru
[   16.239119] remoteproc remoteproc8: Booting fw image ti-pruss/am65x-sr2-txpru0-prueth-fw.elf, size 32536
[   16.239142] remoteproc remoteproc8: remote processor b10a000.txpru is now up
[   16.241225] TI DP83867 b132400.mdio:01: attached PHY driver [TI DP83867] (mii_bus:phy_addr=b132400.mdio:01, irq=POLL)
[   16.241496] net EthernetX1: started
[   16.255030] remoteproc remoteproc14: stopped remote processor b20a000.txpru
[   16.255055] remoteproc remoteproc13: stopped remote processor b204000.rtu
[   16.255230] pru-rproc b234000.pru: unconfigured system_events[159-0] = 00000000,00000000,00000000,00000000,01000000
[   16.255241] pru-rproc b234000.pru: unconfigured host_intr = 0x00000004
[   16.255247] remoteproc remoteproc12: stopped remote processor b234000.pru
[   16.257115] net eth2: stopped
[   16.257795] icssg-prueth pruss2_eth EthernetX2: renamed from eth2
[   16.277444] remoteproc remoteproc12: powering up b234000.pru
[   16.277652] remoteproc remoteproc12: Booting fw image ti-pruss/am65x-sr2-pru0-prueth-fw.elf, size 35544
[   16.277950] pru-rproc b234000.pru: configured system_events[159-0] = 00000000,00000000,00000000,00000000,01000000
[   16.277961] pru-rproc b234000.pru: configured intr_channels = 0x00000001 host_intr = 0x00000004
[   16.277970] remoteproc remoteproc12: remote processor b234000.pru is now up
[   16.278007] remoteproc remoteproc13: powering up b204000.rtu
[   16.278140] remoteproc remoteproc13: Booting fw image ti-pruss/am65x-sr2-rtu0-prueth-fw.elf, size 29080
[   16.278162] remoteproc remoteproc13: remote processor b204000.rtu is now up
[   16.278185] remoteproc remoteproc14: powering up b20a000.txpru
[   16.278291] remoteproc remoteproc14: Booting fw image ti-pruss/am65x-sr2-txpru0-prueth-fw.elf, size 32536
[   16.278314] remoteproc remoteproc14: remote processor b20a000.txpru is now up
[   16.279950] TI DP83867 b232400.mdio:02: attached PHY driver [TI DP83867] (mii_bus:phy_addr=b232400.mdio:02, irq=POLL)
[   16.280223] net EthernetX2: started
[   18.273843] icssg-prueth pruss1_eth EthernetX1: Link is Up - 1Gbps/Full - flow control off
[   18.273910] IPv6: ADDRCONF(NETDEV_CHANGE): EthernetX1: link becomes ready
[   18.960672] FAT-fs (mmcblk1p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[   40.462643] FAT-fs (mmcblk1p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[   41.555644] remoteproc remoteproc0: powering up b034000.pru
[   41.563989] remoteproc remoteproc0: Booting fw image am65x-pru0_0-fw, size 158300
[   41.564032] remoteproc remoteproc0: remote processor b034000.pru is now up
[   41.580995] remoteproc remoteproc1: powering up b004000.rtu
[   41.588074] remoteproc remoteproc1: Booting fw image am65x-rtu0_0-fw, size 138336
[   41.588118] remoteproc remoteproc1: remote processor b004000.rtu is now up
[   41.605164] remoteproc remoteproc2: powering up b00a000.txpru
[   41.612578] remoteproc remoteproc2: Booting fw image am65x-txpru0_0-fw, size 140032
[   41.612617] remoteproc remoteproc2: remote processor b00a000.txpru is now up
[   41.629127] remoteproc remoteproc3: powering up b038000.pru
[   41.637167] remoteproc remoteproc3: Booting fw image am65x-pru0_1-fw, size 156304
[   41.637212] remoteproc remoteproc3: remote processor b038000.pru is now up
[   41.653585] remoteproc remoteproc4: powering up b006000.rtu
[   41.661359] remoteproc remoteproc4: Booting fw image am65x-rtu0_1-fw, size 149416
[   41.661404] remoteproc remoteproc4: remote processor b006000.rtu is now up
[   41.677780] remoteproc remoteproc5: powering up b00c000.txpru
[   41.685435] remoteproc remoteproc5: Booting fw image am65x-txpru0_1-fw, size 149540
[   41.685477] remoteproc remoteproc5: remote processor b00c000.txpru is now up
[   41.701777] remoteproc remoteproc15: powering up b238000.pru
[   41.709389] remoteproc remoteproc15: Booting fw image am65x-pru2_1-fw, size 150844
[   41.709433] remoteproc remoteproc15: remote processor b238000.pru is now up
[   41.725912] remoteproc remoteproc16: powering up b206000.rtu
[   41.733419] remoteproc remoteproc16: Booting fw image am65x-rtu2_1-fw, size 144936
[   41.733465] remoteproc remoteproc16: remote processor b206000.rtu is now up
[   42.668509] can: controller area network core (rev 20170425 abi 9)
[   42.668651] NET: Registered protocol family 29
[   42.688418] can: raw protocol (rev 20170425)
[   42.849487] am65-cpsw-nuss 46000000.ethernet EtherCAT: Link is Up - 100Mbps/Full - flow control off
[   42.849543] IPv6: ADDRCONF(NETDEV_CHANGE): EtherCAT: link becomes ready
[   44.193148] tun: Universal TUN/TAP device driver, 1.6
[   44.208613] device EtherCAT entered promiscuous mode
[   51.664877] ------------[ cut here ]------------
[   51.664896] WARNING: CPU: 0 PID: 68 at drivers/watchdog/rti_wdt.c:105 rti_wdt_ping+0x40/0x58
[   51.664921] Modules linked in: tun can_raw can nls_iso8859_1 nls_cp437 icssg_prueth pru_rproc irq_pruss_intc icss_iep m_can_platform m_can can_dev xhci_plat_hcd xhci_hcd pruss sch_fq_codel openvswitch nsh nf_conncount nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c fuse
[   51.664988] CPU: 0 PID: 68 Comm: watchdogd Not tainted 5.2.60-rt15-yocto-preempt-rt #1
[   51.664995] Hardware name: Texas Instruments AM654 Base Board (DT)
[   51.664998] pstate: 80000005 (Nzcv daif -PAN -UAO)
[   51.665003] pc : rti_wdt_ping+0x40/0x58
[   51.665007] lr : __watchdog_ping+0x58/0x128
[   51.665012] sp : ffffff8010e4bda0
[   51.665014] x29: ffffff8010e4bda0 x28: 0000000000000000
[   51.665021] x27: 0000000000000000 x26: ffffffc03ddd72c0
[   51.665027] x25: 0000000000000001 x24: ffffffc03ded3308
[   51.665033] x23: ffffff8010c00a08 x22: ffffffc03ddd72c0
[   51.665040] x21: ffffffc00f905000 x20: 0000000c075cd83f
[   51.665046] x19: ffffffc00fb03090 x18: 0000000000000000
[   51.665052] x17: 0000000000000000 x16: 0000000000000000
[   51.665058] x15: 0000000000000000 x14: 0000000000000000
[   51.665064] x13: 0000000000000000 x12: 0000000000000000
[   51.665069] x11: 0000000000000000 x10: 00000000000009a0
[   51.665075] x9 : ffffff8010e4bd50 x8 : ffffffc03ddd7cc0
[   51.665082] x7 : ffffff8011363c80 x6 : 00000002a6005260
[   51.665088] x5 : 00ffffffffffffff x4 : 000bbdfb40000000
[   51.665094] x3 : 0000000000000018 x2 : 000000000000a35c
[   51.665100] x1 : ffffff8010c4d09c x0 : 0000000000000032
[   51.665106] Call trace:
[   51.665109]  rti_wdt_ping+0x40/0x58
[   51.665113]  __watchdog_ping+0x58/0x128
[   51.665117]  watchdog_ping_work+0x38/0x60
[   51.665121]  kthread_worker_fn+0xb0/0x188
[   51.665129]  kthread+0x100/0x130
[   51.665133]  ret_from_fork+0x10/0x18
[   51.665140] ---[ end trace 0000000000000002 ]---
[  642.912924] genphy_update_link phy_read MII_BMCR = 0xfffffffb
[  642.912941] gpio 340 is valid.
[  642.912953] TI DP83867 b132400.mdio:01: genphy_read_status err=fffffffb
[  642.913004] ------------[ cut here ]------------
[  642.913008] WARNING: CPU: 1 PID: 21 at drivers/net/phy/phy.c:737 phy_error+0x18/0x60
[  642.913028] Modules linked in: tun can_raw can nls_iso8859_1 nls_cp437 icssg_prueth pru_rproc irq_pruss_intc icss_iep m_can_platform m_can can_dev xhci_plat_hcd xhci_hcd pruss sch_fq_codel openvswitch nsh nf_conncount nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c fuse
[  642.913094] CPU: 1 PID: 21 Comm: kworker/1:0 Tainted: G        W         5.2.60-rt15-yocto-preempt-rt #1
[  642.913100] Hardware name: Texas Instruments AM654 Base Board (DT)
[  642.913108] Workqueue: events_power_efficient phy_state_machine
[  642.913117] pstate: 60000005 (nZCv daif -PAN -UAO)
[  642.913121] pc : phy_error+0x18/0x60
[  642.913126] lr : phy_state_machine+0x74/0x1f0
[  642.913131] sp : ffffff8010cb3d60
[  642.913133] x29: ffffff8010cb3d60 x28: ffffff8010a89000
[  642.913139] x27: ffffffc03fd98af0 x26: ffffffc03fd98aa0
[  642.913146] x25: 0000000000000000 x24: ffffff8010bb8960
[  642.913152] x23: 00000000fffffffb x22: ffffffc03a372800
[  642.913158] x21: ffffffc03a372ca8 x20: 0000000000000004
[  642.913164] x19: ffffffc03a372800 x18: 0000000000000020
[  642.913170] x17: 0000000000000000 x16: ffffffc03dc2a640
[  642.913176] x15: ffffffc03dc2aac0 x14: ffffffffffffffff
[  642.913182] x13: ffffffc03fd8cdf8 x12: ffffffc03fd8ca4b
[  642.913189] x11: 0000000000000006 x10: 0101010101010101
[  642.913195] x9 : ffffff8010cb3ac0 x8 : 66666666663d7272
[  642.913201] x7 : 6520737574617473 x6 : ffffff8010be814b
[  642.913207] x5 : 0000000000000001 x4 : 0000000000000000
[  642.913213] x3 : 0000000000000001 x2 : 0000000000000000
[  642.913218] x1 : e8e53b7555b37700 x0 : ffffff80104d28ac
[  642.913225] Call trace:
[  642.913228]  phy_error+0x18/0x60
[  642.913233]  phy_state_machine+0x74/0x1f0
[  642.913237]  process_one_work+0x1c4/0x478
[  642.913245]  worker_thread+0x50/0x400
[  642.913250]  kthread+0x100/0x130
[  642.913256]  ret_from_fork+0x10/0x18
[  642.913263] ---[ end trace 0000000000000003 ]---
[  642.913284] icssg-prueth pruss1_eth EthernetX1: Link is Down
root@AX-564EB0MB1T:~#

  • Hi Tanmay:

    Please change the E2E CPU type as "AM6548".

    Sorry, it's my typo.

    BR Rio

  • Hello Rio,

    Customer is using the 7.x SDK version of the AM57.

    Can you please clarify if this is AM57 SDK or AM65 SDK?

    Thanks,

    Jianzhong

  • Hi ,

    We are using AM65 7.x SDK.

    Thanks.

    Eric

  • Hi and ,

    We are using AM65 SDK 7.x SDK now,

    And I want to check if MDIO stuck is caused by RTI error?  Are they related?

    Eric

  • Hi Eric,

    Thanks for the clarification. Let me assign this thread to our AM65 Linux networking subject owner.

    Regards,

    Jianzhong 

  • Hi,

    Anything update about this?

    Eric

  • Hi Eric:

    It's during Xmas period, so, the reply will be slowed down.

    BR Rio

  • Hi,

    Update some information.

    I tried to get more log about this issue, and found it might cause in davinci read function. It seems do some access via control ICSSG_USER_ACCESS_REG.

    Below are my logs:

    [ 243.169139] davinci_mdio_read phy_id=1 phy_reg=1 reg_old=2021796d reg=2021796d ret=796d
    [ 244.192681] phy_read addr=1 regnum=0
    [ 244.192691] davinci_mdio_read phy_id=1 phy_reg=0 reg=80010000
    [ 244.192912] davinci_mdio_read phy_id=1 phy_reg=0 reg_old=20011140 reg=20011140 ret=1140
    [ 244.192918] phy_read addr=1 regnum=1
    [ 244.192921] davinci_mdio_read phy_id=1 phy_reg=1 reg=80210000
    [ 244.193141] davinci_mdio_read phy_id=1 phy_reg=1 reg_old=2021796d reg=2021796d ret=796d
    [ 245.216686] phy_read addr=1 regnum=0
    [ 245.216696] davinci_mdio_read phy_id=1 phy_reg=0 reg=80010000
    [ 245.216919] davinci_mdio_read phy_id=1 phy_reg=0 reg_old=20011140 reg=20011140 ret=1140
    [ 245.216924] phy_read addr=1 regnum=1
    [ 245.216928] davinci_mdio_read phy_id=1 phy_reg=1 reg=80210000
    [ 245.217148] davinci_mdio_read phy_id=1 phy_reg=1 reg_old=2021796d reg=2021796d ret=796d
    [ 246.240672] phy_read addr=1 regnum=0
    [ 246.240681] davinci_mdio_read phy_id=1 phy_reg=0 reg=80010000
    [ 246.240903]davinci_mdio_read phy_id=1 phy_reg=0 reg_old=1ffff reg=1ffff ret=fffffffb 
    [ 246.240908] genphy_update_link phy_read addr=1 MII_BMCR = 0xfffffffb
    [ 246.240949] ------------[ cut here ]------------
    [ 246.240952] WARNING: CPU: 0 PID: 164 at drivers/net/phy/phy.c:737 phy_error+0x18/0x60
    [ 246.240976] Modules linked in: nls_iso8859_1 nls_cp437 icssg_prueth pru_rproc irq_pruss_intc icss_iep xhci_plat_hcd m_can_platform m_can can_dev xhci_hcd pruss sch_fq_codel openvswitch nsh nf_conncount nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c fuse
    [ 246.241034] CPU: 0 PID: 164 Comm: kworker/0:5 Not tainted 5.2.60-rt15-yocto-preempt-rt #1
    [ 246.241040] Hardware name: Texas Instruments AM654 Base Board (DT)
    [ 246.241048] Workqueue: events_power_efficient phy_state_machine
    [ 246.241055] pstate: 60000005 (nZCv daif -PAN -UAO)
    [ 246.241060] pc : phy_error+0x18/0x60
    [ 246.241065] lr : phy_state_machine+0x74/0x1f0
    [ 246.241070] sp : ffffff80112f3d60
    [ 246.241072] x29: ffffff80112f3d60 x28: ffffff8010a89000
    [ 246.241078] x27: 0000000000000000 x26: ffffff8011323cc8
    [ 246.241083] x25: 0000000000000000 x24: ffffff8010bb8960
    [ 246.241089] x23: 00000000fffffffb x22: ffffffc03a367800
    [ 246.241095] x21: ffffffc03a367ca8 x20: 0000000000000004
    [ 246.241100] x19: ffffffc03a367800 x18: 0000000000000020
    [ 246.241106] x17: 0000000000000000 x16: ffffffc03a86a640
    [ 246.241111] x15: ffffffc03a86aac0 x14: ffffffffffffffff
    [ 246.241117] x13: ffffffc03fd73df8 x12: ffffffc03fd73a48
    [ 246.241123] x11: 6666313d646c6f5f x10: 67657220303d6765
    [ 246.241128] x9 : 725f79687020313d x8 : 6266666666666666
    [ 246.241134] x7 : 7830203d2052434d x6 : ffffff8010bfc5b1
    [ 246.241139] x5 : 0000000000000001 x4 : 0000000000000000
    [ 246.241145] x3 : 0000000000000001 x2 : 0000000000000000
    [ 246.241150] x1 : eb94b0609af65600 x0 : ffffff80104d28ac
    [ 246.241157] Call trace:
    [ 246.241159] phy_error+0x18/0x60
    [ 246.241164] phy_state_machine+0x74/0x1f0
    [ 246.241168] process_one_work+0x1c4/0x478
    [ 246.241176] worker_thread+0x50/0x400
    [ 246.241181] kthread+0x100/0x130
    [ 246.241186] ret_from_fork+0x10/0x18
    [ 246.241194] ---[ end trace 0000000000000002 ]---
    [ 246.241215] icssg-prueth pruss1_eth eth1: Link is Down
    [ 246.241225] __phy_read addr=1
    [ 246.241229] davinci_mdio_read phy_id=1 phy_reg=0 reg=80010000
    [ 246.241460] davinci_mdio_read phy_id=1 phy_reg=0 reg_old=1ffff reg=1ffff ret=fffffffb
    root@AX-564EB0MB1T:~#

    The read message comes from here, and it seems doing some access with icssg?

    I'm not sure about this. But the reg is not correct finally, and got the wrong return value.

    Anyone can explain about this?

    Eric

  • Hi,

    I add more log about this.

    The reg_oldw is saved after call into writel(reg, &data->regs->user[0].access);

    And reg_oldr is aved after call into readl(&data->regs->user[0].access);

    Not sure why the reg is changed to an unuassaully value.

    [ 258.464544] davinci_mdio_read phy_id=1 phy_reg=0 reg=80010000
    [ 258.464766] davinci_mdio_read phy_id=1 phy_reg=0 reg_oldw=80010000 reg_oldr=1ffff reg=1ffff ret=fffffffb
    [ 258.464771] genphy_update_link phy_read addr=1 MII_BMCR = 0xfffffffb
    [ 258.464813] ------------[ cut here ]------------
    [ 258.464816] WARNING: CPU: 0 PID: 80 at drivers/net/phy/phy.c:737 phy_error+0x18/0x60
    [ 258.464840] Modules linked in: nls_iso8859_1 nls_cp437 icssg_prueth pru_rproc irq_pruss_intc icss_iep xhci_plat_hcd m_can_platform m_can can_dev xhci_hcd pruss sch_fq_codel openvswitch nsh nf_conncount nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c fuse
    [ 258.464895] CPU: 0 PID: 80 Comm: kworker/0:2 Not tainted 5.2.60-rt15-yocto-preempt-rt #1
    [ 258.464901] Hardware name: Texas Instruments AM654 Base Board (DT)
    [ 258.464909] Workqueue: events_power_efficient phy_state_machine
    [ 258.464917] pstate: 60000005 (nZCv daif -PAN -UAO)
    [ 258.464921] pc : phy_error+0x18/0x60
    [ 258.464927] lr : phy_state_machine+0x74/0x1f0
    [ 258.464931] sp : ffffff801132bd60
    [ 258.464933] x29: ffffff801132bd60 x28: ffffff8010a89000
    [ 258.464939] x27: ffffffc03fd7faf0 x26: ffffffc03fd7faa0
    [ 258.464945] x25: 0000000000000000 x24: ffffff8010bb8960
    [ 258.464951] x23: 00000000fffffffb x22: ffffffc03cb69000
    [ 258.464956] x21: ffffffc03cb694a8 x20: 0000000000000004
    [ 258.464962] x19: ffffffc03cb69000 x18: 0000000000000020
    [ 258.464967] x17: 0000000000000000 x16: ffffffc03ddd6600
    [ 258.464973] x15: ffffffc03ddd6a80 x14: ffffffffffffffff
    [ 258.464979] x13: ffffffc03fd73df8 x12: ffffffc03fd73a48
    [ 258.464984] x11: 30383d77646c6f5f x10: 67657220303d6765
    [ 258.464990] x9 : 725f79687020313d x8 : 6266666666666666
    [ 258.464996] x7 : 7830203d2052434d x6 : ffffff8010bff6a1
    [ 258.465001] x5 : 0000000000000001 x4 : 0000000000000000
    [ 258.465006] x3 : 0000000000000001 x2 : 0000000000000000
    [ 258.465012] x1 : f1a695f7b47c2e00 x0 : ffffff80104d28ac
    [ 258.465019] Call trace:
    [ 258.465021] phy_error+0x18/0x60
    [ 258.465026] phy_state_machine+0x74/0x1f0
    [ 258.465030] process_one_work+0x1c4/0x478
    [ 258.465038] worker_thread+0x50/0x400
    [ 258.465042] kthread+0x100/0x130
    [ 258.465048] ret_from_fork+0x10/0x18
    [ 258.465055] ---[ end trace 0000000000000002 ]---
    [ 258.465077] icssg-prueth pruss1_eth eth1: Link is Down

    Eric

  • Hi,

    Any update?

    Eric

  • HI TI Champs:

    May we have your feedback of AM65 MDIO stuck issue?

    BR Rio

  • Hi Ti,

    Any update about this?

    Eric

  • Hi Eric:

    I'm pushing TI RnD/AE to help.

    Please stay tune.

    BR Rio

  • Hello Eric

    Is it possible to try this with the latest SDK on ti.com and a TI EVM. We are not going to be able to provide efficient support with the older SDK release.

  • Hi ,

    I have provided some information to Rio. and I think he will share to Ti.

    And attached the log from SDK8.2 with Ti EVM.

    Eric

    U-Boot SPL 2021.01-g44a87e3ab8 (Mar 24 2022 - 06:00:43 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0015 '21.1.1--v2021.01a (Terrific Lla')
    SPL initial stack usage: 1416 bytes
    Trying to boot from MMC2
    spl_load_fit_image: Skip load 'dm': image size is 0!
    Starting ATF on ARM64 core...
    
    NOTICE:  BL31: v2.5(release):08.01.00.006-dirty
    NOTICE:  BL31: Built : 05:29:41, Mar 24 2022
    
    U-Boot SPL 2021.01-g44a87e3ab8 (Mar 24 2022 - 05:30:44 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0015 '21.1.1--v2021.01a (Terrific Lla')
    Detected: Silicon SR1.0
    i2c_omap i2c@42120000: pinctrl_select_state_full: uclass_get_device_by_phandle_id: err=-19
    Detected: AM6-IDKAPPEVM rev E4
    Trying to boot from MMC2
    
    
    U-Boot 2021.01-g44a87e3ab8 (Mar 24 2022 - 05:30:44 +0000)
    
    SoC:   AM65X SR1.0
    Model: Texas Instruments AM654 Base Board
    Board: AM6-COMPROCEVM rev E4
    DRAM:  4 GiB
    MMC:   sdhci@4f80000: 0, sdhci@4fa0000: 1
    Loading Environment from MMC... OK
    In:    serial
    Out:   serial
    Err:   serial
    am65_cpsw_nuss ethernet@46000000: K3 CPSW: nuss_ver: 0x6BA07100 cpsw_ver: 0x6BA80100 ale_ver: 0x00293904 Ports:1 mdio_freq:1000000
    Detected: Silicon SR1.0
    Detected: AM6-IDKAPPEVM rev E4
    Net:   eth1: icssg2-eth, eth0: ethernet@46000000port@1
    Hit any key to stop autoboot:  0
    switch to partitions #0, OK
    mmc1 is current device
    SD/MMC found on device 1
    Failed to load 'boot.scr'
    1011 bytes read in 3 ms (329.1 KiB/s)
    Loaded env from uEnv.txt
    Importing environment from mmc1 ...
    Running uenvcmd ...
    Using board_name = am65x
    18231808 bytes read in 757 ms (23 MiB/s)
    64207 bytes read in 7 ms (8.7 MiB/s)
    2080 bytes read in 4 ms (507.8 KiB/s)
    11520 bytes read in 4 ms (2.7 MiB/s)
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 000000008feed000, end 000000008fffffff ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
    [    0.000000] Linux version 5.10.100-rt62-g204ec708dc (oe-user@oe-host) (aarch64-none-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 9.2.1 20191025, GNU ld (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 2.33.1.20191209) #1 SMP PREEMPT_RT Thu Mar 24 05:32:52 UTC 2022
    [    0.000000] Machine model: Texas Instruments AM654 Base Board
    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
    [    0.000000] printk: bootconsole [ns16550a0] enabled
    [    0.000000] efi: UEFI not found.
    [    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] Zone ranges:
    [    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000]   DMA32    empty
    [    0.000000]   Normal   [mem 0x0000000100000000-0x00000008ffffffff]
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x0000000080000000-0x000000009e7fffff]
    [    0.000000]   node   0: [mem 0x000000009e800000-0x00000000a20fffff]
    [    0.000000]   node   0: [mem 0x00000000a2100000-0x00000000ffffffff]
    [    0.000000]   node   0: [mem 0x0000000880000000-0x00000008ffffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000008ffffffff]
    [    0.000000] On node 0 totalpages: 1048576
    [    0.000000]   DMA zone: 8192 pages used for memmap
    [    0.000000]   DMA zone: 0 pages reserved
    [    0.000000]   DMA zone: 524288 pages, LIFO batch:63
    [    0.000000]   Normal zone: 8192 pages used for memmap
    [    0.000000]   Normal zone: 524288 pages, LIFO batch:63
    [    0.000000] cma: Reserved 24 MiB at 0x00000000fe800000
    [    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.2
    [    0.000000] percpu: Embedded 18 pages/cpu s34752 r8192 d30784 u73728
    [    0.000000] pcpu-alloc: s34752 r8192 d30784 u73728 alloc=18*4096
    [    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
    [    0.000000] Detected VIPT I-cache on CPU0
    [    0.000000] CPU features: detected: ARM erratum 845719
    [    0.000000] CPU features: detected: GIC system register CPU interface
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1032192
    [    0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 isolcpus=1-3 mtdparts=47040000.spi.0:512k(ospi.tiboot3),2m(ospi.tispl),4m(ospi.u-boot),128k(ospi.env),128k(ospi.env.backup),1m(ospi.sysfw),57216k@8m(ospi.rootfs),128k(ospi.phypattern) root=PARTUUID=6eca9650-02 rw rootfstype=ext4 rootwait
    [    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
    [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
    [    0.000000] software IO TLB: mapped [mem 0x00000000fa800000-0x00000000fe800000] (64MB)
    [    0.000000] Memory: 3946716K/4194304K available (10624K kernel code, 1164K rwdata, 4148K rodata, 1728K init, 438K bss, 223012K reserved, 24576K cma-reserved)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000] rcu:     RCU event tracing is enabled.
    [    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
    [    0.000000] rcu:     RCU priority boosting: priority 1 delay 500 ms.
    [    0.000000] rcu:     RCU_SOFTIRQ processing moved to rcuc kthreads.
    [    0.000000]  No expedited grace period (rcu_normal_after_boot).
    [    0.000000]  Trampoline variant of Tasks RCU enabled.
    [    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] GICv3: GIC: Using split EOI/Deactivate mode
    [    0.000000] GICv3: 960 SPIs implemented
    [    0.000000] GICv3: 0 Extended SPIs implemented
    [    0.000000] GICv3: Distributor has no Range Selector support
    [    0.000000] GICv3: 16 PPIs implemented
    [    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001880000
    [    0.000000] ITS [mem 0x01820000-0x0182ffff]
    [    0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS
    [    0.000000] ITS@0x0000000001820000: Devices Table too large, reduce ids 20->19
    [    0.000000] ITS@0x0000000001820000: allocated 524288 Devices @880800000 (flat, esz 8, psz 64K, shr 0)
    [    0.000000] ITS: using cache flushing for cmd queue
    [    0.000000] GICv3: using LPI property table @0x0000000880040000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000880050000
    [    0.000000] random: get_random_bytes called from start_kernel+0x320/0x4c8 with crng_init=0
    [    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.008683] Console: colour dummy device 80x25
    [    0.013292] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.023987] pid_max: default: 32768 minimum: 301
    [    0.028845] LSM: Security Framework initializing
    [    0.033654] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.041258] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.051548] rcu: Hierarchical SRCU implementation.
    [    0.057139] Platform MSI: msi-controller@1820000 domain created
    [    0.063551] PCI/MSI: /bus@100000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.072977] EFI services will not be available.
    [    0.077940] smp: Bringing up secondary CPUs ...
    [    0.083812] Detected VIPT I-cache on CPU1
    [    0.087947] GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000
    [    0.094990] GICv3: CPU1: using allocated LPI pending table @0x0000000880060000
    [    0.102434] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
    [    0.110561] Detected VIPT I-cache on CPU2
    [    0.114715] GICv3: CPU2: found redistributor 100 region 0:0x00000000018c0000
    [    0.121938] GICv3: CPU2: using allocated LPI pending table @0x0000000880070000
    [    0.129385] CPU2: Booted secondary processor 0x0000000100 [0x410fd034]
    [    0.137435] Detected VIPT I-cache on CPU3
    [    0.141556] GICv3: CPU3: found redistributor 101 region 0:0x00000000018e0000
    [    0.148774] GICv3: CPU3: using allocated LPI pending table @0x0000000880080000
    [    0.156195] CPU3: Booted secondary processor 0x0000000101 [0x410fd034]
    [    0.163045] smp: Brought up 1 node, 4 CPUs
    [    0.167274] SMP: Total of 4 processors activated.
    [    0.172106] CPU features: detected: 32-bit EL0 Support
    [    0.177385] CPU features: detected: CRC32 instructions
    [    0.197937] CPU: All CPU(s) started at EL2
    [    0.202182] alternatives: patching kernel code
    [    0.207902] devtmpfs: initialized
    [    0.224892] KASLR disabled due to lack of seed
    [    0.229651] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.239666] futex hash table entries: 1024 (order: 5, 131072 bytes, linear)
    [    0.248027] pinctrl core: initialized pinctrl subsystem
    [    0.254085] DMI not present or invalid.
    [    0.258653] NET: Registered protocol family 16
    [    0.265463] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
    [    0.272917] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.281248] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.290070] thermal_sys: Registered thermal governor 'step_wise'
    [    0.290847] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.304075] ASID allocator initialised with 65536 entries
    [    0.358503] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.365415] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.372326] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.379212] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.387663] cryptd: max_cpu_qlen set to 1000
    [    0.396860] k3-chipinfo 43000014.chipid: Family:AM65X rev:SR1.0 JTAGID[0x0bb5a02f] Detected
    [    0.406223] vcc3v3_io: supplied by evm_12v0
    [    0.412079] iommu: Default domain type: Translated
    [    0.417541] SCSI subsystem initialized
    [    0.422512] mc: Linux media interface: v0.10
    [    0.426969] videodev: Linux video capture interface: v2.00
    [    0.432714] pps_core: LinuxPPS API ver. 1 registered
    [    0.437812] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.447213] PTP clock support registered
    [    0.451270] EDAC MC: Ver: 3.0.0
    [    0.455797] FPGA manager framework
    [    0.459401] Advanced Linux Sound Architecture Driver Initialized.
    [    0.466864] clocksource: Switched to clocksource arch_sys_counter
    [    0.473419] VFS: Disk quotas dquot_6.6.0
    [    0.477506] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    0.492632] NET: Registered protocol family 2
    [    0.497459] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
    [    0.507843] tcp_listen_portaddr_hash hash table entries: 2048 (order: 5, 131072 bytes, linear)
    [    0.516926] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.525454] TCP bind hash table entries: 32768 (order: 8, 1835008 bytes, linear)
    [    0.535069] TCP: Hash tables configured (established 32768 bind 32768)
    [    0.542077] UDP hash table entries: 2048 (order: 6, 262144 bytes, linear)
    [    0.549351] UDP-Lite hash table entries: 2048 (order: 6, 262144 bytes, linear)
    [    0.557319] NET: Registered protocol family 1
    [    0.562436] RPC: Registered named UNIX socket transport module.
    [    0.568539] RPC: Registered udp transport module.
    [    0.573360] RPC: Registered tcp transport module.
    [    0.578192] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.584795] PCI: CLS 0 bytes, default 64
    [    0.590220] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
    [    0.604829] Initialise system trusted keyrings
    [    0.609633] workingset: timestamp_bits=46 max_order=20 bucket_order=0
    [    0.623551] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.630370] NFS: Registering the id_resolver key type
    [    0.635601] Key type id_resolver registered
    [    0.639949] Key type id_legacy registered
    [    0.644169] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.651055] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    0.658896] 9p: Installing v9fs 9p2000 file system support
    [    0.718673] Key type asymmetric registered
    [    0.722920] Asymmetric key parser 'x509' registered
    [    0.727959] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
    [    0.735570] io scheduler mq-deadline registered
    [    0.740214] io scheduler kyber registered
    [    0.747569] pinctrl-single 4301c000.pinctrl: 70 pins, size 280
    [    0.754252] pinctrl-single 11c000.pinctrl: 185 pins, size 740
    [    0.760362] pinctrl-single 11c2e8.pinctrl: 9 pins, size 36
    [    0.773607] k3-ringacc 2b800000.ringacc: Failed to get MSI domain
    [    0.780026] k3-ringacc 3c000000.ringacc: Failed to get MSI domain
    [    0.791358] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [    0.819401] brd: module loaded
    [    0.833580] loop: module loaded
    [    0.837885] megasas: 07.714.04.00-rc1
    [    0.847791] tun: Universal TUN/TAP device driver, 1.6
    [    0.853892] igbvf: Intel(R) Gigabit Virtual Function Network Driver
    [    0.860337] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
    [    0.866487] sky2: driver version 1.30
    [    0.871772] VFIO - User Level meta-driver version: 0.3
    [    0.878203] i2c /dev entries driver
    [    0.883560] sdhci: Secure Digital Host Controller Interface driver
    [    0.889928] sdhci: Copyright(c) Pierre Ossman
    [    0.895215] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.902764] ti-sci bus@100000:bus@28380000:bus@42040000:dmsc: invalid resource
    [    0.910407] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    0.918721] optee: probing for conduit method.
    [    0.923375] optee: revision 3.12 (3d47a131)
    [    0.923929] optee: initialized driver
    [    0.934730] NET: Registered protocol family 17
    [    0.939556] 9pnet: Installing 9P2000 support
    [    0.944026] Key type dns_resolver registered
    [    0.948845] printk: bootconsole [ns16550a0]: printing thread started
    [    0.948927] Loading compiled-in X.509 certificates
    [    0.961261] k3-ringacc 2b800000.ringacc: Failed to get MSI domain
    [    0.961582] k3-ringacc 3c000000.ringacc: Failed to get MSI domain
    [    0.981329] ti-sci bus@100000:bus@28380000:bus@42040000:dmsc: invalid resource
    [    0.983116] ti-sci bus@100000:bus@28380000:bus@42040000:dmsc: ABI: 3.1 (firmware rev 0x0015 '21.1.1--v2021.01a (Terrific Lla')
    [    1.068707] random: fast init done
    [    1.080520] omap_i2c 42120000.i2c: bus 0 rev0.12 at 400 kHz
    [    1.081838] omap_i2c 40b00000.i2c: bus 1 rev0.12 at 100 kHz
    [    1.087785] pca953x 2-0021: supply vcc not found, using dummy regulator
    [    1.087986] pca953x 2-0021: using no AI
    [    1.111668] omap_i2c 2000000.i2c: bus 2 rev0.12 at 400 kHz
    [    1.112837] omap_i2c 2010000.i2c: bus 3 rev0.12 at 400 kHz
    [    1.113901] omap_i2c 2020000.i2c: bus 4 rev0.12 at 400 kHz
    [    1.122889] omap_i2c 2030000.i2c: bus 5 rev0.12 at 100 kHz
    [    1.124342] ti-sci-intr bus@100000:bus@28380000:bus@42040000:interrupt-controller2: Interrupt Router 156 domain created
    [    1.124595] ti-sci-intr bus@100000:interrupt-controller0: Interrupt Router 100 domain created
    [    1.124833] ti-sci-intr bus@100000:main-navss:interrupt-controller1: Interrupt Router 182 domain created
    [    1.190133] printk: console [ttyS2]: printing thread started
    [    1.190150] printk: console [ttyS2] enabled
    [    1.190156] printk: bootconsole [ns16550a0] disabled
    [    1.214667] printk: bootconsole [ns16550a0]: printing thread stopped
    [    1.215932] 2810000.serial: ttyS3 at MMIO 0x2810000 (irq = 30, base_baud = 3000000) is a 8250
    [    1.216972] 2820000.serial: ttyS4 at MMIO 0x2820000 (irq = 31, base_baud = 3000000) is a 8250
    [    1.290885] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.293288] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
    [    1.293421] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA07100, cpsw version 0x6BA80100 Ports: 2 quirks:00000001
    [    1.314955] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a2109, freq:200000000, add_val:4 pps:0
    [    1.318384] mmc0: CQHCI version 5.10
    [    1.332091] pca953x 0-0039: supply vcc not found, using dummy regulator
    [    1.332286] pca953x 0-0039: using no AI
    [    1.363686] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fc5900
    [    1.364263] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fc5900
    [    1.368880] ti-udma 285c0000.dma-controller: Channels: 96 (tchan: 48, rchan: 48, gp-rflow: 48)
    [    1.393082] ti-udma 31150000.dma-controller: Channels: 267 (tchan: 119, rchan: 148, gp-rflow: 150)
    [    1.400947] mmc0: SDHCI controller on 4f80000.mmc [4f80000.mmc] using ADMA 64-bit
    [    1.449288] spi-nor spi7.0: mt35xu512aba (65536 Kbytes)
    [    1.449336] 8 cmdlinepart partitions found on MTD device 47040000.spi.0
    [    1.449344] Creating 8 MTD partitions on "47040000.spi.0":
    [    1.449352] 0x000000000000-0x000000080000 : "ospi.tiboot3"
    [    1.456819] 0x000000080000-0x000000280000 : "ospi.tispl"
    [    1.458367] 0x000000280000-0x000000680000 : "ospi.u-boot"
    [    1.466565] 0x000000680000-0x0000006a0000 : "ospi.env"
    [    1.468045] 0x0000006a0000-0x0000006c0000 : "ospi.env.backup"
    [    1.469505] 0x0000006c0000-0x0000007c0000 : "ospi.sysfw"
    [    1.471012] 0x000000800000-0x000003fe0000 : "ospi.rootfs"
    [    1.472471] 0x000003fe0000-0x000004000000 : "ospi.phypattern"
    [    1.530618] spi-nor spi9.0: n25q128a13 (16384 Kbytes)
    [    1.548501] mmc0: Command Queue Engine enabled
    [    1.548528] mmc0: new HS200 MMC card at address 0001
    [    1.549240] mmcblk0: mmc0:0001 S0J56X 14.8 GiB
    [    1.549496] mmcblk0boot0: mmc0:0001 S0J56X partition 1 31.5 MiB
    [    1.549750] mmcblk0boot1: mmc0:0001 S0J56X partition 2 31.5 MiB
    [    1.549977] mmcblk0rpmb: mmc0:0001 S0J56X partition 3 4.00 MiB, chardev (237:0)
    [    1.560408]  mmcblk0: p1 p2
    [    1.578903] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.594965] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
    [    1.595114] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA07100, cpsw version 0x6BA80100 Ports: 2 quirks:00000001
    [    1.596697] am65-cpsw-nuss 46000000.ethernet: set new flow-id-base 48
    [    1.597574] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
    [    1.597585] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
    [    1.610988] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a2109, freq:200000000, add_val:4 pps:0
    [    1.625322] vdd_mmc1_sd: supplied by vcc3v3_io
    [    1.627922] debugfs: Directory 'pd:121' with parent 'pm_genpd' already present!
    [    1.627990] debugfs: Directory 'pd:120' with parent 'pm_genpd' already present!
    [    1.631109] mmc1: CQHCI version 5.10
    [    1.645696] input: gpio-keys as /devices/platform/gpio-keys/input/input0
    [    1.663445] ALSA device list:
    [    1.663457]   No soundcards found.
    [    2.390680] mmc1: SDHCI controller on 4fa0000.mmc [4fa0000.mmc] using ADMA 64-bit
    [    2.391463] Waiting for root device PARTUUID=6eca9650-02...
    [    2.434833] mmc1: new high speed SDHC card at address aaaa
    [    2.441157] mmcblk1: mmc1:aaaa SC16G 14.8 GiB
    [    2.446939]  mmcblk1: p1 p2
    [    2.464688] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
    [    2.464782] VFS: Mounted root (ext4 filesystem) on device 179:98.
    [    2.472203] devtmpfs: mounted
    [    2.473558] Freeing unused kernel memory: 1728K
    [    2.487003] Run /sbin/init as init process
    [    2.827423] systemd[1]: System time before build time, advancing clock.
    [    2.925259] NET: Registered protocol family 10
    [    2.926550] Segment Routing with IPv6
    [    2.977793] systemd[1]: systemd 244.5+ 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)
    [    2.978435] systemd[1]: Detected architecture arm64.
    
    Welcome to Arago 2021.09!
    
    [    3.038718] systemd[1]: Set hostname to <am65xx-evm>.
    [    3.527636] systemd[1]: /lib/systemd/system/docker.socket:6: ListenStream= references a path below legacy directory /var/run/, updating /var/run/docker.sock → /run/docker.sock; please update the unit file accordingly.
    [    3.682487] random: systemd: uninitialized urandom read (16 bytes read)
    [    3.682807] systemd[1]: system-getty.slice: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
    [  OK  ] Created slice system-getty.slice    3.682826] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
    m.
    [    3.699643] systemd[1]: Created slice system-getty.slice.
    [  OK  ] Created slice system-serial\x2dgett[    3.731048] random: systemd: uninitialized urandom read (16 bytes read)
    y.slice.
    [    3.733298] systemd[1]: Created slice system-serial\x2dgetty.slice.
    [  OK  ] Created slice User and Session Slic[    3.755042] random: systemd: uninitialized urandom read (16 bytes read)
    e.
    [    3.757087] systemd[1]: Created slice User and Session Slice.
    [  OK  ] Started Dispatch Password …ts to [    3.779417] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    Console Directory Watch.
    [  OK  ] Started Forward Password R…uests [    3.803249] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    to Wall Directory Watch.
    [  OK  ] Reached target Paths.[    3.827170] systemd[1]: Reached target Paths.
    
    [  OK  ] Reached target Remote File Systems systemd[1]: Reached target Remote File Systems.
    [0m.
    [  OK  ] Reached target Slices.[    3.867008] systemd[1]: Reached target Slices.
    
    [  OK  ] Reached target Swap.[    3.887038] systemd[1]: Reached target Swap.
    
    [  OK  ] Listening on RPCbind Server Activat[    3.918728] systemd[1]: Listening on RPCbind Server Activation Socket.
    ion Socket.
    [  OK  ] Reached target RPC Port Mapper.[    3.943085] systemd[1]: Reached target RPC Port Mapper.
    
    [  OK  ] Listening on Process Core Dump Sock[    3.972641] systemd[1]: Listening on Process Core Dump Socket.
    et.
    [  OK  ] Listening on initctl Compatibility [    3.995380] systemd[1]: Listening on initctl Compatibility Named Pipe.
    Named Pipe.
    [  OK  ] Listening on Journal Socket (/dev/l[    4.037176] systemd[1]: Condition check resulted in Journal Audit Socket being skipped.
    og).
    [    4.038082] systemd[1]: Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket.[    4.063708] systemd[1]: Listening on Journal Socket.
    
    [  OK  ] Listening on Network Service Netlin[    4.083842] systemd[1]: Listening on Network Service Netlink Socket.
    k Socket.
    [  OK  ] Listening on udev Control Socket    4.107595] systemd[1]: Listening on udev Control Socket.
    m.
    [  OK  ] Listening on udev Kernel Socket[    4.127409] systemd[1]: Listening on udev Kernel Socket.
    .
             Mounting Huge Pages File System...[    4.153345] systemd[1]: Mounting Huge Pages File System...
    
             Mounting POSIX Message Queue File System..[    4.184947] systemd[1]: Mounting POSIX Message Queue File System...
    .
             Mounting Kernel Debug File System...
    [    4.220973] systemd[1]: Mounting Kernel Debug File System...
             Mounting Temporary Directory (/tmp)...[    4.242091] systemd[1]: Mounting Temporary Directory (/tmp)...
    
             Starting Create list of st…odes for the curr[    4.277431] systemd[1]: Starting Create list of static device nodes for the current kernel...
    ent kernel...
             Starting Start psplash boot splash screen.[    4.316760] systemd[1]: Starting Start psplash boot splash screen...
    ..
             Starting RPC Bind...
    [    4.349259] systemd[1]: Starting RPC Bind...
    [    4.359073] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
             Starting Journal Service...[    4.379096] systemd[1]: Starting Journal Service...
    
             Starting Load Kernel Modules...[    4.451595] systemd[1]: Starting Load Kernel Modules...
    
             Starting Remount Root and Kernel File Systems systemd[1]: Starting Remount Root and Kernel File Systems...
    [0m...
             Starting udev Coldplug all Devices...[    4.504920] systemd[1]: Starting udev Coldplug all Devices...
    
    [  OK  ] Started RPC Bind.[    4.535588] systemd[1]: Started RPC Bind.
    
    [  OK  ] Mounted Huge Pages File System.[    4.555948] systemd[1]: Mounted Huge Pages File System.
    
    [  OK  ] Mounted POSIX Message Queue File Sy[    4.580248] systemd[1]: Mounted POSIX Message Queue File System.
    stem.
    [  OK  ] Mounted Kernel Debug File System    4.604654] systemd[1]: Mounted Kernel Debug File System.
    m.
    [    4.628265] cryptodev: loading out-of-tree module taints kernel.
    [  OK  ] Mounted Temporary Directory (/tmp) systemd[1]: Mounted Temporary Directory (/tmp).
    [0m.
    [  OK  ] Started Create list of sta… nodes[    4.683553] systemd[1]: Started Create list of static device nodes for the current kernel.
     for the current kernel.
    [    4.684345] cryptodev: driver 1.10 loaded.
    [FAILED] Failed to start Start psplash boo[    4.712413] systemd[1]: psplash-start.service: Main process exited, code=exited, status=255/EXCEPTION
    t splash screen.
    See 'systemctl status psplash-start.service' for details.[    4.713086] systemd[1]: psplash-start.service: Failed with result 'exit-code'.
    
    [DEPEND] Dependency failed for Star▒[    4.716444] systemd[1]: Failed to start Start psplash boot splash screen.
    ▒▒progress communication helper.
    [    4.771113] systemd[1]: Dependency failed for Start psplash-systemd progress communication helper.
    [  OK  ] Started Load Kernel Modules.[    4.787998] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
    
    [    4.804328] systemd[1]: psplash-systemd.service: Job psplash-systemd.service/start failed with result 'dependency'.
    [  OK  ] Started Remount Root and Kernel Fil[    4.820876] systemd[1]: Started Load Kernel Modules.
    e Systems.
             Mounting Kernel Configuration File System.[    4.875451] systemd[1]: Started Remount Root and Kernel File Systems.
    ..
    [    4.897458] systemd[1]: Condition check resulted in FUSE Control File System being skipped.
             Starting Apply Kernel Variables...
    [    4.903648] systemd[1]: Mounting Kernel Configuration File System...
             Starting Create Static Device Nodes in /dev    4.932416] systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped.
    m...
    [  OK  ] Mounted Kernel Configuration File S[    4.938496] systemd[1]: Starting Apply Kernel Variables...
    ystem.
    [    4.971246] systemd[1]: Condition check resulted in Create System Users being skipped.
    [    4.976981] systemd[1]: Starting Create Static Device Nodes in /dev...
    [    5.007284] systemd[1]: Mounted Kernel Configuration File System.
    [  OK  ] Started Apply Kernel Variables.[    5.095064] systemd[1]: Started Apply Kernel Variables.
    
    [  OK  ] Started Journal Service.[    5.131644] systemd[1]: Started Journal Service.
    
    [  OK  ] Started Create Static Device Nodes in /dev.
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /media/ram...
             Mounting /var/volatile...
             Starting Flush Journal to Persistent Storage...
             Starting udev Kernel Device Manager...
    [  OK  ] Mounted /media/ram.
    [    5.303416] systemd-journald[206]: Received client request to flush runtime journal.
    [  OK  ] Mounted /var/volatile.
    [  OK  ] Started Flush Journal to Persistent Storage.
             Starting Load/Save Random Seed...
    [  OK  ] Reached target Local File Systems.
             Starting Create Volatile Files and Directories...
    [  OK  ] Started Create Volatile Files and Directories.
             Starting Network Time Synchronization...
             Starting Update UTMP about System Boot/Shutdown...
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [  OK  ] Started udev Kernel Device Manager.
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Reached target System Time Set.
    [  OK  ] Reached target System Time Synchronized.
    [  OK  ] Started udev Coldplug all Devices.
             Starting udev Wait for Complete Device Initialization...
    [    7.914973] random: crng init done
    [    7.914993] random: 7 urandom warning(s) missed due to ratelimiting
    [  OK  ] Started Load/Save Random Seed.
    [    9.354627] [drm] Initialized pvr 1.17.4948957 20110701 for 7000000.gpu on minor 0
    [    9.431986] cal 6f03000.cal: Neither port is configured, no point in staying up
    [    9.503886] CAN device driver interface
    [    9.574892] davinci_mdio b032400.mdio: davinci mdio revision 1.7, bus freq 1000000
    [    9.690979] davinci_mdio b032400.mdio: phy[0]: device b032400.mdio:00, driver TI DP83867
    [    9.692010] davinci_mdio b032400.mdio: phy[3]: device b032400.mdio:03, driver TI DP83867
    [   10.039064] davinci_mdio b132400.mdio: davinci mdio revision 1.7, bus freq 1000000
    [   10.097131] davinci_mdio b132400.mdio: phy[0]: device b132400.mdio:00, driver TI DP83867
    [   10.097158] davinci_mdio b132400.mdio: phy[3]: device b132400.mdio:03, driver TI DP83867
    [   10.352280] davinci_mdio b232400.mdio: davinci mdio revision 1.7, bus freq 1000000
    [   10.453060] davinci_mdio b232400.mdio: phy[0]: device b232400.mdio:00, driver TI DP83867
    [   10.453085] davinci_mdio b232400.mdio: phy[3]: device b232400.mdio:03, driver TI DP83867
    [   12.263127] platform 41000000.r5f: configured R5F for remoteproc mode
    [   12.264003] platform 41000000.r5f: assigned reserved memory node r5f-dma-memory@a0000000
    [   12.264461] remoteproc remoteproc0: 41000000.r5f is available
    [   12.274008] remoteproc remoteproc0: powering up 41000000.r5f
    [   12.274033] remoteproc remoteproc0: Booting fw image am65x-mcu-r5f0_0-fw, size 82412
    [   12.319431]  remoteproc0#vdev0buffer: assigned reserved memory node r5f-dma-memory@a0000000
    [   12.319999] virtio_rpmsg_bus virtio0: rpmsg host is online
    [   12.320060]  remoteproc0#vdev0buffer: registered virtio0 (type 7)
    [   12.320071] remoteproc remoteproc0: remote processor 41000000.r5f is now up
    [   12.336045] virtio_rpmsg_bus virtio0: creating channel ti.ipc4.ping-pong addr 0xd
    [   12.336285] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0xe
    [**    ] A start job is running for udev Wai…ice Initialization (10s / 3min 3s)
    [   13.961464] m_can_platform 40568000.mcan: m_can device registered (irq=25, version=32)
    [***   ] A start job is running for udev Wai…ice Initialization (10s / 3min 3s)
    [   14.493986] remoteproc remoteproc1: b034000.pru is available
    [   14.576258] remoteproc remoteproc2: b004000.rtu is available
    [   14.589994] remoteproc remoteproc3: b038000.pru is available
    [   14.607213] remoteproc remoteproc4: b006000.rtu is available
    [   14.631578] remoteproc remoteproc5: b134000.pru is available
    [   14.653487] remoteproc remoteproc6: b104000.rtu is available
    [   14.696654] remoteproc remoteproc7: b138000.pru is available
    [   14.711759] remoteproc remoteproc8: b106000.rtu is available
    [   14.725331] remoteproc remoteproc9: b234000.pru is available
    [   14.766578] remoteproc remoteproc10: b204000.rtu is available
    [   14.785079] remoteproc remoteproc11: b238000.pru is available
    [  OK  ] Created slice system-systemd\x2dfsck.slice.
    [   18.047313] omap_rng 4e10000.rng: Random Number Generator ver. 230b34c
    [   18.128706] pps pps0: new PPS source ptp2
    [   18.129065] pps pps1: new PPS source ptp3
    [   18.160125] icssg-prueth icssg0-eth: TI PRU ethernet driver initialized: dual EMAC mode
    [   18.217149] pps pps2: new PPS source ptp4
    [   18.217496] pps pps3: new PPS source ptp5
    [   18.237362] OF: graph: no port node found in /bus@100000/phy@4110000
    [   18.260822] icssg-prueth icssg1-eth: TI PRU ethernet driver initialized: dual EMAC mode
    [   18.271061] pps pps4: new PPS source ptp6
    [   18.271393] pps pps5: new PPS source ptp7
    [   18.300671] icssg-prueth icssg2-eth: TI PRU ethernet driver initialized: dual EMAC mode
    [  OK  ] Found device /dev/mmcblk1p1.
             Starting File System Check on /dev/mmcblk1p1...
    [  OK  ] Found device /dev/mmcblk0p2.
             Starting File System Check on /dev/mmcblk0p2...
    [  OK  ] Found device /dev/mmcblk0p1.
    [  OK  ] Started File System Check on /dev/mmcblk1p1.
             Mounting /run/media/mmcblk1p1...
             Starting File System Check on /dev/mmcblk0p1...
    [  OK  ] Started File System Check on /dev/mmcblk0p2.
             Mounting /run/media/mmcblk0p2...
    [  OK  ] Mounted /run/media/mmcblk1p1.
    [   19.929295] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [  OK  ] Mounted /run/media/mmcblk0p2.
    [  OK  ] Started File System Check on /dev/mmcblk0p1.
             Mounting /run/media/mmcblk0p1...
    [  OK  ] Mounted /run/media/mmcblk0p1.
    [  OK  ] Reached target Hardware activated USB gadget.
    [   21.031985] usbcore: registered new interface driver usbfs
    [   21.032085] usbcore: registered new interface driver hub
    [   21.032170] usbcore: registered new device driver usb
    [   21.150746] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
    [   21.150806] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 1
    [   21.192266] xhci-hcd xhci-hcd.2.auto: hcc params 0x0298fe6d hci version 0x110 quirks 0x0000000000010010
    [   21.213674] xhci-hcd xhci-hcd.2.auto: irq 1297, io mem 0x04030000
    [   21.214321] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
    [   21.214336] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [   21.214346] usb usb1: Product: xHCI Host Controller
    [   21.214354] usb usb1: Manufacturer: Linux 5.10.100-rt62-g204ec708dc xhci-hcd
    [   21.214361] usb usb1: SerialNumber: xhci-hcd.2.auto
    [   21.249152] hub 1-0:1.0: USB hub found
    [   21.249532] hub 1-0:1.0: 1 port detected
    [   21.250401] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
    [   21.250428] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 2
    [   21.250448] xhci-hcd xhci-hcd.2.auto: Host supports USB 3.0 SuperSpeed
    [   21.262943] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    [   21.286208] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10
    [   21.286232] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [   21.286242] usb usb2: Product: xHCI Host Controller
    [   21.286250] usb usb2: Manufacturer: Linux 5.10.100-rt62-g204ec708dc xhci-hcd
    [   21.286257] usb usb2: SerialNumber: xhci-hcd.2.auto
    [   21.296942] hub 2-0:1.0: USB hub found
    [   21.297551] hub 2-0:1.0: 1 port detected
    [  OK  ] Started udev Wait for Complete Device Initialization.
    [  OK  ] Started Hardware RNG Entropy Gatherer Daemon.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Started Daily rotation of log files.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target Timers.
    [  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
             Starting Docker Socket for the API.
    [  OK  ] Listening on dropbear.socket.
             Starting Reboot and dump vmcore via kexec...
    [  OK  ] Listening on Docker Socket for the API.
    [  OK  ] Reached target Sockets.
    [  OK  ] Reached target Basic System.
    [  OK  ] Started Job spooling tools.
    [  OK  ] Started Periodic Command Scheduler.
    [  OK  ] Started D-Bus System Message Bus.
             Starting Print notice about GPLv3 packages...
             Starting IPv6 Packet Filtering Framework...
             Starting IPv4 Packet Filtering Framework...
    [  OK  ] Started irqbalance daemon.
             Starting Telephony service...
             Starting rc.pvr.service...
             Starting Login Service...
    [  OK  ] Started TEE Supplicant.
    [  OK  ] Started Reboot and dump vmcore via kexec.
    [   22.576135] PVR_K: UM DDK-(4948957) and KM DDK-(4948957) match. [ OK ]
    [  OK  ] Started IPv6 Packet Filtering Framework.
    [  OK  ] Started IPv4 Packet Filtering Framework.
    [  OK  ] Started rc.pvr.service.
    [  OK  ] Reached target Network (Pre).
             Starting Network Service...
             Starting weston.service...
    [  OK  ] Started Telephony service.
    [  OK  ] Listening on Load/Save RF …itch Status /dev/rfkill Watch.
    [   22.894297] Bluetooth: Core ver 2.22
    [   22.894482] NET: Registered protocol family 31
    [   22.894488] Bluetooth: HCI device and connection manager initialized
    [   22.894515] Bluetooth: HCI socket layer initialized
    [   22.894529] Bluetooth: L2CAP socket layer initialized
    [   22.894556] Bluetooth: SCO socket layer initialized
    [  OK  ] Started weston.service.
             Starting telnetd.service...
    [  OK  ] Started telnetd.service.
    [  OK  ] Started Network Service.
             Starting Wait for Network to be Configured...
             Starting Network Name Resolution...
    [   23.930169] remoteproc remoteproc11: powering up b238000.pru
    [   23.942562] remoteproc remoteproc11: Booting fw image ti-pruss/am65x-pru1-prueth-fw.elf, size 17008
    [   23.942627] remoteproc remoteproc11: remote processor b238000.pru is now up
    [   23.942665] remoteproc remoteproc12: powering up b206000.rtu
    [   23.965722] remoteproc remoteproc12: Booting fw image ti-pruss/am65x-rtu1-prueth-fw.elf, size 15588
    [   23.965779] remoteproc remoteproc12: remote processor b206000.rtu is now up
    [   23.995264] TI DP83867 b232400.mdio:03: attached PHY driver [TI DP83867] (mii_bus:phy_addr=b232400.mdio:03, irq=POLL)
    [   23.995538] net eth6: started
    [   24.195286] remoteproc remoteproc9: powering up b234000.pru
    [   24.212944] remoteproc remoteproc9: Booting fw image ti-pruss/am65x-pru0-prueth-fw.elf, size 16992
    [   24.213006] remoteproc remoteproc9: remote processor b234000.pru is now up
    [   24.213045] remoteproc remoteproc10: powering up b204000.rtu
    [   24.214799] remoteproc remoteproc10: Booting fw image ti-pruss/am65x-rtu0-prueth-fw.elf, size 15588
    [   24.248727] remoteproc remoteproc10: remote processor b204000.rtu is now up
    [   24.260426] TI DP83867 b232400.mdio:00: attached PHY driver [TI DP83867] (mii_bus:phy_addr=b232400.mdio:00, irq=POLL)
    [   24.260701] net eth5: started
    [   24.359309] remoteproc remoteproc7: powering up b138000.pru
    [   24.370840] remoteproc remoteproc7: Booting fw image ti-pruss/am65x-pru1-prueth-fw.elf, size 17008
    [   24.371041] remoteproc remoteproc7: remote processor b138000.pru is now up
    [   24.371129] remoteproc remoteproc8: powering up b106000.rtu
    [   24.371304] remoteproc remoteproc8: Booting fw image ti-pruss/am65x-rtu1-prueth-fw.elf, size 15588
    [   24.371339] remoteproc remoteproc8: remote processor b106000.rtu is now up
    [   24.412773] TI DP83867 b132400.mdio:03: attached PHY driver [TI DP83867] (mii_bus:phy_addr=b132400.mdio:03, irq=POLL)
    [   24.413045] net eth4: started
    [   24.539310] remoteproc remoteproc5: powering up b134000.pru
    [   24.539533] remoteproc remoteproc5: Booting fw image ti-pruss/am65x-pru0-prueth-fw.elf, size 16992
    [   24.539582] remoteproc remoteproc5: remote processor b134000.pru is now up
    [   24.539617] remoteproc remoteproc6: powering up b104000.rtu
    [   24.539739] remoteproc remoteproc6: Booting fw image ti-pruss/am65x-rtu0-prueth-fw.elf, size 15588
    [   24.539774] remoteproc remoteproc6: remote processor b104000.rtu is now up
    [   24.587227] TI DP83867 b132400.mdio:00: attached PHY driver [TI DP83867] (mii_bus:phy_addr=b132400.mdio:00, irq=POLL)
    [   24.587500] net eth3: started
    [  OK  ] Started Login Service.
    [   24.740869] remoteproc remoteproc3: powering up b038000.pru
    [   24.741060] remoteproc remoteproc3: Booting fw image ti-pruss/am65x-pru1-prueth-fw.elf, size 17008
    [   24.741108] remoteproc remoteproc3: remote processor b038000.pru is now up
    [   24.741140] remoteproc remoteproc4: powering up b006000.rtu
    [   24.741250] remoteproc remoteproc4: Booting fw image ti-pruss/am65x-rtu1-prueth-fw.elf, size 15588
    [   24.741285] remoteproc remoteproc4: remote processor b006000.rtu is now up
    [   24.778516] TI DP83867 b032400.mdio:03: attached PHY driver [TI DP83867] (mii_bus:phy_addr=b032400.mdio:03, irq=POLL)
    [   24.782892] net eth2: started
    [   24.921806] remoteproc remoteproc1: powering up b034000.pru
    [   24.922003] remoteproc remoteproc1: Booting fw image ti-pruss/am65x-pru0-prueth-fw.elf, size 16992
    [   24.922051] remoteproc remoteproc1: remote processor b034000.pru is now up
    [   24.922085] remoteproc remoteproc2: powering up b004000.rtu
    [   24.922194] remoteproc remoteproc2: Booting fw image ti-pruss/am65x-rtu0-prueth-fw.elf, size 15588
    [   24.922229] remoteproc remoteproc2: remote processor b004000.rtu is now up
    [   24.966949] TI DP83867 b032400.mdio:00: attached PHY driver [TI DP83867] (mii_bus:phy_addr=b032400.mdio:00, irq=POLL)
    [   24.967222] net eth1: started
    [   25.054498] TI DP83867 46000f00.mdio:00: attached PHY driver [TI DP83867] (mii_bus:phy_addr=46000f00.mdio:00, irq=POLL)
    [   25.067907] am65-cpsw-nuss 46000000.ethernet eth0: Link is Down
    [  OK  ] Started Network Name Resolution.
    [  OK  ] Reached target Network.
    [  OK  ] Reached target Host and Network Name Lookups.
             Starting Avahi mDNS/DNS-SD Stack...
             Starting Enable and configure wl18xx bluetooth stack...
    [  OK  ] Started NFS status monitor for NFSv2/3 locking..
             Starting Simple Network Ma…ent Protocol (SNMP) Daemon....
             Starting Permit User Sessions...
    [  OK  ] Started Permit User Sessions.
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Getty on tty4.
    [  OK  ] Started Serial Getty on ttyS1.
    [  OK  ] Started Serial Getty on ttyS2.
    [  OK  ] Reached target Login Prompts.
             Starting Synchronize System and HW clocks...
    [FAILED] Failed to start Synchronize System and HW clocks.
    See 'systemctl status sync-clocks.service' for details.
    [  OK  ] Started Enable and configure wl18xx bluetooth stack.
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.
    [  OK  ] Started Simple Network Man…ement Protocol (SNMP) Daemon..
    [   27.640746] icssg-prueth icssg1-eth eth3: Link is Up - 1Gbps/Full - flow control off
    [   27.640995] IPv6: ADDRCONF(NETDEV_CHANGE): eth3: link becomes ready
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPLv3 packages:
            autoconf
            bash-dev
            bash
            bc
            binutils
            cifs-utils
            coreutils-stdbuf
            coreutils
            cpio
            cpp-symlinks
            cpp
            dosfstools
            elfutils
            g++-symlinks
            g++
            gawk
            gcc-symlinks
            gcc
            gdb
            gdbserver
            gettext
            glmark2
            gstreamer1.0-libav-dev
            gstreamer1.0-libav
            gzip
            less
            libasm1
            libbfd
            libdw1
            libelf1
            libgdbm-compat4
            libgdbm-dev
            libgdbm6
            libgettextlib
            libgettextsrc
            libgmp-dev
            libgmp10
            libgmpxx4
            libidn2-0
            libidn2-dev
            libmpc3
            libmpfr6
            libreadline-dev
            libreadline8
            libunistring-dev
            libunistring2
            m4-dev
            m4
            make
            nettle-dev
            nettle
            parted
            pdm-anomaly-detection
            python3-rfc3987
            python3-strict-rfc3339
            tar
            which
            zeromq
    
    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
    ***************************************************************
    ***************************************************************
    [  OK  ] Started Print notice about GPLv3 packages.
    
     _____                    _____           _         _
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|
                  |___|                    |___|
    
    Arago Project http://arago-project.org am65xx-evm ttyS2
    
    Arago 2021.09 am65xx-evm ttyS2
    
    am65xx-evm login: root
    root@am65xx-evm:~# ifconfig
    eth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500  metric 1
            ether 4c:24:98:fc:09:d6  txqueuelen 1000  (Ethernet)
            RX packets 0  bytes 0 (0.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 0  bytes 0 (0.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    
    eth1: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500  metric 1
            ether 70:ff:76:1d:5f:34  txqueuelen 1000  (Ethernet)
            RX packets 0  bytes 0 (0.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 0  bytes 0 (0.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    
    eth2: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500  metric 1
            ether 70:ff:76:1d:5f:35  txqueuelen 1000  (Ethernet)
            RX packets 0  bytes 0 (0.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 0  bytes 0 (0.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    
    eth3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500  metric 1
            inet6 fe80::72ff:76ff:fe1d:5f36  prefixlen 64  scopeid 0x20<link>
            ether 70:ff:76:1d:5f:36  txqueuelen 1000  (Ethernet)
            RX packets 120  bytes 12967 (12.6 KiB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 25  bytes 4186 (4.0 KiB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    
    eth4: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500  metric 1
            ether 70:ff:76:1d:5f:37  txqueuelen 1000  (Ethernet)
            RX packets 0  bytes 0 (0.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 0  bytes 0 (0.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    
    eth5: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500  metric 1
            ether 70:ff:76:1d:5c:bc  txqueuelen 1000  (Ethernet)
            RX packets 0  bytes 0 (0.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 0  bytes 0 (0.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    
    eth6: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500  metric 1
            ether 70:ff:76:1d:5c:bd  txqueuelen 1000  (Ethernet)
            RX packets 0  bytes 0 (0.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 0  bytes 0 (0.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    
    lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536  metric 1
            inet 127.0.0.1  netmask 255.0.0.0
            inet6 ::1  prefixlen 128  scopeid 0x10<host>
            loop  txqueuelen 1000  (Local Loopback)
            RX packets 82  bytes 6220 (6.0 KiB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 82  bytes 6220 (6.0 KiB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    
    root@am65xx-evm:~# [   50.168020] icssg-prueth icssg1-eth eth3: Link is Down
    [   57.720466] icssg-prueth icssg0-eth eth1: Link is Up - 1Gbps/Full - flow control off
    [   57.720683] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
    [  146.104194] Initializing XFRM netlink socket
    [  151.095493] process 'docker/tmp/qemu-check293363021/check' started with executable stack
    

  • Hi Mukul/Champs:

    Let me re-sync this issue.

    #1. Eric used the SDK7.0 for reporting this issue in the beginning.

    #2. Eric has reproduced this issue on the AM65 "SR1" EVM with the SDK8.2.

          The problematic log section is attached in the previous Eric posted.

    [   27.640746] icssg-prueth icssg1-eth eth3: Link is Up - 1Gbps/Full - flow control off
    [   27.640995] IPv6: ADDRCONF(NETDEV_CHANGE): eth3: link becomes ready

    root@am65xx-evm:~# [   50.168020] icssg-prueth icssg1-eth eth3: Link is Down
    [   57.720466] icssg-prueth icssg0-eth eth1: Link is Up - 1Gbps/Full - flow control off
    [   57.720683] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready

        You can see the ETH3 is up and down.

    #3. Please see this SDK8.4 work-around of the "AM64" in the below posted picture.

          Then, how is the work-around patch for AM65? Since AM65 is only having the SDK8.2.

          Please comment.

    BR Rio

     

  • we are investigating how to provide patches that are 5.10 kernel (same as what is AM65x PSDK 8.2) for you to test. 

    Are we sure the issue seems related to the MDIO issue?

  • Hi ,

    Is there any further info about this?

    Eric

  • Hi Eric,

    Apologies for delayed response.

    Here are the attached patches with MDIO configured in manual mode.

    /cfs-file/__key/communityserver-discussions-components-files/791/linux_5F00_mdio_5F00_cdc_5F00_patch_5F00_v3.tar.gz

    Regards,

    Rimika

  • Hi ,

     

    Got it. I need few days to test it and feedback to you later.

    Thanks.

    Eric

  • Hi  and

    I have tested it on Ti EVM with SDK 8.2. 

    I just wonder if you expect the log "flow control off" disappear totally.

    This is because it still happened in the log.

    In the log I attached, I connect the RT45 cable with device and set the ethernet ip again.

    There is log "flow control off" happened.

    Please provide your comment.

    root@am65xx-evm:~# [ 47.959603] icssg-prueth icssg1-eth eth1: Link is Up - 1Gbps/Full - flow control off
    [ 47.959809] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready

    ifconfig eth1 192.168.1.5 up
    [ 69.785369] remoteproc remoteproc7: powering up b134000.pru
    [ 69.785639] remoteproc remoteproc7: Booting fw image ti-pruss/am65x-pru0-prueth-fw.elf, size 16992
    root@am65xx-evm:~# [ 69.785688] remoteproc remoteproc7: remote processor b134000.pru is now up
    [ 69.785722] remoteproc remoteproc8: powering up b104000.rtu
    [ 69.785834] remoteproc remoteproc8: Booting fw image ti-pruss/am65x-rtu0-prueth-fw.elf, size 15588
    [ 69.785869] remoteproc remoteproc8: remote processor b104000.rtu is now up
    [ 69.801758] TI DP83867 b132400.mdio:00: attached PHY driver [TI DP83867] (mii_bus:phy_addr=b132400.mdio:00, irq=POLL)
    [ 69.801906] net eth1: started
    [ 72.855623] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
    [ 72.858272] icssg-prueth icssg1-eth eth1: Link is Up - 1Gbps/Full - flow control off

    ▒
    U-Boot SPL 2020.01-g2781231a33 (May 21 2021 - 18:24:47 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0015 '21.1.1--v2021.01a (Terrific Lla')
    SPL initial stack usage: 1452 bytes
    Trying to boot from MMC2
    Starting ATF on ARM64 core...
    
    NOTICE:  BL31: v2.4(release):2021.00.003-dirty
    NOTICE:  BL31: Built : 17:45:38, May 21 2021
    
    U-Boot SPL 2020.01-g2781231a33 (May 21 2021 - 17:50:57 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0015 '21.1.1--v2021.01a (Terrific Lla')
    pinctrl_select_state_full: uclass_get_device_by_phandle_id: err=-19
    Detected: AM6-IDKAPPEVM rev E4
    Trying to boot from MMC2
    
    
    U-Boot 2020.01-g2781231a33 (May 21 2021 - 17:50:57 +0000)
    
    SoC:   AM65X SR1.0
    Model: Texas Instruments AM654 Base Board
    Board: AM6-COMPROCEVM rev E4
    DRAM:  4 GiB
    MMC:   sdhci@4f80000: 0, sdhci@4fa0000: 1
    Loading Environment from MMC... OK
    In:    serial
    Out:   serial
    Err:   serial
    Detected: AM6-IDKAPPEVM rev E4
    Net:   eth3: pruss1_eth, eth2: pruss0_ethK3 CPSW: nuss_ver: 0x6BA07100 cpsw_ver: 0x6BA80100 ale_ver: 0x00293904 Ports:1 mdio_freq:1000000
    , eth0: ethernet@46000000, eth1: pruss2_eth
    Hit any key to stop autoboot:  0
    switch to partitions #0, OK
    mmc1 is current device
    SD/MMC found on device 1
    1011 bytes read in 6 ms (164.1 KiB/s)
    Loaded env from uEnv.txt
    Importing environment from mmc1 ...
    Running uenvcmd ...
    18231808 bytes read in 1501 ms (11.6 MiB/s)
    64207 bytes read in 12 ms (5.1 MiB/s)
    11520 bytes read in 7 ms (1.6 MiB/s)
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 000000008feed000, end 000000008fffffff ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
    [    0.000000] Linux version 5.10.100-rt62-g204ec708dc (erichsieh@ubuntu) (aarch64-none-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 9.2.1 20191025, GNU ld (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 2.33.1.20191209) #43 SMP PREEMPT_RT Thu Mar 2 11:56:25 CST 2023
    [    0.000000] Machine model: Texas Instruments AM654 Base Board
    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
    [    0.000000] printk: bootconsole [ns16550a0] enabled
    [    0.000000] efi: UEFI not found.
    [    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] Zone ranges:
    [    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000]   DMA32    empty
    [    0.000000]   Normal   [mem 0x0000000100000000-0x00000008ffffffff]
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x0000000080000000-0x000000009e7fffff]
    [    0.000000]   node   0: [mem 0x000000009e800000-0x00000000a20fffff]
    [    0.000000]   node   0: [mem 0x00000000a2100000-0x00000000ffffffff]
    [    0.000000]   node   0: [mem 0x0000000880000000-0x00000008ffffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000008ffffffff]
    [    0.000000] On node 0 totalpages: 1048576
    [    0.000000]   DMA zone: 8192 pages used for memmap
    [    0.000000]   DMA zone: 0 pages reserved
    [    0.000000]   DMA zone: 524288 pages, LIFO batch:63
    [    0.000000]   Normal zone: 8192 pages used for memmap
    [    0.000000]   Normal zone: 524288 pages, LIFO batch:63
    [    0.000000] cma: Reserved 24 MiB at 0x00000000fe800000
    [    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.2
    [    0.000000] percpu: Embedded 18 pages/cpu s34752 r8192 d30784 u73728
    [    0.000000] pcpu-alloc: s34752 r8192 d30784 u73728 alloc=18*4096
    [    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
    [    0.000000] Detected VIPT I-cache on CPU0
    [    0.000000] CPU features: detected: ARM erratum 845719
    [    0.000000] CPU features: detected: GIC system register CPU interface
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1032192
    [    0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 isolcpus=1-3 mtdparts=47040000.spi.0:512k(ospi.tiboot3),2m(ospi.tispl),4m(ospi.u-boot),128k(ospi.env),128k(ospi.env.backup),1m(ospi.sysfw),57216k@8m(ospi.rootfs),128k(ospi.phypattern) root=PARTUUID=8a125b81-02 rw rootfstype=ext4 rootwait
    [    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
    [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
    [    0.000000] software IO TLB: mapped [mem 0x00000000fa800000-0x00000000fe800000] (64MB)
    [    0.000000] Memory: 3946716K/4194304K available (10624K kernel code, 1164K rwdata, 4148K rodata, 1728K init, 438K bss, 223012K reserved, 24576K cma-reserved)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000] rcu:     RCU event tracing is enabled.
    [    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
    [    0.000000] rcu:     RCU priority boosting: priority 1 delay 500 ms.
    [    0.000000] rcu:     RCU_SOFTIRQ processing moved to rcuc kthreads.
    [    0.000000]  No expedited grace period (rcu_normal_after_boot).
    [    0.000000]  Trampoline variant of Tasks RCU enabled.
    [    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] GICv3: GIC: Using split EOI/Deactivate mode
    [    0.000000] GICv3: 960 SPIs implemented
    [    0.000000] GICv3: 0 Extended SPIs implemented
    [    0.000000] GICv3: Distributor has no Range Selector support
    [    0.000000] GICv3: 16 PPIs implemented
    [    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001880000
    [    0.000000] ITS [mem 0x01820000-0x0182ffff]
    [    0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS
    [    0.000000] ITS@0x0000000001820000: Devices Table too large, reduce ids 20->19
    [    0.000000] ITS@0x0000000001820000: allocated 524288 Devices @880800000 (flat, esz 8, psz 64K, shr 0)
    [    0.000000] ITS: using cache flushing for cmd queue
    [    0.000000] GICv3: using LPI property table @0x0000000880040000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000880050000
    [    0.000000] random: get_random_bytes called from start_kernel+0x320/0x4c8 with crng_init=0
    [    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.000000] sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.008685] Console: colour dummy device 80x25
    [    0.013294] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.023985] pid_max: default: 32768 minimum: 301
    [    0.028840] LSM: Security Framework initializing
    [    0.033649] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.041253] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.051550] rcu: Hierarchical SRCU implementation.
    [    0.057149] Platform MSI: msi-controller@1820000 domain created
    [    0.063557] PCI/MSI: /bus@100000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.072983] EFI services will not be available.
    [    0.077951] smp: Bringing up secondary CPUs ...
    [    0.083818] Detected VIPT I-cache on CPU1
    [    0.087953] GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000
    [    0.094998] GICv3: CPU1: using allocated LPI pending table @0x0000000880060000
    [    0.102439] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
    [    0.110565] Detected VIPT I-cache on CPU2
    [    0.114723] GICv3: CPU2: found redistributor 100 region 0:0x00000000018c0000
    [    0.121948] GICv3: CPU2: using allocated LPI pending table @0x0000000880070000
    [    0.129398] CPU2: Booted secondary processor 0x0000000100 [0x410fd034]
    [    0.137447] Detected VIPT I-cache on CPU3
    [    0.141571] GICv3: CPU3: found redistributor 101 region 0:0x00000000018e0000
    [    0.148788] GICv3: CPU3: using allocated LPI pending table @0x0000000880080000
    [    0.156207] CPU3: Booted secondary processor 0x0000000101 [0x410fd034]
    [    0.163058] smp: Brought up 1 node, 4 CPUs
    [    0.167284] SMP: Total of 4 processors activated.
    [    0.172118] CPU features: detected: 32-bit EL0 Support
    [    0.177394] CPU features: detected: CRC32 instructions
    [    0.197886] CPU: All CPU(s) started at EL2
    [    0.202135] alternatives: patching kernel code
    [    0.207856] devtmpfs: initialized
    [    0.224795] KASLR disabled due to lack of seed
    [    0.229550] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.239567] futex hash table entries: 1024 (order: 5, 131072 bytes, linear)
    [    0.247917] pinctrl core: initialized pinctrl subsystem
    [    0.253980] DMI not present or invalid.
    [    0.258539] NET: Registered protocol family 16
    [    0.265345] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
    [    0.272791] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.281124] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.289950] thermal_sys: Registered thermal governor 'step_wise'
    [    0.290735] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.303964] ASID allocator initialised with 65536 entries
    [    0.358333] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.365251] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.372162] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.379041] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.387520] cryptd: max_cpu_qlen set to 1000
    [    0.396724] k3-chipinfo 43000014.chipid: Family:AM65X rev:SR1.0 JTAGID[0x0bb5a02f] Detected
    [    0.406087] vcc3v3_io: supplied by evm_12v0
    [    0.411958] iommu: Default domain type: Translated
    [    0.417426] SCSI subsystem initialized
    [    0.422418] mc: Linux media interface: v0.10
    [    0.426873] videodev: Linux video capture interface: v2.00
    [    0.432615] pps_core: LinuxPPS API ver. 1 registered
    [    0.437714] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.447118] PTP clock support registered
    [    0.451177] EDAC MC: Ver: 3.0.0
    [    0.455715] FPGA manager framework
    [    0.459323] Advanced Linux Sound Architecture Driver Initialized.
    [    0.466787] clocksource: Switched to clocksource arch_sys_counter
    [    0.473345] VFS: Disk quotas dquot_6.6.0
    [    0.477433] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    0.492563] NET: Registered protocol family 2
    [    0.497390] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
    [    0.507785] tcp_listen_portaddr_hash hash table entries: 2048 (order: 5, 131072 bytes, linear)
    [    0.516871] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.525399] TCP bind hash table entries: 32768 (order: 8, 1835008 bytes, linear)
    [    0.535016] TCP: Hash tables configured (established 32768 bind 32768)
    [    0.542030] UDP hash table entries: 2048 (order: 6, 262144 bytes, linear)
    [    0.549311] UDP-Lite hash table entries: 2048 (order: 6, 262144 bytes, linear)
    [    0.557277] NET: Registered protocol family 1
    [    0.562391] RPC: Registered named UNIX socket transport module.
    [    0.568498] RPC: Registered udp transport module.
    [    0.573316] RPC: Registered tcp transport module.
    [    0.578147] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.584751] PCI: CLS 0 bytes, default 64
    [    0.590196] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
    [    0.604847] Initialise system trusted keyrings
    [    0.609650] workingset: timestamp_bits=46 max_order=20 bucket_order=0
    [    0.623567] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.630404] NFS: Registering the id_resolver key type
    [    0.635633] Key type id_resolver registered
    [    0.639977] Key type id_legacy registered
    [    0.644197] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.651084] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    0.658934] 9p: Installing v9fs 9p2000 file system support
    [    0.719644] Key type asymmetric registered
    [    0.723882] Asymmetric key parser 'x509' registered
    [    0.728922] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
    [    0.736533] io scheduler mq-deadline registered
    [    0.741174] io scheduler kyber registered
    [    0.748505] pinctrl-single 4301c000.pinctrl: 70 pins, size 280
    [    0.755231] pinctrl-single 11c000.pinctrl: 185 pins, size 740
    [    0.761346] pinctrl-single 11c2e8.pinctrl: 9 pins, size 36
    [    0.774562] k3-ringacc 2b800000.ringacc: Failed to get MSI domain
    [    0.780980] k3-ringacc 3c000000.ringacc: Failed to get MSI domain
    [    0.792299] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [    0.820383] brd: module loaded
    [    0.834525] loop: module loaded
    [    0.838910] megasas: 07.714.04.00-rc1
    [    0.848796] tun: Universal TUN/TAP device driver, 1.6
    [    0.854948] igbvf: Intel(R) Gigabit Virtual Function Network Driver
    [    0.861390] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
    [    0.867536] sky2: driver version 1.30
    [    0.872786] VFIO - User Level meta-driver version: 0.3
    [    0.879258] i2c /dev entries driver
    [    0.884584] sdhci: Secure Digital Host Controller Interface driver
    [    0.890951] sdhci: Copyright(c) Pierre Ossman
    [    0.896234] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.903836] ti-sci bus@100000:bus@28380000:bus@42040000:dmsc: invalid resource
    [    0.911496] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    0.919904] optee: probing for conduit method.
    [    0.924490] optee: revision 3.11 (c4def2a8)
    [    0.925168] optee: initialized driver
    [    0.936147] NET: Registered protocol family 17
    [    0.940932] 9pnet: Installing 9P2000 support
    [    0.945401] Key type dns_resolver registered
    [    0.950202] printk: bootconsole [ns16550a0]: printing thread started
    [    0.950282] Loading compiled-in X.509 certificates
    [    0.962737] k3-ringacc 2b800000.ringacc: Failed to get MSI domain
    [    0.971110] k3-ringacc 3c000000.ringacc: Failed to get MSI domain
    [    0.986873] ti-sci bus@100000:bus@28380000:bus@42040000:dmsc: invalid resource
    [    0.987283] ti-sci bus@100000:bus@28380000:bus@42040000:dmsc: ABI: 3.1 (firmware rev 0x0015 '21.1.1--v2021.01a (Terrific Lla')
    [    1.070106] random: fast init done
    [    1.082003] omap_i2c 42120000.i2c: bus 0 rev0.12 at 400 kHz
    [    1.089078] omap_i2c 40b00000.i2c: bus 1 rev0.12 at 100 kHz
    [    1.096787] pca953x 2-0021: supply vcc not found, using dummy regulator
    [    1.096996] pca953x 2-0021: using no AI
    [    1.119582] omap_i2c 2000000.i2c: bus 2 rev0.12 at 400 kHz
    [    1.120754] omap_i2c 2010000.i2c: bus 3 rev0.12 at 400 kHz
    [    1.121809] omap_i2c 2020000.i2c: bus 4 rev0.12 at 400 kHz
    [    1.130806] omap_i2c 2030000.i2c: bus 5 rev0.12 at 100 kHz
    [    1.132249] ti-sci-intr bus@100000:bus@28380000:bus@42040000:interrupt-controller2: Interrupt Router 156 domain created
    [    1.132503] ti-sci-intr bus@100000:interrupt-controller0: Interrupt Router 100 domain created
    [    1.132743] ti-sci-intr bus@100000:main-navss:interrupt-controller1: Interrupt Router 182 domain created
    [    1.198402] printk: console [ttyS2]: printing thread started
    [    1.198418] printk: console [ttyS2] enabled
    [    1.198424] printk: bootconsole [ns16550a0] disabled
    [    1.222941] printk: bootconsole [ns16550a0]: printing thread stopped
    [    1.224189] 2810000.serial: ttyS3 at MMIO 0x2810000 (irq = 30, base_baud = 3000000) is a 8250
    [    1.225245] 2820000.serial: ttyS4 at MMIO 0x2820000 (irq = 31, base_baud = 3000000) is a 8250
    [    1.262159] davinci_mdio 46000f00.mdio: Configuring MDIO in manual mode
    [    1.298802] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.300860] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
    [    1.300993] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA07100, cpsw version 0x6BA80100 Ports: 2 quirks:00000001
    [    1.322880] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a2109, freq:200000000, add_val:4 pps:0
    [    1.326311] mmc0: CQHCI version 5.10
    [    1.340178] pca953x 0-0039: supply vcc not found, using dummy regulator
    [    1.340378] pca953x 0-0039: using no AI
    [    1.371701] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fc5900
    [    1.372273] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fc5900
    [    1.376973] ti-udma 285c0000.dma-controller: Channels: 96 (tchan: 48, rchan: 48, gp-rflow: 48)
    [    1.401341] ti-udma 31150000.dma-controller: Channels: 267 (tchan: 119, rchan: 148, gp-rflow: 150)
    [    1.408861] mmc0: SDHCI controller on 4f80000.mmc [4f80000.mmc] using ADMA 64-bit
    [    1.457694] spi-nor spi7.0: mt35xu512aba (65536 Kbytes)
    [    1.457744] 8 cmdlinepart partitions found on MTD device 47040000.spi.0
    [    1.457752] Creating 8 MTD partitions on "47040000.spi.0":
    [    1.457760] 0x000000000000-0x000000080000 : "ospi.tiboot3"
    [    1.471720] 0x000000080000-0x000000280000 : "ospi.tispl"
    [    1.473244] 0x000000280000-0x000000680000 : "ospi.u-boot"
    [    1.474689] 0x000000680000-0x0000006a0000 : "ospi.env"
    [    1.476181] 0x0000006a0000-0x0000006c0000 : "ospi.env.backup"
    [    1.477642] 0x0000006c0000-0x0000007c0000 : "ospi.sysfw"
    [    1.479140] 0x000000800000-0x000003fe0000 : "ospi.rootfs"
    [    1.480594] 0x000003fe0000-0x000004000000 : "ospi.phypattern"
    [    1.536957] spi-nor spi9.0: n25q128a13 (16384 Kbytes)
    [    1.546978] davinci_mdio 46000f00.mdio: Configuring MDIO in manual mode
    [    1.566063] mmc0: Command Queue Engine enabled
    [    1.566081] mmc0: new HS200 MMC card at address 0001
    [    1.576260] mmcblk0: mmc0:0001 S0J56X 14.8 GiB
    [    1.576527] mmcblk0boot0: mmc0:0001 S0J56X partition 1 31.5 MiB
    [    1.576787] mmcblk0boot1: mmc0:0001 S0J56X partition 2 31.5 MiB
    [    1.577013] mmcblk0rpmb: mmc0:0001 S0J56X partition 3 4.00 MiB, chardev (237:0)
    [    1.578237]  mmcblk0: p1 p2
    [    1.586831] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.600212] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
    [    1.600366] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA07100, cpsw version 0x6BA80100 Ports: 2 quirks:00000001
    [    1.601944] am65-cpsw-nuss 46000000.ethernet: set new flow-id-base 48
    [    1.602875] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
    [    1.602886] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
    [    1.614886] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a2109, freq:200000000, add_val:4 pps:0
    [    1.633250] vdd_mmc1_sd: supplied by vcc3v3_io
    [    1.635896] debugfs: Directory 'pd:121' with parent 'pm_genpd' already present!
    [    1.635965] debugfs: Directory 'pd:120' with parent 'pm_genpd' already present!
    [    1.638855] mmc1: CQHCI version 5.10
    [    1.649893] input: gpio-keys as /devices/platform/gpio-keys/input/input0
    [    1.667767] ALSA device list:
    [    1.667778]   No soundcards found.
    [    2.398416] mmc1: SDHCI controller on 4fa0000.mmc [4fa0000.mmc] using ADMA 64-bit
    [    2.399317] Waiting for root device PARTUUID=8a125b81-02...
    [    2.464198] mmc1: new ultra high speed SDR104 SDHC card at address aaaa
    [    2.464990] mmcblk1: mmc1:aaaa SA08G 7.40 GiB
    [    2.477919]  mmcblk1: p1 p2
    [    2.829831] EXT4-fs (mmcblk1p2): recovery complete
    [    2.830685] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
    [    2.843729] VFS: Mounted root (ext4 filesystem) on device 179:98.
    [    2.845962] devtmpfs: mounted
    [    2.847323] Freeing unused kernel memory: 1728K
    [    2.847496] Run /sbin/init as init process
    [    2.985940] systemd[1]: System time before build time, advancing clock.
    [    3.041293] NET: Registered protocol family 10
    [    3.042601] Segment Routing with IPv6
    [    3.068657] systemd[1]: systemd 244.5+ 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)
    [    3.069428] systemd[1]: Detected architecture arm64.
    
    Welcome to Arago 2021.09!
    
    [    3.120162] systemd[1]: Set hostname to <am65xx-evm>.
    [    3.571045] systemd[1]: /lib/systemd/system/docker.socket:6: ListenStream= references a path below legacy directory /var/run/, updating /var/run/docker.sock → /run/docker.sock; please update the unit file accordingly.
    [    3.718629] random: systemd: uninitialized urandom read (16 bytes read)
    [    3.725713] systemd[1]: system-getty.slice: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
    [  OK  ] Created slice system-getty.slice    3.725732] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
    m.
    [    3.734568] systemd[1]: Created slice system-getty.slice.
    [  OK  ] Created slice system-serial\x2dgett[    3.767084] random: systemd: uninitialized urandom read (16 bytes read)
    y.slice.
    [    3.769370] systemd[1]: Created slice system-serial\x2dgetty.slice.
    [  OK  ] Created slice User and Session Slic[    3.790944] random: systemd: uninitialized urandom read (16 bytes read)
    e.
    [    3.792927] systemd[1]: Created slice User and Session Slice.
    [  OK  ] Started Dispatch Password …ts to [    3.815310] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    Console Directory Watch.
    [  OK  ] Started Forward Password R…uests [    3.839161] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    to Wall Directory Watch.
    [  OK  ] Reached target Paths.[    3.863113] systemd[1]: Reached target Paths.
    
    [  OK  ] Reached target Remote File Systems systemd[1]: Reached target Remote File Systems.
    [0m.
    [  OK  ] Reached target Slices.[    3.902933] systemd[1]: Reached target Slices.
    
    [  OK  ] Reached target Swap.[    3.922940] systemd[1]: Reached target Swap.
    
    [  OK  ] Listening on RPCbind Server Activat[    3.949706] systemd[1]: Listening on RPCbind Server Activation Socket.
    ion Socket.
    [  OK  ] Reached target RPC Port Mapper.[    3.971011] systemd[1]: Reached target RPC Port Mapper.
    
    [  OK  ] Listening on Process Core Dump Sock[    3.998307] systemd[1]: Listening on Process Core Dump Socket.
    et.
    [  OK  ] Listening on initctl Compatibility [    4.019308] systemd[1]: Listening on initctl Compatibility Named Pipe.
    Named Pipe.
    [  OK  ] Listening on Journal Socket (/dev/l[    4.055729] systemd[1]: Condition check resulted in Journal Audit Socket being skipped.
    og).
    [    4.056644] systemd[1]: Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket.[    4.079682] systemd[1]: Listening on Journal Socket.
    
    [  OK  ] Listening on Network Service Netlin[    4.099788] systemd[1]: Listening on Network Service Netlink Socket.
    k Socket.
    [  OK  ] Listening on udev Control Socket    4.123534] systemd[1]: Listening on udev Control Socket.
    m.
    [  OK  ] Listening on udev Kernel Socket[    4.147343] systemd[1]: Listening on udev Kernel Socket.
    .
             Mounting Huge Pages File System...[    4.173306] systemd[1]: Mounting Huge Pages File System...
    
             Mounting POSIX Message Queue File System..[    4.204941] systemd[1]: Mounting POSIX Message Queue File System...
    .
             Mounting Kernel Debug File System...
    [    4.240924] systemd[1]: Mounting Kernel Debug File System...
             Mounting Temporary Directory (/tmp)...[    4.261977] systemd[1]: Mounting Temporary Directory (/tmp)...
    
             Starting Create list of st…odes for the curr[    4.297299] systemd[1]: Starting Create list of static device nodes for the current kernel...
    ent kernel...
             Starting Start psplash boot splash screen.[    4.336684] systemd[1]: Starting Start psplash boot splash screen...
    ..
             Starting RPC Bind...
    [    4.373379] systemd[1]: Starting RPC Bind...
    [    4.378599] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
             Starting Journal Service...
    [    4.403658] systemd[1]: Starting Journal Service...
             Starting Load Kernel Modules...[    4.442179] systemd[1]: Starting Load Kernel Modules...
    
             Starting Remount Root and Kernel File Systems systemd[1]: Starting Remount Root and Kernel File Systems...
    [0m...
             Starting udev Coldplug all Devices...[    4.500839] systemd[1]: Starting udev Coldplug all Devices...
    
    [  OK  ] Mounted Huge Pages File System.[    4.531303] systemd[1]: Mounted Huge Pages File System.
    
    [  OK  ] Started RPC Bind.[    4.556337] systemd[1]: Started RPC Bind.
    
    [  OK  ] Mounted POSIX Message Queue File Sy[    4.576198] systemd[1]: Mounted POSIX Message Queue File System.
    stem.
    [    4.594472] cryptodev: loading out-of-tree module taints kernel.
    [  OK  ] Mounted Kernel Debug File System    4.603909] systemd[1]: Mounted Kernel Debug File System.
    m.
    [    4.623460] cryptodev: driver 1.10 loaded.
    [  OK  ] Mounted Temporary Directory (/tmp) systemd[1]: Mounted Temporary Directory (/tmp).
    [0m.
    [  OK  ] Started Create list of sta… nodes[    4.659457] systemd[1]: Started Create list of static device nodes for the current kernel.
     for the current kernel.
    [    4.684132] systemd[1]: psplash-start.service: Main process exited, code=exited, status=255/EXCEPTION
    [FAILED] Failed to start Start psplash boo[    4.684832] systemd[1]: psplash-start.service: Failed with result 'exit-code'.
    t splash screen.
    [    4.697400] systemd[1]: Failed to start Start psplash boot splash screen.
    See 'systemctl status psplash-start.service' for details.
    [DEPEND] Dependency failed for Star▒[    4.744759] systemd[1]: Dependency failed for Start psplash-systemd progress communication helper.
    ▒▒progress communication helper.
    [    4.771035] systemd[1]: psplash-systemd.service: Job psplash-systemd.service/start failed with result 'dependency'.
    [  OK  ] Started Load Kernel Modules.[    4.788006] systemd[1]: Started Load Kernel Modules.
    
    [    4.806014] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
    [    4.819242] systemd[1]: Condition check resulted in FUSE Control File System being skipped.
             Mounting Kernel Configuration File System.[    4.841730] systemd[1]: Mounting Kernel Configuration File System...
    ..
             Starting Apply Kernel Variables...[    4.889568] systemd[1]: Starting Apply Kernel Variables...
    
    [  OK  ] Started Remount Root and Kernel Fil[    4.922319] systemd[1]: Started Remount Root and Kernel File Systems.
    e Systems.
    [  OK  ] Mounted Kernel Configuration File S[    4.948749] systemd[1]: Mounted Kernel Configuration File System.
    ystem.
    [    4.974922] systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped.
             Starting Create Static Device Nodes in /dev    4.975108] systemd[1]: Condition check resulted in Create System Users being skipped.
    m...
    [    4.989264] systemd[1]: Starting Create Static Device Nodes in /dev...
    [  OK  ] Started Apply Kernel Variables.[    5.043007] systemd[1]: Started Apply Kernel Variables.
    
    [  OK  ] Started Create Static Device Nodes [    5.111824] systemd[1]: Started Create Static Device Nodes in /dev.
    in /dev.
    [  OK  ] Reached target Local File Systems ([    5.135866] systemd[1]: Reached target Local File Systems (Pre).
    Pre).
             Mounting /media/ram...[    5.165960] systemd[1]: Mounting /media/ram...
    
             Mounting /var/volatile...[    5.194269] systemd[1]: Mounting /var/volatile...
    
             Starting udev Kernel Device Manager...[    5.216065] systemd[1]: Starting udev Kernel Device Manager...
    
    [  OK  ] Mounted /media/ram.[    5.251465] systemd[1]: Mounted /media/ram.
    
    [  OK  ] Mounted /var/volatile.[    5.272334] systemd[1]: Mounted /var/volatile.
    
    [    5.293571] systemd[1]: Condition check resulted in Bind mount volatile /var/cache being skipped.
             Starting Load/Save Random Seed...[    5.293736] systemd[1]: Condition check resulted in Bind mount volatile /var/lib being skipped.
    
    [  OK  ] Reached target Local File Systems    5.308659] systemd[1]: Starting Load/Save Random Seed...
    0m.
    [  OK  ] Started Journal Service.[    5.335292] systemd[1]: Condition check resulted in Bind mount volatile /var/spool being skipped.
    
    [    5.335426] systemd[1]: Condition check resulted in Bind mount volatile /srv being skipped.
             Starting Flush Journal to Persistent Storage    5.335569] systemd[1]: Reached target Local File Systems.
    0m...
    [    5.363748] systemd[1]: Condition check resulted in Rebuild Dynamic Linker Cache being skipped.
    [    5.363973] systemd[1]: Condition check resulted in Commit a transient machine-id on disk being skipped.
    [    5.364751] systemd[1]: Started Journal Service.
    [  OK  ] Started Flush Journal to Persistent[    5.479530] systemd-journald[206]: Received client request to flush runtime journal.
     Storage.
             Starting Create Volatile Files and Directories...
    [  OK  ] Started Create Volatile Files and Directories.
             Starting Network Time Synchronization...
             Starting Update UTMP about System Boot/Shutdown...
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [  OK  ] Started udev Kernel Device Manager.
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Reached target System Time Set.
    [  OK  ] Reached target System Time Synchronized.
    [    7.786871] random: crng init done
    [    7.786889] random: 7 urandom warning(s) missed due to ratelimiting
    [  OK  ] Started Load/Save Random Seed.
    [  OK  ] Started udev Coldplug all Devices.
             Starting udev Wait for Complete Device Initialization...
    [    9.571240] [drm] Initialized pvr 1.17.4948957 20110701 for 7000000.gpu on minor 0
    [    9.647246] cal 6f03000.cal: Neither port is configured, no point in staying up
    [    9.732990] davinci_mdio b032400.mdio: Configuring MDIO in manual mode
    [    9.752094] CAN device driver interface
    [    9.771435] davinci_mdio b032400.mdio: davinci mdio revision 1.7, bus freq 1000000
    [    9.840412] davinci_mdio b032400.mdio: phy[0]: device b032400.mdio:00, driver TI DP83867
    [    9.840437] davinci_mdio b032400.mdio: phy[3]: device b032400.mdio:03, driver TI DP83867
    [   10.262107] davinci_mdio b132400.mdio: Configuring MDIO in manual mode
    [   10.334869] davinci_mdio b132400.mdio: davinci mdio revision 1.7, bus freq 1000000
    [   10.384576] davinci_mdio b132400.mdio: phy[0]: device b132400.mdio:00, driver TI DP83867
    [   10.384601] davinci_mdio b132400.mdio: phy[3]: device b132400.mdio:03, driver TI DP83867
    [   10.584963] davinci_mdio b232400.mdio: Configuring MDIO in manual mode
    [   10.642552] davinci_mdio b232400.mdio: davinci mdio revision 1.7, bus freq 1000000
    [   10.710245] davinci_mdio b232400.mdio: phy[0]: device b232400.mdio:00, driver TI DP83867
    [   10.710273] davinci_mdio b232400.mdio: phy[3]: device b232400.mdio:03, driver TI DP83867
    [   12.445962] platform 41000000.r5f: configured R5F for remoteproc mode
    [   12.456708] platform 41000000.r5f: assigned reserved memory node r5f-dma-memory@a0000000
    [   12.457170] remoteproc remoteproc0: 41000000.r5f is available
    [   12.461696] remoteproc remoteproc0: powering up 41000000.r5f
    [   12.461723] remoteproc remoteproc0: Booting fw image am65x-mcu-r5f0_0-fw, size 82412
    [   12.503271]  remoteproc0#vdev0buffer: assigned reserved memory node r5f-dma-memory@a0000000
    [   12.503837] virtio_rpmsg_bus virtio0: rpmsg host is online
    [   12.503900]  remoteproc0#vdev0buffer: registered virtio0 (type 7)
    [   12.503911] remoteproc remoteproc0: remote processor 41000000.r5f is now up
    [   12.519811] virtio_rpmsg_bus virtio0: creating channel ti.ipc4.ping-pong addr 0xd
    [   12.520034] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0xe
    [ ***  ] A start job is run[   14.304779] m_can_platform 40568000.mcan: m_can device registered (irq=25, version=32)
    ning for udev Wai…ice Initialization (10s / 3min 4s)
    [  *** ] A start job is running for udev Wai…ice Initialization (11s / 3min 4s)
    [   14.913232] remoteproc remoteproc1: b034000.pru is available
    [   14.987228] remoteproc remoteproc2: b004000.rtu is available
    [   15.002109] remoteproc remoteproc3: b00a000.txpru is available
    [   15.021072] remoteproc remoteproc4: b038000.pru is available
    [   15.030559] remoteproc remoteproc5: b006000.rtu is available
    [   15.046993] remoteproc remoteproc6: b00c000.txpru is available
    [   15.057887] remoteproc remoteproc7: b134000.pru is available
    [   15.070063] remoteproc remoteproc8: b104000.rtu is available
    [   15.078346] remoteproc remoteproc9: b10a000.txpru is available
    [   15.166328] remoteproc remoteproc10: b138000.pru is available
    [   15.201209] remoteproc remoteproc11: b106000.rtu is available
    [   15.232042] remoteproc remoteproc12: b10c000.txpru is available
    [   15.255490] remoteproc remoteproc13: b234000.pru is available
    [   15.270189] remoteproc remoteproc14: b204000.rtu is available
    [   ***] A start job is running for udev Wai…ice Initialization (11s / 3min 4s)
    [   15.367435] remoteproc remoteproc16: b238000.pru is available
    [   15.410658] remoteproc remoteproc17: b206000.rtu is available
    [  OK  ] Created slice system-systemd\x2dfsck.slice.
    [   18.409377] pps pps0: new PPS source ptp2
    [   18.409721] pps pps1: new PPS source ptp3
    [   18.440764] icssg-prueth icssg1-eth: TI PRU ethernet driver initialized: dual EMAC mode
    [   18.451131] pps pps2: new PPS source ptp4
    [   18.451459] pps pps3: new PPS source ptp5
    [   18.481581] icssg-prueth icssg0-eth: TI PRU ethernet driver initialized: dual EMAC mode
    [   18.512956] icssg-prueth icssg2-eth: TI PRU ethernet driver initialized: dual EMAC mode
    [   18.539628] omap_rng 4e10000.rng: Random Number Generator ver. 230b34c
    [   18.615131] OF: graph: no port node found in /bus@100000/phy@4110000
    [  OK  ] Found device /dev/mmcblk0p1.
             Starting File System Check on /dev/mmcblk0p1...
    [  OK  ] Started File System Check on /dev/mmcblk0p1.
             Mounting /run/media/mmcblk0p1...
    [  OK  ] Mounted /run/media/mmcblk0p1.
    [  OK  ] Found device /dev/mmcblk0p2.
             Starting File System Check on /dev/mmcblk0p2...
    [  OK  ] Started File System Check on /dev/mmcblk0p2.
             Mounting /run/media/mmcblk0p2...
    [   20.185293] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [  OK  ] Mounted /run/media/mmcblk0p2.
    [  OK  ] Found device /dev/mmcblk1p1.
             Starting File System Check on /dev/mmcblk1p1...
    [  OK  ] Started File System Check on /dev/mmcblk1p1.
             Mounting /run/media/mmcblk1p1...
    [  OK  ] Mounted /run/media/mmcblk1p1.
    [  OK  ] Reached target Hardware activated USB gadget.
    [   21.631593] usbcore: registered new interface driver usbfs
    [   21.631679] usbcore: registered new interface driver hub
    [   21.631764] usbcore: registered new device driver usb
    [   21.742008] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
    [   21.742073] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 1
    [   21.742225] xhci-hcd xhci-hcd.2.auto: hcc params 0x0298fe6d hci version 0x110 quirks 0x0000000000010010
    [   21.766939] xhci-hcd xhci-hcd.2.auto: irq 1297, io mem 0x04030000
    [   21.767586] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
    [   21.767601] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [   21.767611] usb usb1: Product: xHCI Host Controller
    [   21.767618] usb usb1: Manufacturer: Linux 5.10.100-rt62-g204ec708dc xhci-hcd
    [   21.767626] usb usb1: SerialNumber: xhci-hcd.2.auto
    [   21.796071] hub 1-0:1.0: USB hub found
    [   21.800983] hub 1-0:1.0: 1 port detected
    [   21.805960] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
    [   21.805995] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 2
    [   21.806030] xhci-hcd xhci-hcd.2.auto: Host supports USB 3.0 SuperSpeed
    [   21.870885] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    [   21.875571] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10
    [   21.875596] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [   21.875606] usb usb2: Product: xHCI Host Controller
    [   21.875613] usb usb2: Manufacturer: Linux 5.10.100-rt62-g204ec708dc xhci-hcd
    [   21.875621] usb usb2: SerialNumber: xhci-hcd.2.auto
    [   21.877476] hub 2-0:1.0: USB hub found
    [   21.877526] hub 2-0:1.0: 1 port detected
    [  OK  ] Started udev Wait for Complete Device Initialization.
    [  OK  ] Started Hardware RNG Entropy Gatherer Daemon.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Started Daily rotation of log files.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target Timers.
    [  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
             Starting Docker Socket for the API.
    [  OK  ] Listening on dropbear.socket.
             Starting Reboot and dump vmcore via kexec...
    [  OK  ] Listening on Docker Socket for the API.
    [  OK  ] Reached target Sockets.
    [  OK  ] Reached target Basic System.
    [  OK  ] Started Job spooling tools.
    [  OK  ] Started Periodic Command Scheduler.
    [  OK  ] Started D-Bus System Message Bus.
             Starting Print notice about GPLv3 packages...
             Starting IPv6 Packet Filtering Framework...
             Starting IPv4 Packet Filtering Framework...
    [  OK  ] Started irqbalance daemon.
             Starting Telephony service...
             Starting rc.pvr.service...
             Starting Login Service...
    [  OK  ] Started TEE Supplicant.
    [  OK  ] Started Reboot and dump vmcore via kexec.
    [  OK  ] Started IPv6 Packet Filtering Framework.
    [  OK  ] Started IPv4 Packet Filtering Framework.
    [  OK  ] Reached target Network (Pre).
             Starting Network Service...
    [   23.158048] PVR_K: UM DDK-(4948957) and KM DDK-(4948957) match. [ OK ]
    [  OK  ] Started Telephony service.
    [  OK  ] Listening on Load/Save RF …itch Status /dev/rfkill Watch.
    [   23.307533] Bluetooth: Core ver 2.22
    [   23.307698] NET: Registered protocol family 31
    [   23.307705] Bluetooth: HCI device and connection manager initialized
    [   23.307731] Bluetooth: HCI socket layer initialized
    [   23.307745] Bluetooth: L2CAP socket layer initialized
    [   23.307773] Bluetooth: SCO socket layer initialized
    [  OK  ] Started rc.pvr.service.
             Starting weston.service...
    [  OK  ] Started weston.service.
             Starting telnetd.service...
    [  OK  ] Started telnetd.service.
    [  OK  ] Started Network Service.
             Starting Wait for Network to be Configured...
             Starting Network Name Resolution...
    [   24.207385] remoteproc remoteproc16: powering up b238000.pru
    [   24.209494] remoteproc remoteproc16: Booting fw image ti-pruss/am65x-sr2-pru1-prueth-fw.elf, size 37540
    [   24.209533] remoteproc remoteproc16: unsupported resource 5
    [   24.209565] remoteproc remoteproc16: remote processor b238000.pru is now up
    [   24.209606] remoteproc remoteproc17: powering up b206000.rtu
    [   24.210632] remoteproc remoteproc17: Booting fw image ti-pruss/am65x-sr2-rtu1-prueth-fw.elf, size 30088
    [   24.210670] remoteproc remoteproc17: remote processor b206000.rtu is now up
    [   24.210699] remoteproc remoteproc18: powering up b20c000.txpru
    [   24.241674] remoteproc remoteproc18: Booting fw image ti-pruss/am65x-sr2-txpru1-prueth-fw.elf, size 35264
    [   24.241735] remoteproc remoteproc18: remote processor b20c000.txpru is now up
    [   24.259642] icssg-prueth icssg2-eth: settime timeout
    [   24.262537] pps pps4: new PPS source ptp6
    [   24.334753] icssg-prueth icssg2-eth eth6: timeout waiting for command done
    [   24.334795] icssg-prueth icssg2-eth eth6: TAS set state failed -110
    [   24.341230] TI DP83867 b232400.mdio:03: attached PHY driver [TI DP83867] (mii_bus:phy_addr=b232400.mdio:03, irq=POLL)
    [   24.341375] net eth6: started
    [   24.546873] remoteproc remoteproc13: powering up b234000.pru
    [   24.548441] remoteproc remoteproc13: Booting fw image ti-pruss/am65x-sr2-pru0-prueth-fw.elf, size 37264
    [   24.548481] remoteproc remoteproc13: unsupported resource 5
    [   24.548512] remoteproc remoteproc13: remote processor b234000.pru is now up
    [   24.548554] remoteproc remoteproc14: powering up b204000.rtu
    [   24.549786] remoteproc remoteproc14: Booting fw image ti-pruss/am65x-sr2-rtu0-prueth-fw.elf, size 30832
    [   24.549834] remoteproc remoteproc14: remote processor b204000.rtu is now up
    [   24.549870] remoteproc remoteproc15: powering up b20a000.txpru
    [   24.572956] remoteproc remoteproc15: Booting fw image ti-pruss/am65x-sr2-txpru0-prueth-fw.elf, size 36656
    [   24.573013] remoteproc remoteproc15: remote processor b20a000.txpru is now up
    [   24.628514] icssg-prueth icssg2-eth eth5: timeout waiting for command done
    [   24.628539] icssg-prueth icssg2-eth eth5: TAS set state failed -110
    [   24.657564] TI DP83867 b232400.mdio:00: attached PHY driver [TI DP83867] (mii_bus:phy_addr=b232400.mdio:00, irq=POLL)
    [   24.657711] net eth5: started
    [   24.819236] remoteproc remoteproc4: powering up b038000.pru
    [   24.820584] remoteproc remoteproc4: Booting fw image ti-pruss/am65x-pru1-prueth-fw.elf, size 17008
    [   24.820640] remoteproc remoteproc4: remote processor b038000.pru is now up
    [   24.820680] remoteproc remoteproc5: powering up b006000.rtu
    [   24.821608] remoteproc remoteproc5: Booting fw image ti-pruss/am65x-rtu1-prueth-fw.elf, size 15588
    [   24.821651] remoteproc remoteproc5: remote processor b006000.rtu is now up
    [   24.859330] TI DP83867 b032400.mdio:03: attached PHY driver [TI DP83867] (mii_bus:phy_addr=b032400.mdio:03, irq=POLL)
    [   24.859479] net eth4: started
    [   25.067006] remoteproc remoteproc1: powering up b034000.pru
    [   25.068048] remoteproc remoteproc1: Booting fw image ti-pruss/am65x-pru0-prueth-fw.elf, size 16992
    [   25.068101] remoteproc remoteproc1: remote processor b034000.pru is now up
    [   25.068138] remoteproc remoteproc2: powering up b004000.rtu
    [   25.069067] remoteproc remoteproc2: Booting fw image ti-pruss/am65x-rtu0-prueth-fw.elf, size 15588
    [   25.069111] remoteproc remoteproc2: remote processor b004000.rtu is now up
    [   25.102478] TI DP83867 b032400.mdio:00: attached PHY driver [TI DP83867] (mii_bus:phy_addr=b032400.mdio:00, irq=POLL)
    [   25.102629] net eth3: started
    [   25.260715] remoteproc remoteproc10: powering up b138000.pru
    [   25.260930] remoteproc remoteproc10: Booting fw image ti-pruss/am65x-pru1-prueth-fw.elf, size 17008
    [   25.260977] remoteproc remoteproc10: remote processor b138000.pru is now up
    [   25.261013] remoteproc remoteproc11: powering up b106000.rtu
    [   25.261130] remoteproc remoteproc11: Booting fw image ti-pruss/am65x-rtu1-prueth-fw.elf, size 15588
    [   25.261166] remoteproc remoteproc11: remote processor b106000.rtu is now up
    [   25.294759] TI DP83867 b132400.mdio:03: attached PHY driver [TI DP83867] (mii_bus:phy_addr=b132400.mdio:03, irq=POLL)
    [   25.294926] net eth2: started
    [   25.427251] remoteproc remoteproc7: powering up b134000.pru
    [   25.427504] remoteproc remoteproc7: Booting fw image ti-pruss/am65x-pru0-prueth-fw.elf, size 16992
    [   25.427552] remoteproc remoteproc7: remote processor b134000.pru is now up
    [   25.427586] remoteproc remoteproc8: powering up b104000.rtu
    [  OK  ] Started Login Service.
    [   25.427716] remoteproc remoteproc8: Booting fw image ti-pruss/am65x-rtu0-prueth-fw.elf, size 15588
    [   25.427756] remoteproc remoteproc8: remote processor b104000.rtu is now up
    [   25.441836] TI DP83867 b132400.mdio:00: attached PHY driver [TI DP83867] (mii_bus:phy_addr=b132400.mdio:00, irq=POLL)
    [   25.441989] net eth1: started
    [   25.656841] TI DP83867 46000f00.mdio:00: attached PHY driver [TI DP83867] (mii_bus:phy_addr=46000f00.mdio:00, irq=POLL)
    [   25.666807] am65-cpsw-nuss 46000000.ethernet eth0: Link is Down
    [  OK  ] Started Network Name Resolution.
    [  OK  ] Reached target Network.
    [  OK  ] Reached target Host and Network Name Lookups.
             Starting Avahi mDNS/DNS-SD Stack...
             Starting Enable and configure wl18xx bluetooth stack...
    [  OK  ] Started NFS status monitor for NFSv2/3 locking..
             Starting Simple Network Ma…ent Protocol (SNMP) Daemon....
             Starting Permit User Sessions...
    [  OK  ] Started Permit User Sessions.
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Getty on tty4.
    [  OK  ] Started Serial Getty on ttyS1.
    [  OK  ] Started Serial Getty on ttyS2.
    [  OK  ] Reached target Login Prompts.
             Starting Synchronize System and HW clocks...
    [FAILED] Failed to start Synchronize System and HW clocks.
    See 'systemctl status sync-clocks.service' for details.
    [  OK  ] Started Enable and configure wl18xx bluetooth stack.
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.
    [  OK  ] Started Simple Network Man…ement Protocol (SNMP) Daemon..
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPLv3 packages:
            autoconf
            bash-dev
            bash
            bc
            binutils
            cifs-utils
            coreutils-stdbuf
            coreutils
            cpio
            cpp-symlinks
            cpp
            dosfstools
            elfutils
            g++-symlinks
            g++
            gawk
            gcc-symlinks
            gcc
            gdb
            gdbserver
            gettext
            glmark2
            gstreamer1.0-libav-dev
            gstreamer1.0-libav
            gzip
            less
            libasm1
            libbfd
            libdw1
            libelf1
            libgdbm-compat4
            libgdbm-dev
            libgdbm6
            libgettextlib
            libgettextsrc
            libgmp-dev
            libgmp10
            libgmpxx4
            libidn2-0
            libidn2-dev
            libmpc3
            libmpfr6
            libreadline-dev
            libreadline8
            libunistring-dev
            libunistring2
            m4-dev
            m4
            make
            nettle-dev
            nettle
            parted
            pdm-anomaly-detection
            python3-rfc3987
            python3-strict-rfc3339
            tar
            which
            zeromq
    
    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
    ***************************************************************
    ***************************************************************
    [  OK  ] Started Print notice about GPLv3 packages.
    
     _____                    _____           _         _
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|
                  |___|                    |___|
    
    Arago Project http://arago-project.org am65xx-evm ttyS2
    
    Arago 2021.09 am65xx-evm ttyS2
    
    am65xx-evm login: root
    root@am65xx-evm:~# [   47.959603] icssg-prueth icssg1-eth eth1: Link is Up - 1Gbps/Full - flow control off
    [   47.959809] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
    
    root@am65xx-evm:~# ifconfig eth1 down
    [   59.014949] icssg-prueth icssg1-eth eth1: Link is Down
    [   59.039275] remoteproc remoteproc8: stopped remote processor b104000.rtu
    [   59.039301] remoteproc remoteproc7: stopped remote processor b134000.pru
    root@am65xx-evm:~# [   59.073776] net eth1: stopped
    ifconfig eth1 192.168.1.5 up
    [   69.785369] remoteproc remoteproc7: powering up b134000.pru
    [   69.785639] remoteproc remoteproc7: Booting fw image ti-pruss/am65x-pru0-prueth-fw.elf, size 16992
    root@am65xx-evm:~# [   69.785688] remoteproc remoteproc7: remote processor b134000.pru is now up
    [   69.785722] remoteproc remoteproc8: powering up b104000.rtu
    [   69.785834] remoteproc remoteproc8: Booting fw image ti-pruss/am65x-rtu0-prueth-fw.elf, size 15588
    [   69.785869] remoteproc remoteproc8: remote processor b104000.rtu is now up
    [   69.801758] TI DP83867 b132400.mdio:00: attached PHY driver [TI DP83867] (mii_bus:phy_addr=b132400.mdio:00, irq=POLL)
    [   69.801906] net eth1: started
    [   72.855623] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
    [   72.858272] icssg-prueth icssg1-eth eth1: Link is Up - 1Gbps/Full - flow control off
    [  145.295425] Initializing XFRM netlink socket
    [  148.249022] process 'docker/tmp/qemu-check486590454/check' started with executable stack
    

    Thanks.

    Eric

  • Hi Eric,

    Log "flow control off" is expected.

    I have attached the previous log and log after application of the patch.

    Previous logs:

    https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/791/8.02_5F00_withoutPatch

    Latest logs after applying patch:

    https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/791/8.02_5F00_withPatch

    Thanks and Regards,

    Rimika

  • Hi Rimka:

    Sorry, Eric and me are confused.

    So, this issue is closed or not?

    Hi Eric:

    Did you still observe the kernel stuck again or the ETH/PRU down and up repeat with endless loop?

    Please confirm if those issues are gone after 24/72 hours testing.

    Thanks.

    BR Rio

  • Hi Rio and Eric,

    This log message is just an info message thrown when the link comes up.

    This is an expected behaviour

    Thanks and Regards

    Rimika

  • Hi and

    I have tested the connection till Monday 0900 from 1730 last Friday.

    And the log happened only once.

    Attached the log.

    sdk8_log.txt

    Thanks.

    Eric

  • Hi Rimika:

    May you help to review the log from Eric?

    Please check if we can close this issue, thanks.

    BR Rio

  • Hi Eric,

    Correct me if I am wrong, as per the logs you are still facing the same issue of link getting dropped 

    Logs : icssg-prueth icssg1-eth eth5: Link is Up - 1Gbps/Full - flow control off
               IPv6: ADDRCONF(NETDEV_CHANGE): eth5: link becomes ready
               icssg-prueth icssg1-eth eth5: Link is Down

    Am i right?

    Thanks and Regards,

    Rimika

  • Hi ,

    After testing for about 60 hours, I didn't get the link dropped on Ti EVM board.

    As you mentioned, this log message is just an info message thrown when the link comes up.

    And it's expected.

     

    Hi Rio,

    I need some time to test it with our EVM because it happened on our EVM in the beginning.

    Eric

  • Thanks Eric for an update.

    I need some time to test it with our EVM because it happened on our EVM in the beginning

    Waiting for results her.

    Best Regards

    Ashwani

  • Hi , , ,

    This time, I test SDK8 on my EVM board, and this issue happened.

    Please help to check the log below.

    I set the ip address for eth1 and ping as well.

    However, the link is down at about 792s after, and the log happened continually.

    [ 84.979380] icssg-prueth icssg1-eth eth1: Link is Up - 1Gbps/Full - flow control off
    [ 138.706805] Initializing XFRM netlink socket
    [ 141.232830] process 'docker/tmp/qemu-check689813019/check' started with executable stack
    [ 792.562638] icssg-prueth icssg1-eth eth1: Link is Down
    [ 793.587025] icssg-prueth icssg1-eth eth1: Link is Up - 1Gbps/Full - flow control off
    [ 798.706775] icssg-prueth icssg1-eth eth1: Link is Down
    [ 799.731027] icssg-prueth icssg1-eth eth1: Link is Up - 1Gbps/Full - flow control off
    [ 865.266762] icssg-prueth icssg1-eth eth1: Link is Down
    [ 866.291016] icssg-prueth icssg1-eth eth1: Link is Up - 1Gbps/Full - flow control off
    [ 933.874668] icssg-prueth icssg1-eth eth1: Link is Down
    [ 934.899022] icssg-prueth icssg1-eth eth1: Link is Up - 1Gbps/Full - flow control off
    [ 1224.690679] icssg-prueth icssg1-eth eth1: Link is Down
    [ 1225.715032] icssg-prueth icssg1-eth eth1: Link is Up - 1Gbps/Full - flow control off

    Attached the log and the patch file including dts I modified.

    sdk8_AX5.txt

    Eric

  • Attach patch file.

    diff --git a/arch/arm64/boot/dts/ti/k3-am654-base-board.dts b/arch/arm64/boot/dts/ti/k3-am654-base-board.dts
    index 8a11d5c08..b95e27d1a 100644
    --- a/arch/arm64/boot/dts/ti/k3-am654-base-board.dts
    +++ b/arch/arm64/boot/dts/ti/k3-am654-base-board.dts
    @@ -14,8 +14,9 @@
     	model = "Texas Instruments AM654 Base Board";
     
     	aliases {
    -		ethernet1 = &icssg2_emac0;
    -		ethernet2 = &icssg2_emac1;
    +		ethernet1 = &icssg1_emac0;
    +		//ethernet2 = &icssg1_emac1; //EtherCAT port 1
    +		ethernet2 = &icssg2_emac0;
     	};
     
     	chosen {
    @@ -25,9 +26,9 @@
     
     	memory@80000000 {
     		device_type = "memory";
    -		/* 4G RAM */
    -		reg = <0x00000000 0x80000000 0x00000000 0x80000000>,
    -		      <0x00000008 0x80000000 0x00000000 0x80000000>;
    +
    +		/* 1G RAM */
    +		reg = <0x00000000 0x80000000 0x00000000 0x40000000>;
     	};
     
     	reserved-memory {
    @@ -66,64 +67,140 @@
     		};
     
     		rtos_ipc_memory_region: ipc-memories@a2000000 {
    -			reg = <0x00 0xa2000000 0x00 0x00100000>;
    +			reg = <0x00 0xa2000000 0x00 0x00200000>;
     			alignment = <0x1000>;
     			no-map;
     		};
     	};
     
    -	gpio-keys {
    -		compatible = "gpio-keys";
    -		autorepeat;
    +	eeprom_gpio: eeprom_gpio {
    +		compatible = "eeprom-gpio";
    +		eeprom-gpio = <&wkup_gpio0 7 GPIO_ACTIVE_HIGH>;
    +	};
    +
    +	clk_ov5640_fixed: fixed-clock-ov5640 {
    +		compatible = "fixed-clock";
    +		#clock-cells = <0>;
    +		clock-frequency = <24000000>;
    +	};
    +
    +	leds {
     		pinctrl-names = "default";
    -		pinctrl-0 = <&push_button_pins_default>;
    +		pinctrl-0 = <&ledgpio0_pins_default &ledgpio1_pins_default &ledgpio2_pins_default>;
    +
    +		compatible = "gpio-leds";
     
    -		sw5 {
    -			label = "GPIO Key USER1";
    -			linux,code = <BTN_0>;
    -			gpios = <&wkup_gpio0 24 GPIO_ACTIVE_LOW>;
    +		led1 {
    +			label = "LED-RUN";
    +			gpios = <&main_gpio0 27 GPIO_ACTIVE_LOW>;
     		};
     
    -		sw6 {
    -			label = "GPIO Key USER2";
    -			linux,code = <BTN_1>;
    -			gpios = <&wkup_gpio0 27 GPIO_ACTIVE_LOW>;
    +		led2 {
    +			label = "LED-ERR";
    +			gpios = <&main_gpio1 70 GPIO_ACTIVE_HIGH>;
     		};
    -	};
     
    -	evm_12v0: fixedregulator-evm12v0 {
    -		/* main supply */
    -		compatible = "regulator-fixed";
    -		regulator-name = "evm_12v0";
    -		regulator-min-microvolt = <12000000>;
    -		regulator-max-microvolt = <12000000>;
    -		regulator-always-on;
    -		regulator-boot-on;
    -	};
    +		led3 {
    +			label = "LED-BUS";
    +			gpios = <&main_gpio1 48 GPIO_ACTIVE_HIGH>;
    +		};
     
    -	vcc3v3_io: fixedregulator-vcc3v3io {
    -		/* Output of TPS54334 */
    -		compatible = "regulator-fixed";
    -		regulator-name = "vcc3v3_io";
    -		regulator-min-microvolt = <3300000>;
    -		regulator-max-microvolt = <3300000>;
    -		regulator-always-on;
    -		regulator-boot-on;
    -		vin-supply = <&evm_12v0>;
    -	};
    +		led4 {
    +			label = "LED-232TX";
    +			gpios = <&main_gpio1 21 GPIO_ACTIVE_HIGH>;
    +		};
     
    -	vdd_mmc1_sd: fixedregulator-sd {
    -		compatible = "regulator-fixed";
    -		regulator-name = "vdd_mmc1_sd";
    -		regulator-min-microvolt = <3300000>;
    -		regulator-max-microvolt = <3300000>;
    -		regulator-boot-on;
    -		enable-active-high;
    -		vin-supply = <&vcc3v3_io>;
    -		gpio = <&pca9554 4 GPIO_ACTIVE_HIGH>;
    +		led5 {
    +			label = "LED-232RX";
    +			gpios = <&main_gpio1 45 GPIO_ACTIVE_HIGH>;
    +		};
    +
    +		led6 {
    +			label = "LED-485TX";
    +			gpios = <&main_gpio1 87 GPIO_ACTIVE_HIGH>;
    +		};
    +
    +		led7 {
    +			label = "LED-485RX";
    +			gpios = <&main_gpio1 46 GPIO_ACTIVE_HIGH>;
    +		};
    +
    +		led8 {
    +			label = "LED-SD";
    +			gpios = <&main_gpio1 47 GPIO_ACTIVE_HIGH>;
    +		};
     	};
     
    -	/* Dual Ethernet application node on PRU-ICSSG2 */
    +#if 1
    +    /* Dual Ethernet application node on PRU-ICSSG1 */
    +		icssg1_eth: icssg1-eth {
    +			compatible = "ti,am654-icssg-prueth";
    +			pinctrl-names = "default";
    +		    pinctrl-0 = <&icssg1_rgmii_pins_default>;
    +			sram = <&msmc_ram>;
    +			ti,prus = <&pru1_0>, <&rtu1_0>, <&tx_pru1_0>, <&pru1_1>, <&rtu1_1>, <&tx_pru1_1>;
    +			firmware-name = "ti-pruss/am65x-sr2-pru0-prueth-fw.elf",
    +					"ti-pruss/am65x-sr2-rtu0-prueth-fw.elf",
    +					"ti-pruss/am65x-sr2-txpru0-prueth-fw.elf",
    +					"ti-pruss/am65x-sr2-pru1-prueth-fw.elf",
    +					"ti-pruss/am65x-sr2-rtu1-prueth-fw.elf",
    +					"ti-pruss/am65x-sr2-txpru1-prueth-fw.elf";
    +
    +			ti,pruss-gp-mux-sel = <2>,	/* MII mode */
    +					      <2>,
    +					      <2>,
    +					      <2>,	/* MII mode */
    +					      <2>,
    +					      <2>;
    +
    +			mii-g-rt = <&icssg1_mii_g_rt>;
    +			mii-rt = <&icssg1_mii_rt>;
    +			iep = <&icssg1_iep0>,  <&icssg1_iep1>;
    +
    +			interrupt-parent = <&icssg1_intc>;
    +			interrupts = <24 0 2>, <25 1 3>;
    +
    +			interrupt-names = "tx_ts0", "tx_ts1";
    +
    +			dmas = <&main_udmap 0xc200>, /* egress slice 0 */
    +			       <&main_udmap 0xc201>, /* egress slice 0 */
    +			       <&main_udmap 0xc202>, /* egress slice 0 */
    +			       <&main_udmap 0xc203>, /* egress slice 0 */
    +			       <&main_udmap 0xc204>, /* egress slice 1 */
    +			       <&main_udmap 0xc205>, /* egress slice 1 */
    +			       <&main_udmap 0xc206>, /* egress slice 1 */
    +			       <&main_udmap 0xc207>, /* egress slice 1 */
    +
    +			       <&main_udmap 0x4200>, /* ingress slice 0 */
    +			       <&main_udmap 0x4201>, /* ingress slice 1 */
    +			       <&main_udmap 0x4202>, /* mgmnt rsp slice 0 */
    +			       <&main_udmap 0x4203>; /* mgmnt rsp slice 1 */
    +			dma-names = "tx0-0", "tx0-1", "tx0-2", "tx0-3",
    +				    "tx1-0", "tx1-1", "tx1-2", "tx1-3",
    +				    "rx0", "rx1",
    +				    "rxmgm0", "rxmgm1";
    +
    +			icssg1_emac0: ethernet-mii0 {
    +				phy-handle = <&icssg1_phy0>;
    +				phy-mode = "rgmii-rxid";
    +				syscon-rgmii-delay = <&scm_conf 0x4110>;
    +				/* Filled in by bootloader */
    +				local-mac-address = [00 00 00 00 00 00];
    +                //ti,half-duplex-capable;
    +			};
    +#if 0
    +            icssg1_emac1: ethernet-mii1 {
    +				phy-handle = <&icssg1_phy1>;
    +				phy-mode = "rgmii-rxid";
    +				syscon-rgmii-delay = <&scm_conf 0x4114>;
    +				/* Filled in by bootloader */
    +				local-mac-address = [00 00 00 00 00 00];
    +                //ti,half-duplex-capable;
    +			};
    +#endif
    +		};
    +#if 1
    +	/* Single Ethernet application node on PRU-ICSSG2 */
     	icssg2_eth: icssg2-eth {
     		compatible = "ti,am654-icssg-prueth";
     		pinctrl-names = "default";
    @@ -172,111 +249,176 @@
     			    "rxmgm0", "rxmgm1";
     
     		icssg2_emac0: ethernet-mii0 {
    -			phy-handle = <&icssg2_phy0>;
    +			phy-handle = <&icssg2_phy2>;
     			phy-mode = "rgmii-rxid";
     			syscon-rgmii-delay = <&scm_conf 0x4120>;
     			/* Filled in by bootloader */
     			local-mac-address = [00 00 00 00 00 00];
     		};
    -
    -		icssg2_emac1: ethernet-mii1 {
    -			phy-handle = <&icssg2_phy1>;
    -			phy-mode = "rgmii-rxid";
    -			syscon-rgmii-delay = <&scm_conf 0x4124>;
    -			/* Filled in by bootloader */
    -			local-mac-address = [00 00 00 00 00 00];
    -		};
     	};
    +#endif
    +#endif
    +
     };
     
     &wkup_pmx0 {
    -	wkup_i2c0_pins_default: wkup-i2c0-pins-default {
    +	pinctrl-names = "default";
    +	pinctrl-0 = <&eepromgpio_pins_default &iovolctrl_pins_default &i2c0switch_pins_default>;
    +
    +	phy2ax58100_pins_default: phy2ax58100_pins_default {
     		pinctrl-single,pins = <
    -			AM65X_WKUP_IOPAD(0x00e0, PIN_INPUT, 0) /* (AC7) WKUP_I2C0_SCL */
    -			AM65X_WKUP_IOPAD(0x00e4, PIN_INPUT, 0) /* (AD6) WKUP_I2C0_SDA */
    +			AM65X_WKUP_IOPAD(0x0058, PIN_INPUT, 1) /* (N4) MCU_RGMII1_TX_CTL.MCU_RMII1_CRS_DV */
    +			AM65X_WKUP_IOPAD(0x005c, PIN_INPUT, 1) /* (N5) MCU_RGMII1_RX_CTL.MCU_RMII1_RX_ER */
    +			AM65X_WKUP_IOPAD(0x0068, PIN_OUTPUT, 1) /* (M4) MCU_RGMII1_TD1.MCU_RMII1_TXD1 */
    +			AM65X_WKUP_IOPAD(0x006c, PIN_OUTPUT, 1) /* (M5) MCU_RGMII1_TD0.MCU_RMII1_TXD0 */
    +			AM65X_WKUP_IOPAD(0x0080, PIN_INPUT, 1) /* (M6) MCU_RGMII1_RD1.MCU_RMII1_RXD1 */
    +			AM65X_WKUP_IOPAD(0x0084, PIN_INPUT, 1) /* (L6) MCU_RGMII1_RD0.MCU_RMII1_RXD0 */
    +			AM65X_WKUP_IOPAD(0x0070, PIN_OUTPUT, 1) /* (N1) MCU_RGMII1_TXC.MCU_RMII1_TX_EN */
    +			AM65X_WKUP_IOPAD(0x0074, PIN_INPUT, 1) /* (M1) MCU_RGMII1_RXC.MCU_RMII1_REF_CLK */
     		>;
     	};
     
    -	push_button_pins_default: push-button-pins-default {
    +	mcan0_pins_default: mcan0_pins_default {
     		pinctrl-single,pins = <
    -			AM65X_WKUP_IOPAD(0x0030, PIN_INPUT, 7) /* (R5) WKUP_GPIO0_24 */
    -			AM65X_WKUP_IOPAD(0x003c, PIN_INPUT, 7) /* (P2) WKUP_GPIO0_27 */
    +			AM65X_WKUP_IOPAD(0x00ac, PIN_INPUT, 0) /* (W2) MCU_MCAN0_RX */
    +			AM65X_WKUP_IOPAD(0x00a8, PIN_OUTPUT, 0) /* (W1) MCU_MCAN0_TX */
     		>;
     	};
     
    -	mcu_fss0_ospi0_pins_default: mcu-fss0-ospi0-pins-default {
    +	phy2ax58100_mdio2_pins_default: phy2ax58100_mdio2_pins_default {
     		pinctrl-single,pins = <
    -			AM65X_WKUP_IOPAD(0x0000, PIN_OUTPUT, 0) /* (V1) MCU_OSPI0_CLK */
    -			AM65X_WKUP_IOPAD(0x0008, PIN_INPUT, 0)	 /* (U2) MCU_OSPI0_DQS */
    -			AM65X_WKUP_IOPAD(0x000c, PIN_INPUT, 0)  /* (U4) MCU_OSPI0_D0 */
    -			AM65X_WKUP_IOPAD(0x0010, PIN_INPUT, 0)  /* (U5) MCU_OSPI0_D1 */
    -			AM65X_WKUP_IOPAD(0x0014, PIN_INPUT, 0)  /* (T2) MCU_OSPI0_D2 */
    -			AM65X_WKUP_IOPAD(0x0018, PIN_INPUT, 0)  /* (T3) MCU_OSPI0_D3 */
    -			AM65X_WKUP_IOPAD(0x001c, PIN_INPUT, 0)  /* (T4) MCU_OSPI0_D4 */
    -			AM65X_WKUP_IOPAD(0x0020, PIN_INPUT, 0)  /* (T5) MCU_OSPI0_D5 */
    -			AM65X_WKUP_IOPAD(0x0024, PIN_INPUT, 0)  /* (R2) MCU_OSPI0_D6 */
    -			AM65X_WKUP_IOPAD(0x0028, PIN_INPUT, 0)  /* (R3) MCU_OSPI0_D7 */
    -			AM65X_WKUP_IOPAD(0x002c, PIN_OUTPUT, 0) /* (R4) MCU_OSPI0_CSn0 */
    +			AM65X_WKUP_IOPAD(0x008c, PIN_OUTPUT, 0) /* (L1) MCU_MDIO0_MDC */
    +			AM65X_WKUP_IOPAD(0x0088, PIN_INPUT, 0) /* (L4) MCU_MDIO0_MDIO */
     		>;
     	};
     
    -	wkup_pca554_default: wkup-pca554-default {
    +	eepromgpio_pins_default: eepromgpio_pins_default {
     		pinctrl-single,pins = <
    -			AM65X_WKUP_IOPAD(0x0034, PIN_INPUT, 7) /* (T1) MCU_OSPI1_CLK.WKUP_GPIO0_25 */
    +			AM65X_WKUP_IOPAD(0x00cc, PIN_INPUT, 7) /* (AC1) WKUP_GPIO0_7 */
     		>;
     	};
     
    -	mcu_cpsw_pins_default: mcu-cpsw-pins-default {
    +	iovolctrl_pins_default: iovolctrl_pins_default {
     		pinctrl-single,pins = <
    -			AM65X_WKUP_IOPAD(0x0058, PIN_OUTPUT, 0) /* (N4) MCU_RGMII1_TX_CTL */
    -			AM65X_WKUP_IOPAD(0x005c, PIN_INPUT, 0) /* (N5) MCU_RGMII1_RX_CTL */
    -			AM65X_WKUP_IOPAD(0x0060, PIN_OUTPUT, 0) /* (M2) MCU_RGMII1_TD3 */
    -			AM65X_WKUP_IOPAD(0x0064, PIN_OUTPUT, 0) /* (M3) MCU_RGMII1_TD2 */
    -			AM65X_WKUP_IOPAD(0x0068, PIN_OUTPUT, 0) /* (M4) MCU_RGMII1_TD1 */
    -			AM65X_WKUP_IOPAD(0x006c, PIN_OUTPUT, 0) /* (M5) MCU_RGMII1_TD0 */
    -			AM65X_WKUP_IOPAD(0x0078, PIN_INPUT, 0) /* (L2) MCU_RGMII1_RD3 */
    -			AM65X_WKUP_IOPAD(0x007c, PIN_INPUT, 0) /* (L5) MCU_RGMII1_RD2 */
    -			AM65X_WKUP_IOPAD(0x0080, PIN_INPUT, 0) /* (M6) MCU_RGMII1_RD1 */
    -			AM65X_WKUP_IOPAD(0x0084, PIN_INPUT, 0) /* (L6) MCU_RGMII1_RD0 */
    -			AM65X_WKUP_IOPAD(0x0070, PIN_OUTPUT, 0) /* (N1) MCU_RGMII1_TXC */
    -			AM65X_WKUP_IOPAD(0x0074, PIN_INPUT, 0) /* (M1) MCU_RGMII1_RXC */
    +			AM65X_WKUP_IOPAD(0x00c8, PIN_OUTPUT, 7) /* (AC2) WKUP_GPIO0_6 */
     		>;
     	};
     
    -	mcu_mdio_pins_default: mcu-mdio1-pins-default {
    +	i2c0switch_pins_default: i2c0switch_pins_default {
     		pinctrl-single,pins = <
    -			AM65X_WKUP_IOPAD(0x008c, PIN_OUTPUT, 0) /* (L1) MCU_MDIO0_MDC */
    -			AM65X_WKUP_IOPAD(0x0088, PIN_INPUT, 0) /* (L4) MCU_MDIO0_MDIO */
    +			AM65X_WKUP_IOPAD(0x00D8, PIN_OUTPUT, 7) /* (AB3) WKUP_GPIO0_10 */
     		>;
     	};
     };
     
     &main_pmx0 {
    -	main_uart0_pins_default: main-uart0-pins-default {
    +	pinctrl-names = "default";
    +	pinctrl-0 = <&gpio0_pins_default &gpio1_pins_default>;
    +
    +	gpio1_pins_default: gpio1_pins_default {
     		pinctrl-single,pins = <
    -			AM65X_IOPAD(0x01e4, PIN_INPUT, 0)	/* (AF11) UART0_RXD */
    -			AM65X_IOPAD(0x01e8, PIN_OUTPUT, 0)	/* (AE11) UART0_TXD */
    -			AM65X_IOPAD(0x01ec, PIN_INPUT, 0)	/* (AG11) UART0_CTSn */
    -			AM65X_IOPAD(0x01f0, PIN_OUTPUT, 0)	/* (AD11) UART0_RTSn */
    +			AM65X_IOPAD(0x01ec, PIN_OUTPUT, 7)  /* (AG11) GPIO1_27 */ /*Latch*/
    +			AM65X_IOPAD(0x01f0, PIN_INPUT, 7)   /* (AD11) GPIO1_28 */ /*/DO-FAULT*/
    +			AM65X_IOPAD(0x01f4, PIN_INPUT, 1)   /* (V24) PRG0_PRU0_GPO0.GPIO1_29 */
    +			AM65X_IOPAD(0x01f8, PIN_INPUT, 1)   /* (W25) PRG0_PRU0_GPO1.GPIO1_30 */
    +			AM65X_IOPAD(0x01fc, PIN_INPUT, 1)   /* (W24) PRG0_PRU0_GPO2.GPIO1_31 */
    +			AM65X_IOPAD(0x0200, PIN_INPUT, 1)   /* (AA27) PRG0_PRU0_GPO3.GPIO1_32 */
    +			AM65X_IOPAD(0x0204, PIN_INPUT, 1)   /* (Y24) PRG0_PRU0_GPO4.GPIO1_33 */
    +			AM65X_IOPAD(0x0208, PIN_INPUT, 1)   /* (V28) PRG0_PRU0_GPO5.GPIO1_34 */
    +			AM65X_IOPAD(0x020c, PIN_INPUT, 1)   /* (Y25) PRG0_PRU0_GPO6.GPIO1_35 */
    +			AM65X_IOPAD(0x0210, PIN_INPUT, 1)   /* (U27) PRG0_PRU0_GPO7.GPIO1_36 */
    +			AM65X_IOPAD(0x0214, PIN_INPUT, 7)   /* (V27) PRG0_PRU0_GPO8.GPIO1_37 */
    +			AM65X_IOPAD(0x0218, PIN_INPUT, 7)   /* (V26) PRG0_PRU0_GPO9.GPIO1_38 */
    +			AM65X_IOPAD(0x021c, PIN_INPUT, 7)   /* (U25) PRG0_PRU0_GPO10.GPIO1_39 */
    +			AM65X_IOPAD(0x0220, PIN_INPUT, 7)   /* (AB25) PRG0_PRU0_GPO11.GPIO1_40 */
    +			AM65X_IOPAD(0x0224, PIN_INPUT, 7)   /* (AD27) PRG0_PRU0_GPO12.GPIO1_41 */
    +			AM65X_IOPAD(0x0228, PIN_INPUT, 7)   /* (AC26) PRG0_PRU0_GPO13.GPIO1_42 */
    +			AM65X_IOPAD(0x022c, PIN_INPUT, 7)   /* (AD26) PRG0_PRU0_GPO14.GPIO1_43 */
    +			AM65X_IOPAD(0x0230, PIN_INPUT, 7)   /* (AA24) PRG0_PRU0_GPO15.GPIO1_44 */
    +			AM65X_IOPAD(0x0244, PIN_OUTPUT_PULLDOWN, 7) /* (AB28) PRG0_PRU1_GPO0.GPIO1_49 */ /*****************************************************************************/
    +			AM65X_IOPAD(0x0248, PIN_OUTPUT_PULLDOWN, 7) /* (AC28) PRG0_PRU1_GPO1.GPIO1_50 */ /*We set the mode as 7 due to PRU cannot control default status of output pin*/
    +			AM65X_IOPAD(0x024c, PIN_OUTPUT_PULLDOWN, 7) /* (AC27) PRG0_PRU1_GPO2.GPIO1_51 */ /*And we set the mode back to 0 using memdev2 after PRU init*/
    +			AM65X_IOPAD(0x0250, PIN_OUTPUT_PULLDOWN, 7) /* (AB26) PRG0_PRU1_GPO3.GPIO1_52 */ /*****************************************************************************/
    +			AM65X_IOPAD(0x0254, PIN_INPUT, 1)   /* (AA25) PRG0_PRU1_GPI4.GPIO1_53 */ /*HS_PRU0_LV*/
    +			AM65X_IOPAD(0x0258, PIN_OUTPUT_PULLDOWN, 7) /* (U23) PRG0_PRU1_GPI4.GPIO1_54 */ /*HS_PRU0_IRQ*/
    +			AM65X_IOPAD(0x0284, PIN_INPUT, 7)   /* (AC24) PRG0_PRU1_GPO16.GPIO1_65 */
    +			AM65X_IOPAD(0x028c, PIN_INPUT, 7)   /* (Y26) PRG0_PRU1_GPO18.GPIO1_67 */
    +			AM65X_IOPAD(0x0290, PIN_INPUT, 7)   /* (W26) PRG0_PRU1_GPO19.GPIO1_68 */
    +			AM65X_IOPAD(0x0294, PIN_INPUT, 7)   /* (AE26) PRG0_MDIO0_MDIO.GPIO1_69 */
    +			AM65X_IOPAD(0x01d0, PIN_OUTPUT_PULLDOWN, 7) /* (AD12) GPIO1_20 */ /*SEL-OUT*/
     		>;
     	};
     
    -	main_i2c2_pins_default: main-i2c2-pins-default {
    +	ledgpio1_pins_default: ledgpio1_pins_default {
     		pinctrl-single,pins = <
    -			AM65X_IOPAD(0x0074, PIN_INPUT, 5) /* (T27) GPMC0_CSn3.I2C2_SCL */
    -			AM65X_IOPAD(0x0070, PIN_INPUT, 5) /* (R25) GPMC0_CSn2.I2C2_SDA */
    +			AM65X_IOPAD(0x01d4, PIN_OUTPUT, 7)  /* (AG12) GPIO1_21 */ /* RS232-TX-LED */
    +			AM65X_IOPAD(0x0234, PIN_OUTPUT, 7)  /* (AD28) GPIO1_45 */ /* RS232-RX-LED */
    +			AM65X_IOPAD(0x0238, PIN_OUTPUT, 7)  /* (U26) GPIO1_46 */ /* RS485-RX-LED */
    +			AM65X_IOPAD(0x023c, PIN_OUTPUT, 7)  /* (V25) GPIO1_47 */ /* SD-CARD-READY-LED */
    +			AM65X_IOPAD(0x0240, PIN_OUTPUT, 7)  /* (U24) GPIO1_48 */ /* BUSFAULT-LED */
    +			AM65X_IOPAD(0x0298, PIN_OUTPUT, 7)  /* (AE28) GPIO1_70 */ /* ERROR-LED */
     		>;
     	};
     
    -	main_spi0_pins_default: main-spi0-pins-default {
    +	gpio0_pins_default: gpio0_pins_default {
    +		pinctrl-single,pins = <
    +			AM65X_IOPAD(0x0040, PIN_OUTPUT, 7)  /* (R28) GPIO0_16 */ /*ETH1-PHY-RESET*/
    +			AM65X_IOPAD(0x0058, PIN_INPUT, 7)   /* (R26) GPIO0_22 */ /*RUN/STOP SW*/
    +			AM65X_IOPAD(0x0060, PIN_OUTPUT, 7)  /* (T25) GPIO0_24 */ /*/AX58100-RST*/
    +			AM65X_IOPAD(0x0064, PIN_OUTPUT, 7)  /* (T24) GPIO0_25 */ /*/AX58100-PYH-RST*/
    +			AM65X_IOPAD(0x0068, PIN_OUTPUT, 7)  /* (R24) GPIO0_26 */ /*CAN-TERM*/
    +			AM65X_IOPAD(0x0070, PIN_OUTPUT, 7)  /* (R25) GPIO0_28 */ /*GPIO-eMMC-RST*/
    +			AM65X_IOPAD(0x0074, PIN_INPUT, 7)   /* (T27) GPIO0_29 */ /*/24V-LV*/
    +			AM65X_IOPAD(0x00ac, PIN_INPUT, 1)   /* (AH15) PRG2_PRU1_GPO0.GPIO0_43 */
    +			AM65X_IOPAD(0x00b0, PIN_INPUT, 1)   /* (AC16) PRG2_PRU1_GPO1.GPIO0_44 */
    +			AM65X_IOPAD(0x00b4, PIN_INPUT, 1)   /* (AD17) PRG2_PRU1_GPO2.GPIO0_45 */
    +			AM65X_IOPAD(0x00b8, PIN_INPUT, 1)   /* (AH14) PRG2_PRU1_GPO3.GPIO0_46 */
    +			AM65X_IOPAD(0x00d8, PIN_INPUT, 1)   /* (AD14) PRG2_PRU1_GPO16.GPIO0_55 */ /*HS_PRU2_LV*/
    +			AM65X_IOPAD(0x00f4, PIN_INPUT, 7)   /* (AF27) GPIO0_61 */ /*PRU-IRQ*/
    +			AM65X_IOPAD(0x0108, PIN_OUTPUT, 7)  /* (AH25) GPIO0_66 */ /*ETH0-PHY-RESET*/
    +			AM65X_IOPAD(0x0124, PIN_OUTPUT, 7)  /* (AH26) GPIO0_73 */ /*ECAT2-PHY-RST*/
    +		>;
    +	};
    +
    +	ledgpio0_pins_default: ledgpio0_pins_default {
     		pinctrl-single,pins = <
    -			AM65X_IOPAD(0x01c4, PIN_INPUT, 0) /* (AH13) SPI0_CLK */
    -			AM65X_IOPAD(0x01c8, PIN_INPUT, 0) /* (AE13) SPI0_D0 */
    -			AM65X_IOPAD(0x01cc, PIN_INPUT, 0) /* (AD13) SPI0_D1 */
    -			AM65X_IOPAD(0x01bc, PIN_OUTPUT, 0) /* (AG13) SPI0_CS0 */
    +			AM65X_IOPAD(0x006c, PIN_OUTPUT | PIN_INPUT, 7) /* (T23) GPIO0_27 */ /* RUN-LED */
     		>;
     	};
     
    +#if 0
    +	mygpmc3_pins_default: mygpmc3_pins_default {
    +		pinctrl-single,pins = <
    +			AM65X_IOPAD(0x00bc, PIN_OUTPUT, 3) /* (AG14) PRG2_PRU1_GPO4.GPMC0_A8 */
    +			AM65X_IOPAD(0x00c0, PIN_OUTPUT, 3) /* (AG15) PRG2_PRU1_GPO5.GPMC0_A7 */
    +			AM65X_IOPAD(0x00c4, PIN_OUTPUT, 3) /* (AC17) PRG2_PRU1_GPO6.GPMC0_A6 */
    +			AM65X_IOPAD(0x00cc, PIN_OUTPUT, 3) /* (AD15) PRG2_PRU1_GPO8.GPMC0_A4 */
    +			AM65X_IOPAD(0x00d0, PIN_OUTPUT, 3) /* (AF14) PRG2_PRU1_GPO9.GPMC0_A3 */
    +			AM65X_IOPAD(0x00d4, PIN_OUTPUT, 3) /* (AC15) PRG2_PRU1_GPO10.GPMC0_A2 */
    +			AM65X_IOPAD(0x00d8, PIN_OUTPUT, 3) /* (AD14) PRG2_PRU1_GPO11.GPMC0_A1 */
    +			AM65X_IOPAD(0x003c, PIN_INPUT, 0) /* (R27) GPMC0_AD15 */
    +			AM65X_IOPAD(0x0038, PIN_INPUT, 0) /* (P24) GPMC0_AD14 */
    +			AM65X_IOPAD(0x0034, PIN_INPUT, 0) /* (N25) GPMC0_AD13 */
    +			AM65X_IOPAD(0x0030, PIN_INPUT, 0) /* (N26) GPMC0_AD12 */
    +			AM65X_IOPAD(0x002c, PIN_INPUT, 0) /* (P27) GPMC0_AD11 */
    +			AM65X_IOPAD(0x0028, PIN_INPUT, 0) /* (P28) GPMC0_AD10 */
    +			AM65X_IOPAD(0x0024, PIN_INPUT, 0) /* (M26) GPMC0_AD9 */
    +			AM65X_IOPAD(0x0020, PIN_INPUT, 0) /* (N23) GPMC0_AD8 */
    +			AM65X_IOPAD(0x001c, PIN_INPUT, 0) /* (M25) GPMC0_AD7 */
    +			AM65X_IOPAD(0x0018, PIN_INPUT, 0) /* (N28) GPMC0_AD6 */
    +			AM65X_IOPAD(0x0014, PIN_INPUT, 0) /* (N27) GPMC0_AD5 */
    +			AM65X_IOPAD(0x0010, PIN_INPUT, 0) /* (N24) GPMC0_AD4 */
    +			AM65X_IOPAD(0x000c, PIN_INPUT, 0) /* (M24) GPMC0_AD3 */
    +			AM65X_IOPAD(0x0008, PIN_INPUT, 0) /* (M28) GPMC0_AD2 */
    +			AM65X_IOPAD(0x0004, PIN_INPUT, 0) /* (M23) GPMC0_AD1 */
    +			AM65X_IOPAD(0x0000, PIN_INPUT, 0) /* (M27) GPMC0_AD0 */
    +			AM65X_IOPAD(0x0054, PIN_OUTPUT, 0) /* (P23) GPMC0_BE1n */
    +			AM65X_IOPAD(0x0048, PIN_OUTPUT, 0) /* (P26) GPMC0_OEn_REn */
    +			AM65X_IOPAD(0x004c, PIN_OUTPUT, 0) /* (U28) GPMC0_WEn */
    +		>;
    +	};
    +#endif
    +
     	main_mmc0_pins_default: main-mmc0-pins-default {
     		pinctrl-single,pins = <
     			AM65X_IOPAD(0x01a8, PIN_INPUT_PULLDOWN, 0) /* (B25) MMC0_CLK */
    @@ -307,13 +449,45 @@
     		>;
     	};
     
    -	usb1_pins_default: usb1-pins-default {
    +	icssg1_mdio_pins_default: icssg1_mdio_pins_default {
    +		pinctrl-single,pins = <
    +			AM65X_IOPAD(0x0180, PIN_INPUT, 0) /* (AD18) PRG1_MDIO0_MDIO */
    +			AM65X_IOPAD(0x0184, PIN_OUTPUT, 0) /* (AH18) PRG1_MDIO0_MDC */
    +		>;
    +	};
    +
    +	icssg1_rgmii_pins_default: icssg1_rgmii_pins_default {
     		pinctrl-single,pins = <
    -			AM65X_IOPAD(0x02c0, PIN_OUTPUT, 0) /* (AC8) USB1_DRVVBUS */
    +			AM65X_IOPAD(0x00e0, PIN_INPUT, 2) /* (AE22) PRG1_PRU0_GPO0.PRG1_RGMII1_RD0 */
    +			AM65X_IOPAD(0x00e4, PIN_INPUT, 2) /* (AG24) PRG1_PRU0_GPO1.PRG1_RGMII1_RD1 */
    +			AM65X_IOPAD(0x00e8, PIN_INPUT, 2) /* (AF23) PRG1_PRU0_GPO2.PRG1_RGMII1_RD2 */
    +			AM65X_IOPAD(0x00ec, PIN_INPUT, 2) /* (AD21) PRG1_PRU0_GPO3.PRG1_RGMII1_RD3 */
    +			AM65X_IOPAD(0x0110, PIN_OUTPUT, 2) /* (AH20) PRG1_PRU0_GPO12.PRG1_RGMII1_TD0 */
    +			AM65X_IOPAD(0x0114, PIN_OUTPUT, 2) /* (AH21) PRG1_PRU0_GPO13.PRG1_RGMII1_TD1 */
    +			AM65X_IOPAD(0x0118, PIN_OUTPUT, 2) /* (AG20) PRG1_PRU0_GPO14.PRG1_RGMII1_TD2 */
    +			AM65X_IOPAD(0x011c, PIN_OUTPUT, 2) /* (AD19) PRG1_PRU0_GPO15.PRG1_RGMII1_TD3 */
    +			AM65X_IOPAD(0x0120, PIN_INPUT, 2) /* (AD20) PRG1_PRU0_GPO16.PRG1_RGMII1_TXC */
    +			AM65X_IOPAD(0x010c, PIN_OUTPUT, 2) /* (AF21) PRG1_PRU0_GPO11.PRG1_RGMII1_TX_CTL */
    +			AM65X_IOPAD(0x00f8, PIN_INPUT, 2) /* (AF22) PRG1_PRU0_GPO6.PRG1_RGMII1_RXC */
    +			AM65X_IOPAD(0x00f0, PIN_INPUT, 2) /* (AG23) PRG1_PRU0_GPO4.PRG1_RGMII1_RX_CTL */
    +
    +			//ethercat1_pins_default
    +			AM65X_IOPAD(0x0130, PIN_INPUT, 2) /* (AH24) PRG1_PRU1_GPO0.PRG1_RGMII2_RD0 */
    +			AM65X_IOPAD(0x0134, PIN_INPUT, 2) /* (AH23) PRG1_PRU1_GPO1.PRG1_RGMII2_RD1 */
    +			AM65X_IOPAD(0x0138, PIN_INPUT, 2) /* (AG21) PRG1_PRU1_GPO2.PRG1_RGMII2_RD2 */
    +			AM65X_IOPAD(0x013c, PIN_INPUT, 2) /* (AH22) PRG1_PRU1_GPO3.PRG1_RGMII2_RD3 */
    +			AM65X_IOPAD(0x0160, PIN_OUTPUT, 2) /* (AE20) PRG1_PRU1_GPO12.PRG1_RGMII2_TD0 */
    +			AM65X_IOPAD(0x0164, PIN_OUTPUT, 2) /* (AF19) PRG1_PRU1_GPO13.PRG1_RGMII2_TD1 */
    +			AM65X_IOPAD(0x0168, PIN_OUTPUT, 2) /* (AH19) PRG1_PRU1_GPO14.PRG1_RGMII2_TD2 */
    +			AM65X_IOPAD(0x016c, PIN_OUTPUT, 2) /* (AG19) PRG1_PRU1_GPO15.PRG1_RGMII2_TD3 */
    +			AM65X_IOPAD(0x0170, PIN_INPUT, 2) /* (AE19) PRG1_PRU1_GPO16.PRG1_RGMII2_TXC */
    +			AM65X_IOPAD(0x015c, PIN_OUTPUT, 2) /* (AC20) PRG1_PRU1_GPO11.PRG1_RGMII2_TX_CTL */
    +			AM65X_IOPAD(0x0148, PIN_INPUT, 2) /* (AG22) PRG1_PRU1_GPO6.PRG1_RGMII2_RXC */
    +			AM65X_IOPAD(0x0140, PIN_INPUT, 2) /* (AE21) PRG1_PRU1_GPO4.PRG1_RGMII2_RX_CTL */
     		>;
     	};
     
    -	icssg2_mdio_pins_default: icssg2-mdio-pins-default {
    +	icssg2_mdio_pins_default: icssg2_mdio_pins_default {
     		pinctrl-single,pins = <
     			AM65X_IOPAD(0x0094, PIN_INPUT, 2) /* (AC19) PRG2_PRU0_GPO7.PRG2_MDIO0_MDIO */
     			AM65X_IOPAD(0x00c8, PIN_OUTPUT, 2) /* (AE15) PRG2_PRU1_GPO7.PRG2_MDIO0_MDC */
    @@ -322,19 +496,6 @@
     
     	icssg2_rgmii_pins_default: icssg2-rgmii-pins-default {
     		pinctrl-single,pins = <
    -			AM65X_IOPAD(0x00ac, PIN_INPUT, 2) /* (AH15) PRG2_PRU1_GPO0.PRG2_RGMII2_RD0 */
    -			AM65X_IOPAD(0x00b0, PIN_INPUT, 2) /* (AC16) PRG2_PRU1_GPO1.PRG2_RGMII2_RD1 */
    -			AM65X_IOPAD(0x00b4, PIN_INPUT, 2) /* (AD17) PRG2_PRU1_GPO2.PRG2_RGMII2_RD2 */
    -			AM65X_IOPAD(0x00b8, PIN_INPUT, 2) /* (AH14) PRG2_PRU1_GPO3.PRG2_RGMII2_RD3 */
    -			AM65X_IOPAD(0x00cc, PIN_OUTPUT, 2) /* (AD15) PRG2_PRU1_GPO8.PRG2_RGMII2_TD0 */
    -			AM65X_IOPAD(0x00d0, PIN_OUTPUT, 2) /* (AF14) PRG2_PRU1_GPO9.PRG2_RGMII2_TD1 */
    -			AM65X_IOPAD(0x00d4, PIN_OUTPUT, 2) /* (AC15) PRG2_PRU1_GPO10.PRG2_RGMII2_TD2 */
    -			AM65X_IOPAD(0x00d8, PIN_OUTPUT, 2) /* (AD14) PRG2_PRU1_GPO11.PRG2_RGMII2_TD3 */
    -			AM65X_IOPAD(0x00dc, PIN_INPUT, 2) /* (AE14) PRG2_PRU1_GPO16.PRG2_RGMII2_TXC */
    -			AM65X_IOPAD(0x00c4, PIN_OUTPUT, 2) /* (AC17) PRG2_PRU1_GPO6.PRG2_RGMII2_TX_CTL */
    -			AM65X_IOPAD(0x00c0, PIN_INPUT, 2) /* (AG15) PRG2_PRU1_GPO5.PRG2_RGMII2_RXC */
    -			AM65X_IOPAD(0x00bc, PIN_INPUT, 2) /* (AG14) PRG2_PRU1_GPO4.PRG2_RGMII2_RX_CTL */
    -
     			AM65X_IOPAD(0x0078, PIN_INPUT, 2) /* (AF18) PRG2_PRU0_GPO0.PRG2_RGMII1_RD0 */
     			AM65X_IOPAD(0x007c, PIN_INPUT, 2) /* (AE18) PRG2_PRU0_GPO1.PRG2_RGMII1_RD1 */
     			AM65X_IOPAD(0x0080, PIN_INPUT, 2) /* (AH17) PRG2_PRU0_GPO2.PRG2_RGMII1_RD2 */
    @@ -349,9 +510,64 @@
     			AM65X_IOPAD(0x0088, PIN_INPUT, 2) /* (AG17) PRG2_PRU0_GPO4.PRG2_RGMII1_RX_CTL */
     		>;
     	};
    +
    +	main_spi0_pins_default: main-spi0-pins-default {
    +		pinctrl-single,pins = <
    +			AM65X_IOPAD(0x01c4, PIN_OUTPUT, 0)  /* (AH13) GPIO1_17 */ /*SPI0-CLK*/
    +			AM65X_IOPAD(0x01c8, PIN_OUTPUT, 0)  /* (AE13) GPIO1_18 */ /*SPI0_D0*/
    +			AM65X_IOPAD(0x01cc, PIN_INPUT, 0)   /* (AD13) GPIO1_19 */ /*SPI0_D1*/
    +			AM65X_IOPAD(0x01bc, PIN_OUTPUT, 0)  /* (AG13) GPIO1_15 */ /*SPI0_CS0*/
    +			AM65X_IOPAD(0x01c0, PIN_OUTPUT, 0)  /* (AF13) GPIO1_16 */ /*SPI0_CS1*/
    +		>;
    +	};
    +
    +	myspi2_pins_default: myspi2_pins_default {
    +		pinctrl-single,pins = <
    +			AM65X_IOPAD(0x01d8, PIN_OUTPUT, 0)  /* (AH12) GPIO1_22 */ /*SPI1_CLK*/
    +			AM65X_IOPAD(0x01dc, PIN_OUTPUT, 0)  /* (AE12) GPIO1_23 */ /*SPI1_D0*/
    +			AM65X_IOPAD(0x01e0, PIN_INPUT, 0)   /* (AF12) GPIO1_24 */ /*SPI1_D1*/
    +		>;
    +	};
    +
    +	main_uart0_pins_default: main-uart0-pins-default {
    +		pinctrl-single,pins = <
    +			AM65X_IOPAD(0x01e4, PIN_INPUT, 0)   /* (AF11) GPIO1_25 */ /*UART0_RXD*/
    +			AM65X_IOPAD(0x01e8, PIN_OUTPUT, 0)  /* (AE11) GPIO1_26 */ /*UART0_TXD*/
    +		>;
    +	};
    +
    +	rs232_pins_default: rs232_pins_default {
    +		pinctrl-single,pins = <
    +			AM65X_IOPAD(0x0288, PIN_INPUT, 6)   /* (Y27) GPIO1_66 */ /*RS232-RXD*/
    +			AM65X_IOPAD(0x0260, PIN_OUTPUT, 6)  /* (W28) GPIO1_56 */ /*RS232-TXD*/
    +		>;
    +	};
    +
    +	rs485_pins_default: rs485_pins_default {
    +		pinctrl-single,pins = <
    +			AM65X_IOPAD(0x0174, PIN_INPUT, 6)   /* (AE23) GPIO0_93 */ /*RS485-RXD*/
    +			AM65X_IOPAD(0x014c, PIN_OUTPUT, 6)  /* (AD23) GPIO0_83 */ /*RS485-TXD*/
    +			AM65X_IOPAD(0x017c, PIN_OUTPUT_PULLDOWN, 7) /* (AC21) GPIO0_95 */ /*RS485-DIR*/
    +		>;
    +	};
    +
    +	usb0_pins_default: usb0_pins_default {
    +		pinctrl-single,pins = <
    +			AM65X_IOPAD(0x02bc, PIN_OUTPUT, 0) /* (AD9) GPIO1_71 */ /*USB0_DRVVBUS*/
    +		>;
    +	};
    +
    +	usb20_host_pins_default: usb20_host_pins_default {
    +		pinctrl-single,pins = <
    +			AM65X_IOPAD(0x02c0, PIN_OUTPUT, 0) /* (AC8) GPIO1_72 */ /*USB1_DRVVBUS*/
    +		>;
    +	};
     };
     
     &main_pmx1 {
    +	pinctrl-names = "default";
    +        pinctrl-0 = <&gpio2_pins_default>;
    +
     	main_i2c0_pins_default: main-i2c0-pins-default {
     		pinctrl-single,pins = <
     			AM65X_IOPAD(0x0000, PIN_INPUT, 0) /* (D20) I2C0_SCL */
    @@ -366,16 +582,24 @@
     		>;
     	};
     
    -	ecap0_pins_default: ecap0-pins-default {
    +	gpio2_pins_default: gpio2_pins_default {
     		pinctrl-single,pins = <
    -			AM65X_IOPAD(0x0010, PIN_INPUT, 0) /* (D21) ECAP0_IN_APWM_OUT */
    +			AM65X_IOPAD(0x0010, PIN_OUTPUT, 7)  /* (D21) GPIO1_86 */ /* SER-COMM-EN */
    +			AM65X_IOPAD(0x0018, PIN_INPUT, 7)   /* (B22) GPIO1_88 */ /* DDR-TP0 */
    +			AM65X_IOPAD(0x001c, PIN_INPUT, 7)   /* (C23) GPIO1_89 */ /* DDR-TP1 */
    +		>;
    +	};
    +
    +	ledgpio2_pins_default: ledgpio2_pins_default {
    +		pinctrl-single,pins = <
    +			AM65X_IOPAD(0x0014, PIN_OUTPUT, 7) /* (A22) GPIO1_87 */	/* RS485-TX-LED */
     		>;
     	};
     };
     
     &wkup_uart0 {
     	/* Wakeup UART is used by System firmware */
    -	status = "reserved";
    +	status = "disabled";
     };
     
     &main_uart0 {
    @@ -384,53 +608,51 @@
     	power-domains = <&k3_pds 146 TI_SCI_PD_SHARED>;
     };
     
    -&wkup_i2c0 {
    +//Eric+{
    +&main_uart2 {
     	pinctrl-names = "default";
    -	pinctrl-0 = <&wkup_i2c0_pins_default>;
    -	clock-frequency = <400000>;
    -
    -	pca9554: gpio@39 {
    -		compatible = "nxp,pca9554";
    -		reg = <0x39>;
    -		gpio-controller;
    -		#gpio-cells = <2>;
    -		pinctrl-names = "default";
    -		pinctrl-0 = <&wkup_pca554_default>;
    -		interrupt-parent = <&wkup_gpio0>;
    -		interrupts = <25 IRQ_TYPE_EDGE_FALLING>;
    -		interrupt-controller;
    -		#interrupt-cells = <2>;
    -	};
    +	power-domains = <&k3_pds 148 TI_SCI_PD_SHARED>;
    +	pinctrl-0 = <&rs232_pins_default>;
    +	status = "okay";
    +};
    +
    +&main_uart1 {
    +	pinctrl-names = "default";
    +	pinctrl-0 = <&rs485_pins_default>;
    +	power-domains = <&k3_pds 147 TI_SCI_PD_SHARED>;
    +	rts-gpios = <&main_gpio0 95 GPIO_ACTIVE_HIGH>;
    +	rs485-rts-active-high;
    +	rs485-rts-delay = <0 0>;
    +	linux,rs485-enabled-at-boot-time;
    +	status = "okay";
     };
    +//Eric+}
     
     &main_i2c0 {
    +	status = "okay";
    +
     	pinctrl-names = "default";
     	pinctrl-0 = <&main_i2c0_pins_default>;
    -	clock-frequency = <400000>;
    +	clock-frequency = <100000>;
     
    -	pca9555: gpio@21 {
    -		compatible = "nxp,pca9555";
    -		reg = <0x21>;
    -		gpio-controller;
    -		#gpio-cells = <2>;
    +	eeprom: eeprom@50 {
    +		compatible = "atmel,24c16";
    +		reg = <0x50>;
    +		pagesize = <16>;
     	};
     };
     
     &main_i2c1 {
    -	pinctrl-names = "default";
    -	pinctrl-0 = <&main_i2c1_pins_default>;
    -	clock-frequency = <400000>;
    -};
    +	status = "okay";
     
    -&main_i2c2 {
     	pinctrl-names = "default";
    -	pinctrl-0 = <&main_i2c2_pins_default>;
    -	clock-frequency = <400000>;
    -};
    +	pinctrl-0 = <&main_i2c1_pins_default>;
    +	clock-frequency = <100000>;
     
    -&ecap0 {
    -	pinctrl-names = "default";
    -	pinctrl-0 = <&ecap0_pins_default>;
    +	s35390a:rtc@30{
    +		compatible = "sii,s35390a";
    +		reg = <0x30>;
    +	};
     };
     
     &main_spi0 {
    @@ -451,6 +673,27 @@
     	};
     };
     
    +&main_spi1 {
    +    status = "okay";
    +	pinctrl-names = "default";
    +	pinctrl-0 = <&myspi2_pins_default>;
    +	#address-cells = <1>;
    +	#size-cells= <0>;
    +	ti,pindir-d0-out-d1-in = <1>;
    +
    +    spidev@0 {
    +        status = "okay";
    +        //compatible = "fairchild,74hc595";
    +        compatible = "linux,spidev";
    +        gpio-controller;
    +        #gpio-cells = <2>;
    +        reg = <0>;
    +        registers-number = <2>;
    +        registers-default = /bits/ 8 <0xb7>;
    +        spi-max-frequency = <100000>;
    +    };
    +};
    +
     &sdhci0 {
     	pinctrl-names = "default";
     	pinctrl-0 = <&main_mmc0_pins_default>;
    @@ -466,26 +709,52 @@
      * disable sdhci1
      */
     &sdhci1 {
    -	vmmc-supply = <&vdd_mmc1_sd>;
     	pinctrl-names = "default";
     	pinctrl-0 = <&main_mmc1_pins_default>;
     	ti,driver-strength-ohm = <50>;
     	disable-wp;
     };
     
    +&dwc3_1 {
    +	status = "okay";
    +};
    +
    +&usb1_phy {
    +	status = "okay";
    +};
    +
     &usb1 {
     	pinctrl-names = "default";
    -	pinctrl-0 = <&usb1_pins_default>;
    -	dr_mode = "otg";
    +	pinctrl-0 = <&usb20_host_pins_default>;
    +	dr_mode = "host";
     };
     
     &dwc3_0 {
    -	status = "disabled";
    +	status = "okay";
     };
     
     &usb0_phy {
    -	status = "disabled";
    +	status = "okay";
    +};
    +
    +//Eric+{
    +
    +&m_can0 {
    +	status = "okay";
    +	pinctrl-names = "default";
    +	pinctrl-0 = <&mcan0_pins_default>;
    +	//stb-gpios = <&main_gpio1 47 GPIO_ACTIVE_HIGH>;
    +	can-transceiver {
    +		max-bitrate = <5000000>;
    +	};
    +};
    +
    +&usb0 {
    +	pinctrl-names = "default";
    +	//pinctrl-0 = <&usb0_pins_default>;
    +	dr_mode = "peripheral";
     };
    +//Eric+}
     
     &tscadc0 {
     	adc {
    @@ -593,74 +862,64 @@
     	mboxes = <&mailbox0_cluster1 &mbox_mcu_r5fss0_core1>;
     };
     
    -&ospi0 {
    -	pinctrl-names = "default";
    -	pinctrl-0 = <&mcu_fss0_ospi0_pins_default>;
    -
    -	flash@0{
    -		compatible = "jedec,spi-nor";
    -		reg = <0x0>;
    -		spi-tx-bus-width = <8>;
    -		spi-rx-bus-width = <8>;
    -		spi-max-frequency = <25000000>;
    -		cdns,tshsl-ns = <60>;
    -		cdns,tsd2d-ns = <60>;
    -		cdns,tchsh-ns = <60>;
    -		cdns,tslch-ns = <60>;
    -		cdns,read-delay = <0>;
    -		#address-cells = <1>;
    -		#size-cells = <1>;
    -	};
    -};
    -
     &mcu_cpsw {
     	pinctrl-names = "default";
    -	pinctrl-0 = <&mcu_cpsw_pins_default &mcu_mdio_pins_default>;
    +	//Eric- pinctrl-0 = <&mcu_cpsw_pins_default &mcu_mdio_pins_default>;
    +	pinctrl-0 = <&phy2ax58100_pins_default &phy2ax58100_mdio2_pins_default>;
     };
     
     &davinci_mdio {
    -	phy0: ethernet-phy@0 {
    -		reg = <0>;
    -		ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
    -		ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
    +	reset = <&main_gpio0 25 GPIO_ACTIVE_LOW>;
    +	reset-delay-us = <2>;   /* PHY datasheet states 1us min */
    +
    +	phy0: ethernet-phy@3 {
    +		reg = <3>;
     	};
     };
     
     &cpsw_port1 {
    -	phy-mode = "rgmii-rxid";
    +	phy-mode = "rmii";
     	phy-handle = <&phy0>;
     };
     
    -&mcasp0 {
    -	status = "disabled";
    -};
    -
    -&mcasp1 {
    -	status = "disabled";
    -};
    +#if 1
    +&icssg1_mdio {
    +	status = "okay";
    +	pinctrl-names = "default";
    +	pinctrl-0 = <&icssg1_mdio_pins_default>;
     
    -&mcasp2 {
    -	status = "disabled";
    -};
    +	//reset = <&main_gpio0 66 GPIO_ACTIVE_LOW>; /*83867*/
    +	//reset-delay-us = <2>;
     
    -&dss {
    -	status = "disabled";
    +	icssg1_phy0: ethernet-phy@1 {
    +		reg = <1>;
    +        //reset-assert-us = <1000>;
    +        //reset-deassert-us = <1000>;
    +        //reset = <&main_gpio0 25 GPIO_ACTIVE_LOW>;
    +		ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
    +		ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
    +	};
    +#if 0
    +    icssg1_phy1: ethernet-phy@7 {
    +		reg = <7>;
    +	};
    +#endif
     };
     
    +#if 1
     &icssg2_mdio {
     	status = "okay";
     	pinctrl-names = "default";
     	pinctrl-0 = <&icssg2_mdio_pins_default>;
     
    -	icssg2_phy0: ethernet-phy@0 {
    -		reg = <0>;
    -		ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
    -		ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
    -	};
    -
    -	icssg2_phy1: ethernet-phy@3 {
    -		reg = <3>;
    +	//reset = <&main_gpio0 16 GPIO_ACTIVE_LOW>;
    +	//reset-delay-us = <2>;
    +	icssg2_phy2: ethernet-phy@2 {
    +		reg = <2>;
     		ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
     		ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
     	};
     };
    +#endif
    +#endif
    +
    diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c
    index 538232b4c..4485e3ef6 100644
    --- a/drivers/bluetooth/btusb.c
    +++ b/drivers/bluetooth/btusb.c
    @@ -436,6 +436,9 @@ static const struct usb_device_id blacklist_table[] = {
     	{ USB_DEVICE(0x0bda, 0xb009), .driver_info = BTUSB_REALTEK },
     	{ USB_DEVICE(0x2ff8, 0xb011), .driver_info = BTUSB_REALTEK },
     
    +    /* Additional Realtek 8761B Bluetooth devices Tp-Link UB500 */
    +    { USB_DEVICE(0x2357, 0x0604), .driver_info = BTUSB_REALTEK },
    +
     	/* Additional Realtek 8821AE Bluetooth devices */
     	{ USB_DEVICE(0x0b05, 0x17dc), .driver_info = BTUSB_REALTEK },
     	{ USB_DEVICE(0x13d3, 0x3414), .driver_info = BTUSB_REALTEK },
    diff --git a/drivers/net/ethernet/ti/Kconfig b/drivers/net/ethernet/ti/Kconfig
    index f66ae649b..0ef0eaab3 100644
    --- a/drivers/net/ethernet/ti/Kconfig
    +++ b/drivers/net/ethernet/ti/Kconfig
    @@ -33,6 +33,7 @@ config TI_DAVINCI_MDIO
     	tristate "TI DaVinci MDIO Support"
     	depends on ARCH_DAVINCI || ARCH_OMAP2PLUS || ARCH_KEYSTONE || ARCH_K3 || COMPILE_TEST
     	select PHYLIB
    +	select MDIO_BITBANG
     	help
     	  This driver supports TI's DaVinci MDIO module.
     
    diff --git a/drivers/net/ethernet/ti/davinci_mdio.c b/drivers/net/ethernet/ti/davinci_mdio.c
    index a4efd5e35..23f1c24cc 100644
    --- a/drivers/net/ethernet/ti/davinci_mdio.c
    +++ b/drivers/net/ethernet/ti/davinci_mdio.c
    @@ -26,6 +26,8 @@
     #include <linux/of_device.h>
     #include <linux/of_mdio.h>
     #include <linux/pinctrl/consumer.h>
    +#include <linux/mdio-bitbang.h>
    +#include <linux/sys_soc.h>
     
     /*
      * This timeout definition is a worst-case ultra defensive measure against
    @@ -41,6 +43,7 @@
     
     struct davinci_mdio_of_param {
     	int autosuspend_delay_ms;
    +	bool manual_mode;
     };
     
     struct davinci_mdio_regs {
    @@ -49,6 +52,15 @@ struct davinci_mdio_regs {
     #define CONTROL_IDLE		BIT(31)
     #define CONTROL_ENABLE		BIT(30)
     #define CONTROL_MAX_DIV		(0xffff)
    +#define CONTROL_CLKDIV		GENMASK(15, 0)
    +
    +#define MDIO_MAN_MDCLK_O	BIT(2)
    +#define MDIO_MAN_OE		BIT(1)
    +#define MDIO_MAN_PIN		BIT(0)
    +#define MDIO_MANUALMODE		BIT(31)
    +
    +#define MDIO_PIN               0
    +
     
     	u32	alive;
     	u32	link;
    @@ -59,7 +71,9 @@ struct davinci_mdio_regs {
     	u32	userintmasked;
     	u32	userintmaskset;
     	u32	userintmaskclr;
    -	u32	__reserved_1[20];
    +	u32	manualif;
    +	u32	poll;
    +	u32	__reserved_1[18];
     
     	struct {
     		u32	access;
    @@ -79,6 +93,7 @@ static const struct mdio_platform_data default_pdata = {
     
     struct davinci_mdio_data {
     	struct mdio_platform_data pdata;
    +	struct mdiobb_ctrl bb_ctrl;
     	struct davinci_mdio_regs __iomem *regs;
     	struct clk	*clk;
     	struct device	*dev;
    @@ -90,6 +105,7 @@ struct davinci_mdio_data {
     	 */
     	bool		skip_scan;
     	u32		clk_div;
    +	bool		manual_mode;
     };
     
     static void davinci_mdio_init_clk(struct davinci_mdio_data *data)
    @@ -128,9 +144,126 @@ static void davinci_mdio_enable(struct davinci_mdio_data *data)
     	writel(data->clk_div | CONTROL_ENABLE, &data->regs->control);
     }
     
    -static int davinci_mdio_reset(struct mii_bus *bus)
    +static void davinci_mdio_disable(struct davinci_mdio_data *data)
    +{
    +	u32 reg;
    +
    +	/* Disable MDIO state machine */
    +	reg = readl(&data->regs->control);
    +
    +	reg &= ~CONTROL_CLKDIV;
    +	reg |= data->clk_div;
    +
    +	reg &= ~CONTROL_ENABLE;
    +	writel(reg, &data->regs->control);
    +}
    +
    +static void davinci_mdio_enable_manual_mode(struct davinci_mdio_data *data)
    +{
    +	u32 reg;
    +	/* set manual mode */
    +	reg = readl(&data->regs->poll);
    +	reg |= MDIO_MANUALMODE;
    +	writel(reg, &data->regs->poll);
    +}
    +
    +static void davinci_set_mdc(struct mdiobb_ctrl *ctrl, int level)
    +{
    +	struct davinci_mdio_data *data;
    +	u32 reg;
    +
    +	data = container_of(ctrl, struct davinci_mdio_data, bb_ctrl);
    +	reg = readl(&data->regs->manualif);
    +
    +	if (level)
    +		reg |= MDIO_MAN_MDCLK_O;
    +	else
    +		reg &= ~MDIO_MAN_MDCLK_O;
    +
    +	writel(reg, &data->regs->manualif);
    +}
    +
    +static void davinci_set_mdio_dir(struct mdiobb_ctrl *ctrl, int output)
    +{
    +	struct davinci_mdio_data *data;
    +	u32 reg;
    +
    +	data = container_of(ctrl, struct davinci_mdio_data, bb_ctrl);
    +	reg = readl(&data->regs->manualif);
    +
    +	if (output)
    +		reg |= MDIO_MAN_OE;
    +	else
    +		reg &= ~MDIO_MAN_OE;
    +
    +	writel(reg, &data->regs->manualif);
    +}
    +
    +static void  davinci_set_mdio_data(struct mdiobb_ctrl *ctrl, int value)
    +{
    +	struct davinci_mdio_data *data;
    +	u32 reg;
    +
    +	data = container_of(ctrl, struct davinci_mdio_data, bb_ctrl);
    +	reg = readl(&data->regs->manualif);
    +
    +	if (value)
    +		reg |= MDIO_MAN_PIN;
    +	else
    +		reg &= ~MDIO_MAN_PIN;
    +
    +	writel(reg, &data->regs->manualif);
    +}
    +
    +static int davinci_get_mdio_data(struct mdiobb_ctrl *ctrl)
    +{
    +	struct davinci_mdio_data *data;
    +	unsigned long reg;
    +
    +	data = container_of(ctrl, struct davinci_mdio_data, bb_ctrl);
    +	reg = readl(&data->regs->manualif);
    +	return test_bit(MDIO_PIN, &reg);
    +}
    +
    +static int davinci_mdiobb_read(struct mii_bus *bus, int phy, int reg)
    +{
    +	int ret;
    +
    +	ret = pm_runtime_get_sync(bus->parent);
    +	if (ret < 0) {
    +		pm_runtime_put_noidle(bus->parent);
    +		return ret;
    +	}
    +
    +	ret = mdiobb_read(bus, phy, reg);
    +
    +	pm_runtime_mark_last_busy(bus->parent);
    +	pm_runtime_put_autosuspend(bus->parent);
    +
    +	return ret;
    +}
    +
    +static int davinci_mdiobb_write(struct mii_bus *bus, int phy, int reg,
    +				u16 val)
    +{
    +	int ret;
    +
    +	ret = pm_runtime_get_sync(bus->parent);
    +	if (ret < 0) {
    +		pm_runtime_put_noidle(bus->parent);
    +		return ret;
    +	}
    +
    +	ret = mdiobb_write(bus, phy, reg, val);
    +
    +	pm_runtime_mark_last_busy(bus->parent);
    +	pm_runtime_put_autosuspend(bus->parent);
    +
    +	return ret;
    +}
    +
    +static int davinci_mdio_common_reset(struct davinci_mdio_data *data)
     {
    -	struct davinci_mdio_data *data = bus->priv;
     	u32 phy_mask, ver;
     	int ret;
     
    @@ -140,6 +273,11 @@ static int davinci_mdio_reset(struct mii_bus *bus)
     		return ret;
     	}
     
    +	if (data->manual_mode) {
    +		davinci_mdio_disable(data);
    +		davinci_mdio_enable_manual_mode(data);
    +	}
    +
     	/* wait for scan logic to settle */
     	msleep(PHY_MAX_ADDR * data->access_time);
     
    @@ -173,6 +311,23 @@ static int davinci_mdio_reset(struct mii_bus *bus)
     	return 0;
     }
     
    +static int davinci_mdio_reset(struct mii_bus *bus)
    +{
    +	struct davinci_mdio_data *data = bus->priv;
    +
    +	return davinci_mdio_common_reset(data);
    +}
    +
    +static int davinci_mdiobb_reset(struct mii_bus *bus)
    +{
    +	struct mdiobb_ctrl *ctrl = bus->priv;
    +	struct davinci_mdio_data *data;
    +
    +	data = container_of(ctrl, struct davinci_mdio_data, bb_ctrl);
    +
    +	return davinci_mdio_common_reset(data);
    +}
    +
     /* wait until hardware is ready for another user access */
     static inline int wait_for_user_access(struct davinci_mdio_data *data)
     {
    @@ -226,15 +381,19 @@ static inline int wait_for_idle(struct davinci_mdio_data *data)
     static int davinci_mdio_read(struct mii_bus *bus, int phy_id, int phy_reg)
     {
     	struct davinci_mdio_data *data = bus->priv;
    -	u32 reg;
    +    u32 reg, reg_oldr=0, reg_oldw=0;
     	int ret;
     
     	if (phy_reg & ~PHY_REG_MASK || phy_id & ~PHY_ID_MASK)
    +    {
    +        printk("davinci_mdio_read phy_id=%d phy_reg=%x return EINVAL\r\n", phy_id, phy_reg);
     		return -EINVAL;
    +    }
     
     	ret = pm_runtime_get_sync(data->dev);
     	if (ret < 0) {
     		pm_runtime_put_noidle(data->dev);
    +        printk("davinci_mdio_read phy_id=%d phy_reg=%x pm_runtime_get_sync ret=%x\r\n", phy_id, phy_reg, ret);
     		return ret;
     	}
     
    @@ -246,21 +405,34 @@ static int davinci_mdio_read(struct mii_bus *bus, int phy_id, int phy_reg)
     		if (ret == -EAGAIN)
     			continue;
     		if (ret < 0)
    +        {
    +            printk("davinci_mdio_read phy_id=%d phy_reg=%x wait_for_user_access[1] ret=%x\r\n", phy_id, phy_reg, ret);
     			break;
    +        }
     
     		writel(reg, &data->regs->user[0].access);
    +        reg_oldw = reg;
     
     		ret = wait_for_user_access(data);
     		if (ret == -EAGAIN)
     			continue;
     		if (ret < 0)
    +        {
    +            printk("davinci_mdio_read phy_id=%d phy_reg=%x wait_for_user_access[2] ret=%x\r\n", phy_id, phy_reg, ret);
     			break;
    +        }
     
     		reg = readl(&data->regs->user[0].access);
    +        reg_oldr = reg;
     		ret = (reg & USERACCESS_ACK) ? (reg & USERACCESS_DATA) : -EIO;
     		break;
     	}
     
    +    if (phy_id == 1)
    +    {
    +        printk("davinci_mdio_read phy_id=%d phy_reg=%x reg_oldw=%x reg_oldr=%x reg=%x ret=%x\r\n", phy_id, phy_reg, reg_oldw, reg_oldr, reg, ret);
    +    }
    +
     	pm_runtime_mark_last_busy(data->dev);
     	pm_runtime_put_autosuspend(data->dev);
     	return ret;
    @@ -324,6 +496,28 @@ static int davinci_mdio_probe_dt(struct mdio_platform_data *data,
     	return 0;
     }
     
    +struct k3_mdio_soc_data {
    +	bool manual_mode;
    +};
    +
    +static const struct k3_mdio_soc_data am65_mdio_soc_data = {
    +	.manual_mode = true,
    +};
    +
    +static const struct soc_device_attribute k3_mdio_socinfo[] = {
    +	{ .family = "AM62X", .revision = "SR1.0", .data = &am65_mdio_soc_data },
    +	{ .family = "AM64X", .revision = "SR1.0", .data = &am65_mdio_soc_data },
    +	{ .family = "AM64X", .revision = "SR2.0", .data = &am65_mdio_soc_data },
    +	{ .family = "AM65X", .revision = "SR1.0", .data = &am65_mdio_soc_data },
    +	{ .family = "AM65X", .revision = "SR2.0", .data = &am65_mdio_soc_data },
    +	{ .family = "J7200", .revision = "SR1.0", .data = &am65_mdio_soc_data },
    +	{ .family = "J7200", .revision = "SR2.0", .data = &am65_mdio_soc_data },
    +	{ .family = "J721E", .revision = "SR1.0", .data = &am65_mdio_soc_data },
    +	{ .family = "J721E", .revision = "SR2.0", .data = &am65_mdio_soc_data },
    +	{ .family = "J721S2", .revision = "SR1.0", .data = &am65_mdio_soc_data},
    +	{ /* sentinel */ },
    +};
    +
     #if IS_ENABLED(CONFIG_OF)
     static const struct davinci_mdio_of_param of_cpsw_mdio_data = {
     	.autosuspend_delay_ms = 100,
    @@ -337,6 +531,14 @@ static const struct of_device_id davinci_mdio_of_mtable[] = {
     MODULE_DEVICE_TABLE(of, davinci_mdio_of_mtable);
     #endif
     
    +static const struct mdiobb_ops davinci_mdiobb_ops = {
    +	.owner = THIS_MODULE,
    +	.set_mdc = davinci_set_mdc,
    +	.set_mdio_dir = davinci_set_mdio_dir,
    +	.set_mdio_data = davinci_set_mdio_data,
    +	.get_mdio_data = davinci_get_mdio_data,
    +};
    +
     static int davinci_mdio_probe(struct platform_device *pdev)
     {
     	struct mdio_platform_data *pdata = dev_get_platdata(&pdev->dev);
    @@ -351,7 +553,26 @@ static int davinci_mdio_probe(struct platform_device *pdev)
     	if (!data)
     		return -ENOMEM;
     
    -	data->bus = devm_mdiobus_alloc(dev);
    +	data->manual_mode = false;
    +	data->bb_ctrl.ops = &davinci_mdiobb_ops;
    +
    +	if (IS_ENABLED(CONFIG_OF) && dev->of_node) {
    +		const struct soc_device_attribute *soc_match_data;
    +
    +		soc_match_data = soc_device_match(k3_mdio_socinfo);
    +		if (soc_match_data && soc_match_data->data) {
    +			const struct k3_mdio_soc_data *socdata =
    +						soc_match_data->data;
    +
    +			data->manual_mode = socdata->manual_mode;
    +		}
    +	}
    +
    +	if (data->manual_mode)
    +		data->bus = alloc_mdio_bitbang(&data->bb_ctrl);
    +	else
    +		data->bus = devm_mdiobus_alloc(dev);
    +
     	if (!data->bus) {
     		dev_err(dev, "failed to alloc mii bus\n");
     		return -ENOMEM;
    @@ -377,11 +598,20 @@ static int davinci_mdio_probe(struct platform_device *pdev)
     	}
     
     	data->bus->name		= dev_name(dev);
    -	data->bus->read		= davinci_mdio_read;
    -	data->bus->write	= davinci_mdio_write;
    -	data->bus->reset	= davinci_mdio_reset;
    +
    +	if (data->manual_mode) {
    +		data->bus->read		= davinci_mdiobb_read;
    +		data->bus->write	= davinci_mdiobb_write;
    +		data->bus->reset	= davinci_mdiobb_reset;
    +
    +		dev_info(dev, "Configuring MDIO in manual mode\n");
    +	} else {
    +		data->bus->read		= davinci_mdio_read;
    +		data->bus->write	= davinci_mdio_write;
    +		data->bus->reset	= davinci_mdio_reset;
    +		data->bus->priv		= data;
    +	}
     	data->bus->parent	= dev;
    -	data->bus->priv		= data;
     
     	data->clk = devm_clk_get(dev, "fck");
     	if (IS_ERR(data->clk)) {
    @@ -439,9 +669,13 @@ static int davinci_mdio_remove(struct platform_device *pdev)
     {
     	struct davinci_mdio_data *data = platform_get_drvdata(pdev);
     
    -	if (data->bus)
    +	if (data->bus) {
     		mdiobus_unregister(data->bus);
     
    +		if (data->manual_mode)
    +			free_mdio_bitbang(data->bus);
    +	}
    +
     	pm_runtime_dont_use_autosuspend(&pdev->dev);
     	pm_runtime_disable(&pdev->dev);
     
    @@ -458,7 +692,9 @@ static int davinci_mdio_runtime_suspend(struct device *dev)
     	ctrl = readl(&data->regs->control);
     	ctrl &= ~CONTROL_ENABLE;
     	writel(ctrl, &data->regs->control);
    -	wait_for_idle(data);
    +
    +	if (!data->manual_mode)
    +		wait_for_idle(data);
     
     	return 0;
     }
    @@ -467,7 +703,12 @@ static int davinci_mdio_runtime_resume(struct device *dev)
     {
     	struct davinci_mdio_data *data = dev_get_drvdata(dev);
     
    -	davinci_mdio_enable(data);
    +	if (data->manual_mode) {
    +		davinci_mdio_disable(data);
    +		davinci_mdio_enable_manual_mode(data);
    +	} else {
    +		davinci_mdio_enable(data);
    +	}
     	return 0;
     }
     #endif
    diff --git a/drivers/net/mdio/mdio-bitbang.c b/drivers/net/mdio/mdio-bitbang.c
    index 5136275c8..d3915f831 100644
    --- a/drivers/net/mdio/mdio-bitbang.c
    +++ b/drivers/net/mdio/mdio-bitbang.c
    @@ -149,7 +149,7 @@ static int mdiobb_cmd_addr(struct mdiobb_ctrl *ctrl, int phy, u32 addr)
     	return dev_addr;
     }
     
    -static int mdiobb_read(struct mii_bus *bus, int phy, int reg)
    +int mdiobb_read(struct mii_bus *bus, int phy, int reg)
     {
     	struct mdiobb_ctrl *ctrl = bus->priv;
     	int ret, i;
    @@ -180,8 +180,9 @@ static int mdiobb_read(struct mii_bus *bus, int phy, int reg)
     	mdiobb_get_bit(ctrl);
     	return ret;
     }
    +EXPORT_SYMBOL(mdiobb_read);
     
    -static int mdiobb_write(struct mii_bus *bus, int phy, int reg, u16 val)
    +int mdiobb_write(struct mii_bus *bus, int phy, int reg, u16 val)
     {
     	struct mdiobb_ctrl *ctrl = bus->priv;
     
    @@ -201,6 +202,7 @@ static int mdiobb_write(struct mii_bus *bus, int phy, int reg, u16 val)
     	mdiobb_get_bit(ctrl);
     	return 0;
     }
    +EXPORT_SYMBOL(mdiobb_write);
     
     struct mii_bus *alloc_mdio_bitbang(struct mdiobb_ctrl *ctrl)
     {
    diff --git a/drivers/net/phy/phy_device.c b/drivers/net/phy/phy_device.c
    index d2f6d8107..12eb12c91 100644
    --- a/drivers/net/phy/phy_device.c
    +++ b/drivers/net/phy/phy_device.c
    @@ -2192,7 +2192,10 @@ int genphy_update_link(struct phy_device *phydev)
     
     	bmcr = phy_read(phydev, MII_BMCR);
     	if (bmcr < 0)
    +    {
    +        printk("genphy_update_link phy_read addr=%d MII_BMCR = 0x%x\r\n", phydev->mdio.addr, bmcr);
     		return bmcr;
    +    }
     
     	/* Autoneg is being started, therefore disregard BMSR value and
     	 * report link as down.
    @@ -2208,7 +2211,10 @@ int genphy_update_link(struct phy_device *phydev)
     	if (!phy_polling_mode(phydev) || !phydev->link) {
     		status = phy_read(phydev, MII_BMSR);
     		if (status < 0)
    +        {
    +            printk("genphy_update_link phy_read addr=%d MII_BMSR = 0x%x\r\n", phydev->mdio.addr, status);
     			return status;
    +        }
     		else if (status & BMSR_LSTATUS)
     			goto done;
     	}
    @@ -2216,7 +2222,10 @@ int genphy_update_link(struct phy_device *phydev)
     	/* Read link and autonegotiation status */
     	status = phy_read(phydev, MII_BMSR);
     	if (status < 0)
    +    {
    +        printk("genphy_update_link phy_read addr=%dMII_BMSR[2] = 0x%x\r\n", phydev->mdio.addr, status);
     		return status;
    +    }
     done:
     	phydev->link = status & BMSR_LSTATUS ? 1 : 0;
     	phydev->autoneg_complete = status & BMSR_ANEGCOMPLETE ? 1 : 0;
    diff --git a/include/linux/mdio-bitbang.h b/include/linux/mdio-bitbang.h
    index 5d71e8a85..aca4dc037 100644
    --- a/include/linux/mdio-bitbang.h
    +++ b/include/linux/mdio-bitbang.h
    @@ -35,6 +35,9 @@ struct mdiobb_ctrl {
     	const struct mdiobb_ops *ops;
     };
     
    +int mdiobb_read(struct mii_bus *bus, int phy, int reg);
    +int mdiobb_write(struct mii_bus *bus, int phy, int reg, u16 val);
    +
     /* The returned bus is not yet registered with the phy layer. */
     struct mii_bus *alloc_mdio_bitbang(struct mdiobb_ctrl *ctrl);
     
    

    Eric

  • Hi Eric,

    Issue is most probably in Device tree.

    I'm going through the file. I'll get back to you asap.

    Thanks and Regards,

    Rimika

  • Hi Eric,

    Can you share with me the dts file where the changes are being made to.

    Thanks and Regards,

    Rimika

  • Hi ,

     I provide the dts file to you as attached.

    // SPDX-License-Identifier: GPL-2.0
    /*
     * Copyright (C) 2016-2020 Texas Instruments Incorporated - https://www.ti.com/
     */
    
    /dts-v1/;
    
    #include "k3-am654.dtsi"
    #include <dt-bindings/input/input.h>
    #include <dt-bindings/net/ti-dp83867.h>
    
    / {
    	compatible =  "ti,am654-evm", "ti,am654";
    	model = "Texas Instruments AM654 Base Board";
    
    	aliases {
    		ethernet1 = &icssg1_emac0;
    		//ethernet2 = &icssg1_emac1; //EtherCAT port 1
    		ethernet2 = &icssg2_emac0;
    	};
    
    	chosen {
    		stdout-path = "serial2:115200n8";
    		bootargs = "earlycon=ns16550a,mmio32,0x02800000";
    	};
    
    	memory@80000000 {
    		device_type = "memory";
    
    		/* 1G RAM */
    		reg = <0x00000000 0x80000000 0x00000000 0x40000000>;
    	};
    
    	reserved-memory {
    		#address-cells = <2>;
    		#size-cells = <2>;
    		ranges;
    
    		secure_ddr: secure-ddr@9e800000 {
    			reg = <0 0x9e800000 0 0x01800000>; /* for OP-TEE */
    			alignment = <0x1000>;
    			no-map;
    		};
    
    		mcu_r5fss0_core0_dma_memory_region: r5f-dma-memory@a0000000 {
    			compatible = "shared-dma-pool";
    			reg = <0 0xa0000000 0 0x100000>;
    			no-map;
    		};
    
    		mcu_r5fss0_core0_memory_region: r5f-memory@a0100000 {
    			compatible = "shared-dma-pool";
    			reg = <0 0xa0100000 0 0xf00000>;
    			no-map;
    		};
    
    		mcu_r5fss0_core1_dma_memory_region: r5f-dma-memory@a1000000 {
    			compatible = "shared-dma-pool";
    			reg = <0 0xa1000000 0 0x100000>;
    			no-map;
    		};
    
    		mcu_r5fss0_core1_memory_region: r5f-memory@a1100000 {
    			compatible = "shared-dma-pool";
    			reg = <0 0xa1100000 0 0xf00000>;
    			no-map;
    		};
    
    		rtos_ipc_memory_region: ipc-memories@a2000000 {
    			reg = <0x00 0xa2000000 0x00 0x00200000>;
    			alignment = <0x1000>;
    			no-map;
    		};
    	};
    
    	eeprom_gpio: eeprom_gpio {
    		compatible = "eeprom-gpio";
    		eeprom-gpio = <&wkup_gpio0 7 GPIO_ACTIVE_HIGH>;
    	};
    
    	clk_ov5640_fixed: fixed-clock-ov5640 {
    		compatible = "fixed-clock";
    		#clock-cells = <0>;
    		clock-frequency = <24000000>;
    	};
    
    	leds {
    		pinctrl-names = "default";
    		pinctrl-0 = <&ledgpio0_pins_default &ledgpio1_pins_default &ledgpio2_pins_default>;
    
    		compatible = "gpio-leds";
    
    		led1 {
    			label = "LED-RUN";
    			gpios = <&main_gpio0 27 GPIO_ACTIVE_LOW>;
    		};
    
    		led2 {
    			label = "LED-ERR";
    			gpios = <&main_gpio1 70 GPIO_ACTIVE_HIGH>;
    		};
    
    		led3 {
    			label = "LED-BUS";
    			gpios = <&main_gpio1 48 GPIO_ACTIVE_HIGH>;
    		};
    
    		led4 {
    			label = "LED-232TX";
    			gpios = <&main_gpio1 21 GPIO_ACTIVE_HIGH>;
    		};
    
    		led5 {
    			label = "LED-232RX";
    			gpios = <&main_gpio1 45 GPIO_ACTIVE_HIGH>;
    		};
    
    		led6 {
    			label = "LED-485TX";
    			gpios = <&main_gpio1 87 GPIO_ACTIVE_HIGH>;
    		};
    
    		led7 {
    			label = "LED-485RX";
    			gpios = <&main_gpio1 46 GPIO_ACTIVE_HIGH>;
    		};
    
    		led8 {
    			label = "LED-SD";
    			gpios = <&main_gpio1 47 GPIO_ACTIVE_HIGH>;
    		};
    	};
    
    #if 1
        /* Dual Ethernet application node on PRU-ICSSG1 */
    		icssg1_eth: icssg1-eth {
    			compatible = "ti,am654-icssg-prueth";
    			pinctrl-names = "default";
    		    pinctrl-0 = <&icssg1_rgmii_pins_default>;
    			sram = <&msmc_ram>;
    			ti,prus = <&pru1_0>, <&rtu1_0>, <&tx_pru1_0>, <&pru1_1>, <&rtu1_1>, <&tx_pru1_1>;
    			firmware-name = "ti-pruss/am65x-sr2-pru0-prueth-fw.elf",
    					"ti-pruss/am65x-sr2-rtu0-prueth-fw.elf",
    					"ti-pruss/am65x-sr2-txpru0-prueth-fw.elf",
    					"ti-pruss/am65x-sr2-pru1-prueth-fw.elf",
    					"ti-pruss/am65x-sr2-rtu1-prueth-fw.elf",
    					"ti-pruss/am65x-sr2-txpru1-prueth-fw.elf";
    
    			ti,pruss-gp-mux-sel = <2>,	/* MII mode */
    					      <2>,
    					      <2>,
    					      <2>,	/* MII mode */
    					      <2>,
    					      <2>;
    
    			mii-g-rt = <&icssg1_mii_g_rt>;
    			mii-rt = <&icssg1_mii_rt>;
    			iep = <&icssg1_iep0>,  <&icssg1_iep1>;
    
    			interrupt-parent = <&icssg1_intc>;
    			interrupts = <24 0 2>, <25 1 3>;
    
    			interrupt-names = "tx_ts0", "tx_ts1";
    
    			dmas = <&main_udmap 0xc200>, /* egress slice 0 */
    			       <&main_udmap 0xc201>, /* egress slice 0 */
    			       <&main_udmap 0xc202>, /* egress slice 0 */
    			       <&main_udmap 0xc203>, /* egress slice 0 */
    			       <&main_udmap 0xc204>, /* egress slice 1 */
    			       <&main_udmap 0xc205>, /* egress slice 1 */
    			       <&main_udmap 0xc206>, /* egress slice 1 */
    			       <&main_udmap 0xc207>, /* egress slice 1 */
    
    			       <&main_udmap 0x4200>, /* ingress slice 0 */
    			       <&main_udmap 0x4201>, /* ingress slice 1 */
    			       <&main_udmap 0x4202>, /* mgmnt rsp slice 0 */
    			       <&main_udmap 0x4203>; /* mgmnt rsp slice 1 */
    			dma-names = "tx0-0", "tx0-1", "tx0-2", "tx0-3",
    				    "tx1-0", "tx1-1", "tx1-2", "tx1-3",
    				    "rx0", "rx1",
    				    "rxmgm0", "rxmgm1";
    
    			icssg1_emac0: ethernet-mii0 {
    				phy-handle = <&icssg1_phy0>;
    				phy-mode = "rgmii-rxid";
    				syscon-rgmii-delay = <&scm_conf 0x4110>;
    				/* Filled in by bootloader */
    				local-mac-address = [00 00 00 00 00 00];
                    //ti,half-duplex-capable;
    			};
    #if 0
                icssg1_emac1: ethernet-mii1 {
    				phy-handle = <&icssg1_phy1>;
    				phy-mode = "rgmii-rxid";
    				syscon-rgmii-delay = <&scm_conf 0x4114>;
    				/* Filled in by bootloader */
    				local-mac-address = [00 00 00 00 00 00];
                    //ti,half-duplex-capable;
    			};
    #endif
    		};
    #if 1
    	/* Single Ethernet application node on PRU-ICSSG2 */
    	icssg2_eth: icssg2-eth {
    		compatible = "ti,am654-icssg-prueth";
    		pinctrl-names = "default";
    		pinctrl-0 = <&icssg2_rgmii_pins_default>;
    		sram = <&msmc_ram>;
    		ti,prus = <&pru2_0>, <&rtu2_0>, <&tx_pru2_0>,
    			<&pru2_1>, <&rtu2_1>, <&tx_pru2_1>;
    		firmware-name = "ti-pruss/am65x-sr2-pru0-prueth-fw.elf",
    				"ti-pruss/am65x-sr2-rtu0-prueth-fw.elf",
    				"ti-pruss/am65x-sr2-txpru0-prueth-fw.elf",
    				"ti-pruss/am65x-sr2-pru1-prueth-fw.elf",
    				"ti-pruss/am65x-sr2-rtu1-prueth-fw.elf",
    				"ti-pruss/am65x-sr2-txpru1-prueth-fw.elf";
    
    		ti,pruss-gp-mux-sel = <2>,      /* MII mode */
    				      <2>,
    				      <2>,
    				      <2>,	/* MII mode */
    				      <2>,
    				      <2>;
    
    		mii-g-rt = <&icssg2_mii_g_rt>;
    		mii-rt = <&icssg2_mii_rt>;
    		iep = <&icssg2_iep0>,  <&icssg2_iep1>;
    
    		interrupt-parent = <&icssg2_intc>;
    		interrupts = <24 0 2>, <25 1 3>;
    		interrupt-names = "tx_ts0", "tx_ts1";
    
    		dmas = <&main_udmap 0xc300>, /* egress slice 0 */
    		       <&main_udmap 0xc301>, /* egress slice 0 */
    		       <&main_udmap 0xc302>, /* egress slice 0 */
    		       <&main_udmap 0xc303>, /* egress slice 0 */
    		       <&main_udmap 0xc304>, /* egress slice 1 */
    		       <&main_udmap 0xc305>, /* egress slice 1 */
    		       <&main_udmap 0xc306>, /* egress slice 1 */
    		       <&main_udmap 0xc307>, /* egress slice 1 */
    
    		       <&main_udmap 0x4300>, /* ingress slice 0 */
    		       <&main_udmap 0x4301>, /* ingress slice 1 */
    		       <&main_udmap 0x4302>, /* mgmnt rsp slice 0 */
    		       <&main_udmap 0x4303>; /* mgmnt rsp slice 1 */
    		dma-names = "tx0-0", "tx0-1", "tx0-2", "tx0-3",
    			    "tx1-0", "tx1-1", "tx1-2", "tx1-3",
    			    "rx0", "rx1",
    			    "rxmgm0", "rxmgm1";
    
    		icssg2_emac0: ethernet-mii0 {
    			phy-handle = <&icssg2_phy2>;
    			phy-mode = "rgmii-rxid";
    			syscon-rgmii-delay = <&scm_conf 0x4120>;
    			/* Filled in by bootloader */
    			local-mac-address = [00 00 00 00 00 00];
    		};
    	};
    #endif
    #endif
    
    };
    
    &wkup_pmx0 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&eepromgpio_pins_default &iovolctrl_pins_default &i2c0switch_pins_default>;
    
    	phy2ax58100_pins_default: phy2ax58100_pins_default {
    		pinctrl-single,pins = <
    			AM65X_WKUP_IOPAD(0x0058, PIN_INPUT, 1) /* (N4) MCU_RGMII1_TX_CTL.MCU_RMII1_CRS_DV */
    			AM65X_WKUP_IOPAD(0x005c, PIN_INPUT, 1) /* (N5) MCU_RGMII1_RX_CTL.MCU_RMII1_RX_ER */
    			AM65X_WKUP_IOPAD(0x0068, PIN_OUTPUT, 1) /* (M4) MCU_RGMII1_TD1.MCU_RMII1_TXD1 */
    			AM65X_WKUP_IOPAD(0x006c, PIN_OUTPUT, 1) /* (M5) MCU_RGMII1_TD0.MCU_RMII1_TXD0 */
    			AM65X_WKUP_IOPAD(0x0080, PIN_INPUT, 1) /* (M6) MCU_RGMII1_RD1.MCU_RMII1_RXD1 */
    			AM65X_WKUP_IOPAD(0x0084, PIN_INPUT, 1) /* (L6) MCU_RGMII1_RD0.MCU_RMII1_RXD0 */
    			AM65X_WKUP_IOPAD(0x0070, PIN_OUTPUT, 1) /* (N1) MCU_RGMII1_TXC.MCU_RMII1_TX_EN */
    			AM65X_WKUP_IOPAD(0x0074, PIN_INPUT, 1) /* (M1) MCU_RGMII1_RXC.MCU_RMII1_REF_CLK */
    		>;
    	};
    
    	mcan0_pins_default: mcan0_pins_default {
    		pinctrl-single,pins = <
    			AM65X_WKUP_IOPAD(0x00ac, PIN_INPUT, 0) /* (W2) MCU_MCAN0_RX */
    			AM65X_WKUP_IOPAD(0x00a8, PIN_OUTPUT, 0) /* (W1) MCU_MCAN0_TX */
    		>;
    	};
    
    	phy2ax58100_mdio2_pins_default: phy2ax58100_mdio2_pins_default {
    		pinctrl-single,pins = <
    			AM65X_WKUP_IOPAD(0x008c, PIN_OUTPUT, 0) /* (L1) MCU_MDIO0_MDC */
    			AM65X_WKUP_IOPAD(0x0088, PIN_INPUT, 0) /* (L4) MCU_MDIO0_MDIO */
    		>;
    	};
    
    	eepromgpio_pins_default: eepromgpio_pins_default {
    		pinctrl-single,pins = <
    			AM65X_WKUP_IOPAD(0x00cc, PIN_INPUT, 7) /* (AC1) WKUP_GPIO0_7 */
    		>;
    	};
    
    	iovolctrl_pins_default: iovolctrl_pins_default {
    		pinctrl-single,pins = <
    			AM65X_WKUP_IOPAD(0x00c8, PIN_OUTPUT, 7) /* (AC2) WKUP_GPIO0_6 */
    		>;
    	};
    
    	i2c0switch_pins_default: i2c0switch_pins_default {
    		pinctrl-single,pins = <
    			AM65X_WKUP_IOPAD(0x00D8, PIN_OUTPUT, 7) /* (AB3) WKUP_GPIO0_10 */
    		>;
    	};
    };
    
    &main_pmx0 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&gpio0_pins_default &gpio1_pins_default>;
    
    	gpio1_pins_default: gpio1_pins_default {
    		pinctrl-single,pins = <
    			AM65X_IOPAD(0x01ec, PIN_OUTPUT, 7)  /* (AG11) GPIO1_27 */ /*Latch*/
    			AM65X_IOPAD(0x01f0, PIN_INPUT, 7)   /* (AD11) GPIO1_28 */ /*/DO-FAULT*/
    			AM65X_IOPAD(0x01f4, PIN_INPUT, 1)   /* (V24) PRG0_PRU0_GPO0.GPIO1_29 */
    			AM65X_IOPAD(0x01f8, PIN_INPUT, 1)   /* (W25) PRG0_PRU0_GPO1.GPIO1_30 */
    			AM65X_IOPAD(0x01fc, PIN_INPUT, 1)   /* (W24) PRG0_PRU0_GPO2.GPIO1_31 */
    			AM65X_IOPAD(0x0200, PIN_INPUT, 1)   /* (AA27) PRG0_PRU0_GPO3.GPIO1_32 */
    			AM65X_IOPAD(0x0204, PIN_INPUT, 1)   /* (Y24) PRG0_PRU0_GPO4.GPIO1_33 */
    			AM65X_IOPAD(0x0208, PIN_INPUT, 1)   /* (V28) PRG0_PRU0_GPO5.GPIO1_34 */
    			AM65X_IOPAD(0x020c, PIN_INPUT, 1)   /* (Y25) PRG0_PRU0_GPO6.GPIO1_35 */
    			AM65X_IOPAD(0x0210, PIN_INPUT, 1)   /* (U27) PRG0_PRU0_GPO7.GPIO1_36 */
    			AM65X_IOPAD(0x0214, PIN_INPUT, 7)   /* (V27) PRG0_PRU0_GPO8.GPIO1_37 */
    			AM65X_IOPAD(0x0218, PIN_INPUT, 7)   /* (V26) PRG0_PRU0_GPO9.GPIO1_38 */
    			AM65X_IOPAD(0x021c, PIN_INPUT, 7)   /* (U25) PRG0_PRU0_GPO10.GPIO1_39 */
    			AM65X_IOPAD(0x0220, PIN_INPUT, 7)   /* (AB25) PRG0_PRU0_GPO11.GPIO1_40 */
    			AM65X_IOPAD(0x0224, PIN_INPUT, 7)   /* (AD27) PRG0_PRU0_GPO12.GPIO1_41 */
    			AM65X_IOPAD(0x0228, PIN_INPUT, 7)   /* (AC26) PRG0_PRU0_GPO13.GPIO1_42 */
    			AM65X_IOPAD(0x022c, PIN_INPUT, 7)   /* (AD26) PRG0_PRU0_GPO14.GPIO1_43 */
    			AM65X_IOPAD(0x0230, PIN_INPUT, 7)   /* (AA24) PRG0_PRU0_GPO15.GPIO1_44 */
    			AM65X_IOPAD(0x0244, PIN_OUTPUT_PULLDOWN, 7) /* (AB28) PRG0_PRU1_GPO0.GPIO1_49 */ /*****************************************************************************/
    			AM65X_IOPAD(0x0248, PIN_OUTPUT_PULLDOWN, 7) /* (AC28) PRG0_PRU1_GPO1.GPIO1_50 */ /*We set the mode as 7 due to PRU cannot control default status of output pin*/
    			AM65X_IOPAD(0x024c, PIN_OUTPUT_PULLDOWN, 7) /* (AC27) PRG0_PRU1_GPO2.GPIO1_51 */ /*And we set the mode back to 0 using memdev2 after PRU init*/
    			AM65X_IOPAD(0x0250, PIN_OUTPUT_PULLDOWN, 7) /* (AB26) PRG0_PRU1_GPO3.GPIO1_52 */ /*****************************************************************************/
    			AM65X_IOPAD(0x0254, PIN_INPUT, 1)   /* (AA25) PRG0_PRU1_GPI4.GPIO1_53 */ /*HS_PRU0_LV*/
    			AM65X_IOPAD(0x0258, PIN_OUTPUT_PULLDOWN, 7) /* (U23) PRG0_PRU1_GPI4.GPIO1_54 */ /*HS_PRU0_IRQ*/
    			AM65X_IOPAD(0x0284, PIN_INPUT, 7)   /* (AC24) PRG0_PRU1_GPO16.GPIO1_65 */
    			AM65X_IOPAD(0x028c, PIN_INPUT, 7)   /* (Y26) PRG0_PRU1_GPO18.GPIO1_67 */
    			AM65X_IOPAD(0x0290, PIN_INPUT, 7)   /* (W26) PRG0_PRU1_GPO19.GPIO1_68 */
    			AM65X_IOPAD(0x0294, PIN_INPUT, 7)   /* (AE26) PRG0_MDIO0_MDIO.GPIO1_69 */
    			AM65X_IOPAD(0x01d0, PIN_OUTPUT_PULLDOWN, 7) /* (AD12) GPIO1_20 */ /*SEL-OUT*/
    		>;
    	};
    
    	ledgpio1_pins_default: ledgpio1_pins_default {
    		pinctrl-single,pins = <
    			AM65X_IOPAD(0x01d4, PIN_OUTPUT, 7)  /* (AG12) GPIO1_21 */ /* RS232-TX-LED */
    			AM65X_IOPAD(0x0234, PIN_OUTPUT, 7)  /* (AD28) GPIO1_45 */ /* RS232-RX-LED */
    			AM65X_IOPAD(0x0238, PIN_OUTPUT, 7)  /* (U26) GPIO1_46 */ /* RS485-RX-LED */
    			AM65X_IOPAD(0x023c, PIN_OUTPUT, 7)  /* (V25) GPIO1_47 */ /* SD-CARD-READY-LED */
    			AM65X_IOPAD(0x0240, PIN_OUTPUT, 7)  /* (U24) GPIO1_48 */ /* BUSFAULT-LED */
    			AM65X_IOPAD(0x0298, PIN_OUTPUT, 7)  /* (AE28) GPIO1_70 */ /* ERROR-LED */
    		>;
    	};
    
    	gpio0_pins_default: gpio0_pins_default {
    		pinctrl-single,pins = <
    			AM65X_IOPAD(0x0040, PIN_OUTPUT, 7)  /* (R28) GPIO0_16 */ /*ETH1-PHY-RESET*/
    			AM65X_IOPAD(0x0058, PIN_INPUT, 7)   /* (R26) GPIO0_22 */ /*RUN/STOP SW*/
    			AM65X_IOPAD(0x0060, PIN_OUTPUT, 7)  /* (T25) GPIO0_24 */ /*/AX58100-RST*/
    			AM65X_IOPAD(0x0064, PIN_OUTPUT, 7)  /* (T24) GPIO0_25 */ /*/AX58100-PYH-RST*/
    			AM65X_IOPAD(0x0068, PIN_OUTPUT, 7)  /* (R24) GPIO0_26 */ /*CAN-TERM*/
    			AM65X_IOPAD(0x0070, PIN_OUTPUT, 7)  /* (R25) GPIO0_28 */ /*GPIO-eMMC-RST*/
    			AM65X_IOPAD(0x0074, PIN_INPUT, 7)   /* (T27) GPIO0_29 */ /*/24V-LV*/
    			AM65X_IOPAD(0x00ac, PIN_INPUT, 1)   /* (AH15) PRG2_PRU1_GPO0.GPIO0_43 */
    			AM65X_IOPAD(0x00b0, PIN_INPUT, 1)   /* (AC16) PRG2_PRU1_GPO1.GPIO0_44 */
    			AM65X_IOPAD(0x00b4, PIN_INPUT, 1)   /* (AD17) PRG2_PRU1_GPO2.GPIO0_45 */
    			AM65X_IOPAD(0x00b8, PIN_INPUT, 1)   /* (AH14) PRG2_PRU1_GPO3.GPIO0_46 */
    			AM65X_IOPAD(0x00d8, PIN_INPUT, 1)   /* (AD14) PRG2_PRU1_GPO16.GPIO0_55 */ /*HS_PRU2_LV*/
    			AM65X_IOPAD(0x00f4, PIN_INPUT, 7)   /* (AF27) GPIO0_61 */ /*PRU-IRQ*/
    			AM65X_IOPAD(0x0108, PIN_OUTPUT, 7)  /* (AH25) GPIO0_66 */ /*ETH0-PHY-RESET*/
    			AM65X_IOPAD(0x0124, PIN_OUTPUT, 7)  /* (AH26) GPIO0_73 */ /*ECAT2-PHY-RST*/
    		>;
    	};
    
    	ledgpio0_pins_default: ledgpio0_pins_default {
    		pinctrl-single,pins = <
    			AM65X_IOPAD(0x006c, PIN_OUTPUT | PIN_INPUT, 7) /* (T23) GPIO0_27 */ /* RUN-LED */
    		>;
    	};
    
    #if 0
    	mygpmc3_pins_default: mygpmc3_pins_default {
    		pinctrl-single,pins = <
    			AM65X_IOPAD(0x00bc, PIN_OUTPUT, 3) /* (AG14) PRG2_PRU1_GPO4.GPMC0_A8 */
    			AM65X_IOPAD(0x00c0, PIN_OUTPUT, 3) /* (AG15) PRG2_PRU1_GPO5.GPMC0_A7 */
    			AM65X_IOPAD(0x00c4, PIN_OUTPUT, 3) /* (AC17) PRG2_PRU1_GPO6.GPMC0_A6 */
    			AM65X_IOPAD(0x00cc, PIN_OUTPUT, 3) /* (AD15) PRG2_PRU1_GPO8.GPMC0_A4 */
    			AM65X_IOPAD(0x00d0, PIN_OUTPUT, 3) /* (AF14) PRG2_PRU1_GPO9.GPMC0_A3 */
    			AM65X_IOPAD(0x00d4, PIN_OUTPUT, 3) /* (AC15) PRG2_PRU1_GPO10.GPMC0_A2 */
    			AM65X_IOPAD(0x00d8, PIN_OUTPUT, 3) /* (AD14) PRG2_PRU1_GPO11.GPMC0_A1 */
    			AM65X_IOPAD(0x003c, PIN_INPUT, 0) /* (R27) GPMC0_AD15 */
    			AM65X_IOPAD(0x0038, PIN_INPUT, 0) /* (P24) GPMC0_AD14 */
    			AM65X_IOPAD(0x0034, PIN_INPUT, 0) /* (N25) GPMC0_AD13 */
    			AM65X_IOPAD(0x0030, PIN_INPUT, 0) /* (N26) GPMC0_AD12 */
    			AM65X_IOPAD(0x002c, PIN_INPUT, 0) /* (P27) GPMC0_AD11 */
    			AM65X_IOPAD(0x0028, PIN_INPUT, 0) /* (P28) GPMC0_AD10 */
    			AM65X_IOPAD(0x0024, PIN_INPUT, 0) /* (M26) GPMC0_AD9 */
    			AM65X_IOPAD(0x0020, PIN_INPUT, 0) /* (N23) GPMC0_AD8 */
    			AM65X_IOPAD(0x001c, PIN_INPUT, 0) /* (M25) GPMC0_AD7 */
    			AM65X_IOPAD(0x0018, PIN_INPUT, 0) /* (N28) GPMC0_AD6 */
    			AM65X_IOPAD(0x0014, PIN_INPUT, 0) /* (N27) GPMC0_AD5 */
    			AM65X_IOPAD(0x0010, PIN_INPUT, 0) /* (N24) GPMC0_AD4 */
    			AM65X_IOPAD(0x000c, PIN_INPUT, 0) /* (M24) GPMC0_AD3 */
    			AM65X_IOPAD(0x0008, PIN_INPUT, 0) /* (M28) GPMC0_AD2 */
    			AM65X_IOPAD(0x0004, PIN_INPUT, 0) /* (M23) GPMC0_AD1 */
    			AM65X_IOPAD(0x0000, PIN_INPUT, 0) /* (M27) GPMC0_AD0 */
    			AM65X_IOPAD(0x0054, PIN_OUTPUT, 0) /* (P23) GPMC0_BE1n */
    			AM65X_IOPAD(0x0048, PIN_OUTPUT, 0) /* (P26) GPMC0_OEn_REn */
    			AM65X_IOPAD(0x004c, PIN_OUTPUT, 0) /* (U28) GPMC0_WEn */
    		>;
    	};
    #endif
    
    	main_mmc0_pins_default: main-mmc0-pins-default {
    		pinctrl-single,pins = <
    			AM65X_IOPAD(0x01a8, PIN_INPUT_PULLDOWN, 0) /* (B25) MMC0_CLK */
    			AM65X_IOPAD(0x01ac, PIN_INPUT_PULLUP, 0) /* (B27) MMC0_CMD */
    			AM65X_IOPAD(0x01a4, PIN_INPUT_PULLUP, 0) /* (A26) MMC0_DAT0 */
    			AM65X_IOPAD(0x01a0, PIN_INPUT_PULLUP, 0) /* (E25) MMC0_DAT1 */
    			AM65X_IOPAD(0x019c, PIN_INPUT_PULLUP, 0) /* (C26) MMC0_DAT2 */
    			AM65X_IOPAD(0x0198, PIN_INPUT_PULLUP, 0) /* (A25) MMC0_DAT3 */
    			AM65X_IOPAD(0x0194, PIN_INPUT_PULLUP, 0) /* (E24) MMC0_DAT4 */
    			AM65X_IOPAD(0x0190, PIN_INPUT_PULLUP, 0) /* (A24) MMC0_DAT5 */
    			AM65X_IOPAD(0x018c, PIN_INPUT_PULLUP, 0) /* (B26) MMC0_DAT6 */
    			AM65X_IOPAD(0x0188, PIN_INPUT_PULLUP, 0) /* (D25) MMC0_DAT7 */
    			AM65X_IOPAD(0x01b4, PIN_INPUT_PULLUP, 0) /* (A23) MMC0_SDCD */
    			AM65X_IOPAD(0x01b0, PIN_INPUT, 0) /* (C25) MMC0_DS */
    		>;
    	};
    
    	main_mmc1_pins_default: main-mmc1-pins-default {
    		pinctrl-single,pins = <
    			AM65X_IOPAD(0x02d4, PIN_INPUT_PULLDOWN, 0) /* (C27) MMC1_CLK */
    			AM65X_IOPAD(0x02d8, PIN_INPUT_PULLUP, 0) /* (C28) MMC1_CMD */
    			AM65X_IOPAD(0x02d0, PIN_INPUT_PULLUP, 0) /* (D28) MMC1_DAT0 */
    			AM65X_IOPAD(0x02cc, PIN_INPUT_PULLUP, 0) /* (E27) MMC1_DAT1 */
    			AM65X_IOPAD(0x02c8, PIN_INPUT_PULLUP, 0) /* (D26) MMC1_DAT2 */
    			AM65X_IOPAD(0x02c4, PIN_INPUT_PULLUP, 0) /* (D27) MMC1_DAT3 */
    			AM65X_IOPAD(0x02dc, PIN_INPUT_PULLUP, 0) /* (B24) MMC1_SDCD */
    			AM65X_IOPAD(0x02e0, PIN_INPUT, 0) /* (C24) MMC1_SDWP */
    		>;
    	};
    
    	icssg1_mdio_pins_default: icssg1_mdio_pins_default {
    		pinctrl-single,pins = <
    			AM65X_IOPAD(0x0180, PIN_INPUT, 0) /* (AD18) PRG1_MDIO0_MDIO */
    			AM65X_IOPAD(0x0184, PIN_OUTPUT, 0) /* (AH18) PRG1_MDIO0_MDC */
    		>;
    	};
    
    	icssg1_rgmii_pins_default: icssg1_rgmii_pins_default {
    		pinctrl-single,pins = <
    			AM65X_IOPAD(0x00e0, PIN_INPUT, 2) /* (AE22) PRG1_PRU0_GPO0.PRG1_RGMII1_RD0 */
    			AM65X_IOPAD(0x00e4, PIN_INPUT, 2) /* (AG24) PRG1_PRU0_GPO1.PRG1_RGMII1_RD1 */
    			AM65X_IOPAD(0x00e8, PIN_INPUT, 2) /* (AF23) PRG1_PRU0_GPO2.PRG1_RGMII1_RD2 */
    			AM65X_IOPAD(0x00ec, PIN_INPUT, 2) /* (AD21) PRG1_PRU0_GPO3.PRG1_RGMII1_RD3 */
    			AM65X_IOPAD(0x0110, PIN_OUTPUT, 2) /* (AH20) PRG1_PRU0_GPO12.PRG1_RGMII1_TD0 */
    			AM65X_IOPAD(0x0114, PIN_OUTPUT, 2) /* (AH21) PRG1_PRU0_GPO13.PRG1_RGMII1_TD1 */
    			AM65X_IOPAD(0x0118, PIN_OUTPUT, 2) /* (AG20) PRG1_PRU0_GPO14.PRG1_RGMII1_TD2 */
    			AM65X_IOPAD(0x011c, PIN_OUTPUT, 2) /* (AD19) PRG1_PRU0_GPO15.PRG1_RGMII1_TD3 */
    			AM65X_IOPAD(0x0120, PIN_INPUT, 2) /* (AD20) PRG1_PRU0_GPO16.PRG1_RGMII1_TXC */
    			AM65X_IOPAD(0x010c, PIN_OUTPUT, 2) /* (AF21) PRG1_PRU0_GPO11.PRG1_RGMII1_TX_CTL */
    			AM65X_IOPAD(0x00f8, PIN_INPUT, 2) /* (AF22) PRG1_PRU0_GPO6.PRG1_RGMII1_RXC */
    			AM65X_IOPAD(0x00f0, PIN_INPUT, 2) /* (AG23) PRG1_PRU0_GPO4.PRG1_RGMII1_RX_CTL */
    
    			//ethercat1_pins_default
    			AM65X_IOPAD(0x0130, PIN_INPUT, 2) /* (AH24) PRG1_PRU1_GPO0.PRG1_RGMII2_RD0 */
    			AM65X_IOPAD(0x0134, PIN_INPUT, 2) /* (AH23) PRG1_PRU1_GPO1.PRG1_RGMII2_RD1 */
    			AM65X_IOPAD(0x0138, PIN_INPUT, 2) /* (AG21) PRG1_PRU1_GPO2.PRG1_RGMII2_RD2 */
    			AM65X_IOPAD(0x013c, PIN_INPUT, 2) /* (AH22) PRG1_PRU1_GPO3.PRG1_RGMII2_RD3 */
    			AM65X_IOPAD(0x0160, PIN_OUTPUT, 2) /* (AE20) PRG1_PRU1_GPO12.PRG1_RGMII2_TD0 */
    			AM65X_IOPAD(0x0164, PIN_OUTPUT, 2) /* (AF19) PRG1_PRU1_GPO13.PRG1_RGMII2_TD1 */
    			AM65X_IOPAD(0x0168, PIN_OUTPUT, 2) /* (AH19) PRG1_PRU1_GPO14.PRG1_RGMII2_TD2 */
    			AM65X_IOPAD(0x016c, PIN_OUTPUT, 2) /* (AG19) PRG1_PRU1_GPO15.PRG1_RGMII2_TD3 */
    			AM65X_IOPAD(0x0170, PIN_INPUT, 2) /* (AE19) PRG1_PRU1_GPO16.PRG1_RGMII2_TXC */
    			AM65X_IOPAD(0x015c, PIN_OUTPUT, 2) /* (AC20) PRG1_PRU1_GPO11.PRG1_RGMII2_TX_CTL */
    			AM65X_IOPAD(0x0148, PIN_INPUT, 2) /* (AG22) PRG1_PRU1_GPO6.PRG1_RGMII2_RXC */
    			AM65X_IOPAD(0x0140, PIN_INPUT, 2) /* (AE21) PRG1_PRU1_GPO4.PRG1_RGMII2_RX_CTL */
    		>;
    	};
    
    	icssg2_mdio_pins_default: icssg2_mdio_pins_default {
    		pinctrl-single,pins = <
    			AM65X_IOPAD(0x0094, PIN_INPUT, 2) /* (AC19) PRG2_PRU0_GPO7.PRG2_MDIO0_MDIO */
    			AM65X_IOPAD(0x00c8, PIN_OUTPUT, 2) /* (AE15) PRG2_PRU1_GPO7.PRG2_MDIO0_MDC */
    		>;
    	};
    
    	icssg2_rgmii_pins_default: icssg2-rgmii-pins-default {
    		pinctrl-single,pins = <
    			AM65X_IOPAD(0x0078, PIN_INPUT, 2) /* (AF18) PRG2_PRU0_GPO0.PRG2_RGMII1_RD0 */
    			AM65X_IOPAD(0x007c, PIN_INPUT, 2) /* (AE18) PRG2_PRU0_GPO1.PRG2_RGMII1_RD1 */
    			AM65X_IOPAD(0x0080, PIN_INPUT, 2) /* (AH17) PRG2_PRU0_GPO2.PRG2_RGMII1_RD2 */
    			AM65X_IOPAD(0x0084, PIN_INPUT, 2) /* (AG18) PRG2_PRU0_GPO3.PRG2_RGMII1_RD3 */
    			AM65X_IOPAD(0x0098, PIN_OUTPUT, 2) /* (AH16) PRG2_PRU0_GPO8.PRG2_RGMII1_TD0 */
    			AM65X_IOPAD(0x009c, PIN_OUTPUT, 2) /* (AG16) PRG2_PRU0_GPO9.PRG2_RGMII1_TD1 */
    			AM65X_IOPAD(0x00a0, PIN_OUTPUT, 2) /* (AF16) PRG2_PRU0_GPO10.PRG2_RGMII1_TD2 */
    			AM65X_IOPAD(0x00a4, PIN_OUTPUT, 2) /* (AE16) PRG2_PRU0_GPO11.PRG2_RGMII1_TD3 */
    			AM65X_IOPAD(0x00a8, PIN_INPUT, 2) /* (AD16) PRG2_PRU0_GPO16.PRG2_RGMII1_TXC */
    			AM65X_IOPAD(0x0090, PIN_OUTPUT, 2) /* (AE17) PRG2_PRU0_GPO6.PRG2_RGMII1_TX_CTL */
    			AM65X_IOPAD(0x008c, PIN_INPUT, 2) /* (AF17) PRG2_PRU0_GPO5.PRG2_RGMII1_RXC */
    			AM65X_IOPAD(0x0088, PIN_INPUT, 2) /* (AG17) PRG2_PRU0_GPO4.PRG2_RGMII1_RX_CTL */
    		>;
    	};
    
    	main_spi0_pins_default: main-spi0-pins-default {
    		pinctrl-single,pins = <
    			AM65X_IOPAD(0x01c4, PIN_OUTPUT, 0)  /* (AH13) GPIO1_17 */ /*SPI0-CLK*/
    			AM65X_IOPAD(0x01c8, PIN_OUTPUT, 0)  /* (AE13) GPIO1_18 */ /*SPI0_D0*/
    			AM65X_IOPAD(0x01cc, PIN_INPUT, 0)   /* (AD13) GPIO1_19 */ /*SPI0_D1*/
    			AM65X_IOPAD(0x01bc, PIN_OUTPUT, 0)  /* (AG13) GPIO1_15 */ /*SPI0_CS0*/
    			AM65X_IOPAD(0x01c0, PIN_OUTPUT, 0)  /* (AF13) GPIO1_16 */ /*SPI0_CS1*/
    		>;
    	};
    
    	myspi2_pins_default: myspi2_pins_default {
    		pinctrl-single,pins = <
    			AM65X_IOPAD(0x01d8, PIN_OUTPUT, 0)  /* (AH12) GPIO1_22 */ /*SPI1_CLK*/
    			AM65X_IOPAD(0x01dc, PIN_OUTPUT, 0)  /* (AE12) GPIO1_23 */ /*SPI1_D0*/
    			AM65X_IOPAD(0x01e0, PIN_INPUT, 0)   /* (AF12) GPIO1_24 */ /*SPI1_D1*/
    		>;
    	};
    
    	main_uart0_pins_default: main-uart0-pins-default {
    		pinctrl-single,pins = <
    			AM65X_IOPAD(0x01e4, PIN_INPUT, 0)   /* (AF11) GPIO1_25 */ /*UART0_RXD*/
    			AM65X_IOPAD(0x01e8, PIN_OUTPUT, 0)  /* (AE11) GPIO1_26 */ /*UART0_TXD*/
    		>;
    	};
    
    	rs232_pins_default: rs232_pins_default {
    		pinctrl-single,pins = <
    			AM65X_IOPAD(0x0288, PIN_INPUT, 6)   /* (Y27) GPIO1_66 */ /*RS232-RXD*/
    			AM65X_IOPAD(0x0260, PIN_OUTPUT, 6)  /* (W28) GPIO1_56 */ /*RS232-TXD*/
    		>;
    	};
    
    	rs485_pins_default: rs485_pins_default {
    		pinctrl-single,pins = <
    			AM65X_IOPAD(0x0174, PIN_INPUT, 6)   /* (AE23) GPIO0_93 */ /*RS485-RXD*/
    			AM65X_IOPAD(0x014c, PIN_OUTPUT, 6)  /* (AD23) GPIO0_83 */ /*RS485-TXD*/
    			AM65X_IOPAD(0x017c, PIN_OUTPUT_PULLDOWN, 7) /* (AC21) GPIO0_95 */ /*RS485-DIR*/
    		>;
    	};
    
    	usb0_pins_default: usb0_pins_default {
    		pinctrl-single,pins = <
    			AM65X_IOPAD(0x02bc, PIN_OUTPUT, 0) /* (AD9) GPIO1_71 */ /*USB0_DRVVBUS*/
    		>;
    	};
    
    	usb20_host_pins_default: usb20_host_pins_default {
    		pinctrl-single,pins = <
    			AM65X_IOPAD(0x02c0, PIN_OUTPUT, 0) /* (AC8) GPIO1_72 */ /*USB1_DRVVBUS*/
    		>;
    	};
    };
    
    &main_pmx1 {
    	pinctrl-names = "default";
            pinctrl-0 = <&gpio2_pins_default>;
    
    	main_i2c0_pins_default: main-i2c0-pins-default {
    		pinctrl-single,pins = <
    			AM65X_IOPAD(0x0000, PIN_INPUT, 0) /* (D20) I2C0_SCL */
    			AM65X_IOPAD(0x0004, PIN_INPUT, 0) /* (C21) I2C0_SDA */
    		>;
    	};
    
    	main_i2c1_pins_default: main-i2c1-pins-default {
    		pinctrl-single,pins = <
    			AM65X_IOPAD(0x0008, PIN_INPUT, 0) /* (B21) I2C1_SCL */
    			AM65X_IOPAD(0x000c, PIN_INPUT, 0) /* (E21) I2C1_SDA */
    		>;
    	};
    
    	gpio2_pins_default: gpio2_pins_default {
    		pinctrl-single,pins = <
    			AM65X_IOPAD(0x0010, PIN_OUTPUT, 7)  /* (D21) GPIO1_86 */ /* SER-COMM-EN */
    			AM65X_IOPAD(0x0018, PIN_INPUT, 7)   /* (B22) GPIO1_88 */ /* DDR-TP0 */
    			AM65X_IOPAD(0x001c, PIN_INPUT, 7)   /* (C23) GPIO1_89 */ /* DDR-TP1 */
    		>;
    	};
    
    	ledgpio2_pins_default: ledgpio2_pins_default {
    		pinctrl-single,pins = <
    			AM65X_IOPAD(0x0014, PIN_OUTPUT, 7) /* (A22) GPIO1_87 */	/* RS485-TX-LED */
    		>;
    	};
    };
    
    &wkup_uart0 {
    	/* Wakeup UART is used by System firmware */
    	status = "disabled";
    };
    
    &main_uart0 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&main_uart0_pins_default>;
    	power-domains = <&k3_pds 146 TI_SCI_PD_SHARED>;
    };
    
    //Eric+{
    &main_uart2 {
    	pinctrl-names = "default";
    	power-domains = <&k3_pds 148 TI_SCI_PD_SHARED>;
    	pinctrl-0 = <&rs232_pins_default>;
    	status = "okay";
    };
    
    &main_uart1 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&rs485_pins_default>;
    	power-domains = <&k3_pds 147 TI_SCI_PD_SHARED>;
    	rts-gpios = <&main_gpio0 95 GPIO_ACTIVE_HIGH>;
    	rs485-rts-active-high;
    	rs485-rts-delay = <0 0>;
    	linux,rs485-enabled-at-boot-time;
    	status = "okay";
    };
    //Eric+}
    
    &main_i2c0 {
    	status = "okay";
    
    	pinctrl-names = "default";
    	pinctrl-0 = <&main_i2c0_pins_default>;
    	clock-frequency = <100000>;
    
    	eeprom: eeprom@50 {
    		compatible = "atmel,24c16";
    		reg = <0x50>;
    		pagesize = <16>;
    	};
    };
    
    &main_i2c1 {
    	status = "okay";
    
    	pinctrl-names = "default";
    	pinctrl-0 = <&main_i2c1_pins_default>;
    	clock-frequency = <100000>;
    
    	s35390a:rtc@30{
    		compatible = "sii,s35390a";
    		reg = <0x30>;
    	};
    };
    
    &main_spi0 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&main_spi0_pins_default>;
    	#address-cells = <1>;
    	#size-cells= <0>;
    	ti,pindir-d0-out-d1-in = <1>;
    
    	flash@0{
    		compatible = "jedec,spi-nor";
    		reg = <0x0>;
    		spi-tx-bus-width = <1>;
    		spi-rx-bus-width = <1>;
    		spi-max-frequency = <48000000>;
    		#address-cells = <1>;
    		#size-cells= <1>;
    	};
    };
    
    &main_spi1 {
        status = "okay";
    	pinctrl-names = "default";
    	pinctrl-0 = <&myspi2_pins_default>;
    	#address-cells = <1>;
    	#size-cells= <0>;
    	ti,pindir-d0-out-d1-in = <1>;
    
        spidev@0 {
            status = "okay";
            //compatible = "fairchild,74hc595";
            compatible = "linux,spidev";
            gpio-controller;
            #gpio-cells = <2>;
            reg = <0>;
            registers-number = <2>;
            registers-default = /bits/ 8 <0xb7>;
            spi-max-frequency = <100000>;
        };
    };
    
    &sdhci0 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&main_mmc0_pins_default>;
    	bus-width = <8>;
    	non-removable;
    	ti,driver-strength-ohm = <50>;
    	disable-wp;
    };
    
    /*
     * Because of erratas i2025 and i2026 for silicon revision 1.0, the
     * SD card interface might fail. Boards with sr1.0 are recommended to
     * disable sdhci1
     */
    &sdhci1 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&main_mmc1_pins_default>;
    	ti,driver-strength-ohm = <50>;
    	disable-wp;
    };
    
    &dwc3_1 {
    	status = "okay";
    };
    
    &usb1_phy {
    	status = "okay";
    };
    
    &usb1 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&usb20_host_pins_default>;
    	dr_mode = "host";
    };
    
    &dwc3_0 {
    	status = "okay";
    };
    
    &usb0_phy {
    	status = "okay";
    };
    
    //Eric+{
    
    &m_can0 {
    	status = "okay";
    	pinctrl-names = "default";
    	pinctrl-0 = <&mcan0_pins_default>;
    	//stb-gpios = <&main_gpio1 47 GPIO_ACTIVE_HIGH>;
    	can-transceiver {
    		max-bitrate = <5000000>;
    	};
    };
    
    &usb0 {
    	pinctrl-names = "default";
    	//pinctrl-0 = <&usb0_pins_default>;
    	dr_mode = "peripheral";
    };
    //Eric+}
    
    &tscadc0 {
    	adc {
    		ti,adc-channels = <0 1 2 3 4 5 6 7>;
    	};
    };
    
    &tscadc1 {
    	adc {
    		ti,adc-channels = <0 1 2 3 4 5 6 7>;
    	};
    };
    
    &serdes0 {
    	status = "disabled";
    };
    
    &serdes1 {
    	status = "disabled";
    };
    
    &pcie0_rc {
    	status = "disabled";
    };
    
    &pcie0_ep {
    	status = "disabled";
    };
    
    &pcie1_rc {
    	status = "disabled";
    };
    
    &pcie1_ep {
    	status = "disabled";
    };
    
    &mailbox0_cluster0 {
    	interrupts = <436>;
    
    	mbox_mcu_r5fss0_core0: mbox-mcu-r5fss0-core0 {
    		ti,mbox-tx = <1 0 0>;
    		ti,mbox-rx = <0 0 0>;
    	};
    };
    
    &mailbox0_cluster1 {
    	interrupts = <432>;
    
    	mbox_mcu_r5fss0_core1: mbox-mcu-r5fss0-core1 {
    		ti,mbox-tx = <1 0 0>;
    		ti,mbox-rx = <0 0 0>;
    	};
    };
    
    &mailbox0_cluster2 {
    	status = "disabled";
    };
    
    &mailbox0_cluster3 {
    	status = "disabled";
    };
    
    &mailbox0_cluster4 {
    	status = "disabled";
    };
    
    &mailbox0_cluster5 {
    	status = "disabled";
    };
    
    &mailbox0_cluster6 {
    	status = "disabled";
    };
    
    &mailbox0_cluster7 {
    	status = "disabled";
    };
    
    &mailbox0_cluster8 {
    	status = "disabled";
    };
    
    &mailbox0_cluster9 {
    	status = "disabled";
    };
    
    &mailbox0_cluster10 {
    	status = "disabled";
    };
    
    &mailbox0_cluster11 {
    	status = "disabled";
    };
    
    &mcu_r5fss0_core0 {
    	memory-region = <&mcu_r5fss0_core0_dma_memory_region>,
    			<&mcu_r5fss0_core0_memory_region>;
    	mboxes = <&mailbox0_cluster0 &mbox_mcu_r5fss0_core0>;
    };
    
    &mcu_r5fss0_core1 {
    	memory-region = <&mcu_r5fss0_core1_dma_memory_region>,
    			<&mcu_r5fss0_core1_memory_region>;
    	mboxes = <&mailbox0_cluster1 &mbox_mcu_r5fss0_core1>;
    };
    
    &mcu_cpsw {
    	pinctrl-names = "default";
    	//Eric- pinctrl-0 = <&mcu_cpsw_pins_default &mcu_mdio_pins_default>;
    	pinctrl-0 = <&phy2ax58100_pins_default &phy2ax58100_mdio2_pins_default>;
    };
    
    &davinci_mdio {
    	reset = <&main_gpio0 25 GPIO_ACTIVE_LOW>;
    	reset-delay-us = <2>;   /* PHY datasheet states 1us min */
    
    	phy0: ethernet-phy@3 {
    		reg = <3>;
    	};
    };
    
    &cpsw_port1 {
    	phy-mode = "rmii";
    	phy-handle = <&phy0>;
    };
    
    #if 1
    &icssg1_mdio {
    	status = "okay";
    	pinctrl-names = "default";
    	pinctrl-0 = <&icssg1_mdio_pins_default>;
    
    	//reset = <&main_gpio0 66 GPIO_ACTIVE_LOW>; /*83867*/
    	//reset-delay-us = <2>;
    
    	icssg1_phy0: ethernet-phy@1 {
    		reg = <1>;
            //reset-assert-us = <1000>;
            //reset-deassert-us = <1000>;
            //reset = <&main_gpio0 25 GPIO_ACTIVE_LOW>;
    		ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
    		ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
    	};
    #if 0
        icssg1_phy1: ethernet-phy@7 {
    		reg = <7>;
    	};
    #endif
    };
    
    #if 1
    &icssg2_mdio {
    	status = "okay";
    	pinctrl-names = "default";
    	pinctrl-0 = <&icssg2_mdio_pins_default>;
    
    	//reset = <&main_gpio0 16 GPIO_ACTIVE_LOW>;
    	//reset-delay-us = <2>;
    	icssg2_phy2: ethernet-phy@2 {
    		reg = <2>;
    		ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
    		ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
    	};
    };
    #endif
    #endif
    

    Thanks.

    Eric

  • Hi Eric,

    I am sharing our dts file, I didn't notice any change that may raise any issue.

    We have noticed that you are using two separate icssg-eth nodes for two ports while we are using dual emac mode (single icssg-eth node for two ports) which should not raise any issues.

    /cfs-file/__key/communityserver-discussions-components-files/791/k3_2D00_am654_2D00_base_2D00_board.dts

    Thanks and Regards,

    Rimika

  • Hi Eric:

    Please confirm if we can close this issue.

    Thanks.

    BR Rio

  • ,

    This still not solve my issue.

    I think you can close this thread now, and I will verify our new EVM board once I got .

    Thanks.

    Eric

  • Hi Eric:

    Let's keep this E2E open until you verified the result.

    Do you need more help from Rimka fort this issue?

    BR Rio