[meta-arm,2/9] arm-bsp/machine: adding corstone700-fvp machine

Submitted by abdellatif.elkhlifi@arm.com on Aug. 7, 2020, 12:41 p.m. | Patch ID: 175123

Details

Message ID 20200807124155.24198-3-abdellatif.elkhlifi@arm.com
State Superseded
Headers show

Commit Message

abdellatif.elkhlifi@arm.com Aug. 7, 2020, 12:41 p.m.
From: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>

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>
---
 .../conf/machine/corstone700-fvp.conf         |  5 +++++
 .../conf/machine/include/corstone700.inc      | 14 ++++++++++++
 .../wic/arm-reference-image.corstone700.wks   | 22 +++++++++++++++++++
 3 files changed, 41 insertions(+)
 create mode 100644 meta-arm-bsp/conf/machine/corstone700-fvp.conf
 create mode 100644 meta-arm-bsp/conf/machine/include/corstone700.inc
 create mode 100644 meta-arm-bsp/wic/arm-reference-image.corstone700.wks

--
2.17.1

IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#980): https://lists.yoctoproject.org/g/meta-arm/message/980
Mute This Topic: https://lists.yoctoproject.org/mt/76047976/3617530
Group Owner: meta-arm+owner@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/meta-arm/unsub  [oe-patchwork@oe-patch.openembedded.org]
-=-=-=-=-=-=-=-=-=-=-=-

Patch hide | download patch | download mbox

diff --git a/meta-arm-bsp/conf/machine/corstone700-fvp.conf b/meta-arm-bsp/conf/machine/corstone700-fvp.conf
new file mode 100644
index 0000000..a6faac7
--- /dev/null
+++ b/meta-arm-bsp/conf/machine/corstone700-fvp.conf
@@ -0,0 +1,5 @@ 
+#@TYPE: Machine
+#@NAME: corstone700-fvp machine
+#@DESCRIPTION: Machine configuration for Corstone700 FVP
+
+require conf/machine/include/corstone700.inc
diff --git a/meta-arm-bsp/conf/machine/include/corstone700.inc b/meta-arm-bsp/conf/machine/include/corstone700.inc
new file mode 100644
index 0000000..67cf153
--- /dev/null
+++ b/meta-arm-bsp/conf/machine/include/corstone700.inc
@@ -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"
diff --git a/meta-arm-bsp/wic/arm-reference-image.corstone700.wks b/meta-arm-bsp/wic/arm-reference-image.corstone700.wks
new file mode 100644
index 0000000..39c70ce
--- /dev/null
+++ b/meta-arm-bsp/wic/arm-reference-image.corstone700.wks
@@ -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

Comments

abdellatif.elkhlifi@arm.com Aug. 8, 2020, 5:43 a.m.
This is a system generated Comment: Patch 175123 was automatically marked as superseded by patch 175137.