Linux MIPS Architecture development
 help / color / mirror / Atom feed
* initial bootstrap and jtag
@ 2005-01-31 20:07 Clem Taylor
  2005-01-31 20:21 ` Dan Malek
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Clem Taylor @ 2005-01-31 20:07 UTC (permalink / raw)
  To: linux-mips

We are finishing up the design of our new Au1550 based board. I was
wondering if someone could recommend an ejtag wiggler. I need
something that has full linux host support, is good enough to flash a
bootloader and do some minimal debug while getting the board support
working. Looking over the list some people seem to be using the
Abatron BDI 2000 and others are using the Macraigor mpDemon. What do
you guys recommend?

This is my first time doing embedded linux, but I've done quite a bit
with DSPs (written bootloaders, flash programmers, etc). I was
wondering how people go about bootstrapping new Au1xxx systems. Who is
responsible for configuring the PLL or SDRAM enough to allow code to
be loaded into SDRAM? Are bootloaders like YAMON position independent
to run out of SDRAM?

                                     Thanks,
                                     Clem

^ permalink raw reply	[flat|nested] 11+ messages in thread
* RE: initial bootstrap and jtag
@ 2005-01-31 20:42 Joseph Chiu
  2005-01-31 20:42 ` Joseph Chiu
  2005-01-31 21:08 ` Ralf Baechle
  0 siblings, 2 replies; 11+ messages in thread
From: Joseph Chiu @ 2005-01-31 20:42 UTC (permalink / raw)
  To: Clem Taylor, linux-mips

We use the Macraigor Raven here.  It okay.  Not very fast.  And, for some reason, I've been having memory read problems in little-endian mode.  They've sicne released updated drivers, but I haven't been able to get them to work in my environment (because I have a bunch of older tools in the environment that I've got working well enough for my use with the older driver). 

I haven't seen the BDI2000.  My understanding is that the mpDemon is functionally the same, but faster.  If I knew then that I'd spend as much time with JTAG as I've spent, the extra money for mpDemon or the BDI2000 would have definitely been my purchase.

As for configuring the Au1xxx for bootstrapping, this is what I did:

I wrote a minimal gdb script (for use with the Raven-gdb interface) to write config values into CPU registers to get the SDRAM running.  I then uploaded a minimal program that listened for hex data on the serial port, and used that to load code that would perform FLASH memory accesses and the like.

Do people still use ROM emulators?  I think the turnaround time for getting the machine bootstrapped would have been faster with a ROMulator (at least for the stuff I was doing)...



> -----Original Message-----
> From: linux-mips-bounce@linux-mips.org
> [mailto:linux-mips-bounce@linux-mips.org]On Behalf Of Clem Taylor
> Sent: Monday, January 31, 2005 12:08 PM
> To: linux-mips@linux-mips.org
> Subject: initial bootstrap and jtag
> 
> 
> We are finishing up the design of our new Au1550 based board. I was
> wondering if someone could recommend an ejtag wiggler. I need
> something that has full linux host support, is good enough to flash a
> bootloader and do some minimal debug while getting the board support
> working. Looking over the list some people seem to be using the
> Abatron BDI 2000 and others are using the Macraigor mpDemon. What do
> you guys recommend?
> 
> This is my first time doing embedded linux, but I've done quite a bit
> with DSPs (written bootloaders, flash programmers, etc). I was
> wondering how people go about bootstrapping new Au1xxx systems. Who is
> responsible for configuring the PLL or SDRAM enough to allow code to
> be loaded into SDRAM? Are bootloaders like YAMON position independent
> to run out of SDRAM?
> 
>                                      Thanks,
>                                      Clem
> 
> 

^ permalink raw reply	[flat|nested] 11+ messages in thread
* RE: initial bootstrap and jtag
@ 2005-01-31 21:24 Brad Larson
  0 siblings, 0 replies; 11+ messages in thread
From: Brad Larson @ 2005-01-31 21:24 UTC (permalink / raw)
  To: 'Ralf Baechle', Joseph Chiu; +Cc: Clem Taylor, linux-mips

Yes, rom emulators still serve a useful purpose, especially when a brand new board/cpu or ejtag firmware can't communicate to each other properly.  Wait for that to get fixed (no), walk to the flash programmer for every new image (tedious), or plug in the rom emulator (30 seconds to change the image).

--Brad

> -----Original Message-----
> From: linux-mips-bounce@linux-mips.org
> [mailto:linux-mips-bounce@linux-mips.org]On Behalf Of Ralf Baechle
> Sent: Monday, January 31, 2005 1:08 PM
> To: Joseph Chiu
> Cc: Clem Taylor; linux-mips@linux-mips.org
> Subject: Re: initial bootstrap and jtag
> 
> 
> On Mon, Jan 31, 2005 at 12:42:07PM -0800, Joseph Chiu wrote:
> 
> > Do people still use ROM emulators?  I think the turnaround 
> time for getting the machine bootstrapped would have been 
> faster with a ROMulator (at least for the stuff I was doing)...
> 
> It's a while since then but the PromICE has been extremly valuable for
> some development a few years ago.  A good JTAG probe is more universal
> so may be a better investment though.
> 
>   Ralf
> 

^ permalink raw reply	[flat|nested] 11+ messages in thread
* RE: initial bootstrap and jtag
@ 2005-01-31 21:53 Joseph Chiu
  2005-01-31 21:53 ` Joseph Chiu
  2005-01-31 23:23 ` Ed Okerson
  0 siblings, 2 replies; 11+ messages in thread
From: Joseph Chiu @ 2005-01-31 21:53 UTC (permalink / raw)
  To: Ed Okerson, Clem Taylor; +Cc: linux-mips

Hi Ed,
What kinds of patching did you have to do in the source code except for the MIPS endian-registers?  I've made such changes plus little-endian-fied the build scripts/linker scripts/makefile/etc. but haven't yet had u-boot working.  I'm assuming that outside of the bootstrapping, the code is endian-independant.  Am I wrong?
Thanks!
Joseph

> -----Original Message-----
> From: linux-mips-bounce@linux-mips.org
> [mailto:linux-mips-bounce@linux-mips.org]On Behalf Of Ed Okerson
> Sent: Monday, January 31, 2005 1:15 PM
> To: Clem Taylor
> Cc: linux-mips@linux-mips.org
> Subject: Re: initial bootstrap and jtag
> 
> 
> I use the BDI-2000 for an AU1500 based board.  For the boot 
> loader I found
> u-boot to be very functional.  It did require a bit of 
> patching to handle
> the Au1500 in little endian mode, but since that is now done 
> everything
> works great.
> 
> Ed Okerson
> 
> > We are finishing up the design of our new Au1550 based board. I was
> > wondering if someone could recommend an ejtag wiggler. I need
> > something that has full linux host support, is good enough 
> to flash a
> > bootloader and do some minimal debug while getting the board support
> > working. Looking over the list some people seem to be using the
> > Abatron BDI 2000 and others are using the Macraigor mpDemon. What do
> > you guys recommend?
> >
> > This is my first time doing embedded linux, but I've done 
> quite a bit
> > with DSPs (written bootloaders, flash programmers, etc). I was
> > wondering how people go about bootstrapping new Au1xxx 
> systems. Who is
> > responsible for configuring the PLL or SDRAM enough to allow code to
> > be loaded into SDRAM? Are bootloaders like YAMON position 
> independent
> > to run out of SDRAM?
> >
> >                                      Thanks,
> >                                      Clem
> >
> 
> 
> 
> 

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

end of thread, other threads:[~2005-01-31 23:22 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-31 20:07 initial bootstrap and jtag Clem Taylor
2005-01-31 20:21 ` Dan Malek
2005-01-31 21:15 ` Ed Okerson
2005-01-31 22:05 ` Thomas Sailer
  -- strict thread matches above, loose matches on Subject: below --
2005-01-31 20:42 Joseph Chiu
2005-01-31 20:42 ` Joseph Chiu
2005-01-31 21:08 ` Ralf Baechle
2005-01-31 21:24 Brad Larson
2005-01-31 21:53 Joseph Chiu
2005-01-31 21:53 ` Joseph Chiu
2005-01-31 23:23 ` Ed Okerson

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