[U-Boot] loading via jtag

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Thu Jul 2 22:42:22 CEST 2009


On 08:32 Thu 02 Jul     , E Robertson wrote:
> On Thursday 02 July 2009 02:22:16 am Frank Svendsbøe wrote:
> > On Thu, Jul 2, 2009 at 6:10 AM, E Robertson<e.robertson.svg at gmail.com> 
> 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.
I do this for sometime on the 9263ek and it's work fine
I use most of the time a peddi and I only need to disable the phy reset in the
code and upload it in memory

Best Regards,
J.


More information about the U-Boot mailing list