linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Neil Russell <caret@c-side.com>
To: Ruedi.Hofer@ascom.ch, linuxppc-embedded@lists.linuxppc.org
Cc: kernel@linux01.hasler.ascom.ch
Subject: Re: Limon & PowerQUICC II, Booting the kernel
Date: Tue, 26 Sep 2000 09:12:05 -0700	[thread overview]
Message-ID: <20000926091205.A22470@lx.c-side.com> (raw)
In-Reply-To: <0G1H00EA2SVED4@pmdf-it.hasler.ascom.ch>; from Ruedi.Hofer@ascom.ch on Tue, Sep 26, 2000 at 01:49:46PM +0100


On Tue, Sep 26, 2000 at 01:49:46PM +0100, Ruedi.Hofer@ascom.ch wrote:
> Question:
>
> 1. Do I have to strip off the elf header from my kernel file?

Yes.  Call me lazy, but I haven't yet written code to handle ELF (but I will).
You need to convert the kernel to a straight binary file with something like:

	objcopy -O binary vmlinux vmlinux.bin

then encode it as you have done with something like:

	mklimon -o vmlinix.limon -k vmlinux.bin

The downloaded kernel can be 4M-1K (0x3ffc00) in size, so I don't bother
with compressing it.

The kernel size limit, load address issues and the lack of handling of ELF
will all go away in the near future (now that I have time to work on limon
again).

> 2. Does the run command relocate the kernel at addr 0?

mklimon allows several images to be combined.  The kernel get moved to 0,
and initrd gets moved to the top of memory.

> 3. Some data are transferred from limon to the kernel.
>  - Does Limon handle this correctly?
>  - Where are these data located?

limon uses an enhanced version of the bootinfo structure (not the same as
bd_info).  It is currently set up at 0x3ffe00 by the run command (this will
change in the next version).

> 4. Why does it crash?

limon doesn't handle ELF (yet).


Neil.

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

  reply	other threads:[~2000-09-26 16:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-09-26 12:49 Limon & PowerQUICC II, Booting the kernel Ruedi.Hofer
2000-09-26 16:12 ` Neil Russell [this message]
2000-09-26 22:27   ` Dan Malek
  -- strict thread matches above, loose matches on Subject: below --
2000-09-28  2:27 ZHANG,HAI-TAO (Non-A-China,ex1)
2000-09-25 15:24 Ruedi.Hofer
2000-09-03  1:39 ` Wang Chao Feng
2000-09-26 15:37 ` Dan Malek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20000926091205.A22470@lx.c-side.com \
    --to=caret@c-side.com \
    --cc=Ruedi.Hofer@ascom.ch \
    --cc=kernel@linux01.hasler.ascom.ch \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).