1
0
mirror of https://git.yoctoproject.org/meta-arm synced 2026-01-12 03:10:15 +00:00

arm-bsp/machine: adding corstone700-fvp machine

This machine provides corstone700 platform on FVP.

For more information about the platform, please check:
https://community.arm.com/developer/tools-software/oss-platforms/w/docs/444/corstone-700

Change-Id: I1197d3216f37ab8d2c792da82c4f5e7e17d5a09c
Signed-off-by: Rui Miguel Silva <rui.silva@arm.com>
Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
Abdellatif El Khlifi
2020-08-13 15:52:23 +01:00
committed by Jon Mason
parent 2996183867
commit 6c44a63bc8
3 changed files with 41 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
#@TYPE: Machine
#@NAME: corstone700-fvp machine
#@DESCRIPTION: Machine configuration for Corstone700 FVP
require conf/machine/include/corstone700.inc

View File

@@ -0,0 +1,14 @@
# Common configuration for all Corstone700 machines
require conf/machine/include/tune-cortexa32.inc
MACHINEOVERRIDES =. "corstone700:"
SERIAL_CONSOLES ?= "115200;ttyAMA0"
PREFERRED_PROVIDER_virtual/kernel_corstone700 = "linux-stable"
PREFERRED_VERSION_linux-stable ?= "5.6%"
VIRTUAL-RUNTIME_dev_manager = "busybox-mdev"
WKS_FILE ?= "arm-reference-image.corstone700.wks"

View File

@@ -0,0 +1,22 @@
# WIC partitioning for corstone700
# Layout and maximum sizes:
#
# SPITOC: 1 KB
# SE Ram FW: 32 KB
# FIP image: 991 KB (composed of FIPTOC, BL32 and DTB)
# XIP Cramfs rootfs: 2 MB
# XIP Linux kernel: 3 MB
#
part --source rawcopy --sourceparams="file=spitoc.bin" --no-table --align 1 --fixed-size 1k
part --source rawcopy --sourceparams="file=se_ramfw.bin" --no-table --align 1 --fixed-size 32k
# Rawcopy of the FIP binary
part --source rawcopy --sourceparams="file=fip.bin-corstone700" --no-table --align 1 --fixed-size 991k
# Rawcopy of the rootfs
part --source rawcopy --sourceparams="file=${IMGDEPLOYDIR}/arm-reference-image-${MACHINE}.cramfs-xip" --no-table --fixed-size 2
# Rawcopy of the kernel binary
part --source rawcopy --sourceparams="file=xipImage" --no-table --fixed-size 3