Wind River Support Network

HomeDefectsLIN1021-1726
Fixed

LIN1021-1726 : marvell-cn96xx: fail to get IP for eth after binary image boot up

Created: Oct 15, 2021    Updated: Nov 24, 2021
Resolved Date: Nov 23, 2021
Found In Version: 10.21.20.6
Fix Version: 10.21.20.7
Severity: Standard
Applicable for: Wind River Linux CD
Component/s: Userspace

Description

1) Build a image for marvell-cn96xx
$ bitbake wrlinux-image-std

2) Boot image

3) Check ifcnofig and dhcp status

root@marvell-cn96xx:~# ifconfig
eth1 Link encap:Ethernet HWaddr 00:10:46:29:83:41
 inet6 addr: fe80::36a3:33d3:a82a:8b94/64 Scope:Link
 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
 RX packets:771 errors:0 dropped:0 overruns:0 frame:0
 TX packets:37 errors:0 dropped:0 overruns:0 carrier:0
 collisions:0 txqueuelen:1000
 RX bytes:127106 (124.1 KiB) TX bytes:9074 (8.8 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:1000
 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

root@marvell-cn96xx:~# systemctl status dhcpcd
* dhcpcd.service - Dynamic Host Configuration Protocol (DHCP)
 Loaded: loaded (/usr/lib/systemd/system/dhcpcd.service; enabled; vendor preset: disabled)
 Active: active (running) since Fri 2021-10-15 14:54:04 UTC; 20min ago
 Main PID: 654 (dhcpcd-systemd-)
 Tasks: 7 (limit: 14614)
 Memory: 8.8M
 CGroup: /system.slice/dhcpcd.service
 |-654 /bin/sh /usr/sbin/dhcpcd-systemd-wrapper
 |-663 dhcpcd: eth1 ip4] [ip6]
  (-666 dhcpcd: [privileged actioneer) eth1 ip4] [ip6]
  (-667 dhcpcd: [network proxy) eth1 ip4] [ip6]
  (-668 dhcpcd: [control proxy) eth1 ip4] [ip6]
  (-745 dhcpcd: [BPF BOOTP) eth1
 `-746 dhcpcd: [network proxy] fe80::36a3:33d3:a82a:8b94

Oct 15 14:54:04 marvell-cn96xx systemd[1]: Started Dynamic Host Configuration Protocol (DHCP).

Steps to Reproduce

1) wget [http://128.224.153.156/buildarea1/SharedImage/LTS21/LTS21_STD_BINARY/marvell-cn96xx/20211013/lts-21/marvell-cn96xx/target-minimal-marvell-cn96xx.tar.bz2]

2) deploy the target according to the binary image readme.
Live chat
Online