|
Re: What file system I should use with flash?: msg#00008linux.gentoo.embedded
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 |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: What file system I should use with flash?: 00008, Mike Frysinger |
|---|---|
| Next by Date: | busybox + python questions: 00008, Philippe Clérié |
| Previous by Thread: | Re: What file system I should use with flash?i: 00008, Mike Frysinger |
| Next by Thread: | RE: What file system I should use with flash?: 00008, Morgan, Austin D. |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |