public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Using JFFS2 as root FS on CF
@ 2001-11-28  3:42 Michael Rothwell
  2001-11-28  4:21 ` Michael Rothwell
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Rothwell @ 2001-11-28  3:42 UTC (permalink / raw)
  To: linux-mtd

I'm going fishing.

I have a 16MB compact flash card divided into two partitions, /dev/hda1
and /dev/hda2. I formatted hda1 with ext2 to serve as /boot. hda2
contains a JFFS2 image and will be / ... once I get it to mount.

I've got jffs2, mtdblock and blkmtd compiled into the kernel.

Does someone have a recipe for booting a kernel (2.4.13 or 2.4.16) with
this type of setup and having it mount the jffs2 fs as /?


-M

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

* Re: Using JFFS2 as root FS on CF
  2001-11-28  3:42 Using JFFS2 as root FS on CF Michael Rothwell
@ 2001-11-28  4:21 ` Michael Rothwell
  2001-11-28  6:42   ` Si
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Rothwell @ 2001-11-28  4:21 UTC (permalink / raw)
  To: Michael Rothwell; +Cc: linux-mtd

On Tue, 2001-11-27 at 22:42, Michael Rothwell wrote:
> Does someone have a recipe for booting a kernel (2.4.13 or 2.4.16) with
> this type of setup and having it mount the jffs2 fs as /?


Addendum: blkmtd complains "error, missing 'device' name" -- I'm passing
it in via lilo, but it looks like blkmtd doesn't read kernel arguments.

-M

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

* Re: Using JFFS2 as root FS on CF
  2001-11-28  4:21 ` Michael Rothwell
@ 2001-11-28  6:42   ` Si
  0 siblings, 0 replies; 3+ messages in thread
From: Si @ 2001-11-28  6:42 UTC (permalink / raw)
  To: Michael Rothwell, spse; +Cc: linux-mtd

Michael,

the latest blkmtd in CVS should fix the problem when compiled into the
kernel. you can then pass the kernel boot param
blkmtd_device=/dev/foo

Note, this version isnt yet it the latest kernel sources, but you should
just be able to get the one out of CVS and copy it
over the blkmtd.c in the kernel source tree.

I will hopefully send a patch off to the 2.4 maintainer later this week, I
didnt bother earlier as I assumed with the 2.4/2.5 change over,  Linus and
Marcelo probably had more important bug fixes etc to deal with.

cheers
si
----- Original Message -----
From: "Michael Rothwell" <rothwell@holly-springs.nc.us>
To: "Michael Rothwell" <rothwell@holly-springs.nc.us>
Cc: <linux-mtd@lists.infradead.org>
Sent: Wednesday, November 28, 2001 4:21 AM
Subject: Re: Using JFFS2 as root FS on CF


> On Tue, 2001-11-27 at 22:42, Michael Rothwell wrote:
> > Does someone have a recipe for booting a kernel (2.4.13 or 2.4.16) with
> > this type of setup and having it mount the jffs2 fs as /?
>
>
> Addendum: blkmtd complains "error, missing 'device' name" -- I'm passing
> it in via lilo, but it looks like blkmtd doesn't read kernel arguments.
>
> -M
>
>
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/
>

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

end of thread, other threads:[~2001-11-28  6:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-28  3:42 Using JFFS2 as root FS on CF Michael Rothwell
2001-11-28  4:21 ` Michael Rothwell
2001-11-28  6:42   ` Si

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