Skip to content
Snippets Groups Projects
Commit 4981b770 authored by Maximus Sun's avatar Maximus Sun
Browse files

MA-21096 Fix tee.bin can't be compressed as expected on 8ulp/8q.


tee.bin don't be compressed as expect when build bootloader images
on 8ulp & 8q series, fix this issue.

Change-Id: I28efef24e3ae59095d7eec36ac237b76628470eb
Signed-off-by: default avatarMaximus Sun <maximus.sun@nxp.com>
parent ac12242d
No related branches found
No related merge requests found
......@@ -68,9 +68,8 @@ u-boot-atf-container.img: bl31.bin u-boot-hash.bin
if [ -f $(TEE) ]; then \
if [ $(shell echo $(TEE_COMPRESS_ENABLE)) ]; then \
echo "Start compress $(TEE)"; \
@rm -f $(TEE).lz4; \
lz4 -9 $(TEE) $(TEE).lz4; \
TEE = $(TEE).lz4; \
lz4 -9 -f --rm $(TEE) $(TEE).lz4; \
cp $(TEE).lz4 $(TEE); \
fi; \
if [ $(shell echo $(ROLLBACK_INDEX_IN_CONTAINER)) ]; then \
./$(MKIMG) -soc QM -sw_version $(ROLLBACK_INDEX_IN_CONTAINER) -rev B0 -c -ap bl31.bin a53 0x80000000 -ap u-boot-hash.bin a53 0x80020000 -ap $(TEE) a53 0xFE000000 -out u-boot-atf-container.img; \
......
......@@ -51,9 +51,8 @@ u-boot-atf-container.img: bl31.bin u-boot-hash.bin
if [ -f $(TEE) ]; then \
if [ $(shell echo $(TEE_COMPRESS_ENABLE)) ]; then \
echo "Start compress $(TEE)"; \
@rm -f $(TEE).lz4; \
lz4 -9 $(TEE) $(TEE).lz4; \
TEE = $(TEE).lz4; \
lz4 -9 -f --rm $(TEE) $(TEE).lz4; \
cp $(TEE).lz4 $(TEE); \
fi; \
if [ $(shell echo $(ROLLBACK_INDEX_IN_CONTAINER)) ]; then \
./$(MKIMG) -soc QX -sw_version $(ROLLBACK_INDEX_IN_CONTAINER) -rev B0 -c -ap bl31.bin a35 0x80000000 -ap u-boot-hash.bin a35 0x80020000 -ap $(TEE) a35 $(TEE_LOAD_ADDR) -out u-boot-atf-container.img; \
......
......@@ -55,9 +55,8 @@ u-boot-atf-container.img: bl31.bin u-boot-hash.bin
if [ -f $(TEE) ]; then \
if [ $(shell echo $(TEE_COMPRESS_ENABLE)) ]; then \
echo "Start compress $(TEE)"; \
rm -f $(TEE).lz4; \
lz4 -9 $(TEE) $(TEE).lz4; \
TEE = $(TEE).lz4; \
lz4 -9 -f --rm $(TEE) $(TEE).lz4; \
cp $(TEE).lz4 $(TEE); \
fi; \
if [ $(shell echo $(ROLLBACK_INDEX_IN_CONTAINER)) ]; then \
./$(MKIMG) -soc ULP -sw_version $(ROLLBACK_INDEX_IN_CONTAINER) -c -ap bl31.bin a35 $(ATF_LOAD_ADDR) -ap u-boot-hash.bin a35 $(UBOOT_LOAD_ADDR) -ap $(TEE) a35 $(TEE_LOAD_ADDR) -out u-boot-atf-container.img; \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment