Dear list, My Mini2440 boards running Linux 3.7.1-ptx-2012.12.0 on JFFS2 based root filesystems take very long to boot (as shown below), so I am looking for a way of solving this issue.
There is a possibility that boards with "long boot time problem" are not halted properly (powered off before the system halts), although they do not report more bad blocks than the others. Can this be the root cause of the problem? What else can cause this behaviour? I know that mount time for JFFS2 increases with number of files stored, but in my case the number of files is pretty much the same in both cases. Does this happen due to JFFS2 index generation & garbage collection processes? If so, shouldn't the boot time reduce on next boot once garbage collector finishes its work and there are no new writes? (actually there are new to /etc/mtab for instance) I assume that switching rootfs to UBIFS will help to aid this issue, am I correct? Long boot time case: [ 18.430000] devtmpfs: mounted [ 18.435000] Freeing init memory: 120K >[ 79.140000] udevd[487]: starting version 182 [ 79.520000] at24 0-0050: uevent ... [ 79.930000] dummy 0-0053: uevent [ 113.590000] dm9000 dm9000 eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1 Normal boot time case: [ 14.775000] devtmpfs: mounted [ 14.780000] Freeing init memory: 120K >[ 16.915000] udevd[493]: starting version 182 [ 17.325000] at24 0-0050: uevent ... [ 17.845000] dummy 0-0053: uevent [ 22.325000] dm9000 dm9000 eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1 Please enlighten me. Thank you, Pawel
