| To: | Rajat Jain <rajat.noida.india@gmail.com> |
|---|---|
| Subject: | Re: How does boot loader pass initrd address / size to kernel? |
| From: | Thiemo Seufer <ths@networkno.de> |
| Date: | Thu, 15 Mar 2007 13:39:50 +0000 |
| Cc: | linux-mips@linux-mips.org |
| In-reply-to: | <b115cb5f0703150143y46a1f877m9dbb43345721c355@mail.gmail.com> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <b115cb5f0703150143y46a1f877m9dbb43345721c355@mail.gmail.com> |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Mutt/1.5.13 (2006-08-11) |
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 |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH] IDE/DMA for au1xxx, Daniel Mack |
|---|---|
| Next by Date: | Re: How does boot loader pass initrd address / size to kernel?, Thiemo Seufer |
| Previous by Thread: | How does boot loader pass initrd address / size to kernel?, Rajat Jain |
| Next by Thread: | Re: How does boot loader pass initrd address / size to kernel?, Thiemo Seufer |
| Indexes: | [Date] [Thread] [Top] [All Lists] |