1# Armv8-A Base Platform FVP Support in meta-arm-bsp
2
3## Howto Build and Run
4
5### Configuration:
6In the local.conf file, MACHINE should be set as follow:
7MACHINE ?= "fvp-base"
8
9### Build:
10```bash$ bitbake core-image-minimal```
11
12### Run:
13To Run the Fixed Virtual Platform simulation tool you must download "Armv8-A
14Base Platform FVP" from Arm developer (This might require the user to
15register) from this address:
16https://developer.arm.com/tools-and-software/simulation-models/fixed-virtual-platforms
17and install it on your host PC.
18
19Fast Models Fixed Virtual Platforms (FVP) Reference Guide:
20https://developer.arm.com/docs/100966/latest
21
22Armv8‑A Foundation Platform User Guide:
23https://developer.arm.com/docs/100961/latest/
24
25
26Once done, do the following to build and run an image:
27```bash$ bitbake core-image-minimal```
28```bash$ export YOCTO_DEPLOY_IMGS_DIR="<yocto-build-dir/tmp/deploy/images/fvp-base>"```
29```bash$ cd <path-to-Base_RevC_AEMv8A_pkg-dir/models/Linux64_GCC-X.X/>```
30```
31bash$ ./FVP_Base_RevC-2xAEMv8A -C bp.virtio_net.enabled=1 \
32         -C cache_state_modelled=0 \
33         -C bp.secureflashloader.fname=${YOCTO_DEPLOY_IMGS_DIR}/bl1-fvp.bin \
34         -C bp.flashloader0.fname=${YOCTO_DEPLOY_IMGS_DIR}/fip-fvp.bin \
35         --data cluster0.cpu0=${YOCTO_DEPLOY_IMGS_DIR}/Image@0x80080000 \
36         --data cluster0.cpu0=${YOCTO_DEPLOY_IMGS_DIR}/fvp-base-gicv3-psci-custom.dtb@0x83000000 \
37         -C bp.virtioblockdevice.image_path=${YOCTO_DEPLOY_IMGS_DIR}/core-image-minimal-fvp-base.wic
38```
39
40
41If you have built a configuration without a ramdisk, you can use the following
42command in U-boot to start Linux:
43```VExpress64# booti 0x80080000 - 0x83000000```
44
45## Devices supported in the kernel
46- serial
47- virtio disk
48- network
49- watchdog
50- rtc
51
52## Devices not supported or not functional
53None
54