linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* RE: [Fwd: Re: kernel command line for CRAMFS root filesystem]
@ 2002-06-06 16:08 Kári Davíðsson
  2002-06-06 16:51 ` Julien Eyries
  0 siblings, 1 reply; 7+ messages in thread
From: Kári Davíðsson @ 2002-06-06 16:08 UTC (permalink / raw)
  To: Julien Eyries, linuxppc-embedded


Do not use
root=/dev/mtdblock/2
but
root=/dev/mtdblock2
even if you are using devfs

root=/dev/mdtblock/2 will be interpreted as root=/dev/mtdblock0

This is because of how the kernel parses the root argument on the command line.

Hope this helps,

K.D.

> -----Original Message-----
> From: Julien Eyries [mailto:julien.eyries@thales-bm.com]
> Sent: 6. júní 2002 14:41
> To: linuxppc-embedded@lists.linuxppc.org
> Subject: [Fwd: Re: kernel command line for CRAMFS root filesystem]
>
>
>
> -------- Original Message --------
> Subject: Re: kernel command line for CRAMFS root filesystem
> Date: Thu, 06 Jun 2002 16:40:33 +0200
> From: Julien Eyries <julien.eyries@thales-bm.com>
> To: acurtis@onz.com
> References: <NCBBIINEHIPFGJPLBEIFKEEIDIAA.acurtis@onz.com>
>
>
> i have never mounted it before .
>
> i am currently booting with initrd (good :-)) from my flash
> and it works
> fine( the commandline was : root=/dev/rd/0 );
> but now i want to replace that with a cramfs (better :-)) .
>
> anyway, i know i can acess to the range (start 0xfe100000 - length
> 2MBytes) via my partition /dev/mtdblock/2 but if i try
> something like :
>    root=/dev/mtdblock/2 then JFFS2 try to mount it as root
> filesystem and
> fails !!!!!!
>
> maybe i should add something to the commandline, in order to tell the
> kernel that /dev/mtdblock/2 contains a CRAMFS partition ??
>
>
>
>
>
>
> Allen Curtis wrote:
>
>  >>i have a cramfs image in flash, at address 0xfe100000
> (length of image
>  >>is 2MBytes).
>  >>what is the kernel command line "root=..." to use this
> image as root
>  >>filesystem ?
>  >>
>  >
>  > What is the device name when you mount it from a bootp session? The
> name is
>  > probably the same...
>  >
>  >
>
>
> --
> Julien Eyries
> R&D engineer
> Thales Broadcast & Multimedia (ex-thomcast)
> email: julien.eyries@thales-bm.com
> fax: 33(0) 1 34 90 31 10
> tel: 33(0) 1 34 90 31 01
>
>
>
>
>
> --
> Julien Eyries
> R&D engineer
> Thales Broadcast & Multimedia (ex-thomcast)
> email: julien.eyries@thales-bm.com
> fax: 33(0) 1 34 90 31 10
> tel: 33(0) 1 34 90 31 01
>
>


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread
* [Fwd: Re: kernel command line for CRAMFS root filesystem]
@ 2002-06-06 14:41 Julien Eyries
  2002-06-06 15:30 ` Michael Fischer
  0 siblings, 1 reply; 7+ messages in thread
From: Julien Eyries @ 2002-06-06 14:41 UTC (permalink / raw)
  To: linuxppc-embedded


-------- Original Message --------
Subject: Re: kernel command line for CRAMFS root filesystem
Date: Thu, 06 Jun 2002 16:40:33 +0200
From: Julien Eyries <julien.eyries@thales-bm.com>
To: acurtis@onz.com
References: <NCBBIINEHIPFGJPLBEIFKEEIDIAA.acurtis@onz.com>


i have never mounted it before .

i am currently booting with initrd (good :-)) from my flash and it works
fine( the commandline was : root=/dev/rd/0 );
but now i want to replace that with a cramfs (better :-)) .

anyway, i know i can acess to the range (start 0xfe100000 - length
2MBytes) via my partition /dev/mtdblock/2 but if i try something like :
   root=/dev/mtdblock/2 then JFFS2 try to mount it as root filesystem and
fails !!!!!!

maybe i should add something to the commandline, in order to tell the
kernel that /dev/mtdblock/2 contains a CRAMFS partition ??






Allen Curtis wrote:

 >>i have a cramfs image in flash, at address 0xfe100000 (length of image
 >>is 2MBytes).
 >>what is the kernel command line "root=..." to use this image as root
 >>filesystem ?
 >>
 >
 > What is the device name when you mount it from a bootp session? The
name is
 > probably the same...
 >
 >


--
Julien Eyries
R&D engineer
Thales Broadcast & Multimedia (ex-thomcast)
email: julien.eyries@thales-bm.com
fax: 33(0) 1 34 90 31 10
tel: 33(0) 1 34 90 31 01





--
Julien Eyries
R&D engineer
Thales Broadcast & Multimedia (ex-thomcast)
email: julien.eyries@thales-bm.com
fax: 33(0) 1 34 90 31 10
tel: 33(0) 1 34 90 31 01


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

end of thread, other threads:[~2002-06-06 18:57 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-06 16:08 [Fwd: Re: kernel command line for CRAMFS root filesystem] Kári Davíðsson
2002-06-06 16:51 ` Julien Eyries
2002-06-06 18:57   ` Wolfgang Denk
  -- strict thread matches above, loose matches on Subject: below --
2002-06-06 14:41 Julien Eyries
2002-06-06 15:30 ` Michael Fischer
2002-06-06 15:41   ` Julien Eyries
2002-06-06 16:06     ` Steven Hein

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).