All of lore.kernel.org
 help / color / mirror / Atom feed
* handling of s-record images by bootloader
@ 2003-01-10 10:14 atul srivastava
  0 siblings, 0 replies; 5+ messages in thread
From: atul srivastava @ 2003-01-10 10:14 UTC (permalink / raw)
  To: linux-mips

Hello .

A quick question..

I have developed a primitive bootloader for custom board, that is 
successfuly doing the board bringup and loads linux os image
currently through serial link (kermit) only.
network link is also likely to be up soon.

but through serial it loads  kernel image only in raw binary 
format.
now i want to extend this for s-record images as well..

I am umware that, how differently s-record image need to be 
handled..?
i just need some idea or if possible any example code for that..

Best Reagards,
Atul

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

* handling of s-record images by bootloader
@ 2003-01-10 10:17 atul srivastava
  0 siblings, 0 replies; 5+ messages in thread
From: atul srivastava @ 2003-01-10 10:17 UTC (permalink / raw)
  To: linux-mips

Hello .

A quick question..

I have developed a primitive bootloader for custom board, that is 
successfuly doing the board bringup and loads linux os image
currently through serial link (kermit) only.
network link is also likely to be up soon.

but through serial it loads  kernel image only in raw binary 
format.
now i want to extend this for s-record images as well..

I am umware that, how differently s-record image need to be 
handled..?
i just need some idea or if possible any example code for that..

Best Reagards,
Atul

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

* Re: handling of s-record images by bootloader
@ 2003-01-10 10:21 Jon Burgess
  0 siblings, 0 replies; 5+ messages in thread
From: Jon Burgess @ 2003-01-10 10:21 UTC (permalink / raw)
  To: atul srivastava; +Cc: linux-mips



> I am umware that, how differently s-record image need
> to be handled..?
> i just need some idea or if possible any example code for that..

Have you tried looking at binutils? objcopy can convert Binary<->S-Record

     Jon

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

* Re: handling of s-record images by bootloader
@ 2003-01-10 12:33 Jon Burgess
  0 siblings, 0 replies; 5+ messages in thread
From: Jon Burgess @ 2003-01-10 12:33 UTC (permalink / raw)
  To: atul srivastava; +Cc: linux-mips




atul srivastava wrote:
> I am umware that, how differently s-record image need
> to be handled..?
> i just need some idea or if possible any example code for that..


On second thoughts the binutils code is probably rather large. You could try the
pmon source

http://www.carmel.com/pmon/pmon.tgz

pmon/tools/rdsrec.c might do what you want.

     Jon

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

* RE: handling of s-record images by bootloader
@ 2003-01-10 15:22 Zajerko-McKee, Nick
  0 siblings, 0 replies; 5+ messages in thread
From: Zajerko-McKee, Nick @ 2003-01-10 15:22 UTC (permalink / raw)
  To: 'atul srivastava', linux-mips

I had a simular problem.  I ended up writing my own code for my
platform.  Here is a description of s-records:

http://www.amelek.gda.pl/avr/uisp/srecord.htm

-----Original Message-----
From: atul srivastava [mailto:atulsrivastava9@rediffmail.com]
Sent: Friday, January 10, 2003 5:17 AM
To: linux-mips@linux-mips.org
Subject: handling of s-record images by bootloader


Hello .

A quick question..

I have developed a primitive bootloader for custom board, that is 
successfuly doing the board bringup and loads linux os image
currently through serial link (kermit) only.
network link is also likely to be up soon.

but through serial it loads  kernel image only in raw binary 
format.
now i want to extend this for s-record images as well..

I am umware that, how differently s-record image need to be 
handled..?
i just need some idea or if possible any example code for that..

Best Reagards,
Atul

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

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

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-10 12:33 handling of s-record images by bootloader Jon Burgess
  -- strict thread matches above, loose matches on Subject: below --
2003-01-10 15:22 Zajerko-McKee, Nick
2003-01-10 10:21 Jon Burgess
2003-01-10 10:17 atul srivastava
2003-01-10 10:14 atul srivastava

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.