From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1GAq5N-0005N1-FJ for garchives@archives.gentoo.org; Wed, 09 Aug 2006 15:35:09 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k79FXoKK022159; Wed, 9 Aug 2006 15:33:50 GMT Received: from cpmx.mail.saic.com (cpmx.mail.saic.com [139.121.17.160]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k79FXnVw019944 for ; Wed, 9 Aug 2006 15:33:49 GMT Received: from 0599-its-ieg02.mail.saic.com ([139.121.18.36] [139.121.18.36]) by cpmx.mail.saic.com for gentoo-embedded@lists.gentoo.org; Wed, 9 Aug 2006 08:33:35 -0700 Received: from cp-its-exig01.mail.saic.com ([139.121.18.36]) by 0599-its-ieg02.mail.saic.com (SMSSMTP 4.0.5.66) with SMTP id M2006080908394604525 for ; Wed, 09 Aug 2006 08:39:46 -0700 Received: by cp-its-exig01.mail.saic.com with Internet Mail Service (5.5.2657.72) id ; Wed, 9 Aug 2006 08:33:35 -0700 Message-Id: From: "Morgan, Austin D." To: gentoo-embedded@lists.gentoo.org Subject: RE: [gentoo-embedded] What file system I should use with flash? Date: Wed, 9 Aug 2006 08:33:30 -0700 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-embedded@gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) content-class: urn:content-classes:message Content-Type: text/plain; charset="iso-8859-1" Sender: AUSTIN.D.MORGAN@saic.com X-Archives-Salt: 28c1bf37-e580-4734-99df-ed1404bbd3a1 X-Archives-Hash: 1f443c9b5ebab4c3e60f3231dda84e56 The type of flash that you should use jffs2 on are not going to support a boot loader like grub/lilo. If you are using a CF card for example it already has wear leveling and correction at the hardware level and therefore ext2 etc are fine. If you are using a stick of NAND flash from samsung that his registered by the system as a memory segment this is when you need jffs2. In this case you need to see what the boot properties of the device are (mine has a bios option to load a boot loader from a particular location) then put the apporopriate code there. Austin Morgan -----Original Message----- From: gentoo-embedded+bounces-1114-AUSTIN.D.MORGAN=saic.com@gentoo.org [mailto:gentoo-embedded+bounces-1114-AUSTIN.D.MORGAN=saic.com@gentoo.org ] On Behalf Of Joshua Pollak Sent: Wednesday, August 09, 2006 8:54 AM To: gentoo-embedded@lists.gentoo.org Cc: Kfir Lavi Subject: Re: [gentoo-embedded] What file system I should use with flash? Mike Frysinger wrote: > On Wednesday 09 August 2006 01:39, Kfir Lavi wrote: > >> I have read about JFFS2 but it is not supported in gentoo (or is >> it?). What will be your recommendations for such filesystem? >> > > if you need rw, then jffs2 or yaffs2 > > jffs2 is prob the easiest route since it's already in the kernel > > i dont know what you mean by "supported" as all you need is userspace > utilities to generate the jffs2 image (in the portage tree as mtd-utils) and > a kernel to mount it (in the mainline kernel) > -mike > Do you use initrd to bootstrap, or do boot loaders like lilo and grub understand jffs2? I've been using ext2 on my CompactFlash simply because I'm too lazy and haven't had time to learn how to use initrd. -- gentoo-embedded@gentoo.org mailing list -- gentoo-embedded@gentoo.org mailing list