mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-01-11 15:00:39 +00:00
Optimize execution on FVP and Foundation platform
Add an extra partition to the disk image generated for FVP and Foundation platform (to be used for user data or extra usage). The partition is created on the hard drive but is not formated. Speed up running on FVP and Foundation by optimizing model parameters: - disable options that are already set by default - disable cache modelling on FVP - disable secure memory - disable real time on Foundation (prevents timeout as execution is a lot slower then on a real system) Change-Id: I20d613bd8b0f4cb7df87c294d45b9f718f6a8ed3 Signed-off-by: Bertrand Marquis <bertrand.marquis@arm.com>
This commit is contained in:
committed by
Jon Mason
parent
313544372c
commit
8e5b91b42e
@@ -27,6 +27,11 @@ DISK_IMG_PARTITION2_SIZE = "2048"
|
||||
DISK_IMG_PARTITION2_FSTYPE = "ext4"
|
||||
DISK_IMG_PARTITION2_CONTENT = "rootfs"
|
||||
|
||||
# Empty third partition (8G - 2048M - 128M)
|
||||
DISK_IMG_PARTITION3_SIZE = "6016"
|
||||
DISK_IMG_PARTITION3_FSTYPE = ""
|
||||
DISK_IMG_PARTITION3_CONTENT = ""
|
||||
|
||||
SERIAL_CONSOLES = "115200;ttyAMA0"
|
||||
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-yocto"
|
||||
|
||||
@@ -40,10 +40,10 @@ DISK_FILE=""
|
||||
FOUNDATION_PLAT_EXE="Foundation_Platform"
|
||||
|
||||
# Foundation Platform arguments
|
||||
# 4 cores
|
||||
# gicv3 emulation (required for hardware virtualisation)
|
||||
FOUNDATION_PLAT_ARGS=" \
|
||||
--cores=4 \
|
||||
--secure-memory \
|
||||
--use-real-time \
|
||||
--gicv3"
|
||||
|
||||
# Foundation Platform user arguments
|
||||
|
||||
@@ -38,13 +38,11 @@ DISK_FILE=""
|
||||
FVPEXEC="FVP_Base_RevC-2xAEMv8A"
|
||||
|
||||
# FVP arguments
|
||||
# enable virtio network
|
||||
# disable cache modelling to improve performances
|
||||
FVPARGS=" \
|
||||
-C bp.virtio_net.enabled=1 \
|
||||
-C pctl.startup=0.0.0.0 \
|
||||
-C bp.secure_memory=1 \
|
||||
-C bp.tzc_400.diagnostics=1 \
|
||||
-C cluster0.NUM_CORES=4 \
|
||||
-C cluster1.NUM_CORES=4"
|
||||
-C cache_state_modelled=0"
|
||||
|
||||
# FVP user arguments
|
||||
EXTRA_ARGS=""
|
||||
|
||||
Reference in New Issue
Block a user