I've followed this tutorial (Manually build Boot binary for i.MX8M Mini) for building U-Boot and successfully got the FIT image without HDMI component. And when I tried signing the FIT image following this (i.MX Secure and Encrypted Boot using HABv4), we got the error below. (tried both CST 3.1 & CST 3.3)
I've hereby attached the Build log for your reference. The build log is all the same except zeros for the HDMI field. I've verified the fields in CSF and it looks like the error with block address for signing. The CSF is also attached.
To summarize, the questions are:
Thanks in advance.
Solved! Go to Solution.
Answering my own question:
So, after some trial and error and with the help of community, I got it resolved. It's a problem with specifying path in CSF file. Earlier, I used tilde to specify the home and that has created a lot of chaos.
Here's a note to all:
Don't use tilde(~) in CSF it's causing the 'realloc(): invalid pointer' error. Either use full path (/home/$(whoami)) or relative path (../../)
Answering my own question:
So, after some trial and error and with the help of community, I got it resolved. It's a problem with specifying path in CSF file. Earlier, I used tilde to specify the home and that has created a lot of chaos.
Here's a note to all:
Don't use tilde(~) in CSF it's causing the 'realloc(): invalid pointer' error. Either use full path (/home/$(whoami)) or relative path (../../)
Thanks for your inputs,
Though I've followed the documents, I'm still getting the same error (as in attached image). I've no clue where to debug or what has gone wrong.
P.S: I've tried using CST 3.1, 3.2 & 3.3
Awaiting your reply.
kanimozhi.t@jasmin-infotech.com
Hello,
Both HDMI and DDR controllers require firmware that must be loaded
prior to executing the bootloader. Please try to use also HDMI firmware.
Regards,
Yuri.
Thanks for the reply,
I've already included the firmware for DDR by cp ../../firmware-imx/firmware-imx-8.5/firmware/ddr/synopsys/lpddr4_pmu_train_* . and the error occurs.
But, when I try to include the HDMI firmware, it's not building into the flash.bin and flash.bin still has HDMI address as zero.
Any help in including the HDMI firmware would be much appreciated.
build log: