summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlei zhou <lei.zhou@linaro.org>2022-11-22 12:06:17 -0500
committerlei zhou <lei.zhou@linaro.org>2022-11-22 12:06:17 -0500
commit631037e8ccfec5f03355f73a7c6bc671e61ae631 (patch)
treea24ee99bbf0d8f614fc09d2cd64b2db37c099e39
parent703f9ef2f57d54a13edfe519cfc45555d584ef06 (diff)
imx-mkimage: Minor update
-rw-r--r--iMX8M/csf_fit.txt7
-rw-r--r--iMX8M/csf_fit_tee.txt2
-rw-r--r--iMX8M/csf_spl.txt2
-rw-r--r--iMX8M/soc.mak8
4 files changed, 7 insertions, 12 deletions
diff --git a/iMX8M/csf_fit.txt b/iMX8M/csf_fit.txt
index db44c63..a0fa5f8 100644
--- a/iMX8M/csf_fit.txt
+++ b/iMX8M/csf_fit.txt
@@ -30,7 +30,6 @@
Verification index = 2
# Authenticate Start Address, Offset, Length and file
Blocks = 0x401fcdc0 0x57c00 0x1020 "flash.bin", \
- 0x40200000 0x5AC00 0xD6EC8 "flash.bin", \
- 0x402D6EC8 0x131AC8 0xCD98 "flash.bin", \
- 0x910000 0x13E860 0xA0E0 "flash.bin"
-
+ 0x40200000 0x5AC00 0xD6EA8 "flash.bin", \
+ 0x402D6EA8 0x131AA8 0xCD98 "flash.bin", \
+ 0x910000 0x13E840 0xA0E0 "flash.bin"
diff --git a/iMX8M/csf_fit_tee.txt b/iMX8M/csf_fit_tee.txt
index b5f1f99..1c63749 100644
--- a/iMX8M/csf_fit_tee.txt
+++ b/iMX8M/csf_fit_tee.txt
@@ -30,4 +30,4 @@
Verification index = 2
# Authenticate Start Address, Offset, Length and file
Blocks = 0x401fcdc0 0x0 0x1020 "tee-ivt.itb", \
- 0xFE000000 0x3000 0x7EEB0 "tee-ivt.itb"
+ 0xFE000000 0x3000 0x7EEB0 "tee-ivt.itb"
diff --git a/iMX8M/csf_spl.txt b/iMX8M/csf_spl.txt
index 30c83f8..2ecffaf 100644
--- a/iMX8M/csf_spl.txt
+++ b/iMX8M/csf_spl.txt
@@ -34,4 +34,4 @@
# Key slot index used to authenticate the image data
Verification index = 2
# Authenticate Start Address, Offset, Length and file
- Blocks = 0x7e0fc0 0x0 0x35a00 "flash.bin"
+ Blocks = 0x7e0fc0 0x0 0x35800 "flash.bin"
diff --git a/iMX8M/soc.mak b/iMX8M/soc.mak
index 42f9ed6..90ff2ef 100644
--- a/iMX8M/soc.mak
+++ b/iMX8M/soc.mak
@@ -137,7 +137,7 @@ u-boot-atf-tee.bin: u-boot.bin bl31.bin tee.bin
.PHONY: clean
clean:
- @rm -f $(MKIMG) u-boot-atf.bin u-boot-atf-tee.bin u-boot-spl-ddr.bin u-boot.itb u-boot.its u-boot-ddr3l.itb u-boot-ddr3l.its u-boot-spl-ddr3l.bin u-boot-ddr4.itb u-boot-ddr4.its u-boot-spl-ddr4.bin u-boot-ddr4-evk.itb u-boot-ivt.itb u-boot-ddr4-evk.its $(OUTIMG)
+ @rm -f $(MKIMG) tee.its tee.itb u-boot-atf.bin u-boot-atf-tee.bin u-boot-spl-ddr.bin u-boot.itb u-boot.its u-boot-ddr3l.itb u-boot-ddr3l.its u-boot-spl-ddr3l.bin u-boot-ddr4.itb u-boot-ddr4.its u-boot-spl-ddr4.bin u-boot-ddr4-evk.itb u-boot-ivt.itb u-boot-ddr4-evk.its u-boot-notee.its u-boot-notee.itb $(OUTIMG)
dtb = evk.dtb
$(dtb):
@@ -162,7 +162,7 @@ tee.itb:
./$(PAD_IMAGE) tee.bin
DEK_BLOB_LOAD_ADDR=$(DEK_BLOB_LOAD_ADDR) TEE_LOAD_ADDR=$(TEE_LOAD_ADDR) ./mkimage_fit_tee.sh > tee.its
./mkimage_uboot -E -p 0x3000 -f tee.its tee.itb
- #@rm -f tee.its
+ @rm -f tee.its
dtb_ddr3l = valddr3l.dtb
$(dtb_ddr3l):
@@ -299,10 +299,6 @@ flash_dp_spl_uboot: flash_dp_evk
flash_spl_uboot: flash_evk_no_hdmi
-#print_fit_hab_tee:
-# ./$(PAD_IMAGE) tee.bin
-# TEE_LOAD_ADDR=$(TEE_LOAD_ADDR) VERSION=$(VERSION) ./print_fit_hab_tee.sh
-
print_fit_hab_tee:
./$(PAD_IMAGE) tee.bin
TEE_LOAD_ADDR=$(TEE_LOAD_ADDR) VERSION=$(VERSION) ./print_fit_hab_tee.sh 0