public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] loading via jtag
@ 2009-07-02  4:10 E Robertson
  2009-07-02  7:22 ` Frank Svendsbøe
  0 siblings, 1 reply; 6+ messages in thread
From: E Robertson @ 2009-07-02  4:10 UTC (permalink / raw)
  To: u-boot

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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot] loading via jtag
  2009-07-02  4:10 [U-Boot] loading via jtag E Robertson
@ 2009-07-02  7:22 ` Frank Svendsbøe
  2009-07-02 13:32   ` E Robertson
  0 siblings, 1 reply; 6+ messages in thread
From: Frank Svendsbøe @ 2009-07-02  7:22 UTC (permalink / raw)
  To: u-boot

On Thu, Jul 2, 2009 at 6:10 AM, E Robertson<e.robertson.svg@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/CanUBootBeConfiguredSuchThatItCanBeStartedInRAM

- Frank

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot] loading via jtag
  2009-07-02  7:22 ` Frank Svendsbøe
@ 2009-07-02 13:32   ` E Robertson
  2009-07-02 20:42     ` Jean-Christophe PLAGNIOL-VILLARD
  2009-07-02 20:57     ` Frank Svendsbøe
  0 siblings, 2 replies; 6+ messages in thread
From: E Robertson @ 2009-07-02 13:32 UTC (permalink / raw)
  To: u-boot

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@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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot] loading via jtag
  2009-07-02 13:32   ` E Robertson
@ 2009-07-02 20:42     ` Jean-Christophe PLAGNIOL-VILLARD
  2009-07-02 20:57     ` Frank Svendsbøe
  1 sibling, 0 replies; 6+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2009-07-02 20:42 UTC (permalink / raw)
  To: u-boot

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@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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot] loading via jtag
  2009-07-02 13:32   ` E Robertson
  2009-07-02 20:42     ` Jean-Christophe PLAGNIOL-VILLARD
@ 2009-07-02 20:57     ` Frank Svendsbøe
  2009-07-04 15:21       ` E Robertson
  1 sibling, 1 reply; 6+ messages in thread
From: Frank Svendsbøe @ 2009-07-02 20:57 UTC (permalink / raw)
  To: u-boot

On Thu, Jul 2, 2009 at 3:32 PM, E Robertson<e.robertson.svg@gmail.com> 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@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.
>

Ok. The BDI makes it possible to debug U-Boot so that you can pinpoint where the
problem occur. Have you tried that yet, and what exactly is the
problem you observe?

Try to be more specific, then some of the Gurus here may be able to help you.
Good luck!

- Frank

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot] loading via jtag
  2009-07-02 20:57     ` Frank Svendsbøe
@ 2009-07-04 15:21       ` E Robertson
  0 siblings, 0 replies; 6+ messages in thread
From: E Robertson @ 2009-07-04 15:21 UTC (permalink / raw)
  To: u-boot

On Thursday 02 July 2009 03:57:38 pm Frank Svendsb?e wrote:
> On Thu, Jul 2, 2009 at 3:32 PM, E Robertson<e.robertson.svg@gmail.com> 
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@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/CanUBootBeConfiguredSuchThatItCanBeSta
> >>rte 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.
>
> Ok. The BDI makes it possible to debug U-Boot so that you can pinpoint
> where the problem occur. Have you tried that yet, and what exactly is the
> problem you observe?
>
> Try to be more specific, then some of the Gurus here may be able to help
> you. Good luck!
>
> - Frank

Thanks. I finally figured out what the problem is. I have s signal integrity 
problem on my SDRAM bus.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-07-04 15:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-02  4:10 [U-Boot] loading via jtag E Robertson
2009-07-02  7:22 ` Frank Svendsbøe
2009-07-02 13:32   ` E Robertson
2009-07-02 20:42     ` Jean-Christophe PLAGNIOL-VILLARD
2009-07-02 20:57     ` Frank Svendsbøe
2009-07-04 15:21       ` E Robertson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox