IMX6UL SDP download in secure mode

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

IMX6UL SDP download in secure mode

Jump to solution
549 Views
danielberhe
Contributor IV

Hi All,

I'm having issues booting a custom IMX6UL based board using SDP with a signed image.

I have checked hab_status of the signed uboot image and uboot reported no errors. I then closed the board and booted the signed image from flash. All of this works fine and the board is successfully booting the signed image off flash, which suggests that the image is signed properly.

The issue I'm seeing is when tried to download the uboot image to the device using SDP. I initially thought that the signature of the uboot image for SDP had some issues, but I see no HAB errors when I download the signed image to an open board using SDP.

I think the imx6ul is failing to enter serial mode after being closed which isn't making much sense. My understanding was that the device would default to serial mode if it fails to authenticate the image? I'm reasonably confident that it isn't entering serial mode because I sent it the SDP command ERROR_STATUS and I'm getting no response. Sending the same command to an open board works fine.

I attempted to force the device in serial mode by setting BOOT_MODE[1:0] pins to 01, but it still isn't entering serial mode. I've checked that fuse SDP_DISABLE is 0 so I don't think that's the issue.

Does anyone have an idea why I might be seeing this issue?

Thanks,

Daniel

 

Labels (2)
0 Kudos
1 Solution
503 Views
Harvey021
NXP TechSupport
NXP TechSupport
0 Kudos
3 Replies
504 Views
Harvey021
NXP TechSupport
NXP TechSupport
0 Kudos
515 Views
Harvey021
NXP TechSupport
NXP TechSupport

Hi @danielberhe 

Close device should not impact SDP operation with SoC i.MX6UL. Not quite sure if this issue is related to what is mentioned here (https://community.nxp.com/t5/Known-Limitations-and-Guidelines/i-MX-7ULP-Cannot-boot-a-Closed-device-... -SDP/ta-p/1118118), you can try it for reference. In addition, is it convenient for you to check the bits for programming the fuse again?

 

Best regards

Harvey

0 Kudos
506 Views
danielberhe
Contributor IV

Hi Harvey,

Thanks for getting back to me.

Sadly the link you provided seems to be broken. Can you please resend it?

Below are the values of the fuses from a closed board that successfully boots a signed image from QSPI but failing to enter SDP mode. I have ommited the SRK_HASH , GPx, and other fuses that contain information such as unique ID and wafer number.

0x400 : 0x00328003
0x410 : 0xd5ae624d
0x420 :
0x430 : 0x3xxxxx
0x440 : 0x02410002
0x450 : 0x00000010
0x460 : 0x00080052
0x470 : 0x00000000
0x4f0 : 0x00000000
0x600 : 0x00000000
0x620 : 0x00000000
0x660 : 0x00000000
0x670 : 0x00000000
0x680 : 0x00000000
0x6d0 : 0x00000040
0x6e0 : 0x00000000
 

Thanks,

Daniel

0 Kudos