I am currently working on secure boot for sabrelite. By reading the Reference Manual of imx6q, i read that the public key should be burned on hardware fuses, and it then only authenticate those image which private key gets matched. So my question is that, lets say I have existing u-boot image and I want to add private key to that image. How can i do this without using any library or software ? Or should i embed private key during image build process ? I am very new in this, sorry if something does not make sense. Thanks in advance.
P.S: I can't afford to use any library or external software.