Hi Team,
I'm using iMX6q custom board with Android 9. we have done the required modification for ethernet and boot-up interface is up. we can see the log. But IP address not assigned and we can't browse it.
sabresd_6dq:/ $ fec 2188000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off
IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
sabresd_6dq:/ $
sabresd_6dq:/ # ifconfig
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:16 errors:0 dropped:0 overruns:0 frame:0
TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1152 TX bytes:1152
eth0 Link encap:Ethernet HWaddr 00:aa:bb:cc:dd:ee Driver fec
inet6 addr: fe80::f9a1:6779:71dd:4ddf/64 Scope: Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:27 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 TX bytes:4182
sabresd_6dq:/ # logcat
--------- beginning of main
06-24 07:48:13.268 235 340 E display : threadLoop invalid uevent change@/devices/soc0/pwm-backlight/backlight/pwm-backlight
fec 2188000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off
06-24 07:48:16.812 423 444 I EthernetTracker: interfaceLinkStateChanged, iface: eth0, up: true
06-24 07:48:16.813 423 531 D EthernetNetworkFactory: updateInterfaceLinkState, iface: eth0, up: true
06-24 07:48:16.813 423 531 D EthernetNetworkFactory: starting IpClient(eth0): mNetworkInfo=[type: Ethernet[], state: DISCONNECTED/IDLE, reason: (unspecified), extra: (none), failover: false, available: false, roaming: false]
06-24 07:48:16.820 217 261 D CommandListener: Clearing all IP addresses on eth0
06-24 07:48:16.877 423 1553 D DhcpClient: Receive thread started
06-24 07:48:16.882 423 1552 D DhcpClient: Broadcasting DHCPDISCOVER
Issue fixed.
Thanks.