All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sébastien Côté <scote1@matrox.com>
To: Matt Porter <mporter@mvista.com>
Cc: LinuxPPC-embedded list <linuxppc-embedded@lists.linuxppc.org>
Subject: Re: initrd problems
Date: Fri, 19 Jan 2001 12:22:43 -0500	[thread overview]
Message-ID: <3A6877E3.AA2238C2@matrox.com> (raw)
In-Reply-To: 20010118130139.A5256@cx258813-a.chnd1.az.home.com


Matt Porter wrote:
> > I was also wondering if I loaded the kernel correctly.  I put my
> > zImage+initrd (zvmlinux.initrd) at address 0 of ram.  Since I compiled
> > the kernel with debug symbols, it takes a few Megs... Could it be too
> > large for it's own good?  Maybe somebody knows about the answer to that
> > one!
>
> What does the bootloader show when it relocates the zImage and initrd?
> How about a progress dump so we have something to help you with?  You
> make some comments about not using a special bootloader then say
> you are loading a zImage (from the Sandpoint port) which does have
> a relocating bootloader.  This smells like a custom board port where
> you've gutted or dropped a bootloader and don't have the r3-r6 set
> up correctly for entry into arch/ppc/kernel/head.S.  Are you really
> just dropping vmlinux at address 0?  Details details...

I'll try to see what happens when the image is moved now that I know
this might be the problem, but my stupid debugger isn't friendly at all
and it's very difficult to do so.

I tought the image wouldn't be moved if I placed it a address 0.  I copy
my zvmlinux.initrd at this address so I tought it wouldn't be used.
This is indeed a custom board and I'm really just dropping vmlinux at
address 0.

I also found out that the values of initrd_start and initrd_end aren't
valid when assigned from r4 and r5, so something must be overwriting
these values (intrd_end is smaller than initrd_start)

What's the use for r3?  I read it's board identification but I don't
really care if my board isn't identified correctly (for now at least).
A looked for documentation about this but couldn't find any (the booting
process of linux on a PowerPc seems to be terribly undocumented)

Thanks for your help,

Sébastien Côté

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

  reply	other threads:[~2001-01-19 17:22 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-18 15:53 initrd problems Sébastien Côté
2001-01-18 22:27 ` Sébastien Côté
2001-01-18 20:01   ` Matt Porter
2001-01-19 17:22     ` Sébastien Côté [this message]
2001-01-20 14:35       ` Matt Porter
2001-01-22 18:56         ` Sébastien Côté
2001-01-22 19:24           ` Kyle Harris
2001-01-22 20:45             ` Sébastien Côté
2001-01-19  1:13   ` Mark A. Greer
2001-01-19 14:53     ` Sébastien Côté
2001-01-23 21:03       ` Michael Pruznick
  -- strict thread matches above, loose matches on Subject: below --
2001-11-05 18:13 Initrd Problems SoloCDM
2002-10-30 16:28 initrd problems Anders Blomdell
2002-10-30 16:47 ` Wolfgang Denk
2003-04-24  5:32 Sriram Narasimhan
2003-04-24  7:35 ` Wolfgang Denk

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=3A6877E3.AA2238C2@matrox.com \
    --to=scote1@matrox.com \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    --cc=mporter@mvista.com \
    /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 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.