[Top] [All Lists]

Re: Ramdisk issue please help!!!

To: "inpreet" <>, <>
Subject: Re: Ramdisk issue please help!!!
From: "Alexander Voropay" <>
Date: Fri, 5 Aug 2005 18:22:31 +0400
Organization: Art Communications
Original-recipient: rfc822;
References: <01a901c599a4$2f855280$>
Reply-to: "Alexander Voropay" <>
"inpreet" <> wrote:

I am trying to build ramdisk image and launch bootsplash image at boot time. Steps I followed:
1. get splash image initrd.splash using splash binary.
8. results in initrd.gz

Now while compiling kernel image I am embedding initrd.gz into it. Here is what 
I am doing

You don't need nothing special for *embedded *, not external "MIPS initrd" on a 
2.4 kernels.
It works just fine from the CVS.

1) Prepare your "ramdisk.img" with EXT2FS/other FS
2) gzip it.
3) Put this "ramdisk.gz" into the  arch/mips/ramdisk/
4) Enable in the configfile :



5) make . Kernel build system will find this image automagically.

6) Run this kernel (vmlinux) without a "root=" parameter.

There is example of my kernel bootlog:

Determined physical RAM map:
memory: 01800000 @ 00000000 (usable)
Initial ramdisk at: 0x801b1000 (593920 bytes)
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 580k freed
VFS: Mounted root (ext2 filesystem) readonly.

root FS is mouned now as /dev/ram0


<Prev in Thread] Current Thread [Next in Thread>