1
0
mirror of https://git.yoctoproject.org/meta-arm synced 2026-05-06 16:48:54 +00:00

arm-bsp/corstone1000: remove the need for meta-arm-image

This commit remove meta-arm-image from the yml file and adds
necessary image configuration to meta-arm-bsp/recipes-bsp/images.

Signed-off-by: Emekcan Aras <emekcan.aras@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
Emekcan Aras
2022-03-17 16:10:33 +00:00
committed by Jon Mason
parent 3d0e5368d1
commit bc278abe27
4 changed files with 57 additions and 7 deletions

View File

@@ -3,15 +3,11 @@ header:
includes:
- ci/base.yml
- ci/meta-openembedded.yml
local_conf_header:
image: |
INITRAMFS_IMAGE_BUNDLE = "0"
INITRAMFS_IMAGE:remove = "corstone1000-initramfs-image"
CORE_IMAGE_EXTRA_INSTALL += "optee-client"
CORE_IMAGE_EXTRA_INSTALL += "ffa-debugfs-mod"
perf: |
distro: poky-tiny
target:
- core-image-minimal
- perf
- corstone1000-image

View File

@@ -0,0 +1,11 @@
SUMARY = "Corstone1000 platform Image"
DESCRIPTION = "This is the main image which is the container of all the binaries \
generated for the Corstone1000 platform."
LICENSE = "MIT"
inherit image
inherit wic_nopt
PACKAGE_INSTALL = ""
IMAGE_FSTYPES += "wic wic.nopt"

View File

@@ -0,0 +1,28 @@
SUMARY = "Corstone1000 platform Initramfs Image"
DESCRIPTION = "This is the main Linux image which includes an initramfs kernel/rootfs bundle."
LICENSE = "MIT"
IMAGE_FSTYPES = "${INITRAMFS_FSTYPES}"
inherit core-image
# By default all basic packages required for a bootable system are installed
# by core-image . These packages are: packagegroup-core-boot and
# packagegroup-base-extended
inherit image-buildinfo
IMAGE_FEATURES += "debug-tweaks"
#package management is not supported in corstone1000
IMAGE_FEATURES:remove = "package-management"
# all optee packages
IMAGE_INSTALL += "optee-client"
# FF-A Debugfs driver
IMAGE_INSTALL += "ffa-debugfs-mod"
# psa-arch-tests linux userspace application
IMAGE_INSTALL += "secure-partitions-psa-api-tests"

View File

@@ -0,0 +1,15 @@
# WIC partitioning for corstone1000
# Layout and maximum sizes (to be defined):
#
part --source rawcopy --sourceparams="file=bl2_signed.bin" --align 1 --no-table --fixed-size 100k
part --source rawcopy --sourceparams="file=bl2_signed.bin" --align 1 --no-table --fixed-size 100k
part --source rawcopy --sourceparams="file=tfm_s_signed.bin" --align 1 --no-table --fixed-size 376k
part --source rawcopy --sourceparams="file=tfm_s_signed.bin" --align 1 --no-table --fixed-size 376k
# Rawcopy of the FIP binary
part --source rawcopy --sourceparams="file=signed_fip-corstone1000.bin" --align 1 --no-table --fixed-size 2
# Rawcopy of kernel with initramfs
part --source rawcopy --sourceparams="file=Image-initramfs-${MACHINE}.bin" --no-table --fixed-size 12