rockchip-linux / u-boot

U-Boot tree for pending commits
113 stars 79 forks source link

trust_merger file bin/rk33/rk3399_bl32_v1.18.bin too large #63

Open Dvergatal opened 3 years ago

Dvergatal commented 3 years ago

Hi all, I have compiled my own op_tee image and i have problems with trust_merger.

According to https://github.com/OP-TEE/optee_os/issues/2994 i should use trust_merger to merge trusted image but unfortunately the tee-pager_v2.bin exceeds the BL3X_FILESIZE_MAX and trust_merger throws an error: E: [mergetrust] file bin/rk33/rk3399_bl32_v1.18.bin too large.

I was thinking about changing this size in trust_merge.c but i dunno if that will break something. Can anybody help me solving it?

Thanks in advance.