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.

Linux/TMDSICE3359: PRU-ICSS Ethernet driver not recognised

Part Number: TMDSICE3359
Other Parts Discussed in Thread: AM3359, TPIC2810, PCA9536, SN65HVS882, TPS65910

Tool/software: Linux

Dear ,

I have booted the ICEv2 board through SD Card but it does not show any ethernet device when I gave ifconfig  command and link is placed at ICSS location not CPSW position.

But if I place the link at CPSW position and again booted the ICEv2 board it shows eth0 and eth1 devices.

I want to see these two devices eth0 and eth1 in  ICSS link postion which is not happening.

SD Card is of 8 GB and having these files:

1>am335x-icev2.dtb

2>arago-base-tisdk-image-am335x-evm.tar.xz

3>MLO

4>u-boot.img

5>zImage

Please let me know what is problem with the setup or any mistake.

Thanks in advance.

Ashok Wakode

  • Hi,

    Please follow processors.wiki.ti.com/.../PRU-ICSS_Ethernet Also note that you should use Linux-RT on the ICE board, standard Linux is not supported on this EVM.
  • I have used Linux-RT but not solved the problem:
    I have attached console log for your information:

    1031.log.txt
    U-Boot SPL 2017.01-g9fd60700db (Jun 28 2017 - 19:10:04)
    Trying to boot from MMC1
    reading uboot.env
    
    ** Unable to read "uboot.env" from mmc0:1 **
    Using default environment
    
    reading u-boot.img
    reading u-boot.img
    reading u-boot.img
    reading u-boot.img
    
    
    U-Boot 2017.01-g9fd60700db (Jun 28 2017 - 19:10:04 -0400)
    
    CPU : AM335X-GP rev 2.1
    Model: TI AM3359 ICE-V2
    DRAM: 256 MiB
    ETH0, PRU
    ETH1, PRU
    NAND: 0 MiB
    MMC: OMAP SD/MMC: 0
    reading uboot.env
    
    ** Unable to read "uboot.env" from mmc0:1 **
    Using default environment
    
    <ethaddr> not set. Validating first E-fuse MAC
    Net: cpsw, usb_ether
    Hit any key to stop autoboot: 0
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    reading boot.scr
    ** Unable to read file boot.scr **
    reading uEnv.txt
    ** Unable to read file uEnv.txt **
    switch to partitions #0, OK
    mmc0 is current device
    Scanning mmc 0:1...
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    3552128 bytes read in 395 ms (8.6 MiB/s)
    39304 bytes read in 40 ms (959 KiB/s)
    ## Flattened Device Tree blob at 88000000
    Booting using the fdt blob at 0x88000000
    Loading Device Tree to 8df1a000, end 8df26987 ... OK
    Fixing up ETH0 & ETH1 to PRUSS Ethernet
    
    Starting kernel ...
    
    [ 0.000000] Booting Linux on physical CPU 0x0
    [ 0.000000] Linux version 4.9.28-rt16-g786e64041b (gtbldadm@ubuntu-16) (gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11) ) #1 PREEMPT RT Wed Jun 28 18:10:09 EDT 2017
    [ 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] efi: Getting EFI parameters from FDT:
    [ 0.000000] efi: UEFI not found.
    [ 0.000000] cma: Reserved 48 MiB at 0x8a800000
    [ 0.000000] Memory policy: Data cache writeback
    [ 0.000000] CPU: All CPU(s) started in SVC mode.
    [ 0.000000] AM335X ES2.1 (sgx neon)
    [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 64960
    [ 0.000000] Kernel command line: console=ttyO3,115200n8 root=PARTUUID=e23a7abe-02 rw rootfstype=ext4 rootwait
    [ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
    [ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
    [ 0.000000] Memory: 198280K/262144K available (7168K kernel code, 290K rwdata, 2408K rodata, 1024K init, 316K bss, 14712K 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 : 0xd0800000 - 0xff800000 ( 752 MB)
    [ 0.000000] lowmem : 0xc0000000 - 0xd0000000 ( 256 MB)
    [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
    [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
    [ 0.000000] .text : 0xc0008000 - 0xc0800000 (8160 kB)
    [ 0.000000] .init : 0xc0b00000 - 0xc0c00000 (1024 kB)
    [ 0.000000] .data : 0xc0c00000 - 0xc0c488e0 ( 291 kB)
    [ 0.000000] .bss : 0xc0c488e0 - 0xc0c97960 ( 317 kB)
    [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [ 0.000000] Preemptible hierarchical RCU implementation.
    [ 0.000000] RCU kthread priority: 1.
    [ 0.000000] NR_IRQS:16 nr_irqs:16 16
    [ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
    [ 0.000000] OMAP clockevent source: timer2 at 24000000 Hz
    [ 0.000016] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
    [ 0.000029] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
    [ 0.000034] OMAP clocksource: timer1 at 24000000 Hz
    [ 0.000208] clocksource_probe: no matching clocksources found
    [ 0.000381] Console: colour dummy device 80x30
    [ 0.000528] WARNING: Your 'console=ttyO3' has been replaced by 'ttyS3'
    [ 0.000531] This ensures that you still see kernel messages. Please
    [ 0.000532] update your kernel commandline.
    [ 0.089115] Calibrating delay loop... 795.44 BogoMIPS (lpj=3977216)
    [ 0.089121] pid_max: default: 32768 minimum: 301
    [ 0.089251] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.089257] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.090141] CPU: Testing write buffer coherency: ok
    [ 0.090474] Setting up static identity map for 0x80100000 - 0x80100060
    [ 0.091675] EFI services will not be available.
    [ 0.093055] devtmpfs: initialized
    [ 0.106795] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [ 0.107163] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [ 0.107193] futex hash table entries: 256 (order: 1, 8192 bytes)
    [ 0.110898] pinctrl core: initialized pinctrl subsystem
    [ 0.112231] NET: Registered protocol family 16
    [ 0.114648] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [ 0.129550] omap_hwmod: debugss: _wait_target_disable failed
    [ 0.187309] GPIO line 7 (FET_SWITCH_CTRL) hogged as output/high
    [ 0.189645] OMAP GPIO hardware version 0.1
    [ 0.195705] GPIO line 100 (PR1_MII_CTRL) hogged as output/high
    [ 0.195733] GPIO line 106 (MUX_MII_CTL1) hogged as output/low
    [ 0.205174] hw-breakpoint: debug architecture 0x4 unsupported.
    [ 0.222032] edma 49000000.edma: TI EDMA DMA engine driver
    [ 0.225818] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/i2c0_pins_default, deferring probe
    [ 0.225954] media: Linux media interface: v0.10
    [ 0.226014] Linux video capture interface: v2.00
    [ 0.226060] pps_core: LinuxPPS API ver. 1 registered
    [ 0.226069] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [ 0.226094] PTP clock support registered
    [ 0.226136] EDAC MC: Ver: 3.0.0
    [ 0.227319] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [ 0.227665] Advanced Linux Sound Architecture Driver Initialized.
    [ 0.229016] clocksource: Switched to clocksource timer1
    [ 0.240553] NET: Registered protocol family 2
    [ 0.241433] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.241480] TCP bind hash table entries: 2048 (order: 3, 49152 bytes)
    [ 0.241581] TCP: Hash tables configured (established 2048 bind 2048)
    [ 0.241655] UDP hash table entries: 256 (order: 2, 16384 bytes)
    [ 0.241693] UDP-Lite hash table entries: 256 (order: 2, 16384 bytes)
    [ 0.241883] NET: Registered protocol family 1
    [ 0.242375] RPC: Registered named UNIX socket transport module.
    [ 0.242390] RPC: Registered udp transport module.
    [ 0.242397] RPC: Registered tcp transport module.
    [ 0.242404] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 0.243337] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
    [ 0.245810] workingset: timestamp_bits=14 max_order=16 bucket_order=2
    [ 0.254370] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [ 0.255430] NFS: Registering the id_resolver key type
    [ 0.255476] Key type id_resolver registered
    [ 0.255486] Key type id_legacy registered
    [ 0.255535] ntfs: driver 2.1.32 [Flags: R/O].
    [ 0.257512] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
    [ 0.257532] io scheduler noop registered
    [ 0.257541] io scheduler deadline registered
    [ 0.257722] io scheduler cfq registered (default)
    [ 0.258587] pinctrl-single 44e10800.pinmux: please update dts to use #pinctrl-cells = <1>
    [ 0.259193] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
    [ 0.328887] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [ 0.332451] 481a6000.serial: ttyS3 at MMIO 0x481a6000 (irq = 158, base_baud = 3000000) is a 8250
    [ 0.927329] console [ttyS3] enabled
    [ 0.932757] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
    [ 0.939560] [drm] Initialized
    [ 0.957035] brd: module loaded
    [ 0.967137] loop: module loaded
    [ 0.973417] m25p80 spi1.0: found s25fl064k, expected w25q64
    [ 0.979182] m25p80 spi1.0: s25fl064k (8192 Kbytes)
    [ 0.984035] 4 ofpart partitions found on MTD device spi1.0
    [ 0.989545] Creating 4 MTD partitions on "spi1.0":
    [ 0.994363] 0x000000000000-0x000000080000 : "u-boot-spl"
    [ 1.001165] 0x000000080000-0x000000180000 : "u-boot"
    [ 1.007436] 0x000000180000-0x0000001a0000 : "u-boot-env"
    [ 1.014103] 0x0000001a0000-0x000000800000 : "misc"
    [ 1.021232] libphy: Fixed MDIO Bus: probed
    [ 1.027586] mousedev: PS/2 mouse device common for all mice
    [ 1.033810] i2c /dev entries driver
    [ 1.043630] NET: Registered protocol family 10
    [ 1.049720] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [ 1.056521] NET: Registered protocol family 17
    [ 1.061268] Key type dns_resolver registered
    [ 1.065807] omap_voltage_late_init: Voltage driver support not added
    [ 1.109296] tps65910 0-002d: No interrupt support, no core IRQ
    [ 1.117333] vrtc: supplied by vbat
    [ 1.124507] vio: supplied by vbat
    [ 1.129373] vdd1: supplied by vbat
    [ 1.134620] vdd2: supplied by vbat
    [ 1.141249] vdig1: supplied by vbat
    [ 1.146121] vdig2: supplied by vbat
    [ 1.150987] vpll: supplied by vbat
    [ 1.155768] vdac: supplied by vbat
    [ 1.160559] vaux1: supplied by vbat
    [ 1.165424] vaux2: supplied by vbat
    [ 1.170283] vaux33: supplied by vbat
    [ 1.175254] vmmc: supplied by vbat
    [ 1.179790] random: fast init done
    [ 1.183472] vbb: supplied by vbat
    [ 1.188294] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    [ 1.249666] hctosys: unable to open rtc device (rtc0)
    [ 1.255513] ALSA device list:
    [ 1.261339] No soundcards found.
    [ 1.268598] Waiting for root device PARTUUID=e23a7abe-02...
    [ 1.358800] mmc0: host does not support reading read-only switch, assuming write-enable
    [ 1.370451] mmc0: new high speed SDHC card at address aaaa
    [ 1.376740] mmcblk0: mmc0:aaaa SS08G 7.40 GiB
    [ 1.382947] mmcblk0: p1 p2
    [ 1.969226] EXT4-fs (mmcblk0p2): recovery complete
    [ 1.975803] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [ 1.984011] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [ 1.993330] devtmpfs: mounted
    [ 1.997880] Freeing unused kernel memory: 1024K (c0b00000 - c0c00000)
    [ 2.255428] systemd[1]: System time before build time, advancing clock.
    [ 2.335146] systemd[1]: systemd 230 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN)
    [ 2.353942] systemd[1]: Detected architecture arm.
    
    Welcome to Arago 2017.05!
    
    [ 2.390375] systemd[1]: Set hostname to <am335x-evm>.
    [ 2.670015] systemd[1]: [/lib/systemd/system/gadget-init.service:15] Unknown lvalue 'ExecStopPre' in section 'Service'
    [ 2.940529] systemd[1]: sysinit.target: Found ordering cycle on sysinit.target/start
    [ 2.948363] systemd[1]: sysinit.target: Found dependency on alignment.service/start
    [ 2.956096] systemd[1]: sysinit.target: Found dependency on basic.target/start
    [ 2.963376] systemd[1]: sysinit.target: Found dependency on sockets.target/start
    [ 2.970821] systemd[1]: sysinit.target: Found dependency on dbus.socket/start
    [ 2.977999] systemd[1]: sysinit.target: Found dependency on sysinit.target/start
    [ SKIP ] Ordering cycle found, skipping alignment.service
    [ OK ] Listening on Journal Socket (/dev/log).
    [ OK ] Reached target Remote File Systems.
    [ OK ] Started Dispatch Password Requests to Console Directory Watch.
    [ OK ] Created slice User and Session Slice.
    [ OK ] Listening on Network Service Netlink Socket.
    [ OK ] Started Forward Password Requests to Wall Directory Watch.
    [ OK ] Reached target Paths.
    [ OK ] Listening on udev Kernel Socket.
    [ OK ] Listening on Syslog Socket.
    [ OK ] Created slice System Slice.
    [ OK ] Created slice system-getty.slice.
    [ OK ] Reached target Slices.
    [ OK ] Created slice system-serial\x2dgetty.slice.
    [ OK ] Listening on /dev/initctl Compatibility Named Pipe.
    [ OK ] Listening on Journal Socket.
    Starting Journal Service...
    Mounting POSIX Message Queue File System...
    Starting Load Kernel Modules...
    Starting Setup Virtual Console...[ 3.616955] cryptodev: loading out-of-tree module taints kernel.
    
    [ 3.649610] cryptodev: driver 1.8 loaded.
    Starting Remount Root and Kernel File Systems...
    Mounting Debug File System...
    Starting Create Static Device Nodes in /dev...
    [ 3.802623] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    [ OK ] Listening on udev Control Socket.
    [ OK ] Reached target Swap.
    Mounting Temporary Directory...
    [ OK ] Mounted POSIX Message Queue File System.
    [ OK ] Mounted Debug File System.
    [ OK ] Mounted Temporary Directory.
    [ OK ] Started Journal Service.
    [ OK ] Started Load Kernel Modules.
    [ OK ] Started Setup Virtual Console.
    [ OK ] Started Remount Root and Kernel File Systems.
    [ 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...
    Starting udev Coldplug all Devices...
    Mounting Configuration File System...
    Starting Apply Kernel Variables...
    Starting Flush Journal to Persistent Storage...
    [ OK ] Mounted Configuration File System.
    [ OK ] Mounted /var/volatile.
    [ OK ] Mounted /media/ram.
    [ OK ] Started udev Kernel Device Manager.
    [ OK ] Started Apply Kernel Variables.
    [ 4.904178] systemd-journald[97]: Received request to flush runtime journal from PID 1
    [ OK ] Reached target Local File Systems.
    Starting Load/Save Random Seed...
    [ OK ] Started Flush Journal to Persistent Storage.
    [ OK ] Started Load/Save Random Seed.
    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 Network Time Synchronization.
    [ OK ] Reached target System Time Synchronized.
    Starting Synchronize System and HW clocks...
    [FAILED] Failed to start Synchronize System and HW clocks.
    See 'systemctl status sync-clocks.service' for details.
    [ 6.414548] gpio-decoder gpio-decoder: unable to acquire input gpios
    [ 6.580315] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [ 6.672026] gpio-decoder gpio-decoder: unable to acquire input gpios
    [ 6.678989] omap_rtc 44e3e000.rtc: already running
    [ 6.729983] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
    [ 6.744182] 0-0041 supply vcc not found, using dummy regulator
    [ 6.771853] input: gpio-decoder as /devices/platform/gpio-decoder/input/input0
    [ OK ] Started udev Coldplug all Devices.
    [ OK ] Reached target System Initialization.
    [ OK ] Listening on dropbear.socket.
    [ OK ] Started Daily Cleanup of Temporary Directories.
    [ OK ] Reached target Timers.
    [ OK ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [ OK ] Listening on RPCbind Server Activation Socket.
    [ OK ] Listening on D-Bus System Message Bus Socket.
    [ OK ] Reached target Sockets.
    [ OK ] Reached target Basic System.
    Starting uim-sysfs.service...
    Starting Print notice about GPLv3 packages...
    [ OK ] Started D-Bus System Message Bus.
    [ 8.149527] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
    [ 8.298205] ti-pruss 4a300000.pruss: creating PRU cores and other child platform devices
    [ 8.332392] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
    [ 8.334616] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
    [ 8.347840] omap-aes 53500000.aes: will run requests pump with realtime priority
    [ 8.359634] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
    [ 8.363157] PM: Cannot get wkup_m3_ipc handle
    [ 8.421401] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
    [ 8.421888] PM: Cannot get wkup_m3_ipc handle
    [ 8.550401] remoteproc remoteproc0: wkup_m3 is available
    [ 8.606814] PM: Cannot get wkup_m3_ipc handle
    [ 8.606893] remoteproc remoteproc0: powering up wkup_m3
    [ 8.641103] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 224352
    [ 8.641373] remoteproc remoteproc0: remote processor wkup_m3 is now up
    [ 8.641445] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192
    Starting Network Service...
    [ OK ] Started Kernel Logging Service.
    [ 9.724302] PM: bootloader does not support rtc-only!
    [ 9.830562] davinci_mdio 4a332400.mdio: davinci mdio revision 1.6
    [ 9.831409] libphy: 4a332400.mdio: probed
    Starting Login Service...
    [ 10.016527] davinci_mdio 4a332400.mdio: phy[1]: device 4a332400.mdio:01, driver TI TLK10X 10/100 Mbps PHY
    Starting Avahi mDNS/DNS-SD Stack...
    [ 10.182669] davinci_mdio 4a332400.mdio: phy[3]: device 4a332400.mdio:03, driver TI TLK10X 10/100 Mbps PHY
    [ OK ] Started System Logging Service.
    [ 10.417257] remoteproc remoteproc1: 4a334000.pru0 is available
    Starting Telephony service...
    [ 10.518173] pru-rproc 4a334000.pru0: PRU rproc node /ocp/pruss_soc_bus@4a326000/pruss@4a300000/pru@4a334000 probed successfully
    [ OK ] Started Network Service.
    [[ 10.742238] remoteproc remoteproc2: 4a338000.pru1 is available
    [ 10.748205] pru-rproc 4a338000.pru1: PRU rproc node /ocp/pruss_soc_bus@4a326000/pruss@4a300000/pru@4a338000 probed successfully
    OK ] Found device /dev/ttyS3.
    [ OK ] Found device /dev/ttyS0.
    [ 11.249806] Unable to handle kernel NULL pointer dereference at virtual address 00000000
    [ 11.257959] pgd = ca128000
    [ 11.362489] [00000000] *pgd=00000000
    [ 11.366108] Internal error: Oops: 805 [#1] PREEMPT ARM
    [ 11.366164] Modules linked in: bluetooth(+) prueth(+) pru_rproc wkup_m3_rproc pm33xx pruss wkup_m3_ipc pruss_intc remoteproc omap_aes_driver ti_emif_sram crypto_engine omap_sham pruss_soc_bus gpio_pisosr gpio_tpic2810 gpio_pca953x rtc_omap omap_wdt ti_am335x_tscadc gpio_decoder input_polldev sch_fq_codel uio_module_drv(O) uio cryptodev(O)
    [ 11.366177] CPU: 0 PID: 175 Comm: systemd-udevd Tainted: G O 4.9.28-rt16-g786e64041b #1
    [ 11.366180] Hardware name: Generic AM33XX (Flattened Device Tree)
    [ 11.366186] task: ca0d4780 task.stack: ca13a000
    [ 11.366207] PC is at memset+0x30/0xe0
    [ 11.366213] LR is at 0x0
    [ 11.366220] pc : [<c03aa990>] lr : [<00000000>] psr: 200e0113
    [ 11.366220] sp : ca13bc48 ip : 00000000 fp : ca13bcac
    [ 11.366224] r10: ca19c9d0 r9 : ca1c3d62 r8 : 00000000
    [ 11.366228] r7 : 00000000 r6 : ca1c3c20 r5 : cfda0e40 r4 : ca1c3c10
    [ 11.366232] r3 : 00000000 r2 : 0000ffc0 r1 : 00000000 r0 : 00000000
    [ 11.366238] Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none
    [ 11.366243] Control: 10c5387d Table: 8a128019 DAC: 00000051
    [ 11.366248] Process systemd-udevd (pid: 175, stack limit = 0xca13a208)
    [ 11.366252] Stack: (0xca13bc48 to 0xca13c000)
    [ 11.366263] bc40: ca1c3d62 bf0b0db0 00000000 ca562050 cf164410 c09c9250
    [ 11.366272] bc60: 00000001 00000000 ca13bc9c ca1c3d4a cf162a10 ca1c3d16 ffffffff cfda0a74
    [ 11.366282] bc80: cf162a18 cf162a10 ffffffed bf0b36a8 fffffdfb bf0b36a8 0000001d 00000000
    [ 11.366292] bca0: ca13bccc ca13bcb0 c04ff6a0 bf0b04e4 cf162a10 c0c83dd0 c0c83de0 00000000
    [ 11.366302] bcc0: ca13bcf4 ca13bcd0 c04fdf34 c04ff654 cf162a10 bf0b36a8 cf162a44 00000000
    [ 11.366311] bce0: ca56cb00 d0c6d000 ca13bd14 ca13bcf8 c04fe0a0 c04fdd30 00000000 bf0b36a8
    [ 11.366321] bd00: c04fdfe0 00000000 ca13bd3c ca13bd18 c04fc0d4 c04fdfec cf002664 cf149c44
    [ 11.366331] bd20: cf002688 bf0b36a8 ca4f6a80 c0c324b8 ca13bd4c ca13bd40 c04fd7b0 c04fc070
    [ 11.366340] bd40: ca13bd74 ca13bd50 c04fd2f0 c04fd798 bf0b3394 ca13bd60 bf0b36a8 ffffe000
    [ 11.366350] bd60: bf0b37c0 ca56cbc0 ca13bd8c ca13bd78 c04fe5e8 c04fd1ec c0c324b8 ffffe000
    [ 11.366360] bd80: ca13bda4 ca13bd90 c04ff5fc c04fe574 bf0b7000 ffffe000 ca13bdb4 ca13bda8
    [ 11.366370] bda0: bf0b701c c04ff5c0 ca13be34 ca13bdb8 c010172c bf0b700c 0040003f d0c6d000
    [ 11.366380] bdc0: ca13be14 cff139e0 ca13a000 ca4b86c0 cf001e40 cff10b0c ca13a000 ca36bc80
    [ 11.366389] bde0: cf001e40 0000b2e2 d0c6d000 ca56cb24 ca13be2c ca13be00 c01faea4 c01faa44
    [ 11.366399] be00: 00000001 d0c6d000 00000001 bf0b37c0 00000001 bf0b37c0 ca56cbc0 ca56cb00
    [ 11.366408] be20: d0c6d000 ca56cb24 ca13be5c ca13be38 c01b40b8 c01016ec bf0b37c0 00000001
    [ 11.366418] be40: ca13bf44 00000001 bf0b37c0 00000001 ca13bf1c ca13be60 c0192314 c01b405c
    [ 11.366428] be60: bf0b37cc 00007fff bf0b37c0 c018f730 bf000000 c0992650 c0992628 c0992680
    [ 11.366438] be80: c099261c c0804180 bf0b37cc d0c79fb0 bf0b3958 ca13bf44 bf0b3808 bf0b37c0
    [ 11.366447] bea0: ca13beec ca13beb0 c0212914 c0212254 d0c6d000 00000000 00000000 00000000
    [ 11.366456] bec0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [ 11.366465] bee0: 00000000 00000000 00000000 00000000 7fffffff 00000000 00000012 b6e60f60
    [ 11.366475] bf00: 0000017b c0107dc4 ca13a000 00000000 ca13bfa4 ca13bf20 c01928c8 c0190514
    [ 11.366484] bf20: 7fffffff 00000000 00000003 ca13bf38 c01d3c30 d0c6d000 0000d000 00000000
    [ 11.366494] bf40: 00000000 d0c6d000 0000d000 d0c79c18 d0c79b38 d0c76f14 00006af0 000079b0
    [ 11.366503] bf60: 00000000 00000000 00000000 00002c48 00000017 00000018 00000011 0000000e
    [ 11.366512] bf80: 0000000a 00000000 00000000 7f5e1e30 00000000 00000000 00000000 ca13bfa8
    [ 11.366521] bfa0: c0107c00 c0192824 7f5e1e30 00000000 00000012 b6e60f60 00000000 00000000
    [ 11.366531] bfc0: 7f5e1e30 00000000 00000000 0000017b 7f5db094 7f5ca018 00000000 7f5e1ee0
    [ 11.366541] bfe0: be81a990 be81a980 b6e59be4 b6dab9f2 600f0030 00000012 ebff83d7 e2505000
    [ 11.366545] Backtrace:
    [ 11.366621] [<bf0b04d8>] (prueth_probe [prueth]) from [<c04ff6a0>] (platform_drv_probe+0x58/0xb8)
    [ 11.366632] r10:00000000 r9:0000001d r8:bf0b36a8 r7:fffffdfb r6:bf0b36a8 r5:ffffffed
    [ 11.366635] r4:cf162a10
    [ 11.366648] [<c04ff648>] (platform_drv_probe) from [<c04fdf34>] (driver_probe_device+0x210/0x2bc)
    [ 11.366655] r7:00000000 r6:c0c83de0 r5:c0c83dd0 r4:cf162a10
    [ 11.366665] [<c04fdd24>] (driver_probe_device) from [<c04fe0a0>] (__driver_attach+0xc0/0xc4)
    [ 11.366674] r9:d0c6d000 r8:ca56cb00 r7:00000000 r6:cf162a44 r5:bf0b36a8 r4:cf162a10
    [ 11.366683] [<c04fdfe0>] (__driver_attach) from [<c04fc0d4>] (bus_for_each_dev+0x70/0xa4)
    [ 11.366690] r7:00000000 r6:c04fdfe0 r5:bf0b36a8 r4:00000000
    [ 11.366699] [<c04fc064>] (bus_for_each_dev) from [<c04fd7b0>] (driver_attach+0x24/0x28)
    [ 11.366704] r6:c0c324b8 r5:ca4f6a80 r4:bf0b36a8
    [ 11.366713] [<c04fd78c>] (driver_attach) from [<c04fd2f0>] (bus_add_driver+0x110/0x21c)
    [ 11.366723] [<c04fd1e0>] (bus_add_driver) from [<c04fe5e8>] (driver_register+0x80/0xfc)
    [ 11.366730] r7:ca56cbc0 r6:bf0b37c0 r5:ffffe000 r4:bf0b36a8
    [ 11.366740] [<c04fe568>] (driver_register) from [<c04ff5fc>] (__platform_driver_register+0x48/0x50)
    [ 11.366744] r5:ffffe000 r4:c0c324b8
    [ 11.366768] [<c04ff5b4>] (__platform_driver_register) from [<bf0b701c>] (prueth_driver_init+0x1c/0x24 [prueth])
    [ 11.366772] r5:ffffe000 r4:bf0b7000
    [ 11.366797] [<bf0b7000>] (prueth_driver_init [prueth]) from [<c010172c>] (do_one_initcall+0x4c/0x178)
    [ 11.366813] [<c01016e0>] (do_one_initcall) from [<c01b40b8>] (do_init_module+0x68/0x3b0)
    [ 11.366822] r10:ca56cb24 r9:d0c6d000 r8:ca56cb00 r7:ca56cbc0 r6:bf0b37c0 r5:00000001
    [ 11.366825] r4:bf0b37c0
    [ 11.366838] [<c01b4050>] (do_init_module) from [<c0192314>] (load_module+0x1e0c/0x21a0)
    [ 11.366845] r7:00000001 r6:bf0b37c0 r5:00000001 r4:ca13bf44
    [ 11.366854] [<c0190508>] (load_module) from [<c01928c8>] (SyS_finit_module+0xb0/0xc0)
    [ 11.366863] r10:00000000 r9:ca13a000 r8:c0107dc4 r7:0000017b r6:b6e60f60 r5:00000012
    [ 11.366865] r4:00000000
    [ 11.366879] [<c0192818>] (SyS_finit_module) from [<c0107c00>] (ret_fast_syscall+0x0/0x44)
    [ 11.366884] r6:00000000 r5:00000000 r4:7f5e1e30
    [ 11.366894] Code: e92d4100 e1a08001 e1a0e001 e2522040 (a8ac410a)
    [ 11.938900] Bluetooth: Core ver 2.22
    [ 11.954277] NET: Registered protocol family 31
    [ 11.958757] Bluetooth: HCI device and connection manager initialized
    [ 12.068796] Bluetooth: HCI socket layer initialized
    [ 12.146462] Bluetooth: L2CAP socket layer initialized
    [ 12.227243] Bluetooth: SCO socket layer initialized
    [ OK ] Started Avahi mDNS/DNS-SD Stack.
    [ OK ] Started Telephony service.
    [ OK ] Started Login Service.
    [ OK ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
    [ OK ] Reached target Network.
    [ 13.501579] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    Starting Enable and configure wl18xx bluetooth stack...
    Starting Simple Network Management Protocol (SNMP) Daemon....
    Starting Network Name Resolution...
    Starting Permit User Sessions...
    Starting Lightning Fast Webserver With Light System Requirements...
    [ OK ] Started strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf.
    [ OK ] Started Enable and configure wl18xx bluetooth stack.
    [ OK ] Started Permit User Sessions.
    [ OK ] Started Lightning Fast Webserver With Light System Requirements.
    [ OK ] Started Network Name Resolution.
    [ OK ] Started Serial Getty on ttyS0.
    [ OK ] Started Serial Getty on ttyS3.
    [ OK ] Started Getty on tty1.
    [ OK ] Found device /dev/mmcblk0p1.
    [ 15.858981] NET: Registered protocol family 15
    [ OK ] Started Simple Network Management Protocol (SNMP) Daemon..
    [ 17.185343] Initializing XFRM netlink socket
    [ 18.944406] ---[ end trace 0000000000000002 ]---
    [ 19.468267] random: crng init done
    
    _____ _____ _ _
    | _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_
    | | _| .'| . | . | | __| _| . | | | -_| _| _|
    |__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_|
    |___| |___|
    
    Arago Project http://arago-project.org am335x-evm ttyS3
    
    Arago 2017.05 am335x-evm ttyS3
    
    am335x-evm login: ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPLv3 packages:
    autoconf
    binutils
    cpp-symlinks
    cpp
    dosfstools
    g++-symlinks
    g++
    gawk-dev
    gawk
    gcc-symlinks
    gcc
    gdb
    gdbserver
    gstreamer1.0-libav
    hidapi
    libcairo-perf-utils
    libgmp10
    libidn11
    libmpc3
    libmpfr4
    libreadline-dev
    libreadline6
    m4-dev
    m4
    make
    nettle
    swig-dev
    swig
    
    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
    ***************************************************************
    ***************************************************************
    [ 22.881401] udc-core: couldn't find an available UDC - added [g_multi] to list of pending drivers
    
    _____ _____ _ _
    | _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_
    | | _| .'| . | . | | __| _| . | | | -_| _| _|
    |__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_|
    |___| |___|
    
    Arago Project http://arago-project.org am335x-evm ttyS3
    
    Arago 2017.05 am335x-evm ttyS3
    
    am335x-evm login: root
    root@am335x-evm:~# cd /
    root@am335x-evm:/# ifconfig
    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1%763860/128 Scope:Host
    UP LOOPBACK RUNNING MTU:65536 Metric:1
    RX packets:160 errors:0 dropped:0 overruns:0 frame:0
    TX packets:160 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1
    RX bytes:12160 (11.8 KiB) TX bytes:12160 (11.8 KiB)
    
    root@am335x-evm:/#

  • Is this the SDK as provided here: software-dl.ti.com/.../index_FDS.html or you build it from a different location?
  • Yes I have taken SDK from this location as you have shown and used prebuilt images for ICEv2 board.
  • Thanks. I have notified the Ethernet experts. They will respond here.
  • Hi Biser,
    I am sending dts file for your reference which was by default and no changes i have done for my project.
    Here Pruss_eth status field is disabled so is it ok with this file or not .please let me know this so that it is main cause of my problem.
    am335x-icev2.dts file:
    /*
    * Copyright (C) 2016 Texas Instruments Incorporated - http://www.ti.com/
    *
    * This program is free software; you can redistribute it and/or modify
    * it under the terms of the GNU General Public License version 2 as
    * published by the Free Software Foundation.
    */

    /*
    * AM335x ICE V2 board
    * www.ti.com/.../tmdsice3359
    */

    /dts-v1/;

    #include "am33xx.dtsi"

    / {
    model = "TI AM3359 ICE-V2";
    compatible = "ti,am3359-icev2", "ti,am33xx";

    memory@80000000 {
    device_type = "memory";
    reg = <0x80000000 0x10000000>; /* 256 MB */
    };

    chosen {
    stdout-path = &uart3;
    };

    vbat: fixedregulator0 {
    compatible = "regulator-fixed";
    regulator-name = "vbat";
    regulator-min-microvolt = <5000000>;
    regulator-max-microvolt = <5000000>;
    regulator-boot-on;
    };

    vtt_fixed: fixedregulator1 {
    compatible = "regulator-fixed";
    regulator-name = "vtt";
    regulator-min-microvolt = <1500000>;
    regulator-max-microvolt = <1500000>;
    gpio = <&gpio0 18 GPIO_ACTIVE_HIGH>;
    regulator-always-on;
    regulator-boot-on;
    enable-active-high;
    };

    leds-iio {
    status = "disabled";
    compatible = "gpio-leds";
    led-out0 {
    label = "out0";
    gpios = <&tpic2810 0 GPIO_ACTIVE_HIGH>;
    default-state = "off";
    };

    led-out1 {
    label = "out1";
    gpios = <&tpic2810 1 GPIO_ACTIVE_HIGH>;
    default-state = "off";
    };

    led-out2 {
    label = "out2";
    gpios = <&tpic2810 2 GPIO_ACTIVE_HIGH>;
    default-state = "off";
    };

    led-out3 {
    label = "out3";
    gpios = <&tpic2810 3 GPIO_ACTIVE_HIGH>;
    default-state = "off";
    };

    led-out4 {
    label = "out4";
    gpios = <&tpic2810 4 GPIO_ACTIVE_HIGH>;
    default-state = "off";
    };

    led-out5 {
    label = "out5";
    gpios = <&tpic2810 5 GPIO_ACTIVE_HIGH>;
    default-state = "off";
    };

    led-out6 {
    label = "out6";
    gpios = <&tpic2810 6 GPIO_ACTIVE_HIGH>;
    default-state = "off";
    };

    led-out7 {
    label = "out7";
    gpios = <&tpic2810 7 GPIO_ACTIVE_HIGH>;
    default-state = "off";
    };
    };

    /* Tricolor status LEDs */
    leds1 {
    compatible = "gpio-leds";
    pinctrl-names = "default";
    pinctrl-0 = <&user_leds>;

    led0 {
    label = "status0:red:cpu0";
    gpios = <&gpio0 17 GPIO_ACTIVE_HIGH>;
    default-state = "off";
    linux,default-trigger = "cpu0";
    };

    led1 {
    label = "status0:green:usr";
    gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
    default-state = "off";
    };

    led2 {
    label = "status0:yellow:usr";
    gpios = <&gpio3 9 GPIO_ACTIVE_HIGH>;
    default-state = "off";
    };

    led3 {
    label = "status1:red:mmc0";
    gpios = <&gpio1 30 GPIO_ACTIVE_HIGH>;
    default-state = "off";
    linux,default-trigger = "mmc0";
    };

    led4 {
    label = "status1:green:usr";
    gpios = <&gpio0 20 GPIO_ACTIVE_HIGH>;
    default-state = "off";
    };

    led5 {
    label = "status1:yellow:usr";
    gpios = <&gpio0 19 GPIO_ACTIVE_HIGH>;
    default-state = "off";
    };
    };
    gpio-decoder {
    compatible = "gpio-decoder";
    gpios = <&pca9536 3 GPIO_ACTIVE_HIGH>,
    <&pca9536 2 GPIO_ACTIVE_HIGH>,
    <&pca9536 1 GPIO_ACTIVE_HIGH>,
    <&pca9536 0 GPIO_ACTIVE_HIGH>;
    linux,axis = <0>; /* ABS_X */
    decoder-max-value = <9>;
    };

    /* Dual mac ethernet application node on icss */
    pruss_eth {
    compatible = "ti,am3359-prueth";
    pruss = <&pruss>;
    sram = <&ocmcram>;
    interrupt-parent = <&pruss_intc>;
    status = "disabled";

    pinctrl-0 = <&pruss_eth_default>;
    pinctrl-names = "default";

    pruss_emac0: ethernet-mii0 {
    phy-handle = <&pruss_eth0_phy>;
    phy-mode = "mii";
    interrupts = <20>, <22>;
    interrupt-names = "rx", "tx";
    /* Filled in by bootloader */
    local-mac-address = [00 00 00 00 00 00];
    };

    pruss_emac1: ethernet-mii1 {
    phy-handle = <&pruss_eth1_phy>;
    phy-mode = "mii";
    interrupts = <21>, <23>;
    interrupt-names = "rx", "tx";
    /* Filled in by bootloader */
    local-mac-address = [00 00 00 00 00 00];
    };
    };
    };

    &am33xx_pinmux {
    user_leds: user_leds {
    pinctrl-single,pins = <
    AM33XX_IOPAD(0x91c, PIN_OUTPUT | MUX_MODE7) /* (J18) gmii1_txd3.gpio0[16] */
    AM33XX_IOPAD(0x920, PIN_OUTPUT | MUX_MODE7) /* (K15) gmii1_txd2.gpio0[17] */
    AM33XX_IOPAD(0x9b0, PIN_OUTPUT | MUX_MODE7) /* (A15) xdma_event_intr0.gpio0[19] */
    AM33XX_IOPAD(0x9b4, PIN_OUTPUT | MUX_MODE7) /* (D14) xdma_event_intr1.gpio0[20] */
    AM33XX_IOPAD(0x880, PIN_OUTPUT | MUX_MODE7) /* (U9) gpmc_csn1.gpio1[30] */
    AM33XX_IOPAD(0x92c, PIN_OUTPUT | MUX_MODE7) /* (K18) gmii1_txclk.gpio3[9] */
    >;
    };

    mmc0_pins_default: mmc0_pins_default {
    pinctrl-single,pins = <
    AM33XX_IOPAD(0x8f0, PIN_INPUT_PULLUP | MUX_MODE0) /* (F17) mmc0_dat3.mmc0_dat3 */
    AM33XX_IOPAD(0x8f4, PIN_INPUT_PULLUP | MUX_MODE0) /* (F18) mmc0_dat2.mmc0_dat2 */
    AM33XX_IOPAD(0x8f8, PIN_INPUT_PULLUP | MUX_MODE0) /* (G15) mmc0_dat1.mmc0_dat1 */
    AM33XX_IOPAD(0x8fc, PIN_INPUT_PULLUP | MUX_MODE0) /* (G16) mmc0_dat0.mmc0_dat0 */
    AM33XX_IOPAD(0x900, PIN_INPUT_PULLUP | MUX_MODE0) /* (G17) mmc0_clk.mmc0_clk */
    AM33XX_IOPAD(0x904, PIN_INPUT_PULLUP | MUX_MODE0) /* (G18) mmc0_cmd.mmc0_cmd */
    >;
    };

    i2c0_pins_default: i2c0_pins_default {
    pinctrl-single,pins = <
    AM33XX_IOPAD(0x988, PIN_INPUT | MUX_MODE0) /* (C17) I2C0_SDA.I2C0_SDA */
    AM33XX_IOPAD(0x98c, PIN_INPUT | MUX_MODE0) /* (C16) I2C0_SCL.I2C0_SCL */
    >;
    };

    spi0_pins_default: spi0_pins_default {
    pinctrl-single,pins = <
    AM33XX_IOPAD(0x950, PIN_INPUT_PULLUP | MUX_MODE0) /* (A17) spi0_sclk.spi0_sclk */
    AM33XX_IOPAD(0x954, PIN_INPUT_PULLUP | MUX_MODE0) /* (B17) spi0_d0.spi0_d0 */
    AM33XX_IOPAD(0x958, PIN_INPUT_PULLUP | MUX_MODE0) /* (B16) spi0_d1.spi0_d1 */
    AM33XX_IOPAD(0x95c, PIN_INPUT_PULLUP | MUX_MODE0) /* (A16) spi0_cs0.spi0_cs0 */
    AM33XX_IOPAD(0x960, PIN_INPUT_PULLUP | MUX_MODE0) /* (C15) spi0_cs1.spi0_cs1 */
    AM33XX_IOPAD(0x9a0, PIN_INPUT_PULLUP | MUX_MODE7) /* (B12) mcasp0_aclkr.gpio3[18] */
    >;
    };

    uart3_pins_default: uart3_pins_default {
    pinctrl-single,pins = <
    AM33XX_IOPAD(0x934, PIN_INPUT_PULLUP | MUX_MODE1) /* (L17) gmii1_rxd3.uart3_rxd */
    AM33XX_IOPAD(0x938, PIN_OUTPUT_PULLUP | MUX_MODE1) /* (L16) gmii1_rxd2.uart3_txd */
    >;
    };

    cpsw_default: cpsw_default {
    pinctrl-single,pins = <
    /* Slave 1, RMII mode */
    AM33XX_IOPAD(0x90c, (PIN_INPUT_PULLUP | MUX_MODE1)) /* mii1_crs.rmii1_crs_dv */
    AM33XX_IOPAD(0x944, (PIN_INPUT_PULLUP | MUX_MODE0)) /* rmii1_refclk.rmii1_refclk */
    AM33XX_IOPAD(0x940, (PIN_INPUT_PULLUP | MUX_MODE1)) /* mii1_rxd0.rmii1_rxd0 */
    AM33XX_IOPAD(0x93c, (PIN_INPUT_PULLUP | MUX_MODE1)) /* mii1_rxd1.rmii1_rxd1 */
    AM33XX_IOPAD(0x910, (PIN_INPUT_PULLUP | MUX_MODE1)) /* mii1_rxerr.rmii1_rxerr */
    AM33XX_IOPAD(0x928, (PIN_OUTPUT_PULLDOWN | MUX_MODE1)) /* mii1_txd0.rmii1_txd0 */
    AM33XX_IOPAD(0x924, (PIN_OUTPUT_PULLDOWN | MUX_MODE1)) /* mii1_txd1.rmii1_txd1 */
    AM33XX_IOPAD(0x914, (PIN_OUTPUT_PULLDOWN | MUX_MODE1)) /* mii1_txen.rmii1_txen */
    /* Slave 2, RMII mode */
    AM33XX_IOPAD(0x870, (PIN_INPUT_PULLUP | MUX_MODE3)) /* gpmc_wait0.rmii2_crs_dv */
    AM33XX_IOPAD(0x908, (PIN_INPUT_PULLUP | MUX_MODE1)) /* mii1_col.rmii2_refclk */
    AM33XX_IOPAD(0x86c, (PIN_INPUT_PULLUP | MUX_MODE3)) /* gpmc_a11.rmii2_rxd0 */
    AM33XX_IOPAD(0x868, (PIN_INPUT_PULLUP | MUX_MODE3)) /* gpmc_a10.rmii2_rxd1 */
    AM33XX_IOPAD(0x874, (PIN_INPUT_PULLUP | MUX_MODE3)) /* gpmc_wpn.rmii2_rxerr */
    AM33XX_IOPAD(0x854, (PIN_OUTPUT_PULLDOWN | MUX_MODE3)) /* gpmc_a5.rmii2_txd0 */
    AM33XX_IOPAD(0x850, (PIN_OUTPUT_PULLDOWN | MUX_MODE3)) /* gpmc_a4.rmii2_txd1 */
    AM33XX_IOPAD(0x840, (PIN_OUTPUT_PULLDOWN | MUX_MODE3)) /* gpmc_a0.rmii2_txen */
    >;
    };

    cpsw_sleep: cpsw_sleep {
    pinctrl-single,pins = <
    /* Slave 1 reset value */
    AM33XX_IOPAD(0x90c, (PIN_INPUT_PULLDOWN | MUX_MODE7))
    AM33XX_IOPAD(0x944, (PIN_INPUT_PULLDOWN | MUX_MODE7))
    AM33XX_IOPAD(0x940, (PIN_INPUT_PULLDOWN | MUX_MODE7))
    AM33XX_IOPAD(0x93c, (PIN_INPUT_PULLDOWN | MUX_MODE7))
    AM33XX_IOPAD(0x910, (PIN_INPUT_PULLDOWN | MUX_MODE7))
    AM33XX_IOPAD(0x928, (PIN_INPUT_PULLDOWN | MUX_MODE7))
    AM33XX_IOPAD(0x924, (PIN_INPUT_PULLDOWN | MUX_MODE7))
    AM33XX_IOPAD(0x914, (PIN_INPUT_PULLDOWN | MUX_MODE7))

    /* Slave 2 reset value */
    AM33XX_IOPAD(0x870, (PIN_INPUT_PULLDOWN | MUX_MODE7))
    AM33XX_IOPAD(0x908, (PIN_INPUT_PULLDOWN | MUX_MODE7))
    AM33XX_IOPAD(0x86c, (PIN_INPUT_PULLDOWN | MUX_MODE7))
    AM33XX_IOPAD(0x868, (PIN_INPUT_PULLDOWN | MUX_MODE7))
    AM33XX_IOPAD(0x874, (PIN_INPUT_PULLDOWN | MUX_MODE7))
    AM33XX_IOPAD(0x854, (PIN_INPUT_PULLDOWN | MUX_MODE7))
    AM33XX_IOPAD(0x850, (PIN_INPUT_PULLDOWN | MUX_MODE7))
    AM33XX_IOPAD(0x840, (PIN_INPUT_PULLDOWN | MUX_MODE7))
    >;
    };

    davinci_mdio_default: davinci_mdio_default {
    pinctrl-single,pins = <
    /* MDIO */
    AM33XX_IOPAD(0x948, (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0)) /* mdio_data.mdio_data */
    AM33XX_IOPAD(0x94c, (PIN_OUTPUT_PULLUP | MUX_MODE0)) /* mdio_clk.mdio_clk */
    >;
    };

    davinci_mdio_sleep: davinci_mdio_sleep {
    pinctrl-single,pins = <
    /* MDIO reset value */
    AM33XX_IOPAD(0x948, (PIN_INPUT_PULLDOWN | MUX_MODE7))
    AM33XX_IOPAD(0x94c, (PIN_INPUT_PULLDOWN | MUX_MODE7))
    >;
    };

    pruss_mdio_default: pruss_mdio_default {
    pinctrl-single,pins = <
    AM33XX_IOPAD(0x88c, (PIN_OUTPUT | MUX_MODE5)) /* gpmc_clk.pr1_mdio_mdclk */
    AM33XX_IOPAD(0x888, (PIN_INPUT | MUX_MODE5)) /* gpmc_csn3.pr1_mdio_data */
    AM33XX_IOPAD(0x89c, (PIN_INPUT_PULLUP | MUX_MODE7)) /* gpmc_ben0_cle.gpio2_5 */
    /* disable CPSW MDIO */
    AM33XX_IOPAD(0x948, (PIN_INPUT_PULLUP | MUX_MODE7)) /* mdio_data.gpio0_0 */
    AM33XX_IOPAD(0x94c, (PIN_INPUT_PULLUP | MUX_MODE7)) /* mdio_clk.gpio0_1 */
    >;
    };

    pruss_eth_default: pruss_eth_default {
    pinctrl-single,pins = <
    AM33XX_IOPAD(0x8a0, (PIN_INPUT | MUX_MODE2)) /* dss_data0.pr1_mii_mt0_clk */
    AM33XX_IOPAD(0x8b4, (PIN_OUTPUT | MUX_MODE2)) /* dss_data5.pr1_mii0_txd0 */
    AM33XX_IOPAD(0x8b0, (PIN_OUTPUT | MUX_MODE2)) /* dss_data4.pr1_mii0_txd1 */
    AM33XX_IOPAD(0x8ac, (PIN_OUTPUT | MUX_MODE2)) /* dss_data3.pr1_mii0_txd2 */
    AM33XX_IOPAD(0x8a8, (PIN_OUTPUT | MUX_MODE2)) /* dss_data2.pr1_mii0_txd3 */
    AM33XX_IOPAD(0x8cc, (PIN_INPUT | MUX_MODE5)) /* dss_data11.pr1_mii0_rxd0 */
    AM33XX_IOPAD(0x8c8, (PIN_INPUT | MUX_MODE5)) /* dss_data10.pr1_mii0_rxd1 */
    AM33XX_IOPAD(0x8c4, (PIN_INPUT | MUX_MODE5)) /* dss_data9.pr1_mii0_rxd2 */
    AM33XX_IOPAD(0x8c0, (PIN_INPUT | MUX_MODE5)) /* dss_data8.pr1_mii0_rxd3 */
    AM33XX_IOPAD(0x8a4, (PIN_OUTPUT | MUX_MODE2)) /* dss_data1.pr1_mii0_txen */
    AM33XX_IOPAD(0x8d8, (PIN_INPUT | MUX_MODE5)) /* dss_data14.pr1_mii_mr0_clk */
    AM33XX_IOPAD(0x8dc, (PIN_INPUT | MUX_MODE5)) /* dss_data15.pr1_mii0_rxdv */
    AM33XX_IOPAD(0x8d4, (PIN_INPUT | MUX_MODE5)) /* dss_data13.pr1_mii0_rxer */
    AM33XX_IOPAD(0x8d0, (PIN_INPUT | MUX_MODE5)) /* dss_data12.pr1_mii0_rxlink */
    AM33XX_IOPAD(0x8e8, (PIN_INPUT | MUX_MODE2)) /* dss_pclk.pr1_mii0_crs */

    AM33XX_IOPAD(0x840, (PIN_INPUT | MUX_MODE5)) /* gpmc_a0.pr1_mii_mt1_clk */
    AM33XX_IOPAD(0x850, (PIN_OUTPUT | MUX_MODE5)) /* gpmc_a4.pr1_mii1_txd0 */
    AM33XX_IOPAD(0x84c, (PIN_OUTPUT | MUX_MODE5)) /* gpmc_a3.pr1_mii1_txd1 */
    AM33XX_IOPAD(0x848, (PIN_OUTPUT | MUX_MODE5)) /* gpmc_a2.pr1_mii1_txd2 */
    AM33XX_IOPAD(0x844, (PIN_OUTPUT | MUX_MODE5)) /* gpmc_a1.pr1_mii1_txd3 */
    AM33XX_IOPAD(0x860, (PIN_INPUT | MUX_MODE5)) /* gpmc_a8.pr1_mii1_rxd0 */
    AM33XX_IOPAD(0x85c, (PIN_INPUT | MUX_MODE5)) /* gpmc_a7.pr1_mii1_rxd1 */
    AM33XX_IOPAD(0x858, (PIN_INPUT | MUX_MODE5)) /* gpmc_a6.pr1_mii1_rxd2 */
    AM33XX_IOPAD(0x854, (PIN_INPUT | MUX_MODE5)) /* gpmc_a5.pr1_mii1_rxd3 */
    AM33XX_IOPAD(0x874, (PIN_OUTPUT | MUX_MODE5)) /* gpmc_wpn.pr1_mii1_txen */
    AM33XX_IOPAD(0x864, (PIN_INPUT | MUX_MODE5)) /* gpmc_a9.pr1_mii_mr1_clk */
    AM33XX_IOPAD(0x868, (PIN_INPUT | MUX_MODE5)) /* gpmc_a10.pr1_mii1_rxdv */
    AM33XX_IOPAD(0x86c, (PIN_INPUT | MUX_MODE5)) /* gpmc_a11.pr1_mii1_rxer */
    AM33XX_IOPAD(0x878, (PIN_INPUT | MUX_MODE5)) /* gpmc_ben1.pr1_mii1_rxlink */
    AM33XX_IOPAD(0x8ec, (PIN_INPUT | MUX_MODE2)) /* lcd_ac_bias_en.pr1_mii1_crs */
    AM33XX_IOPAD(0x870, (PIN_INPUT | MUX_MODE5)) /* gpmc_wait0.pr1_mii1_col */
    >;
    };
    };

    &i2c0 {
    pinctrl-names = "default";
    pinctrl-0 = <&i2c0_pins_default>;

    status = "okay";
    clock-frequency = <400000>;

    tps: power-controller@2d {
    reg = <0x2d>;
    };

    tpic2810: gpio@60 {
    compatible = "ti,tpic2810";
    reg = <0x60>;
    gpio-controller;
    #gpio-cells = <2>;
    };

    pca9536: gpio@41 {
    compatible = "ti,pca9536";
    reg = <0x41>;
    gpio-controller;
    #gpio-cells = <2>;
    };
    };

    &spi0 {
    status = "okay";
    pinctrl-names = "default";
    pinctrl-0 = <&spi0_pins_default>;

    sn65hvs882@1 {
    compatible = "pisosr-gpio";
    gpio-controller;
    #gpio-cells = <2>;

    load-gpios = <&gpio3 18 GPIO_ACTIVE_LOW>;

    reg = <1>;
    spi-max-frequency = <1000000>;
    spi-cpol;
    };

    spi_nor: flash@0 {
    #address-cells = <1>;
    #size-cells = <1>;
    compatible = "winbond,w25q64", "jedec,spi-nor";
    spi-max-frequency = <80000000>;
    m25p,fast-read;
    reg = <0>;

    partition@0 {
    label = "u-boot-spl";
    reg = <0x0 0x80000>;
    read-only;
    };

    partition@1 {
    label = "u-boot";
    reg = <0x80000 0x100000>;
    read-only;
    };

    partition@2 {
    label = "u-boot-env";
    reg = <0x180000 0x20000>;
    read-only;
    };

    partition@3 {
    label = "misc";
    reg = <0x1A0000 0x660000>;
    };
    };

    };

    &tscadc {
    status = "okay";
    adc {
    ti,adc-channels = <1 2 3 4 5 6 7>;
    };
    };

    #include "tps65910.dtsi"

    &tps {
    vcc1-supply = <&vbat>;
    vcc2-supply = <&vbat>;
    vcc3-supply = <&vbat>;
    vcc4-supply = <&vbat>;
    vcc5-supply = <&vbat>;
    vcc6-supply = <&vbat>;
    vcc7-supply = <&vbat>;
    vccio-supply = <&vbat>;

    regulators {
    vrtc_reg: regulator@0 {
    regulator-always-on;
    };

    vio_reg: regulator@1 {
    regulator-always-on;
    };

    vdd1_reg: regulator@2 {
    regulator-name = "vdd_mpu";
    regulator-min-microvolt = <912500>;
    regulator-max-microvolt = <1326000>;
    regulator-boot-on;
    regulator-always-on;
    };

    vdd2_reg: regulator@3 {
    regulator-name = "vdd_core";
    regulator-min-microvolt = <912500>;
    regulator-max-microvolt = <1144000>;
    regulator-boot-on;
    regulator-always-on;
    };

    vdd3_reg: regulator@4 {
    regulator-always-on;
    };

    vdig1_reg: regulator@5 {
    regulator-always-on;
    };

    vdig2_reg: regulator@6 {
    regulator-always-on;
    };

    vpll_reg: regulator@7 {
    regulator-always-on;
    };

    vdac_reg: regulator@8 {
    regulator-always-on;
    };

    vaux1_reg: regulator@9 {
    regulator-always-on;
    };

    vaux2_reg: regulator@10 {
    regulator-always-on;
    };

    vaux33_reg: regulator@11 {
    regulator-always-on;
    };

    vmmc_reg: regulator@12 {
    regulator-min-microvolt = <1800000>;
    regulator-max-microvolt = <3300000>;
    regulator-always-on;
    };
    };
    };

    &mmc1 {
    status = "okay";
    vmmc-supply = <&vmmc_reg>;
    bus-width = <4>;
    pinctrl-names = "default";
    pinctrl-0 = <&mmc0_pins_default>;
    };

    &gpio0 {
    /* Do not idle the GPIO used for holding the VTT regulator */
    ti,no-reset-on-init;
    ti,no-idle-on-init;

    p7 {
    gpio-hog;
    gpios = <7 GPIO_ACTIVE_HIGH>;
    output-high;
    line-name = "FET_SWITCH_CTRL";
    };
    };

    &uart3 {
    pinctrl-names = "default";
    pinctrl-0 = <&uart3_pins_default>;
    status = "okay";
    };

    &gpio3 {
    p4 {
    gpio-hog;
    gpios = <4 GPIO_ACTIVE_HIGH>;
    output-high;
    line-name = "PR1_MII_CTRL";
    };

    p10 {
    gpio-hog;
    gpios = <10 GPIO_ACTIVE_HIGH>;
    /* ETH1 mux: Low for MII-PRU, high for RMII-CPSW */
    output-high;
    line-name = "MUX_MII_CTL1";
    };
    };

    &cpsw_emac0 {
    phy_id = <&davinci_mdio>, <1>;
    phy-mode = "rmii";
    dual_emac_res_vlan = <1>;
    };

    &cpsw_emac1 {
    phy_id = <&davinci_mdio>, <3>;
    phy-mode = "rmii";
    dual_emac_res_vlan = <2>;
    };

    &mac {
    pinctrl-names = "default", "sleep";
    pinctrl-0 = <&cpsw_default>;
    pinctrl-1 = <&cpsw_sleep>;
    status = "okay";
    dual_emac;
    };

    &phy_sel {
    rmii-clock-ext;
    };

    &davinci_mdio {
    pinctrl-names = "default", "sleep";
    pinctrl-0 = <&davinci_mdio_default>;
    pinctrl-1 = <&davinci_mdio_sleep>;
    status = "okay";
    reset-gpios = <&gpio2 5 GPIO_ACTIVE_LOW>;
    reset-delay-us = <2>; /* PHY datasheet states 1uS min */
    };

    &pruss_soc_bus {
    status = "okay";

    pruss: pruss@4a300000 {
    status = "okay";

    pru0: pru@4a334000 {
    status = "okay";
    };

    pru1: pru@4a338000 {
    status = "okay";
    };
    };
    };

    &pruss_mdio {
    pinctrl-0 = <&pruss_mdio_default>;
    pinctrl-names = "default";
    reset-gpios = <&gpio2 5 GPIO_ACTIVE_LOW>;
    reset-delay-us = <2>; /* PHY datasheet states 1uS min */
    status = "disabled";

    pruss_eth0_phy: ethernet-phy@1 {
    reg = <1>;
    };

    pruss_eth1_phy: ethernet-phy@3 {
    reg = <3>;
    };
    };
  • Ashok,

    After looking at your attached boot log it appears like you are doing everything right. I can tell that your jumpers are set correctly to use the PRU Ethernet and that the kernel is trying to load the prueth Linux driver.

    Your boot log also shows a kernel Oops while trying to run the prueth_probe function which explains why you don't see the PRU Ethernet ports when you list the available interfaces from user space.

    I've reached out to the developers to see if they have any suggestions and will let you know what they come back with.

    Can you confirm that you are using a newly created SD card from the RT Linux Processor SDK version 4.0.0.4?

    Jason Reeder
  • Thanks Jason Reeeder for your reply,

    I have confirmed that newly SD Card is prepared from  Linux-RT Processor SDK 4.0.0.4 from pre-built images.But it failed to list the eth0 and eth1 in ifconfig command.

    I think remoteproc driver could not load  am335x-pru0-prueth0-fw.elf ,am335x-pru0-prueth1-fw.elf. I could not see the name of this ELF file in my log.

    Please could you provide me log for AM335x-icev2 board so I could also find where is going wrong.

    Thanks and Regards,

    Ashok Wakode

  • Ashok,

    I've been able to replicate this error on my desk and my log is the same as yours. I've notified the developers and will let you know what they come back with.

    Jason Reeder
  • Ashok,

    After contacting the developers I found out that this is a known issue in this release of the Processor SDK (v4.0.0.4). A fix has been identified and will be available in the upcoming release due out at the end of this quarter (should be available for download at the beginning of next month).

    Jason Reeder