[uClinux-dev] JFFS2 MAX size

Greg Ungerer gerg at snapgear.com
Wed Oct 5 19:37:09 EDT 2005


Hi Dimitri,

Mpourtounis Dimitrios wrote:
> I have a board with 8 MB flash. I want to format it as JFFS2.
> Until now, there was no filesystem on the flash. Just hardcoded everything 
> at flash addresses.
> 
> The space i have given to my zipped(initrd compiled in) boot image is 7+ 
> MB. Everything works fine if i erase all this mtdblock, cp a jffs2 
> filesystem to it, but  I cannot mount it. My kernel crashes without any 
> message at all and reboots.
> 
> The above cannot be reproduced in any other block.
> 
> So, I changed the mtdblocks' size, 6+MB  also could not be mounted, but 4 
> MB mount ok.
> 
> Is there a maximum jffs filesystem limit?

I am not sure what the size limit is, but it is certainly much
larger than 4MB. I have created 16MB JFFS2 filesystems before.

Regards
Greg




> If it were the flash chip that caused the crash(hardware issue), then I 
> think my next mtdblock (image is mtdblock 2, configuration is 3) would be 
> the one that would crash, but it does not. However, I am not 100% sure 
> that it is not hardware until I make some more tests.
> 
> 
> 
> Regards,
> Dimitri
> 
> 
> _______________________________________________
> uClinux-dev mailing list
> uClinux-dev at uclinux.org
> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> This message was resent by uclinux-dev at uclinux.org
> 

-- 
------------------------------------------------------------------------
Greg Ungerer  --  Chief Software Dude       EMAIL:     gerg at snapgear.com
SnapGear -- a CyberGuard Company            PHONE:       +61 7 3435 2888
825 Stanley St,                             FAX:         +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia         WEB: http://www.SnapGear.com



More information about the uClinux-dev mailing list