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.

AM3359: AM3359 integration with VSC8531 driver is not working

Part Number: AM3359

AM3359 Integration with VSC8531 PHY.zip

Hello Team,

We are Integrating Microchip PHY - VSC8531 with AM3359 Processor..

Am attaching Schematic and DTS files of Uboot and Kernel FYR..

We are able to detect PHY from Uboot level but while kernel booting phy driver (linux-4.19.94\drivers\net\phy\mscc.c) is not detecting also  i have attached screen shots of enabling of uboot & kernel driver..

please go through the dts files and screenshots and suggest how to comeout of this ..

Regards

Vanam Bala Raju

  • Dear Team,

    Please respond on this we are awaiting for your reply..

    Vanam Bala Raju

  • Hi,

    Thank you for the zip file. Could you please attach the console boot log? I need to see how the kernel is trying to initialize the interface.

    Could you please also attach the results of ifconfig -a and ethtool eth0?

    Best Regards,

    Schuyler

  • Hi,

    Regardless of uboot ,in kernel level also we are able to get prints from mscc.c driver file.

    In bootlog we are getting :

    cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)

    net eth0: phy "/ocp/ethernet@4a100000/mdio@4a101000/ethernet-phy@0" not found on slave 0

    I'm attaching the boot log, please suggest any modifications needed

    Regards

    Vanam Bala Raju

    
    
    
    
    Welcome to minicom 2.7.1
    
    OPTIONS: I18n 
    Compiled on Dec 23 2019, 02:06:26.
    Port /dev/ttyUSB0, 13:51:33
    
    Press CTRL-A Z for help on special keys
    
    �<debug_uart> ti-i2c initialized....board detected..............>>>>>>>>>>>>>>>>>>>>>>
    Timed out in wait_for_event: status=0000
    ��eck if pads/pull-ups of bus are properly configured
    U-Boot SPL 2018.01 (Sep 26 2022 - 17:18:36)
    Trying to boot from NAND
    
    
    U-Boot 2018.01 (Sep 26 2022 - 17:18:36 +0530)
    
    CPU  : AM335X-GP rev 2.1
    Model: TI AM3359 ICE-V2
    DRAM:  512 MiB
    NAND:  512 MiB
    MMC:   
    Net:   
    ********************UBOOT  MSCC.C vsc8531_config function************************* 
    
    ******************** UBOOT MSCC.C mscc_vsc8531_vsc8541_init_scripts function************************* 
    PHY interface RGMII
    ******************************* UBOOT MSCC PHY Soft_Reset function****************************cpsw, usb_ether
    Hit any key to stop autoboot:  0 
    Booting from nand ...
    
    NAND read: device 0 offset 0x80000, size 0x40000
     262144 bytes read: OK
    
    NAND read: device 0 offset 0x200000, size 0x800000
     8388608 bytes read: OK
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 8fff3000, end 8ffff25c ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.19.94 (root@rd07) (gcc version 8.3.0 (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36))) #107 PREEMPT Tue Sep 27 12:02:12 IST 2022
    [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] OF: fdt: Machine model: TI AM3359 ICE-V2
    [    0.000000] Memory policy: Data cache writeback
    [    0.000000] efi: Getting EFI parameters from FDT:
    [    0.000000] efi: UEFI not found.
    [    0.000000] cma: Reserved 48 MiB at 0x9d000000
    [    0.000000] CPU: All CPU(s) started in SVC mode.
    [    0.000000] AM335X ES2.1 (sgx neon)
    [    0.000000] random: get_random_bytes called from start_kernel+0xa4/0x434 with crng_init=0
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 129920
    [    0.000000] Kernel command line: console=ttyO0,115200n8 root=ubi0:rootfs rw ubi.mtd=NAND.file-system,2048 rootfstype=ubifs rootwait=1
    [    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
    [    0.000000] Memory: 455952K/524288K available (9216K kernel code, 308K rwdata, 2724K rodata, 1024K init, 252K bss, 19184K reserved, 49152K cma-reserved, 0K highmem)
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    [    0.000000]     vmalloc : 0xe0800000 - 0xff800000   ( 496 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0x(ptrval) - 0x(ptrval)   (10208 kB)
    [    0.000000]       .init : 0x(ptrval) - 0x(ptrval)   (1024 kB)
    [    0.000000]       .data : 0x(ptrval) - 0x(ptrval)   ( 309 kB)
    [    0.000000]        .bss : 0x(ptrval) - 0x(ptrval)   ( 253 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000]  Tasks RCU enabled.
    [    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
    [    0.000000] IRQ: Found an INTC at 0x(ptrval) (revision 5.0) with 128 interrupts
    [    0.000000] OMAP clockevent source: timer2 at 25000000 Hz
    [    0.000019] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 85899345900ns
    [    0.000041] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
    [    0.000052] OMAP clocksource: timer1 at 25000000 Hz
    [    0.000237] timer_probe: no matching timers found
    [    0.000442] Console: colour dummy device 80x30
    [    0.000474] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [    0.000481] This ensures that you still see kernel messages. Please
    [    0.000488] update your kernel commandline.
    [    0.000545] Calibrating delay loop... 795.44 BogoMIPS (lpj=3977216)
    [    0.089038] pid_max: default: 32768 minimum: 301
    [    0.089264] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.089280] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.090169] CPU: Testing write buffer coherency: ok
    [    0.090242] CPU0: Spectre v2: using BPIALL workaround
    [    0.091198] Setting up static identity map for 0x80100000 - 0x80100060
    [    0.091368] rcu: Hierarchical SRCU implementation.
    [    0.091744] EFI services will not be available.
    [    0.093273] devtmpfs: initialized
    [    0.102158] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    0.102617] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.102644] futex hash table entries: 256 (order: -1, 3072 bytes)
    [    0.106758] pinctrl core: initialized pinctrl subsystem
    [    0.107606] DMI not present or invalid.
    [    0.108100] NET: Registered protocol family 16
    [    0.110812] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.136511] l4_wkup_cm:clk:0010:0: failed to disable
    [    0.189735] cpuidle: using governor ladder
    [    0.189777] cpuidle: using governor menu
    [    0.195390] OMAP GPIO hardware version 0.1
    [    0.204401] No ATAGs?
    [    0.204414] hw-breakpoint: debug architecture 0x4 unsupported.
    [    0.220020] edma 49000000.edma: TI EDMA DMA engine driver
    [    0.223364] SCSI subsystem initialized
    [    0.223857] media: Linux media interface: v0.10
    [    0.223905] videodev: Linux video capture interface: v2.00
    [    0.224014] pps_core: LinuxPPS API ver. 1 registered
    [    0.224025] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.224051] PTP clock support registered
    [    0.224088] EDAC MC: Ver: 3.0.0
    [    0.225305] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [    0.225942] Advanced Linux Sound Architecture Driver Initialized.
    [    0.227281] clocksource: Switched to clocksource timer1
    [    0.236675] NET: Registered protocol family 2
    [    0.237706] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes)
    [    0.237746] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.237796] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.237843] TCP: Hash tables configured (established 4096 bind 4096)
    [    0.237958] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [    0.237980] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [    0.238140] NET: Registered protocol family 1
    [    0.238806] RPC: Registered named UNIX socket transport module.
    [    0.238823] RPC: Registered udp transport module.
    [    0.238830] RPC: Registered tcp transport module.
    [    0.238838] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.239898] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
    [    0.241277] Initialise system trusted keyrings
    [    0.241641] workingset: timestamp_bits=14 max_order=17 bucket_order=3
    [    0.246805] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.247848] NFS: Registering the id_resolver key type
    [    0.247896] Key type id_resolver registered
    [    0.247906] Key type id_legacy registered
    [    0.247961] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.250526] Key type asymmetric registered
    [    0.250550] Asymmetric key parser 'x509' registered
    [    0.250631] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [    0.250646] io scheduler noop registered
    [    0.250655] io scheduler deadline registered
    [    0.250930] io scheduler cfq registered (default)
    [    0.250943] io scheduler mq-deadline registered
    [    0.250952] io scheduler kyber registered
    [    0.252826] pinctrl-single 44e10800.pinmux: 142 pins, size 568
    [    0.252845] pinctrl-single 44e10800.pinmux:  <<<<<<<<<<<<<<<<<<<<<<<<<<<<<Added VSC8531 RESETT>>>>>>>>>>>>>>>>>>>>>>>>>
    [    0.309090] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [    0.313382] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 30, base_baud = 3000000) is a 8250
    [    0.942795] console [ttyS0] enabled
    [    0.947705] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 31, base_baud = 3000000) is a 8250
    [    0.958682] omap_rng 48310000.rng: Random Number Generator ver. 20
    [    0.967537] random: fast init done
    [    0.971224] random: crng init done
    [    0.986249] brd: module loaded
    [    0.996863] loop: module loaded
    [    1.005064] libphy: Fixed MDIO Bus: probed
    [    1.077375] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000
    [    1.085088] libphy: 4a101000.mdio: probed
    [    1.089910] 
    [    1.089910] ******************** KERNEL MSCC.C vsc85xx_probe ************************* 
    [    1.099636] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver Microsemi VSC8531
    [    1.109487] cpsw 4a100000.ethernet: Detected MACID = 14:42:fc:eb:36:c1
    [    1.116185] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
    [    1.122733] cpsw 4a100000.ethernet: ALE Table size 1024
    [    1.128080] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
    [    1.137018] m25p80 spi1.0: n25q256a (32768 Kbytes)
    [    1.141972] 1 fixed-partitions partitions found on MTD device spi1.0
    [    1.148408] Creating 1 MTD partitions on "spi1.0":
    [    1.153249] 0x000000000000-0x000002000000 : "spi1_partition"
    [    1.161820] i2c /dev entries driver
    [    1.167921] cpuidle: enable-method property 'ti,am3352' found operations
    [    1.175142] sdhci: Secure Digital Host Controller Interface driver
    [    1.181422] sdhci: Copyright(c) Pierre Ossman
    [    1.186282] sdhci-pltfm: SDHCI platform and OF driver helper
    [    1.192848] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.203432] NET: Registered protocol family 10
    [    1.209554] Segment Routing with IPv6
    [    1.213342] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    1.220235] NET: Registered protocol family 17
    [    1.225025] Key type dns_resolver registered
    [    1.229746] omap_voltage_late_init: Voltage driver support not added
    [    1.237125] Loading compiled-in X.509 certificates
    [    1.254126] omap-gpmc 50000000.gpmc: GPMC revision 6.0
    [    1.259497] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
    [    1.267244] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xdc
    [    1.273776] nand: Micron MT29F4G08ABADAWP
    [    1.277831] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
    [    1.285524] nand: using OMAP_ECC_BCH8_CODE_HW ECC scheme
    [    1.291038] 10 fixed-partitions partitions found on MTD device omap2-nand.0
    [    1.298059] Creating 10 MTD partitions on "omap2-nand.0":
    [    1.303491] 0x000000000000-0x000000020000 : "NAND.SPL"
    [    1.309939] 0x000000020000-0x000000040000 : "NAND.SPL.backup1"
    [    1.316777] 0x000000040000-0x000000060000 : "NAND.SPL.backup2"
    [    1.323662] 0x000000060000-0x000000080000 : "NAND.SPL.backup3"
    [    1.330525] 0x000000080000-0x0000000c0000 : "NAND.u-boot-spl-os"
    [    1.337609] 0x0000000c0000-0x0000001c0000 : "NAND.u-boot"
    [    1.344393] 0x0000001c0000-0x0000001e0000 : "NAND.u-boot-env"
    [    1.351179] 0x0000001e0000-0x000000200000 : "NAND.u-boot-env.backup1"
    [    1.358659] 0x000000200000-0x000000a00000 : "NAND.kernel"
    [    1.368794] 0x000000a00000-0x000010000000 : "NAND.file-system"
    [    1.491768] gpmc_read_settings_dt: page/burst-length set but not used!
    [    2.517349] omap_i2c 44e0b000.i2c: timeout waiting for bus ready
    [    2.523707] tps65910 0-002d: No interrupt support, no core IRQ
    [    3.547337] omap_i2c 44e0b000.i2c: timeout waiting for bus ready
    [    3.553495] tps65910-pmic: probe of tps65910-pmic failed with error -16
    [    3.561432] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    [    3.568004] ubi0: attaching mtd10
    [    4.745593] ubi0: scanning is finished
    [    4.769090] ubi0: attached mtd10 (name "NAND.file-system", size 246 MiB)
    [    4.775846] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
    [    4.782851] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 512
    [    4.789766] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
    [    4.796762] ubi0: good PEBs: 1968, bad PEBs: 0, corrupted PEBs: 0
    [    4.802910] ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
    [    4.810206] ubi0: max/mean erase counter: 4/1, WL threshold: 4096, image sequence number: 212602846
    [    4.819312] ubi0: available PEBs: 0, total reserved PEBs: 1968, PEBs reserved for bad PEB handling: 80
    [    4.828686] ubi0: background thread "ubi_bgt0d" started, PID 53
    [    4.835005] hctosys: unable to open rtc device (rtc0)
    [    4.840796] ALSA device list:
    [    4.843789]   No soundcards found.
    [    4.857425] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 54
    [    5.017680] UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "rootfs"
    [    5.025137] UBIFS (ubi0:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
    [    5.035149] UBIFS (ubi0:0): FS size: 237699072 bytes (226 MiB, 1872 LEBs), journal size 9023488 bytes (8 MiB, 72 LEBs)
    [    5.045951] UBIFS (ubi0:0): reserved for root: 0 bytes (0 KiB)
    [    5.051835] UBIFS (ubi0:0): media format: w4/r0 (latest is w5/r0), UUID 58B0D65B-7955-4F74-A54F-9EB02017D028, small LPT model
    [    5.065768] VFS: Mounted root (ubifs filesystem) on device 0:14.
    [    5.073121] devtmpfs: mounted
    [    5.077701] Freeing unused kernel memory: 1024K
    [    5.082792] Run /sbin/init as init process
    [    5.412455] systemd[1]: System time before build time, advancing clock.
    [    5.521128] systemd[1]: systemd 239 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -I)
    [    5.544304] systemd[1]: Detected architecture arm.
    
    Welcome to Arago 2019.11!
    
    [    5.604330] systemd[1]: Set hostname to <am335x-evm>.
    [    6.108527] systemd[1]: File /lib/systemd/system/systemd-journald.service:36 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
    [    6.125802] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
    [    6.613110] systemd[1]: Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket (/dev/log).
    [    6.686653] systemd[1]: Reached target Remote File Systems.
    [  OK  ] Reached target Remote File Systems.
    [    6.718288] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    [    6.758723] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
    [    6.809661] systemd[1]: Created slice system-serial\x2dgetty.slice.
    [  OK  ] Created slice system-serial\x2dgetty.slice.
    [  OK  ] Created slice system-getty.slice.
    [  OK  ] Listening on Network Service Netlink Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [  OK  ] Listening on udev Control Socket.
    [  OK  ] Listening on Process Core Dump Socket.
    [  OK  ] Reached target Paths.
    [  OK  ] Listening on Journal Socket.
             Starting Apply Kernel Variables...
             Starting udev Coldplug all Devices...
    [  OK  ] Started Hardware RNG Entropy Gatherer Daemon.
             Starting Journal Service...
    [  OK  ] Created slice User and Session Slice.
    [  OK  ] Reached target Slices.
    [  OK  ] Listening on initctl Compatibility Named Pipe.
    [  OK  ] Reached target Swap.
             Mounting Temporary Directory (/tmp)...
             Mounting Kernel Configuration File System...
             Starting Remount Root and Kernel File Systems...
             Mounting POSIX Message Queue File System...
             Mounting Kernel Debug File System...
    [  OK  ] Started Apply Kernel Variables.
    [  OK  ] Mounted Temporary Directory (/tmp).
    [  OK  ] Mounted Kernel Configuration File System.
    [  OK  ] Started Journal Service.
    [  OK  ] Started Remount Root and Kernel File Systems.
    [  OK  ] Mounted POSIX Message Queue File System.
    [  OK  ] Mounted Kernel Debug File System.
             Starting Create Static Device Nodes in /dev...
             Starting Flush Journal to Persistent Storage...
    [  OK  ] Started Create Static Device Nodes in /dev.
             Starting udev Kernel Device Manager...
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /media/ram...
             Mounting /var/volatile...
    [  OK  ] Reached target Containers.
    [  OK  ] Mounted /media/ram.
    [  OK  ] Mounted /var/volatile.
    [  OK  ] Started udev Kernel Device Manager.
    [    8.513626] systemd-journald[69]: Received request to flush runtime journal from PID 1
             Starting Load/Save Random Seed...
    [  OK  ] Reached target Local File Systems.
    [  OK  ] Started Flush Journal to Persistent Storage.
             Starting Create Volatile Files and Directories...
    [  OK  ] Started Load/Save Random Seed.
    [  OK  ] Started Create Volatile Files and Directories.
             Starting Update UTMP about System Boot/Shutdown...
             Starting Network Time Synchronization...
             Starting Network Service...
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [  OK  ] Started Network Service.
             Starting Network Name Resolution...
             Starting Wait for Network to be Configured...
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Reached target System Time Synchronized.
    [  OK  ] Started Network Name Resolution.
    [  OK  ] Reached target Network.
    [  OK  ] Reached target Host and Network Name Lookups.
    [  OK  ] Found device /dev/ttyS0.
    [  OK  ] Started udev Coldplug all Devices.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Started Daily rotation of log files.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
    [  OK  ] Reached target Sockets.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target Timers.
    [  OK  ] Reached target Basic System.
             Starting telnetd.service...
    [  OK  ] Started D-Bus System Message Bus.
             Starting RPC Bind Service...
    [  OK  ] Started Job spooling tools.
    [  OK  ] Started Periodic Command Scheduler.
             Starting Permit User Sessions...
             Starting Avahi mDNS/DNS-SD Stack...
             Starting Print notice about GPLv3 packages...
             Starting Login Service...
    [  OK  ] Started telnetd.service.
    [  OK  ] Started RPC Bind Service.
    [  OK  ] Started Permit User Sessions.
    [   14.550457] net eth0: initializing cpsw version 1.12 (0)
    [   14.747836] 
    [   14.747836] ****************** *KERNEL  MSCC.C vsc85xx_config_init function************************* 
    [   14.862125] 
    [   14.862125] ****************** *KERNEL  MSCC.C vsc85xx_config_init function_default_config************************* 
    [   15.037035] net eth0: phy "/ocp/ethernet@4a100000/mdio@4a101000/ethernet-phy@0" not found on slave 0
    [   15.258606] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [  OK  ] Found device /dev/ttyS3.
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPLv3 packages:
            bash
            bc
            cifs-utils
            cpio
            dosfstools
            elfutils
            gawk
            gzip
            libbfd
            libdw1
            libelf1
            libreadline7
            which
    
    If you do not wish to distribute GPLv3 components please remove
    the above packages prior to distribution.  This can be done using
    the opkg remove command.  i.e.:
        opkg remove <package>
    Where <package> is the name printed in the list above
    
    NOTE: If the package is a dependency of another package you
          will be notified of the dependent packages.  You should
          use the --force-removal-of-dependent-packages option to
          also remove the dependent packages as well
    ***************************************************************
    ***************************************************************
    [  OK  ] Started Print notice about GPLv3 packages.
    [  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Serial Getty on ttyS0.
    [  OK  ] Started Serial Getty on ttyS3.
    [  OK  ] Reached target Login Prompts.
             Starting Synchronize System and HW clocks...
    [  OK  ] Started NFS status monitor for NFSv2/3 locking..
             Starting thttpd.service...
    [FAILED] Failed to start Synchronize System and HW clocks.
    See 'systemctl status sync-clocks.service' for details.
    [  OK  ] Started thttpd.service.
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.
    [  OK  ] Started Login Service.
    
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            
    
    Arago Project http://arago-project.org am335x-evm ttyS0
    
    Arago 2019.11 am335x-evm ttyS0
    
    am335x-evm login: root (automatic login)
    
    root@am335x-evm:~# [   35.047411] vbat: disabling
    
    root@am335x-evm:~# 
    root@am335x-evm:~# 
    root@am335x-evm:~# 
    root@am335x-evm:~# 
    root@am335x-evm:~# 
    root@am335x-evm:~# 
    root@am335x-evm:~# 
    root@am335x-evm:~# 
    root@am335x-evm:~# 
    root@am335x-evm:~# 
    root@am335x-evm:~# 
    root@am335x-evm:~# ifconfig -a
    eth0      Link encap:Ethernet  HWaddr 14:42:FC:EB:36:C1  
              UP BROADCAST MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
              Interrupt:45 
    
    lo        Link encap:Local Loopback  
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:65536  Metric:1
              RX packets:2 errors:0 dropped:0 overruns:0 frame:0
              TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:140 (140.0 B)  TX bytes:140 (140.0 B)
    
    sit0      Link encap:IPv6-in-IPv4  
              NOARP  MTU:1480  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
    
    root@am335x-evm:~# 
    root@am335x-evm:~# 
    root@am335x-evm:~# 
    root@am335x-evm:~# 
    root@am335x-evm:~# 
    root@am335x-evm:~# 
    root@am335x-evm:~# 
    root@am335x-evm:~# 
    root@am335x-evm:~# 
    root@am335x-evm:~# 
    root@am335x-evm:~# 
    root@am335x-evm:~# ethtool eth0
    Settings for eth0:
            Supports Wake-on: d
            Wake-on: d
            Current message level: 0x00000000 (0)
                                   
            Link detected: no
    root@am335x-evm:~# 
    root@am335x-evm:~# 
    root@am335x-evm:~# 
    root@am335x-evm:~# 
    root@am335x-evm:~# 
    root@am335x-evm:~# 
    root@am335x-evm:~# 
    root@am335x-evm:~# 
    root@am335x-evm:~# 
    root@am335x-evm:~# 
    root@am335x-evm:~# 
    root@am335x-evm:~# 
    root@am335x-evm:~# 
    root@am335x-evm:~# 
    
    

  • Hi  Schuyler,

    In continuation to above post..

    net eth0: phy "/ocp/ethernet@4a100000/mdio@4a101000/ethernet-phy@0" not found on slave 0

    this issue is resoved after dtb file modifications, after loading MSCC driver now the following debug mesg am able to see

    Microsemi VSC8531 4a101000.mdio:00: attached PHY driver [Microsemi VSC8531] (mii_bus:phy_addr=4a101000.mdio:00, irq=POLL)

    After booting, from ethtool we are unable to access eth0 ..

    Also requesting you to please confirm whether MSCC (VSC8531) driver loaded properly or not! I am attaching latest boot_log and dts file. MDC and MDIO signal data is attached (channel1 : MDC , channel2 : MDIO).

    Please help us on this .

    Regards

    Vanam

     

    
    
    
    
    
    
    Welcome to minicom 2.7.1
    
    OPTIONS: I18n 
    Compiled on Dec 23 2019, 02:06:26.
    Port /dev/ttyUSB0, 15:14:00
    
    Press CTRL-A Z for help on special keys
    
    �<debug_uart> ti-i2c initialized....board detected..............>>>>>>>>>>>>>>>>>>>>>>
    Timed out in wait_for_event: status=0000
    ��eck if pads/pull-ups of bus are properly configured
    U-Boot SPL 2018.01 (Sep 26 2022 - 17:18:36)
    Trying to boot from NAND
    
    
    U-Boot 2018.01 (Sep 26 2022 - 17:18:36 +0530)
    
    CPU  : AM335X-GP rev 2.1
    Model: TI AM3359 ICE-V2
    DRAM:  512 MiB
    NAND:  512 MiB
    MMC:   
    Net:   
    ********************UBOOT  MSCC.C vsc8531_config function************************* 
    
    ******************** UBOOT MSCC.C mscc_vsc8531_vsc8541_init_scripts function************************* 
    PHY interface RGMII
    ******************************* UBOOT MSCC PHY Soft_Reset function****************************cpsw, usb_ether
    Hit any key to stop autoboot:  0 
    Booting from nand ...
    
    NAND read: device 0 offset 0x80000, size 0x40000
     262144 bytes read: OK
    
    NAND read: device 0 offset 0x200000, size 0x800000
     8388608 bytes read: OK
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 8fff3000, end 8ffff1dd ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.19.94 (root@rd07) (gcc version 8.3.0 (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36))) #109 PREEMPT Tue Sep 27 14:59:14 IST 2022
    [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] OF: fdt: Machine model: TI AM3359 ICE-V2
    [    0.000000] Memory policy: Data cache writeback
    [    0.000000] efi: Getting EFI parameters from FDT:
    [    0.000000] efi: UEFI not found.
    [    0.000000] cma: Reserved 48 MiB at 0x9d000000
    [    0.000000] CPU: All CPU(s) started in SVC mode.
    [    0.000000] AM335X ES2.1 (sgx neon)
    [    0.000000] random: get_random_bytes called from start_kernel+0xa4/0x434 with crng_init=0
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 129920
    [    0.000000] Kernel command line: console=ttyO0,115200n8 root=ubi0:rootfs rw ubi.mtd=NAND.file-system,2048 rootfstype=ubifs rootwait=1
    [    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
    [    0.000000] Memory: 455952K/524288K available (9216K kernel code, 308K rwdata, 2724K rodata, 1024K init, 252K bss, 19184K reserved, 49152K cma-reserved, 0K highmem)
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    [    0.000000]     vmalloc : 0xe0800000 - 0xff800000   ( 496 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0x(ptrval) - 0x(ptrval)   (10208 kB)
    [    0.000000]       .init : 0x(ptrval) - 0x(ptrval)   (1024 kB)
    [    0.000000]       .data : 0x(ptrval) - 0x(ptrval)   ( 309 kB)
    [    0.000000]        .bss : 0x(ptrval) - 0x(ptrval)   ( 253 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000]  Tasks RCU enabled.
    [    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
    [    0.000000] IRQ: Found an INTC at 0x(ptrval) (revision 5.0) with 128 interrupts
    [    0.000000] OMAP clockevent source: timer2 at 25000000 Hz
    [    0.000017] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 85899345900ns
    [    0.000041] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
    [    0.000053] OMAP clocksource: timer1 at 25000000 Hz
    [    0.000232] timer_probe: no matching timers found
    [    0.000433] Console: colour dummy device 80x30
    [    0.000465] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [    0.000473] This ensures that you still see kernel messages. Please
    [    0.000479] update your kernel commandline.
    [    0.000539] Calibrating delay loop... 795.44 BogoMIPS (lpj=3977216)
    [    0.089039] pid_max: default: 32768 minimum: 301
    [    0.089264] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.089282] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.090177] CPU: Testing write buffer coherency: ok
    [    0.090246] CPU0: Spectre v2: using BPIALL workaround
    [    0.091212] Setting up static identity map for 0x80100000 - 0x80100060
    [    0.091378] rcu: Hierarchical SRCU implementation.
    [    0.091749] EFI services will not be available.
    [    0.093283] devtmpfs: initialized
    [    0.102091] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    0.102532] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.102562] futex hash table entries: 256 (order: -1, 3072 bytes)
    [    0.106660] pinctrl core: initialized pinctrl subsystem
    [    0.107508] DMI not present or invalid.
    [    0.108005] NET: Registered protocol family 16
    [    0.110721] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.136512] l4_wkup_cm:clk:0010:0: failed to disable
    [    0.189677] cpuidle: using governor ladder
    [    0.189721] cpuidle: using governor menu
    [    0.195389] OMAP GPIO hardware version 0.1
    [    0.204471] No ATAGs?
    [    0.204485] hw-breakpoint: debug architecture 0x4 unsupported.
    [    0.220119] edma 49000000.edma: TI EDMA DMA engine driver
    [    0.223435] SCSI subsystem initialized
    [    0.223919] media: Linux media interface: v0.10
    [    0.223975] videodev: Linux video capture interface: v2.00
    [    0.224077] pps_core: LinuxPPS API ver. 1 registered
    [    0.224087] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.224113] PTP clock support registered
    [    0.224151] EDAC MC: Ver: 3.0.0
    [    0.225372] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [    0.226032] Advanced Linux Sound Architecture Driver Initialized.
    [    0.227378] clocksource: Switched to clocksource timer1
    [    0.236830] NET: Registered protocol family 2
    [    0.237856] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes)
    [    0.237895] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.237944] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.237992] TCP: Hash tables configured (established 4096 bind 4096)
    [    0.238111] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [    0.238133] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [    0.238293] NET: Registered protocol family 1
    [    0.238953] RPC: Registered named UNIX socket transport module.
    [    0.238968] RPC: Registered udp transport module.
    [    0.238976] RPC: Registered tcp transport module.
    [    0.238983] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.240021] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
    [    0.241403] Initialise system trusted keyrings
    [    0.241777] workingset: timestamp_bits=14 max_order=17 bucket_order=3
    [    0.246977] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.248033] NFS: Registering the id_resolver key type
    [    0.248085] Key type id_resolver registered
    [    0.248094] Key type id_legacy registered
    [    0.248150] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.250722] Key type asymmetric registered
    [    0.250745] Asymmetric key parser 'x509' registered
    [    0.250824] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [    0.250838] io scheduler noop registered
    [    0.250846] io scheduler deadline registered
    [    0.251126] io scheduler cfq registered (default)
    [    0.251140] io scheduler mq-deadline registered
    [    0.251149] io scheduler kyber registered
    [    0.253017] pinctrl-single 44e10800.pinmux: 142 pins, size 568
    [    0.253035] pinctrl-single 44e10800.pinmux:  <<<<<<<<<<<<<<<<<<<<<<<<<<<<<Added VSC8531 RESETT>>>>>>>>>>>>>>>>>>>>>>>>>
    [    0.309633] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [    0.313940] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 30, base_baud = 3000000) is a 8250
    [    0.943389] console [ttyS0] enabled
    [    0.948260] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 31, base_baud = 3000000) is a 8250
    [    0.959204] omap_rng 48310000.rng: Random Number Generator ver. 20
    [    0.967636] random: fast init done
    [    0.971319] random: crng init done
    [    0.986809] brd: module loaded
    [    0.997629] loop: module loaded
    [    1.005650] libphy: Fixed MDIO Bus: probed
    [    1.077470] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000
    [    1.085186] libphy: 4a101000.mdio: probed
    [    1.089999] 
    [    1.089999] ******************** KERNEL MSCC.C vsc85xx_probe ************************* 
    [    1.099722] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver Microsemi VSC8531
    [    1.109632] cpsw 4a100000.ethernet: Detected MACID = 14:42:fc:eb:36:c1
    [    1.116332] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
    [    1.122881] cpsw 4a100000.ethernet: ALE Table size 1024
    [    1.128227] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
    [    1.137182] m25p80 spi1.0: n25q256a (32768 Kbytes)
    [    1.142139] 1 fixed-partitions partitions found on MTD device spi1.0
    [    1.148574] Creating 1 MTD partitions on "spi1.0":
    [    1.153410] 0x000000000000-0x000002000000 : "spi1_partition"
    [    1.161981] i2c /dev entries driver
    [    1.168110] cpuidle: enable-method property 'ti,am3352' found operations
    [    1.175343] sdhci: Secure Digital Host Controller Interface driver
    [    1.181628] sdhci: Copyright(c) Pierre Ossman
    [    1.186487] sdhci-pltfm: SDHCI platform and OF driver helper
    [    1.193017] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.203540] NET: Registered protocol family 10
    [    1.209658] Segment Routing with IPv6
    [    1.213449] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    1.220340] NET: Registered protocol family 17
    [    1.225115] Key type dns_resolver registered
    [    1.229838] omap_voltage_late_init: Voltage driver support not added
    [    1.237239] Loading compiled-in X.509 certificates
    [    1.254131] omap-gpmc 50000000.gpmc: GPMC revision 6.0
    [    1.259503] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
    [    1.267253] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xdc
    [    1.273784] nand: Micron MT29F4G08ABADAWP
    [    1.277839] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
    [    1.285533] nand: using OMAP_ECC_BCH8_CODE_HW ECC scheme
    [    1.291047] 10 fixed-partitions partitions found on MTD device omap2-nand.0
    [    1.298068] Creating 10 MTD partitions on "omap2-nand.0":
    [    1.303501] 0x000000000000-0x000000020000 : "NAND.SPL"
    [    1.309928] 0x000000020000-0x000000040000 : "NAND.SPL.backup1"
    [    1.316766] 0x000000040000-0x000000060000 : "NAND.SPL.backup2"
    [    1.323651] 0x000000060000-0x000000080000 : "NAND.SPL.backup3"
    [    1.330512] 0x000000080000-0x0000000c0000 : "NAND.u-boot-spl-os"
    [    1.337603] 0x0000000c0000-0x0000001c0000 : "NAND.u-boot"
    [    1.344417] 0x0000001c0000-0x0000001e0000 : "NAND.u-boot-env"
    [    1.351204] 0x0000001e0000-0x000000200000 : "NAND.u-boot-env.backup1"
    [    1.358708] 0x000000200000-0x000000a00000 : "NAND.kernel"
    [    1.368831] 0x000000a00000-0x000010000000 : "NAND.file-system"
    [    1.491607] gpmc_read_settings_dt: page/burst-length set but not used!
    [    2.517445] omap_i2c 44e0b000.i2c: timeout waiting for bus ready
    [    2.523799] tps65910 0-002d: No interrupt support, no core IRQ
    [    3.547437] omap_i2c 44e0b000.i2c: timeout waiting for bus ready
    [    3.553594] tps65910-pmic: probe of tps65910-pmic failed with error -16
    [    3.561501] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    [    3.568089] ubi0: attaching mtd10
    [    4.746378] ubi0: scanning is finished
    [    4.769825] ubi0: attached mtd10 (name "NAND.file-system", size 246 MiB)
    [    4.776583] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
    [    4.783587] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 512
    [    4.790520] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
    [    4.797542] ubi0: good PEBs: 1968, bad PEBs: 0, corrupted PEBs: 0
    [    4.803664] ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
    [    4.810937] ubi0: max/mean erase counter: 4/1, WL threshold: 4096, image sequence number: 212602846
    [    4.820064] ubi0: available PEBs: 0, total reserved PEBs: 1968, PEBs reserved for bad PEB handling: 80
    [    4.829440] ubi0: background thread "ubi_bgt0d" started, PID 53
    [    4.835757] hctosys: unable to open rtc device (rtc0)
    [    4.841555] ALSA device list:
    [    4.844550]   No soundcards found.
    [    4.857491] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 54
    [    4.996449] UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "rootfs"
    [    5.003962] UBIFS (ubi0:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
    [    5.013993] UBIFS (ubi0:0): FS size: 237699072 bytes (226 MiB, 1872 LEBs), journal size 9023488 bytes (8 MiB, 72 LEBs)
    [    5.024758] UBIFS (ubi0:0): reserved for root: 0 bytes (0 KiB)
    [    5.030657] UBIFS (ubi0:0): media format: w4/r0 (latest is w5/r0), UUID 58B0D65B-7955-4F74-A54F-9EB02017D028, small LPT model
    [    5.044606] VFS: Mounted root (ubifs filesystem) on device 0:14.
    [    5.051910] devtmpfs: mounted
    [    5.056444] Freeing unused kernel memory: 1024K
    [    5.061871] Run /sbin/init as init process
    [    5.392537] systemd[1]: System time before build time, advancing clock.
    [    5.500996] systemd[1]: systemd 239 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -I)
    [    5.524290] systemd[1]: Detected architecture arm.
    
    Welcome to Arago 2019.11!
    
    [    5.584422] systemd[1]: Set hostname to <am335x-evm>.
    [    6.090138] systemd[1]: File /lib/systemd/system/systemd-journald.service:36 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
    [    6.107632] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
    [    6.588342] systemd[1]: Reached target Swap.
    [  OK  ] Reached target Swap.
    [    6.624496] systemd[1]: Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket (/dev/log).
    [    6.665431] systemd[1]: Created slice system-getty.slice.
    [  OK  ] Created slice system-getty.slice.
    [    6.698967] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
    [    6.741019] systemd[1]: Listening on udev Kernel Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Reached target Paths.
    [  OK  ] Listening on initctl Compatibility Named Pipe.
    [  OK  ] Listening on Process Core Dump Socket.
    [  OK  ] Created slice User and Session Slice.
    [  OK  ] Reached target Slices.
    [  OK  ] Listening on Network Service Netlink Socket.
    [  OK  ] Reached target Remote File Systems.
    [  OK  ] Listening on Journal Socket.
    [  OK  ] Started Hardware RNG Entropy Gatherer Daemon.
             Mounting POSIX Message Queue File System...
             Starting Remount Root and Kernel File Systems...
             Mounting Temporary Directory (/tmp)...
             Starting Apply Kernel Variables...
             Mounting Kernel Configuration File System...
             Starting Journal Service...
    [  OK  ] Listening on udev Control Socket.
    [  OK  ] Created slice system-serial\x2dgetty.slice.
             Mounting Kernel Debug File System...
             Starting udev Coldplug all Devices...
    [  OK  ] Mounted POSIX Message Queue File System.
    [  OK  ] Started Remount Root and Kernel File Systems.
    [  OK  ] Mounted Temporary Directory (/tmp).
    [  OK  ] Started Apply Kernel Variables.
    [  OK  ] Mounted Kernel Configuration File System.
    [  OK  ] Started Journal Service.
    [  OK  ] Mounted Kernel Debug File System.
             Starting Flush Journal to Persistent Storage...
             Starting Create Static Device Nodes in /dev...
    [    8.046262] systemd-journald[75]: Received request to flush runtime journal from PID 1
    [  OK  ] Started Create Static Device Nodes in /dev.
    [  OK  ] Started Flush Journal to Persistent Storage.
             Starting udev Kernel Device Manager...
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /var/volatile...
    [  OK  ] Reached target Containers.
             Mounting /media/ram...
    [  OK  ] Mounted /var/volatile.
    [  OK  ] Mounted /media/ram.
             Starting Load/Save Random Seed...
    [  OK  ] Reached target Local File Systems.
             Starting Create Volatile Files and Directories...
    [  OK  ] Started udev Kernel Device Manager.
    [  OK  ] Started Load/Save Random Seed.
    [  OK  ] Started Create Volatile Files and Directories.
             Starting Update UTMP about System Boot/Shutdown...
             Starting Network Service...
             Starting Network Time Synchronization...
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [  OK  ] Started Network Service.
             Starting Wait for Network to be Configured...
             Starting Network Name Resolution...
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Reached target System Time Synchronized.
    [  OK  ] Started Network Name Resolution.
    [  OK  ] Reached target Network.
    [  OK  ] Reached target Host and Network Name Lookups.
    [  OK  ] Found device /dev/ttyS0.
    [  OK  ] Started udev Coldplug all Devices.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [  OK  ] Started Daily rotation of log files.
    [  OK  ] Reached target Timers.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
    [  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [  OK  ] Reached target Sockets.
    [  OK  ] Reached target Basic System.
             Starting Print notice about GPLv3 packages...
    [  OK  ] Started D-Bus System Message Bus.
             Starting Avahi mDNS/DNS-SD Stack...
             Starting RPC Bind Service...
             Starting Permit User Sessions...
             Starting telnetd.service...
    [  OK  ] Started Job spooling tools.
    [  OK  ] Started Periodic Command Scheduler.
             Starting Login Service...
    [  OK  ] Started Permit User Sessions.
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Serial Getty on ttyS0.
    [  OK  ] Started RPC Bind Service.
    [  OK  ] Started telnetd.service.
    [   14.356813] net eth0: initializing cpsw version 1.12 (0)
    [   14.557573] 
    [   14.557573] ****************** *KERNEL  MSCC.C vsc85xx_config_init function************************* 
    [   14.662206] 
    [   14.662206] ****************** *KERNEL  MSCC.C vsc85xx_config_init function_default_config************************* 
    [   14.854377] 
    [   14.854377] ****************** *KERNEL  MSCC.C vsc85xx_config_init function_mac_if_set************************* 
    [   15.108661] 
    [   15.108661] ****************** *KERNEL  MSCC.C vsc85xx_config_init function_edge_rate************************* 
    [   15.250884] 
    [   15.250884] ****************** *KERNEL  MSCC.C vsc85xx_config_init function_led_cntl************************* 
    [   15.477565] 
    [   15.477565] ****************** *KERNEL  MSCC.C vsc85xx_config_init function_led_cntl************************* 
    [   15.688417] Microsemi VSC8531 4a101000.mdio:00: attached PHY driver [Microsemi VSC8531] (mii_bus:phy_addr=4a101000.mdio:00, irq=POLL)
    [   16.002509] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [  OK  ] Found device /dev/ttyS3.
    
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            
    
    Arago Project http://arago-project.org am335x-evm ttyS0
    
    Arago 2019.11 am335x-evm ttyS0
    
    am335x-evm login: root (automatic login)
    
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPLv3 packages:
            bash
            bc
            cifs-utils
            cpio
            dosfstools
            elfutils
            gawk
            gzip
            libbfd
            libdw1
            libelf1
            libreadline7
            which
    
    If you do not wish to distribute GPLv3 components please remove
    the above packages prior to distribution.  This can be done using
    the opkg remove command.  i.e.:
        opkg remove <package>
    Where <package> is the name printed in the list above
    
    NOTE: If the package is a dependency of another package you
          will be notified of the dependent packages.  You should
          use the --force-removal-of-dependent-packages option to
          also remove the dependent packages as well
    ***************************************************************
    ***************************************************************
    root@am335x-evm:~# [   35.047485] vbat: disabling
    
    root@am335x-evm:~# 
    root@am335x-evm:~# 
    root@am335x-evm:~# 
    root@am335x-evm:~# 
    root@am335x-evm:~# 
    root@am335x-evm:~# 
    root@am335x-evm:~# 
    root@am335x-evm:~# 
    root@am335x-evm:~# 
    root@am335x-evm:~# 
    root@am335x-evm:~# 
    root@am335x-evm:~# 
    root@am335x-evm:~# 
    root@am335x-evm:~# ifconfig -a
    eth0      Link encap:Ethernet  HWaddr 14:42:FC:EB:36:C1  
              UP BROADCAST MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
              Interrupt:45 
    
    lo        Link encap:Local Loopback  
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:65536  Metric:1
              RX packets:2 errors:0 dropped:0 overruns:0 frame:0
              TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:140 (140.0 B)  TX bytes:140 (140.0 B)
    
    sit0      Link encap:IPv6-in-IPv4  
              NOARP  MTU:1480  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
    
    root@am335x-evm:~# ethtool eth0
    Settings for eth0:
            Supports Wake-on: d
            Wake-on: d
            Current message level: 0x00000000 (0)
                                   
            Link detected: no
    root@am335x-evm:~# 
    root@am335x-evm:~# 
    root@am335x-evm:~# 
    root@am335x-evm:~# 
    root@am335x-evm:~# 
    root@am335x-evm:~# 
    root@am335x-evm:~# 
    root@am335x-evm:~# 
    
    
    
    
    

  • Hello Schuyler,

    Pls Respond we are still stuck..

    Regards

    Vanam

  • Hello Vanam

    Schuyler is currently tied up due to some travel and leave of absence this week, so responses maybe delayed. 

    Regret that it is taking us longer to get back to you.

    Regards

    Mukul 

  • Hi,

    This is odd. It appears that the MDIO and PHY are registering correctly. The issue appears to be with DTS and CPSW as while the device driver is initializing the ethtool eth0 does not really show anything for the interface.

    Why is this line commented out in the DTS file inside the cpsw_emac0 node?

    //dual_emac_res_vlan = <1>;

    Do you have an EVM that you could boot the pre-built images of the TI SDK that you are using for your board? And post the boot log here? 

    Best Regards,

    Schuyler