mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-05-06 04:42:16 +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:
@@ -3,15 +3,11 @@ header:
|
|||||||
includes:
|
includes:
|
||||||
- ci/base.yml
|
- ci/base.yml
|
||||||
- ci/meta-openembedded.yml
|
- ci/meta-openembedded.yml
|
||||||
|
|
||||||
local_conf_header:
|
local_conf_header:
|
||||||
image: |
|
perf: |
|
||||||
INITRAMFS_IMAGE_BUNDLE = "0"
|
|
||||||
INITRAMFS_IMAGE:remove = "corstone1000-initramfs-image"
|
|
||||||
CORE_IMAGE_EXTRA_INSTALL += "optee-client"
|
|
||||||
CORE_IMAGE_EXTRA_INSTALL += "ffa-debugfs-mod"
|
|
||||||
|
|
||||||
distro: poky-tiny
|
distro: poky-tiny
|
||||||
|
|
||||||
target:
|
target:
|
||||||
- core-image-minimal
|
- perf
|
||||||
|
- corstone1000-image
|
||||||
|
|||||||
11
meta-arm-bsp/recipes-bsp/images/corstone1000-image.bb
Normal file
11
meta-arm-bsp/recipes-bsp/images/corstone1000-image.bb
Normal 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"
|
||||||
@@ -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"
|
||||||
15
meta-arm-bsp/wic/corstone1000-image.corstone1000.wks
Normal file
15
meta-arm-bsp/wic/corstone1000-image.corstone1000.wks
Normal 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
|
||||||
Reference in New Issue
Block a user