linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* linux on dsp-board as ELF?
@ 2003-03-15 23:03 Guenther SOMMER
  0 siblings, 0 replies; 2+ messages in thread
From: Guenther SOMMER @ 2003-03-15 23:03 UTC (permalink / raw)
  To: linuxppc-embedded


hmm, i've not a great knowledge with ELF.

my board-firmware has the possibility to download a image to the sdram
as ELF-file... a linux zImage is also a ELF-file... but the kernel will
give the wrong parameters if i will download it, or is there a
workaround possible?

greetings, guenther sommer.


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

^ permalink raw reply	[flat|nested] 2+ messages in thread
* Re: linux on dsp-board as ELF?
@ 2003-03-17 12:17 Gerhard TAEUBL
  0 siblings, 0 replies; 2+ messages in thread
From: Gerhard TAEUBL @ 2003-03-17 12:17 UTC (permalink / raw)
  To: linuxppc-embedded, gue


Hi Günther!

Our Company produce PPC boards since 1996, since 2001 (I think) we have linux on it.
So from history we have also an own bootstrapper, that only wait for data from the serial line and write the data into the RAM, Afterwards the adress where to jump will be transmitted.
Of course it detect also if an application is stored in flash.

So we wrote a small programm which write a RAM region into flash, After this programm we append the linux Image (mbx file). So the whole data will be stored in RAM, and afterwards it will be copy the real linux kernel into flash.
The rest of initializion we do in the boot files of linux (arch/ppc/boot/mbx).

But in the mbx file after the first 64kByte strat the real application (jump in), we cut the first 64kbyte.

Hope this helps a little bit

Have fun

Gerhard

>>> Guenther SOMMER <gue@rettung.at> 03/16/03 12:03am >>>

hmm, i've not a great knowledge with ELF.

my board-firmware has the possibility to download a image to the sdram
as ELF-file... a linux zImage is also a ELF-file... but the kernel will
give the wrong parameters if i will download it, or is there a
workaround possible?

greetings, guenther sommer.


** 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-03-17 12:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-15 23:03 linux on dsp-board as ELF? Guenther SOMMER
  -- strict thread matches above, loose matches on Subject: below --
2003-03-17 12:17 Gerhard TAEUBL

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).