From mboxrd@z Thu Jan 1 00:00:00 1970 From: E Robertson Date: Thu, 2 Jul 2009 08:32:31 -0500 Subject: [U-Boot] loading via jtag In-Reply-To: <1ba63b520907020022s4838f288h6692de4ffd0c5be5@mail.gmail.com> References: <3972542e0907012110l23cc3c32pa2149418c7b96ab6@mail.gmail.com> <1ba63b520907020022s4838f288h6692de4ffd0c5be5@mail.gmail.com> Message-ID: <200907020832.31472.e.robertson.svg@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 Thursday 02 July 2009 02:22:16 am Frank Svendsb?e wrote: > On Thu, Jul 2, 2009 at 6:10 AM, E Robertson wrote: > > Hi All, > > Has anyone used the JTAG like the BDI2000 to load u-boot onto a > > at91sam9263? I've done it on other boards but some some reason the > > code will not execute > > from on board SDRAM. To avoid initializing the external memory via > > jtag, I use the bootstrap code to do the setup then load u-boot and > > run it. > > For reason(s) I haven't figured out yet, the code will not external > > memory. Has anyone done this before and can provide some help? > > Thanks. > > How come you want to execute it from RAM? Is the board without flash? > Could you instead replace the "bootstrap" loader with U-Boot? > > It the SDRAM controller is already setup, I guess you must recode U-Boot > and tell it not to touch/re-initialize the memory controller... > > Btw, look at > http://www.denx.de/wiki/view/DULG/CanUBootBeConfiguredSuchThatItCanBeStarte >dInRAM > > - Frank In this case, I believe things are a bit different. U-boot is not relocated because the bootstrap already does this and the bootstrap does all the init needed to set up ram (among other things). I'm tracking a problem which is why I'm trying to run it from ram. I've done quite a bit of modifications to the point where I believe this should work, but apparently I may have overlooked something.