From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from deck1210.hostdeck.com ([212.39.12.10]) by canuck.infradead.org with esmtps (Exim 4.63 #1 (Red Hat Linux)) id 1Gwvhk-0004uT-Aw for linux-mtd@lists.infradead.org; Wed, 20 Dec 2006 02:17:37 -0500 Message-ID: <4588E35F.8000806@fatti.com> Date: Wed, 20 Dec 2006 08:16:47 +0100 From: Enrico Migliore MIME-Version: 1.0 To: Michel LECONTE Subject: Re: Reduce boot time with jffs2 and CM-X255 References: <45881281.8060001@sacet.com> In-Reply-To: <45881281.8060001@sacet.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: linux-mtd@lists.infradead.org List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hi Michel, could you be more specific? The boot time, in a production environment, is the time that elapses from the board reset to the login prompt. How long is that time on your cm-x255? Enrico > 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 > > > ______________________________________________________ > Linux MTD discussion mailing list > http://lists.infradead.org/mailman/listinfo/linux-mtd/ > >