Gentoo Archives: gentoo-embedded

From: Yuri Vasilevski <yuri@×××××××××××××.mx>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] flash card booting
Date: Fri, 30 Sep 2005 14:59:26
Message-Id: 20050930095528.6a1fb03f@dune.math.cinvestav.mx
In Reply to: [gentoo-embedded] flash card booting by "David F. Newman"
1 Hi,
2
3 On Fri, 30 Sep 2005 10:06:04 -0400
4 "David F. Newman" <dnewman@××××××××××××××××.org> wrote:
5
6 > The CPU module has a 2M flash chip that currently boots DOS. I also
7 > have a PCMCIA PC/104 module that has a bios for booting off cards
8 > and a 24M flash card from an old Cisco Catalyst switch.
9 >
10 > Does anyone know if the Cisco Flash card can be used to boot a linux
11 > OS or should I abandon that and look for something like a PCMCIA
12 > hard drive? I am attempting to keep everything solid state.
13
14 In theory you should be able to boot from it putting the kernel into
15 your 2M flash chip, and mounting root from your Cisco flash card.
16 (You may also need an initrd on 2M flash to initialize PCMCIA, I'm not
17 sure about it.)
18
19 > I have a gentoo laptop which I am using to try and format the Cisco
20 > flash card using the pcmciamtd driver. It seems to recognize the
21 > card but mke2fs just hangs on it.
22
23 The problem is that ext2 expects a block device while MTDs are
24 character devices, so you should try using jffs2 if you want to have rw
25 access or cramfs for ro. And you'll get some bonus space because of
26 compression used in this file systems.
27
28 Yuri.
29
30 --
31 gentoo-embedded@g.o mailing list