Other Parts Discussed in Thread: AM4372
Tool/software: Linux
Dear,
We developed a board broadly based on AM437X-gp-evm and using SDK 4.02. Our board has dual ethernet ports. Both the ports links are established with other system. But it is not able to ping with other system.
If i enter "ifconfig", it shows both the ports(eth0 and eth1).Please find attached boot log..
I2C: ready DRAM: 2 GiB PMIC: TPS65218 NAND: 0 MiB MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1 reading uboot.env Ignoring I2C EEPROM Futura Automation ARM SBC 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 uEnv.txt ** Unable to read file uEnv.txt ** 3618960 bytes read in 170 ms (20.3 MiB/s) 53401 bytes read in 10 ms (5.1 MiB/s) Booting from mmc0 ... Kernel image @ 0x82000000 [ 0x000000 - 0x373890 ] ## Flattened Device Tree blob at 88000000 Booting using the fdt blob at 0x88000000 Loading Device Tree to 8ffef000, end 8ffff098 ... OK Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.9.41-ge3a80a1c5c (futura@futura) (gcc version 6.8 [ 0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instructie [ 0.000000] OF: fdt:Machine model: TI AM437x GP EVM [ 0.000000] efi: Getting EFI parameters from FDT: [ 0.000000] efi: UEFI not found. [ 0.000000] cma: Reserved 48 MiB at 0xfcc00000 [ 0.000000] Memory policy: Data cache writeback [ 0.000000] CPU: All CPU(s) started in SVC mode. [ 0.000000] AM437x ES1.2 (sgx neon) [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pa9 [ 0.000000] Kernel command line: console=ttyO0,115200n8 root=PARTUUID=0005det [ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes) [ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) [ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Memory: 2016636K/2097148K available (7168K kernel code, 291K rwd) [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB) [ 0.000000] vmalloc : 0xf0800000 - 0xff800000 ( 240 MB) [ 0.000000] lowmem : 0xc0000000 - 0xf0000000 ( 768 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 - 0xc0c48d08 ( 292 kB) [ 0.000000] .bss : 0xc0c48d08 - 0xc0c8f3f4 ( 282 kB) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] Build-time adjustment of leaf fanout to 32. [ 0.000000] NR_IRQS:16 nr_irqs:16 16 [ 0.000000] L2C: platform modifies aux control register: 0x0e030000 -> 0x3e40 [ 0.000000] L2C: DT/platform modifies aux control register: 0x0e030000 -> 0x0 [ 0.000000] L2C-310 enabling early BRESP for Cortex-A9 [ 0.000000] OMAP L2C310: ROM does not support power control setting [ 0.000000] L2C-310 dynamic clock gating disabled, standby mode disabled [ 0.000000] L2C-310 cache controller enabled, 16 ways, 256 kB [ 0.000000] L2C-310: CACHE_ID 0x410000c9, AUX_CTRL 0x4e430000 [ 0.000000] OMAP clockevent source: timer2 at 24000000 Hz [ 0.000010] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 8947s [ 0.000029] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, mas [ 0.000037] OMAP clocksource: timer1 at 24000000 Hz [ 0.000423] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xfffffffs [ 0.000433] OMAP clocksource: 32k_counter at 32768 Hz [ 0.000785] Console: colour dummy device 80x30 [ 0.000810] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0' [ 0.000816] This ensures that you still see kernel messages. Please [ 0.000820] update your kernel commandline. [ 0.000840] Calibrating delay loop... 1987.37 BogoMIPS (lpj=9936896) [ 0.060171] pid_max: default: 32768 minimum: 301 [ 0.060284] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.060295] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.061048] CPU: Testing write buffer coherency: ok [ 0.061389] Setting up static identity map for 0x80100000 - 0x80100060 [ 0.062118] EFI services will not be available. [ 0.063050] devtmpfs: initialized [ 0.074389] VFP support v0.3: implementor 41 architecture 3 part 30 variant 4 [ 0.074674] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ms [ 0.074698] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.077955] pinctrl core: initialized pinctrl subsystem [ 0.079051] NET: Registered protocol family 16 [ 0.080412] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.180182] cpuidle: using governor ladder [ 0.210170] cpuidle: using governor menu [ 0.211820] omap_l3_noc 44000000.ocp: L3 debug error: target 8 mod:0 (unclea) [ 0.211882] omap_l3_noc 44000000.ocp: L3 application error: target 8 mod:0 () [ 0.216245] omap_gpio 44e07000.gpio: could not find pctldev for node /ocp@44e [ 0.216539] omap_gpio 4804c000.gpio: could not find pctldev for node /ocp@44e [ 0.216809] omap_gpio 481ac000.gpio: could not find pctldev for node /ocp@44e [ 0.217060] omap_gpio 481ae000.gpio: could not find pctldev for node /ocp@44e [ 0.217315] omap_gpio 48320000.gpio: could not find pctldev for node /ocp@44e [ 0.219002] OMAP GPIO hardware version 0.1 [ 0.226260] No ATAGs? [ 0.226288] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint. [ 0.226299] hw-breakpoint: maximum watchpoint size is 4 bytes. [ 0.266715] edma 49000000.edma: TI EDMA DMA engine driver [ 0.270586] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp@4400e [ 0.270643] omap_i2c 4802a000.i2c: could not find pctldev for node /ocp@4400e [ 0.270769] media: Linux media interface: v0.10 [ 0.270812] Linux video capture interface: v2.00 [ 0.270849] pps_core: LinuxPPS API ver. 1 registered [ 0.270856] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giom> [ 0.270884] PTP clock support registered [ 0.270919] EDAC MC: Ver: 3.0.0 [ 0.271747] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400 [ 0.272081] Advanced Linux Sound Architecture Driver Initialized. [ 0.273054] clocksource: Switched to clocksource timer1 [ 0.281286] NET: Registered protocol family 2 [ 0.281957] TCP established hash table entries: 8192 (order: 3, 32768 bytes) [ 0.282023] TCP bind hash table entries: 8192 (order: 3, 32768 bytes) [ 0.282098] TCP: Hash tables configured (established 8192 bind 8192) [ 0.282235] UDP hash table entries: 512 (order: 1, 8192 bytes) [ 0.282257] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes) [ 0.282384] NET: Registered protocol family 1 [ 0.282754] RPC: Registered named UNIX socket transport module. [ 0.282765] RPC: Registered udp transport module. [ 0.282771] RPC: Registered tcp transport module. [ 0.282776] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.285090] workingset: timestamp_bits=14 max_order=19 bucket_order=5 [ 0.290232] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.290957] NFS: Registering the id_resolver key type [ 0.290987] Key type id_resolver registered [ 0.290994] Key type id_legacy registered [ 0.291035] ntfs: driver 2.1.32 [Flags: R/O]. [ 0.292473] bounce: pool size: 64 pages [ 0.292661] Block layer SCSI generic (bsg) driver version 0.4 loaded (major ) [ 0.292672] io scheduler noop registered [ 0.292679] io scheduler deadline registered [ 0.292781] io scheduler cfq registered (default) [ 0.295843] pinctrl-single 44e10800.pinmux: 199 pins at pa f9e10800 size 796 [ 0.298548] backlight supply power not found, using dummy regulator [ 0.344913] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled [ 0.347382] omap8250 44e09000.serial: No clock speed specified: using defaul0 [ 0.348150] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 30, base_baud =0 [ 1.089452] console [ttyS0] enabled [ 1.093427] omap8250 48022000.serial: No clock speed specified: using defaul0 [ 1.102070] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 31, base_baud =0 [ 1.111271] omap8250 48024000.serial: No clock speed specified: using defaul0 [ 1.119969] 48024000.serial: ttyS2 at MMIO 0x48024000 (irq = 32, base_baud =0 [ 1.129149] omap8250 481a6000.serial: No clock speed specified: using defaul0 [ 1.137813] 481a6000.serial: ttyS3 at MMIO 0x481a6000 (irq = 33, base_baud =0 [ 1.147005] omap8250 481a8000.serial: No clock speed specified: using defaul0 [ 1.155662] 481a8000.serial: ttyS4 at MMIO 0x481a8000 (irq = 34, base_baud =0 [ 1.164833] omap8250 481aa000.serial: No clock speed specified: using defaul0 [ 1.173490] 481aa000.serial: ttyS5 at MMIO 0x481aa000 (irq = 35, base_baud =0 [ 1.183965] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20 [ 1.190750] [drm] Initialized [ 1.195148] 4832a000.dss supply vdda_video not found, using dummy regulator [ 1.202248] OMAP DSS rev 2.0 [ 1.205377] omapdss_dss 4832a000.dss: bound 4832a400.dispc (ops dispc_compon) [ 1.214455] display supply vcc not found, using dummy regulator [ 1.233016] brd: module loaded [ 1.241918] loop: module loaded [ 1.247502] libphy: Fixed MDIO Bus: probed [ 1.323117] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6 [ 1.329253] davinci_mdio 4a101000.mdio: detected phy mask fffffffe [ 1.336351] libphy: 4a101000.mdio: probed [ 1.340397] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driY [ 1.350916] cpsw 4a100000.ethernet: Detected MACID = a0:f6:fd:60:41:a1 [ 1.357678] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies) [ 1.365804] cpsw 4a100000.ethernet: cpsw: Detected MACID = a0:f6:fd:60:41:a3 [ 1.374192] mousedev: PS/2 mouse device common for all mice [ 1.380109] i2c /dev entries driver [ 1.385519] cpuidle: enable-method property 'ti,am4372' found operations [ 1.513269] pinctrl-single 44e10800.pinmux: pin PIN79 already requested by 4c [ 1.524633] pinctrl-single 44e10800.pinmux: pin-79 (47810000.mmc) status -22 [ 1.531868] pinctrl-single 44e10800.pinmux: could not request pin 79 (PIN79)e [ 1.543839] omap_hsmmc 47810000.mmc: Error applying setting, reverse things k [ 1.552348] omap_hsmmc: probe of 47810000.mmc failed with error -22 [ 1.561435] ledtrig-cpu: registered to indicate activity on CPUs [ 1.569329] pinctrl-single 44e10800.pinmux: pin PIN74 already requested by 4p [ 1.580889] pinctrl-single 44e10800.pinmux: pin-74 (4803c000.mcasp) status -2 [ 1.588263] pinctrl-single 44e10800.pinmux: could not request pin 74 (PIN74)e [ 1.600703] davinci-mcasp 4803c000.mcasp: Error applying setting, reverse thk [ 1.610606] mmc0: host does not support reading read-only switch, assuming we [ 1.618742] mmc0: new high speed SDHC card at address aaaa [ 1.624296] davinci-mcasp: probe of 4803c000.mcasp failed with error -22 [ 1.624985] NET: Registered protocol family 10 [ 1.637419] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver [ 1.638025] NET: Registered protocol family 17 [ 1.638315] Key type dns_resolver registered [ 1.638518] omap_voltage_late_init: Voltage driver support not added [ 1.644706] omapdrm omapdrm.0: DMM not available, disable DMM support [ 1.645172] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [ 1.645177] [drm] No driver support for vblank timestamp query. [ 1.693850] mmc1: switch to bus width 8 failed [ 1.700375] mmc1: new high speed MMC card at address 0001 [ 1.703005] mmcblk0: mmc0:aaaa SC16G 14.8 GiB [ 1.703837] mmcblk1: mmc1:0001 00016G 14.6 GiB [ 1.704158] mmcblk1boot0: mmc1:0001 00016G partition 1 4.00 MiB [ 1.704417] mmcblk1boot1: mmc1:0001 00016G partition 2 4.00 MiB [ 1.708354] mmcblk0: p1 p2 [ 1.760513] Console: switching to colour frame buffer device 128x48 [ 1.812557] omapdrm omapdrm.0: fb0: omapdrm frame buffer device [ 1.846159] GPIO line 92 (eMMC Resetn) hogged as output/high [ 1.853412] pinctrl-single 44e10800.pinmux: pin PIN35 already requested by 4o [ 1.864590] pinctrl-single 44e10800.pinmux: pin-35 (481ac000.gpio) status -22 [ 1.871778] pinctrl-single 44e10800.pinmux: could not request pin 35 (PIN35)e [ 1.883784] omap_gpio 481ac000.gpio: Error applying setting, reverse things k [ 1.891238] omap_gpio: probe of 481ac000.gpio failed with error -22 [ 1.948933] omap_i2c 44e0b000.i2c: bus 0 rev0.12 at 100 kHz [ 1.955803] omap_i2c 4802a000.i2c: bus 1 rev0.12 at 100 kHz [ 1.963642] hctosys: unable to open rtc device (rtc0) [ 1.969440] vmmcwl_fixed: disabling [ 1.972960] ALSA device list: [ 1.976069] No soundcards found. [ 1.992586] random: fast init done [ 2.368773] EXT4-fs (mmcblk0p2): warning: mounting fs with errors, running ed [ 2.382248] EXT4-fs (mmcblk0p2): recovery complete [ 2.388270] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. ) [ 2.396505] VFS: Mounted root (ext4 filesystem) on device 179:18. [ 2.408139] devtmpfs: mounted [ 2.413042] Freeing unused kernel memory: 1024K (c0b00000 - c0c00000) [ 2.663866] systemd[1]: System time before build time, advancing clock. [ 2.738178] systemd[1]: systemd 230 running in system mode. (+PAM -AUDIT -SE) [ 2.757194] systemd[1]: Detected architecture arm. Welcome to Arago 2017.06! [ 2.797325] systemd[1]: Set hostname to <am437x-evm>. [ 3.335768] systemd[1]: sysinit.target: Found ordering cycle on sysinit.targt [ 3.343695] systemd[1]: sysinit.target: Found dependency on alignment.servict [ 3.351409] systemd[1]: sysinit.target: Found dependency on basic.target/stat [ 3.358779] systemd[1]: sysinit.target: Found dependency on sockets.target/st [ 3.366248] systemd[1]: sysinit.target: Found dependency on dbus.socket/start [ 3.373448] systemd[1]: sysinit.target: Found dependency on sysinit.target/st [ 3.380889] systemd[1]: sysinit.target: Breaking ordering cycle by deleting t [ SKIP ] Ordering cycle found, skipping alignment.service [ SKIP ] Ordering cycle found, skipping Sockets [ SKIP ] Ordering cycle found, skipping eGTouch.service [ OK ] Listening on Journal Socket (/dev/log). [ OK ] Listening on Syslog Socket. [ OK ] Listening on udev Kernel Socket. [ OK ] Reached target Swap. [ OK ] Listening on /dev/initctl Compatibility Named Pipe. [ OK ] Started Forward Password Requests to Wall Directory Watch. [ OK ] Reached target Remote File Systems. [ OK ] Listening on Process Core Dump Socket. [ OK ] Started Dispatch Password Requests to Console Directory Watch. [ OK ] Listening on udev Control Socket. [ OK ] Listening on Journal Socket. [ OK ] Created slice System Slice. Starting Setup Virtual Console... Starting Create list of required st... nodes for the current kernel... Mounting POSIX Message Queue File System... [ OK ] Created slice system-getty.slice. Starting Remount Root and Kernel File Systems... [ OK ] Created slice system-serial\x2dgetty.slice. Starting Journal Service... [ 4.118696] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null) Mounting Temporary Directory... Starting Psplash Boot Screen... Mounting Debug File System... Starting Load Kernel Modules... [ OK ] Reached target Paths. [ OK ] Created slice User and Session Slice. [ 4.295665] cmemk: loading out-of-tree module taints kernel. [ OK ] Reached target Slices. [ 4.325467] CMEMK module: reference Linux version 4.9.41 [ 4.343533] no physical memory specified [ 4.347505] cmemk initialized [ OK ] Listening on Network Service Netlink Socket. [ 4.383522] cryptodev: driver 1.8 loaded. [ OK ] Mounted POSIX Message Queue File System. [ OK ] Mounted Debug File System. [ OK ] Mounted Temporary Directory. [ OK ] Started Journal Service. [ OK ] Started Setup Virtual Console. [ OK ] Started Create list of required sta...ce nodes for the current kernel. [ OK ] Started Remount Root and Kernel File Systems. [ OK ] Started Psplash Boot Screen. [ OK ] Started Load Kernel Modules. Mounting Configuration File System... Starting Apply Kernel Variables... Starting udev Coldplug all Devices... Starting Create Static Device Nodes in /dev... Starting Flush Journal to Persistent Storage... [ OK ] Mounted Configuration File System. [ OK ] Started Apply Kernel Variables. [ OK ] Started Create Static Device Nodes in /dev. [ 5.016386] systemd-journald[100]: Received request to flush runtime journal1 Starting udev Kernel Device Manager... [ OK ] Reached target Local File Systems (Pre). Mounting /media/ram... Mounting /var/volatile... [ OK ] Mounted /var/volatile. [ OK ] Mounted /media/ram. [ OK ] Started udev Kernel Device Manager. [ OK ] Started Flush Journal to Persistent Storage. Starting Load/Save Random Seed... [ OK ] Reached target Local File Systems. Starting Create Volatile Files and Directories... [ OK ] Started Load/Save Random Seed. [ 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. [ 6.532069] remoteproc remoteproc0: wkup_m3 is available [ 6.569515] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec [ 6.629151] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0 [ 6.698393] adv7180 0-0021: chip found @ 0x21 (OMAP I2C adapter) [ 6.723437] adv7180: probe of 0-0021 failed with error -121 [ 6.830941] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle [ OK ] Found device /dev/ttyS0. [ 7.032080] remoteproc remoteproc0: powering up wkup_m3 [ OK ] Started udev Coldplug all Devices. [ 7.141224] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf,4 [ 7.202062] CAN device driver interface [ 7.255330] c_can_platform 481cc000.can: c_can_platform device registered (r) [ 7.300920] c_can_platform 481d0000.can: c_can_platform device registered (r) [ OK ] Reached target System Initialization. [ 7.495445] remoteproc remoteproc0: remote processor wkup_m3 is now up [ 7.504174] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192 [ OK ] Reached target Basic System. Starting Terminate Psplash Boot Screen... [ OK ] Listening on dropbear.socket. [ OK ] Listening on RPCbind Server Activation Socket. [ 7.848220] omap-sham 53100000.sham: hw accel on OMAP rev 0.0 Starting Print notice about GPLv3 packages... [ OK ] Started Kernel Logging Service. Starting uim-sysfs.service... [ OK ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket. [ OK ] Started Daily Cleanup of Temporary Directories. [ OK ] Reached target Timers. [ 8.069587] omap-aes 53501000.aes: OMAP AES hw accel rev: 0.1 [ 8.137858] omap-aes 53501000.aes: will run requests pump with realtime prioy [ 8.205423] omap-des 53701000.des: OMAP DES hw accel rev: 0.33 [ 8.222037] omap-des 53701000.des: will run requests pump with realtime prioy [ 8.304730] [drm] Initialized pvr 1.14.3699939 20110701 on minor 1 [ OK ] Started System Logging Service. [ OK ] Listening on D-Bus System Message Bus Socket. Starting Telephony service... Starting Avahi mDNS/DNS-SD Stack... [ 8.792243] PM: bootloader does not support rtc-only! [ OK ] Started D-Bus System Message Bus. [ OK ] Started Telephony service. [ OK ] Started Avahi mDNS/DNS-SD Stack. Starting Network Service... Starting Login Service... [ 10.338765] Bluetooth: Core ver 2.22 [ 10.447891] NET: Registered protocol family 31 [ 10.452373] Bluetooth: HCI device and connection manager initialized [ 10.607340] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data. [ OK ] Started Terminate Psplash Boot Screen. [ 10.903187] Bluetooth: HCI socket layer initialized [ 10.910341] Bluetooth: L2CAP socket layer initialized [ OK ] Started Network Service. [ 11.163978] Bluetooth: SCO socket layer initialized [ 11.312819] net eth1: initializing cpsw version 1.15 (0) [ 11.410902] net eth0: initialized cpsw ale version 1.4 [ 11.503898] net eth0: ALE Table size 1024 [ 11.566562] libphy: PHY 4a101000.mdio:01 not found [ 11.571405] net eth1: phy "4a101000.mdio:01" not found on slave 1, err -19 [ 11.808290] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready [ 11.985312] net eth0: initializing cpsw version 1.15 (0) [ 12.087136] Micrel KSZ9031 Gigabit PHY 4a101000.mdio:00: attached PHY driver) [ 12.334796] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ OK ] Started Login Service. [ OK ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch. [ OK ] Created slice system-systemd\x2dbacklight.slice. Starting Load/Save Screen Backlight...htness of backlight:backlight... [ OK ] Reached target Network. Starting Permit User Sessions... Starting Enable and configure wl18xx bluetooth stack... Starting Simple Network Management Protocol (SNMP) Daemon.... [ OK ] Started Myinit scripts. Starting Lightning Fast Webserver With Light System Requirements... [ OK ] Started strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf. Starting Network Name Resolution... [ OK ] Started Load/Save Screen Backlight Brightness of backlight:backlight. [ OK ] Started Permit User Sessions. [ OK ] Started Lightning Fast Webserver With Light System Requirements. [ OK ] Started Serial Getty on ttyS0. [ OK ] Started Getty on tty1. [ OK ] Reached target Login Prompts. Starting Synchronize System and HW clocks... [ OK ] Started Network Name Resolution. [ OK ] Started Synchronize System and HW clocks. [ 14.055369] NET: Registered protocol family 15 [ OK ] Started Enable and configure wl18xx bluetooth stack. [ 15.007789] Initializing XFRM netlink socket [ OK ] Started Simple Network Management Protocol (SNMP) Daemon.. [ 15.164429] random: crng init done [ 16.753047] usbcore: registered new interface driver usbfs [ 16.803651] usbcore: registered new interface driver hub [ 16.842139] usbcore: registered new device driver usb [ 16.916914] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller [ 16.967078] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus n1 [ 17.036234] xhci-hcd xhci-hcd.3.auto: hcc params 0x0238f06d hci version 0x100 [ 17.103270] xhci-hcd xhci-hcd.3.auto: irq 261, io mem 0x48390000 [ 17.156850] hub 1-0:1.0: USB hub found [ 17.195419] hub 1-0:1.0: 1 port detected [ 17.227716] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller [ 17.275451] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus n2 [ 17.330050] usb usb2: We don't know the algorithms for LPM for this host, di. [ 17.392048] hub 2-0:1.0: USB hub found [ 17.410874] hub 2-0:1.0: 1 port detected [ 17.450221] xhci-hcd xhci-hcd.4.auto: xHCI Host Controller [ 17.484235] xhci-hcd xhci-hcd.4.auto: new USB bus registered, assigned bus n3 [ 17.533845] xhci-hcd xhci-hcd.4.auto: hcc params 0x0238f06d hci version 0x100 [ 17.542686] xhci-hcd xhci-hcd.4.auto: irq 262, io mem 0x483d0000 [ 17.630378] hub 3-0:1.0: USB hub found [ 17.647362] hub 3-0:1.0: 1 port detected [ 17.680259] xhci-hcd xhci-hcd.4.auto: xHCI Host Controller [ 17.720539] xhci-hcd xhci-hcd.4.auto: new USB bus registered, assigned bus n4 [ 17.767635] usb usb4: We don't know the algorithms for LPM for this host, di. [ 17.831755] hub 4-0:1.0: USB hub found [ 17.848849] hub 4-0:1.0: 1 port detected *************************************************************** *************************************************************** NOTICE: This file system contains the following GPLv3 packages: autoconf binutils cifs-utils 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 *************************************************************** *************************************************************** [ 19.568289] PVR_K: UM DDK-(3699939) and KM DDK-(3699939) match. [ OK ] _____ _____ _ _ | _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_ | | _| .'| . | . | | __| _| . | | | -_| _| _| |__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_| |___| |___| Arago Project http://arago-project.org am437x-evm ttyS0 Arago 2017.06 am437x-evm ttyS0 am437x-evm login: root root@am437x-evm:~# ifconfig eth0 Link encap:Ethernet HWaddr A0:F6:FD:60:41:A1 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:84 eth1 Link encap:Ethernet HWaddr A0:F6:FD:60:41:A3 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) 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)
My dts entries as given below.
cpsw_default: cpsw_default {
pinctrl-single,pins = <
0x40 (PIN_OUTPUT_PULLDOWN | MUX_MODE2 ) /* (C3) gpmc_a0.rgmii2_tctl */
0x44 (PIN_INPUT_PULLDOWN | MUX_MODE2 ) /* (C5) gpmc_a1.rgmii2_rctl */
0x58 (PIN_OUTPUT_PULLDOWN | MUX_MODE2 ) /* (E8) gpmc_a6.rgmii2_tclk */
0x5c (PIN_INPUT_PULLDOWN | MUX_MODE2 ) /* (F6) gpmc_a7.rgmii2_rclk */
0x54 (PIN_OUTPUT_PULLDOWN | MUX_MODE2 ) /* (E7) gpmc_a5.rgmii2_td0 */
0x50 (PIN_OUTPUT_PULLDOWN | MUX_MODE2 ) /* (D7) gpmc_a4.rgmii2_td1 */
0x4c (PIN_OUTPUT_PULLDOWN | MUX_MODE2 ) /* (A4) gpmc_a3.rgmii2_td2 */
0x48 (PIN_OUTPUT_PULLDOWN | MUX_MODE2 ) /* (C6) gpmc_a2.rgmii2_td3 */
0x6c (PIN_INPUT_PULLDOWN | MUX_MODE2 ) /* (D8) gpmc_a11.rgmii2_rd0 */
0x68 (PIN_INPUT_PULLDOWN | MUX_MODE2 ) /* (G8) gpmc_a10.rgmii2_rd1 */
0x64 (PIN_INPUT_PULLDOWN | MUX_MODE2 ) /* (B4) gpmc_a9.rgmii2_rd2 */
0x60 (PIN_INPUT_PULLDOWN | MUX_MODE2 ) /* (F7) gpmc_a8.rgmii2_rd3 */
>;
};
/* Optional sleep pin settings. Must manually enter values in the below skeleton. */
cpsw_sleep: cpsw_sleep {
pinctrl-single,pins = <
0x40 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (C3) gpmc_a0.rgmii2_tctl */
0x44 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (C5) gpmc_a1.rgmii2_rctl */
0x58 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (E8) gpmc_a6.rgmii2_tclk */
0x5c (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (F6) gpmc_a7.rgmii2_rclk */
0x54 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (E7) gpmc_a5.rgmii2_td0 */
0x50 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (D7) gpmc_a4.rgmii2_td1 */
0x4c (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (A4) gpmc_a3.rgmii2_td2 */
0x48 (PIN_INPUT_PULLDOWN | MUX_MODE7 ) /* (C6) gpmc_a2.rgmii2_td3 */
0x6c (PIN_INPUT | PULL_DISABLE | MUX_MODE7 ) /* (D8) gpmc_a11.rgmii2_rd0 */
0x68 (PIN_INPUT | PULL_DISABLE | MUX_MODE7 ) /* (G8) gpmc_a10.rgmii2_rd1 */
0x64 (PIN_INPUT | PULL_DISABLE | MUX_MODE7 ) /* (B4) gpmc_a9.rgmii2_rd2 */
0x60 (PIN_INPUT | PULL_DISABLE | MUX_MODE7 ) /* (F7) gpmc_a8.rgmii2_rd3 */
>;
};
cpsw_default1: cpsw_default1 {
pinctrl-single,pins = <
0x114 ( PIN_OUTPUT_PULLDOWN | MUX_MODE2 ) /* (A13) mii1_tx_en.rgmii1_tctl */
0x118 ( PIN_INPUT_PULLDOWN | MUX_MODE2 ) /* (A15) mii1_rx_dv.rgmii1_rctl */
0x12c ( PIN_OUTPUT_PULLDOWN | MUX_MODE2 ) /* (D14) mii1_tx_clk.rgmii1_tclk */
0x130 ( PIN_INPUT_PULLDOWN | MUX_MODE2 ) /* (D13) mii1_rx_clk.rgmii1_rclk */
0x128 ( PIN_OUTPUT_PULLDOWN | MUX_MODE2 ) /* (B15) mii1_txd0.rgmii1_td0 */
0x124 ( PIN_OUTPUT_PULLDOWN | MUX_MODE2 ) /* (A14) mii1_txd1.rgmii1_td1 */
0x120 ( PIN_OUTPUT_PULLDOWN | MUX_MODE2 ) /* (C13) mii1_txd2.rgmii1_td2 */
0x11c ( PIN_OUTPUT_PULLDOWN | MUX_MODE2 ) /* (C16) mii1_txd3.rgmii1_td3 */
0x140 ( PIN_INPUT_PULLDOWN | MUX_MODE2 ) /* (F17) mii1_rxd0.rgmii1_rd0 */
0x13c ( PIN_INPUT_PULLDOWN | MUX_MODE2 ) /* (B16) mii1_rxd1.rgmii1_rd1 */
0x138 ( PIN_INPUT_PULLDOWN | MUX_MODE2 ) /* (E16) mii1_rxd2.rgmii1_rd2 */
0x134 ( PIN_INPUT_PULLDOWN | MUX_MODE2 ) /* (C14) mii1_rxd3.rgmii1_rd3 */
>;
};
/* Optional sleep pin settings. Must manually enter values in the below skeleton. */
cpsw_sleep1: cpsw_sleep1 {
pinctrl-single,pins = <
0x114 (PIN_INPUT_PULLDOWN ) /* (A13) mii1_tx_en.rgmii1_tctl */
0x118 (PIN_INPUT_PULLDOWN ) /* (A15) mii1_rx_dv.rgmii1_rctl */
0x12c (PIN_INPUT_PULLDOWN ) /* (D14) mii1_tx_clk.rgmii1_tclk */
0x130 (PIN_INPUT_PULLDOWN ) /* (D13) mii1_rx_clk.rgmii1_rclk */
0x128 (PIN_INPUT_PULLDOWN ) /* (B15) mii1_txd0.rgmii1_td0 */
0x124 (PIN_INPUT_PULLDOWN ) /* (A14) mii1_txd1.rgmii1_td1 */
0x120 (PIN_INPUT_PULLDOWN ) /* (C13) mii1_txd2.rgmii1_td2 */
0x11c (PIN_INPUT_PULLDOWN ) /* (C16) mii1_txd3.rgmii1_td3 */
0x140 (PIN_INPUT | PULL_DISABLE ) /* (F17) mii1_rxd0.rgmii1_rd0 */
0x13c (PIN_INPUT | PULL_DISABLE ) /* (B16) mii1_rxd1.rgmii1_rd1 */
0x138 (PIN_INPUT | PULL_DISABLE ) /* (E16) mii1_rxd2.rgmii1_rd2 */
0x134 (PIN_INPUT | PULL_DISABLE ) /* (C14) mii1_rxd3.rgmii1_rd3 */
>;
};
davinci_mdio_default: davinci_mdio_default {
pinctrl-single,pins = <
0x148 (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0) /* (A17) mdio_data.mdio_data */
0x14c (PIN_OUTPUT_PULLUP | MUX_MODE0) /* (B17) mdio_clk.mdio_clk */
>;
};
/* Optional sleep pin settings. Must manually enter values in the below skeleton. */
davinci_mdio_sleep: davinci_mdio_sleep {
pinctrl-single,pins = <
0x148 (PIN_INPUT | PULL_DISABLE | MUX_MODE7 ) /* (A17) mdio_data.mdio_data */
0x14c (PIN_INPUT | PULL_DISABLE | MUX_MODE7 ) /* (B17) mdio_clk.mdio_clk */
>;
};
&mac {
slaves = <2>;
pinctrl-names = "default", "sleep";
pinctrl-0 = <&cpsw_default &cpsw_default1>;
pinctrl-1 = <&cpsw_sleep &cpsw_sleep1>;
active_slave = <2>;
dual_emac;
status = "okay";
};
&davinci_mdio {
pinctrl-names = "default", "sleep";
pinctrl-0 = <&davinci_mdio_default>;
pinctrl-1 = <&davinci_mdio_sleep>;
status = "okay";
};
/*&cpsw_emac1 to emac0 --wini */
&cpsw_emac0 {
phy_id = <&davinci_mdio>, <0>;
phy-mode = "rgmii";
dual_emac_res_vlan = <1>;
};
&cpsw_emac1 {
phy_id = <&davinci_mdio>, <1>;
phy-mode = "rgmii";
dual_emac_res_vlan = <2>;
};
What is the problem in above entries? How do I use dual ethernet ports simultaneously?
Regards,
Winiston.P