RE: JFFS2 as root FS

Joakim Tjernlund
2001-04-19T12:45:41Z

Hi, it's me again :-)

I have tried to mount the FS again and the files are still there.
It still takes 1 min and 30 sec to mount it and sometime when I do a ls the
system hangs
for 10-20 sec before the output from ls is seen. Is this normal?

Maybe I should change my kernel, but to which? Linux 2.4.3? Or maybe a later
kernel from the PPC tree?

Also, when I boot the kernel it stops and ask for a kernel cmdline. Usually
I press
return here and the boot continues with my default values. How can I make
the kernel bypass
this and start without any questions asked?

Jocke

-----Original Message-----
From: Florian Schirmer / TayTron [mailto:schirmer@taytron.net]
Sent: Thursday, April 19, 2001 15:02
To: joakim.tjernlund@lumentis.se; 'Vipin Malik'
Cc: mtd@infradead.org
Subject: Re: JFFS2 as root FS

Hallo!

> By adding /dev/mtdblock1 to init/main.c I managed to make Linux recognize
> my root FS on mtdblock1 :-)
>
> Now I am having some other problems :-(
> First it takes about 1 min 30 sec to mount my root FS. Is that expected? I
> was hoping for a much shorter
> mount time, 10-20 sec

Did you try to mount the flash again under linux? We had a problem with the
endianess some time ago and run into the same trouble as you did. Mounting
took a long time and after that the flash was completely empty. Files cound
be moved onto it, but as soon as you re-mounted the flash it was empty
again. Try if this happens to you too.

I know its a wild guess but maybe it helps!

Happy hacking
Florian