From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ira W. Snyder Date: Thu, 10 Nov 2011 11:46:34 -0800 Subject: [U-Boot] Is CCSRBAR relocation broken on P2020? In-Reply-To: References: <20111110165447.GA1801@ovro.caltech.edu> <4EBC0609.2030709@freescale.com> <20111110173356.GC1801@ovro.caltech.edu> <4EBC0E40.3050403@freescale.com> Message-ID: <20111110194634.GE1801@ovro.caltech.edu> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Nov 10, 2011 at 07:24:00PM +0000, McClintock Matthew-B29882 wrote: > On Thu, Nov 10, 2011 at 11:47 AM, Timur Tabi wrote: > >> I boot off of SDCARD (P2020COME_SDCARD_config). To write the U-Boot > >> image to the microSD card, I use a tool provided with the BSP called > >> "boot_format-1.0.0". Maybe you are familiar with it? > > > > I think that qualifies as multi-stage booting. ?The SD card is not mapped at address fff00000 at POR time, which is needed to boot a single-stage U-Boot. ?Therefore, you must have a multi-stage U-Boot. > > > > I'm not familiar with boot_format-1.0.0, but my guess is that it creates the pre-boot loader. > > Timur, > > Did you test your CCSRBAR changes with a board that uses the on chip > rom as well as L2SRAM to boot? Does the COME board load from SDCARD to > DDR or to L2SRAM? I suspect it's L2SRAM since this board has 512kB > which is large enough for a stock u-boot image. > I boot using the on-chip ROM, loading U-Boot from SD card to DDR. The configuration file I was provided for boot_format-1.0.0 uses DDR, so it is what I have continued to use. I remember seeing a comment somewhere saying that the L2 doesn't work on P2020 due to some hardware problem, though I cannot find that comment at the moment. My configuration for boot_format is attached. The configuration is described in the P2020RM (section 4.5) and Freescale Document Number AN3659, titled "Booting from On-Chip ROM (eSHDC or eSPI)" section 2.5.1. My configuration is attached. I'm happy to test using the L2SRAM instead, if I can figure out what to change in the attached configuration file. Thanks, Ira -------------- next part -------------- A non-text attachment was scrubbed... Name: config_sram_blackadder2020.dat Type: chemical/x-mopac-input Size: 1697 bytes Desc: not available Url : http://lists.denx.de/pipermail/u-boot/attachments/20111110/17258d5f/attachment.mopcrt