Hi,I want to use network on FVP, I added "--network=nat" when starting the FVPbut there was not an ip addr when I booted into the kernel, ifconfig shows as below:
FVP host is ubuntu-16.04 inside VirtualBox
I am not familiar with network. is there anyone can help me ? thanks a lot!
Hi Simon,
my FVP version is Linux64_GCC-4.7, "ARM V8 Foundation Platformr0p0 (platform build 10.3.26)".
command line :
run-only: @cd $(FOUNDATION_PATH); \ $(FOUNDATION_PATH)/models/Linux64_GCC-4.9/Foundation_Platform \ --arm-v8.0 \ --cores=4 \ --secure-memory \ --visualization \ --gicv3 \ --data="$(ARM_TF_BIN_PATH)/bl1.bin"@0x0 \ --data="$(ARM_TF_BIN_PATH)/fip.bin"@0x8000000 \ --block-device=$(BOOT_IMG) \ --network=nat \ --network-nat-subnet=10.0.2.0/2300 \ --network-nat-ports=8022=22
As I am not familiar with linux and net development, I just use a All in one script for building and running the
software stack based on optee, linux, fvp, uefi, etc.
OP-TEE/build
As you can see, the default FVP version required by the script is "Linux64_GCC-4.9". I work around this by just adding a
directory named "Linux64_GCC-4.9" and copying the actual executable file under directory "Linux64_GCC-4.7"
Also, my FVP host is standard ubuntu 16.04 with a IP 10.0.2.15,
I have tried several combinations of the following parameters, and nothing changed.
--network=nat \--network-nat-subnet=10.0.2.0/2300 \ --network-nat-ports=8022=22
according to your analysis, maybe I should try another FVP
I am very appreciative if you can give some more advice based on the info above.
thanks
***.
I would recommend updating the model to the latest version (from https://developer.arm.com/products/system-design/fixed-virtual-platforms, it will be verison 11.2) but I doubt this is causing your issue, it is much more likely to be a SW issue.
I've followed the same instructions and had the same output, so I can confirm you are not doing anything wrong but network support on this particular SW stack is not working.Based on the fact that the configuration does not allow for the --network option to be provided by default, I would assume this configuration has not been tested and is not the purpose of this script.
If you really need this SW stack, I would suggest contacting Linaro, otherwise you could use the SW stack described in https://community.arm.com/dev-platforms/b/documents/posts/using-linaros-deliverables-on-an-fvp .
Regards,
Simon