From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sricharan R Date: Thu, 9 May 2013 18:29:43 +0530 Subject: [U-Boot] Reading uninitialized SDRAM values on OMAP4460 (PandaBoard) In-Reply-To: References: Message-ID: <518B9DBF.6010600@ti.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 Wednesday 08 May 2013 06:54 PM, An Schall wrote: > Hi there, > > my task is to output the uninitialized SDRAM values over UART during device > startup. > > Therefore, I first searched for the code that handles the SDRAM > initialization since I have to put my code in front of it. After digging > through the code and reading some mailing list entries, I guess it takes > place either in: > > arch/arm/cpu/armv7/start.S: after line 159 (after CPU was set to SVC3232 > mode) > > or > > arch/arm/cpu/armv7/omap-common/lowlevel_init.S (which is quiet confusing to > me). > > I guess it takes place in start.S. If you could confirm this, it would be > very helpful.ti > > Next, I need to configure UART so I can iterate over the SDRAM and put each > single byte on UART. > > Do you have any information where I can find info on how to write ASM to > configure UART? ARM helpcenter is way too huge to find info in reasonable > time. > > Thanks in advance, > Andr? > > > > _______________________________________________ > U-Boot mailing list > U-Boot at lists.denx.de > http://lists.denx.de/mailman/listinfo/u-boot If your task is print the the uninitialised EMIF registers, then just add prints before the function sdram_init() in s_init arch/arm/cpu/armv7/omap-common/hwinit-common.c Regards, Sricharan