From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Tue, 31 Jan 2012 13:45:02 +0100 Subject: [U-Boot] [PATCH] i.MX28: Fix VDDIO and VDDA setup In-Reply-To: References: <1327968001-13567-1-git-send-email-marek.vasut@gmail.com> Message-ID: <201201311345.02661.marek.vasut@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > On 1/30/12, Marek Vasut wrote: > > Note: Guys, please give this a testrun. I think it might fix the issue > > Robert > > was observing. I dug into the imx-bootlets and the bootrom X-Files and > > found this paranormal piece of code. Adding it fixes the boot issue on > > my crappy board. > > Tried your patch and my mx28evk still hangs after a "reboot" command. > It reads the scratch registers as 0, report the total RAM size as 0 > and then U-boot hangs. Right, because RAM size is 0. I see, so DRAM init fails somewhere. I think though it doesn't hang in the POWER init code anymore. Can you trace mem_init() in the SPL? Simply define CONFIG_SPL_SERIAL_SUPPORT for example and run serial_init() before, then run serial_puts() every now and then when fit. M > > Regards, > > Fabio Estevam