How to flash signed image using emmc in imx8

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

How to flash signed image using emmc in imx8

2,241 Views
pawar_123_y
Contributor II

Hello,

I have signed image using scfw_tcm.bin (System Controller Firmware ),mx8qm(qx)-ahab-container.image  (Security Controller Firmware),bl31.bin(ARM Trusted Firmware),u-boot.bin(U-boot binary).

now I want to flash image into board using emmc. Can you please tell me which command i should use.

 

Tags (1)
0 Kudos
3 Replies

2,233 Views
joanxie
NXP TechSupport
NXP TechSupport

pls refer to the chapter 4.5.13 How to build imx-boot image by using imx-mkimage of enclosed user guide,

For i.MX 8QuadXPlus, to build imx-boot image by using imx-mkimage, perform the following steps:
1. Copy u-boot.bin from u-boot/u-boot.bin to imx-mkimage/iMX8QX/.
2. Copy scfw_tcm.bin from SCFW porting kit to imx-mkimage/iMX8QX/.
3. Copy bl31.bin from Arm Trusted Firmware (imx-atf) to imx-mkimage/iMX8QX/.
4. Copy the SECO firmware container image (ahab-container.img) to imx-mkimage/iMX8QX/.
5. Run make SOC=iMX8QX flash to generate flash.bin.
6. If using OP-TEE, copy tee.bin to imx-mkimage/iMX8QX/ and copy u-boot/spl/u-boot-spl.bin to imx-mkimage/
iMX8QX/. Run make SOC=iMX8QX flash_spl to generate flash.bin

 

0 Kudos

2,229 Views
pawar_123_y
Contributor II

Hello joanxie,

Thank you for your reply.

1) I have build flash.bin from mkimage tool and signed it with using .csf from CST tool. now i have signed flash.signed.bin

2) I need to load this flash.signed.bin image into imx8qxp by using eMMC. which command i should used here.

 previously I was using sudo uuu -b emmc_all imx-boot-.bin-flash  .rootfs.wic

Can you please guide me which command i should use with flash.signed.bin on emmc.

 

0 Kudos

2,219 Views
joanxie
NXP TechSupport
NXP TechSupport

pls refer to the chapter 4.2.2 Using UUU of enclosed file

0 Kudos