The ramdisk size need to match the size selected in the kernel config
(default is 32MB) and the appropriate file system selected (ext2 in this
case). Also since we are trying to build the smallest possible config
NFS is unchecked but for practical reason you may want to turn this on
for testing.
Thanks for the feedback.
Best regards,
Loc

-----Original Message-----
From: meher baba [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 13, 2006 5:53 PM
To: Truong, Loc
Cc: [email protected]
Subject: Re: Using initrd

Hi Loc,
   I am able to boot the kernel with the ramdisk based on the
information provided in the document. But if possible I would like to
add another section to allow the user to first load the ramdisk into
RAM boot the kernel with it and once everything is working fine then
flash the ramdisk. I followed these steps to do it:

1. Load the ramdisk into RAM @ location 0x85000000 using the command,
      tftpboot 0x85000000 ramdisk.gz
2. Provide this information in the bootargs by adding,
    root=/dev/ram rw initrd=0x85000000,0x$(filesize)
3. Now kernel will boot from the ramdisk loaded at RAM location
0x85000000 and if everything is fine then the ramdisk can be flashed.
But my final setup is to load ramdisk using tftp and also the kernel
using tftp. Right now I am facing some issues with that. I am working
on it and hopefully will be able to get it working soon.

One question, Do I need to enable any feature in the kernel to get the
root mounted on /dev/ramx? I think with both kernel and ramdisk loaded
from tftp it is booting fine but kernel panics while mounting FS
giving this message,

yaffs: dev is 1048576 name is
"ram0"
yaffs: Attempting MTD mount on 1.0, "ram0"
yaffs: dev is 1048576 name is "ram0"
yaffs: Attempting MTD mount on 1.0, "ram0"
Kernel panic - not syncing: VFS: Unable to mount root fs on
unknown-block(1,0)

Thanks and Regards,
Meher

On 12/13/06, Truong, Loc <[EMAIL PROTECTED]> wrote:
>
>
>
>
> You are welcome. Please let us know any comments so we can make the
document more useful.
>
> Best regards,
>
> Loc
>
>
>
>   ________________________________

>
> From: meher baba [mailto:[EMAIL PROTECTED]
>  Sent: Wednesday, December 13, 2006 2:37 PM
>  To: Truong, Loc
>  Cc: [email protected]
>  Subject: Re: Using initrd
>
>
>
>
> Loc,
>      Thanks for the information. This definetly should get me going.
>
>  Regards,
>  Meher
>
>
> On 12/13/06, Truong, Loc < [EMAIL PROTECTED]> wrote:
>
> Please check out a new app note SPRAAH2 at www.ti.com that talks about
>  flashing initrd to NOR to build a stand alone system as an http
server.
>  Regards,
>  Loc
>
>  ------------------------------
>
>  Message: 3
>  Date: Wed, 13 Dec 2006 10:59:33 -0600
>  From: "meher baba" <[EMAIL PROTECTED]>
>  Subject: Using initrd
>  To: [email protected]
>  Message-ID:
>          <[EMAIL PROTECTED]>
>  Content-Type: text/plain; charset="iso-8859-1"
>
>  Hi,
>       I am new to Linux and I want to use the initrd feature of the
>  kernel to
>  load the basic file system. Can some one point to me on how to make a
>  initrd
>  image and how to load it using U-boot?
>
>  Thanks and Best Regards,
>  Meher
>  -------------- next part --------------
>  An HTML attachment was scrubbed...
>  URL:
>
http://linux.omap.com/pipermail/davinci-linux-open-source/attachments/20
>  061213/8994d9bc/attachment-0001.htm
>
>  ------------------------------
>
>  Message: 4
>  Date: Wed, 13 Dec 2006 17:08:33 +0000
>  From: Andrew Armstrong <[EMAIL PROTECTED] >
>  Subject: Re: Using initrd
>  To: meher baba <[EMAIL PROTECTED]>
>  Cc: [email protected]
>  Message-ID: <[EMAIL PROTECTED]>
>  Content-Type: text/plain
>
>  Guys,
>
>  I would like to tag something alond to this request, I myself am in
the
>  position of having a working self-contained NAND setup (boot, kernel
and
>  filesys) and a step-by-step procedure, however, am having difficulty
>  doing the same in NOR.
>
>  I have the UBOOT and Kernel running as it should, but does anyone
know
>  the best way to get a read-only file system mounted from the
remaining
>  NOR space? Ideally (for production) this would be written to flash at
>  the same time as the Kernel. I am also considering mounting the file
>  system directly from the NOR if this is possible.
>
>  Any linux brainboxes with any answers? ;)
>
>  Regards,
>
>  Andrew
>
>
>
>  On Wed, 2006-12-13 at 10:59 -0600, meher baba wrote:
>  > Hi,
>  >      I am new to Linux and I want to use the initrd feature of the
>  > kernel to load the basic file system. Can some one point to me on
how
>  > to make a initrd image and how to load it using U-boot?
>  >
>  > Thanks and Best Regards,
>  > Meher
>  > _______________________________________________
>  > Davinci-linux-open-source mailing list
>  > [email protected]
>  >
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
>  ***************************************************
>  _______________________________________________
>  Davinci-linux-open-source mailing list
>  [email protected]
>
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
>
>



-- 
Regards,
Meher
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to