public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: sl@whiskey.fireplug.net (Stuart Lynne)
To: mtd@infradead.org
Subject: Re: DOC2000 and Kernel 2.3 ??
Date: 11 Apr 2000 20:42:11 -0700	[thread overview]
Message-ID: <8d0raj$gbm$1@whiskey.fireplug.net> (raw)
In-Reply-To: f1c7fssr0pi4tvjhv4g10trhkqq28j0i6r@4ax.com

In article <f1c7fssr0pi4tvjhv4g10trhkqq28j0i6r@4ax.com>,
Udi Finkelstein <udif@bigfoot.com> wrote:
>Hi,
>
>I'm new to this list (and to DiskOnChip 2000 in general).
>
>I have an embedded linux system running with a 2.0.x based kernel and =
>m-sys's
>drivers.
>
>I want to build a new 2.3 kernel based system with the following =
>structure:
>
>* /boot partition with a 2.3 Kernel containing
>  a ramdisk based root file system (initrd).
>* RAM disk contains a skeleton filesystem with
>  99% of the files pointing to a CRAMFS (the
>  2.3.x compressed ROM filesystem) based partition
>  in the doc2000.
>* Data is stored on a 3rd partition (e2fs ??).
>
>Advantages:
>1. All fixed data is compressed (kernel is compressed by nature, initrd
>compressed by gzip, CRAMFS compressed by design).
>2. RAM based root filesystem allows modifying anything in the system =
>without
>writing to the doc2000, preventing any corruption. Rebooting the system
>returns it to a clean state.
>3. Separate data partition is separate from the rest of the system and =
>can be
>easily reformatted without affecting system.
>
>Now the big Question: What is the best (any) way to get a doc2000 working=
> with
>the 2.3 kernel?
>
>I see 3 possible options:
>
>1. Hacking the original m-sys 2.2.x driver to work under 2.3.x. Is this
>possible? How much of the binary only portion depends on the 2.2.x kernel=
> API?
>Can it be adapted to 2.3.x by changing only the skeleton code around it?

Very little if any. You should be able to just modify the fldrvlnx.c file
appropriately and have it work.

I'm not to sure what CRAMFS is going to do for you. It's not too hard
to have a minimal system entirely on the RAM disk.


-- 
Stuart Lynne <sl@fireplug.net>                __O 
<http://www.thinlinux.org>                  _-\<,_               604-461-7532
PGP Fingerprint: 28 E2 A0 15 99 62 9A 00   (_)/ (_)   88 EC A3 EE 2D 1C 15 68


To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org

  reply	other threads:[~2000-04-12  6:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-04-11 23:07 DOC2000 and Kernel 2.3 ?? Udi Finkelstein
2000-04-12  3:42 ` Stuart Lynne [this message]
2000-04-12 10:36   ` Udi Finkelstein
2000-04-12  8:58 ` David Woodhouse
2000-04-12  9:26   ` Finn Hakansson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='8d0raj$gbm$1@whiskey.fireplug.net' \
    --to=sl@whiskey.fireplug.net \
    --cc=mtd@infradead.org \
    --cc=sl@fireplug.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox