* [gentoo-embedded] What file system I should use with flash?
@ 2006-08-09 5:39 Kfir Lavi
2006-08-09 5:49 ` Enno "Gottox" Boland
2006-08-09 6:05 ` Mike Frysinger
0 siblings, 2 replies; 7+ messages in thread
From: Kfir Lavi @ 2006-08-09 5:39 UTC (permalink / raw
To: gentoo-embedded
I have read about JFFS2 but it is not supported in gentoo (or is it?).
What will be your recommendations for such filesystem?
Tnx
Kfir
--
gentoo-embedded@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-embedded] What file system I should use with flash?
2006-08-09 5:39 Kfir Lavi
@ 2006-08-09 5:49 ` Enno "Gottox" Boland
2006-08-09 6:05 ` Mike Frysinger
1 sibling, 0 replies; 7+ messages in thread
From: Enno "Gottox" Boland @ 2006-08-09 5:49 UTC (permalink / raw
To: gentoo-embedded
Hi!
Well I think the best filesystems for flash are jffs2, squashfs, or
cramfs. squashfs and cramfs are readonly filesystems. cramfs is more
minimalistic. It even dont save timestamps. If you need a
rw-filesystem jffs2 is your choice.
I dont know if this filesystems are supported, I even dont know if a
filesystem must be supported by a distribution. I build my userspaces
with the help of uClibcs buildroot.
Enno Boland
2006/8/9, Kfir Lavi <lavi.kfir@gmail.com>:
> I have read about JFFS2 but it is not supported in gentoo (or is it?).
> What will be your recommendations for such filesystem?
>
> Tnx
> Kfir
> --
> gentoo-embedded@gentoo.org mailing list
>
>
--
http://www.gnuffy.org - Real Community Distro
http://www.gnuffy.org/index.php/GnuEm - Gnuffy on Ipaq (Codename Peggy)
--
gentoo-embedded@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-embedded] What file system I should use with flash?
2006-08-09 5:39 Kfir Lavi
2006-08-09 5:49 ` Enno "Gottox" Boland
@ 2006-08-09 6:05 ` Mike Frysinger
2006-08-09 13:54 ` Joshua Pollak
1 sibling, 1 reply; 7+ messages in thread
From: Mike Frysinger @ 2006-08-09 6:05 UTC (permalink / raw
To: gentoo-embedded; +Cc: Kfir Lavi
[-- Attachment #1: Type: text/plain, Size: 500 bytes --]
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
[-- Attachment #2: Type: application/pgp-signature, Size: 827 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-embedded] What file system I should use with flash?
2006-08-09 6:05 ` Mike Frysinger
@ 2006-08-09 13:54 ` Joshua Pollak
2006-08-09 15:59 ` Mike Frysinger
2006-08-09 16:25 ` wireless
0 siblings, 2 replies; 7+ messages in thread
From: Joshua Pollak @ 2006-08-09 13:54 UTC (permalink / raw
To: gentoo-embedded; +Cc: Kfir Lavi
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: [gentoo-embedded] What file system I should use with flash?
@ 2006-08-09 15:33 Morgan, Austin D.
0 siblings, 0 replies; 7+ messages in thread
From: Morgan, Austin D. @ 2006-08-09 15:33 UTC (permalink / raw
To: 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@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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-embedded] What file system I should use with flash?
2006-08-09 13:54 ` Joshua Pollak
@ 2006-08-09 15:59 ` Mike Frysinger
2006-08-09 16:25 ` wireless
1 sibling, 0 replies; 7+ messages in thread
From: Mike Frysinger @ 2006-08-09 15:59 UTC (permalink / raw
To: gentoo-embedded; +Cc: Joshua Pollak, Kfir Lavi
[-- Attachment #1: Type: text/plain, Size: 944 bytes --]
On Wednesday 09 August 2006 09:54, Joshua Pollak wrote:
> 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)
>
> 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.
i havent used jffs2 on an x86 ... the embedded machines i play with use u-boot
which understands jffs2
-mike
[-- Attachment #2: Type: application/pgp-signature, Size: 827 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-embedded] What file system I should use with flash?
2006-08-09 13:54 ` Joshua Pollak
2006-08-09 15:59 ` Mike Frysinger
@ 2006-08-09 16:25 ` wireless
1 sibling, 0 replies; 7+ messages in thread
From: wireless @ 2006-08-09 16:25 UTC (permalink / raw
To: gentoo-embedded; +Cc: Kfir Lavi
Joshua Pollak wrote:
> 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.
Well, I do not know about JFFS2 either, but I do have something
to share. It is a result of a (borked) installation off of a
2006.0 liveCD, that I ended up finishing manually. The system was
left with a bootable kernel and this grub entry, that still
works; in fact an Athlon XP is currently booted form this
grub entry. Maybe it could be used as a starting point for
initrd?
uname -r
2.6.15-gentoo-r5
<snip>
title=Gentoo Linux genkernel-x86-2.6.15-gentoo-r5
root (hd0,0)
kernel /kernel-genkernel-x86-2.6.15-gentoo-r5 root=/dev/ram0
init=/linuxrc ramdisk=8192 real_root=/dev/hda2
initrd /initramfs-genkernel-x86-2.6.15-gentoo-r5
in /boot/
kernel-genkernel-x86-2.6.15-gentoo-r5
initramfs-genkernel-x86-2.6.15-gentoo-r5
kernel-2.6.17-gentoo-r4
I'm not positive that initrd is being used, but, I thought
I'd show this grub.conf entry as it works. I keep mulitple
(valid) kernels around for several reasons, but my usual
grub.conf looks like:
title=Gentoo Linux 2.6.17-gentoo-r4
root(hd0,0)
kernel /kernel-2.6.17-gentoo-r4 root=/dev/hda2
Any enlightenment as to why this sort of entry is created from
the livecd and if this entry is using initrd from grub, would
be interesting to me.
hth,
James
--
gentoo-embedded@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2006-08-09 16:27 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-09 15:33 [gentoo-embedded] What file system I should use with flash? Morgan, Austin D.
-- strict thread matches above, loose matches on Subject: below --
2006-08-09 5:39 Kfir Lavi
2006-08-09 5:49 ` Enno "Gottox" Boland
2006-08-09 6:05 ` Mike Frysinger
2006-08-09 13:54 ` Joshua Pollak
2006-08-09 15:59 ` Mike Frysinger
2006-08-09 16:25 ` wireless
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox