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:39:50 +0000 [thread overview]
Message-ID: <20070315133950.GA25863@networkno.de> (raw)
In-Reply-To: <b115cb5f0703150143y46a1f877m9dbb43345721c355@mail.gmail.com>
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.
Thiemo
next prev parent reply other threads:[~2007-03-15 13:40 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 [this message]
2007-03-15 13:43 ` Thiemo Seufer
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=20070315133950.GA25863@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