Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Thiemo Seufer <ths@networkno.de>
To: Rajat Jain <rajat.noida.india@gmail.com>
Cc: linux-mips@linux-mips.org
Subject: Re: How does boot loader pass initrd address / size to kernel?
Date: Thu, 15 Mar 2007 13:43:06 +0000	[thread overview]
Message-ID: <20070315134306.GB25863@networkno.de> (raw)
In-Reply-To: <20070315133950.GA25863@networkno.de>

Thiemo Seufer wrote:
> Rajat Jain wrote:
> > Hi,
> > 
> > I'm running an ancient Linux kernel 2.4.20 (please don't ask me why
> > :-( ) on a MIPS 4KEC. I am experimenting with initrd and my initrd
> > fails to mount. My bootloader (U-BOOT) coorectly loads the initrd into
> > RAM as I can see.
> > 
> > I am wondering how does the kernel get to know the address at which
> > the initrd is loaded by boot loader? How does the boot loader
> > communicate this to the kernel?
> > 
> > I can see that when emebedding root filesystem into kernel image, the
> > symbols __rd_start and __rd_end are defined by the linker script and
> > hence the kernel gets to know. However, how does this happen when
> > bootloader loads the ramdisk and needs to tell the kernel?
> 
> http://www.linux-mips.org/wiki/Kernel_Command_Line_Arguments mentions
> rd_start and rd_size which are used for this purpose.

... and they IIRC didn't exist in 2.4.20, but e.g. Debian's 2.4 mips
kernels carry a patch to add such support.


Thiemo

  reply	other threads:[~2007-03-15 13:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-15  8:43 How does boot loader pass initrd address / size to kernel? Rajat Jain
2007-03-15 13:39 ` Thiemo Seufer
2007-03-15 13:43   ` Thiemo Seufer [this message]
2007-03-16  5:08     ` Rajat Jain

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=20070315134306.GB25863@networkno.de \
    --to=ths@networkno.de \
    --cc=linux-mips@linux-mips.org \
    --cc=rajat.noida.india@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox