All of lore.kernel.org
 help / color / mirror / Atom feed
* Using gdb to load PPCBoot/U-Boot
@ 2003-07-16 17:17 Brian Padalino
  2003-07-16 18:07 ` Chris Zimman
  0 siblings, 1 reply; 2+ messages in thread
From: Brian Padalino @ 2003-07-16 17:17 UTC (permalink / raw)
  To: Linuxppc-Embedded


Is it at all possible to use gdb to load the ppcboot/u-boot binary images to
the flash?

If it is possible, is there a general direction I should be looking at to
accomplish this task?  Am I causing too much trouble for myself by not being
able to afford a BDI2000?

Thank you very much for the help -- so far everyone has been great!

Brian Padalino


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* Re: Using gdb to load PPCBoot/U-Boot
  2003-07-16 17:17 Using gdb to load PPCBoot/U-Boot Brian Padalino
@ 2003-07-16 18:07 ` Chris Zimman
  0 siblings, 0 replies; 2+ messages in thread
From: Chris Zimman @ 2003-07-16 18:07 UTC (permalink / raw)
  To: Brian Padalino; +Cc: Linuxppc-Embedded


On Wed, Jul 16, 2003 at 01:17:52PM -0400, Brian Padalino wrote:
> Is it at all possible to use gdb to load the ppcboot/u-boot binary images to
> the flash?

Maybe in the realm of "all things possible" it is, but not normally.
The way that you typically program flash in circuit is to put the host
processor (the 440GP in your case) into slave mode and have it execute a
small stub of code that first erases the sectors that you want to write
to and then programs them with the new data.

The alternative is to pop the PQFP out of the socket and program it in
an external flash programmer.

> If it is possible, is there a general direction I should be looking at to
> accomplish this task?  Am I causing too much trouble for myself by not being
> able to afford a BDI2000?

JTAG is definitely the easiest way to do this, and yes, you are definitely
causing yourself lots of potential grief by not having a BDI2000.  If you
only intend to do userland development and never do anything more low level,
you can get by without one.  But for anything else, you definitely want one.
As far as JTAG debuggers go, they are very featured, pretty cheap (look at
the WindRiver VisionICE stuff for a comparison -- they want like $7-$10K per
target!) and definitely the most supported on this list.

--Chris

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

end of thread, other threads:[~2003-07-16 18:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-16 17:17 Using gdb to load PPCBoot/U-Boot Brian Padalino
2003-07-16 18:07 ` Chris Zimman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.