SPM: Makefile: Add targets to build resource description blobs
The targets cactus and ivy now also build the resource description blobs
used by Cactus and Ivy. This is done through a new shell script:
generate_dtb.sh
Example command line to build a package with Cactus and Ivy:
CROSS_COMPILE=aarch64-linux-gnu- make PLAT=fvp \
DEBUG=1 LOG_LEVEL=50 TESTS=spm \
tftf cactus ivy
trusted_firmware/tools/sptool/sptool \
-o sp_package.bin \
-i cactus.bin:cactus.dtb \
-i ivy.bin:ivy.dtb
Also, add a disclaimer to explain that the current implementation of SPM
is a prototype that is going to undergo a lot of rework.
Change-Id: Iebc3ac28d20019b59f07f70f96fefc030f1a79ce
Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
diff --git a/Makefile b/Makefile
index c0d1354..9c4ae7e 100644
--- a/Makefile
+++ b/Makefile
@@ -459,8 +459,8 @@
@echo " tftf Build the TFTF image"
@echo " ns_bl1u Build the NS_BL1U image"
@echo " ns_bl2u Build the NS_BL2U image"
- @echo " cactus Build the Cactus image (Test S-EL0 payload)."
- @echo " ivy Build the Ivy image (Test S-EL0 payload)."
+ @echo " cactus Build the Cactus image (Test S-EL0 payload) and resource description."
+ @echo " ivy Build the Ivy image (Test S-EL0 payload) and resource description."
@echo " el3_payload Build the EL3 test payload"
@echo " checkcodebase Check the coding style of the entire source tree"
@echo " checkpatch Check the coding style on changes in the current"