We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I successfully run android-swr on FVP_morello, I want to connect to the internet and I used the virtio_net:
./run-scripts/run_model.sh -m FVP_Morello/models/Linux64_GCC-6.4/FVP_Morello -f android-swr -e virtio_net
I try to ping 36.152.44.96, but failed.
It doesn't seem to be connected to the internet
Can someone help me?
Thanks!
Hi fish man,
By default, the -e option will enable user-mode networking, which does not support the ICMP protocol, thus ping will not work. TCP or UDP connections, however, should work, with some limitations (covered in more details in the Fast Models Reference Guide: https://developer.arm.com/documentation/100964/1119/Introduction-to-Fast-Models/User-mode-networking?lang=en)
If you don't specifically require ping/ICMP to work, you can use some other approach to test network connectivity.
If you require ping/ICMP to work, you need to set up a TAP interface and use the -t option, as described in "5.1.6. Setting up TAP interface (optional)" in the Morello User Guide: https://git.morello-project.org/morello/docs/-/blob/morello/mainline/user-guide.rst#setting-up-tap-interface-optional
Kind regards,
Dobromir