linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* How do you change the program counter (PC)
@ 2003-01-24  0:25 Jason Park
  2003-01-24  3:02 ` Shen Rong
  0 siblings, 1 reply; 6+ messages in thread
From: Jason Park @ 2003-01-24  0:25 UTC (permalink / raw)
  To: linuxppc-embedded


hi, I've got another simple question... but couldn't find an answer in the
archives.

I just compiled the ppcboot for the ep8260.. and placed the .bin version at
location 0xffc00000.

i have the planetcore bootloader that came with the ep8260 at location
0xfff00000.

now, i want to test and check whether the ppcboot loader will work properly
before i overwrite the planetcore bootloader code.  how can i change the PC
(which states 0xfff0 0100 when i type "info" at the BDI prompt)...

also, whats the main difference between the 3 files created by ppcboot.
(ELF, BIN, SREC)  besides size..  is there an advantage/disadvantage using
one over the other?  is it dependant on the debugger?

thanks,
Jason P.


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

^ permalink raw reply	[flat|nested] 6+ messages in thread
* RE: How do you change the program counter (PC)
@ 2003-01-24 16:58 erik.teose
  0 siblings, 0 replies; 6+ messages in thread
From: erik.teose @ 2003-01-24 16:58 UTC (permalink / raw)
  To: linuxppc-embedded


> > SREC: (I am not much sure) It seems an old format used
> mostly by motorola.
> > It's like BIN format, but has other information used for
> downloading. It seems
> > some bootloaders need SREC format for downloading.
> >
>
> SREC is more or less the same as a BIN file but it has an address and
> checksum so it would be much smaller if you want to put a
> byte at 0 and
> one at 100000 and you can be sure that is is correctly transfered.

A big difference is that SREC is full ascii, which means lots of
bytes of overhead, which means longer transfer times if you're loading
via rs232.

Erik

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

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

end of thread, other threads:[~2003-01-24 16:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-24  0:25 How do you change the program counter (PC) Jason Park
2003-01-24  3:02 ` Shen Rong
2003-01-24  8:33   ` Jason Park
2003-01-24  8:56     ` Shen Rong
2003-01-24 13:20   ` Kenneth Johansson
  -- strict thread matches above, loose matches on Subject: below --
2003-01-24 16:58 erik.teose

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).