Have you taken a look at the free Base Platform and Foundation models? They don't need a license.
developer.arm.com/.../arm-ecosystem-models
Thanks for your reply. I used the sgcanvas command according to the user guide before, and the display is as follows. The System Canvas cannot be opened, shows the license problem.
My Fast Models is a little dated, but...There's two ways to access the models; Fast Models and FVPs (Fixed Virtual Platform).The FVPs are models of a particular Arm-based system, hence "fixed" virtual platform. They do have launch time parameters to configure/tweak the model. Fast Models is a tool kit. It lets you build your own system models. System Canvas is the tool that comes with Fast Models to create your custom model. You only need System Canvas if you want to construct a custom system model. You do not need it to run the FVPs downloadable from the website.
If you want to learn the Armv8-A architecture, the FVPs are good starting point. The Base Platform FVP is a representative Arm system, and one of the standard targets for things like firmware (https://www.trustedfirmware.org/). It's also free to use.
I want to run Android on Fast Model to test how my program behaves on armv8. I learned in (Fast Models User Guide (arm.com)) that Fast Model can run Android, can FVPs do the same?
Yes, and it's probably easier with the FVPs. The FVPs are fixed system models, many projects use them as a reference platform. Take a look at this page: https://community.arm.com/oss-platforms/w/docs/468/supported-platforms
Thanks for your suggestion, I tried FVPs, but there is a problem of missing files when I start android with GCA. I follow this page :Fast Models User Guide (arm.com).
Installed mesa with the command:
sudo apt install mesa-utils
When I start up FVPs, I get the following problem
There are no vmwgfx_dri.so file in the directory
so, how do i get this file?
Thanks
The Mesa libs are delivered as part of the Fast Models Third Party IP package. If you go to Developer https://developer.arm.com/downloads/view/FM000A and select the Third Party Add-ons for Fast Models 11.19 (Linux) you will be able to install the Mesa libs.Regards
Chris
I just downloaded Third Party IP package from https://developer.arm.com/downloads/view/FM000A, run setup.bin to install. After the installation is complete, there are only two files kms_swrast_dri.so and swrast_dri.so under the FastModelsPortfolio_11.19/GGA/Mesa/Linux64_GCC-9.3/lib/dri.
I don't know how to get vmwgfx_dri.so.
I'm trying to reproduce the issue. What are the parameters you have in your android.params file?
It's very simple:
bp.secure_memory=0
DEBUG.Sidechannel.interceptor=/home/lhx6355/ARM/FastModelsPortfolio_11.19/GGA/reconciler/linux-x86_64/gcc-9.3.0/rel/libReconciler.so
bp.virtioblockdevice.image_path=image/myimage.img
And I tried to setup the Third Party IP11.19、Third Party IP11.18、Third Party IP11.17 and Third Party IP11.16, none of them have vmwgfx_dri.so file.
vmwgfx_dri.so is part of the libgl1-mesa-dri package. I think the only question is why your install does not have it. I've checked mine and a number of colleagues machines and they all have it either in /lib/dri or /usr/lib/dri. The only common point is they are all non-VMs. Is your Ubuntu a VM?I think you should be able to fix this by installing the libgl1-mesa-dri package (sudo apt install libgl1-mesa-dri)
I installed the libgl1-mesa-dri, but the problem is not solved.
Now there is vmwgfx_dri.so,
I copied vmwgf.so to $PVLIB_HOME/GGA/Mesa/Linux64_GCC-9.3/lib path, and set the environment variable export LIBGL_DRIVERS_PATH=$PVLIB_HOME/GGA/Mesa/Linux64_GCC-9.3/lib
At this time, vmwgfx_dri.so has the problem of undefined symbol: amdgpu_query_video_caps_info
Set the environment variable export LIBGL_DRIVERS_PATH=/usr/lib/x86_64-linux-gnu/lib. At this time, both vmwgfx_dri.so and swrast_dri.so have the problem of undefined symbol: amdgpu_query_video_caps_info.
It seems that the version of vmwgfx_dri.so provided by libgl1-mesa-dri is too new compared to the Fast Models Third Party IP package
What is the version of mesa provided by the Fast Models Third Party IP package, and how can I get the corresponding version of vmwgfx_dri.so?
Thanks!
I seem to have solved this problem, but I am still not successful in booting android.
I downloaded and compiled AOSP, branch android-12 and lunch aosp_arm64-eng, and made myimage.img with ramdisk.img and system.img in the android out folder according to Fast Models User Guide (arm.com)
Here is my start command:
./FVP_Base_RevC-2xAEMvA --plugin=../../plugins/Linux64_GCC-9.3/Sidechannel.so
-C DEBUG.Sidechannel.interceptor=$PVLIB_HOME/GGA/reconciler/linux-x86_64/gcc-9.3.0/rel/libReconciler.so
-C pctl.startup=0.0.0.0
-C bp.secure_memory=0
-C cache_state_modelled=0
-C cluster0.NUM_CORES=1
-C cluster1.NUM_CORES=0
-C bp.smsc_91c111.enabled=1
-C bp.smsc_91c111.mac_address=auto
-C bp.pl011_uart0.untimed_fifos=1
-C bp.secureflashloader.fname=fvp_bl1.bin
-C bp.flashloader0.fname=fvp_fip.bin
-C bp.virtioblockdevice.image_path=image/myimage.img
But it stuck in the following interface:
I think there may be a problem with the android image produced, and the fast models user guide is too brief. How can I correctly build an android12 image and Device Tree Binary that can be used by fast models? What files do I need to prepare to run android under fast models?