All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michel LECONTE <michel.leconte@sacet.com>
To: linux-mtd@lists.infradead.org
Subject: Reduce boot time with jffs2 and CM-X255
Date: Tue, 19 Dec 2006 17:25:37 +0100	[thread overview]
Message-ID: <45881281.8060001@sacet.com> (raw)

Hi,

I use a cm-x255 compulab card and I boot on the NAND flash with jffs2
filesystem.

My problem is the boot is too long.

My method to boot on the NAND flash is :

1) I boot on the cm-x225 via nfs.

2) I format the flash:

flash_eraseall -j /dev/mtd1

3) I mount the flash :

mount -t jffs2 /dev/mtdblock1 /mountpoint

4) I put the distribution of my system on the flash:

cp -r /Distribution/* /mountpoint

5) I unmount the flash :

umount /mountpoint

6) Finally, I boot on the cm-x255 board with the 2.6.18 kernel and
options are :

- Boot options : root=/dev/mtdblock1 rootfstype=jffs2
ip=192.168.82.70:::255.255.255.0:arm:eth0

- Miscellaneous filesystems : Journalling Flash File System v2 (JFFS2)
support

JFFS2 debugging verbosity à 0

JFFS2 write-buffering support

JFFS2 summary support (EXPERIMENTAL)


I would like to know what I'm missing or what I have to do to decrease
boot time ?


Thanks for any suggestion or help.

Michel

             reply	other threads:[~2006-12-19 16:32 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-19 16:25 Michel LECONTE [this message]
2006-12-20  7:16 ` Reduce boot time with jffs2 and CM-X255 Enrico Migliore
2006-12-20  8:38   ` Michel LECONTE
2006-12-20  8:53     ` Artem Bityutskiy
2006-12-20  9:06       ` Ricard Wanderlof
2006-12-20  9:15         ` Artem Bityutskiy
2006-12-20  9:17     ` Ricard Wanderlof
2006-12-20  9:41       ` Artem Bityutskiy
2006-12-20  9:46         ` Ricard Wanderlof
2006-12-20 12:16     ` Vitaly Wool
2006-12-21  8:12   ` Michel LECONTE

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45881281.8060001@sacet.com \
    --to=michel.leconte@sacet.com \
    --cc=linux-mtd@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.