How to set IP address on VIM3 with Fuchsia OS?

If I build it with workstation.vim3 and flash it,
The following message occurs.
[00078.952] 33733:00000> [netstack, DHCP] INFO: client.go(436): ethx29: recv dhcpOFFER: read: context deadline exceeded; retrying initSelecting
[00078.952] 33733:00000> [netstack, DHCP] INFO: client.go(481): ethx29: scheduling renewal in 1s
[00079.009] 33733:00000> [netstack, DHCP] INFO: client.go(436): ethxd5: recv dhcpOFFER: read: context deadline exceeded; retrying initSelecting
[00079.009] 33733:00000> [netstack, DHCP] INFO: client.go(481): ethxd5: scheduling renewal in 1s
[00079.952] 33733:00000> [netstack, DHCP] INFO: client.go(887): ethx29: send dhcpDISCOVER from :68 to 255.255.255.255:67 on NIC:2 (bcast=false ciaddr=false)
[00080.009] 33733:00000> [netstack, DHCP] INFO: client.go(887): ethxd5: send dhcpDISCOVER from :68 to 255.255.255.255:67 on NIC:3 (bcast=false ciaddr=false)
[00083.279] 33733:00000> [netstack, DHCP] WARNING: client.go(688): ethx29: recv timeout waiting for dhcpOFFER; retransmitting dhcpDISCOVER
[00083.279] 33733:00000> [netstack, DHCP] INFO: client.go(887): ethx29: send dhcpDISCOVER from :68 to 255.255.255.255:67 on NIC:2 (bcast=false ciaddr=false)
[00084.524] 33733:00000> [netstack, DHCP] WARNING: client.go(688): ethxd5: recv timeout waiting for dhcpOFFER; retransmitting dhcpDISCOVER
[00084.524] 33733:00000> [netstack, DHCP] INFO: client.go(887): ethxd5: send dhcpDISCOVER from :68 to 255.255.255.255:67 on NIC:3 (bcast=false ciaddr=false)

My VIM3 is directly connected to the router.

The network doesn’t work? We checked before and the network works well without any setup. Could you please double check your connection?

Wired connection is no problem.
It is well recognized on Android U-boot.

When you build with Workstation config, is the ermine shell displayed on the monitor?

I’m not sure whether the WOL will effect the network, but you can try to disable the WOL function in the u-boot command line and check again.

kvim3#kbi trigger wol w 0
kvim3#kbi poweroff

And then power on the board.

1 Like

In u-boot used in Fuchsia OS, I cannot enter the kvim3 shell, right?

To turn that option off I have to change to android u-boot and work again.

It is the same even if I change to Fuchsia after turning off WOL in Android u-boot.

Can you share a log that works normally?

[00139.983] 29804:00000> [netstack, DHCP] INFO: client.go(481): ethx16: scheduling renewal in 1s
[00140.908] 29804:00000> [netstack, DHCP] INFO: client.go(887): ethxce: send dhcpDISCOVER from :68 to 255.255.255.255:67 on NIC:2 (bcast=false ciaddr=false)
[00140.983] 29804:00000> [netstack, DHCP] INFO: client.go(887): ethx16: send dhcpDISCOVER from :68 to 255.255.255.255:67 on NIC:3 (bcast=false ciaddr=false)
[00144.186] 29804:00000> [netstack, DHCP] WARNING: client.go(688): ethx16: recv timeout waiting for dhcpOFFER; retransmitting dhcpDISCOVER
[00144.186] 29804:00000> [netstack, DHCP] INFO: client.go(887): ethx16: send dhcpDISCOVER from :68 to 255.255.255.255:67 on NIC:3 (bcast=false ciaddr=false)
[00144.455] 29804:00000> [netstack, DHCP] WARNING: client.go(688): ethxce: recv timeout waiting for dhcpOFFER; retransmitting dhcpDISCOVER
[00144.455] 29804:00000> [netstack, DHCP] INFO: client.go(887): ethxce: send dhcpDISCOVER from :68 to 255.255.255.255:67 on NIC:2 (bcast=false ciaddr=false)
[00151.635] 29804:00000> [netstack, DHCP] WARNING: client.go(688): ethxce: recv timeout waiting for dhcpOFFER; retransmitting dhcpDISCOVER
[00151.635] 29804:00000> [netstack, DHCP] INFO: client.go(887): ethxce: send dhcpDISCOVER from :68 to 255.255.255.255:67 on NIC:2 (bcast=false ciaddr=false)
[00151.706] 29804:00000> [netstack, DHCP] WARNING: client.go(688): ethx16: recv timeout waiting for dhcpOFFER; retransmitting dhcpDISCOVER
[00151.706] 29804:00000> [netstack, DHCP] INFO: client.go(887): ethx16: send dhcpDISCOVER from :68 to 255.255.255.255:67 on NIC:3 (bcast=false ciaddr=false)
[00167.002] 29804:00000> [netstack, DHCP] WARNING: client.go(688): ethxce: recv timeout waiting for dhcpOFFER; retransmitting dhcpDISCOVER
[00167.002] 29804:00000> [netstack, DHCP] INFO: client.go(887): ethxce: send dhcpDISCOVER from :68 to 255.255.255.255:67 on NIC:2 (bcast=false ciaddr=false)
[00167.990] 29804:00000> [netstack, DHCP] WARNING: client.go(688): ethx16: recv timeout waiting for dhcpOFFER; retransmitting dhcpDISCOVER
[00167.990] 29804:00000> [netstack, DHCP] INFO: client.go(887): ethx16: send dhcpDISCOVER from :68 to 255.255.255.255:67 on NIC:3 (bcast=false ciaddr=false)
[00182.999] 06763:08795> [usb_cdc, driver_host:composite-device, driver] INFO: [cdc-eth-function.cc(612)] cdc_set_configured: 0 0
[00183.001] 29804:00000> [netstack, eth] INFO: client.go(276): fuchsia.hardware.ethernet.Device.GetStatus() = Unknown