development environment
The board used is the Alpha-Mini board of punctual atom, and the teaching material is the driver development guide v1.6 of punctual atom.
question
After starting uboot and learning network commands, the server host cannot be pinged.
Among them, serverip
, ipaddr
, ethaddr
, gatewayip
, netmask
have all been set up and confirmed that the server ip and the board ip address are in the same network segment.
solution
By referring to the https://blog.csdn.net/west_cloth/article/details/118342654 article, it is found that it is a network configuration problem of the virtual machine.
Change the network connection from NAT mode to bridge, and then enter the virtual machine again to view the ip information after changing the network configuration.
Set the relevant network environment variables in uboot, and ping the host again to successfully communicate~