I'm trying to implement Secure Boot on an i.MX8M Mini board using HABv4. An important step for this is burning the SRK hashes to eFuses.
I have tried programming the fuses via U-Boot and the operation seems successful at first, but a read shows that the fuse value has actually not changed:
u-boot=> fuse prog 7 3 0xD5DC4A43
Programming bank 7 word 0x00000003 to 0xd5dc4a43...
Warning: Programming fuses is an irreversible operation!
This may brick your system.
Use this command only if you are sure of what you are doing!
Really perform this fuse programming? <y/N> y
u-boot=> fuse read 7 3
Reading bank 7:
Word 0x00000003: 00000000
This is using U-Boot 2024.01 (mainline, not u-boot-imx). I have read a lot of contradicting articles, some of them claiming that mainline U-Boot does not support eFuses on i.MX8 and some that it should be implemented.
Can someone give me a definitive statement on that?
If U-Boot is not an option, can I burn the fuses from Linux? I've got Kernel 6.18.19 LTS (mainline, not linux-imx) running on the board with a userland generated using PTXdist.
I have also tried using `uuu` to run a U-Boot-imx build but it seems the board does not offer the USB port required for this.
Thanks in advance!