dek_blob on imx8mm evk did not generate correct dek_fit_blob.bin

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

dek_blob on imx8mm evk did not generate correct dek_fit_blob.bin

Jump to solution
1,259 Views
yanghongsing1
Contributor III

I am trying to generate  dek_spl_blob.bin and dek_fit_blob.bin under uboot on imx8mm evk board.

I run commands below in imx8mm evk.I found that the dek_fit_blob.bin is always the same. Could you help to advise what is wrong? Thanks...

 

Below are the output of terminal:

u-boot=> mmc list
FSL_SDHC: 1 (SD)
FSL_SDHC: 2
u-boot=> fatload mmc 1:1 0x40400000 dek_spl.bin
16 bytes read in 3 ms (4.9 KiB/s)
u-boot=> dek_blob 0x40400000 0x40401000 128
u-boot=> fatwrite mmc 1:1 0x40401000 dek_spl_blob.bin 0x48
72 bytes written in 8 ms (8.8 KiB/s)
u-boot=> fatload mmc 1:1 0x40402000 dek_fit.bin
16 bytes read in 2 ms (7.8 KiB/s)
u-boot=> dek_blob 0x40402000 0x40403000 128
u-boot=> fatwrite mmc 1:1 0x40403000 dek_fit_blob.bin 0x48
72 bytes written in 7 ms (9.8 KiB/s)

 

yh@yh-C7Z87:~/cst/cst-3.3.1/imx8mm$ hexdump /media/yh/3437-3462/dek_spl.bin
0000000 01fd f43b 2f2c 99e3 2167 7fe1 f3ff 3a33
0000010

yh@yh-C7Z87:~/cst/cst-3.3.1/imx8mm$ hexdump /media/yh/3437-3462/dek_spl_blob.bin
0000000 0081 4348 5566 0010 6c41 db39 c41f 473c
0000010 2381 6480 578d f808 390e 5def 42ba 4234
0000020 9663 7359 fb9c f72d 5174 051f 4c4c 3a82
0000030 6d00 6447 69b0 9c5b fb31 625d 640e 47b3
0000040 648f aba2 7539 fed4
0000048

yh@yh-C7Z87:~/cst/cst-3.3.1/imx8mm$ hexdump /media/yh/3437-3462/dek_fit.bin
0000000 0bf7 ecbb f94b e41b 98b6 e679 7963 c14d
0000010

yh@yh-C7Z87:~/cst/cst-3.3.1/imx8mm$ hexdump /media/yh/3437-3462/dek_fit_blob.bin
0000000 0081 4348 5566 0010 0000 0000 0000 0000
0000010 0000 0000 0000 0000 0000 0000 0000 0000
*
0000030 0000 0000 0000 0000 c580 be08 0000 0000
0000040 0003 0000 0000 0000
0000048

My uboot is built by using input files from below

Uboot version: lf_v2021.04

Optee os: imx_5.4.70_2.3.0

Imx-atf: lf-5.4.y

Imx-mkimage: lf-5.10.y_2.0.0

Labels (1)
0 Kudos
Reply
1 Solution
1,244 Views
yanghongsing1
Contributor III

I downloaded atf source file from the link below and use the bl31.bin generated from them to get solve this issue.

https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git/

View solution in original post

0 Kudos
Reply
2 Replies
1,256 Views
yanghongsing1
Contributor III

I found that I need to reboot to generate the second dek_fit_blob.bin. It looks like something is wrong. Could you advise? Thanks

0 Kudos
Reply
1,245 Views
yanghongsing1
Contributor III

I downloaded atf source file from the link below and use the bl31.bin generated from them to get solve this issue.

https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git/

0 Kudos
Reply