[oe] JFFS2 trouble

Valentin Longchamp valentin.longchamp at epfl.ch
Thu Jun 7 13:53:37 UTC 2007


Holger Freyther wrote:
>
> > However, according to the jffs2 documentation, I should use /dev/
> > mtd2 and
> > not /dev/mtdblock2:
> > http://www.linux-mtd.infradead.org/faq/jffs2.html#L_mtdblock
>
> Fromt the FAQ you pointed us to: "There are two cases where this does
> not work. The first is when JFFS2 is used as a root filesystem. For
> now, this requires the mtdblock device to be specified for root= on
> the kernel commandline. The second case is when the mount binary that
> is being used does not play nicely with the above format. The busybox
> version of mount is known to not work without the mtdblock device."
>
> I know you don't have a rootfs on jffs2 but do you use busybox mount?
>

That was one of the first things I had tried to test but I have forgotten to 
tell about it in the mail. Anyway, OE does not include mount in busybox and 
builds the "usual" one:

> root at mx31ads:~$ which mount
> /bin/mount
> root at mx31ads:~$ ls -al /bin/mount
> lrwxrwxrwx    1 root     root           16 Jan  1 00:00 /bin/mount ->
> mount.util-linux root at mx31ads:~$ ls -al /bin/mount.util-linux
> -rwsr-xr-x    1 root     root        60604 Jan  1 00:00
> /bin/mount.util-linux root at mx31ads:~$ mount --version
> mount: mount-2.12

But thank you for the quick and pertinent answer.

-- 
Valentin Longchamp
PhD Student
http://people.epfl.ch/valentin.longchamp




More information about the Openembedded-devel mailing list