From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?Beno=C3=AEt_Th=C3=A9baudeau?= Date: Fri, 22 Feb 2013 23:42:56 +0100 (CET) Subject: [U-Boot] [PATCH v7 15/19] nand: mxc: Switch NAND SPL to generic SPL In-Reply-To: References: <1360961665-10693-1-git-send-email-benoit.thebaudeau@advansee.com> <708859548.67831.1361567593481.JavaMail.root@advansee.com> <5127E36D.9000304@boundarydevices.com> Message-ID: <548510172.68085.1361572976975.JavaMail.root@advansee.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Fabio, On Friday, February 22, 2013 11:08:14 PM, Fabio Estevam wrote: > On Fri, Feb 22, 2013 at 7:03 PM, Fabio Estevam wrote: > > On Fri, Feb 22, 2013 at 7:02 PM, Fabio Estevam wrote: > > > >> U-Boot code: 87F00000 -> 87F2C184 BSS: -> 87F311B4 > >> CPU: Freescale i.MX31 rev 2.0 at 532 MHz. > >> Reset cause: WDOG > >> Board: MX31PDK > >> monitor len: 000311B4 > >> ramsize: 08000000 > >> TLB table from 87ff0000 to 87ff4000 > >> Top of RAM usable for U-Boot at: 87ff0000 > >> Reserving 196k for U-Boot at: 87fbe000 > >> Reserving 640k for malloc() at: 87f1e000 > >> Reserving 32 Bytes for Board Info at: 87f1dfe0 > >> Reserving 128 Bytes for Global Data at: 87f1df60 > >> New Stack Pointer is: 87f1df50 > >> RAM Configuration: > >> Bank #0: 80000000 128 MiB > >> relocation Offset is: 000be000 > >> monitor flash len: 00030F7C > >> Now running in RAM - U-Boot at: 87fbe000 > >> NAND: 256 MiB > > > > and after this it does not hang, it keeps resetting forever. > > I disabled watchdog and now I can reach U-boot prompt :-) Thanks > Benoit and Troy! > > Will fix the watchdog later. Great! So can you confirm that for my series, all I have to change is: #define CONFIG_SYS_NAND_U_BOOT_SIZE 0x32000 ? Did you also have a chance to test nand commands on mx53ard? Thanks for all your tests. Best regards, Beno?t