Linux MIPS Architecture development
 help / color / mirror / Atom feed
* How does boot loader pass initrd address / size to kernel?
@ 2007-03-15  8:43 Rajat Jain
  2007-03-15 13:39 ` Thiemo Seufer
  0 siblings, 1 reply; 4+ messages in thread
From: Rajat Jain @ 2007-03-15  8:43 UTC (permalink / raw)
  To: linux-mips

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?

Any code references will be appreciated.

Thanks,

Rajat

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-03-16  5:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2007-03-16  5:08     ` Rajat Jain

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox