IMX6 NAND boot: image authentication fails

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

IMX6 NAND boot: image authentication fails

898 Views
abdulrasheed
Contributor I

Hi,VladanJovanovicigorpadykov
I'm trying to boot a customized SPL using NAND as boot source. I can see my code at execution address but the execution does not starts. I have taken the dump of buffer log created by ROM code.
My understanding is that ROM code reads first good block from NAND and place it in SRAM(internal ram). There it should execute the initialization given in DCD. and then copies the image with IVT table to the self address. and start executing from entry address.
In my IVT table I have provided all the addresses of DRAM(external ram). But i can see my code in both places at SRAM (0x00907400) and in DRAM at selfaddress. Also one more thing only 4096 bytes are copied to DRAM not the complete image. why is that?

00902190 = 00010002 000200F0 00030000 00040000
009021A0 = 00050001 00060000 00070000 000700F0
009021B0 = 00080000 00000280 000800F0 00080000
009021C0 = 00000282 00080033 00090000 000A1E33
009021D0 = 00061FFF 000C0000 00000000 00000000
009021E0 = 00000000 00000000 00000000 00000000
009021F0 = 00000000 00000000 00000000 00000000
00902200 = 00000000 00000000 00000000 00000000
00902210 = 00000000 00000000 00000000 00000000
00902220 = 00000000 00000000 00000000 00000000
00902230 = 00000000 00000000 00000000 00000000
00902240 = 00000000 00000000 00000000 00000000
00902250 = 00000000 00000000 00000000 00000000
00902260 = 00000000 00000000 00000000 00000000
00902270 = 00000000 00000000 00000000 00000000
00902280 = 00000000 00000000 00000000 00000000
00902290 = 00000000 03040103 00000409 00030101
009022A0 = 06810040 00002200 0112008C 00000200
009022B0 = 15A24000 00010054 01000201 0200060A


Labels (1)
0 Kudos
2 Replies

481 Views
abdulrasheed
Contributor I

after going through some threads I was able to understand this Boot ROM log.
What I don't understand is that why on reading page 0x00000282 (which translates to 0x141000 of NAND), authentication fails. even though i have taken nanddump and compared it with actual image and they both matched.

can you tell me what authentication status 000A1E33 means?

0 Kudos

481 Views
igorpadykov
NXP Employee
NXP Employee

Hi Abdul

issue may be posted on uboot mail list, as nxp did not use or test spl on i.MX6,7 processors

U-Boot Info Page 

Best regards
igor

0 Kudos