Using gdb to load PPCBoot/U-Boot

2 messages, 2 authors, 2003-07-16 · open the first message on its own page

Using gdb to load PPCBoot/U-Boot

From: Brian Padalino <hidden>
Date: 2003-07-16 17:17:52

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/

Re: Using gdb to load PPCBoot/U-Boot

From: Chris Zimman <hidden>
Date: 2003-07-16 18:07:21

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/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help