|
RE: What file system I should use with flash?: msg#00006linux.gentoo.embedded
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-aBrp7R+bbdUdnm+yROfE0A@xxxxxxxxxxxxxxxx [mailto:gentoo-embedded+bounces-1114-AUSTIN.D.MORGAN=saic.com-aBrp7R+bbdUdnm+yROfE0A@xxxxxxxxxxxxxxxx ] On Behalf Of Joshua Pollak Sent: Wednesday, August 09, 2006 8:54 AM To: gentoo-embedded-cnFmAm88PdgLnqt3yJz4RQ@xxxxxxxxxxxxxxxx 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-aBrp7R+bbdUdnm+yROfE0A@xxxxxxxxxxxxxxxx mailing list |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: What file system I should use with flash?: 00006, Joshua Pollak |
|---|---|
| Next by Date: | Re: What file system I should use with flash?: 00006, Mike Frysinger |
| Previous by Thread: | Re: What file system I should use with flash?i: 00006, wireless |
| Next by Thread: | busybox + python questions: 00006, Philippe Clérié |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |