From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lukasz Majewski Date: Fri, 18 May 2018 09:28:35 +0200 Subject: [U-Boot] IMX6 NAND booting failure In-Reply-To: <1ec62ef5564342b48555962d74b96af4@SVR-IES-MBX-03.mgc.mentorg.com> References: <1ec62ef5564342b48555962d74b96af4@SVR-IES-MBX-03.mgc.mentorg.com> Message-ID: <20180518092835.00a1f819@jawa> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Rasheed, > Hi, > I am working on VAR-SOM-MX6 SOC. I'm trying to boot a custom SPL from > NAND. After programming NAND with custom SPL, system goes to serial > downloader mode. I have taken the ROM code buffer log (also attached > below). It shows that authentication fails. My boot security settings > are OPEN, so even though authentication fails it should handover the > control to SPL, which ROM code doesn't and system goes to serial > downloader mode. I was able to attach JTAG and read the registers of > core and it shows that LR is 0x000B0000. Which is exactly what it > should be. Because it was expected to jump to entry point. > > > 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 > Shouldn't the NAND consist of some extra configuration data? > > Regards, > Abdul Rasheed > > _______________________________________________ > U-Boot mailing list > U-Boot at lists.denx.de > https://lists.denx.de/listinfo/u-boot Best regards, Lukasz Majewski -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 488 bytes Desc: OpenPGP digital signature URL: