Hi everyone,
I'm stuck for ethernet for my custom board is running Android.
My custom board could run Linux with ethernet properly but when i ported to run android, i failed to run it with ethernet to ping address
U-Boot 2014.04-08648-g9d7bf9b-dirty (Oct 20 2015 - 11:16:18)
CPU: Freescale i.MX6Q rev1.5 at 792 MHz
CPU: Temperature 34 C, calibration data: 0x5774e569
Reset cause: POR
Board: MX6-SabreSD
I2C: ready
DRAM: 2 GiB
MMC: FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2
No panel detected: default to Hannstar-XGA
Display: Hannstar-XGA (1024x768)
In: serial
Out: serial
Err: serial
Found PFUZE100 deviceid=10,revid=21
check_and_clean: reg 0, flag_set 0
Fastboot: Normal
flash target is MMC:1
Net: FEC [PRIME]
Warning: failed to set MAC address
Normal Boot
Hit any key to stop autoboot: 1 0
booti mmc1
kernel @ 14008000 (7272176)
ramdisk @ 15000000 (867688)
fdt @ 14f00000 (44000)
kernel cmdline:
use boot.img command line:
console=ttymxc0,115200 init=/init video=mxcfb0:dev=hdmi,1280x1024M@60,if=RGB24,bpp=32 video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off vmalloc=256M androidboot.console=ttymxc0 consoleblank=0 androidboot.hardware=freescale cma=384M mtdparts=gpmi-nand:16m (bootloader), 16m(bootimg),16m(recovery),-(root) ubi.mtd=4 calibration enable_wait_mode=off no_console_suspend androidboot.selinux=disabled androidboot.dm_verity=disabled noinitrd rootwait
switch to ldo_bypass mode!
Using Device Tree in place at 14f00000, end 14f0dbdf
Starting kernel ...
Booting Linux on physical CPU 0x0
Initializing cgroup subsys cpu
Initializing cgroup subsys cpuacct
Linux version 3.14.52-141236-g279192c-dirty (styl@styl-virtual-machine) (gcc version 4.6.x-google 20120106 (prerelease) (GCC) ) #16 SMP PREEMPT Tue Apr 5 16:00:22 ICT 2016
CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine model: Freescale i.MX6 Quad SABRE Smart Device Board
cma: CMA: reserved 384 MiB at 26000000
Memory policy: Data cache writealloc
PERCPU: Embedded 8 pages/cpu @eeefc000 s9152 r8192 d15424 u32768
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 522528
Kernel command line: console=ttymxc0,115200 init=/init video=mxcfb0:dev=hdmi,1280x1024M@60,if=RGB24,bpp=32 video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off vmalloc=256M androidboot.console=ttymxc0 consoleblank=0 androidboot.hardware=freescale cma=384M mtdparts=gpmi-nand:16m (bootloader), 16m(bootimg),16m(recovery),-(root) ubi.mtd=4 calibration enable_wait_mode=off no_console_suspend androidboot.selinux=disabled androidboot.dm_verity=disabled noinitrd rootwait
PID hash table entries: 4096 (order: 2, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 1669948K/2096128K available (9013K kernel code, 668K rwdata, 3124K rodata, 432K init, 607K bss, 426180K reserved, 1326080K highmem)
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
vmalloc : 0xef800000 - 0xff000000 ( 248 MB)
lowmem : 0xc0000000 - 0xef000000 ( 752 MB)
pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
.text : 0xc0008000 - 0xc0be27bc (12138 kB)
.init : 0xc0be3000 - 0xc0c4f3c0 ( 433 kB)
.data : 0xc0c50000 - 0xc0cf7320 ( 669 kB)
.bss : 0xc0cf732c - 0xc0d8efd4 ( 608 kB)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
Preemptible hierarchical RCU implementation.
NR_IRQS:16 nr_irqs:16 16
L310 cache controller enabled
l2x0: 16 ways, CACHE_ID 0x410000c7, AUX_CTRL 0x32070000, Cache size: 1024 kB
Switching to timer-based delay loop
sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 1431655765682ns
Console: colour dummy device 80x30
Calibrating delay loop (skipped), value calculated using timer frequency.. 6.00 BogoMIPS (lpj=30000)
pid_max: default: 32768 minimum: 301
Security Framework initialized
SELinux: Initializing.
AppArmor: AppArmor disabled by boot time parameter
Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
Initializing cgroup subsys debug
Initializing cgroup subsys freezer
CPU: Testing write buffer coherency: ok
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
Setting up static identity map for 0x1088fa78 - 0x1088fad0
CPU1: Booted secondary processor
CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
CPU2: Booted secondary processor
CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
CPU3: Booted secondary processor
CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
Brought up 4 CPUs
SMP: Total of 4 processors activated (24.00 BogoMIPS).
CPU: All CPU(s) started in SVC mode.
devtmpfs: initialized
VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
pinctrl core: initialized pinctrl subsystem
regulator-dummy: no parameters
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
cpuidle: using governor ladder
cpuidle: using governor menu
CPU identified as i.MX6Q, silicon rev 1.5
Use WDOG2 as reset source
syscon 20c8000.anatop: regmap [mem 0x020c8000-0x020c8fff] registered
vdd1p1: 800 <--> 1375 mV at 1100 mV
vdd3p0: 2625 <--> 3400 mV at 3000 mV
vdd2p5: 2000 <--> 2750 mV at 2400 mV
vddarm: 725 <--> 1450 mV
vddpu: 725 <--> 1450 mV
vddsoc: 725 <--> 1450 mV
syscon 20e0000.iomuxc-gpr: regmap [mem 0x020e0000-0x020e0037] registered
syscon 21bc000.ocotp-ctrl: regmap [mem 0x021bc000-0x021bffff] registered
!!request miniPCIE Power On gpio
hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
hw-breakpoint: maximum watchpoint size is 4 bytes.
imx6q-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
bio: create slab <bio-0> at 0
mxs-dma 110000.dma-apbh: initialized
usb_otg_vbus: 5000 mV
usb_h1_vbus: 5000 mV
wm8962-supply: no parameters
mipi_dsi_pwr_on: no parameters
sensor-supply: 3300 mV
wlreg_on: 5000 mV
i2c-core: driver [max17135] using legacy suspend method
i2c-core: driver [max17135] using legacy resume method
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
usbphy_nop1.12 supply vcc not found, using dummy regulator
usbphy_nop2.13 supply vcc not found, using dummy regulator
i2c i2c-0: IMX I2C adapter registered
i2c i2c-1: IMX I2C adapter registered
i2c i2c-2: IMX I2C adapter registered
Linux video capture interface: v2.00
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
PTP clock support registered
imx-ipuv3 2400000.ipu: IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)
imx-ipuv3 2800000.ipu: IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)
mxc_mipi_csi2 21dc000.mipi_csi: i.MX MIPI CSI2 driver probed
mxc_mipi_csi2 21dc000.mipi_csi: i.MX MIPI CSI2 dphy version is 0x3130302a
MIPI CSI2 driver module loaded
Advanced Linux Sound Architecture Driver Initialized.
Bluetooth: Core ver 2.18
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP socket layer initialized
Bluetooth: SCO socket layer initialized
Switched to clocksource mxc_timer1
NET: Registered protocol family 2
TCP established hash table entries: 8192 (order: 3, 32768 bytes)
TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP: reno registered
UDP hash table entries: 512 (order: 2, 16384 bytes)
UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
Trying to unpack rootfs image as initramfs...
Freeing initrd memory: 844K (c5000000 - c50d3000)
hw perfevents: enabled with ARMv7_Cortex_A9 PMU driver, 7 counters available
imx rpmsg driver is registered.
imx_busfreq busfreq.17: DDR medium rate not supported.
Bus freq driver module loaded
bt power gpio is:2
mxc_bt_rfkill driver success loaded
rfkill: BT RF going to : on
mxc_bt_rfkill_reset
console [pstore-1] enabled
pstore: Registered ramoops as persistent store backend
ramoops: attached 0x100000@0x8bf00000, ecc: 0/0
mxc_ramoops device success loaded
futex hash table entries: 1024 (order: 4, 65536 bytes)
audit: initializing netlink subsys (disabled)
audit: type=2000 audit(0.320:1): initialized
bounce pool size: 64 pages
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
NFS: Registering the id_resolver key type
Key type id_resolver registered
Key type id_legacy registered
NTFS driver 2.1.30 [Flags: R/W DEBUG].
jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
fuse init (API version 7.22)
msgmni has been set to 1441
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
imx-weim 21b8000.weim: Driver registered.
pwm-backlight.33 supply power not found, using dummy regulator
mxc_mipi_dsi 21e0000.mipi: i.MX MIPI DSI driver probed
MIPI DSI driver module loaded
mxc_hdmi 20e0000.hdmi_video: Detected HDMI controller 0x13:0xa:0xa0:0xc1
fbcvt: 1280x1024@60: CVT Name - 1.310M4
mxc_sdc_fb fb.28: registered mxc display driver hdmi
imx-ipuv3 2400000.ipu: IPU DMFC DP HIGH RESOLUTION: 1(0,1), 5B(2~5), 5F(6,7)
Console: switching to colour frame buffer device 160x45
mxc_sdc_fb fb.29: Can't get fb option for mxcfb1!
mxc_sdc_fb fb.30: Can't get fb option for mxcfb2!
mxc_sdc_fb fb.31: Can't get fb option for mxcfb3!
imx-sdma 20ec000.sdma: no iram assigned, using external mem
imx-sdma 20ec000.sdma: no event needs to be remapped
imx-sdma 20ec000.sdma: loaded firmware 3.2
imx-sdma 20ec000.sdma: initialized
pfuze100-regulator 1-0008: Full layer: 2, Metal layer: 1
pfuze100-regulator 1-0008: FAB: 0, FIN: 0
pfuze100-regulator 1-0008: pfuze100 found.
SW1AB: 300 <--> 1875 mV at 1150 mV
SW1C: 300 <--> 1875 mV at 1175 mV
SW2: 800 <--> 3300 mV at 3300 mV
SW3A: 400 <--> 1975 mV at 1500 mV
SW3B: 400 <--> 1975 mV at 1500 mV
SW4: 800 <--> 3300 mV at 3150 mV
SWBST: 5000 <--> 5150 mV at 5000 mV
VSNVS: 1000 <--> 3000 mV at 3000 mV
VREFDDR: 750 mV
VGEN1: 800 <--> 1550 mV at 1500 mV
VGEN2: 800 <--> 1550 mV at 1500 mV
VGEN3: 1800 <--> 3300 mV at 2800 mV
VGEN4: 1800 <--> 3300 mV at 1800 mV
VGEN5: 1800 <--> 3300 mV at 3000 mV
VGEN6: 1800 <--> 3300 mV at 3300 mV
Serial: IMX driver
2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 58, base_baud = 5000000) is a IMX
console [ttymxc0] enabled
21f4000.serial: ttymxc4 at MMIO 0x21f4000 (irq = 62, base_baud = 5000000) is a IMX
serial: Freescale lpuart driver
imx sema4 driver is registered.
[drm] Initialized drm 1.1.0 20060810
[drm] Initialized vivante 1.0.0 20120216 on minor 0
brd: module loaded
loop: module loaded
zram: Created 1 device(s) ...
ahci-imx 2200000.sata: fsl,transmit-level-mV not specified, using 00000024
ahci-imx 2200000.sata: fsl,transmit-boost-mdB not specified, using 00000480
ahci-imx 2200000.sata: fsl,transmit-atten-16ths not specified, using 00002000
ahci-imx 2200000.sata: fsl,receive-eq-mdB not specified, using 05000000
ahci-imx 2200000.sata: failed to reset phy: -110
ahci-imx: probe of 2200000.sata failed with error -110
imx6q-pinctrl 20e0000.iomuxc: pin MX6Q_PAD_KEY_COL1 already requested by 21f4000.serial; cannot claim for 2008000.ecspi
imx6q-pinctrl 20e0000.iomuxc: pin-128 (2008000.ecspi) status -22
imx6q-pinctrl 20e0000.iomuxc: could not request pin 128 (MX6Q_PAD_KEY_COL1) from group ecspi1grp on device 20e0000.iomuxc
spi_imx 2008000.ecspi: Error applying setting, reverse things back
m25p80 spi0.0: found mr25h256, expected m25p32
m25p80 spi0.0: mr25h256 (32 Kbytes)
spi_imx 2008000.ecspi: probed
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
CAN device driver interface
imx6q-pinctrl 20e0000.iomuxc: pin MX6Q_PAD_ENET_CRS_DV already requested by 20e0000.iomuxc; cannot claim for 2188000.ethernet
imx6q-pinctrl 20e0000.iomuxc: pin-119 (2188000.ethernet) status -22
imx6q-pinctrl 20e0000.iomuxc: could not request pin 119 (MX6Q_PAD_ENET_CRS_DV) from group enetgrp on device 20e0000.iomuxc
fec 2188000.ethernet: Error applying setting, reverse things back
2188000.ethernet supply phy not found, using dummy regulator
pps pps0: new PPS source ptp0
fec 2188000.ethernet (unregistered net_device): Invalid MAC address: 00:00:00:00:00:00
fec 2188000.ethernet (unregistered net_device): Using random MAC address: 2a:f0:e5:8f:71:e1
libphy: fec_enet_mii_bus: probed
fec 2188000.ethernet eth0: registered PHC device 0
PPP generic driver version 2.4.2
PPP BSD Compression module registered
PPP Deflate Compression module registered
PPP MPPE Compression module registered
NET: Registered protocol family 24
pegasus: v0.9.3 (2013/04/25), Pegasus/Pegasus II USB Ethernet driver
usbcore: registered new interface driver pegasus
usbcore: registered new interface driver rtl8150
usbcore: registered new interface driver r8152
usbcore: registered new interface driver asix
usbcore: registered new interface driver ax88179_178a
usbcore: registered new interface driver cdc_ether
usbcore: registered new interface driver cdc_eem
usbcore: registered new interface driver net1080
usbcore: registered new interface driver cdc_subset
usbcore: registered new interface driver zaurus
usbcore: registered new interface driver cdc_ncm
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-mxc: Freescale On-Chip EHCI Host driver
usbcore: registered new interface driver cdc_acm
cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
usbcore: registered new interface driver usb-storage
usbcore: registered new interface driver usbserial
usbcore: registered new interface driver usbserial_generic
usbserial: USB Serial support registered for generic
usbcore: registered new interface driver ftdi_sio
usbserial: USB Serial support registered for FTDI USB Serial Device
usbcore: registered new interface driver option
usbserial: USB Serial support registered for GSM modem (1-port)
usbcore: registered new interface driver usb_ehset_test
2184800.usbmisc supply vbus-wakeup not found, using dummy regulator
ci_hdrc ci_hdrc.0: EHCI Host Controller
ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1
ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: EHCI Host Controller
usb usb1: Manufacturer: Linux 3.14.52-141236-g279192c-dirty ehci_hcd
usb usb1: SerialNumber: ci_hdrc.0
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
ci_hdrc ci_hdrc.1: doesn't support gadget
ci_hdrc ci_hdrc.1: EHCI Host Controller
ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 2
ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: EHCI Host Controller
usb usb2: Manufacturer: Linux 3.14.52-141236-g279192c-dirty ehci_hcd
usb usb2: SerialNumber: ci_hdrc.1
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
mousedev: PS/2 mouse device common for all mice
usbcore: registered new interface driver xpad
usbcore: registered new interface driver usb_acecad
usbcore: registered new interface driver aiptek
usbcore: registered new interface driver gtco
usbcore: registered new interface driver hanwang
usbcore: registered new interface driver kbtab
usbcore: registered new interface driver wacom
egalax_ts 1-0004: Failed to read firmware version
egalax_ts: probe of 1-0004 failed with error -5
usb 2-1: new high-speed USB device number 2 using ci_hdrc
usb 2-1: New USB device found, idVendor=0424, idProduct=2513
usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
hub 2-1:1.0: USB hub found
hub 2-1:1.0: 3 ports detected
egalax_ts 2-0004: Failed to read firmware version
egalax_ts: probe of 2-0004 failed with error -5
usbcore: registered new interface driver usbtouchscreen
usb 2-1.2: new low-speed USB device number 3 using ci_hdrc
usb 2-1.2: New USB device found, idVendor=24b8, idProduct=0001
usb 2-1.2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
input: USB Touchscreen 24b8:0001 as /devices/soc0/soc.0/2100000.aips-bus/2184200.usb/ci_hdrc.1/usb2/2-1/2-1.2/2-1.2:1.0/input/input2
i2c-core: driver [isl29023] using legacy suspend method
i2c-core: driver [isl29023] using legacy resume method
snvs_rtc 20cc034.snvs-rtc-lp: can't get snvs-rtc clock
snvs_rtc 20cc034.snvs-rtc-lp: rtc core: registered 20cc034.snvs-rtc-lp as rtc0
i2c /dev entries driver
IR NEC protocol handler initialized
IR RC5(x) protocol handler initialized
IR RC6 protocol handler initialized
IR JVC protocol handler initialized
IR Sony protocol handler initialized
IR RC5 (streamzap) protocol handler initialized
IR SANYO protocol handler initialized
IR MCE Keyboard/mouse protocol handler initialized
ov5640_read_reg:write reg error:reg=300a
camera ov5640 is not found
ov5642_read_reg:write reg error:reg=300a
camera ov5642 is not found
ov5640_read_reg:write reg error:reg=300a
camera ov5640_mipi is not found
mxc_v4l2_output v4l2_out.36: V4L2 device registered as video16
mxc_v4l2_output v4l2_out.36: V4L2 device registered as video17
usbcore: registered new interface driver uvcvideo
USB Video Class driver (1.1.1)
gspca_main: v2.14.0 registered
mag3110 2-000e: check mag3110 chip ID
mag3110 2-000e: read chip ID 0xffffff92 is not equal to 0xc4!
mag3110: probe of 2-000e failed with error -22
mma8x5x 0-001c: read chip ID 0xfffffffb is not equal to 0x1a,0x2a,0x3a,0x4a,0x5a!
mma8x5x: probe of 0-001c failed with error -22
imx2-wdt 20c0000.wdog: IMX2+ Watchdog Timer enabled. timeout=60s (nowayout=0)
device-mapper: uevent: version 1.0.3
device-mapper: ioctl: 4.27.0-ioctl (2013-10-30) initialised: dm-devel@redhat.com
Bluetooth: HCI UART driver ver 2.2
Bluetooth: HCI H4 protocol initialized
Bluetooth: HCI BCSP protocol initialized
Bluetooth: HCIATH3K protocol initialized
usbcore: registered new interface driver bcm203x
usbcore: registered new interface driver btusb
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
sdhci-esdhc-imx 2194000.usdhc: assigned as wifi host
mmc1: no vqmmc regulator found
mmc1: no vmmc regulator found
mmc1: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMA
mmc2: no vqmmc regulator found
mmc2: no vmmc regulator found
mmc2: SDHCI controller on 2198000.usdhc [2198000.usdhc] using ADMA
mmc3: no vqmmc regulator found
mmc3: no vmmc regulator found
mmc2: host does not support reading read-only switch. assuming write-enable.
mmc3: SDHCI controller on 219c000.usdhc [219c000.usdhc] using ADMA
Galcore version 5.0.11.33433
mmc2: new high speed SDHC card at address aaaa
mmcblk2: mmc2:aaaa SL08G 7.40 GiB
mmcblk2: p1 p2 p3 < p5 p6 p7 p8 p9 > p4
mmcblk2: p4 size 13321630 extends beyond EOD, truncated
mmc3: BKOPS_EN bit is not set
mmc3: new high speed DDR MMC card at address 0001
mmcblk3: mmc3:0001 MMC02G 1.78 GiB
mmcblk3boot0: mmc3:0001 MMC02G partition 1 1.00 MiB
mmcblk3boot1: mmc3:0001 MMC02G partition 2 1.00 MiB
mmcblk3rpmb: mmc3:0001 MMC02G partition 3 128 KiB
mxc_vdoa 21e4000.vdoa: i.MX Video Data Order Adapter(VDOA) driver probed
mmcblk3: p1 p2
mxc_vpu 2040000.vpu: VPU initialized
mmcblk3boot1: unknown partition table
mmcblk3boot0: unknown partition table
mxc_hdmi 20e0000.hdmi_video: same edid
caam 2100000.caam: Instantiated RNG4 SH0
caam 2100000.caam: Instantiated RNG4 SH1
caam 2100000.caam: device ID = 0x0a160100 (Era 4)
caam 2100000.caam: job rings = 2, qi = 0
caam algorithms registered in /proc/crypto
caam_jr 2101000.jr0: registering rng-caam
platform caam_sm: blkkey_ex: 4 keystore units available
platform caam_sm: 64-bit clear key:
platform caam_sm: [0000] 00 01 02 03 04 0f 06 07
platform caam_sm: 64-bit black key:
platform caam_sm: [0000] e3 9e d8 bc 90 81 dc ed
platform caam_sm: [0008] 87 e2 f9 a2 5a 43 bd 3a
platform caam_sm: 128-bit clear key:
platform caam_sm: [0000] 00 01 02 03 04 0f 06 07
platform caam_sm: [0008] 08 09 0a 0b 0c 0d 0e 0f
platform caam_sm: 128-bit black key:
platform caam_sm: [0000] 7c a7 d0 e5 86 20 77 04
platform caam_sm: [0008] 3f 0d 35 ce a0 80 fe 46
platform caam_sm: 192-bit clear key:
platform caam_sm: [0000] 00 01 02 03 04 0f 06 07
platform caam_sm: [0008] 08 09 0a 0b 0c 0d 0e 0f
platform caam_sm: [0016] 10 11 12 13 14 15 16 17
platform caam_sm: 192-bit black key:
platform caam_sm: [0000] c5 21 34 af fa 98 6f 66
platform caam_sm: [0008] 0e d6 d4 78 e0 0b ce 0a
platform caam_sm: [0016] ff 61 fd 5f 3f 2e 39 d1
platform caam_sm: [0024] ef 91 35 87 72 41 68 74
platform caam_sm: 256-bit clear key:
platform caam_sm: [0000] 00 01 02 03 04 0f 06 07
platform caam_sm: [0008] 08 09 0a 0b 0c 0d 0e 0f
platform caam_sm: [0016] 10 11 12 13 14 15 16 17
platform caam_sm: [0024] 18 19 1a 1b 1c 1d 1e 1f
platform caam_sm: 256-bit black key:
platform caam_sm: [0000] c9 52 1d 41 13 9d 70 4b
platform caam_sm: [0008] 51 d1 66 0c c5 43 ff 86
platform caam_sm: [0016] cc c5 1e 73 2f 41 40 bc
platform caam_sm: [0024] 7e 18 f1 bc b3 e9 93 47
platform caam_sm: 64-bit unwritten blob:
platform caam_sm: [0000] 00 00 00 00 00 00 00 00
platform caam_sm: [0008] 00 00 00 00 00 00 00 00
platform caam_sm: [0016] 00 00 00 00 00 00 00 00
platform caam_sm: [0024] 00 00 00 00 00 00 00 00
platform caam_sm: [0032] 00 00 00 00 00 00 00 00
platform caam_sm: [0040] 00 00 00 00 00 00 00 00
platform caam_sm: [0048] 00 00 00 00 00 00 00 00
platform caam_sm: [0056] 00 00 00 00 00 00 00 00
platform caam_sm: [0064] 00 00 00 00 00 00 00 00
platform caam_sm: [0072] 00 00 00 00 00 00 00 00
platform caam_sm: [0080] 00 00 00 00 00 00 00 00
platform caam_sm: [0088] 00 00 00 00 00 00 00 00
platform caam_sm: 128-bit unwritten blob:
platform caam_sm: [0000] 00 00 00 00 00 00 00 00
platform caam_sm: [0008] 00 00 00 00 00 00 00 00
platform caam_sm: [0016] 00 00 00 00 00 00 00 00
platform caam_sm: [0024] 00 00 00 00 00 00 00 00
platform caam_sm: [0032] 00 00 00 00 00 00 00 00
platform caam_sm: [0040] 00 00 00 00 00 00 00 00
platform caam_sm: [0048] 00 00 00 00 00 00 00 00
platform caam_sm: [0056] 00 00 00 00 00 00 00 00
platform caam_sm: [0064] 00 00 00 00 00 00 00 00
platform caam_sm: [0072] 00 00 00 00 00 00 00 00
platform caam_sm: [0080] 00 00 00 00 00 00 00 00
platform caam_sm: [0088] 00 00 00 00 00 00 00 00
platform caam_sm: 196-bit unwritten blob:
platform caam_sm: [0000] 00 00 00 00 00 00 00 00
platform caam_sm: [0008] 00 00 00 00 00 00 00 00
platform caam_sm: [0016] 00 00 00 00 00 00 00 00
platform caam_sm: [0024] 00 00 00 00 00 00 00 00
platform caam_sm: [0032] 00 00 00 00 00 00 00 00
platform caam_sm: [0040] 00 00 00 00 00 00 00 00
platform caam_sm: [0048] 00 00 00 00 00 00 00 00
platform caam_sm: [0056] 00 00 00 00 00 00 00 00
platform caam_sm: [0064] 00 00 00 00 00 00 00 00
platform caam_sm: [0072] 00 00 00 00 00 00 00 00
platform caam_sm: [0080] 00 00 00 00 00 00 00 00
platform caam_sm: [0088] 00 00 00 00 00 00 00 00
platform caam_sm: 256-bit unwritten blob:
platform caam_sm: [0000] 00 00 00 00 00 00 00 00
platform caam_sm: [0008] 00 00 00 00 00 00 00 00
platform caam_sm: [0016] 00 00 00 00 00 00 00 00
platform caam_sm: [0024] 00 00 00 00 00 00 00 00
platform caam_sm: [0032] 00 00 00 00 00 00 00 00
platform caam_sm: [0040] 00 00 00 00 00 00 00 00
platform caam_sm: [0048] 00 00 00 00 00 00 00 00
platform caam_sm: [0056] 00 00 00 00 00 00 00 00
platform caam_sm: [0064] 00 00 00 00 00 00 00 00
platform caam_sm: [0072] 00 00 00 00 00 00 00 00
platform caam_sm: [0080] 00 00 00 00 00 00 00 00
platform caam_sm: [0088] 00 00 00 00 00 00 00 00
platform caam_sm: 64-bit black key in blob:
platform caam_sm: [0000] c2 f9 bb 10 79 f7 c2 1f
platform caam_sm: [0008] 75 a0 f6 77 73 38 94 b0
platform caam_sm: [0016] b2 fc 57 a8 c8 70 ee a0
platform caam_sm: [0024] 25 f7 51 0f 3a 08 3a 30
platform caam_sm: [0032] cd 74 15 04 ef cb 6a e5
platform caam_sm: [0040] 31 c8 fe 5d 48 91 80 68
platform caam_sm: [0048] 05 ae 4b 16 8a 39 1a 05
platform caam_sm: [0056] 00 00 00 00 00 00 00 00
platform caam_sm: [0064] 00 00 00 00 00 00 00 00
platform caam_sm: [0072] 00 00 00 00 00 00 00 00
platform caam_sm: [0080] 00 00 00 00 00 00 00 00
platform caam_sm: [0088] 00 00 00 00 00 00 00 00
platform caam_sm: 128-bit black key in blob:
platform caam_sm: [0000] ec ae 3a 74 2e f3 37 da
platform caam_sm: [0008] 85 3e 95 9a 29 98 9f e6
platform caam_sm: [0016] 3e db 6c e2 49 01 3a 35
platform caam_sm: [0024] 72 dd 10 e6 37 10 f8 f6
platform caam_sm: [0032] 54 1e a8 ac 9c 24 46 c0
platform caam_sm: [0040] 64 af 00 ee ba ff d8 9d
platform caam_sm: [0048] f6 53 64 63 6d 94 a3 6d
platform caam_sm: [0056] 53 f0 28 2f c7 35 91 fe
platform caam_sm: [0064] 00 00 00 00 00 00 00 00
platform caam_sm: [0072] 00 00 00 00 00 00 00 00
platform caam_sm: [0080] 00 00 00 00 00 00 00 00
platform caam_sm: [0088] 00 00 00 00 00 00 00 00
platform caam_sm: 192-bit black key in blob:
platform caam_sm: [0000] c0 06 9c da f9 5a 6e 12
platform caam_sm: [0008] 37 16 88 77 98 fe c2 68
platform caam_sm: [0016] 46 e8 ee b6 96 9b b6 03
platform caam_sm: [0024] ef de 75 03 ab ef c0 3d
platform caam_sm: [0032] 1d 6d 97 eb 3b fa d0 78
platform caam_sm: [0040] 2c 6d 4d 34 bf 1b 85 d7
platform caam_sm: [0048] 10 bf b2 39 b2 b5 ac df
platform caam_sm: [0056] 0f b8 cf d2 05 87 4c 68
platform caam_sm: [0064] 02 57 b3 e9 1a b5 e3 97
platform caam_sm: [0072] 00 00 00 00 00 00 00 00
platform caam_sm: [0080] 00 00 00 00 00 00 00 00
platform caam_sm: [0088] 00 00 00 00 00 00 00 00
platform caam_sm: 256-bit black key in blob:
platform caam_sm: [0000] 2e 39 4d 08 d9 6f 10 b5
platform caam_sm: [0008] 99 df 79 a9 69 86 ea 31
platform caam_sm: [0016] b7 a6 c0 9a 71 49 6d 40
platform caam_sm: [0024] f8 0f 75 71 5f c4 3f 03
platform caam_sm: [0032] 7e b7 19 ed a3 ec 3f 22
platform caam_sm: [0040] 5e ce 90 49 7e 5d 55 10
platform caam_sm: [0048] 09 a9 82 41 a1 b4 bc 50
platform caam_sm: [0056] 86 be fd e2 f7 b9 ac 1b
platform caam_sm: [0064] da f7 6d 6a 60 67 46 3b
platform caam_sm: [0072] 2f 92 5a 80 95 e8 d1 37
platform caam_sm: [0080] 00 00 00 00 00 00 00 00
platform caam_sm: [0088] 00 00 00 00 00 00 00 00
platform caam_sm: restored 64-bit black key:
platform caam_sm: [0000] 39 ca 81 2a a5 c8 f8 e4
platform caam_sm: [0008] 87 51 46 8e ab df 1d 7c
platform caam_sm: restored 128-bit black key:
platform caam_sm: [0000] 7c a7 d0 e5 86 20 77 04
platform caam_sm: [0008] 3f 0d 35 ce a0 80 fe 46
platform caam_sm: restored 192-bit black key:
platform caam_sm: [0000] c5 21 34 af fa 98 6f 66
platform caam_sm: [0008] 0e d6 d4 78 e0 0b ce 0a
platform caam_sm: [0016] 77 b3 c3 83 62 8a 5e d4
platform caam_sm: [0024] 4b e9 dd 45 ac fe c3 b3
platform caam_sm: restored 256-bit black key:
platform caam_sm: [0000] c9 52 1d 41 13 9d 70 4b
platform caam_sm: [0008] 51 d1 66 0c c5 43 ff 86
platform caam_sm: [0016] cc c5 1e 73 2f 41 40 bc
platform caam_sm: [0024] 7e 18 f1 bc b3 e9 93 47
snvs-secvio 20cc000.caam-snvs: can't get snvs clock
snvs-secvio 20cc000.caam-snvs: violation handlers armed - non-secure state
caam_keyblob caam_keyblob.40: caam keyblob initialized
hidraw: raw HID events driver (C) Jiri Kosina
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
ashmem: initialized
usbcore: registered new interface driver snd-usb-audio
wm8962 0-001a: Failed to read ID register
wm8962: probe of 0-001a failed with error -5
fsl-asrc 2034000.asrc: driver registered
imx-wm8962 sound.26: failed to find codec platform device
imx-wm8962: probe of sound.26 failed with error -22
imx-audio-hdmi sound-hdmi.27: hdmi-hifi <-> hdmi_audio.3 mapping ok
NET: Registered protocol family 26
u32 classifier
Actions configured
Netfilter messages via NETLINK v0.30.
nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
ctnetlink v0.93: registering with nfnetlink.
xt_time: kernel timezone is -0000
ip_tables: (C) 2000-2006 Netfilter Core Team
arp_tables: (C) 2002 David S. Miller
TCP: cubic registered
Initializing XFRM netlink socket
NET: Registered protocol family 10
mip6: Mobile IPv6
ip6_tables: (C) 2000-2006 Netfilter Core Team
sit: IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
NET: Registered protocol family 15
can: controller area network core (rev 20120528 abi 9)
NET: Registered protocol family 29
can: raw protocol (rev 20120528)
can: broadcast manager protocol (rev 20120528 t)
can: netlink gateway (rev 20130117) max_hops=1
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM ver 1.11
Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Bluetooth: BNEP filters: protocol multicast
Bluetooth: BNEP socket layer initialized
Bluetooth: HIDP (Human Interface Emulation) ver 1.2
Bluetooth: HIDP socket layer initialized
8021q: 802.1Q VLAN Support v1.8
Key type dns_resolver registered
VGEN1: disabling
SWBST: disabling
SW4: disabling
wlreg_on: disabling
wm8962-supply: disabling
regulator-dummy: disabling
imx mcc test is registered.
UBI error: ubi_init: cannot open mtd 4, error -19
file system registered
using random self ethernet address
using random host ethernet address
Number of LUNs=8
Mass Storage Function, version: 2009/09/11
LUN: removable file: (no medium)
android_usb gadget: android_usb ready
input: gpio-keys.25 as /devices/soc0/gpio-keys.25/input/input3
snvs_rtc 20cc034.snvs-rtc-lp: setting system clock to 2016-03-06 20:33:59 UTC (1457296439)
ALSA device list:
#0: imx-hdmi-soc
Freeing unused kernel memory: 432K (c0be3000 - c0c4f000)
Console: switching to colour dummy device 80x30
EXT4-fs (mmcblk2p5): mounted filesystem with ordered data mode. Opts: barrier=1
fs_mgr: __mount(source=/dev/block/mmcblk2p5,target=/system,type=ext4)=0
EXT4-fs (mmcblk2p4): Ignoring removed nomblk_io_submit option
EXT4-fs (mmcblk2p4): recovery complete
EXT4-fs (mmcblk2p4): mounted filesystem with ordered data mode. Opts: nomblk_io_submit,noauto_da_alloc,errors=panic
fs_mgr: __mount(source=/dev/block/mmcblk2p4,target=/data,type=ext4)=0
EXT4-fs (mmcblk2p6): Ignoring removed nomblk_io_submit option
EXT4-fs (mmcblk2p6): recovery complete
EXT4-fs (mmcblk2p6): mounted filesystem with ordered data mode. Opts: nomblk_io_submit
fs_mgr: __mount(source=/dev/block/mmcblk2p6,target=/cache,type=ext4)=0
EXT4-fs (mmcblk2p7): mounted filesystem with ordered data mode. Opts: (null)
fs_mgr: __mount(source=/dev/block/mmcblk2p7,target=/device,type=ext4)=0
Adding 307196k swap on /dev/block/zram0. Priority:-1 extents:1 across:307196k SS
binder: 250:250 transaction failed 29189, size 0-0
rfkill: BT RF going to : off
random: init urandom read with 81 bits of entropy available
init: using deprecated syntax for specifying property 'ro.serialno', use ${name} instead
init: property 'ro.serialno' doesn't exist while expanding '$ro.serialno'
init: cannot expand '$ro.serialno' while writing to '/sys/class/android_usb/android0/iSerial'
init: using deprecated syntax for specifying property 'ro.product.manufacturer', use ${name} instead
init: using deprecated syntax for specifying property 'ro.product.model', use ${name} instead
init: cannot find '/system/bin/debuggerd64', disabling 'debuggerd64'
init: cannot find '/system/bin/install-recovery.sh', disabling 'flash_recovery'
android_usb: already disabled
mtp_bind_config
root@sabresd_6dq:/ # logd.auditd: start
healthd: No charger supplies found
healthd: No battery devices found
random: nonblocking pool is initialized
root@sabresd_6dq:/ #
root@sabresd_6dq:/ #
root@sabresd_6dq:/ # ERROR: v4l2 capture: slave not found!
ERROR: v4l2 capture: slave not found!
ERROR: v4l2 capture: slave not found!
ERROR: v4l2 capture: slave not found!
ERROR: v4l2 capture: slave not found!
ERROR: v4l2 capture: slave not found!
ERROR: v4l2 capture: slave not found!
ERROR: v4l2 capture: slave not found!
warning: `main' uses 32-bit capabilities (legacy support in use)
root@sabresd_6dq:/ #
root@sabresd_6dq:/ # lowmemorykiller: lowmem_shrink: convert oom_adj to oom_score_adj:
lowmemorykiller: oom_adj 0 => oom_score_adj 0
lowmemorykiller: oom_adj 1 => oom_score_adj 58
lowmemorykiller: oom_adj 2 => oom_score_adj 117
lowmemorykiller: oom_adj 3 => oom_score_adj 176
lowmemorykiller: oom_adj 9 => oom_score_adj 529
lowmemorykiller: oom_adj 15 => oom_score_adj 1000
root@sabresd_6dq:/ # acc_open
acc_release
fec 2188000.ethernet eth0: Freescale FEC PHY driver [Generic PHY] (mii_bus:phy_addr=2188000.ethernet:00, irq=-1)
IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
root@sabresd_6dq:/ #
root@sabresd_6dq:/ #
root@sabresd_6dq:/ # libphy: 2188000.ethernet:00 - Link is Up - 100/Full
IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
root@sabresd_6dq:/ #
root@sabresd_6dq:/ # ERROR: v4l2 capture: slave not found!
ERROR: v4l2 capture: slave not found!
root@sabresd_6dq:/ # PU: Power-off latency exceeded, new value 31666 ns
root@sabresd_6dq:/ #
root@sabresd_6dq:/ # nf_conntrack: automatic helper assignment is deprecated and it will be removed soon. Use the iptables CT target to attach helpers instead.
root@sabresd_6dq:/ #
root@sabresd_6dq:/ #
root@sabresd_6dq:/ #
root@sabresd_6dq:/ # dmesg | grep fec
<3>fec 2188000.ethernet: Error applying setting, reverse things back
<3>fec 2188000.ethernet (unregistered net_device): Invalid MAC address: 00:00:00:00:00:00
<6>fec 2188000.ethernet (unregistered net_device): Using random MAC address: 2a:f0:e5:8f:71:e1
<6>libphy: fec_enet_mii_bus: probed
<6>fec 2188000.ethernet eth0: registered PHC device 0
<6>fec 2188000.ethernet eth0: Freescale FEC PHY driver [Generic PHY] (mii_bus:phy_addr=2188000.ethernet:00, irq=-1)
root@sabresd_6dq:/ #
root@sabresd_6dq:/ #
root@sabresd_6dq:/ #
root@sabresd_6dq:/ # ifconfig eth0 192.168.7.188
root@sabresd_6dq:/ #
root@sabresd_6dq:/ #
root@sabresd_6dq:/ #
root@sabresd_6dq:/ # busybox ifconfig
eth0 Link encap:Ethernet HWaddr 2A:F0:E5:8F:71:E1
inet addr:192.168.7.188 Bcast:192.168.7.255 Mask:255.255.255.0
inet6 addr: fd6e:9e73:4dc4:0:28f0:e5ff:fe8f:71e1/64 Scope:Global
inet6 addr: fe80::28f0:e5ff:fe8f:71e1/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:15 errors:0 dropped:0 overruns:0 frame:0
TX packets:45 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1210 (1.1 KiB) TX bytes:2238 (2.1 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:28 errors:0 dropped:0 overruns:0 frame:0
TX packets:28 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2660 (2.5 KiB) TX bytes:2660 (2.5 KiB)
root@sabresd_6dq:/ #
root@sabresd_6dq:/ #
root@sabresd_6dq:/ #
root@sabresd_6dq:/ # ping 192.168.7.1
PING 192.168.7.1 (192.168.7.1) 56(84) bytes of data.
From 192.168.7.188: icmp_seq=19 Destination Host Unreachable
From 192.168.7.188: icmp_seq=20 Destination Host Unreachable
From 192.168.7.188: icmp_seq=21 Destination Host Unreachable
From 192.168.7.188: icmp_seq=22 Destination Host Unreachable
From 192.168.7.188: icmp_seq=23 Destination Host Unreachable
From 192.168.7.188: icmp_seq=24 Destination Host Unreachable
^C
--- 192.168.7.1 ping statistics ---
25 packets transmitted, 0 received, +6 errors, 100% packet loss, time 24006ms
pipe 4
1|root@sabresd_6dq:/ #
1|root@sabresd_6dq:/ #
1|root@sabresd_6dq:/ # netcfg
sit0 DOWN 0.0.0.0/0 0x00000080 00:00:00:00:00:00
eth0 UP 192.168.7.188/24 0x00001043 2a:f0:e5:8f:71:e1
lo UP 127.0.0.1/8 0x00000049 00:00:00:00:00:00
root@sabresd_6dq:/ #
root@sabresd_6dq:/ #
root@sabresd_6dq:/ #
root@sabresd_6dq:/ #
Please help me to solve this problem
Thanks you so much and Best regard!
Dang
Hello Dang, so are you able to receive/send (ping) correctly from uboot?, did you use a known driver for your ethernet device or did you build it yourself?...
Hi everyone,
Back to log:
My custom board is using chip rtl8211e but i doubt that it probed invalid device "Generic PHY" instead of "RTL8211E Gigabit Ethernet" (reference file "fec_main.c" function "fec_enet_mii_probe"). I tried to fix but unsuccessfully.
Please help me solve this issue
Best regards.
Dang
Hi all,
This issue still has not solved yet.
I tried pinging from uboot, it worked properly.
=> mii dev
MII devices: 'FEC'
Current device: 'FEC'
=> mii info
PHY 0x00: OUI = 0x0732, Model = 0x11, Rev = 0x05, 100baseT, FDX
PHY 0x01: OUI = 0x0732, Model = 0x11, Rev = 0x05, 100baseT, FDX
=> mii dev
MII devices: 'FEC'
Current device: 'FEC'
=> mii read 0-1 0-6
addr=00 reg=00 data=1140
addr=00 reg=01 data=796D
addr=00 reg=02 data=001C
addr=00 reg=03 data=C915
addr=00 reg=04 data=05E1
addr=00 reg=05 data=CDE1
addr=00 reg=06 data=000F
addr=01 reg=00 data=1140
addr=01 reg=01 data=796D
addr=01 reg=02 data=001C
addr=01 reg=03 data=C915
addr=01 reg=04 data=05E1
addr=01 reg=05 data=CDE1
addr=01 reg=06 data=000D
=> mii read 0 00
1140
=> setenv ipaddr 192.168.7.122
=> ping 192.168.7.196
Using FEC device
host 192.168.7.196 is alive
Also i checked pads in "~/myandroid/bootable/bootloader/uboot-imx/board/freescale/mx6sabresd/mx6sabresd.c":
static iomux_v3_cfg_t const enet_pads[] = {
MX6_PAD_ENET_MDIO__ENET_MDIO | MUX_PAD_CTRL(ENET_PAD_CTRL),
MX6_PAD_ENET_MDC__ENET_MDC | MUX_PAD_CTRL(ENET_PAD_CTRL),
MX6_PAD_RGMII_TXC__RGMII_TXC | MUX_PAD_CTRL(ENET_PAD_CTRL),
MX6_PAD_RGMII_TD0__RGMII_TD0 | MUX_PAD_CTRL(ENET_PAD_CTRL),
MX6_PAD_RGMII_TD1__RGMII_TD1 | MUX_PAD_CTRL(ENET_PAD_CTRL),
MX6_PAD_RGMII_TD2__RGMII_TD2 | MUX_PAD_CTRL(ENET_PAD_CTRL),
MX6_PAD_RGMII_TD3__RGMII_TD3 | MUX_PAD_CTRL(ENET_PAD_CTRL),
MX6_PAD_RGMII_TX_CTL__RGMII_TX_CTL | MUX_PAD_CTRL(ENET_PAD_CTRL),
MX6_PAD_ENET_REF_CLK__ENET_TX_CLK | MUX_PAD_CTRL(ENET_PAD_CTRL),
MX6_PAD_RGMII_RXC__RGMII_RXC | MUX_PAD_CTRL(ENET_PAD_CTRL),
MX6_PAD_RGMII_RD0__RGMII_RD0 | MUX_PAD_CTRL(ENET_PAD_CTRL),
MX6_PAD_RGMII_RD1__RGMII_RD1 | MUX_PAD_CTRL(ENET_PAD_CTRL),
MX6_PAD_RGMII_RD2__RGMII_RD2 | MUX_PAD_CTRL(ENET_PAD_CTRL),
MX6_PAD_RGMII_RD3__RGMII_RD3 | MUX_PAD_CTRL(ENET_PAD_CTRL),
MX6_PAD_RGMII_RX_CTL__RGMII_RX_CTL | MUX_PAD_CTRL(ENET_PAD_CTRL),
/* AR8031 PHY Reset */
MX6_PAD_ENET_CRS_DV__GPIO1_IO25 | MUX_PAD_CTRL(NO_PAD_CTRL),
};
Compare with dts, they are same:
pinctrl_enet: enetgrp {
fsl,pins = <
MX6QDL_PAD_ENET_MDIO__ENET_MDIO 0x1b0b0
MX6QDL_PAD_ENET_MDC__ENET_MDC 0x1b0b0
MX6QDL_PAD_RGMII_TXC__RGMII_TXC 0x1b0b0
MX6QDL_PAD_RGMII_TD0__RGMII_TD0 0x1b0b0
MX6QDL_PAD_RGMII_TD1__RGMII_TD1 0x1b0b0
MX6QDL_PAD_RGMII_TD2__RGMII_TD2 0x1b0b0
MX6QDL_PAD_RGMII_TD3__RGMII_TD3 0x1b0b0
MX6QDL_PAD_RGMII_TX_CTL__RGMII_TX_CTL 0x1b0b0
MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK 0x1b0b0
MX6QDL_PAD_RGMII_RXC__RGMII_RXC 0x1b0b0
MX6QDL_PAD_RGMII_RD0__RGMII_RD0 0x1b0b0
MX6QDL_PAD_RGMII_RD1__RGMII_RD1 0x1b0b0
MX6QDL_PAD_RGMII_RD2__RGMII_RD2 0x1b0b0
MX6QDL_PAD_RGMII_RD3__RGMII_RD3 0x1b0b0
MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL 0x1b0b0
MX6QDL_PAD_ENET_CRS_DV__GPIO1_IO25 0x80000000
//MX6QDL_PAD_GPIO_16__ENET_REF_CLK 0x4001b0a8
>;
};
So i think this problem has another cause without dts such as file "imx_v7_android_defconfig" or from kernel. I attached file "imx_v7_android_defconfig" for more details
Thanks you so much and best regards!
Dang
Hi dangnguyen
You need to verify iomux pin configuration. In your Android BSP iomux configuration may be conflict on custom board HDMI and Ethernet iomux pin. You should cross check with your hdmi and Ethernet schematic IOMUX PAD name with dts file.
If you can't resolve, attach your schematic and dts file here. i will verify the IOMUX configuration.
Regards,
Aravinth
Hi Aravinthkumar Jayaprakasam,
Thanks for your reply.
I saw error in log:
And then i edited dts: comment line "MX6QDL_PAD_ENET_CRS_DV__GPIO1_IO25 0x80000000" in struct "iomuxc" (please reference attached file, line 654) but ethernet still can not run.
Furthermore, i also checked below step by step:
Step 1: Assign address
root@sabresd_6dq:/ # ifconfig eth0 192.168.7.122
root@sabresd_6dq:/ #
root@sabresd_6dq:/ # busybox ifconfig
eth0 Link encap:Ethernet HWaddr C0:64:7D:39:A9:FD
inet addr:192.168.7.122 Bcast:192.168.7.255 Mask:255.255.255.0
inet6 addr: fe80::c264:7dff:fe39:a9fd/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:19 errors:0 dropped:0 overruns:0 frame:0
TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1717 (1.6 KiB) TX bytes:2016 (1.9 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
I could not ping by ethernet interface on android board.
Step 2: run "iftop" on android to capture package on eth0 line
root@sabresd_6dq:/ # iftop
Rx Tx
name MTU bytes packets errs drpd bytes packets errs drpd
lo 65536 0 0 0 0 0 0 0 0
eth0 1500 0 0 0 0 0 0 0 0
lo 65536 0 0 0 0 0 0 0 0
eth0 1500 64 1 0 0 0 0 0 0
lo 65536 0 0 0 0 0 0 0 0
eth0 1500 0 0 0 0 0 0 0 0
lo 65536 0 0 0 0 0 0 0 0
eth0 1500 0 0 0 0 0 0 0 0
lo 65536 0 0 0 0 0 0 0 0
eth0 1500 0 0 0 0 0 0 0 0
lo 65536 0 0 0 0 0 0 0 0
eth0 1500 0 0 0 0 0 0 0 0
lo 65536 0 0 0 0 0 0 0 0
eth0 1500 0 0 0 0 0 0 0 0
Normally I did not capture any packages.
Step 3: use another pc to ping android board but unsuccessfully
vietdang@vietdang:~$ ping 192.168.7.122
PING 192.168.7.122 (192.168.7.122) 56(84) bytes of data.
From 192.168.7.196 icmp_seq=1 Destination Host Unreachable
From 192.168.7.196 icmp_seq=2 Destination Host Unreachable
From 192.168.7.196 icmp_seq=3 Destination Host Unreachable
^C
--- 192.168.7.122 ping statistics ---
4 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2999ms
pipe 4
But back to android console shows:
name MTU bytes packets errs drpd bytes packets errs drpd
lo 65536 0 0 0 0 0 0 0 0
eth0 1500 0 0 0 0 0 0 0 0
lo 65536 0 0 0 0 0 0 0 0
eth0 1500 0 0 0 0 0 0 0 0
lo 65536 0 0 0 0 0 0 0 0
eth0 1500 0 0 0 0 0 0 0 0
lo 65536 0 0 0 0 0 0 0 0
eth0 1500 128 2 0 0 42 1 0 0
lo 65536 0 0 0 0 0 0 0 0
eth0 1500 64 1 0 0 42 1 0 0
lo 65536 0 0 0 0 0 0 0 0
eth0 1500 64 1 0 0 42 1 0 0
lo 65536 0 0 0 0 0 0 0 0
eth0 1500 64 1 0 0 42 1 0 0
lo 65536 0 0 0 0 0 0 0 0
eth0 1500 128 2 0 0 42 1 0 0
lo 65536 0 0 0 0 0 0 0 0
eth0 1500 352 5 0 0 42 1 0 0
lo 65536 0 0 0 0 0 0 0 0
eth0 1500 192 2 0 0 0 0 0 0
lo 65536 0 0 0 0 0 0 0 0
eth0 1500 0 0 0 0 0 0 0 0
lo 65536 0 0 0 0 0 0 0 0
eth0 1500 0 0 0 0 0 0 0 0
Android could receive packages but it didn't return any responses.
Regards!
Dang
Hi all,
I'm being stuck this problem.
My ethernet chip is RTL8211e. Also i checked power pins and RGMII_REF_CLK, these pins are still correct.
When i plug in/out ethernet cable, console shows:
IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
libphy: 2188000.ethernet:00 - Link is Up - 1000/Full
IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Please help me solve this.
Best regard!
Dang