1 |
The type of flash that you should use jffs2 on are not going to support |
2 |
a boot loader like grub/lilo. If you are using a CF card for example it |
3 |
already has wear leveling and correction at the hardware level and |
4 |
therefore ext2 etc are fine. If you are using a stick of NAND flash |
5 |
from samsung that his registered by the system as a memory segment this |
6 |
is when you need jffs2. In this case you need to see what the boot |
7 |
properties of the device are (mine has a bios option to load a boot |
8 |
loader from a particular location) then put the apporopriate code there. |
9 |
|
10 |
|
11 |
Austin Morgan |
12 |
|
13 |
-----Original Message----- |
14 |
From: gentoo-embedded+bounces-1114-AUSTIN.D.MORGAN=saic.com@g.o |
15 |
[mailto:gentoo-embedded+bounces-1114-AUSTIN.D.MORGAN=saic.com@g.o |
16 |
] On Behalf Of Joshua Pollak |
17 |
Sent: Wednesday, August 09, 2006 8:54 AM |
18 |
To: gentoo-embedded@l.g.o |
19 |
Cc: Kfir Lavi |
20 |
Subject: Re: [gentoo-embedded] What file system I should use with flash? |
21 |
|
22 |
|
23 |
Mike Frysinger wrote: |
24 |
> On Wednesday 09 August 2006 01:39, Kfir Lavi wrote: |
25 |
> |
26 |
>> I have read about JFFS2 but it is not supported in gentoo (or is |
27 |
>> it?). What will be your recommendations for such filesystem? |
28 |
>> |
29 |
> |
30 |
> if you need rw, then jffs2 or yaffs2 |
31 |
> |
32 |
> jffs2 is prob the easiest route since it's already in the kernel |
33 |
> |
34 |
> i dont know what you mean by "supported" as all you need is userspace |
35 |
> utilities to generate the jffs2 image (in the portage tree as |
36 |
mtd-utils) and |
37 |
> a kernel to mount it (in the mainline kernel) |
38 |
> -mike |
39 |
> |
40 |
Do you use initrd to bootstrap, or do boot loaders like lilo and grub |
41 |
understand jffs2? I've been using ext2 on my CompactFlash simply because |
42 |
I'm too lazy and haven't had time to learn how to use initrd. |
43 |
-- |
44 |
gentoo-embedded@g.o mailing list |
45 |
-- |
46 |
gentoo-embedded@g.o mailing list |